Don't read agent symbols when disabled
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12019-10-31 Tom de Vries <tdevries@suse.de>
2
3 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4 * gdb.ada/array_subscript_addr.exp: Same.
5 * gdb.ada/arrayidx.exp: Same.
6 * gdb.ada/arrayparam.exp: Same.
7 * gdb.ada/arrayptr.exp: Same.
8 * gdb.ada/boolean_expr.exp: Same.
9 * gdb.ada/call_pn.exp: Same.
10 * gdb.ada/complete.exp: Same.
11 * gdb.ada/fixed_cmp.exp: Same.
12 * gdb.ada/fun_addr.exp: Same.
13 * gdb.ada/funcall_param.exp: Same.
14 * gdb.ada/interface.exp: Same.
15 * gdb.ada/mod_from_name.exp: Same.
16 * gdb.ada/null_array.exp: Same.
17 * gdb.ada/packed_array.exp: Same.
18 * gdb.ada/packed_tagged.exp: Same.
19 * gdb.ada/print_chars.exp: Same.
20 * gdb.ada/print_pc.exp: Same.
21 * gdb.ada/ptype_arith_binop.exp: Same.
22 * gdb.ada/ptype_field.exp: Same.
23 * gdb.ada/ptype_tagged_param.exp: Same.
24 * gdb.ada/rec_return.exp: Same.
25 * gdb.ada/ref_tick_size.exp: Same.
26 * gdb.ada/str_ref_cmp.exp: Same.
27 * gdb.ada/taft_type.exp: Same.
28 * gdb.ada/tagged.exp: Same.
29 * gdb.ada/type_coercion.exp: Same.
30 * gdb.ada/uninitialized_vars.exp: Same.
31
322019-10-30 Tom de Vries <tdevries@suse.de>
33
34 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
35
362019-10-26 Tom de Vries <tdevries@suse.de>
37
38 * gdb.base/bigcore.c: Fix typos in comments.
39 * gdb.base/ctf-ptype.c: Same.
40 * gdb.base/long_long.c: Same.
41 * gdb.dwarf2/dw2-op-out-param.S: Same.
42 * gdb.python/py-evthreads.c: Same.
43 * gdb.reverse/i387-stack-reverse.c: Same.
44 * gdb.trace/tfile.c: Same.
45 * lib/compiler.c: Same.
46 * lib/compiler.cc: Same.
47
482019-10-25 Tom de Vries <tdevries@suse.de>
49
50 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
51 gdb_test_multiple calls.
52 * gdb.reverse/sigall-reverse.exp: Same.
53 * gdb.reverse/solib-precsave.exp: Same.
54 * gdb.reverse/solib-reverse.exp: Same.
55 * gdb.reverse/until-precsave.exp: Same.
56 * gdb.reverse/until-reverse.exp: Same.
57
582019-10-24 Tom de Vries <tdevries@suse.de>
59
60 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
61 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
62 kfail using -wrap pattern flag and convenience variable
63 gdb_test_name.
64
652019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
66
67 * gdb.python/py-progspace.exp: Add tests for the
68 Progspace.block_for_pc method.
69
702019-10-23 Tom Tromey <tom@tromey.com>
71
72 * configure: Rebuild.
73 * aclocal.m4: Use m4_include, not sinclude.
74
752019-10-21 Tom de Vries <tdevries@suse.de>
76
77 * gdb.base/infcall-nested-structs.c: Add
78 __attribute__((noinline,noclone)) to all functions.
79 (call_all): Add missing variable initialization. Simplify return value.
80 (breakpt): Increment volatile variable, to prevent call from being
81 optimized out.
82 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
83
842019-10-17 Tom de Vries <tdevries@suse.de>
85
86 * gdb.fortran/module.exp: Allow info variables to print info for files
87 other than module.f90.
88
892019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.fortran/module.exp: Extend with 'info variables' test.
92
932019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
94
95 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
96 F77_FOR_TARGET.
97
982019-10-16 Tom de Vries <tdevries@suse.de>
99
100 PR tdep/25096
101 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
102
1032019-10-16 Tom de Vries <tdevries@suse.de>
104
105 PR tdep/24104
106 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
107 Add KFAIL for PR tdep/25096.
108
1092019-10-16 Tom de Vries <tdevries@suse.de>
110
111 PR testsuite/25059
112 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
113
1142019-10-16 Tom de Vries <tdevries@suse.de>
115
116 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
117 as signed.
118
1192019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
120
121 * gdb.mi/list-thread-groups-available.exp: Read entries one by
122 one instead of increasing timeout.
123
1242019-10-13 Tom de Vries <tdevries@suse.de>
125
126 PR record/25038
127 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
128 * gdb.reverse/sigall-reverse.exp: Same.
129 * gdb.reverse/solib-precsave.exp: Same.
130 * gdb.reverse/solib-reverse.exp: Same.
131 * gdb.reverse/step-precsave.exp: Same.
132 * gdb.reverse/until-precsave.exp: Same.
133 * gdb.reverse/until-reverse.exp: Same.
134 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
135
1362019-10-10 Andreas Arnez <arnez@linux.ibm.com>
137
138 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
139 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
140 (cmp_struct_05_01, cmp_struct_static_02_01)
141 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
142 comparisons.
143
1442019-10-10 Tom de Vries <tdevries@suse.de>
145
146 PR testsuite/24888
147 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
148 gnatlink.
149
1502019-10-09 Tom de Vries <tdevries@suse.de>
151
152 PR testsuite/25048
153 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
154
1552019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
158 exceptions due to missing debug information.
159
1602019-10-07 Tom de Vries <tdevries@suse.de>
161
162 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
163
1642019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
165
166 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
167 * gdb.base/annota1.exp: Update to use gdb_test_name.
168
1692019-10-07 Weimin Pan <weimin.pan@oracle.com>
170
171 * gdb.base/ctf-whatis.exp: New file.
172 * gdb.base/ctf-whatis.c: New file.
173 * gdb.base/ctf-ptype.exp: New file.
174 * gdb.base/ctf-ptype.c: New file.
175 * gdb.base/ctf-constvars.exp: New file.
176 * gdb.base/ctf-constvars.c: New file.
177 * gdb.base/ctf-cvexpr.exp: New file.
178
1792019-10-04 Tom de Vries <tdevries@suse.de>
180
181 * gdb.cp/local-static.c (main): Move declaration of int i out of the
182 for loop.
183
1842019-10-03 Tom Tromey <tom@tromey.com>
185
186 PR rust/24976:
187 * gdb.rust/simple.rs (Union2): New type.
188 (main): Use Union2.
189 * gdb.rust/simple.exp: Add test.
190
1912019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
192
193 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
194 nested function prefix.
195
1962019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
197 Richard Bunt <richard.bunt@arm.com>
198 Andrew Burgess <andrew.burgess@embecosm.com>
199
200 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
201 nested functions.
202 * gdb.fortran/nested-funcs.f90: Update expected results.
203 * gdb.fortran/nested-funcs-2.exp: New file.
204 * gdb.fortran/nested-funcs-2.f90: New file.
205
2062019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
207
208 * gdb.python/py-parameter.exp: Make test names unique.
209 * gdb.python/py-template.exp: Likewise.
210 * gdb.python/py-value.exp: Likewise.
211
2122019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
213
214 * gdb.base/break-interp.exp: Reduce test name duplication.
215 * gdb.base/call-sc.exp: Likewise.
216 * gdb.base/callfuncs.exp: Likewise.
217 * gdb.base/charset.exp: Likewise.
218 * gdb.base/dump.exp: Likewise.
219 * gdb.base/ena-dis-br.exp: Likewise.
220 * gdb.base/relational.exp: Likewise.
221 * gdb.base/step-over-syscall.exp: Likewise.
222 * gdb.base/structs.exp: Likewise.
223
2242019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
225
226 * gdb.linespec/explicit.exp: Make test names unique.
227 * gdb.linespec/ls-errs.exp: Likewise.
228
2292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
230
231 * gdb.reverse/break-precsave.exp: Make test names unique.
232 * gdb.reverse/break-reverse.exp: Likewise.
233 * gdb.reverse/finish-precsave.exp: Likewise.
234 * gdb.reverse/finish-reverse.exp: Likewise.
235 * gdb.reverse/machinestate-precsave.exp: Likewise.
236 * gdb.reverse/machinestate.exp: Likewise.
237 * gdb.reverse/readv-reverse.exp: Likewise.
238 * gdb.reverse/recvmsg-reverse.exp: Likewise.
239 * gdb.reverse/sigall-precsave.exp: Likewise.
240 * gdb.reverse/sigall-reverse.exp: Likewise.
241 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
242 * gdb.reverse/watch-precsave.exp: Likewise.
243 * gdb.reverse/watch-reverse.exp: Likewise.
244
2452019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * gdb.threads/stop-with-handle.c: New file.
248 * gdb.threads/stop-with-handle.exp: New file.
249
2502019-10-03 Tom de Vries <tdevries@suse.de>
251
252 PR testsuite/25059
253 * gdb.base/list-missing-source.exp: Allowing the "Compilation
254 directory" line to be missing.
255
2562019-10-03 Tom de Vries <tdevries@suse.de>
257
258 PR testsuite/25059
259 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
260 type optional.
261
2622019-10-02 Andreas Arnez <arnez@linux.ibm.com>
263
264 * gdb.python/py-format-string.c (string.h): New include.
265 (main): Fill a_struct_with_union.the_union.an_int with bytes of
266 the same value, for endianness-independence.
267 * gdb.python/py-format-string.exp (default_regexp_dict)
268 (test_pretty_structs, test_format): Adjust expected output to the
269 changed initialization.
270
2712019-10-02 Tom Tromey <tromey@adacore.com>
272
273 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
274
2752019-10-02 Pedro Alves <palves@redhat.com>
276 Andrew Burgess <andrew.burgess@embecosm.com>
277
278 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
279 "print-file-var.h".
280 (this_version_id) Use ATTRIBUTE_VISIBILITY.
281 (get_version_1): Print this_version_id and its address.
282 Add extern "C" wrappers around interface functions.
283 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
284 "print-file-var.h".
285 (this_version_id) Use ATTRIBUTE_VISIBILITY.
286 (get_version_2): Print this_version_id and its address.
287 Add extern "C" wrappers around interface functions.
288 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
289 <stddef.h> and "print-file-var.h".
290 Add extern "C" wrappers around interface functions.
291 [VERSION_ID_MAIN] (this_version_id): Define.
292 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
293 * gdb.base/print-file-var.h: Add some #defines to simplify setting
294 up extern "C" blocks.
295 * gdb.base/print-file-var.exp (test): New, factored out from top
296 level.
297 (top level): Test all combinations of attribute hidden or not,
298 dlopen or not, and this_version_id symbol in main file or not.
299 Compile tests as both C++ and C, make test names unique.
300
3012019-10-01 Tom Tromey <tom@tromey.com>
302
303 * gdb.base/style.exp: Test "show logging filename".
304
3052019-10-01 Tom Tromey <tom@tromey.com>
306
307 * lib/gdb-utils.exp (style): Handle "metadata" argument.
308 * gdb.base/style.exp: Add metadata style test.
309
3102019-10-01 Tom Tromey <tom@tromey.com>
311
312 * gdb.base/style.exp: Test "pwd".
313
3142019-10-01 Tom Tromey <tom@tromey.com>
315
316 * gdb.base/style.exp: Update tests.
317
3182019-10-01 Andreas Arnez <arnez@linux.ibm.com>
319
320 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
321 'six' to unsigned.
322 (s1): Initialize fields 'four' and 'six' instead of 'three' and
323 'five'. Use an all-ones bit pattern for each.
324 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
325 to its changed values.
326
3272019-09-30 Tom Tromey <tromey@adacore.com>
328
329 * gdb.rust/traits.rs: Disable all warnings.
330
3312019-09-29 Tom de Vries <tdevries@suse.de>
332
333 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
334
3352019-09-29 Tom de Vries <tdevries@suse.de>
336
337 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
338
3392019-09-27 Tom de Vries <tdevries@suse.de>
340
341 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
342
3432019-09-27 Tom de Vries <tdevries@suse.de>
344
345 PR record/23188
346 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
347
3482019-09-26 Tom Tromey <tromey@adacore.com>
349
350 * gdb.ada/py_taft.exp: New file.
351 * gdb.ada/py_taft/main.adb: New file.
352 * gdb.ada/py_taft/pkg.adb: New file.
353 * gdb.ada/py_taft/pkg.ads: New file.
354
3552019-09-24 Tom de Vries <tdevries@suse.de>
356
357 PR gdb/24598
358 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
359
3602019-09-22 Tom de Vries <tdevries@suse.de>
361
362 * gdb.base/restore.exp: Allow register variables to be optimized out at
363 -O0.
364
3652019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
366
367 * gdb.arch/spu-info.exp: Remove file.
368 * gdb.arch/spu-info.c: Remove file.
369 * gdb.arch/spu-ls.exp: Remove file.
370 * gdb.arch/spu-ls.c: Remove file.
371
372 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
373 * gdb.asm/spu.inc: Remove file.
374
375 * gdb.base/dump.exp: Remove support for spu*-*-*.
376 * gdb.base/stack-checking.exp: Likewise.
377 * gdb.base/overlays.exp: Likewise.
378 * gdb.base/ovlymgr.c: Likewise.
379 * gdb.base/spu.ld: Remove file.
380
381 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
382 * gdb.cp/cpexprs.exp: Likewise.
383 * gdb.cp/exception.exp: Likewise.
384 * gdb.cp/gdb2495.exp: Likewise.
385 * gdb.cp/mb-templates.exp: Likewise.
386 * gdb.cp/pr9167.exp: Likewise.
387 * gdb.cp/userdef.exp: Likewise.
388
389 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
390
391 * gdb.cell: Remove directory.
392 * lib/cell.exp: Remove file.
393
3942019-09-19 Tom de Vries <tdevries@suse.de>
395
396 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
397
3982019-09-19 Tom de Vries <tdevries@suse.de>
399
400 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
401
4022019-09-19 Tom de Vries <tdevries@suse.de>
403
404 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
405 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
406 (gdb_target_cmd): ... here.
407 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
408 value 2.
409
4102019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
411
412 * gdb.base/source-dir.exp: Avoid having directory names in test
413 names.
414
4152019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
416
417 * gdb.base/source-dir.exp: Add extra test for mapped compilation
418 directory.
419
4202019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
421
422 * gdb.base/list-missing-source.exp: New file.
423
4242019-09-14 Tom de Vries <tdevries@suse.de>
425
426 PR teststuite/24599
427 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
428 * lib/ada.exp (gnatmake_version_at_least): New proc.
429
4302019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
431
432 * gdb.base/maint.exp: Use exec_has_index_section.
433
4342019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
435
436 * gdb.base/maint.exp: Add test for 'maint info sections'.
437
4382019-09-12 Tom de Vries <tdevries@suse.de>
439
440 * gdb.base/store.exp: Allow register variables to be optimized out at
441 -O0.
442
4432019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
444
445 * gdb.ada/rdv_wait.exp: Update to new task names.
446 * gdb.base/task_switch_in_core.exp: Likewise.
447 * gdb.base/info_sources_base.c: Likewise.
448
4492019-09-10 Tom Tromey <tromey@adacore.com>
450
451 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
452
4532019-09-10 Tom Tromey <tromey@adacore.com>
454
455 * gdb.ada/dgopt.exp: New file.
456 * gdb.ada/dgopt/x.adb: New file.
457
4582019-09-08 Tom Tromey <tom@tromey.com>
459
460 * gdb.tui/resize.exp: Remove setup_xfail.
461 * gdb.tui/regs.exp: Remove setup_xfail.
462 * gdb.tui/basic.exp: Remove setup_xfail.
463
4642019-09-06 David Blaikie <dblaikie@gmail.com>
465
466 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
467 * gdb.cp/cplabel.exp: Ditto.
468 * gdb.linespec/ls-errs.exp: Ditto.
469
4702019-09-05 Tom de Vries <tdevries@suse.de>
471
472 * lib/gdb.exp (cmp_file_string): New proc.
473 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
474 runto_main. Verify save breakpoints output.
475
4762019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
477
478 * gdb.base/info-var.exp: Test info variables without running
479 to main, to avoid expect's buffer overflow.
480
4812019-09-03 Tom Tromey <tromey@adacore.com>
482
483 * gdb.ada/bias.exp: New file.
484 * gdb.ada/bias/bias.adb: New file.
485 * gdb.ada/print_chars.exp: Add regression test.
486 * gdb.ada/print_chars/foo.adb (My_Character): New type.
487 (MC): New variable.
488
4892019-08-29 Sandra Loosemore <sandra@codesourcery.com>
490
491 * gdb.base/argv0-symlink.exp: Run only on native target
492 and local host.
493
4942019-08-29 Tom de Vries <tdevries@suse.de>
495
496 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
497 diverse debug info.
498 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
499
5002019-08-28 Tom de Vries <tdevries@suse.de>
501
502 * gdb.base/info-var.exp: Allow info variables to print info for files
503 other than info-var-f1.c and info-var-f2.c.
504
5052019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
506
507 * gdb.fortran/info-types.exp: Add module.
508 * gdb.fortran/info-types.f90: Update expected results.
509
5102019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
511
512 * gdb.fortran/info-types.exp: New file.
513 * gdb.fortran/info-types.f90: New file.
514 * lib/fortran.exp (fortran_character1): New proc.
515
5162019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
517
518 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
519 functions'. Reindent as needed.
520 * gdb.base/info-var-f1.c: New file.
521 * gdb.base/info-var-f2.c: New file.
522 * gdb.base/info-var.exp: New file.
523 * gdb.base/info-var.h: New file.
524
5252019-08-26 Tom de Vries <tdevries@suse.de>
526
527 PR c++/24852
528 * gdb.cp/no-libstdcxx-probe.exp: New test.
529
5302019-08-26 Tom de Vries <tdevries@suse.de>
531
532 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
533 * tests need to be skipped.
534 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
535 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
536 mi_skip_libstdcxx_probe_tests.
537
5382019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
539
540 * gdb.python/py-xmethods.exp: Use raw strings when passing
541 arguments to SimpleXMethodMatcher.
542
5432019-08-22 Tom de Vries <tdevries@suse.de>
544
545 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
546 more informative.
547
5482019-08-21 Pedro Alves <palves@redhat.com>
549
550 * gdb.base/with.exp: Test "with" with no arguments.
551
5522019-08-21 Tom de Vries <tdevries@suse.de>
553
554 * gdb.base/gdb-caching-proc.exp: Sort files.
555
5562019-08-20 Tom de Vries <tdevries@suse.de>
557
558 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
559 compilation.
560
5612019-08-16 Tom de Vries <tdevries@suse.de>
562
563 * gdb.base/compare-sections.exp ("after run to main"): Allow
564 mismatched read-only sections for PIE executables.
565
5662019-08-16 Tom Tromey <tom@tromey.com>
567
568 * lib/tuiterm.exp (_csi_Z): New proc.
569 * gdb.tui/basic.exp: Update window positions.
570 * gdb.tui/empty.exp: Update window positions.
571
5722019-08-15 Sandra Loosemore <sandra@codesourcery.com>
573
574 * gdb.base/examine-backward.exp: Correct regexp for
575 "examine 3 bytes backward from ${address_zero}".
576
5772019-08-15 Tom Tromey <tom@tromey.com>
578
579 * gdb.tui/empty.exp: Enable resizing tests.
580
5812019-08-15 Tom Tromey <tromey@adacore.com>
582
583 * gdb.ada/char_enum.exp: Add regression tests.
584 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
585 and '0'.
586 (Char, Gchar): Update.
587 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
588
5892019-08-15 Christian Biesinger <cbiesinger@google.com>
590
591 * gdb.python/python.exp: Expect a leading underscore on
592 GdbOutput{,Error}File.
593
5942019-08-15 Sandra Loosemore <sandra@codesourcery.com>
595
596 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
597 Windows host.
598
5992019-08-15 Sandra Loosemore <sandra@codesourcery.com>
600
601 * gdb.base/batch-preserve-term-settings.exp
602 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
603
6042019-08-15 Christian Biesinger <cbiesinger@google.com>
605
606 * lib/gdb.exp: When running on a mingw target, replace
607 /x/ with x:/.
608
6092019-08-14 Alan Hayward <alan.hayward@arm.com>
610
611 * gdb.arch/aarch64-prologue.c: New test.
612 * gdb.arch/aarch64-prologue.exp: New file.
613
6142019-08-13 Tom de Vries <tdevries@suse.de>
615
616 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
617 Thread.
618
6192019-08-13 Sandra Loosemore <sandra@codesourcery.com>
620
621 * gdb.python/py-completion.exp: Download the .py file to the host
622 and use its host pathname. Conditionalize tests that use
623 tab completion and manipulate files on the build machine.
624 * gdb.python/py-events.exp: Download the .py file to the host
625 and use its host pathname.
626 * gdb.python/py-evsignal.exp: Likewise.
627 * gdb.python/py-evthreads.exp: Likewise.
628 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
629 pathname syntax.
630 * gdb.python/py-framefilter.exp: Download the .py file to the right
631 place on the host. Match Windows pathname syntax.
632 * gdb.python/py-mi-var-info-path-expression.exp: Download the
633 .py file to the host and use its host pathname.
634 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
635 * gdb.python/py-objfile.exp: Expect a host pathname, not a
636 build pathname. Skip symlink test on Windows host. Add missing
637 newline at end of file.
638 * gdb.python/py-pp-maint.exp: Download the .py file to the host
639 and use its host pathname.
640 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
641 * gdb.python/py-section-script.exp: Use host location of binfile
642 on safe-path. Use correct path separator on Windows host.
643 Reorder alternatives in gdb_test_multiple to prevent matching
644 the wrong alternative on success.
645 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
646
6472019-08-12 Patrick Palka <patrick@parcs.ath.cx>
648
649 * gdb.gdb/selftest.exp (test_with_self): Update test to now
650 expect the GDB inferior to no longer immediately stop after
651 being resumed with "signal SIGINT".
652
6532019-08-09 Sandra Loosemore <sandra@codesourcery.com>
654
655 * gdb.linespec/break-ask.exp: Generalize regexps to match
656 Windows pathnames too.
657
6582019-08-08 Tom de Vries <tdevries@suse.de>
659
660 PR testsuite/24862
661 * lib/tuiterm.exp (_accept): Fix CSI regexp.
662
6632019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
664
665 * gdb.base/style.exp: Update tests for help doc new invariants.
666 * gdb.base/help.exp: Likewise.
667
6682019-08-06 Tom Tromey <tom@tromey.com>
669
670 * gdb.base/style.exp: Add disassemble test.
671 * gdb.base/style.c (some_called_function): New function.
672 (main): Use it.
673
6742019-08-05 Christian Biesinger <cbiesinger@google.com>
675
676 * gdb.python/py-block.exp: Test dictionary access on blocks.
677
6782019-08-05 Simon Marchi <simon.marchi@efficios.com>
679
680 PR gdb/24863
681 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
682 -list-thread-groups --available test when running under
683 check-read1.
684
6852019-08-05 Tom de Vries <tdevries@suse.de>
686
687 PR testsuite/24863
688 * lib/gdb.exp (with_read1_timeout_factor): New proc.
689 * gdb.base/help.exp: Use with_read1_timeout_factor.
690 * gdb.base/info-macros.exp: Same.
691 * gdb.cp/nested-types.exp: Same.
692
6932019-08-05 Tom de Vries <tdevries@suse.de>
694
695 * lib/gdb.exp (version_at_least): Factor out of ...
696 (tcl_version_at_least): ... here.
697 (gdb_compile): Fail if pie results in non-PIE executable.
698 (readelf_version, readelf_prints_pie): New proc.
699 (exec_is_pie): Return -1 if unknown.
700
7012019-08-05 Tom de Vries <tdevries@suse.de>
702
703 * lib/gdb.exp (tcl_version_at_least): Fix typo.
704
7052019-08-04 Sandra Loosemore <sandra@codesourcery.com>
706
707 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
708
7092019-08-04 Sandra Loosemore <sandra@codesourcery.com>
710
711 * lib/completion-support.exp (test_gdb_complete_none): Skip
712 tab completion tests if no readline support.
713 (test_gdb_complete_unique_re): Likewise.
714 (test_gdb_complete_multiple): Likewise.
715
7162019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
717
718 * gdb.base/info_sources.exp: New file.
719 * gdb.base/info_sources.c: New file.
720 * gdb.base/info_sources_base.c: New file.
721
7222019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
723
724 * gdb.base/batch-exit-status.exp: Call test_exit_status with
725 prefix argument.
726 (test_exit_status): Add prefix argument.
727
7282019-08-01 Tom de Vries <tdevries@suse.de>
729
730 PR testsuite/24863
731 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
732 calling exp_continue for new thread and thread exited messages.
733
7342019-08-01 Tom de Vries <tdevries@suse.de>
735
736 PR testsuite/24863
737 * gdb.base/structs.exp: Fix check-read1 timeout using
738 gdb_test_sequence.
739 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
740
7412019-08-01 Tom de Vries <tdevries@suse.de>
742
743 PR testsuite/24863
744 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
745 line.
746
7472019-08-01 Tom de Vries <tdevries@suse.de>
748
749 PR testsuite/24863
750 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
751
7522019-07-30 Tom Tromey <tromey@adacore.com>
753
754 * gdb.ada/display_nested.exp: New file.
755 * gdb.ada/display_nested/foo.adb: New file.
756 * gdb.ada/display_nested/pack.adb: New file.
757 * gdb.ada/display_nested/pack.ads: New file.
758
7592019-07-30 Christian Biesinger <cbiesinger@google.com>
760
761 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
762 namespace.
763 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
764
7652019-07-30 Tom de Vries <tdevries@suse.de>
766
767 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
768 instead.
769
7702019-07-30 Tom de Vries <tdevries@suse.de>
771
772 PR testsuite/24834
773 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
774 (exec_is_pie): New proc.
775
7762019-07-29 Christian Biesinger <cbiesinger@google.com>
777
778 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
779
7802019-07-29 Christian Biesinger <cbiesinger@google.com>
781
782 * gdb.python/py-objfile.c: Add global and static vars.
783 * gdb.python/py-objfile.exp: Test new functions Objfile.
784 lookup_global_symbol and lookup_static_symbol.
785
7862019-07-29 Tom Tromey <tom@tromey.com>
787
788 * lib/tuiterm.exp (Term::_csi_@): New proc.
789 (Term::_csi_X): Don't move cursor.
790
7912019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
792
793 * gdb.base/options.exp: Update backtrace - completion to
794 new option -frame-info.
795 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
796 Test new 'set print frame-info'. Test backtrace -frame-info
797 overriding 'set print frame-info'.
798 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
799 Test new 'set print frame-info'.
800 Verify consistency of backtrace with and without filters, with and
801 without -no-filters.
802 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
803 default.
804
8052019-07-29 Tom de Vries <tdevries@suse.de>
806
807 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
808 no arguments".
809
8102019-07-29 Tom de Vries <tdevries@suse.de>
811
812 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
813 is a substring of the first for "complete non-unique file name".
814
8152019-07-29 Tom de Vries <tdevries@suse.de>
816
817 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
818 with ".*".
819
8202019-07-29 Tom de Vries <tdevries@suse.de>
821
822 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
823 Pass prompt_regexp parameter to gdb_test_multiple calls.
824
8252019-07-29 Tom de Vries <tdevries@suse.de>
826
827 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
828 print registers" regexps.
829
8302019-07-29 Tom de Vries <tdevries@suse.de>
831
832 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
833
8342019-07-29 Tom de Vries <tdevries@suse.de>
835
836 PR gdb/24855
837 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
838 (skip_python_tests_prompt): Add prompt_regexp argument to
839 gdb_test_multiple calls.
840
8412019-07-27 Tom Tromey <tom@tromey.com>
842
843 * gdb.tui/main.exp: New file.
844
8452019-07-27 Tom Tromey <tom@tromey.com>
846
847 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
848 optional.
849 * gdb.tui/empty.exp: New file.
850
8512019-07-27 Tom Tromey <tom@tromey.com>
852
853 * lib/tuiterm.exp (spawn): New proc.
854 (Term::resize): New proc.
855 * gdb.tui/resize.exp: New file.
856
8572019-07-27 Tom Tromey <tom@tromey.com>
858
859 * gdb.tui/list.exp: New file.
860
8612019-07-27 Tom Tromey <tom@tromey.com>
862
863 * gdb.tui/regs.exp: New file.
864
8652019-07-27 Tom Tromey <tom@tromey.com>
866
867 * gdb.tui/basic.exp: Add "layout split" test.
868
8692019-07-27 Tom Tromey <tom@tromey.com>
870
871 * gdb.tui/basic.exp: Add "layout asm" test.
872
8732019-07-27 Tom Tromey <tom@tromey.com>
874
875 * lib/tuiterm.exp: New file.
876 * gdb.tui/basic.exp: New file.
877
8782019-07-27 Kevin Buettner <kevinb@redhat.com>
879
880 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
881 Enable tests associated with this flag. Adjust regex
882 referencing "foo_low" to now refer to "foo_cold" instead.
883
8842019-07-27 Kevin Buettner <kevinb@redhat.com>
885
886 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
887 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
888 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
889 foo_cold. Revise comments to match.
890 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
891 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
892 were wrapped into this proc; Call do_test in loop from outermost
893 level.
894 (foo_low): Rename all occurrences to "foo_cold".
895 (backtrace from baz): New test.
896 (x2/i foo_cold): New test.
897 (info line *foo_cold): New test.
898
8992019-07-26 Tom de Vries <tdevries@suse.de>
900
901 * gdb.arch/i386-pkru.exp: Fix unterminated string.
902
9032019-07-25 Tom de Vries <tdevries@suse.de>
904
905 PR testsuite/24830
906 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
907 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
908 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
909 (skip_libstdcxx_probe_tests): ... here.
910 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
911
9122019-07-24 Tom de Vries <tdevries@suse.de>
913
914 PR testsuite/24807
915 * gdb.objc/basicclass.m: Include stdio.h.
916 * gdb.objc/nondebug.m: Same.
917 * gdb.objc/objcdecode.m: Same.
918
9192019-07-24 Tom de Vries <tdevries@suse.de>
920
921 PR testsuite/24612
922 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
923 additional_flags.
924
9252019-07-24 Tom de Vries <tdevries@suse.de>
926
927 PR testsuite/24831
928 * gdb.multi/tids.exp: Update error messages for info threads.
929
9302019-07-24 Tom de Vries <tdevries@suse.de>
931
932 * gdb.base/info-types.exp: Allow info types to print info for more than
933 one file.
934
9352019-07-23 Tom de Vries <tdevries@suse.de>
936
937 PR testsuite/24842
938 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
939 gdb_spawn_with_cmdline_opts.
940
9412019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
942
943 * gdb.arch/arm-cmse-sgstubs.c: New test.
944 * gdb.arch/arm-cmse-sgstubs.exp: New file.
945
9462019-07-23 Tom de Vries <tdevries@suse.de>
947
948 PR testsuite/24711
949 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
950 issuing next command.
951
9522019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
953
954 * gdb.ada/info_auto_lang.exp: Update expected results.
955 * gdb.base/info-types.c: Add additional types to check.
956 * gdb.base/info-types.exp: Update expected results.
957
9582019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
959
960 * gdb.base/info-types.c: New file.
961 * gdb.base/info-types.exp: New file.
962
9632019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
964
965 * gdb.arch/riscv-bp-infcall.c: New file.
966 * gdb.arch/riscv-bp-infcall.exp: New file.
967
9682019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
969
970 PR breakpoints/24541
971 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
972
9732019-07-14 Tom de Vries <tdevries@suse.de>
974
975 PR testsuite/24760
976 * gdb.objc/basicclass.exp: Fix unterminated string.
977
9782019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
979 Andrew Burgess <andrew.burgess@embecosm.com>
980
981 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
982 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
983 negative bounds.
984 * gdb.fortran/vla-value.exp: Print elements of an array with
985 negative bounds.
986 * gdb.fortran/vla.f90: Setup an array with negative bounds for
987 testing.
988
9892019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
990
991 * gdb.base/options.exp (expect_string): Dequote strings in
992 results.
993 (test-string): Test strings with different quoting and reindent.
994
9952019-07-10 Tom Tromey <tromey@adacore.com>
996
997 * gdb.ada/mi_ex_cond.exp: Update expected results.
998 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
999 * gdb.ada/mi_catch_ex.exp: Update expected results.
1000 * gdb.ada/mi_catch_assert.exp: Update expected results.
1001 * gdb.ada/catch_ex.exp (catch_exception_info)
1002 (catch_exception_entry, catch_assert_entry)
1003 (catch_unhandled_entry): Update.
1004 * gdb.ada/catch_assert_if.exp: Update expected results.
1005
10062019-07-10 Richard Bunt <richard.bunt@arm.com>
1007 Stephen Roberts <stephen.roberts@arm.com>
1008
1009 * gdb.base/define.exp: Restore original prompt.
1010
10112019-07-09 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1014 breakpoints" output.
1015 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1016 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1017 throw" creates breakpoint.
1018 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1019 'type="catchpoint"'.
1020
10212019-07-09 Pedro Alves <palves@redhat.com>
1022
1023 PR c++/15468
1024 * gdb.cp/except-multi-location-lib.cc: New.
1025 * gdb.cp/except-multi-location-main.cc: New.
1026 * gdb.cp/except-multi-location.exp: New.
1027
10282019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1029
1030 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1031 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1032 argument and update callers.
1033
10342019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1035
1036 * gdb.arch/amd64-break-on-asm-line.S: New file.
1037 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1038
10392019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1040
1041 * gdb.base/printcmds.exp: Test printing C string and
1042 C wide string convenience vars without transiting via the inferior.
1043 Also make test names unique.
1044
10452019-07-08 Alan Hayward <alan.hayward@arm.com>
1046
1047 PR breakpoints/25011
1048 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1049
10502019-07-04 Pedro Alves <palves@redhat.com>
1051
1052 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1053 body returned ok(0), break(3) or continue(4).
1054 * gdb.testsuite/foreach_with_prefix.exp: New file.
1055
10562019-07-04 Alan Hayward <alan.hayward@arm.com>
1057
1058 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1059
10602019-07-03 Pedro Alves <palves@redhat.com>
1061
1062 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1063 "return -code".
1064
10652019-07-03 Pedro Alves <palves@redhat.com>
1066
1067 PR cli/24732
1068 * gdb.base/shell.exp: Load completion-support.exp.
1069 Adjust expected error output. Add completion tests.
1070
10712019-07-03 Pedro Alves <palves@redhat.com>
1072
1073 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1074 string_to_regexp.
1075
10762019-07-03 Pedro Alves <palves@redhat.com>
1077
1078 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1079 (expect_integer): Adjust to expect "-string".
1080 (expect_string): New.
1081 (all_options): Expect "-string".
1082 (test-flag, test-boolean): Adjust to expect "-string".
1083 (test-string): New proc.
1084 (top level): Call it.
1085
10862019-07-03 Pedro Alves <palves@redhat.com>
1087
1088 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1089 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1090 the expected output in the success.
1091
10922019-07-03 Pedro Alves <palves@redhat.com>
1093
1094 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1095 Split one gdb_test_multiple call in two to avoid a race.
1096
10972019-07-03 Pedro Alves <palves@redhat.com>
1098
1099 * gdb.base/with.c: New file.
1100 * gdb.base/with.exp: New file.
1101
11022019-07-03 Pedro Alves <palves@redhat.com>
1103
1104 * gdb.base/settings.exp: Replace all references to "maint
1105 test-settings set" with references to "maint set test-settings",
1106 and all references to "maint test-settings show" with references
1107 to "maint show test-settings".
1108
11092019-07-03 Pedro Alves <palves@redhat.com>
1110
1111 * gdb.base/settings.exp (test-string): Adjust expected out when
1112 testing "maint test-settings show filename"
1113
11142019-07-02 Pedro Alves <palves@redhat.com>
1115
1116 * gdb.base/options.exp (test-info-threads): New procedure.
1117 (top level): Call it.
1118
11192019-06-28 Tom Tromey <tromey@adacore.com>
1120
1121 * gdb.dwarf2/ada-linkage-name.c: New file.
1122 * gdb.dwarf2/ada-linkage-name.exp: New file.
1123
11242019-06-27 Tom Tromey <tromey@adacore.com>
1125
1126 PR c++/20020:
1127 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1128
11292019-06-26 Tom de Vries <tdevries@suse.de>
1130
1131 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1132
11332019-06-26 Tom de Vries <tdevries@suse.de>
1134
1135 * gdb.base/index-cache.exp: Add back missing debug option.
1136
11372019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1138
1139 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1140
11412019-06-25 Tom de Vries <tdevries@suse.de>
1142
1143 PR testsuite/24727
1144 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1145
11462019-06-24 Tom de Vries <tdevries@suse.de>
1147
1148 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1149
11502019-06-24 Tom de Vries <tdevries@suse.de>
1151
1152 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1153 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1154 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1155
11562019-06-24 Tom de Vries <tdevries@suse.de>
1157
1158 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1159
11602019-06-21 Tom de Vries <tdevries@suse.de>
1161
1162 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1163
11642019-06-21 Tom de Vries <tdevries@suse.de>
1165
1166 PR testsuite/24518
1167 PR ada/24713
1168 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1169 index.
1170
11712019-06-19 Tom Tromey <tromey@adacore.com>
1172
1173 * gdb.ada/length_cond.exp: Add intro comment.
1174
11752019-06-19 Tom Tromey <tromey@adacore.com>
1176
1177 * gdb.ada/length_cond.exp: New file.
1178 * gdb.ada/length_cond/length_cond.adb: New file.
1179 * gdb.ada/length_cond/pck.adb: New file.
1180 * gdb.ada/length_cond/pck.ads: New file.
1181
11822019-06-18 Tom de Vries <tdevries@suse.de>
1183
1184 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1185
11862019-06-18 Tom Tromey <tromey@adacore.com>
1187
1188 * gdb.base/list0.h: Add comment explaining control character.
1189
11902019-06-18 Tom de Vries <tdevries@suse.de>
1191
1192 * boards/fission.exp: Break up long debug_flags line.
1193
11942019-06-16 Tom de Vries <tdevries@suse.de>
1195
1196 PR gdb/24445
1197 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1198 generated index.
1199
12002019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1201
1202 PR gdb/24686
1203 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1204 improve detection of bug gdb/24541.
1205
12062019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1207
1208 PR gdb/24669
1209 * gdb.base/index-cache.exp (uses_readnow,
1210 expecting_index_cache_use): Define global variable.
1211 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1212 expecting_index_cache_use.
1213
12142019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1215 Andrew Burgess <andrew.burgess@embecosm.com>
1216
1217 * gdb.fortran/pointers.f90: New file.
1218 * gdb.fortran/print_type.exp: New file.
1219 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1220 * gdb.fortran/vla-type.exp: Likewise.
1221 * gdb.fortran/vla-value.exp: Likewise.
1222 * gdb.mi/mi-vla-fortran.exp: Likewise.
1223
12242019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1225
1226 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1227 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1228 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1229 as a stop reason.
1230
12312019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1232
1233 * gdb.base/annota1.exp: Update expected results.
1234 * gdb.cp/annota2.exp: Likewise.
1235 * gdb.cp/annota3.exp: Likewise.
1236
12372019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.base/style-logging.exp: Remove path from test name.
1240
12412019-06-14 Tom Tromey <tromey@adacore.com>
1242
1243 PR gdb/24502:
1244 * gdb.base/style-logging.exp: New file.
1245
12462019-06-14 Tom Tromey <tromey@adacore.com>
1247
1248 * gdb.base/symfile-warn.exp: New file.
1249 * gdb.base/symfile-warn.c: New file.
1250
12512019-06-14 Tom Tromey <tromey@adacore.com>
1252
1253 * gdb.base/annotate-symlink.exp: New file.
1254
12552019-06-14 Tom Tromey <tromey@adacore.com>
1256
1257 * gdb.ada/set_wstr.exp: Add reassignment test.
1258
12592019-06-14 Tom Tromey <tromey@adacore.com>
1260
1261 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1262 'unchecked_access and 'unrestricted_access as well.
1263
12642019-06-14 Tom Tromey <tromey@adacore.com>
1265
1266 PR ada/24539:
1267 * gdb.ada/vla.exp: Update tests.
1268 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1269 pragma.
1270
12712019-06-13 Pedro Alves <palves@redhat.com>
1272
1273 * gdb.base/settings.exp (test-integer): Test junk after
1274 "unlimited".
1275
12762019-06-13 Pedro Alves <palves@redhat.com>
1277
1278 * gdb.base/options.exp (test-thread-apply): New.
1279 (top level): Call it.
1280
12812019-06-13 Pedro Alves <palves@redhat.com>
1282
1283 * gdb.base/options.exp (test-frame-apply): New.
1284 (top level): Test print commands with different "frame apply"
1285 prefixes.
1286
12872019-06-13 Pedro Alves <palves@redhat.com>
1288
1289 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1290 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1291 'max_completions' parameter and handle it.
1292 (test_gdb_completion_offers_commands): New.
1293
12942019-06-13 Pedro Alves <palves@redhat.com>
1295
1296 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1297
12982019-06-13 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.base/options.exp (test-backtrace): New.
1301 (top level): Call it.
1302
13032019-06-13 Pedro Alves <palves@redhat.com>
1304
1305 * gdb.guile/scm-frame-args.exp: Use "set print
1306 raw-frame-arguments" instead of "set print raw frame-arguments".
1307 * gdb.python/py-frame-args.exp: Likewise.
1308
13092019-06-13 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.compile/compile.exp: Adjust expected output to option
1312 processing changes.
1313
13142019-06-13 Pedro Alves <palves@redhat.com>
1315
1316 * gdb.base/options.exp: Build executable.
1317 (test-print): New procedure.
1318 (top level): Call it, once for "print" and another for "compile
1319 print".
1320
13212019-06-13 Pedro Alves <palves@redhat.com>
1322
1323 * gdb.base/options.c: New file.
1324 * gdb.base/options.exp: New file.
1325
13262019-06-13 Pedro Alves <palves@redhat.com>
1327
1328 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1329 that "o" is ambiguous.
1330
13312019-06-13 Pedro Alves <palves@redhat.com>
1332
1333 * gdb.base/settings.c: New file.
1334 * gdb.base/settings.exp: New file.
1335
13362019-06-13 Pedro Alves <palves@redhat.com>
1337
1338 * gdb.base/completion.exp: Fix comment typo.
1339
13402019-06-13 Pedro Alves <palves@redhat.com>
1341
1342 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1343 foo --1" test.
1344
13452019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1346
1347 * gdb.fortran/block-data.f: New.
1348 * gdb.fortran/block-data.exp: New.
1349
13502019-06-11 Tom de Vries <tdevries@suse.de>
1351
1352 PR testsuite/24521
1353 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1354 message.
1355
13562019-06-11 Tom de Vries <tdevries@suse.de>
1357
1358 PR testsuite/24521
1359 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1360
13612019-06-11 Tom de Vries <tdevries@suse.de>
1362
1363 * boards/readnow.exp: New file.
1364
13652019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1366
1367 * gdb.fortran/vla-sizeof.exp: Update expected results.
1368
13692019-06-06 Amos Bird <amosbird@gmail.com>
1370
1371 * gdb.base/annota1.exp (thread_switch): Add test for
1372 thread-exited annotation.
1373
13742019-06-06 Tom Tromey <tromey@adacore.com>
1375
1376 * gdb.base/maint.exp: Expect command started/finished output.
1377
13782019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1379
1380 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1381 comment.
1382 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1383
13842019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1385
1386 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1387 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1388 * gdb.arch/riscv-unwind-long-insn.c: New file.
1389 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1390
13912019-06-04 Christian Biesinger <cbiesinger@google.com>
1392
1393 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1394
13952019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1396
1397 * lib/gdb.exp (help_list_trailer): New regexp variable
1398 factorizing the help trailer message.
1399 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1400 arg to allow to better factorize various tests.
1401 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1402 (test_prefix_command_help): Use help_list_trailer.
1403 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1404 * gdb.guile/scm-cmd.exp: Likewise.
1405 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1406 * gdb.base/help.exp: Use test_user_defined_class_help.
1407 * gdb.base/style.exp: Add tests for styling of help and apropos.
1408 * lib/gdb-utils.exp (style): Add title and highlight styles.
1409
14102019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1411
1412 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1413 $_shell_exitsignal.
1414 * gdb.base/default.exp: Update for new convenience variables.
1415
14162019-05-29 Tom Tromey <tromey@adacore.com>
1417
1418 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1419 to "break complete ada" test case's regexp.
1420
14212019-05-29 Tom Tromey <tromey@adacore.com>
1422
1423 PR c++/20020:
1424 * gdb.cp/constexpr-field.exp: New file.
1425 * gdb.cp/constexpr-field.cc: New file.
1426
14272019-05-29 Tom Tromey <tromey@adacore.com>
1428
1429 * gdb.base/finish.exp (finish_no_print): New proc.
1430 (finish_tests): Call it.
1431
14322019-05-24 Tom de Vries <tdevries@suse.de>
1433
1434 * gdb.dwarf2/gdb-add-index.exp: New file.
1435
14362019-05-22 Tom Tromey <tromey@adacore.com>
1437
1438 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1439 * gdb.base/style.exp: Use "style".
1440 * lib/gdb-utils.exp (style): New proc.
1441
14422019-05-22 Tom de Vries <tdevries@suse.de>
1443
1444 * gdb.base/align.exp: Require c++11.
1445
14462019-05-22 Tom de Vries <tdevries@suse.de>
1447
1448 PR testsuite/24586
1449 * gdb.python/py-mi-var-info-path-expression.exp: Call
1450 mi_skip_python_tests to check if python is supported.
1451
14522019-05-22 Alan Hayward <alan.hayward@arm.com>
1453
1454 * gdb.arch/aarch64-pauth.c: New test.
1455 * gdb.arch/aarch64-pauth.exp: New file.
1456
14572019-05-22 Alan Hayward <alan.hayward@arm.com>
1458
1459 * README (Re-running Tests Outside The Testsuite): New section.
1460
14612019-05-21 Tom de Vries <tdevries@suse.de>
1462
1463 * gdb.arch/amd64-eval.exp: Require c++11.
1464 * gdb.base/max-depth.exp: Same.
1465 * gdb.compile/compile-cplus-array-decay.exp: Same.
1466 * gdb.cp/meth-typedefs.exp: Same.
1467 * gdb.cp/subtypes.exp: Same.
1468 * gdb.cp/temargs.exp: Same.
1469
14702019-05-21 Alan Hayward <alan.hayward@arm.com>
1471
1472 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1473
14742019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1475
1476 PR gdb/18644
1477 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1478 * gdb.fortran/printing-types.exp: Add new test.
1479 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1480 testing.
1481 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1482 setup_kfail call.
1483
14842019-05-17 Alan Hayward <alan.hayward@arm.com>
1485
1486 * README (Running the Testsuite): Change example.
1487 (Testsuite Parameters): Remove TRANSCRIPT.
1488 * lib/gdb.exp: Remove TRANSCRIPT check.
1489
14902019-05-17 Alan Hayward <alan.hayward@arm.com>
1491
1492 * README (Testsuite Parameters): Add replay logging to
1493 GDBSERVER_DEBUG.
1494 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1495 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1496 as a comma separated list.
1497 (gdb_debug_init): Override procedure.
1498
14992019-05-17 Alan Hayward <alan.hayward@arm.com>
1500
1501 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1502 (gdb_write_cmd_file): New procedure.
1503 * lib/gdbserver-support.exp (gdbserver_start): Call
1504 gdbserver_write_cmd_file.
1505 (gdbserver_write_cmd_file): New procedure.
1506
15072019-05-17 Alan Hayward <alan.hayward@arm.com>
1508
1509 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1510 (delete_breakpoints): Likewise.
1511 (gdb_run_cmd): Likewise.
1512 (gdb_start_cmd): Likewise.
1513 (gdb_starti_cmd): Likewise.
1514 (gdb_internal_error_resync): Likewise.
1515 (gdb_test_multiple): Likewise.
1516 (gdb_reinitialize_dir): Likewise.
1517 (default_gdb_exit): Likewise.
1518 (gdb_file_cmd): Mark kill as optional.
1519 (default_gdb_start): Call gdb_stdin_log_init.
1520 (send_gdb): Call gdb_stdin_log_write.
1521 (rerun_to_main): Mark Y as an answer.
1522 (gdb_stdin_log_init): New function.
1523 (gdb_stdin_log_write): Likewise.
1524
15252019-05-17 Alan Hayward <alan.hayward@arm.com>
1526
1527 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1528 * gdb.base/debug-expr.exp: Likewise.
1529 * gdb.base/foll-fork.exp: Likewise.
1530 * gdb.base/foll-vfork.exp: Likewise.
1531 * gdb.base/fork-print-inferior-events.exp: Likewise.
1532 * gdb.base/gdb-sigterm.exp: Likewise.
1533 * gdb.base/gdbinit-history.exp: Likewise.
1534 * gdb.base/osabi.exp: Likewise.
1535 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1536 * gdb.base/ui-redirect.exp: Likewise.
1537 * gdb.gdb/unittest.exp: Likewise.
1538 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1539 * gdb.mi/mi-watch.exp: Likewise.
1540 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1541 * gdb.mi/user-selected-context-sync.exp: Likewise.
1542 * gdb.python/python.exp: Disable debug test when debugging.
1543 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1544 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1545 Likewise.
1546 * gdb.threads/stepi-random-signal.exp: Likewise.
1547
15482019-05-17 Alan Hayward <alan.hayward@arm.com>
1549
1550 * Makefile.in: Pass through GDB_DEBUG.
1551 * README (Testsuite Parameters): Add GDB_DEBUG.
1552 (gdb,debug): Add board setting.
1553 * lib/gdb.exp (default_gdb_start): Start debugging.
1554 (gdb_debug_enabled): New procedure.
1555 (gdb_debug_init): Likewise.
1556
15572019-05-17 Alan Hayward <alan.hayward@arm.com>
1558
1559 * Makefile.in: Pass through GDB_DEBUG.
1560 * README (Testsuite Parameters): Add GDB_DEBUG.
1561 (gdb,debug): Add board setting.
1562 * lib/gdb.exp (default_gdb_start): Start debugging.
1563 (gdb_debug_enabled): New procedure.
1564 (gdb_debug_init): Likewise.
1565
15662019-05-17 Alan Hayward <alan.hayward@arm.com>
1567
1568 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1569
15702019-05-17 Alan Hayward <alan.hayward@arm.com>
1571
1572 * gdb.base/ui-redirect.exp: Test redirection.
1573
15742019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1575
1576 * gdb.mi/mi-complete.exp: New file.
1577 * gdb.mi/mi-complete.cc: Likewise.
1578
15792019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1580
1581 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1582 indexed and sliced arrays, and pointers to arrays.
1583
15842019-05-14 Tom Tromey <tromey@adacore.com>
1585
1586 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1587 styling test.
1588
15892019-05-14 Tom de Vries <tdevries@suse.de>
1590
1591 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1592 selection entry encoding.
1593
15942019-05-10 Tom Tromey <tromey@adacore.com>
1595
1596 * gdb.ada/info_exc.exp: Add "complete" test.
1597
15982019-05-09 Tom de Vries <tdevries@suse.de>
1599
1600 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1601 CU-relative.
1602
16032019-05-09 Tom de Vries <tdevries@suse.de>
1604
1605 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1606 CU-relative.
1607
16082019-05-08 Joel Brobecker <brobecker@adacore.com>
1609
1610 * gdb.ada/frame_arg_lang.exp: New testcase.
1611 * gdb.ada/frame_arg_lang/bla.adb: New file.
1612 * gdb.ada/frame_arg_lang/pck.ads: New file.
1613 * gdb.ada/frame_arg_lang/pck.adb: New file.
1614 * gdb.ada/frame_arg_lang/foo.c: New file.
1615
16162019-05-08 Tom Tromey <tromey@adacore.com>
1617
1618 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1619
16202019-05-08 Tom Tromey <tromey@adacore.com>
1621
1622 * gdb.base/ptype-offsets.exp: Update tests.
1623
16242019-05-08 Tom Tromey <tromey@adacore.com>
1625
1626 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1627 cases.
1628 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1629 "short".
1630
16312019-05-08 Tom Tromey <tromey@adacore.com>
1632
1633 * gdb.ada/vla.exp: New file.
1634 * gdb.ada/vla/vla.adb: New file.
1635
16362019-05-07 Tom de Vries <tdevries@suse.de>
1637
1638 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1639
16402019-05-07 Tom de Vries <tdevries@suse.de>
1641
1642 PR testsuite/24522
1643 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1644 section.
1645
16462019-05-07 Tom de Vries <tdevries@suse.de>
1647
1648 PR testsuite/24522
1649 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1650 .debug_aranges section.
1651
16522019-05-07 Tom de Vries <tdevries@suse.de>
1653
1654 PR testsuite/24159
1655 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1656
16572019-05-06 Tom de Vries <tdevries@suse.de>
1658
1659 * lib/gdb.exp (exec_has_index_section): New proc.
1660 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1661 section.
1662
16632019-05-04 Tom de Vries <tdevries@suse.de>
1664
1665 * boards/cc-with-debug-names.exp: New file.
1666
16672019-05-03 Tom Tromey <tromey@adacore.com>
1668
1669 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1670 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1671 * gdb.ada/char_enum.exp: Add test.
1672
16732019-05-03 Tom de Vries <tdevries@suse.de>
1674
1675 * boards/cc-with-gdb-index.exp: New file.
1676
16772019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1678
1679 * gdb.rust/simple.exp: Add new test case.
1680 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1681 (main): Initialise an instance of the new struct.
1682
16832019-05-01 Tom Tromey <tromey@adacore.com>
1684
1685 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1686 record.
1687 (NPR): New variable.
1688 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1689 test.
1690
16912019-05-01 Tom Tromey <tromey@adacore.com>
1692
1693 * gdb.ada/packed_array_assign.exp: Add packed assignment
1694 regression test.
1695
16962019-05-01 Tom de Vries <tdevries@suse.de>
1697
1698 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1699
17002019-05-01 Tom de Vries <tdevries@suse.de>
1701
1702 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1703
17042019-04-30 Ali Tamur <tamur@google.com>
1705
1706 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1707
17082019-04-30 Tom Tromey <tromey@adacore.com>
1709
1710 * lib/ada.exp (find_ada_tool): New proc.
1711 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1712 * gdb.ada/catch_ex_std.exp: New file.
1713 * gdb.ada/catch_ex_std/foo.adb: New file.
1714 * gdb.ada/catch_ex_std/some_package.adb: New file.
1715 * gdb.ada/catch_ex_std/some_package.ads: New file.
1716
17172019-04-30 Tom Tromey <tromey@adacore.com>
1718
1719 PR c++/24470:
1720 * gdb.cp/temargs.cc: Add test code from PR.
1721
17222019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * gdb.fortran/vla-datatypes.exp: Update expected results.
1725 * gdb.fortran/vla-ptype.exp: Likewise.
1726 * gdb.fortran/vla-type.exp: Likewise.
1727 * gdb.fortran/vla-value.exp: Likewise.
1728
17292019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1730
1731 * gdb.fortran/ptr-indentation.exp: Update expected results.
1732 * gdb.fortran/ptype-on-functions.exp: Likewise.
1733 * gdb.fortran/vla-ptr-info.exp: Likewise.
1734 * gdb.fortran/vla-value.exp: Likewise.
1735
17362019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1737
1738 * gdb.fortran/ptype-on-functions.exp: New file.
1739 * gdb.fortran/ptype-on-functions.f90: New file.
1740
17412019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1742
1743 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1744 case void string.
1745
17462019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1747
1748 * gdb.fortran/complex.exp: Expand.
1749 * gdb.fortran/complex.f: Renamed to...
1750 * gdb.fortran/complex.f90: ...this, and extended to add more
1751 complex values.
1752
17532019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1754
1755 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1756 MODULO, CMPLX.
1757
17582019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1759 Richard Bunt <richard.bunt@arm.com>
1760
1761 * gdb.base/max-depth.c: New file.
1762 * gdb.base/max-depth.exp: New file.
1763 * gdb.python/py-nested-maps.c: New file.
1764 * gdb.python/py-nested-maps.exp: New file.
1765 * gdb.python/py-nested-maps.py: New file.
1766 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1767 (test_all_common): Call test_max_depth.
1768 * gdb.fortran/max-depth.exp: New file.
1769 * gdb.fortran/max-depth.f90: New file.
1770 * gdb.go/max-depth.exp: New file.
1771 * gdb.go/max-depth.go: New file.
1772 * gdb.modula2/max-depth.exp: New file.
1773 * gdb.modula2/max-depth.c: New file.
1774 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1775
17762019-04-29 Tom de Vries <tdevries@suse.de>
1777
1778 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1779
17802019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1781
1782 * gdb.base/callexit.exp: Test may-call-functions off.
1783
17842019-04-25 Keith Seitz <keiths@redhat.com>
1785
1786 PR c++/24367
1787 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1788 (another_incomplete_struct, test_incomplete): New definitions.
1789 (main): Use new definitions.
1790 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1791 functions.
1792
17932019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1794
1795 PR corefiles/11608
1796 PR corefiles/18187
1797 * gdb.base/coredump-filter-build-id.exp: New file.
1798
17992019-04-25 Alan Hayward <alan.hayward@arm.com>
1800
1801 * Makefile.in: Pass through GDBSERVER_DEBUG.
1802 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1803 (gdbserver,debug): Add board setting.
1804 * gdb.trace/tspeed.exp: Skip when debugging.
1805 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1806 * lib/gdbserver-support.exp: Likewise
1807
18082019-04-24 Tom Tromey <tromey@adacore.com>
1809
1810 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1811 Rust.
1812
18132019-04-24 Tom Tromey <tromey@adacore.com>
1814
1815 * gdb.arch/amd64-eval.exp: Test bitfield return.
1816 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1817 (class Foo) <return_bitfields>: New method.
1818 (main): Call it.
1819
18202019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1821
1822 * gdb.cp/many-args.cc: New file.
1823 * gdb.cp/many-args.exp: New file.
1824
18252019-04-23 Tom de Vries <tdevries@suse.de>
1826
1827 PR gdb/24433
1828 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1829
18302019-04-23 Alan Hayward <alan.hayward@arm.com>
1831
1832 * gdb.trace/backtrace.exp: Use nopie flag.
1833 * gdb.trace/circ.exp: Likewise.
1834 * gdb.trace/collection.exp: Likewise.
1835 * gdb.trace/ftrace.exp: Likewise.
1836 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1837 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1838 * gdb.trace/qtro.exp: Likewise.
1839 * gdb.trace/read-memory.exp: Likewise.
1840 * gdb.trace/report.exp: Likewise.
1841 * gdb.trace/tfile.exp: Likewise.
1842 * gdb.trace/tfind.exp: Likewise.
1843 * gdb.trace/unavailable.exp: Likewise.
1844
18452019-04-22 Pedro Alves <palves@redhat.com>
1846
1847 * gdb.base/solib-probes-nosharedlibrary.c,
1848 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1849
18502019-04-19 Tom Tromey <tromey@adacore.com>
1851
1852 * gdb.ada/ptype_union.c: New file.
1853 * gdb.ada/ptype_union.exp: New file.
1854
18552019-04-19 Tom Tromey <tromey@adacore.com>
1856
1857 PR symtab/24423:
1858 * gdb.base/list0.h (foo): Add a control-l character.
1859
18602019-04-18 Tom de Vries <tdevries@suse.de>
1861
1862 PR gdb/24433
1863 * boards/local-board.exp: Set sysroot to "".
1864
18652019-04-18 Tom de Vries <tdevries@suse.de>
1866 Pedro Alves <palves@redhat.com>
1867
1868 PR gdb/24454
1869 * gdb.threads/vfork-follow-child-exec.c: New file.
1870 * gdb.threads/vfork-follow-child-exec.exp: New file.
1871 * gdb.threads/vfork-follow-child-exit.c: New file.
1872 * gdb.threads/vfork-follow-child-exit.exp: New file.
1873
18742019-04-15 Leszek Swirski <leszeks@google.com>
1875
1876 * gdb.arch/amd64-eval.cc: New file.
1877 * gdb.arch/amd64-eval.exp: New file.
1878
18792019-04-11 Alan Hayward <alan.hayward@arm.com>
1880
1881 * gdb.server/sysroot.c: New test.
1882 * gdb.server/sysroot.exp: New file.
1883 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1884 matching param.
1885
18862019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1887
1888 * gdb.base/align.exp: Extend test to cover structures containing
1889 only static fields.
1890
18912019-04-11 Tom de Vries <tdevries@suse.de>
1892
1893 * boards/cc-with-dwz-m.exp: New file.
1894 * boards/cc-with-dwz.exp: New file.
1895 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1896
18972019-04-09 Simon Marchi <simon.marchi@efficios.com>
1898
1899 * gdb.base/start-cpp.exp: New file.
1900 * gdb.base/start-cpp.cc: New file.
1901
19022019-04-08 Kevin Buettner <kevinb@redhat.com>
1903
1904 * gdb.python/py-thrhandle.exp: Adjust tests to call
1905 thread_from_handle instead of thread_from_thread_handle.
1906
19072019-04-08 Kevin Buettner <kevinb@redhat.com>
1908
1909 * gdb.python/py-thrhandle.exp: Add tests for
1910 gdb.InferiorThread.handle.
1911
19122019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1913
1914 * gdb.python/py-function.exp: Check calling helper function from
1915 all languages.
1916 * lib/gdb.exp (gdb_supported_languages): New proc.
1917
19182019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1919
1920 * gdb.base/complex-parts.c: New file.
1921 * gdb.base/complex-parts.exp: New file.
1922
19232019-04-01 Tom Tromey <tromey@adacore.com>
1924
1925 PR symtab/23331:
1926 * gdb.dwarf2/dw2-ranges-main.c: New file.
1927 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1928 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1929
19302019-03-30 Simon Marchi <simark@simark.ca>
1931
1932 * gdb.base/default.exp: Add values for $_gdb_major and
1933 $_gdb_minor.
1934
19352019-03-29 Tom Tromey <tromey@adacore.com>
1936
1937 * gdb.base/help.exp: Tighten apropos regexp.
1938
19392019-03-29 Keith Seitz <keiths@redhat.com>
1940
1941 * gdb.fortran/array-bounds.exp: New file.
1942 * gdb.fortran/array-bounds.f90: New file.
1943
19442019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1945
1946 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1947
19482019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1949
1950 * gdb.multi/hello.c (main): Increase alarm timer.
1951
19522019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1953
1954 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1955 factor when no hardware watchpoint support.
1956
19572019-03-28 Alan Hayward <alan.hayward@arm.com>
1958 Pedro Alves <palves@redhat.com>
1959
1960 * boards/local-board.exp: set sysroot to /.
1961
19622019-03-27 Alan Hayward <alan.hayward@arm.com>
1963
1964 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1965 in child.
1966
19672019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1968
1969 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1970 field.
1971 (make_container): Initialise new field.
1972 * gdb.python/py-prettyprint.exp: Add new tests.
1973 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1974 <display_hint>: New method.
1975
19762019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1977
1978 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1979 gdb_continue_to_breakpoint more throughout this test.
1980 (run_lang_tests) Supply unique test names, and use
1981 gdb_test_no_output.
1982
19832019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1984
1985 * gdb.base/finish-pretty.exp: Update expected results.
1986 * gdb.base/pretty-print.c: New file.
1987 * gdb.base/pretty-print.exp: New file.
1988
19892019-03-25 Pedro Alves <palves@redhat.com>
1990
1991 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1992 move comments outside list. Append '-i "" eof' section.
1993
19942019-03-22 Alan Hayward <alan.hayward@arm.com>
1995
1996 PR testsuite/25016
1997 * README: Add pie options.
1998 * gdb.base/break-interp.exp: Ensure pie is disabled.
1999 * gdb.base/dump.exp: Likewise.
2000 * lib/gdb.exp (gdb_compile): Add pie option.
2001
20022019-03-19 Tom Tromey <tromey@adacore.com>
2003
2004 * gdb.mi/mi2-cli-display.c: New file.
2005 * gdb.mi/mi2-cli-display.exp: New file.
2006
20072019-03-18 Joel Brobecker <brobecker@adacore.com>
2008 Tom Tromey <tromey@adacore.com>
2009
2010 * gdb.ada/ptype_array/pck.adb: New file.
2011 * gdb.ada/ptype_array/pck.ads: New file.
2012 * gdb.ada/ptype_array/foo.adb: New file.
2013 * gdb.ada/ptype_array.exp: New file.
2014
20152019-03-14 Tom Tromey <tromey@adacore.com>
2016
2017 * gdb.base/style.exp: Add "set style sources" test.
2018
20192019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2020
2021 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2022 * mi-breakpoint-multiple-locations.exp: ... this.
2023 (make_breakpoints_pattern): New proc.
2024 (do_test): Add mi_version parameter, test -break-insert,
2025 -break-info and =breakpoint-created.
2026
20272019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2028
2029 * config/default.exp: Remove 'load_lib gdb.exp'.
2030 * config/monitor.exp: Likewise.
2031 * config/sid.exp: Likewise.
2032 * config/sim.exp: Likewise.
2033 * config/slite.exp: Likewise.
2034 * config/unix.exp: Likewise.
2035 * gdb.base/default.exp: Remove unhelpful comment.
2036
20372019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2038
2039 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2040
20412019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2042
2043 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2044
20452019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2046
2047 * gdb.fortran/type-kinds.exp: Update expected results.
2048
20492019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2050
2051 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2052
20532019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2054
2055 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2056 function.
2057 (test_basic_parsing_of_type_kinds): Expand types tested.
2058 (test_parsing_invalid_type_kinds): New function.
2059
20602019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2061
2062 * gdb.fortran/intrinsics.exp: New file.
2063 * gdb.fortran/intrinsics.f90: New file.
2064 * gdb.fortran/type-kinds.exp: New file.
2065
20662019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2067
2068 * gdb.fortran/dot-ops.exp: New file.
2069
20702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2071
2072 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2073 Check upper and lower case logical literals.
2074
20752019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2076
2077 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2078 Remove duplicate tests.
2079
20802019-03-06 Alan Hayward <alan.hayward@arm.com>
2081
2082 * lib/gdb.exp (builtin_cd): rename of cd.
2083 (cd): Override builtin.
2084
20852019-03-06 Richard Bunt <richard.bunt@arm.com>
2086
2087 * gdb.fortran/function-calls.exp: New file.
2088 * gdb.fortran/function-calls.f90: New test.
2089
20902019-03-04 Richard Bunt <richard.bunt@arm.com>
2091
2092 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2093 on user program standard output.
2094 * gdb.fortran/short-circuit-argument-list.f90: Record function
2095 calls.
2096
20972019-02-28 Alan Hayward <alan.hayward@arm.com>
2098
2099 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2100 failure.
2101
21022019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2103
2104 PR gdb/8527
2105 * gdb.base/interrupt-daemon-attach.c,
2106 gdb.base/interrupt-daemon-attach.exp: New test.
2107
21082019-02-27 Pedro Alves <palves@redhat.com>
2109
2110 * gdb.base/page.exp: Add tests for "set width/height -1".
2111
21122019-02-27 Pedro Alves <palves@redhat.com>
2113
2114 * gdb.base/page.exp: Add tests for "set/show width/height" with
2115 "infinite" values.
2116
21172019-02-27 Tom Tromey <tromey@adacore.com>
2118
2119 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2120 2.4.
2121 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2122 workaround.
2123
21242019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2125
2126 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2127 tests for structs with static members.
2128
21292019-02-26 Tom Tromey <tromey@adacore.com>
2130
2131 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2132 ValueError, not TypeError.
2133
21342019-02-26 Kevin Buettner <kevinb@redhat.com>
2135
2136 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2137 call from main program.
2138
21392019-02-23 Joel Brobecker <brobecker@adacore.com>
2140
2141 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2142 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2143 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2144 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2145 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2146
21472019-02-22 Keith Seitz <keiths@redhat.com>
2148
2149 PR symtab/23853
2150 * gdb.base/symlink-sourcefile.c: New file.
2151 * gdb.base/symlink-sourcefile.exp: New file.
2152
21532019-02-20 Tom Tromey <tom@tromey.com>
2154
2155 * gdb.base/info_qt.exp: Update.
2156
21572019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2158
2159 * gdb.base/source.exp: Move "error in sourced script" code to
2160 the end.
2161 * gdb.base/source-error.gdb: Move contents to
2162 source-error-1.gdb. Add new code to source source-error-1.gdb.
2163 * gdb.base/source-error-1.gdb: New file, from previous
2164 source-error.gdb.
2165
21662019-02-17 Tom Tromey <tom@tromey.com>
2167
2168 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2169 for macro styling.
2170 * gdb.base/style.c (SOME_MACRO): New macro.
2171
21722019-02-17 Tom Tromey <tom@tromey.com>
2173
2174 * gdb.base/style.exp: Add line-wrapping tests.
2175 * gdb.base/page.exp: Add test for quitting during pagination.
2176
21772019-02-17 Joel Brobecker <brobecker@adacore.com>
2178
2179 * gdb.ada/big_packed_array: New testcase.
2180 * gdb.ada/homonym.exp: Fix incorrect expected output for
2181 "break <homonym__get_value>" test.
2182
21832019-02-13 Weimin Pan <weimin.pan@oracle.com>
2184
2185 PR breakpoints/21870
2186 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2187 and prepare_for_testing. Add comment.
2188 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2189 redundant cleanup call. Clean up comment.
2190
21912019-02-12 Weimin Pan <weimin.pan@oracle.com>
2192
2193 PR breakpoints/21870
2194 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2195 * gdb.arch/aarch64-dbreg-contents.c: New file.
2196
21972019-02-10 Joel Brobecker <brobecker@adacore.com>
2198
2199 * gdb.ada/mi_ref_changeable: New testcase.
2200
22012019-02-07 Alan Hayward <alan.hayward@arm.com>
2202
2203 * gdb.base/attach.exp: Add double attach test.
2204
22052019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2206
2207 * lib/gdb.exp (default_gdb_start): Don't match pagination
2208 prompt.
2209 (gdb_init): Set stty_init.
2210
22112019-01-27 Tom Tromey <tom@tromey.com>
2212
2213 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2214 skip_python_tests.
2215
22162019-01-24 Alan Hayward <alan.hayward@arm.com>
2217
2218 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2219 New structure.
2220 (struct struct_static_02_02): Likewise.
2221 (struct struct_static_02_03): Likewise.
2222 (struct struct_static_02_04): Likewise.
2223 (struct struct_static_04_01): Likewise.
2224 (struct struct_static_04_02): Likewise.
2225 (struct struct_static_04_03): Likewise.
2226 (struct struct_static_04_04): Likewise.
2227 (struct struct_static_06_01): Likewise.
2228 (struct struct_static_06_02): Likewise.
2229 (struct struct_static_06_03): Likewise.
2230 (struct struct_static_06_04): Likewise.
2231 (cmp_struct_static_02_01): Likewise.
2232 (cmp_struct_static_02_02): Likewise.
2233 (cmp_struct_static_02_03): Likewise.
2234 (cmp_struct_static_02_04): Likewise.
2235 (cmp_struct_static_04_01): Likewise.
2236 (cmp_struct_static_04_02): Likewise.
2237 (cmp_struct_static_04_03): Likewise.
2238 (cmp_struct_static_04_04): Likewise.
2239 (cmp_struct_static_06_01): Likewise.
2240 (cmp_struct_static_06_02): Likewise.
2241 (cmp_struct_static_06_03): Likewise.
2242 (cmp_struct_static_06_04): Likewise.
2243 (call_all): Test new structs.
2244 * gdb.base/infcall-nested-structs.exp: Likewise.
2245
22462019-01-21 Alan Hayward <alan.hayward@arm.com>
2247 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2248
22492019-01-21 Alan Hayward <alan.hayward@arm.com>
2250 * gdb.base/stack-protector.c: New test.
2251 * gdb.base/stack-protector.exp: New file.
2252 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2253 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2254 option.
2255 (gdb_compile): Remove stack protector for GCC and prevent
2256 recursion.
2257
22582019-01-16 Keith Seitz <keiths@redhat.com>
2259
2260 PR gdb/23773
2261 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2262
22632019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2264
2265 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2266 aliases.
2267 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2268 tests.
2269 * gdb.arch/powerpc-vector-regs.c: New file.
2270 * gdb.arch/powerpc-vector-regs.exp: New file.
2271
22722019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2273
2274 * gdb.arch/altivec-regs.exp: Fix the list passed to
2275 gdb_expect_list when testing "info vector".
2276
22772019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2278
2279 * gdb.base/style.exp: Don't include path in testname.
2280
22812019-01-10 Keith Seitz <keiths@redhat.com>
2282
2283 PR gdb/23712
2284 PR symtab/23010
2285 * gdb.dwarf2/multidictionary.exp: New file.
2286
22872019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2288
2289 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2290 (test_gnuv3_style_demangling): ... this.
2291 (test_lucid_style_demangling): Remove.
2292 (test_arm_style_demangling): Remove.
2293 (test_hp_style_demangling): Remove.
2294 (do_tests): Remove calls to the above.
2295
22962019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2297
2298 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2299 case.
2300
23012019-01-06 Tom Tromey <tom@tromey.com>
2302
2303 PR gdb/28155:
2304 * gdb.dwarf2/typedef-void-finish.exp: New file.
2305
23062018-12-28 Tom Tromey <tom@tromey.com>
2307 Simon Marchi <simark@simark.ca>
2308
2309 * gdb.base/jit-exec.exp: New file.
2310 * gdb.base/jit-exec.c: New file.
2311 * gdb.base/jit-execd.c: New file.
2312
23132018-12-28 Tom Tromey <tom@tromey.com>
2314
2315 * gdb.base/style.exp: Update test to check for address styling.
2316
23172018-12-28 Tom Tromey <tom@tromey.com>
2318
2319 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2320 message.
2321
23222018-12-28 Tom Tromey <tom@tromey.com>
2323
2324 * gdb.base/style.exp: Add test for version number styling.
2325
23262018-12-28 Tom Tromey <tom@tromey.com>
2327
2328 * gdb.base/style.exp: Add test for print_address_symbolic.
2329
23302018-12-28 Tom Tromey <tom@tromey.com>
2331
2332 * gdb.base/style.exp: Add test for breakpoint setting.
2333
23342018-12-28 Tom Tromey <tom@tromey.com>
2335
2336 * gdb.base/style.exp: Add test for variable names.
2337
23382018-12-28 Tom Tromey <tom@tromey.com>
2339
2340 * gdb.base/style.exp: New file.
2341 * gdb.base/style.c: New file.
2342
23432018-12-28 Tom Tromey <tom@tromey.com>
2344
2345 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2346 "dumb".
2347 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2348 the TERM environment variable.
2349
23502018-12-27 Tom Tromey <tom@tromey.com>
2351
2352 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2353 pagination test.
2354
23552018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2356
2357 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2358 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2359
23602018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2361
2362 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2363 Filename a.adb changed to bp_fun_addr.adb.
2364 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2365
23662018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2367
2368 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2369 non-PIE executables.
2370 * README: Mention the gdb,nopie_flag board setting.
2371 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2372 non-PIE executable.
2373 * gdb.arch/amd64-entry-value.exp: Likewise.
2374 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2375 * gdb.arch/i386-float.exp: Likewise.
2376 * gdb.arch/i386-signal.exp: Likewise.
2377 * gdb.mi/mi-reg-undefined.exp: Likewise.
2378
23792018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2380
2381 PR gdb/23974
2382 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2383
23842018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2385
2386 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2387 Update order of results accordingly.
2388
23892018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2390
2391 * gdb.base/annota1.exp: Update a test regexp.
2392
23932018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2394
2395 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2396
23972018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2398
2399 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2400 (reuse_time): Initialize to REUSE_TIME_CAP.
2401 (check_rc): New function.
2402 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2403 Check pthread_create rc.
2404 (spawner_thread_func): Check pthread_create and pthread_join rc.
2405
24062018-12-08 Pedro Alves <palves@redhat.com>
2407
2408 * gdb.base/list.exp (test_forward_search): Rename to ...
2409 (test_forward_reverse_search): ... this. Also test reverse-search
2410 and the forward-search alias.
2411
24122018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2413
2414 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2415 local timeout variable before return, and remove all local timeout
2416 variable entirely.
2417 (gdb_load): Likewise.
2418
24192018-12-01 Tom de Vries <tdevries@suse.de>
2420
2421 * gdb.base/gdb-caching-proc.exp: New file.
2422
24232018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2424
2425 * Makefile.in (TIMESTAMP): New variable.
2426 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2427 command.
2428 (check-single-racy): Likewise.
2429 (check/%.exp): Likewise.
2430 (check-racy/%.exp): Likewise.
2431 (workers/%.worker): Likewise.
2432 (build-perf): Likewise.
2433 (check-perf): Likewise.
2434 * README: Describe new "TS" and "TS_FORMAT" variables.
2435 * print-ts.py: New file.
2436
24372018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2438
2439 PR python/23714
2440 * gdb.python/python.exp: Test command repetition after
2441 gdb.execute.
2442
24432018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2444
2445 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2446 is correctly aligned.
2447
24482018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2449
2450 * gdb.ada/info_auto_lang.exp: New testcase.
2451 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2452 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2453 * gdb.ada/info_auto_lang/some_c.c: New file.
2454
24552018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2456
2457 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2458 FUNC_lang language syntax.
2459
24602018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2461
2462 * gdb.base/info_minsym.c: New file.
2463 * gdb.base/info_minsym.exp: New file.
2464
24652018-11-19 Tom Tromey <tom@tromey.com>
2466
2467 PR rust/23625:
2468 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2469 * gdb.rust/expr.exp: Update expected output. Change one test.
2470
24712018-11-19 Tom Tromey <tom@tromey.com>
2472
2473 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2474
24752018-11-19 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2478 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2479 see the expected warning.
2480
24812018-11-16 Alan Hayward <alan.hayward@arm.com>
2482
2483 PR gdb/22736:
2484 * gdb.cp/infcall-nodebug-lib.c: New test.
2485 * gdb.cp/infcall-nodebug-main.c: New test.
2486 * gdb.cp/infcall-nodebug.exp: New file.
2487
24882018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2489
2490 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2491 completer tests.
2492
24932018-11-09 Tom de Vries <tdevries@suse.de>
2494
2495 * gdb.base/msym-lang.c: New test.
2496 * gdb.base/msym-lang.exp: New file.
2497 * gdb.base/msym-lang-main.c: New test.
2498
24992018-11-08 Tom Tromey <tom@tromey.com>
2500
2501 PR gdb/23555:
2502 PR gdb/23838:
2503 * gdb.base/warning.exp: New file.
2504
25052018-11-08 Jan Beulich <jbeulich@suse.com>
2506
2507 * testsuite/gdb.arch/i386-avx512.c,
2508 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2509
25102018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2511
2512 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2513 point hardware.
2514
25152018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2516
2517 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2518 * gdb.dwarf2/missing-type-name.exp: New file.
2519
25202018-11-06 Tom de Vries <tdevries@suse.de>
2521
2522 * gdb.base/many-headers.c: New test.
2523 * gdb.base/many-headers.exp: New file.
2524
25252018-11-06 Jim Wilson <jimw@sifive.com>
2526
2527 * gdb.base/code_elim.exp: For riscv, set additional_flags
2528 to include -msmall-data-limit=0.
2529
25302018-11-01 Joel Brobecker <brobecker@adacore.com>
2531
2532 * gdb.ada/watch_minus_l: New testcase.
2533
25342018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2535
2536 * gdb.arch/aix-sighandle.c: New file.
2537 * gdb.arch/aix-sighandle.exp: New file.
2538
25392018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2540
2541 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2542 registers being unions.
2543
25442018-10-31 Tom de Vries <tdevries@suse.de>
2545
2546 * lib/valgrind.exp: New file.
2547 (vgdb_start, vgdb_stop): New procs, factored out of ...
2548 * gdb.base/valgrind-bt.exp: ... here, ...
2549 * gdb.base/valgrind-disp-step.exp: ... here and ...
2550 * gdb.base/valgrind-infcall.exp: ... here.
2551
25522018-10-31 Tom de Vries <tdevries@suse.de>
2553
2554 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2555
25562018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2557
2558 * gdb.dwarf2/void-type.c: New file.
2559 * gdb.dwarf2/void-type.exp: New file.
2560
25612018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2562
2563 * gdb.base/info_qt.c: New file.
2564 * gdb.base/info_qt.exp: New file.
2565
25662018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2567
2568 * gdb.arch/powerpc-htm-regs.c: New file.
2569 * gdb.arch/powerpc-htm-regs.exp: New file.
2570
25712018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2572
2573 * gdb.arch/powerpc-tar.c: New file.
2574 * gdb.arch/powerpc-tar.exp: New file.
2575
25762018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2577
2578 * gdb.arch/powerpc-ppr-dscr.c: New file.
2579 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2580
25812018-10-25 Tom de Vries <tdevries@suse.de>
2582
2583 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2584
25852018-10-24 Tom de Vries <tdevries@suse.de>
2586
2587 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2588 longer exists error.
2589
25902018-10-24 Tom de Vries <tdevries@suse.de>
2591
2592 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2593
25942018-10-24 Tom de Vries <tdevries@suse.de>
2595
2596 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2597 --db-attach in valgrind.
2598
25992018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2600
2601 * gdb.arch/riscv-reg-aliases.c: New file.
2602 * gdb.arch/riscv-reg-aliases.exp: New file.
2603
26042018-10-19 Alan Hayward <alan.hayward@arm.com>
2605
2606 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2607
26082018-10-19 Alan Hayward <alan.hayward@arm.com>
2609
2610 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2611
26122018-10-19 Alan Hayward <alan.hayward@arm.com>
2613
2614 * gdb.cp/ovldbreak.exp: Fix regexps.
2615
26162018-10-19 Alan Hayward <alan.hayward@arm.com>
2617
2618 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2619
26202018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2621
2622 PR cli/23785
2623 * gdb.base/restore.exp: New test to check if "restore" with an
2624 invalid file doesn't segfault.
2625
26262018-10-18 Tom de Vries <tdevries@suse.de>
2627
2628 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2629 * gdb.ada/excep_handle.exp: Same.
2630 * gdb.ada/mi_string_access.exp: Same.
2631 * gdb.ada/mi_var_union.exp: Same.
2632 * gdb.arch/arc-analyze-prologue.exp: Same.
2633 * gdb.arch/arc-decode-insn.exp: Same.
2634 * gdb.base/readnever.exp: Same.
2635 * gdb.fortran/printing-types.exp: Same.
2636 * gdb.guile/scm-lazy-string.exp: Same.
2637
26382018-10-16 Tom de Vries <tdevries@suse.de>
2639
2640 PR gdb/23730
2641 * gdb.base/catch-follow-exec.c: Add copyright notice.
2642 * gdb.base/catch-follow-exec.exp: Rewrite to use
2643 gdb_spawn_with_cmdline_opts. Require gdb-native.
2644
26452018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2646
2647 * gdb.trace/actions-changed.exp: Check for arch support.
2648 * gdb.trace/actions.exp: Likewise.
2649 * gdb.trace/ax.exp: Likewise.
2650 * gdb.trace/backtrace.exp: Likewise.
2651 * gdb.trace/change-loc.exp: Likewise.
2652 * gdb.trace/deltrace.exp: Likewise.
2653 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2654 * gdb.trace/ftrace.exp: Likewise.
2655 * gdb.trace/infotrace.exp: Check for arch support.
2656 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2657 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2658 * gdb.trace/mi-tsv-changed.exp: Likewise.
2659 * gdb.trace/packetlen.exp: Likewise.
2660 * gdb.trace/passc-dyn.exp: Likewise.
2661 * gdb.trace/passcount.exp: Likewise.
2662 * gdb.trace/pending.exp: Likewise.
2663 * gdb.trace/range-stepping.exp: Check for shlib support.
2664 * gdb.trace/report.exp: Check for arch support.
2665 * gdb.trace/save-trace.exp: Likewise.
2666 * gdb.trace/signal.exp: Check for signal support.
2667 * gdb.trace/tfind.exp: Check for arch support.
2668 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2669 * gdb.trace/trace-common.h: Add comment.
2670 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2671 * gdb.trace/trace-enable-disable.exp: Likewise.
2672 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2673 * gdb.trace/tracecmd.exp: Check for arch support.
2674 * gdb.trace/tspeed.exp: Check for shlib and target support.
2675 * gdb.trace/tstatus.exp: Check for arch support.
2676 * gdb.trace/tsv.exp: Likewise.
2677 * gdb.trace/while-dyn.exp: Likewise.
2678 * gdb.trace/while-stepping.exp: Likewise.
2679 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2680
26812018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2682
2683 * gdb.trace/tspeed.exp: Remove nowarnings.
2684 (prepare_for_trace_test): Declare "global ipalib".
2685 * gdb.trace/tspeed.c: Include unistd.h.
2686 (main): Remove superfluous printf argument.
2687
26882018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2689
2690 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2691 directory prefix on the filename.
2692
26932018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2694
2695 * gdb.gdb/unittest.exp: Update expected message informing that
2696 selftests have been disabled.
2697 * gdb.server/unittest.exp: Likewise.
2698
26992018-10-09 Tom de Vries <tdevries@suse.de>
2700
2701 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2702 with runto_main.
2703
27042018-10-08 Weimin Pan <weimin.pan@oracle.com>
2705
2706 PR c++/16841
2707 * gdb.cp/virtbase2.cc: New file.
2708 * gdb.cp/virtbase2.exp: New file.
2709
27102018-10-06 Tom Tromey <tom@tromey.com>
2711
2712 PR python/19399:
2713 * gdb.python/py-inferior.exp: Add architecture test.
2714
27152018-10-06 Tom Tromey <tom@tromey.com>
2716
2717 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2718 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2719
27202018-10-06 Tom Tromey <tom@tromey.com>
2721
2722 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2723 of a "throw" catchpoint.
2724
27252018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2726
2727 * gdb.base/info-proc.exp: Update string expected from "help info
2728 proc".
2729
27302018-10-04 Tom Tromey <tom@tromey.com>
2731
2732 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2733 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2734 (test_initial_complaints, test_empty_complaints): Update.
2735 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2736
27372018-10-04 Tom Tromey <tom@tromey.com>
2738
2739 PR cli/19551:
2740 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2741 * lib/gdb.exp (gdb_file_cmd): Update.
2742 * gdb.stabs/weird.exp (print_weird_var): Update.
2743 * gdb.server/solib-list.exp: Update.
2744 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2745 * gdb.mi/mi-cli.exp: Update.
2746 * gdb.linespec/linespec.exp: Update.
2747 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2748 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2749 * gdb.cp/cp-relocate.exp: Update.
2750 * gdb.base/sym-file.exp: Update.
2751 * gdb.base/relocate.exp: Update.
2752 * gdb.base/readnever.exp: Update.
2753 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2754 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2755 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2756 * gdb.base/code_elim.exp: Update.
2757 * gdb.base/break-unload-file.exp (test_break): Update.
2758 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2759 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2760 Update.
2761 * gdb.base/attach.exp (do_attach_tests): Update.
2762 * gdb.base/sepdebug.exp: Update.
2763 * gdb.python/py-section-script.exp: Update.
2764
27652018-10-04 Tom Tromey <tom@tromey.com>
2766
2767 PR cli/22234:
2768 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2769 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2770 output.
2771
27722018-10-04 Tom Tromey <tom@tromey.com>
2773
2774 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2775 set width and height to 0.
2776 (test_command_line_attach_run): Use -quiet.
2777
27782018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2779
2780 * lib/gdb.exp (skip_ifunc_tests): New.
2781 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2782 other compile failures.
2783 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2784
27852018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2786
2787 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2788 is_amd64_regs_target.
2789
27902018-10-01 Alan Hayward <alan.hayward@arm.com>
2791
2792 * gdb.arch/aarch64-sighandler-regs.c: New test.
2793 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2794 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2795
27962018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2797
2798 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2799 assembly.
2800
28012018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2802
2803 * gdb.base/frame-selection.exp: New file.
2804 * gdb.base/frame-selection.c: New file.
2805
28062018-09-27 Alan Hayward <alan.hayward@arm.com>
2807
2808 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2809 pthread barrier.
2810 (main): Likewise.
2811
28122018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2813
2814 * gdb.base/large-frame-1.c: New file.
2815 * gdb.base/large-frame-2.c: New file.
2816 * gdb.base/large-frame.exp: New file.
2817 * gdb.base/large-frame.h: New file.
2818
28192018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2820
2821 PR gdb/20948
2822 * gdb.base/write_mem.exp: New test.
2823 * gdb.base/write_mem.c: Likewise.
2824
28252018-09-23 Tom Tromey <tom@tromey.com>
2826
2827 PR python/18852:
2828 * gdb.python/py-parameter.exp: Add test for parameter that throws
2829 on "set".
2830
28312018-09-23 Tom Tromey <tom@tromey.com>
2832
2833 PR python/17284:
2834 * gdb.python/py-template.exp (test_template_arg): Add test for
2835 negative template argument number.
2836
28372018-09-23 Tom Tromey <tom@tromey.com>
2838
2839 PR python/14062:
2840 * gdb.python/python.exp: Add test for post_event error.
2841
28422018-09-23 Tom Tromey <tom@tromey.com>
2843
2844 PR python/18170:
2845 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2846 convert pointers to int and long.
2847
28482018-09-23 Tom Tromey <tom@tromey.com>
2849
2850 PR python/20126:
2851 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2852 signed-ness conversion tests.
2853
28542018-09-23 Tom Tromey <tom@tromey.com>
2855
2856 PR python/18352;
2857 * gdb.python/py-value.exp (test_float_conversion): New proc.
2858 Use it.
2859
28602018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2861
2862 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2863
28642018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2865
2866 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2867 no readline.
2868 * gdb.base/utf8-identifiers.exp: Likewise.
2869 * gdb.cp/cpcompletion.exp: Likewise.
2870 * gdb.linespec/cpcompletion.exp: Likewise.
2871 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2872 * gdb.linespec/cpls-ops.exp: Likewise.
2873
28742018-09-19 Richard Bunt <richard.bunt@arm.com>
2875 Chris January <chris.january@arm.com>
2876
2877 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2878 * gdb.fortran/short-circuit-argument-list.exp: New file.
2879 * gdb.fortran/short-circuit-argument-list.f90: New test.
2880
28812018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2882
2883 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2884 "arch=" keyword when executing "-stack-list-frames".
2885
28862018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2887
2888 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2889 "arch=" keyword when executing "-stack-list-frames".
2890
28912018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2892
2893 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2894 break ada".
2895
28962018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2897
2898 PR python/23669
2899 * gdb.python/python.exp: Test gdb.execute("show commands").
2900
29012018-09-16 Tom Tromey <tom@tromey.com>
2902
2903 * gdb.base/new-ui.exp (do_execution_tests): Update.
2904 * gdb.base/dbx.exp (test_breakpoints): Update.
2905
29062018-09-14 Alan Hayward <alan.hayward@arm.com>
2907
2908 * lib/gdb.exp (gdb_simple_compile): Add proc.
2909 (is_elf_target): Use gdb_simple_compile.
2910 (skip_altivec_tests): Likewise.
2911 (skip_vsx_tests): Likewise.
2912 (skip_tsx_tests): Likewise.
2913 (skip_btrace_tests): Likewise.
2914 (skip_btrace_pt_tests): Likewise.
2915 (gdb_can_simple_compile): Likewise.
2916 (gdb_has_argv0): Likewise.
2917 (gdb_target_symbol_prefix): Likewise.
2918 (target_supports_scheduler_locking): Likewise.
2919
29202018-09-13 Tom Tromey <tom@tromey.com>
2921
2922 * Makefile.in (TAGS): Recognize proc_with_prefix and
2923 gdb_caching_proc.
2924
29252018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2926
2927 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2928 method.
2929
29302018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2931
2932 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2933 and a few other Inferior properties when the Inferior is no
2934 longer valid.
2935
29362018-09-13 Tom Tromey <tom@tromey.com>
2937
2938 PR rust/23650:
2939 * gdb.rust/simple.exp: Add test for enum field access error.
2940
29412018-09-13 Tom Tromey <tom@tromey.com>
2942
2943 PR rust/23626:
2944 * gdb.rust/simple.rs (EmptyEnum): New type.
2945 (main): Use it.
2946 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2947
29482018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2949
2950 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2951 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2952 * gdb.python/py-symtab.exp: Update test printing an objfile.
2953
29542018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2955
2956 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2957 object.
2958
29592018-09-12 Alan Hayward <alan.hayward@arm.com>
2960
2961 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2962 (support_complex_tests): Use gdb_can_simple_compile.
2963 (is_ilp32_target): Likewise.
2964 (is_lp64_target): Likewise.
2965 (is_64_target): Likewise.
2966 (is_amd64_regs_target): Likewise.
2967 (is_aarch32_target): Likewise.
2968 (gdb_int128_helper): Likewise.
2969
29702018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2971
2972 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2973
29742018-09-10 Jerome Guitton <guitton@adacore.com>
2975
2976 * gdb.ada/same_component_name: Add test for case of tagged record
2977 with variable-length fields.
2978
29792018-09-10 Xavier Roirand <roirand@adacore.com>
2980
2981 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2982 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2983 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2984 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2985
29862018-09-10 Xavier Roirand <roirand@adacore.com>
2987
2988 * gdb.ada/mi_string_access.exp: New testcase.
2989 * gdb.ada/mi_string_access/bar.adb: New file.
2990 * gdb.ada/mi_string_access/pck.adb: New file.
2991 * gdb.ada/mi_string_access/pck.asd: New file.
2992
29932018-09-10 Xavier Roirand <roirand@adacore.com>
2994
2995 * gdb.ada/mi_var_union.exp: New testcase.
2996 * gdb.ada/mi_var_union/bar.adb: New file.
2997 * gdb.ada/mi_var_union/pck.adb: New file.
2998 * gdb.ada/mi_var_union/pck.asd: New file.
2999
30002018-09-08 Tom Tromey <tom@tromey.com>
3001
3002 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3003
30042018-09-08 Tom Tromey <tom@tromey.com>
3005
3006 PR python/16047:
3007 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3008 (register_pretty_printers): Register new printer.
3009 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3010 test.
3011 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3012 (an_int_type3): New global.
3013
30142018-09-08 Joel Brobecker <brobecker@adacore.com>
3015
3016 * gdb.ada/expr_with_funcall: New testcase.
3017
30182018-09-08 Joel Brobecker <brobecker@adacore.com>
3019
3020 * gdb.ada/packed_array_assign: New testcase.
3021
30222018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3023
3024 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3025 names, and add test prefixes to make test names unique.
3026
30272018-09-05 Tom de Vries <tdevries@suse.de>
3028
3029 * gdb.dwarf2/varval.exp: Add test.
3030
30312018-09-04 Gary Benson <gbenson@redhat.com>
3032
3033 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3034 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3035
30362018-08-31 Tom Tromey <tom@tromey.com>
3037
3038 * gdb.rust/simple.rs: Rename second variable "v".
3039
30402018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3041
3042 * gdb.base/funcargs.c (use_a): New function.
3043 (recurse): Call use_a.
3044
30452018-08-29 Keith Seitz <keiths@redhat.com>
3046
3047 * gdb.compile/compile-cplus-anonymous.cc: New file.
3048 * gdb.compile/compile-cplus-anonymous.exp: New file.
3049 * gdb.compile/compile-cplus-array-decay.cc: New file.
3050 * gdb.compile/compile-cplus-array-decay.exp: New file.
3051 * gdb.compile/compile-cplus-inherit.cc: New file.
3052 * gdb.compile/compile-cplus-inherit.exp: New file.
3053 * gdb.compile/compile-cplus-member.cc: New file.
3054 * gdb.compile/compile-cplus-member.exp: New file.
3055 * gdb.compile/compile-cplus-method.cc: New file.
3056 * gdb.compile/compile-cplus-method.exp: New file.
3057 * gdb.compile/compile-cplus-mod.c: "New" file.
3058 * gdb.compile/compile-cplus-namespace.cc: New file.
3059 * gdb.compile/compile-cplus-namespace.exp: New file.
3060 * gdb.compile/compile-cplus-nested.cc: New file.
3061 * gdb.compile/compile-cplus-nested.exp: New file.
3062 * gdb.compile/compile-cplus-print.c: "New" file.
3063 * gdb.compile/compile-cplus-print.exp: "New" file.
3064 * gdb.compile/compile-cplus-virtual.cc: New file.
3065 * gdb.compile/compile-cplus-virtual.exp: New file.
3066 * gdb.compile/compile-cplus.c: "New" file.
3067 * gdb.compile/compile-cplus.exp: "New" file.
3068 * lib/compile-support.exp: New file.
3069
30702018-08-16 Gary Benson <gbenson@redhat.com>
3071
3072 PR gdb/13000:
3073 * gdb.base/batch-exit-status.exp: New file.
3074 * gdb.base/batch-exit-status.good-commands: Likewise.
3075 * gdb.base/batch-exit-status.bad-commands: Likewise.
3076
30772018-08-29 Alan Hayward <alan.hayward@arm.com>
3078
3079 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3080 (struct struct02): Likewise.
3081 (struct struct03): Likewise.
3082 (struct struct04): Likewise.
3083 (struct struct_01_01): New struct.
3084 (struct struct_01_02): Likewise.
3085 (struct struct_01_03): Likewise.
3086 (struct struct_01_04): Likewise.
3087 (struct struct_02_01): Likewise.
3088 (struct struct_02_02): Likewise.
3089 (struct struct_02_03): Likewise.
3090 (struct struct_02_04): Likewise.
3091 (struct struct_04_01): Likewise.
3092 (struct struct_04_02): Likewise.
3093 (struct struct_04_03): Likewise.
3094 (struct struct_04_04): Likewise.
3095 (struct struct_05_01): Likewise.
3096 (struct struct_05_02): Likewise.
3097 (struct struct_05_03): Likewise.
3098 (struct struct_05_04): Likewise.
3099 (cmp_struct01): Remove function.
3100 (cmp_struct02): Likewise.
3101 (cmp_struct03): Likewise.
3102 (cmp_struct04): Likewise.
3103 (cmp_struct_01_01): Add Function.
3104 (cmp_struct_01_02): Likewise.
3105 (cmp_struct_01_03): Likewise.
3106 (cmp_struct_01_04): Likewise.
3107 (cmp_struct_02_01): Likewise.
3108 (cmp_struct_02_02): Likewise.
3109 (cmp_struct_02_03): Likewise.
3110 (cmp_struct_02_04): Likewise.
3111 (cmp_struct_04_01): Likewise.
3112 (cmp_struct_04_02): Likewise.
3113 (cmp_struct_04_03): Likewise.
3114 (cmp_struct_04_04): Likewise.
3115 (cmp_struct_05_01): Likewise.
3116 (cmp_struct_05_02): Likewise.
3117 (cmp_struct_05_03): Likewise.
3118 (cmp_struct_05_04): Likewise.
3119 (call_all): Add new structs.
3120 * gdb.base/infcall-nested-structs.exp: Likewise.
3121
31222018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3123
3124 * gdb.python/py-framefilter-mi.exp: Update regexp to
3125 check for "arch" field in frame output.
3126
31272018-08-23 Kevin Buettner <kevinb@redhat.com>
3128
3129 * gdb.dwarf2/dw2-ranges-func.c: New file.
3130 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3131
31322018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3133
3134 * gdb.base/term.exp: Compare terminal settings with values from
3135 the inferior.
3136 * gdb.base/term.c: Get and set terminal settings.
3137
31382018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3139
3140 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3141 accommodate new "arch" field in frame output.
3142 * gdb.mi/mi-return.exp: Likewise.
3143 * gdb.mi/mi-stack.exp: Likewise.
3144 * gdb.mi/mi-syn-frame.exp: Likewise.
3145 * gdb.mi/user-selected-context-sync.exp: Likewise.
3146
31472018-08-19 Michael Spang <spang@google.com>
3148
3149 PR gdb/11786
3150 * gdb.base/gcore-tls-pie.c: New file.
3151 * gdb.base/gcore-tls-pie.exp: New file.
3152
31532018-08-18 Kevin Buettner <kevinb@redhat.com>
3154
3155 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3156 * gdb.dwarf2/varval.c: New file.
3157 * gdb.dwarf2/varval.exp: New file.
3158
31592018-08-17 Alan Hayward <alan.hayward@arm.com>
3160
3161 PR gdb/18931
3162 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3163
31642018-08-16 Keith Seitz <keiths@redhat.com>
3165
3166 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3167 tests expected to pass.
3168
31692018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3170
3171 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3172 -data-disassemble -a.
3173 (test_disassembly_bogus_args): Likewise.
3174
31752018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3176
3177 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3178
31792018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.base/vla-optimized-out.exp: Add new test.
3182
31832018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3184
3185 * gdb.base/vla-optimized-out-o3.exp: Delete.
3186 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3187 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3188 deleted tests.
3189
31902018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3191
3192 PR gdb/18050:
3193 * gdb.server/extended-remote-restart.c: New file.
3194 * gdb.server/extended-remote-restart.exp: New file.
3195
31962018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3197
3198 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3199 "set variable index = 42".
3200
32012018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3202
3203 * boards/index-cache-gdb.exp: New file.
3204 * gdb.dwarf2/index-cache.exp: New file.
3205 * gdb.dwarf2/index-cache.c: New file.
3206 * gdb.base/maint.exp: Check if we are using the index cache.
3207
32082018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3209
3210 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3211 MAKEFLAGS.
3212
32132018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3214
3215 * dg-extract-results.sh: Move to toplevel contrib.
3216 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3217 * Makefile.in (check-parallel-racy): Likewise.
3218
32192018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3220
3221 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3222 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3223 tests if the target supports scheduler locking.
3224
32252018-08-04 Tom de Vries <tdevries@suse.de>
3226
3227 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3228
32292018-08-02 Tom Tromey <tom@tromey.com>
3230
3231 PR symtab/16842.
3232 * gdb.cp/temargs.exp: Test "info address" of a template
3233 parameter.
3234
32352018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3236
3237 * gdb.python/py-mi-var-info-path-expression.c: New file.
3238 * gdb.python/py-mi-var-info-path-expression.py: New file.
3239 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3240
32412018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3242
3243 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3244 error after "cannot resolve name" string.
3245
32462018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3247
3248 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3249 started.
3250 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3251
32522018-07-28 Tom de Vries <tdevries@suse.de>
3253
3254 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3255
32562018-07-26 Tom de Vries <tdevries@suse.de>
3257
3258 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3259
32602018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3261
3262 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3263 is visible.
3264
32652018-07-26 Tom de Vries <tdevries@suse.de>
3266
3267 PR breakpoints/23366
3268 * gdb.base/catch-follow-exec.c: New test.
3269 * gdb.base/catch-follow-exec.exp: New file.
3270
32712018-07-25 Tom de Vries <tdevries@suse.de>
3272
3273 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3274 vla-optimized-out.c.
3275
32762018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3277
3278 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3279 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3280
32812018-07-20 Tom de Vries <tdevries@suse.de>
3282
3283 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3284 NOCLONE macro.
3285 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3286
32872018-07-19 Tom de Vries <tdevries@suse.de>
3288
3289 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3290 regular expression.
3291
32922018-07-18 Tom de Vries <tdevries@suse.de>
3293
3294 * gdb.base/vla-optimized-out.c: New test.
3295 * gdb.base/vla-optimized-out.exp: New file.
3296
32972018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3298
3299 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3300 message "No address associated with hostname" when gdbserver
3301 cannot resolve the hostname.
3302
33032018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3304
3305 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3306 Add some test prefixes to make tests unique.
3307
33082018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3309
3310 * gdb.base/frameapply.c: New file.
3311 * gdb.base/frameapply.exp: New file.
3312
33132018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3314
3315 * gdb.base/skip.exp: Update expected error message.
3316
33172018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3318 Jan Kratochvil <jan.kratochvil@redhat.com>
3319 Paul Fertser <fercerpav@gmail.com>
3320 Tsutomu Seki <sekiriki@gmail.com>
3321
3322 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3323 parameter.
3324 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3325 by default.
3326 * boards/native-gdbserver.exp: Likewise.
3327 * gdb.server/run-without-local-binary.exp: Improve regexp used
3328 for detecting when a remote debugging connection succeeds.
3329 * gdb.server/server-connect.exp: New file.
3330 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3331 Do not prefix the port number with ":".
3332 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3333 support for detecting and using it. Add '$debughost_gdbserver'
3334 to the list of arguments used to start gdbserver. Handle case
3335 when gdbserver cannot resolve a network name.
3336
33372018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3338
3339 PR c++/23373
3340 * gdb.base/ptype-offsets.cc (struct static_member): New
3341 struct.
3342 (main) <stmember>: New variable.
3343 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3344 with a static member in it.
3345
33462018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3347
3348 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3349 watchpoints enabled and disabled.
3350
33512018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3352
3353 * gdb.base/examine-backward.exp: Still run tests around address
3354 0x0, even if address 0x0 is not readable. Update the pattern for
3355 matching address 0x0 in expected output.
3356
33572018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3358
3359 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3360 malloc/free.
3361
33622018-07-04 Tom de Vries <tdevries@suse.de>
3363
3364 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3365
33662018-07-02 Maciej W. Rozycki <macro@mips.com>
3367
3368 PR tdep/8282
3369 * gdb.arch/mips-disassembler-options.exp: New test.
3370 * gdb.arch/mips-disassembler-options.s: New test source.
3371
33722018-06-29 Pedro Alves <palves@redhat.com>
3373
3374 * gdb.threads/names.exp: Adjust expected "info threads" output.
3375
33762018-06-29 Pedro Alves <palves@redhat.com>
3377
3378 * gdb.opt/inline-break.exp (line number, address): Add "info
3379 break" tests.
3380
33812018-06-29 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3384 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3385 number and address and running to them.
3386
33872018-06-29 Richard Bunt <richard.bunt@arm.com>
3388
3389 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3390
33912018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * lib/compiler.c: Remove executable permission flag.
3394
33952018-06-28 Richard Bunt <richard.bunt@arm.com>
3396
3397 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3398 code.
3399 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3400
34012018-06-28 Petr Tesarik <ptesarik@suse.cz>
3402
3403 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3404
34052018-06-28 Petr Tesarik <ptesarik@suse.cz>
3406
3407 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3408 address argument is omitted.
3409
34102018-06-28 Petr Tesarik <ptesarik@suse.cz>
3411
3412 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3413
34142018-06-27 Omair Javaid <omair.javaid@linaro.org>
3415
3416 PR gdb/21695
3417 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3418 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3419
34202018-06-26 Tom Tromey <tom@tromey.com>
3421
3422 PR rust/22574:
3423 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3424 * gdb.rust/simple.rs (struct SimpleLayout): New.
3425
34262018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3427
3428 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3429 "info registers" output.
3430
34312018-06-21 Richard Bunt <richard.bunt@arm.com>
3432
3433 * gdb.base/watchpoint-hw-attach.c: New test.
3434 * gdb.base/watchpoint-hw-attach.exp: New file.
3435
34362018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3437
3438 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3439 through /bin/sh.
3440 * boards/dwarf4-gdb-index.exp: Likewise.
3441 * boards/fission-dwp.exp: Likewise.
3442
34432018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3444
3445 * gdb.base/float128.exp: Add comment and improved fail message
3446 to the failure case of "print large128" test.
3447
34482018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3449
3450 * configure.ac: Remove AC_PREREQ.
3451 * configure: Re-generate.
3452
34532018-06-19 Pedro Alves <palves@redhat.com>
3454
3455 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3456 (func_extern_caller): New.
3457 (main): Call func_extern_caller.
3458 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3459 logic change.
3460
34612018-06-18 Weimin Pan <weimin.pan@oracle.com>
3462
3463 PR gdb/16841
3464 * gdb.cp/typedef-base.cc: New file.
3465 * gdb.cp/typedef-base.exp: New file.
3466
34672018-06-18 Tom de Vries <tdevries@suse.de>
3468
3469 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3470
34712018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3472 Richard Bunt <Richard.Bunt@arm.com>
3473
3474 * gdb.threads/attach-slow-waitpid.c: New file.
3475 * gdb.threads/attach-slow-waitpid.exp: New file.
3476 * gdb.threads/slow-waitpid.c: New file.
3477
34782018-06-14 Pedro Alves <palves@redhat.com>
3479
3480 * gdb.base/fork-running-state.c: Include <errno.h>.
3481 (exit_if_relative_exits): New.
3482 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3483 exits.
3484 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3485 child exits.
3486
34872018-06-14 Tom de Vries <tdevries@suse.de>
3488
3489 PR cli/22573
3490 * gdb.base/finish-pretty.c: New test.
3491 * gdb.base/finish-pretty.exp: New file.
3492
34932018-06-14 Pedro Alves <palves@redhat.com>
3494
3495 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3496 gdb's expected startup output.
3497
34982018-06-14 Pedro Alves <palves@redhat.com>
3499
3500 * lib/selftest-support.exp (selftest_setup): Remove inlined
3501 function handling.
3502
35032018-06-14 Tom de Vries <tdevries@suse.de>
3504
3505 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3506 matching of breakpoint printing.
3507
35082018-06-13 Tom de Vries <tdevries@suse.de>
3509
3510 PR testsuite/23269
3511 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3512 (fork_child): ... here, and ...
3513 (fork_parent): ... here.
3514
35152018-06-12 Tom de Vries <tdevries@suse.de>
3516
3517 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3518
35192018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3520 Stephen Roberts <stephen.roberts@arm.com>
3521
3522 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3523 rewrite test to describe action performed, rather than possible
3524 failure.
3525
35262018-06-08 Gary Benson <gbenson@redhat.com>
3527
3528 * gdb.threads/check-libthread-db.exp: New file.
3529 * gdb.threads/check-libthread-db.c: Likewise.
3530
35312018-06-05 Tom Tromey <tom@tromey.com>
3532
3533 * gdb.base/default.exp: Update expected "show version" output.
3534
35352018-06-05 Tom Tromey <tom@tromey.com>
3536
3537 PR cli/12326:
3538 * gdb.cp/static-print-quit.exp: Update.
3539 * lib/gdb.exp (pagination_prompt): Update.
3540 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3541 * gdb.python/python.exp: Update.
3542
35432018-06-04 Joel Brobecker <brobecker@adacore.com>
3544
3545 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3546
35472018-06-01 Joel Brobecker <brobecker@adacore.com>
3548
3549 * gdb.ada/bp_fun_addr: New testcase.
3550
35512018-06-01 Tom Tromey <tom@tromey.com>
3552
3553 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3554 results.
3555 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3556 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3557 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3558 * gdb.base/maint.exp (maint_pass_if): Update.
3559
35602018-05-31 Maciej W. Rozycki <macro@mips.com>
3561
3562 * gdb.base/endian.exp: New test.
3563 * gdb.base/endian.c: New test source.
3564
35652018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3566
3567 PR gdb/23203
3568 * gdb.base/bt-selected-frame.c: New file.
3569 * gdb.base/bt-selected-frame.exp: New file.
3570 * lib/gdb.exp (get_current_frame_number): New function.
3571
35722018-05-24 Maciej W. Rozycki <macro@mips.com>
3573 Pedro Alves <palves@redhat.com>
3574
3575 * gdb.threads/tls-core.c: Include <stdlib.h>
3576 (thread_proc): Call `abort'.
3577 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3578 (tls_core_test): New procedure, bits factored out from ...
3579 (top level): ... here. Test both native cores and gcore cores.
3580
35812018-05-23 Tom Tromey <tom@tromey.com>
3582
3583 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3584
35852018-05-23 Tom Tromey <tom@tromey.com>
3586
3587 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3588 symfile_complaints.
3589 (test_short_complaints): Likewise.
3590 (test_empty_complaints): Likewise.
3591 (test_initial_complaints): Update.
3592
35932018-05-23 Tom Tromey <tom@tromey.com>
3594
3595 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3596
35972018-05-23 Tom Tromey <tom@tromey.com>
3598
3599 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3600 (test_short_complaints): Update.
3601
36022018-05-22 Pedro Alves <palves@redhat.com>
3603
3604 * gdb.base/remote.exp: Only gdb_start after compiling the
3605 testcase. Issue "disconnect" before testing "set remote" command
3606 defaults. Issue clean_restart before running to main.
3607
36082018-05-22 Pedro Alves <palves@redhat.com>
3609
3610 * gdb.base/remote.exp: Adjust expected output of "show remote
3611 memory-write-packet-size". Add tests for "set remote
3612 memory-write-packet-size 0" and "set remote
3613 memory-write-packet-size fixed/limit".
3614
36152018-05-22 Pedro Alves <palves@redhat.com>
3616
3617 PR gdb/22973
3618 * gdb.base/utf8-identifiers.c: New file.
3619 * gdb.base/utf8-identifiers.exp: New file.
3620
36212018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3622
3623 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3624
36252018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3626
3627 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3628
36292018-05-18 Tom Tromey <tom@tromey.com>
3630
3631 * gdb.base/ptype-offsets.exp: Update.
3632
36332018-05-17 Keith Seitz <keiths@redhat.com>
3634
3635 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3636 in expected breakpoint stop locations.
3637 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3638 move to proper scope to test variable values.
3639 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3640 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3641 New functions.
3642 (main): Call not_inline_func3.
3643 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3644 inline_func1, inline_func2, and inline_func3. Test that when each
3645 breakpoint is hit, GDB properly reports both the stop location
3646 and the backtrace. Repeat tests for temporary breakpoints.
3647
36482018-05-15 Maciej W. Rozycki <macro@mips.com>
3649
3650 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3651 rather then trying to access it in determining whether the PID
3652 of `gdbserver' could have been retrieved.
3653
36542018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3655
3656 * gdb.arch/amd64-init-x87-values.S: New file.
3657 * gdb.arch/amd64-init-x87-values.exp: New file.
3658
36592018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3660
3661 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3662
36632018-05-04 Tom Tromey <tom@tromey.com>
3664
3665 PR python/22730:
3666 * gdb.python/python.exp: Test multi-line execute.
3667
36682018-05-04 Tom Tromey <tom@tromey.com>
3669
3670 PR python/22731:
3671 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3672
36732018-05-04 Tom Tromey <tom@tromey.com>
3674
3675 PR gdb/11750:
3676 * gdb.base/define.exp: Test defining a user command inside a user
3677 command.
3678 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3679
36802018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3681 Pedro Alves <palves@redhat.com>
3682
3683 PR breakpoints/19806 and support for PR external/20207.
3684 * gdb.base/watchpoint-unaligned.c: New file.
3685 * gdb.base/watchpoint-unaligned.exp: New file.
3686
36872018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3688
3689 * gdb.base/maint.exp: Make test names unique, use
3690 test_prefix_command_help to test 'help maint info', and remove
3691 repeated test of 'help maint'.
3692
36932018-05-04 Tom Tromey <tom@tromey.com>
3694
3695 PR gdb/22619:
3696 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3697 behavior.
3698
36992018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3700
3701 * gdb.base/maint.exp: Process output from 'maint print registers'
3702 line at a time.
3703
37042018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3705
3706 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3707 timeout.
3708
37092018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3710
3711 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3712 filter pattern.
3713
37142018-05-02 Pedro Alves <palves@redhat.com>
3715
3716 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3717 to_log_command renames.
3718 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3719
37202018-05-02 Tom Tromey <tom@tromey.com>
3721
3722 * gdb.python/py-parameter.exp: Set test message.
3723
37242018-05-02 Tom Tromey <tom@tromey.com>
3725
3726 PR python/20084:
3727 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3728 PARAM_ZUINTEGER_UNLIMITED tests.
3729
37302018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3731
3732 PR rust/23124
3733 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3734 when casting.
3735
37362018-04-30 Tom Tromey <tom@tromey.com>
3737
3738 * gdb.python/py-type.exp: Check align attribute.
3739 * gdb.python/py-type.c: New "aligncheck" global.
3740
37412018-04-30 Tom Tromey <tom@tromey.com>
3742
3743 PR exp/17095:
3744 * gdb.dwarf2/dw2-align.exp: New file.
3745 * gdb.cp/align.exp: New file.
3746 * gdb.base/align.exp: New file.
3747 * lib/gdb.exp (gdb_int128_helper): New proc.
3748 (has_int128_c, has_int128_cxx): New caching procs.
3749
37502018-04-27 Tom Tromey <tom@tromey.com>
3751
3752 PR rust/22545:
3753 * gdb.rust/simple.exp: Add inclusive range tests.
3754
37552018-04-26 Pedro Alves <palves@redhat.com>
3756
3757 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3758 ifunc breakpoint locations correctly of ifunc breakpoints set
3759 while the program resolves the ifunc.
3760
37612018-04-26 Pedro Alves <palves@redhat.com>
3762
3763 * gdb.base/gnu-ifunc-final.c: New file.
3764 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3765 * gdb.base/gnu-ifunc.exp (executable): Delete.
3766 (staticexecutable): Adjust.
3767 (lib_opts, exec_opts): Delete.
3768 (make_binsuffix, build, set-break): New procedures.
3769 (misc_tests): New, with tests factored out from the top level.
3770 (top level): Test different combinations of ifunc resolver name,
3771 resolver with and with debug info, and ifunc target with and
3772 without debug info. Wrap static tests with with_target_prefix.
3773
37742018-04-26 Pedro Alves <palves@redhat.com>
3775
3776 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3777 return type" warnings.
3778
37792018-04-25 Pedro Alves <palves@redhat.com>
3780
3781 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3782 killed".
3783 * gdb.base/kill-after-signal.exp: Likewise.
3784 * gdb.threads/kill.exp: Likewise.
3785
37862018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3787 Sergio Durigan Junior <sergiodj@redhat.com>
3788 Pedro Alves <palves@redhat.com>
3789
3790 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3791 regexps to expect for '[Inferior ... detached]' as well.
3792 * gdb.base/attach.exp: Likewise.
3793 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3794 "gdb_continue_to_end".
3795 (test_catch_syscall_with_wrong_args): Likewise.
3796 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3797 ']'. Don't set 'verbose' on.
3798 * gdb.base/foll-vfork.exp: Likewise.
3799 * gdb.base/fork-print-inferior-events.c: New file.
3800 * gdb.base/fork-print-inferior-events.exp: New file.
3801 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3802 '[Inferior ... has been killed]' message.
3803 * gdb.base/kill-after-signal.exp: Likewise.
3804 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3805 detach message.
3806 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3807 message.
3808 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3809 regexps to expect for '[Inferior ... detached]' as well.
3810 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3811
38122018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3813
3814 PR gdb/23104
3815 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3816
38172018-04-19 Richard Bunt <richard.bunt@arm.com>
3818
3819 * gdb.threads/multiple-successive-infcall.c: New test.
3820 * gdb.threads/multiple-successive-infcall.exp: New file.
3821
38222018-04-17 Tom Tromey <tom@tromey.com>
3823
3824 * gdb.rust/simple.rs (Union): New type.
3825 (main): New local "u".
3826 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3827
38282018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3829
3830 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3831 number information in output of "whereis" command.
3832 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3833
38342018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3835
3836 * gdb.ada/info_types.exp: Adjust expected output to the line
3837 numbers now printed by "info var/func/type".
3838 * gdb.base/completion.exp: Likewise.
3839 * gdb.base/included.exp: Likewise.
3840 * gdb.cp/cp-relocate.exp: Likewise.
3841 * gdb.cp/cplusfuncs.exp: Likewise.
3842 * gdb.cp/namespace.exp: Likewise.
3843 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3844
38452018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3846
3847 * gdb.btrace/cpu.exp: New.
3848
38492018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3850
3851 * gdb.base/step-indirect-call-thunk.exp: New.
3852 * gdb.base/step-indirect-call-thunk.c: New.
3853 * gdb.reverse/step-indirect-call-thunk.exp: New.
3854 * gdb.reverse/step-indirect-call-thunk.c: New.
3855
38562018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3857
3858 * gdb.base/pie-fork.c: New file.
3859 * gdb.base/pie-fork.exp: New file.
3860
38612018-04-11 Tom Tromey <tom@tromey.com>
3862
3863 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3864
38652018-04-10 Pedro Alves <palves@redhat.com>
3866
3867 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3868 exits. Instead loop running forever.
3869 (fork_parent): Run forever too.
3870
38712018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3872
3873 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3874 mi_continue_to_line.
3875 * gdb.mi/mi-stack.c (callee4): Add comment.
3876
38772018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3878
3879 * gdb.mi/mi-stack.exp: Fix indentation.
3880
38812018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3882
3883 PR gdb/22979
3884 * gdb.arch/amd64-osabi.exp: New file.
3885
38862018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3887
3888 PR gdb/22980
3889 * gdb.base/osabi.exp: New file.
3890
38912018-04-02 Weimin Pan <weimin.pan@oracle.com>
3892
3893 * gdb.cp/static-typedef-print.exp: New file.
3894 * gdb.cp/static-typedef-print.cc: New file.
3895
38962018-03-27 Joel Brobecker <brobecker@adacore.com>
3897
3898 * gdb.ada/varsize_limit: New testcase.
3899
39002018-03-27 Joel Brobecker <brobecker@adacore.com>
3901
3902 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3903
3904 * gdb.ada/notcplusplus: New testcase.
3905
3906 * gdb.base/c-linkage-name.c: New file.
3907 * gdb.base/c-linkage-name.exp: New testcase.
3908
39092018-03-26 Tom Tromey <tom@tromey.com>
3910
3911 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3912 * gdb.python/py-framefilter.py (name_error): New global.
3913 (ErrorInName.function): Use name_error.
3914
39152018-03-26 Tom Tromey <tom@tromey.com>
3916
3917 PR backtrace/15582:
3918 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3919
39202018-03-23 Keith Seitz <keiths@redhat.com>
3921
3922 PR c++/22968
3923 * gdb.cp/subtypes.exp: New file.
3924 * gdb.cp/subtypes.h: New file.
3925 * gdb.cp/subtypes.cc: New file.
3926 * gdb.cp/subtypes-2.cc: New file.
3927
39282018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3929
3930 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3931 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3932 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3933 -nostartfiles when compiling the test. Confirm that all registers
3934 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3935
39362018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3937
3938 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3939 option, syntax was wrong anyway.
3940 * gdb.arch/arm-disp-step.exp: Likewise.
3941 * gdb.arch/sparc64-regs.exp: Likewise.
3942 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3943 option, syntax was wrong anyway, switch to use
3944 prepare_for_testing.
3945 * gdb.arch/i386-disp-step.exp: Likewise.
3946
39472018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3948
3949 * gdb.ada/exec_changed.exp: Replace "target_info exists
3950 use_gdb_stub" by "use_gdb_stub".
3951 * gdb.ada/start.exp: Likewise.
3952 * gdb.base/async-shell.exp: Likewise.
3953 * gdb.base/attach-pie-misread.exp: Likewise.
3954 * gdb.base/attach-wait-input.exp: Likewise.
3955 * gdb.base/break-entry.exp: Likewise.
3956 * gdb.base/break-interp.exp: Likewise.
3957 * gdb.base/dprintf-detach.exp: Likewise.
3958 * gdb.base/nostdlib.exp: Likewise.
3959 * gdb.base/solib-nodir.exp: Likewise.
3960 * gdb.base/statistics.exp: Likewise.
3961 * gdb.base/testenv.exp: Likewise.
3962 * gdb.mi/mi-exec-run.exp: Likewise.
3963 * gdb.mi/mi-start.exp: Likewise.
3964 * gdb.multi/dummy-frame-restore.exp: Likewise.
3965 * gdb.multi/multi-arch-exec.exp: Likewise.
3966 * gdb.multi/multi-arch.exp: Likewise.
3967 * gdb.multi/tids.exp: Likewise.
3968 * gdb.multi/watchpoint-multi.exp: Likewise.
3969 * gdb.python/py-events.exp: Likewise.
3970 * gdb.threads/attach-into-signal.exp: Likewise.
3971 * gdb.threads/attach-stopped.exp: Likewise.
3972 * gdb.threads/threadapply.exp: Likewise.
3973 * lib/selftest-support.exp: Likewise.
3974
39752018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3976
3977 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3978
39792018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3980
3981 * gdb.perf/template-breakpoints.cc: New file.
3982 * gdb.perf/template-breakpoints.exp: New file.
3983 * gdb.perf/template-breakpoints.py: New file.
3984
39852018-03-19 Tom Tromey <tom@tromey.com>
3986
3987 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3988 y0.
3989 * gdb.rust/simple.exp: Test bare identifier form of struct
3990 initializer.
3991
39922018-03-19 Tom Tromey <tom@tromey.com>
3993
3994 * gdb.gdb/observer.exp: Remove.
3995
39962018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3997
3998 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3999 "qualified" option when setting breakpoints.
4000 * gdb.trace/backtrace.exp: Likewise.
4001 * gdb.trace/circ.exp: Likewise.
4002 * gdb.trace/collection.exp: Likewise.
4003 * gdb.trace/disconnected-tracing.exp: Likewise.
4004 * gdb.trace/ftrace-lock.exp: Likewise.
4005 * gdb.trace/ftrace.exp: Likewise.
4006 * gdb.trace/infotrace.exp: Likewise.
4007 * gdb.trace/packetlen.exp: Likewise.
4008 * gdb.trace/passc-dyn.exp: Likewise.
4009 * gdb.trace/qtro.exp: Likewise.
4010 * gdb.trace/read-memory.exp: Likewise.
4011 * gdb.trace/report.exp: Likewise.
4012 * gdb.trace/signal.exp: Likewise.
4013 * gdb.trace/status-stop.exp: Likewise.
4014 * gdb.trace/strace.exp: Likewise.
4015 * gdb.trace/tfind.exp: Likewise.
4016 * gdb.trace/trace-break.exp: Likewise.
4017 * gdb.trace/trace-condition.exp: Likewise.
4018 * gdb.trace/trace-mt.exp: Likewise.
4019 * gdb.trace/tstatus.exp: Likewise.
4020 * gdb.trace/tsv.exp: Likewise.
4021 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4022 * gdb.trace/unavailable.exp: Likewise.
4023 * gdb.trace/while-dyn.exp: Likewise.
4024
40252018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4026
4027 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4028 that libinproctrace is copied to the target.
4029
40302018-03-14 Tom Tromey <tom@tromey.com>
4031
4032 PR cli/14977:
4033 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4034 a null pointer.
4035 * gdb.base/wchar.exp: Likewise.
4036
40372018-03-14 Tom Tromey <tom@tromey.com>
4038
4039 PR cli/19918:
4040 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4041 flag.
4042
40432018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4044
4045 PR gdb/22841
4046 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4047 "target" to remote_exec.
4048
40492018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4050
4051 PR gdb/22841
4052 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4053 ${board}_upload): Remove.
4054
40552018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4056
4057 * gdb.cp/watch-cp.cc: New test.
4058 * gdb.cp/watch-cp.exp: New file.
4059
40602018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4061
4062 * gdb.base/infcall-nested-structs.exp: New file.
4063 * gdb.base/infcall-nested-structs.c: New file.
4064 * gdb.base/float.exp: Add riscv support.
4065
40662018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4067
4068 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4069 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4070
40712018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4072
4073 * gdb.server/abspath.exp: New file.
4074 * lib/gdb.exp (with_cwd): New procedure.
4075
40762018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4077
4078 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4079 use it.
4080 (gdb_is_target_remote_prompt): New proc.
4081 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4082 (gdb_is_target_native): Pass prompt parameter to
4083 gdb_is_target_1.
4084
40852018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4086
4087 * gdb.base/load-command.c: New file.
4088 * gdb.base/load-command.exp: New file.
4089 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4090 (gdb_is_target_1): ...this, and generalize for other targets
4091 than just remote.
4092 (gdb_is_target_remote): Use gdb_is_target_1.
4093 (gdb_is_target_native): use gdb_is_target_1.
4094
40952018-02-26 Tom Tromey <tom@tromey.com>
4096
4097 PR python/16497:
4098 * gdb.python/py-framefilter.exp: Update test.
4099
41002018-02-26 Tom Tromey <tom@tromey.com>
4101
4102 * gdb.dwarf2/variant.c: New file.
4103 * gdb.dwarf2/variant.exp: New file.
4104
41052018-02-26 Tom Tromey <tom@tromey.com>
4106
4107 * gdb.rust/simple.exp: Accept more possible results in enum test.
4108
41092018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4110
4111 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4112 parentheses.
4113
41142018-02-23 Maciej W. Rozycki <macro@mips.com>
4115
4116 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4117 name of a variable: $actual_linejj -> $actual_line.
4118
41192018-02-21 John Baldwin <jhb@FreeBSD.org>
4120
4121 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4122
41232018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4124
4125 * gdb.btrace/buffer-size.exp: Do not force BTS.
4126
41272018-02-14 Pedro Alves <palves@redhat.com>
4128
4129 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4130 getting a "Quit".
4131
41322018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4133
4134 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4135 Fix test name.
4136
41372018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4138
4139 * gdb.cp/m-static.exp: Check type of optimized out static
4140 member.
4141
41422018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4143
4144 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4145 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4146
41472018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4148 Leszek Swirski <leszeks@google.com>
4149
4150 * gdb.python/py-prettyprint.c
4151 (struct to_string_returns_value_inner,
4152 struct to_string_returns_value_wrapper): New.
4153 (main): Add tsrvw variable.
4154 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4155 ToStringReturnsValueWrapper): New classes.
4156 (register_pretty_printers): Register new pretty-printers.
4157 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4158 recursive pretty printer.
4159 * gdb.python/py-mi.exp: Likewise.
4160
41612018-02-01 Leszek Swirski <leszeks@google.com>
4162
4163 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4164 functions with the same name as an include file are parsed
4165 correctly.
4166
41672018-02-01 Yao Qi <yao.qi@linaro.org>
4168
4169 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4170 "\[^\r\n\]*".
4171
41722018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4173
4174 * gdb.arch/powerpc-prologue-frame.s: New file.
4175 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4176 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4177
41782018-01-31 Joel Brobecker <brobecker@adacore.com>
4179
4180 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4181
41822018-01-30 Pedro Alves <palves@redhat.com>
4183
4184 PR gdb/13211
4185 * gdb.base/interrupt-daemon.c: New.
4186 * gdb.base/interrupt-daemon.exp: New.
4187 * gdb.multi/multi-term-settings.c: New.
4188 * gdb.multi/multi-term-settings.exp: New.
4189
41902018-01-30 Joel Brobecker <brobecker@adacore.com>
4191
4192 * gdb.base/break.exp: Save the location where the breakpoint
4193 on break.c:47 was actually inserted when debugging the version
4194 compiled at -O2 and use it in the expected output of the "info
4195 break" test performed soon after.
4196
41972018-01-22 Pedro Alves <palves@redhat.com>
4198 Sergio Durigan Junior <sergiodj@redhat.com>
4199
4200 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4201 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4202
42032018-01-22 Joel Brobecker <brobecker@adacore.com>
4204
4205 * gdb.base/break-include.c, gdb.base/break-include.inc,
4206 gdb.base/break-include.exp: New files.
4207 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4208 line number now being the actual line number where the breakpoint
4209 was inserted.
4210 * gdb.mi/mi-break.exp: Likewise.
4211 * gdb.mi/mi-reverse.exp: Likewise.
4212 * gdb.mi/mi-simplerun.exp: Ditto.
4213
42142018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4215
4216 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4217 varobj.
4218 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4219
42202018-01-21 Don Breazeal <donb@codesourcery.com>
4221 Andrew Burgess <andrew.burgess@embecosm.com>
4222
4223 * gdb.mi/basics.c: Add new global.
4224 * gdb.mi/mi-frame-regs.exp: New file.
4225 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4226 case.
4227
42282018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4229
4230 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4231 non-parameter, and on an unknown symbol.
4232
42332018-01-19 Tom Tromey <tom@tromey.com>
4234
4235 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4236 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4237
42382018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4239
4240 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4241 setrlimit and chdir to int.
4242
42432018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4244
4245 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4246 function.
4247 (my_tend): Likewise.
4248 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4249 rationale of avoiding FP- and vector instructions.
4250
42512018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4252
4253 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4254 "info reg" with "\[ \t\]*".
4255 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4256 "\[ \t\]+".
4257 * gdb.arch/s390-multiarch.exp: Ditto.
4258 * gdb.base/pc-fp.exp: Ditto.
4259 * gdb.reverse/i386-precsave.exp: Ditto.
4260 * gdb.reverse/i386-reverse.exp: Ditto.
4261 * gdb.reverse/i387-env-reverse.exp: Ditto.
4262 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4263
42642018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4265
4266 * lib/gdb.exp (gdb_compile): Re-enable use of
4267 universal_compile_options for languages other than Rust.
4268
42692018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4270
4271 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4272
42732018-01-17 Mike Gulick <mgulick@mathworks.com>
4274
4275 PR gdb/16577
4276 * gdb.base/solib-vanish.exp: New.
4277 * gdb.base/solib-vanish-main.c: New.
4278 * gdb.base/solib-vanish-lib1.c: New.
4279 * gdb.base/solib-vanish-lib2.c: New.
4280
42812018-01-17 Yao Qi <yao.qi@linaro.org>
4282
4283 * gdb.compile/compile.exp: Match the address printed for
4284 frame in the output of command "bt".
4285
42862018-01-15 Tom Tromey <tom@tromey.com>
4287
4288 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4289 compute sp_reg.
4290
42912018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4292
4293 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4294 to prepare.
4295 (prepare): Return 0 on error, 1 on success.
4296
42972018-01-12 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.base/continue-after-aborted-step-over.c: New.
4300 * gdb.base/continue-after-aborted-step-over.exp: New.
4301
43022018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4303
4304 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4305 options when not creating an executable.
4306
43072018-01-11 Pedro Alves <palves@redhat.com>
4308
4309 PR remote/22597
4310 * gdb.server/stop-reply-no-thread.c: New file.
4311 * gdb.server/stop-reply-no-thread.exp: New file.
4312
43132018-01-10 Pedro Alves <palves@redhat.com>
4314
4315 PR gdb/22670
4316 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4317 functions too. Test setting breakpoints and printing C functions
4318 with no debug info too.
4319 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4320
43212018-01-10 Pedro Alves <palves@redhat.com>
4322
4323 PR gdb/22670
4324 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4325 a fail.
4326
43272018-01-10 Pedro Alves <palves@redhat.com>
4328
4329 PR gdb/22670
4330 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4331
43322018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4333
4334 * gdb.server/unittest.exp: Match the output in non-development
4335 mode.
4336
43372018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4338
4339 * gdb.gdb/unittest.exp: Match output in non-development mode.
4340
43412018-01-08 Joel Brobecker <brobecker@adacore.com>
4342
4343 * gdb.ada/access_tagged_param.exp: Relax expected output
4344 for value of "ObjL" in "continue" to pck.inspect breakpoint
4345 test.
4346
43472018-01-08 Joel Brobecker <brobecker@adacore.com>
4348
4349 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4350 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4351
43522018-01-05 Pedro Alves <palves@redhat.com>
4353
4354 PR gdb/18653
4355 * gdb.base/libsegfault.exp: New.
4356
43572018-01-05 Joel Brobecker <brobecker@adacore.com>
4358
4359 PR gdb/22670
4360 * gdb.ada/access_tagged_param.exp: New file.
4361 * gdb.ada/access_tagged_param/foo.adb: New file.
4362
43632018-01-05 Pedro Alves <palves@redhat.com>
4364
4365 PR gdb/22670
4366 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4367 exercise lower case too, and to exercise both full matching and
4368 wild matching.
4369
43702018-01-05 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/rename_subscript_param: New testcase.
4373
43742018-01-05 Jerome Guitton <guitton@adacore.com>
4375
4376 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4377
43782018-01-05 Joel Brobecker <brobecker@adacore.com>
4379
4380 * gdb.ada/convvar_comp: New testcase.
4381
43822018-01-05 Xavier Roirand <roirand@adacore.com>
4383
4384 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4385 (My_Table): New global variable.
4386 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4387
43882018-01-04 Joel Brobecker <brobecker@adacore.com>
4389
4390 PR gdb/22670
4391 * gdb.ada/maint_with_ada: New testcase.
4392
43932018-01-04 Joel Brobecker <brobecker@adacore.com>
4394
4395 PR gdb/22670
4396 * gdb.ada/bp_c_mixed_case: New testcase.
4397
43982018-01-04 Joel Brobecker <brobecker@adacore.com>
4399
4400 PR gdb/22670
4401 * gdb.ada/complete.exp: Add "complete break ada" test.
4402
44032018-01-04 Joel Brobecker <brobecker@adacore.com>
4404
4405 PR gdb/22670
4406 * gdb.ada/info_addr_mixed_case: New testcase.
4407
44082018-01-03 Xavier Roirand <roirand@adacore.com>
4409
4410 * gdb.ada/excep_handle.exp: New testcase.
4411 * gdb.ada/excep_handle/foo.adb: New file.
4412 * gdb.ada/excep_handle/pck.ads: New file.
4413
44142018-01-03 Joel Brobecker <brobecker@adacore.com>
4415
4416 * gdb.base/step-line.c: Add extra empty line in copyright header.
4417 * gdb.base/step-line.inp: Likewise.
4418
44192018-01-02 Joel Brobecker <brobecker@adacore.com>
4420
4421 * gdb.ada/dyn_stride.exp: Add slice test.
4422
44232018-01-02 Joel Brobecker <brobecker@adacore.com>
4424
4425 * gdb.ada/dyn_stride: New testcase.
4426
44272017-12-27 Stafford Horne <shorne@gmail.com>
4428
4429 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4430 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4431
44322017-12-27 Stafford Horne <shorne@gmail.com>
4433
4434 * gdb.base/reggroups.c: New file.
4435 * gdb.base/reggroups.exp: New file.
4436
44372017-12-18 Joel Brobecker <brobecker@adacore.com>
4438
4439 * gdb.dwarf2/ada-valprint-error.c: New file.
4440 * gdb.dwarf2/ada-valprint-error.exp: New file.
4441
44422017-12-18 Joel Brobecker <brobecker@adacore.com>
4443
4444 * gdb.ada/assign_arr: New testcase.
4445
44462017-12-18 Xavier Roirand <roirand@adacore.com>
4447
4448 * gdb.ada/funcall_ptr: New testcase.
4449
44502017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4451
4452 PR cli/16224
4453 * gdb.base/ptype-offsets.cc: New file.
4454 * gdb.base/ptype-offsets.exp: New file.
4455
44562017-12-15 Yao Qi <yao.qi@linaro.org>
4457
4458 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4459 if XML is disabled.
4460
44612017-12-15 Xavier Roirand <roirand@adacore.com>
4462
4463 * gdb.ada/same_component_name: New testcase.
4464
44652017-12-14 Joel Brobecker <brobecker@adacore.com>
4466
4467 * gdb.ada/str_binop_equal: New testcase.
4468
44692017-12-14 Joel Brobecker <brobecker@adacore.com>
4470
4471 * gdb.ada/task_switch_in_core: New testcase.
4472
44732017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4474
4475 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4476 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4477 call test_bkpt_qualified.
4478 (test_bkpt_qualified): New proc.
4479
44802017-12-13 Pedro Alves <palves@redhat.com>
4481
4482 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4483 Tighten regexp by matching with an anchor.
4484
44852017-12-13 Pedro Alves <palves@redhat.com>
4486
4487 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4488 ("expression with namespace"): New set of tests.
4489 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4490 (Nested::Test_NS::qux): New.
4491 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4492 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4493
44942017-12-13 Joel Brobecker <brobecker@adacore.com>
4495
4496 * gdb.base/server-del-break.c: New file.
4497 * gdb.base/server-del-break.exp: New file.
4498
44992017-12-12 Stafford Horne <shorne@gmail.com>
4500
4501 * gdb.xml/tdesc-regs.exp: Add or1k support.
4502
45032017-12-12 Stafford Horne <shorne@gmail.com>
4504
4505 * gdb.base/bp-permanent.c: Define nop of or1k.
4506
45072017-12-11 Joel Brobecker <brobecker@adacore.com>
4508
4509 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4510 output with components being reordered.
4511
45122017-12-11 Joel Brobecker <brobecker@adacore.com>
4513
4514 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4515 output with components being reordered.
4516
45172017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4518 Pedro Alves <palves@redhat.com>
4519
4520 * gdb.base/maint.exp (check for .gdb_index): Check also for
4521 .debug_names.
4522 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4523 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4524 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4525 (.gdb_index used after symbol reloading): Support also .debug_names.
4526 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4527
45282017-12-08 Yao Qi <yao.qi@linaro.org>
4529
4530 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4531 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4532
45332017-12-08 Yao Qi <yao.qi@linaro.org>
4534
4535 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4536 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4537
45382017-12-08 Yao Qi <yao.qi@linaro.org>
4539
4540 * gdb.arch/aarch64-tagged-pointer.c: New file.
4541 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4542
45432017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4544
4545 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4546 "int".
4547
45482017-12-07 Keith Seitz <keiths@redhat.com>
4549
4550 PR breakpoints/22569
4551 * gdb.linespec/ls-errs.exp: Change expected result of "break
4552 -source this file has spaces.c -line 3".
4553 Check that an explicit source file followed by whitespace is
4554 identified as an invalid explicit location.
4555
45562017-12-07 Keith Seitz <keiths@redhat.com>
4557
4558 * gdb.cp/nested-types.cc: New file.
4559 * gdb.cp/nested-types.exp: New file.
4560 * lib/cp-support.exp: Load data-structures.exp library.
4561 (debug_cp_test_ptype_class): New global.
4562 (cp_ptype_class_verbose, next_line): New procedures.
4563 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4564 Add and document new return value.
4565 Switch the list of lines to a queue.
4566 Add support for new `type' key for nested type definitions.
4567 Add debugging/troubleshooting messages.
4568 * lib/data-structures.exp: New file.
4569
45702017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4571
4572 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4573 with proc_with_prefix, don't use with_test_prefix.
4574
45752017-12-07 Tom Tromey <tom@tromey.com>
4576
4577 * gdb.base/break.exp: Add test for empty "commands".
4578
45792017-12-07 Yao Qi <yao.qi@linaro.org>
4580
4581 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4582 malloc and catch syscall.
4583
45842017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4585
4586 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4587 tests for explicit locations.
4588
45892017-12-06 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4592 force-disabling XML descriptions.
4593
45942017-12-04 Pedro Alves <palves@redhat.com>
4595
4596 PR gdb/22499
4597 * gdb.arch/amd64-disp-step-avx.S: New file.
4598 * gdb.arch/amd64-disp-step-avx.exp: New file.
4599
46002017-12-03 Pedro Alves <palves@redhat.com>
4601
4602 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4603 and <string.h>.
4604 (parent_function): Print distinct messages when waitpid fails, or
4605 the child exits with a signal, or the child exits for an unhandled
4606 reason.
4607 * gdb.threads/process-dies-while-detaching.exp
4608 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4609 it. Wait for both inferior output and GDB's prompt. Use an
4610 indirect spawn id list.
4611 (do_detach): New parameter 'child_exit'. Use it to compute
4612 expected inferior output.
4613 (test_detach, test_detach_watch, test_detach_killed_outside):
4614 Adjust to pass down the expected child exit kind.
4615
46162017-12-01 Joel Brobecker <brobecker@adacore.com>
4617 Sergio Durigan Junior <sergiodj@redhat.com>
4618 Pedro Alves <palves@redhat.com>
4619
4620 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4621
46222017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4623
4624 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4625 to 'symbol-file' and 'add-symbol-file' can be
4626 position-independent.
4627
46282017-12-01 Yao Qi <yao.qi@linaro.org>
4629
4630 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4631 the URL in copyright header.
4632 * gdb.arch/aarch64-fp.exp: Likewise.
4633 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4634 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4635 * gdb.base/expand-psymtabs.exp: Likewise.
4636 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4637 * gdb.fortran/common-block.exp: Likewise.
4638 * gdb.fortran/common-block.f90: Likewise.
4639 * gdb.fortran/logical.exp: Likewise.
4640 * gdb.fortran/vla-datatypes.f90: Likewise.
4641 * gdb.fortran/vla-sub.f90: Likewise.
4642
46432017-11-30 Joel Brobecker <brobecker@adacore.com>
4644
4645 * gdb.ada/repeat_dyn: New testcase.
4646
46472017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4648
4649 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4650 Update for changed thread numbering.
4651 * gdb.cell/bt.exp: Update for changed GDB output.
4652
46532017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4654
4655 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4656 setting isremote by hand.
4657 * boards/dwarf4-gdb-index.exp: Likewise.
4658 * boards/fission.exp: Likewise.
4659 * boards/stabs.exp: Likewise.
4660
46612017-11-30 Pedro Alves <palves@redhat.com>
4662
4663 * gdb.linespec/cpls-ops.exp
4664 (check_explicit_skips_function_argument): Extract the underlying
4665 type of size_t instead of hardcoding it.
4666
46672017-11-29 Pedro Alves <palves@redhat.com>
4668
4669 PR c++/19436
4670 * gdb.linespec/cpls-abi-tag.cc: New file.
4671 * gdb.linespec/cpls-abi-tag.exp: New file.
4672
46732017-11-29 Pedro Alves <palves@redhat.com>
4674
4675 * gdb.base/langs.exp: Use -qualified.
4676 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4677 it.
4678 * gdb.cp/namespace.exp: Use -qualified.
4679 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4680 (overload-3, template-overload, template-ret-type, const-overload)
4681 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4682 procedures.
4683 (test_driver): Call them.
4684 * gdb.cp/save-bp-qualified.cc: New.
4685 * gdb.cp/save-bp-qualified.exp: New.
4686 * gdb.linespec/explicit.exp: Test -qualified.
4687 * lib/completion-support.exp (completion::explicit_opts_list): Add
4688 "-qualified".
4689 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4690
46912017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4692
4693 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4694
46952017-11-29 Tom Tromey <tom@tromey.com>
4696
4697 * gdb.base/relocate.exp: Update invalid argument test.
4698 Add new tests for invalid arguments.
4699
47002017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4701
4702 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4703 Return 0 as a long.
4704 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4705
47062017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4707
4708 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4709 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4710 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4711 func ().
4712 * gdb.cp/shadow.cc (B.func): Return 0.
4713
47142017-11-27 Joel Brobecker <brobecker@adacore.com>
4715
4716 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4717 expected output in gdb_expect call to allow the exception
4718 message to be present as well. Fix syntax confusion to avoid
4719 TCL thinking that exception_name is an array.
4720
47212017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4722
4723 * gdb.arch/spu-info.c: Include <unistd.h>.
4724 (do_signal_test): Fix broken calls to write.
4725 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4726 Fix checks for empty mailboxes. Update signal tests for corrected
4727 do_signal_test routine. Allow nonzero event status.
4728 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4729 * gdb.cell/arch.exp: Use standard_output_file.
4730 * gdb.cell/break.exp: Likewise.
4731 * gdb.cell/bt.exp: Likewise.
4732 * gdb.cell/core.exp: Likewise.
4733 * gdb.cell/dwarfaddr.exp: Likewise.
4734 * gdb.cell/ea-cache.exp: Likewise.
4735 * gdb.cell/ea-standalone.exp: Likewise.
4736 * gdb.cell/f-regs.exp: Likewise.
4737 * gdb.cell/fork.exp: Likewise.
4738 * gdb.cell/gcore.exp: Likewise.
4739 * gdb.cell/mem-access.exp: Likewise.
4740 * gdb.cell/ptype.exp: Likewise.
4741 * gdb.cell/registers.exp: Likewise.
4742 * gdb.cell/sizeof.exp: Likewise.
4743 * gdb.cell/solib-symbol.exp: Likewise.
4744 * gdb.cell/solib.exp: Likewise.
4745
47462017-11-25 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.base/complete-empty.exp: New file.
4749 * gdb.base/completion.exp: Adjust.
4750
47512017-11-25 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.linespec/cpls-ops.cc: New file.
4754 * gdb.linespec/cpls-ops.exp: New file.
4755 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4756 factored out from ...
4757 (test_complete_prefix_range): ... this.
4758
47592017-11-24 Pedro Alves <palves@redhat.com>
4760
4761 * gdb.linespec/cpcompletion.exp: New file.
4762 * gdb.linespec/cpls-hyphen.cc: New file.
4763 * gdb.linespec/cpls.cc: New file.
4764 * gdb.linespec/cpls2.cc: New file.
4765 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4766 test to use test_gdb_complete_unique. Add label completion,
4767 keyword completion and explicit location completion tests.
4768 * lib/completion-support.exp: New file.
4769
47702017-11-24 Joel Brobecker <brobecker@adacore.com>
4771
4772 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4773 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4774 when hitting an exception catchpoint.
4775
47762017-11-22 Yao Qi <yao.qi@linaro.org>
4777
4778 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4779
47802017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4781
4782 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4783 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4784 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4785
47862017-11-22 Yao Qi <yao.qi@linaro.org>
4787
4788 * gdb.base/info-os.exp: Pass pthreads.
4789 * gdb.multi/multi-attach.exp: Likewise.
4790
47912017-11-22 Yao Qi <yao.qi@linaro.org>
4792
4793 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4794 compiler.
4795
47962017-11-22 Yao Qi <yao.qi@linaro.org>
4797
4798 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4799 * gdb.base/break-interp.exp: Likewise.
4800 * gdb.base/jit-attach-pie.exp: Likewise.
4801
48022017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4803
4804 * gdb.base/float128.c (large128): New variable.
4805 * gdb.base/float128.exp: Add test to print largest __float128 value.
4806
48072017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4808
4809 * gdb.arch/vsx-regs.exp: Update register content checks.
4810
48112017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4812
4813 * gdb.arch/ppc-longdouble.exp: New file.
4814 * gdb.arch/ppc-longdouble.c: Likewise.
4815
48162017-11-21 Pedro Alves <palves@redhat.com>
4817
4818 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4819
48202017-11-20 Pedro Alves <palves@redhat.com>
4821
4822 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4823 (long_double_typedef): New typedefs.
4824 Use DEF on double and long double.
4825 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4826 cases.
4827 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4828 and 'long_double_ptr_same_size' locals. Use them to decide
4829 whether cast from array/function to float is valid/invalid.
4830
48312017-11-17 Tom Tromey <tom@tromey.com>
4832
4833 * gdb.rust/traits.rs: New file.
4834 * gdb.rust/traits.exp: New file.
4835
48362017-11-17 Joel Brobecker <brobecker@adacore.com>
4837
4838 * gdb.ada/minsyms: New testcase.
4839
48402017-11-16 Pedro Alves <palves@redhat.com>
4841
4842 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4843 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4844
48452017-11-16 Pedro Alves <palves@redhat.com>
4846
4847 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4848 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4849
48502017-11-16 Pedro Alves <palves@redhat.com>
4851
4852 * gdb.server/reconnect-ctrl-c.c: New file.
4853 * gdb.server/reconnect-ctrl-c.exp: New file.
4854
48552017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4856
4857 * gdb.python/py-rbreak.exp: New file.
4858 * gdb.python/py-rbreak.c: New file.
4859 * gdb.python/py-rbreak-func2.c: New file.
4860
48612017-11-16 Pedro Alves <palves@redhat.com>
4862
4863 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4864 pattern.
4865 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4866 GDB.
4867
48682017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4869
4870 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4871 regex.
4872
48732017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4874
4875 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4876 test names.
4877
48782017-11-09 Pedro Alves <palves@redhat.com>
4879
4880 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4881 factored out from ...
4882 (top level): ... here, and adjusted to avoid expecting beyond the
4883 prompt in a single gdb_test_multiple.
4884
48852017-11-09 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4888 output.
4889 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4890 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4891 * gdb.server/ext-run.exp ("kill" test): Likewise.
4892 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4893
48942017-11-09 Pedro Alves <palves@redhat.com>
4895
4896 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4897 match till end of line.
4898
48992017-11-09 Pedro Alves <palves@redhat.com>
4900
4901 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4902
49032017-11-09 Pedro Alves <palves@redhat.com>
4904
4905 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4906 New procedures, factored out from ...
4907 (top level): ... here, and adjusted to avoid expecting beyond the
4908 prompt in one go.
4909
49102017-11-09 Pedro Alves <palves@redhat.com>
4911
4912 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4913 output. Fix '?' match.
4914
49152017-11-08 Joel Brobecker <brobecker@adacore.com>
4916
4917 * gdb.ada/scoped_watch: New testcase.
4918 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4919 which is actually correct.
4920 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4921 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4922
49232017-11-08 Pedro Alves <palves@redhat.com>
4924
4925 * gdb.gdb/complaints.exp (test_initial_complaints)
4926 (test_serial_complaints, test_short_complaints): Call
4927 complaint_internal instead of complaint.
4928
49292017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4930
4931 * gdb.threads/tls-core.c: New file.
4932 * gdb.threads/tls-core.exp: Likewise.
4933
49342017-11-08 Pedro Alves <palves@redhat.com>
4935
4936 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4937 (p Exported_Capitalized): New test.
4938 (p exported_capitalized): New test.
4939
49402017-11-07 Pedro Alves <palves@redhat.com>
4941
4942 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4943
49442017-11-07 Pedro Alves <palves@redhat.com>
4945
4946 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4947 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4948 (disable_invalid, disable_inverted, disable_negative): New
4949 procedures.
4950 ("bad numbers"): New set of tests.
4951
49522017-11-07 Pedro Alves <palves@redhat.com>
4953
4954 * gdb.cp/ena-dis-br-range.exp: Add tests.
4955
49562017-11-07 Pedro Alves <palves@redhat.com>
4957
4958 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4959
49602017-11-07 Xavier Roirand <roirand@adacore.com>
4961 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.base/ena-dis-br.exp: Add reference to
4964 gdb.cp/ena-dis-br-range.exp.
4965 * gdb.cp/ena-dis-br-range.exp: New file.
4966 * gdb.cp/ena-dis-br-range.cc: New file.
4967
49682017-11-06 Pedro Alves <palves@redhat.com>
4969
4970 * gdb.base/attach-non-pgrp-leader.c: New.
4971 * gdb.base/attach-non-pgrp-leader.exp: New.
4972
49732017-11-06 Pedro Alves <palves@redhat.com>
4974
4975 * configure.ac: No longer check for termio.h and sgtty.h.
4976 * configure: Regenerate.
4977 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4978 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4979 Remove termio and sgtty code.
4980
49812017-11-03 Yao Qi <yao.qi@linaro.org>
4982
4983 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4984 in GDB is disabled.
4985
49862017-11-03 Yao Qi <yao.qi@linaro.org>
4987
4988 * gdb.python/py-thrhandle.exp: Skip it if python is not
4989 enabled.
4990
49912017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4992
4993 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4994 as a breakpoint command.
4995
49962017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4997
4998 PR python/21213
4999 * gdb.python/py-infthread.exp: Test calling
5000 InferiorThread.inferior () multiple times in a row.
5001
50022017-10-27 Keith Seitz <keiths@redhat.com>
5003
5004 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5005 Test "info break" for every inlined function breakpoint.
5006
50072017-10-27 Yao Qi <yao.qi@linaro.org>
5008
5009 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5010
50112017-10-26 Patrick Frants <osscontribute@gmail.com>
5012
5013 * gdb.cp/classes.exp (test_static_members): Test printing
5014 Outer::instance.
5015 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5016 (Inner::instance, Outer::instance): New.
5017
50182017-10-24 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5021 extra console" test in two stages.
5022
50232017-10-24 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5026
50272017-10-24 Pedro Alves <palves@redhat.com>
5028
5029 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5030 loop.
5031
50322017-10-24 Pedro Alves <palves@redhat.com>
5033
5034 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5035 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5036
50372017-10-24 Pedro Alves <palves@redhat.com>
5038
5039 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5040 parameter and handle it. Don't output read value in test name.
5041
50422017-10-24 Pedro Alves <palves@redhat.com>
5043
5044 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5045 custom test name.
5046
50472017-10-24 Pedro Alves <palves@redhat.com>
5048
5049 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5050 include the unstable output directory name in the test's name.
5051 (initial_setup_simple) <'set args'>: Use custom test name.
5052
50532017-10-24 Pedro Alves <palves@redhat.com>
5054
5055 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5056 with explicit test name.
5057
50582017-10-20 Pedro Alves <palves@redhat.com>
5059
5060 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5061 'wait -i'. Use gdb_assert and remote_close.
5062
50632017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5064
5065 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5066 number from variable rather than hard-coded.
5067
50682017-10-19 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.base/long-inferior-output.c: New file.
5071 * gdb.base/long-inferior-output.exp: New file.
5072
50732017-11-18 Keith Seitz <keiths@redhat.com>
5074
5075 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5076 method.
5077 (main): Call it.
5078 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5079 Add additional user-defined conversion operator tests.
5080
50812017-10-17 Pedro Alves <palves@redhat.com>
5082
5083 * boards/native-stdio-gdbserver.exp: Load "local-board".
5084
50852017-10-17 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.base/quit-live.c: New file.
5088 * gdb.base/quit-live.exp: New file.
5089
50902017-10-16 Keith Seitz <keiths@redhat.com>
5091
5092 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5093 (class_with_protected_typedef, class_with_private_typedef)
5094 (struct_with_public_typedef, struct_with_protected_typedef)
5095 (struct_with_private_typedef): New classes/structs.
5096 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5097 typedefs and access specifiers.
5098
50992017-10-16 Pedro Alves <palves@redhat.com>
5100 Simon Marchi <simon.marchi@polymtl.ca>
5101
5102 * README (Local vs Remote vs Native): New section.
5103 * boards/local-board.exp: New file, with bits factored out from
5104 ...
5105 * boards/native-extended-gdbserver.exp: ... here. Load
5106 "local-board".
5107 * boards/native-gdbserver.exp: Load "local-board".
5108 (${board}_spawn, ${board}_exec): Delete.
5109 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5110 ...
5111 * boards/stdio-gdbserver-base.exp: ... this new file.
5112 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5113 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5114 procedure.
5115 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5116 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5117 stdio_gdbserver_command.
5118 (${board}_get_remote_address, ${board}_get_comm_port)
5119 (${board}_download, ${board}_upload): Delete.
5120 (get_target_remote_pipe_cmd): New.
5121
51222017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5123
5124 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5125 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5126 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5127 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5128 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5129 remove with_test_prefix.
5130
51312017-10-13 Pedro Alves <palves@redhat.com>
5132
5133 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5134 * gdb.base/annota1.exp: Use it instead of is_remote.
5135 * gdb.base/annota3.exp: Use it instead of is_remote.
5136 * gdb.cp/annota2.exp: Use it instead of is_remote.
5137 * gdb.cp/annota3.exp: Use it instead of is_remote.
5138 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5139
51402017-10-13 Pedro Alves <palves@redhat.com>
5141
5142 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5143 (test_num_test_vars, run_and_count_vars, find_env)
5144 (test_set_unset_env, test_inherit_env_var): New procedures.
5145 (top level): Use them.
5146
51472017-10-13 Pedro Alves <palves@redhat.com>
5148
5149 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5150 also skip on stub-like targets.
5151
51522017-10-13 Pedro Alves <palves@redhat.com>
5153
5154 PR gdb/22293
5155 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5156 (top level): Move some tests to ...
5157 (test_not_found): ... this new procedure.
5158 (top level): Call it.
5159
51602017-10-13 Pedro Alves <palves@redhat.com>
5161
5162 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5163 expect different "info terminal" output if testing with a
5164 non-native target.
5165
51662017-10-13 Pedro Alves <palves@redhat.com>
5167 Simon Marchi <simon.marchi@polymtl.ca>
5168
5169 PR python/12966
5170 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5171
51722017-10-13 Pedro Alves <palves@redhat.com>
5173
5174 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5175 already.
5176
51772017-10-13 Pedro Alves <palves@redhat.com>
5178
5179 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5180 is_remote.
5181
51822017-10-13 Pedro Alves <palves@redhat.com>
5183
5184 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5185 is_remote.
5186
51872017-10-13 Pedro Alves <palves@redhat.com>
5188
5189 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5190 is set.
5191 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5192 instead of is_remote.
5193
51942017-10-13 Pedro Alves <palves@redhat.com>
5195
5196 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5197 (top level): Add comment.
5198
51992017-10-13 Pedro Alves <palves@redhat.com>
5200
5201 * gdb.base/remote.exp (top level): Fix comment typo and add
5202 missing return.
5203
52042017-10-13 Pedro Alves <palves@redhat.com>
5205 Simon Marchi <simon.marchi@polymtl.ca>
5206
5207 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5208 calls and add comments. Skip test if use_gdb_stub is set.
5209 (top level): Use "set cwd" command instead of "cd" command.
5210
52112017-10-13 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5214 is_remote target check.
5215
52162017-10-13 Pedro Alves <palves@redhat.com>
5217
5218 * gdb.base/scope.exp: Use build_executable + clean_restart +
5219 gdb_file_cmd instead of prepare_for_testing and no longer skip
5220 "before run" tests on is_remote target boards. Update comments.
5221 * boards/native-extended-gdbserver.exp
5222 (extended_gdbserver_load_last_file): New, factored out from ...
5223 (gdb_load): ... this. Move further below and add comment.
5224 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5225
52262017-10-12 Pedro Alves <palves@redhat.com>
5227
5228 * gdb.base/attach.exp: Remove references to gdb64.
5229 * gdb.base/dbx.exp: Remove references to gdb64.
5230
52312017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5232 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.base/label.exp: Remove is_remote target check.
5235
52362017-10-12 Pedro Alves <palves@redhat.com>
5237
5238 * gdb.base/auvx.exp (coredir): Update comment.
5239 (top level) <core_works>: Use "set cwd" command instead of "cd"
5240 command.
5241
52422017-10-12 Pedro Alves <palves@redhat.com>
5243 Simon Marchi <simon.marchi@polymtl.ca>
5244
5245 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5246 target boards.
5247
52482017-10-12 Pedro Alves <palves@redhat.com>
5249 Simon Marchi <simon.marchi@polymtl.ca>
5250
5251 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5252 Instead skip if there's any gdb_protocol set.
5253
52542017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5255 Pedro Alves <palves@redhat.com>
5256
5257 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5258
52592017-10-12 Pedro Alves <palves@redhat.com>
5260 Simon Marchi <simon.marchi@polymtl.ca>
5261
5262 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5263 instead of on dejagnu remote boards.
5264
52652017-10-12 Pedro Alves <palves@redhat.com>
5266 Simon Marchi <simon.marchi@polymtl.ca>
5267
5268 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5269 checks. Use build_executable + clean_restart instead of
5270 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5271 of enabling non-stop after starting gdb.
5272
52732017-10-12 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5276 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5277 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5278 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5279
52802017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5281
5282 * gdb.arch/arc-tdesc-cpu.exp: New file.
5283 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5284
52852017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5286
5287 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5288
52892017-10-10 Pedro Alves <palves@redhat.com>
5290
5291 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5292 expect CLI output.
5293
52942017-10-10 Pedro Alves <palves@redhat.com>
5295
5296 * lib/selftest-support.exp (selftest_setup): Update for
5297 captured_command_loop's prototype change.
5298
52992017-10-09 Pedro Alves <palves@redhat.com>
5300
5301 Test both arch1=>arch2 and arch2=>arch1.
5302
5303 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5304 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5305 factored out to...
5306 (append_arch1_options, append_arch2_options, append_arch_options)
5307 (build_executables): New procedures.
5308 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5309 local.
5310 (top level): Add new 'first_arch' testing axis.
5311
53122017-10-09 Pedro Alves <palves@redhat.com>
5313
5314 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5315 (barrier): New.
5316 (thread_start, all_started): New functions.
5317 (main): Spawn new thread and wait until it is scheduled.
5318 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5319 option.
5320 (do_test): Add 'selected_thread' parameter. Run to all_started
5321 instead of main. Explicitly set the breakpoint at main. Switch
5322 to the SELECTED_THREAD thread.
5323 (top level): Test handling the exec event with either the main
5324 thread or the second thread selected.
5325
53262017-10-09 Pedro Alves <palves@redhat.com>
5327
5328 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5329 logic. Move STOP marker after the value checks.
5330 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5331 regexp.
5332
53332017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5334
5335 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5336
53372017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5338
5339 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5340 integer-to-dfp conversion.
5341 * gdb.base/dfp-test.exp: Likewise.
5342
53432017-10-04 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.multi/hangout.c: Include <unistd.h>.
5346 (hangout_loop): New function.
5347 (main): Call alarm. Call hangout_loop in a loop.
5348 * gdb.multi/hello.c: Include <unistd.h>.
5349 (hello_loop): New function.
5350 (main): Call alarm. Call hangout_loop in a loop.
5351 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5352 inferior with the other selected.
5353
53542017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5355
5356 * gdb.mi/list-thread-groups-available.exp: New file.
5357 * gdb.mi/list-thread-groups-available.c: New file.
5358
53592017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5360
5361 * gdb.base/set-cwd.exp: Make it available on
5362 native-extended-gdbserver.
5363
53642017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5365
5366 * gdb.base/set-cwd.c: New file.
5367 * gdb.base/set-cwd.exp: Likewise.
5368
53692017-10-02 Tom Tromey <tom@tromey.com>
5370
5371 PR rust/22236:
5372 * gdb.rust/simple.rs (main): New variable "fslice".
5373 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5374
53752017-10-02 Tom Tromey <tom@tromey.com>
5376
5377 * gdb.rust/simple.exp: Test ptype of a slice.
5378
53792017-10-02 Tom Tromey <tom@tromey.com>
5380
5381 * gdb.rust/simple.exp: Test index of slice.
5382
53832017-09-27 Tom Tromey <tom@tromey.com>
5384
5385 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5386
53872017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5388 Pedro Alves <palves@redhat.com>
5389
5390 * gdb.base/compare-sections.exp (get value of read-only section): Read
5391 as unsigned value.
5392 (corrupt read-only section): Likewise and don't set written if patching
5393 failed.
5394
53952017-09-21 Kevin Buettner <kevinb@redhat.com>
5396
5397 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5398 files.
5399
54002017-09-20 Pedro Alves <palves@redhat.com>
5401
5402 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5403 symbol names in gdb's output.
5404 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5405
54062017-09-20 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5409 Rename to ...
5410 (test_list_ambiguous_symbol): ... this and add a symbol name
5411 parameter. Adjust.
5412 (test_list_ambiguous_function): Reimplement on top of
5413 test_list_ambiguous_symbol and also test listing ambiguous
5414 variables.
5415 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5416 (ambiguous_fun): ... this.
5417 (ambiguous_var): New.
5418 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5419 (ambiguous_fun): ... this.
5420 (ambiguous_var): New.
5421
54222017-09-19 John Baldwin <jhb@FreeBSD.org>
5423
5424 * gdb.base/starti.c: New file.
5425 * gdb.base/starti.exp: New file.
5426 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5427
54282017-09-14 Pedro Alves <palves@redhat.com>
5429
5430 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5431 (top level): Use it instead of runto.
5432
54332017-09-11 Tom Tromey <tom@tromey.com>
5434
5435 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5436
54372017-09-11 Tom Tromey <tom@tromey.com>
5438
5439 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5440 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5441
54422017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5443
5444 * gdb.fortran/printing-types.exp: New file.
5445 * gdb.fortran/printing-types.exp: New file.
5446
54472017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5448
5449 * gdb.fortran/vla-ptype.exp: Fix typos.
5450 * gdb.fortran/vla-value.exp: Same.
5451
54522017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5453
5454 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5455 * gdb.mi/mi-var-child-f.exp: Likewise.
5456 * gdb.mi/mi-vla-fortran.exp: Likewise.
5457
54582017-09-08 Frank Penczek <frank.penczek@intel.com>
5459 Christoph Weinmann <christoph.t.weinmann@intel.com>
5460 Bernhard Heckel <bernhard.heckel@intel.com>
5461
5462 * gdb.fortran/ptr-indentation.f90: New file.
5463 * gdb.fortran/ptr-indentation.exp: New file.
5464
54652017-09-05 Tom Tromey <tom@tromey.com>
5466
5467 PR gdb/22010:
5468 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5469
54702017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5471
5472 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5473
54742017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5475
5476 * gdb.threads/tls-nodebug-pie.c: New file.
5477 * gdb.threads/tls-nodebug-pie.exp: New file.
5478
54792017-09-05 Tom Tromey <tom@tromey.com>
5480
5481 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5482 for rust.
5483
54842017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5485
5486 * gdb.multi/multi-arch-exec.exp: Test with different
5487 "follow-exec-mode" settings.
5488 (do_test): New procedure.
5489
54902017-09-04 Pedro Alves <palves@redhat.com>
5491
5492 * gdb.base/func-static.c (S::method const, S::method volatile)
5493 (S::method volatile const): New methods.
5494 (c_s, v_s, cv_s): New instances.
5495 (main): Call method() on them.
5496 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5497 (cannot_resolve): New procedure.
5498 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5499 print-quote-unquoted columns.
5500 (do_test): Test printing each scope too.
5501
55022017-09-04 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.base/local-static.exp: Also test with
5505 class::method::variable wholly quoted.
5506 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5507
55082017-09-04 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.base/local-static.c: New.
5511 * gdb.base/local-static.cc: New.
5512 * gdb.base/local-static.exp: New.
5513
55142017-09-04 Pedro Alves <palves@redhat.com>
5515
5516 * gdb.asm/asm-source.exp: Add casts to int.
5517 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5518 (dataglobal64_1, dataglobal64_2): New globals.
5519 * gdb.base/nodebug.exp: Test different expressions involving the
5520 new globals, with print, whatis and ptype. Add casts to int.
5521 * gdb.base/solib-display.exp: Add casts to int.
5522 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5523 * gdb.cp/m-static.exp: Add cast to int.
5524 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5525 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5526 tls variable with no debug info without a cast. Test with a cast
5527 to int too.
5528 * gdb.trace/entry-values.exp: Add casts.
5529
55302017-09-04 Pedro Alves <palves@redhat.com>
5531
5532 * gdb.base/nodebug.exp: Test that ptype's error about functions
5533 with unknown return type includes the function name too.
5534
55352017-09-04 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5538 return type of munmap in infcall.
5539 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5540 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5541 type of ftell in infcall.
5542 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5543 type of getpid in infcall.
5544 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5545 infcall.
5546 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5547 Bail on failure to extract the pid.
5548 * gdb.base/nodebug.c: #include <stdint.h>.
5549 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5550 New functions.
5551 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5552 Change expected output of print/whatis/ptype with functions with
5553 no debug info. Test all supported languages. Call
5554 test_call_promotion.
5555 * gdb.compile/compile.exp: Adjust expected output to expect
5556 warning.
5557 * gdb.threads/siginfo-threads.exp: Likewise.
5558
55592017-09-04 Pedro Alves <palves@redhat.com>
5560
5561 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5562 "prototypes". Test calling float functions via prototyped and
5563 unprototyped function pointers.
5564 (perform_all_tests): New parameter "prototypes". Pass it down.
5565 (top level): Pass down "prototypes" parameter to
5566 perform_all_tests.
5567
55682017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5569
5570 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5571 Test with nested loops.
5572
55732017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5574
5575 * gdb.base/commands.exp: Call the new procedures.
5576 (loop_break_test, loop_continue_test): New procedures.
5577
55782017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5579
5580 * gdb.base/commands.exp: Call new procedure.
5581 (define_if_without_arg_test): New procedure.
5582
55832017-09-04 Pedro Alves <palves@redhat.com>
5584
5585 * gdb.base/list-ambiguous.exp: New file.
5586 * gdb.base/list-ambiguous0.c: New file.
5587 * gdb.base/list-ambiguous1.c: New file.
5588 * gdb.base/list.exp (test_list_range): Adjust expected output.
5589
55902017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5591
5592 * gdb.base/share-env-with-gdbserver.c: New file.
5593 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5594
55952017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5596
5597 * gdb.base/commands.exp (gdbvar_simple_if_test,
5598 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5599 progvar_simple_if_test, progvar_simple_while_test,
5600 progvar_complex_if_while_test, user_defined_command_test,
5601 user_defined_command_args_eval,
5602 user_defined_command_args_stack_test,
5603 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5604 temporary_breakpoint_commands,
5605 gdb_test_no_prompt, redefine_hook_test,
5606 redefine_backtrace_test): Remove "global gdb_prompt".
5607
56082017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5609
5610 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5611 New proc, call it from toplevel.
5612
56132017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5614
5615 PR remote/21852
5616 * gdb.server/normal.c: New file, copied from gdb.base.
5617 * gdb.server/run-without-local-binary.exp: New file.
5618
56192017-08-07 Weimin Pan <weimin.pan@oracle.com>
5620
5621 * gdb.arch/sparc64-adi.exp: New file.
5622 * gdb.arch/sparc64-adi.c: New file.
5623
56242017-08-22 Pedro Alves <palves@redhat.com>
5625
5626 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5627 (top level): Add "list all overloads" tests.
5628
56292017-08-22 Tom Tromey <tom@tromey.com>
5630
5631 * gdb.gdb/xfullpath.exp: Remove.
5632
56332017-08-21 Pedro Alves <palves@redhat.com>
5634
5635 PR gdb/19487
5636 * gdb.base/symbol-alias.c: New.
5637 * gdb.base/symbol-alias2.c: New.
5638 * gdb.base/symbol-alias.exp: New.
5639
56402017-08-21 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.base/dfp-test.c
5643 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5644 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5645 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5646 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5647 * gdb.base/whatis-ptype-typedefs.c: New.
5648 * gdb.base/whatis-ptype-typedefs.exp: New.
5649 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5650 (an_int, an_int_type, an_int_type2): New globals.
5651 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5652 involving typedefs and cast expressions.
5653 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5654 (lookup_typedefs_function): New.
5655 (typedefs_pretty_printers_dict): New.
5656 (top level): Register lookup_typedefs_function in
5657 gdb.pretty_printers.
5658
56592017-08-18 Yao Qi <yao.qi@linaro.org>
5660
5661 * gdb.server/unittest.exp: New.
5662
56632017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5664
5665 PR gdb/21954
5666 * gdb.base/environ.exp: Add test to check if 'unset environment'
5667 works.
5668
56692017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5670
5671 * lib/gdb.exp (universal_compile_options): New caching proc.
5672 (gdb_compile): Suppress GCC's coloring of messages.
5673
56742017-08-14 Tom Tromey <tom@tromey.com>
5675
5676 PR gdb/21675:
5677 * gdb.base/printcmds.exp (test_radices): New function.
5678 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5679 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5680 * lib/gdb.exp (get_integer_valueof): Use p/d.
5681
56822017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5683
5684 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5685 characters.
5686
56872017-08-05 Tom Tromey <tom@tromey.com>
5688
5689 * gdb.rust/simple.exp: Allow String to appear in a different
5690 namespace.
5691
56922017-07-26 Yao Qi <yao.qi@linaro.org>
5693
5694 * gdb.gdb/unittest.exp: Invoke command
5695 "maintenance check xml-descriptions".
5696
56972017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5698
5699 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5700 calling context.
5701 (hex128): Drop erroneous calculation of parameters.
5702
57032017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5704
5705 * gdb.python/py-unwind.exp: Disable stack protection when
5706 building test file.
5707
57082017-07-20 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/default.exp (set language): Adjust expected output.
5711
57122017-07-20 Pedro Alves <palves@redhat.com>
5713
5714 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5715 (test_minsym): ... this, and make static.
5716 (get_pck__foo__bar__minsym): Rename to ...
5717 (get_test_minsym): ... this.
5718 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5719 symbol names and comments.
5720 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5721 (get_test_minsym): ... this.
5722 (pck__foo__bar__minsym__2): Rename to ...
5723 (test_minsym): ... this.
5724 (main): Adjust.
5725
57262017-07-17 Pedro Alves <palves@redhat.com>
5727
5728 * gdb.base/completion.exp: Adjust expected output.
5729 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5730 the completer works.
5731
57322017-07-17 Pedro Alves <palves@redhat.com>
5733
5734 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5735
57362017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5737
5738 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5739
57402017-07-14 Tom Tromey <tom@tromey.com>
5741
5742 PR rust/21764:
5743 * gdb.rust/simple.exp: Add tests.
5744
57452017-07-14 Tom Tromey <tom@tromey.com>
5746
5747 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5748
57492017-07-14 Pedro Alves <palves@redhat.com>
5750
5751 * gdb.linespec/base/one/thefile.cc (z1): New function.
5752 * gdb.linespec/base/two/thefile.cc (z2): New function.
5753 * gdb.linespec/linespec.exp: Add tests.
5754
57552017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5756
5757 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5758 to mi_create_breakpoint.
5759
57602017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5761
5762 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5763 mi_create_breakpoint.
5764
57652017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5766
5767 * gdb.dlang/demangle.exp: Update for demangling changes.
5768
57692017-07-09 Tom Tromey <tom@tromey.com>
5770
5771 * gdb.dwarf2/shortpiece.exp: New file.
5772
57732017-07-06 David Blaikie <dblaikie@gmail.com>
5774
5775 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5776 built from fissiont-multi-cu{1,2}.c.
5777 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5778 except putting 'main' and 'func' in separate CUs in the same DWO file.
5779 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5780 test.
5781 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5782 test.
5783
57842017-07-06 Pedro Alves <palves@redhat.com>
5785
5786 * gdb.python/py-unwind.exp: Test flushregs.
5787
57882017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5789
5790 PR cli/21688
5791 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5792 tests for alias commands and trailing whitespace.
5793
57942017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5795
5796 PR cli/21688
5797 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5798 procedure. Call it.
5799
58002017-06-29 Pedro Alves <palves@redhat.com>
5801
5802 * gdb.base/printcmds.exp: Add tests.
5803
58042017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5805
5806 PR gdb/21337
5807 * gdb.base/reread-readsym.exp: New file.
5808 * gdb.base/reread-readsym.c: New file.
5809
58102017-06-21 Kevin Buettner <kevinb@redhat.com>
5811
5812 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5813 subpattern.
5814
58152017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5816
5817 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5818 extended mnemonic.
5819 * gdb.arch/powerpc-power9.s: Likewise.
5820
58212017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5822
5823 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5824 on 32-bit x86 targets. Exploit is_*_target macros where
5825 appropriate.
5826
58272017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5828
5829 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5830 register pieces.
5831
58322017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5833
5834 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5835 located in one or more DWARF pieces.
5836
58372017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5838
5839 * lib/gdb.exp (get_endianness): New proc.
5840 * gdb.arch/aarch64-fp.exp: Use it.
5841 * gdb.arch/altivec-regs.exp: Likewise.
5842 * gdb.arch/e500-regs.exp: Likewise.
5843 * gdb.arch/vsx-regs.exp: Likewise.
5844 * gdb.base/dump.exp: Likewise.
5845 * gdb.base/funcargs.exp: Likewise.
5846 * gdb.base/gnu_vector.exp: Likewise.
5847 * gdb.dwarf2/formdata16.exp: Likewise.
5848 * gdb.dwarf2/implptrpiece.exp: Likewise.
5849 * gdb.dwarf2/nonvar-access.exp: Likewise.
5850 * gdb.python/py-inferior.exp: Likewise.
5851 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5852
58532017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5854
5855 PR gdb/21226
5856 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5857 stack value pieces are taken from the LSB end.
5858
58592017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5860
5861 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5862 variable at nonzero offset.
5863
58642017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5865
5866 * gdb.dwarf2/var-access.c: New file.
5867 * gdb.dwarf2/var-access.exp: New test.
5868 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5869
58702017-06-12 Tom Tromey <tom@tromey.com>
5871
5872 * gdb.dwarf2/formdata16.exp: Add tests.
5873
58742017-06-12 Tom Tromey <tom@tromey.com>
5875
5876 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5877
58782017-06-12 Tom Tromey <tom@tromey.com>
5879
5880 PR exp/16225:
5881 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5882 * gdb.arch/vsx-regs.exp: Update tests.
5883 * gdb.arch/s390-vregs.exp (hex128): New proc.
5884 Update test.
5885 * gdb.arch/altivec-regs.exp: Update tests.
5886
58872017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5888
5889 * gdb.base/startup-with-shell.c: New file.
5890 * gdb.base/startup-with-shell.exp: Likewise.
5891
58922017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5893
5894 * gdb.server/non-existing-program.exp: Update regex in order to
5895 reflect the fact that gdbserver is now using fork_inferior (with a
5896 shell) to startup the inferior.
5897
58982017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5899
5900 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5901 support function calls from GDB.
5902
59032017-05-21 Tom Tromey <tom@tromey.com>
5904
5905 PR rust/21466:
5906 * gdb.rust/unsized.exp: New file.
5907 * gdb.rust/unsized.rs: New file.
5908
59092017-05-19 Tom Tromey <tom@tromey.com>
5910
5911 PR rust/21484:
5912 * gdb.rust/watch.exp: New file.
5913 * gdb.rust/watch.rs: New file.
5914
59152017-05-18 Tom Tromey <tom@tromey.com>
5916
5917 * gdb.rust/simple.exp: Allow Box to be qualified.
5918
59192017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5920
5921 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5922
59232017-05-18 Pedro Alves <palves@redhat.com>
5924
5925 * gdb.base/fileio.c (test_write, test_read, test_close)
5926 (test_fstat): Don't print 'ret' in the fail path.
5927
59282017-05-18 Pedro Alves <palves@redhat.com>
5929
5930 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5931 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5932 (test_system, test_rename, test_unlink, test_time): Change
5933 prototypes.
5934 * gdb.base/fileio.exp (stop_msg): Adjust.
5935
59362017-05-18 Pedro Alves <palves@redhat.com>
5937
5938 * gdb.base/fileio.c (null_str): New global.
5939 (test_stat): Use it.
5940 * gdb.base/fileio.exp: Remove nowarnings.
5941
59422017-05-17 Yao Qi <yao.qi@linaro.org>
5943
5944 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5945
59462017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5947
5948 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5949 argument command.
5950 (top-level): Invoke test_set_inferior_tty.
5951
59522017-05-04 Pedro Alves <palves@redhat.com>
5953
5954 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5955 Add parens to print call for Python 3.
5956
59572017-05-03 Keith Seitz <keiths@redhat.com>
5958
5959 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5960 (main): Call it.
5961
59622017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5963
5964 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5965 to prev and next.
5966
59672017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5968
5969 * gdb.python/py-record-btrace.exp: Remove test for
5970 gdb.BtraceInstruction.error.
5971
59722017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5973
5974 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5975
59762017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5977
5978 * gdb.python/py-record-btrace-threads.c: New file.
5979 * gdb.python/py-record-btrace-threads.exp: New file.
5980
59812017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5982
5983 PR testsuite/8595
5984 * gdb.base/environ.exp: Make test available in all architectures.
5985 Move bits related to "info program" testing to
5986 gdb.base/info-program.exp. Rewrite tests to use the two new
5987 procedures mentione below.
5988 (test_set_show_env_var) New procedure.
5989 (test_set_show_env_var_equal): Likewise.
5990 * gdb.base/info-program.exp: New file.
5991
59922017-04-27 Keith Seitz <keiths@redhat.com>
5993
5994 * gdb.cp/oranking.cc (test15): New function.
5995 (main): Call test15 and declare additional variables for testing.
5996 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5997 "p foo101('abc')" tests.
5998 Add tests for cv qualifier overloads.
5999 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6000 "lvalue reference overload" test.
6001 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6002 "print value of f1 on Child&& in f2" test.
6003
60042017-04-19 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6007 procedure.
6008 (top level): Call it.
6009 * lib/gdb.exp (gdb_define_cmd): New procedure.
6010
60112017-04-12 Pedro Alves <palves@redhat.com>
6012
6013 PR gdb/21323
6014 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6015 (wchar): New global.
6016 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6017 (do_test_wide_char, wide_char_types_no_program, top level): Add
6018 wchar_t testing.
6019
60202017-04-12 Pedro Alves <palves@redhat.com>
6021
6022 PR c++/21323
6023 * gdb.cp/wide_char_types.c: New file.
6024 * gdb.cp/wide_char_types.exp: New file.
6025
60262017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6027
6028 PR gdb/21352
6029 * gdb.trace/tsv.exp: Add test for "tsave -r".
6030
60312017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6032
6033 * gdb.dlang/watch-loc.c: New file.
6034 * gdb.dlang/watch-loc.exp: New file.
6035
60362017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6037
6038 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6039
60402017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6041
6042 * gdb.arch/arc-analyze-prologue.S: New file.
6043 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6044
60452017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6046
6047 * gdb.arch/arc-decode-insn.S: New file.
6048 * gdb.arch/arc-decode-insn.exp: Likewise.
6049
60502017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6051
6052 PR tdep/20928
6053 * gdb.arch/sparc64-regs.exp: New file.
6054 * gdb.arch/sparc64-regs.S: Likewise.
6055
60562017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6057
6058 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6059 and memory view on Python 3.
6060
60612017-03-20 Artemiy Volkov <artemiyv@acm.org>
6062 Keith Seitz <keiths@redhat.com>
6063
6064 PR gdb/14441
6065 * gdb.cp/demangle.exp: Add rvalue reference tests.
6066 * gdb.cp/rvalue-ref-casts.cc: New file.
6067 * gdb.cp/rvalue-ref-casts.exp: New file.
6068 * gdb.cp/rvalue-ref-overload.cc: New file.
6069 * gdb.cp/rvalue-ref-overload.exp: New file.
6070 * gdb.cp/rvalue-ref-params.cc: New file.
6071 * gdb.cp/rvalue-ref-params.exp: New file.
6072 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6073 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6074 * gdb.cp/rvalue-ref-types.cc: New file.
6075 * gdb.cp/rvalue-ref-types.exp: New file.
6076 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6077 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6078
60792017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6080
6081 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6082 New procedure.
6083
60842017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6085
6086 * lib/mi-support.exp (mi_gdb_test): Add additional message
6087 for unexpected output.
6088
60892017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6090
6091 * gdb.base/examine-backward.c (Barrier): New character array
6092 constant, to ensure that TestStrings is preceded by a string
6093 terminator.
6094
60952017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6096
6097 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6098 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6099 and implicit pointer into such a location.
6100
61012017-03-16 Doug Evans <dje@google.com>
6102
6103 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6104
61052017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6106
6107 * gdb.cp/m-static.exp: Fix expectation for prototype of
6108 test5.single_constructor and single_constructor::single_constructor.
6109
61102017-03-16 Doug Evans <dje@google.com>
6111
6112 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6113 * gdb.guile/scm-lazy-string.c: New file.
6114 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6115 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6116 for pointer, array, typedef lazy strings.
6117
61182017-03-16 Doug Evans <dje@google.com>
6119
6120 PR python/17728, python/18439, python/18779
6121 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6122 * gdb.python/py-lazy-string.c (pointer): New typedef.
6123 (main): New locals ptr, array, typedef_ptr.
6124 * gdb.python/py-value.exp: Move lazy string tests to ...
6125 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6126 array, typedef lazy strings.
6127
61282017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6129
6130 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6131 Add optional 'test' parameter.
6132
61332017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6134
6135 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6136 Skip for versions of DejaGnu < 1.5.
6137
61382017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6139
6140 * lib/gdb.exp (dejagnu_version): New proc.
6141 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6142 Use dejagnu_version.
6143
61442017-03-10 Keith Seitz <keiths@redhat.com>
6145
6146 PR c++/8128
6147 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6148 type from destructor regexps.
6149 Add a branch which actually passes the test.
6150 Adjust "ptype t5i" test names.
6151
61522017-03-08 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.base/step-over-exit.exp: Add explicit test message.
6155
61562017-03-08 Pedro Alves <palves@redhat.com>
6157
6158 PR gdb/18360
6159 * gdb.threads/interrupt-while-step-over.c: New file.
6160 * gdb.threads/interrupt-while-step-over.exp: New file.
6161
61622017-03-08 Pedro Alves <palves@redhat.com>
6163
6164 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6165 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6166
61672017-03-08 Pedro Alves <palves@redhat.com>
6168
6169 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6170 PKRU as not supported as a PASS.
6171
61722017-03-08 Pedro Alves <palves@redhat.com>
6173
6174 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6175 prefix instead of $binfile1/$binfile2.
6176 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6177 in test message.
6178 * gdb.python/py-completion.exp: Use "load python file" as test
6179 messages instead of unstable path names.
6180
61812017-03-08 Pedro Alves <palves@redhat.com>
6182 Jan Kratochvil <jan.kratochvil@redhat.com>
6183
6184 PR cli/21218
6185 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6186 New proc.
6187 (top level): Call it.
6188
61892017-03-08 Pedro Alves <palves@redhat.com>
6190
6191 PR tui/21216
6192 * gdb.tui/tui-nl-filtered-output.exp: New file.
6193
61942017-03-08 Pedro Alves <palves@redhat.com>
6195
6196 * gdb.base/completion.exp: Move TUI completion tests to ...
6197 * gdb.tui/completion.exp: ... this new file.
6198
61992017-03-08 Pedro Alves <palves@redhat.com>
6200
6201 * gdb.base/tui-disasm-long-lines.c,
6202 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6203 gdb.base/tui-layout.exp: Move to ...
6204 * gdb.tui/: ... this new directory.
6205
62062017-03-07 Pedro Alves <palves@redhat.com>
6207
6208 * gdb.base/tui-layout.c: New file.
6209 * gdb.base/tui-layout.exp: New file.
6210
62112017-03-07 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.base/tui-layout.c: Rename to ...
6214 * gdb.base/tui-disasm-long-lines.c: ... this.
6215 * gdb.base/tui-layout.exp: Rename to ...
6216 * gdb.base/tui-disasm-long-lines.exp: ... this.
6217
62182017-03-07 Pedro Alves <palves@redhat.com>
6219
6220 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6221
62222017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6223
6224 * i386-mpx-call.c: New file.
6225 * i386-mpx-call.exp: New file.
6226
62272017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6228
6229 * gdb.arch/powerpc-power.exp: Delete test.
6230 * gdb.arch/powerpc-power.s: Likewise.
6231 * gdb.disasm/disassembler-options.exp: New test.
6232 * gdb.arch/powerpc-altivec.exp: Likewise.
6233 * gdb.arch/powerpc-altivec.s: Likewise.
6234 * gdb.arch/powerpc-altivec2.exp: Likewise.
6235 * gdb.arch/powerpc-altivec2.s: Likewise.
6236 * gdb.arch/powerpc-altivec3.exp: Likewise.
6237 * gdb.arch/powerpc-altivec3.s: Likewise.
6238 * gdb.arch/powerpc-power7.exp: Likewise.
6239 * gdb.arch/powerpc-power7.s: Likewise.
6240 * gdb.arch/powerpc-power8.exp: Likewise.
6241 * gdb.arch/powerpc-power8.s: Likewise.
6242 * gdb.arch/powerpc-power9.exp: Likewise.
6243 * gdb.arch/powerpc-power9.s: Likewise.
6244 * gdb.arch/powerpc-vsx.exp: Likewise.
6245 * gdb.arch/powerpc-vsx.s: Likewise.
6246 * gdb.arch/powerpc-vsx2.exp: Likewise.
6247 * gdb.arch/powerpc-vsx2.s: Likewise.
6248 * gdb.arch/powerpc-vsx3.exp: Likewise.
6249 * gdb.arch/powerpc-vsx3.s: Likewise.
6250 * gdb.arch/arm-disassembler-options.exp: Likewise.
6251 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6252 * gdb.arch/s390-disassembler-options.exp: Likewise.
6253
62542017-02-23 Luis Machado <lgustavo@codesourcery.com>
6255
6256 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6257 (check_supported_features): ... this. Changed return type to void.
6258 (supports_rdseed): New static global.
6259 (rdseed): Check supports_rdseed.
6260 (initialize): Call check_supported_features.
6261
62622017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6263
6264 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6265 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6266 and lqarx/stqcx.
6267 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6268 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6269
62702017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6271
6272 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6273 uppercase.
6274
62752017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6276
6277 * gdb.dwarf2/formdata16.c: New file.
6278 * gdb.dwarf2/formdata16.exp: New file.
6279 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6280
62812017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6282
6283 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6284 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6285 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6286 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6287 DW_AT_GNU_*.
6288
62892017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6290
6291 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6292
62932017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6294
6295 PR gdb/21164
6296 * gdb.base/maint.exp: Add testcases for when the commands do
6297 not have arguments.
6298
62992017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6300
6301 * gdb.cp/chained-calls.exp: Use p instead of P.
6302
63032017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6304
6305 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6306 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6307
63082017-02-14 Tom Tromey <tom@tromey.com>
6309
6310 PR python/13598:
6311 * gdb.python/py-events.exp: Add before_prompt event tests.
6312
63132017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6314
6315 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6316
63172017-02-13 Luis Machado <lgustavo@codesourcery.com>
6318
6319 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6320 (main): Call my_unique_function_name.
6321 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6322 completion of patterns with a single match.
6323 Add missing -re switches to gdb_test_multiple calls.
6324
63252017-02-13 Luis Machado <lgustavo@codesourcery.com>
6326
6327 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6328 return if core file is not recognized.
6329
63302017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6331
6332 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6333 and extra UIs.
6334
63352017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6336
6337 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6338 proc_with_prefix.
6339
63402017-02-10 Tom Tromey <tom@tromey.com>
6341
6342 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6343
63442017-02-10 Martin Galvan <martingalvan@sourceware.org>
6345
6346 PR gdb/21122
6347 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6348
63492017-02-08 Jerome Guitton <guitton@adacore.com>
6350
6351 * gdb.base/define.exp: Add test for command abbreviations
6352 in define.
6353
63542017-02-06 Luis Machado <lgustavo@codesourcery.com>
6355
6356 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6357 * gdb.reverse/insn-reverse-x86.c: New file.
6358
63592017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6360
6361 PR tdep/20936
6362 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6363
63642017-02-03 Tom Tromey <tom@tromey.com>
6365
6366 PR rust/21097:
6367 * gdb.rust/simple.exp: Add new tests.
6368
63692017-02-02 Pedro Alves <palves@redhat.com>
6370
6371 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6372 tests.
6373
63742017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6375
6376 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6377 taking a 2-byte value out of a 4-byte DWARF implicit value on
6378 big-endian targets.
6379 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6380 logic. Add test cases for DW_OP_implicit.
6381
63822017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6383
6384 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6385
63862017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6387
6388 * gdb.btrace/enable.exp: Call gdb_exit before
6389 skip_gdbserver_tests.
6390
63912017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6392
6393 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6394 GDBFLAGS.
6395
63962017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6397
6398 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6399 the test is skipped.
6400 * gdb.btrace/data.exp: Likewise.
6401 * gdb.btrace/delta.exp: Likewise.
6402 * gdb.btrace/dlopen.exp: Likewise.
6403 * gdb.btrace/enable-running.exp: Likewise.
6404 * gdb.btrace/enable.exp: Likewise.
6405 * gdb.btrace/exception.exp: Likewise.
6406 * gdb.btrace/function_call_history.exp: Likewise.
6407 * gdb.btrace/gcore.exp: Likewise.
6408 * gdb.btrace/instruction_history.exp: Likewise.
6409 * gdb.btrace/multi-thread-step.exp: Likewise.
6410 * gdb.btrace/nohist.exp: Likewise.
6411 * gdb.btrace/non-stop.exp: Likewise.
6412 * gdb.btrace/reconnect.exp: Likewise.
6413 * gdb.btrace/record_goto-step.exp: Likewise.
6414 * gdb.btrace/record_goto.exp: Likewise.
6415 * gdb.btrace/rn-dl-bind.exp: Likewise.
6416 * gdb.btrace/segv.exp: Likewise.
6417 * gdb.btrace/step.exp: Likewise.
6418 * gdb.btrace/stepi.exp: Likewise.
6419 * gdb.btrace/tailcall-only.exp: Likewise.
6420 * gdb.btrace/tailcall.exp: Likewise.
6421 * gdb.btrace/tsx.exp: Likewise.
6422 * gdb.btrace/unknown_functions.exp: Likewise.
6423 * gdb.btrace/vdso.exp: Likewise.
6424
64252017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6426
6427 * gdb.btrace/enable-running.c: New.
6428 * gdb.btrace/enable-running.exp: New.
6429
64302017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6431
6432 * gdb.arch/amd64-gs_base.c: New file.
6433 * gdb.arch/amd64-gs_base.exp: New file.
6434
64352017-01-26 Luis Machado <lgustavo@codesourcery.com>
6436
6437 * lib/memory.exp: Remove spurious empty newlines.
6438
64392017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6440
6441 * gdb.python/py-bad-printers.exp: Load python file using "source".
6442 * gdb.python/py-events.exp: Likewise.
6443 * gdb.python/py-evsignal.exp: Likewise.
6444 * gdb.python/py-evthreads.exp: Likewise.
6445 * gdb.python/py-frame-args.exp: Likewise.
6446 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6447 * gdb.python/py-framefilter-mi.exp: Likewise.
6448 * gdb.python/py-framefilter.exp: Likewise.
6449 * gdb.python/py-mi.exp: Likewise.
6450 * gdb.python/py-pp-maint.exp: Likewise.
6451 * gdb.python/py-pp-registration.exp: Likewise.
6452 * gdb.python/py-prettyprint.exp: Likewise.
6453 (run_lang_tests): Likewise.
6454 * gdb.python/py-typeprint.exp: Likewise.
6455
64562017-01-26 Luis Machado <lgustavo@codesourcery.com>
6457
6458 * lib/memory.exp: New file.
6459 * lib/gdb.exp: Load memory.exp.
6460 * gdb.base/memattr.exp (delete_memory): Move proc to
6461 lib/memory.exp and rename to delete_memory_regions.
6462 Replace delete_memory with delete_memory_regions.
6463 Cleanup memory regions before tests.
6464 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6465 before tests.
6466
64672017-01-26 Luis Machado <lgustavo@codesourcery.com>
6468
6469 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6470 files.
6471 (initialize): New function conditionally defined.
6472 (testcases): Move within conditional block.
6473 (main): Call initialize.
6474 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6475 of gdb.reverse/insn-reverse.c.
6476 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6477 gdb.reverse/insn-reverse.c.
6478
64792017-01-26 Yao Qi <yao.qi@linaro.org>
6480
6481 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6482 disassemble on address 0.
6483
64842017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6485 Yao Qi <yao.qi@linaro.org>
6486
6487 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6488 * gdb.dwarf2/implptr-64bit.S: Remove.
6489 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6490 variables in caller's context. Add DW_OP_implicit_value.
6491
64922017-01-25 Yao Qi <yao.qi@linaro.org>
6493
6494 * lib/dwarf.exp (Dwarf::_location): Handle
6495 DW_OP_GNU_implicit_pointer with proper size.
6496
64972017-01-20 Luis Machado <lgustavo@codesourcery.com>
6498
6499 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6500 and add untested calls.
6501
65022017-01-20 Luis Machado <lgustavo@codesourcery.com>
6503
6504 * gdb.python/python.exp: Check line number against what GDB thinks
6505 the line number is for func1.
6506
65072017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6508
6509 * gdb.dlang/debug-expr.exp: New file.
6510
65112016-12-23 Luis Machado <lgustavo@codesourcery.com>
6512
6513 Fix test names for the following files:
6514
6515 * gdb.ada/exec_changed.exp
6516 * gdb.ada/info_types.exp
6517 * gdb.arch/aarch64-atomic-inst.exp
6518 * gdb.arch/aarch64-fp.exp
6519 * gdb.arch/altivec-abi.exp
6520 * gdb.arch/altivec-regs.exp
6521 * gdb.arch/amd64-byte.exp
6522 * gdb.arch/amd64-disp-step.exp
6523 * gdb.arch/amd64-dword.exp
6524 * gdb.arch/amd64-entry-value-inline.exp
6525 * gdb.arch/amd64-entry-value-param.exp
6526 * gdb.arch/amd64-entry-value-paramref.exp
6527 * gdb.arch/amd64-entry-value.exp
6528 * gdb.arch/amd64-i386-address.exp
6529 * gdb.arch/amd64-invalid-stack-middle.exp
6530 * gdb.arch/amd64-invalid-stack-top.exp
6531 * gdb.arch/amd64-optimout-repeat.exp
6532 * gdb.arch/amd64-prologue-skip.exp
6533 * gdb.arch/amd64-prologue-xmm.exp
6534 * gdb.arch/amd64-stap-special-operands.exp
6535 * gdb.arch/amd64-stap-wrong-subexp.exp
6536 * gdb.arch/amd64-tailcall-cxx.exp
6537 * gdb.arch/amd64-tailcall-noret.exp
6538 * gdb.arch/amd64-tailcall-ret.exp
6539 * gdb.arch/amd64-tailcall-self.exp
6540 * gdb.arch/amd64-word.exp
6541 * gdb.arch/arm-bl-branch-dest.exp
6542 * gdb.arch/arm-disp-step.exp
6543 * gdb.arch/arm-neon.exp
6544 * gdb.arch/arm-single-step-kernel-helper.exp
6545 * gdb.arch/avr-flash-qualifier.exp
6546 * gdb.arch/disp-step-insn-reloc.exp
6547 * gdb.arch/e500-abi.exp
6548 * gdb.arch/e500-regs.exp
6549 * gdb.arch/ftrace-insn-reloc.exp
6550 * gdb.arch/i386-avx512.exp
6551 * gdb.arch/i386-bp_permanent.exp
6552 * gdb.arch/i386-byte.exp
6553 * gdb.arch/i386-cfi-notcurrent.exp
6554 * gdb.arch/i386-disp-step.exp
6555 * gdb.arch/i386-dr3-watch.exp
6556 * gdb.arch/i386-float.exp
6557 * gdb.arch/i386-gnu-cfi.exp
6558 * gdb.arch/i386-mpx-map.exp
6559 * gdb.arch/i386-mpx-sigsegv.exp
6560 * gdb.arch/i386-mpx-simple_segv.exp
6561 * gdb.arch/i386-mpx.exp
6562 * gdb.arch/i386-permbkpt.exp
6563 * gdb.arch/i386-prologue.exp
6564 * gdb.arch/i386-signal.exp
6565 * gdb.arch/i386-size-overlap.exp
6566 * gdb.arch/i386-unwind.exp
6567 * gdb.arch/i386-word.exp
6568 * gdb.arch/mips-fcr.exp
6569 * gdb.arch/powerpc-d128-regs.exp
6570 * gdb.arch/powerpc-stackless.exp
6571 * gdb.arch/ppc64-atomic-inst.exp
6572 * gdb.arch/s390-stackless.exp
6573 * gdb.arch/s390-tdbregs.exp
6574 * gdb.arch/s390-vregs.exp
6575 * gdb.arch/sparc-sysstep.exp
6576 * gdb.arch/thumb-bx-pc.exp
6577 * gdb.arch/thumb-singlestep.exp
6578 * gdb.arch/thumb2-it.exp
6579 * gdb.arch/vsx-regs.exp
6580 * gdb.asm/asm-source.exp
6581 * gdb.base/a2-run.exp
6582 * gdb.base/advance.exp
6583 * gdb.base/all-bin.exp
6584 * gdb.base/anon.exp
6585 * gdb.base/args.exp
6586 * gdb.base/arithmet.exp
6587 * gdb.base/async-shell.exp
6588 * gdb.base/async.exp
6589 * gdb.base/attach-pie-noexec.exp
6590 * gdb.base/attach-twice.exp
6591 * gdb.base/auto-load.exp
6592 * gdb.base/bang.exp
6593 * gdb.base/bitfields.exp
6594 * gdb.base/break-always.exp
6595 * gdb.base/break-caller-line.exp
6596 * gdb.base/break-entry.exp
6597 * gdb.base/break-inline.exp
6598 * gdb.base/break-on-linker-gcd-function.exp
6599 * gdb.base/break-probes.exp
6600 * gdb.base/break.exp
6601 * gdb.base/breakpoint-shadow.exp
6602 * gdb.base/call-ar-st.exp
6603 * gdb.base/call-sc.exp
6604 * gdb.base/call-signal-resume.exp
6605 * gdb.base/call-strs.exp
6606 * gdb.base/callfuncs.exp
6607 * gdb.base/catch-fork-static.exp
6608 * gdb.base/catch-gdb-caused-signals.exp
6609 * gdb.base/catch-load.exp
6610 * gdb.base/catch-signal-fork.exp
6611 * gdb.base/catch-signal.exp
6612 * gdb.base/catch-syscall.exp
6613 * gdb.base/charset.exp
6614 * gdb.base/checkpoint.exp
6615 * gdb.base/chng-syms.exp
6616 * gdb.base/code-expr.exp
6617 * gdb.base/code_elim.exp
6618 * gdb.base/commands.exp
6619 * gdb.base/completion.exp
6620 * gdb.base/complex.exp
6621 * gdb.base/cond-expr.exp
6622 * gdb.base/condbreak.exp
6623 * gdb.base/consecutive.exp
6624 * gdb.base/continue-all-already-running.exp
6625 * gdb.base/coredump-filter.exp
6626 * gdb.base/corefile.exp
6627 * gdb.base/dbx.exp
6628 * gdb.base/debug-expr.exp
6629 * gdb.base/define.exp
6630 * gdb.base/del.exp
6631 * gdb.base/disabled-location.exp
6632 * gdb.base/disasm-end-cu.exp
6633 * gdb.base/disasm-optim.exp
6634 * gdb.base/display.exp
6635 * gdb.base/duplicate-bp.exp
6636 * gdb.base/ena-dis-br.exp
6637 * gdb.base/ending-run.exp
6638 * gdb.base/enumval.exp
6639 * gdb.base/environ.exp
6640 * gdb.base/eu-strip-infcall.exp
6641 * gdb.base/eval-avoid-side-effects.exp
6642 * gdb.base/eval-skip.exp
6643 * gdb.base/exitsignal.exp
6644 * gdb.base/expand-psymtabs.exp
6645 * gdb.base/filesym.exp
6646 * gdb.base/find-unmapped.exp
6647 * gdb.base/finish.exp
6648 * gdb.base/float.exp
6649 * gdb.base/foll-exec-mode.exp
6650 * gdb.base/foll-exec.exp
6651 * gdb.base/foll-fork.exp
6652 * gdb.base/fortran-sym-case.exp
6653 * gdb.base/freebpcmd.exp
6654 * gdb.base/func-ptr.exp
6655 * gdb.base/func-ptrs.exp
6656 * gdb.base/funcargs.exp
6657 * gdb.base/gcore-buffer-overflow.exp
6658 * gdb.base/gcore-relro-pie.exp
6659 * gdb.base/gcore-relro.exp
6660 * gdb.base/gcore.exp
6661 * gdb.base/gdb1090.exp
6662 * gdb.base/gdb11530.exp
6663 * gdb.base/gdb11531.exp
6664 * gdb.base/gdb1821.exp
6665 * gdb.base/gdbindex-stabs.exp
6666 * gdb.base/gdbvars.exp
6667 * gdb.base/hbreak.exp
6668 * gdb.base/hbreak2.exp
6669 * gdb.base/included.exp
6670 * gdb.base/infcall-input.exp
6671 * gdb.base/inferior-died.exp
6672 * gdb.base/infnan.exp
6673 * gdb.base/info-macros.exp
6674 * gdb.base/info-os.exp
6675 * gdb.base/info-proc.exp
6676 * gdb.base/info-shared.exp
6677 * gdb.base/info-target.exp
6678 * gdb.base/infoline.exp
6679 * gdb.base/interp.exp
6680 * gdb.base/interrupt.exp
6681 * gdb.base/jit-reader.exp
6682 * gdb.base/jit-simple.exp
6683 * gdb.base/kill-after-signal.exp
6684 * gdb.base/kill-detach-inferiors-cmd.exp
6685 * gdb.base/label.exp
6686 * gdb.base/langs.exp
6687 * gdb.base/ldbl_e308.exp
6688 * gdb.base/line-symtabs.exp
6689 * gdb.base/linespecs.exp
6690 * gdb.base/list.exp
6691 * gdb.base/long_long.exp
6692 * gdb.base/longest-types.exp
6693 * gdb.base/maint.exp
6694 * gdb.base/max-value-size.exp
6695 * gdb.base/memattr.exp
6696 * gdb.base/mips_pro.exp
6697 * gdb.base/morestack.exp
6698 * gdb.base/moribund-step.exp
6699 * gdb.base/multi-forks.exp
6700 * gdb.base/nested-addr.exp
6701 * gdb.base/nextoverexit.exp
6702 * gdb.base/noreturn-finish.exp
6703 * gdb.base/noreturn-return.exp
6704 * gdb.base/nostdlib.exp
6705 * gdb.base/offsets.exp
6706 * gdb.base/opaque.exp
6707 * gdb.base/pc-fp.exp
6708 * gdb.base/permissions.exp
6709 * gdb.base/print-symbol-loading.exp
6710 * gdb.base/prologue-include.exp
6711 * gdb.base/psymtab.exp
6712 * gdb.base/ptype.exp
6713 * gdb.base/random-signal.exp
6714 * gdb.base/randomize.exp
6715 * gdb.base/range-stepping.exp
6716 * gdb.base/readline-ask.exp
6717 * gdb.base/recpar.exp
6718 * gdb.base/recurse.exp
6719 * gdb.base/relational.exp
6720 * gdb.base/restore.exp
6721 * gdb.base/return-nodebug.exp
6722 * gdb.base/return.exp
6723 * gdb.base/run-after-attach.exp
6724 * gdb.base/save-bp.exp
6725 * gdb.base/scope.exp
6726 * gdb.base/sect-cmd.exp
6727 * gdb.base/set-lang-auto.exp
6728 * gdb.base/set-noassign.exp
6729 * gdb.base/setvar.exp
6730 * gdb.base/sigall.exp
6731 * gdb.base/sigbpt.exp
6732 * gdb.base/siginfo-addr.exp
6733 * gdb.base/siginfo-infcall.exp
6734 * gdb.base/siginfo-obj.exp
6735 * gdb.base/siginfo.exp
6736 * gdb.base/signals-state-child.exp
6737 * gdb.base/signest.exp
6738 * gdb.base/sigstep.exp
6739 * gdb.base/sizeof.exp
6740 * gdb.base/skip.exp
6741 * gdb.base/solib-corrupted.exp
6742 * gdb.base/solib-nodir.exp
6743 * gdb.base/solib-search.exp
6744 * gdb.base/stack-checking.exp
6745 * gdb.base/stale-infcall.exp
6746 * gdb.base/stap-probe.exp
6747 * gdb.base/start.exp
6748 * gdb.base/step-break.exp
6749 * gdb.base/step-bt.exp
6750 * gdb.base/step-line.exp
6751 * gdb.base/step-over-exit.exp
6752 * gdb.base/step-over-syscall.exp
6753 * gdb.base/step-resume-infcall.exp
6754 * gdb.base/step-test.exp
6755 * gdb.base/store.exp
6756 * gdb.base/structs3.exp
6757 * gdb.base/sym-file.exp
6758 * gdb.base/symbol-without-target_section.exp
6759 * gdb.base/term.exp
6760 * gdb.base/testenv.exp
6761 * gdb.base/ui-redirect.exp
6762 * gdb.base/until.exp
6763 * gdb.base/unwindonsignal.exp
6764 * gdb.base/value-double-free.exp
6765 * gdb.base/vla-datatypes.exp
6766 * gdb.base/vla-ptr.exp
6767 * gdb.base/vla-sideeffect.exp
6768 * gdb.base/volatile.exp
6769 * gdb.base/watch-cond-infcall.exp
6770 * gdb.base/watch-cond.exp
6771 * gdb.base/watch-non-mem.exp
6772 * gdb.base/watch-read.exp
6773 * gdb.base/watch-vfork.exp
6774 * gdb.base/watchpoint-cond-gone.exp
6775 * gdb.base/watchpoint-delete.exp
6776 * gdb.base/watchpoint-hw-hit-once.exp
6777 * gdb.base/watchpoint-hw.exp
6778 * gdb.base/watchpoint-stops-at-right-insn.exp
6779 * gdb.base/watchpoints.exp
6780 * gdb.base/wchar.exp
6781 * gdb.base/whatis-exp.exp
6782 * gdb.btrace/buffer-size.exp
6783 * gdb.btrace/data.exp
6784 * gdb.btrace/delta.exp
6785 * gdb.btrace/dlopen.exp
6786 * gdb.btrace/enable.exp
6787 * gdb.btrace/exception.exp
6788 * gdb.btrace/function_call_history.exp
6789 * gdb.btrace/gcore.exp
6790 * gdb.btrace/instruction_history.exp
6791 * gdb.btrace/nohist.exp
6792 * gdb.btrace/reconnect.exp
6793 * gdb.btrace/record_goto-step.exp
6794 * gdb.btrace/record_goto.exp
6795 * gdb.btrace/rn-dl-bind.exp
6796 * gdb.btrace/segv.exp
6797 * gdb.btrace/step.exp
6798 * gdb.btrace/stepi.exp
6799 * gdb.btrace/tailcall-only.exp
6800 * gdb.btrace/tailcall.exp
6801 * gdb.btrace/tsx.exp
6802 * gdb.btrace/unknown_functions.exp
6803 * gdb.btrace/vdso.exp
6804 * gdb.compile/compile-ifunc.exp
6805 * gdb.compile/compile-ops.exp
6806 * gdb.compile/compile-print.exp
6807 * gdb.compile/compile-setjmp.exp
6808 * gdb.cp/abstract-origin.exp
6809 * gdb.cp/ambiguous.exp
6810 * gdb.cp/annota2.exp
6811 * gdb.cp/annota3.exp
6812 * gdb.cp/anon-ns.exp
6813 * gdb.cp/anon-struct.exp
6814 * gdb.cp/anon-union.exp
6815 * gdb.cp/arg-reference.exp
6816 * gdb.cp/baseenum.exp
6817 * gdb.cp/bool.exp
6818 * gdb.cp/breakpoint.exp
6819 * gdb.cp/bs15503.exp
6820 * gdb.cp/call-c.exp
6821 * gdb.cp/casts.exp
6822 * gdb.cp/chained-calls.exp
6823 * gdb.cp/class2.exp
6824 * gdb.cp/classes.exp
6825 * gdb.cp/cmpd-minsyms.exp
6826 * gdb.cp/converts.exp
6827 * gdb.cp/cp-relocate.exp
6828 * gdb.cp/cpcompletion.exp
6829 * gdb.cp/cpexprs.exp
6830 * gdb.cp/cplabel.exp
6831 * gdb.cp/cplusfuncs.exp
6832 * gdb.cp/cpsizeof.exp
6833 * gdb.cp/ctti.exp
6834 * gdb.cp/derivation.exp
6835 * gdb.cp/destrprint.exp
6836 * gdb.cp/dispcxx.exp
6837 * gdb.cp/enum-class.exp
6838 * gdb.cp/exception.exp
6839 * gdb.cp/exceptprint.exp
6840 * gdb.cp/expand-psymtabs-cxx.exp
6841 * gdb.cp/expand-sals.exp
6842 * gdb.cp/extern-c.exp
6843 * gdb.cp/filename.exp
6844 * gdb.cp/formatted-ref.exp
6845 * gdb.cp/fpointer.exp
6846 * gdb.cp/gdb1355.exp
6847 * gdb.cp/gdb2495.exp
6848 * gdb.cp/hang.exp
6849 * gdb.cp/impl-this.exp
6850 * gdb.cp/infcall-dlopen.exp
6851 * gdb.cp/inherit.exp
6852 * gdb.cp/iostream.exp
6853 * gdb.cp/koenig.exp
6854 * gdb.cp/local.exp
6855 * gdb.cp/m-data.exp
6856 * gdb.cp/m-static.exp
6857 * gdb.cp/mb-ctor.exp
6858 * gdb.cp/mb-inline.exp
6859 * gdb.cp/mb-templates.exp
6860 * gdb.cp/member-name.exp
6861 * gdb.cp/member-ptr.exp
6862 * gdb.cp/meth-typedefs.exp
6863 * gdb.cp/method.exp
6864 * gdb.cp/method2.exp
6865 * gdb.cp/minsym-fallback.exp
6866 * gdb.cp/misc.exp
6867 * gdb.cp/namelessclass.exp
6868 * gdb.cp/namespace-enum.exp
6869 * gdb.cp/namespace-nested-import.exp
6870 * gdb.cp/namespace.exp
6871 * gdb.cp/nextoverthrow.exp
6872 * gdb.cp/no-dmgl-verbose.exp
6873 * gdb.cp/non-trivial-retval.exp
6874 * gdb.cp/noparam.exp
6875 * gdb.cp/nsdecl.exp
6876 * gdb.cp/nsimport.exp
6877 * gdb.cp/nsnested.exp
6878 * gdb.cp/nsnoimports.exp
6879 * gdb.cp/nsrecurs.exp
6880 * gdb.cp/nsstress.exp
6881 * gdb.cp/nsusing.exp
6882 * gdb.cp/operator.exp
6883 * gdb.cp/oranking.exp
6884 * gdb.cp/overload-const.exp
6885 * gdb.cp/overload.exp
6886 * gdb.cp/ovldbreak.exp
6887 * gdb.cp/ovsrch.exp
6888 * gdb.cp/paren-type.exp
6889 * gdb.cp/parse-lang.exp
6890 * gdb.cp/pass-by-ref.exp
6891 * gdb.cp/pr-1023.exp
6892 * gdb.cp/pr-1210.exp
6893 * gdb.cp/pr-574.exp
6894 * gdb.cp/pr10687.exp
6895 * gdb.cp/pr12028.exp
6896 * gdb.cp/pr17132.exp
6897 * gdb.cp/pr17494.exp
6898 * gdb.cp/pr9067.exp
6899 * gdb.cp/pr9167.exp
6900 * gdb.cp/pr9631.exp
6901 * gdb.cp/printmethod.exp
6902 * gdb.cp/psmang.exp
6903 * gdb.cp/psymtab-parameter.exp
6904 * gdb.cp/ptype-cv-cp.exp
6905 * gdb.cp/ptype-flags.exp
6906 * gdb.cp/re-set-overloaded.exp
6907 * gdb.cp/ref-types.exp
6908 * gdb.cp/rtti.exp
6909 * gdb.cp/scope-err.exp
6910 * gdb.cp/shadow.exp
6911 * gdb.cp/smartp.exp
6912 * gdb.cp/static-method.exp
6913 * gdb.cp/static-print-quit.exp
6914 * gdb.cp/temargs.exp
6915 * gdb.cp/templates.exp
6916 * gdb.cp/try_catch.exp
6917 * gdb.cp/typedef-operator.exp
6918 * gdb.cp/typeid.exp
6919 * gdb.cp/userdef.exp
6920 * gdb.cp/using-crash.exp
6921 * gdb.cp/var-tag.exp
6922 * gdb.cp/virtbase.exp
6923 * gdb.cp/virtfunc.exp
6924 * gdb.cp/virtfunc2.exp
6925 * gdb.cp/vla-cxx.exp
6926 * gdb.disasm/t01_mov.exp
6927 * gdb.disasm/t02_mova.exp
6928 * gdb.disasm/t03_add.exp
6929 * gdb.disasm/t04_sub.exp
6930 * gdb.disasm/t05_cmp.exp
6931 * gdb.disasm/t06_ari2.exp
6932 * gdb.disasm/t07_ari3.exp
6933 * gdb.disasm/t08_or.exp
6934 * gdb.disasm/t09_xor.exp
6935 * gdb.disasm/t10_and.exp
6936 * gdb.disasm/t11_logs.exp
6937 * gdb.disasm/t12_bit.exp
6938 * gdb.disasm/t13_otr.exp
6939 * gdb.dlang/circular.exp
6940 * gdb.dwarf2/arr-stride.exp
6941 * gdb.dwarf2/arr-subrange.exp
6942 * gdb.dwarf2/atomic-type.exp
6943 * gdb.dwarf2/bad-regnum.exp
6944 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6945 * gdb.dwarf2/callframecfa.exp
6946 * gdb.dwarf2/clztest.exp
6947 * gdb.dwarf2/corrupt.exp
6948 * gdb.dwarf2/data-loc.exp
6949 * gdb.dwarf2/dup-psym.exp
6950 * gdb.dwarf2/dw2-anon-mptr.exp
6951 * gdb.dwarf2/dw2-anonymous-func.exp
6952 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6953 * gdb.dwarf2/dw2-bad-unresolved.exp
6954 * gdb.dwarf2/dw2-basic.exp
6955 * gdb.dwarf2/dw2-canonicalize-type.exp
6956 * gdb.dwarf2/dw2-case-insensitive.exp
6957 * gdb.dwarf2/dw2-common-block.exp
6958 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6959 * gdb.dwarf2/dw2-compressed.exp
6960 * gdb.dwarf2/dw2-const.exp
6961 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6962 * gdb.dwarf2/dw2-cu-size.exp
6963 * gdb.dwarf2/dw2-dup-frame.exp
6964 * gdb.dwarf2/dw2-entry-value.exp
6965 * gdb.dwarf2/dw2-icycle.exp
6966 * gdb.dwarf2/dw2-ifort-parameter.exp
6967 * gdb.dwarf2/dw2-inline-break.exp
6968 * gdb.dwarf2/dw2-inline-param.exp
6969 * gdb.dwarf2/dw2-intercu.exp
6970 * gdb.dwarf2/dw2-intermix.exp
6971 * gdb.dwarf2/dw2-lexical-block-bare.exp
6972 * gdb.dwarf2/dw2-linkage-name-trust.exp
6973 * gdb.dwarf2/dw2-minsym-in-cu.exp
6974 * gdb.dwarf2/dw2-noloc.exp
6975 * gdb.dwarf2/dw2-op-call.exp
6976 * gdb.dwarf2/dw2-op-out-param.exp
6977 * gdb.dwarf2/dw2-opt-structptr.exp
6978 * gdb.dwarf2/dw2-param-error.exp
6979 * gdb.dwarf2/dw2-producer.exp
6980 * gdb.dwarf2/dw2-ranges-base.exp
6981 * gdb.dwarf2/dw2-ref-missing-frame.exp
6982 * gdb.dwarf2/dw2-reg-undefined.exp
6983 * gdb.dwarf2/dw2-regno-invalid.exp
6984 * gdb.dwarf2/dw2-restore.exp
6985 * gdb.dwarf2/dw2-restrict.exp
6986 * gdb.dwarf2/dw2-single-line-discriminators.exp
6987 * gdb.dwarf2/dw2-strp.exp
6988 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6989 * gdb.dwarf2/dw2-unresolved.exp
6990 * gdb.dwarf2/dw2-var-zero-addr.exp
6991 * gdb.dwarf2/dw4-sig-types.exp
6992 * gdb.dwarf2/dwz.exp
6993 * gdb.dwarf2/dynarr-ptr.exp
6994 * gdb.dwarf2/enum-type.exp
6995 * gdb.dwarf2/gdb-index.exp
6996 * gdb.dwarf2/implptr-64bit.exp
6997 * gdb.dwarf2/implptr-optimized-out.exp
6998 * gdb.dwarf2/implptr.exp
6999 * gdb.dwarf2/implref-array.exp
7000 * gdb.dwarf2/implref-const.exp
7001 * gdb.dwarf2/implref-global.exp
7002 * gdb.dwarf2/implref-struct.exp
7003 * gdb.dwarf2/mac-fileno.exp
7004 * gdb.dwarf2/main-subprogram.exp
7005 * gdb.dwarf2/member-ptr-forwardref.exp
7006 * gdb.dwarf2/method-ptr.exp
7007 * gdb.dwarf2/missing-sig-type.exp
7008 * gdb.dwarf2/nonvar-access.exp
7009 * gdb.dwarf2/opaque-type-lookup.exp
7010 * gdb.dwarf2/pieces-optimized-out.exp
7011 * gdb.dwarf2/pieces.exp
7012 * gdb.dwarf2/pr10770.exp
7013 * gdb.dwarf2/pr13961.exp
7014 * gdb.dwarf2/staticvirtual.exp
7015 * gdb.dwarf2/subrange.exp
7016 * gdb.dwarf2/symtab-producer.exp
7017 * gdb.dwarf2/trace-crash.exp
7018 * gdb.dwarf2/typeddwarf.exp
7019 * gdb.dwarf2/valop.exp
7020 * gdb.dwarf2/watch-notconst.exp
7021 * gdb.fortran/array-element.exp
7022 * gdb.fortran/charset.exp
7023 * gdb.fortran/common-block.exp
7024 * gdb.fortran/complex.exp
7025 * gdb.fortran/derived-type-function.exp
7026 * gdb.fortran/derived-type.exp
7027 * gdb.fortran/logical.exp
7028 * gdb.fortran/module.exp
7029 * gdb.fortran/multi-dim.exp
7030 * gdb.fortran/nested-funcs.exp
7031 * gdb.fortran/print-formatted.exp
7032 * gdb.fortran/subarray.exp
7033 * gdb.fortran/vla-alloc-assoc.exp
7034 * gdb.fortran/vla-datatypes.exp
7035 * gdb.fortran/vla-history.exp
7036 * gdb.fortran/vla-ptr-info.exp
7037 * gdb.fortran/vla-ptype-sub.exp
7038 * gdb.fortran/vla-ptype.exp
7039 * gdb.fortran/vla-sizeof.exp
7040 * gdb.fortran/vla-type.exp
7041 * gdb.fortran/vla-value-sub-arbitrary.exp
7042 * gdb.fortran/vla-value-sub-finish.exp
7043 * gdb.fortran/vla-value-sub.exp
7044 * gdb.fortran/vla-value.exp
7045 * gdb.fortran/whatis_type.exp
7046 * gdb.go/chan.exp
7047 * gdb.go/handcall.exp
7048 * gdb.go/hello.exp
7049 * gdb.go/integers.exp
7050 * gdb.go/methods.exp
7051 * gdb.go/package.exp
7052 * gdb.go/strings.exp
7053 * gdb.go/types.exp
7054 * gdb.go/unsafe.exp
7055 * gdb.guile/scm-arch.exp
7056 * gdb.guile/scm-block.exp
7057 * gdb.guile/scm-breakpoint.exp
7058 * gdb.guile/scm-cmd.exp
7059 * gdb.guile/scm-disasm.exp
7060 * gdb.guile/scm-equal.exp
7061 * gdb.guile/scm-frame-args.exp
7062 * gdb.guile/scm-frame-inline.exp
7063 * gdb.guile/scm-frame.exp
7064 * gdb.guile/scm-iterator.exp
7065 * gdb.guile/scm-math.exp
7066 * gdb.guile/scm-objfile.exp
7067 * gdb.guile/scm-ports.exp
7068 * gdb.guile/scm-symbol.exp
7069 * gdb.guile/scm-symtab.exp
7070 * gdb.guile/scm-value-cc.exp
7071 * gdb.guile/types-module.exp
7072 * gdb.linespec/break-ask.exp
7073 * gdb.linespec/cpexplicit.exp
7074 * gdb.linespec/explicit.exp
7075 * gdb.linespec/keywords.exp
7076 * gdb.linespec/linespec.exp
7077 * gdb.linespec/ls-dollar.exp
7078 * gdb.linespec/ls-errs.exp
7079 * gdb.linespec/skip-two.exp
7080 * gdb.linespec/thread.exp
7081 * gdb.mi/mi-async.exp
7082 * gdb.mi/mi-basics.exp
7083 * gdb.mi/mi-break.exp
7084 * gdb.mi/mi-catch-load.exp
7085 * gdb.mi/mi-cli.exp
7086 * gdb.mi/mi-cmd-param-changed.exp
7087 * gdb.mi/mi-console.exp
7088 * gdb.mi/mi-detach.exp
7089 * gdb.mi/mi-disassemble.exp
7090 * gdb.mi/mi-eval.exp
7091 * gdb.mi/mi-file-transfer.exp
7092 * gdb.mi/mi-file.exp
7093 * gdb.mi/mi-fill-memory.exp
7094 * gdb.mi/mi-inheritance-syntax-error.exp
7095 * gdb.mi/mi-linespec-err-cp.exp
7096 * gdb.mi/mi-logging.exp
7097 * gdb.mi/mi-memory-changed.exp
7098 * gdb.mi/mi-read-memory.exp
7099 * gdb.mi/mi-record-changed.exp
7100 * gdb.mi/mi-reg-undefined.exp
7101 * gdb.mi/mi-regs.exp
7102 * gdb.mi/mi-return.exp
7103 * gdb.mi/mi-reverse.exp
7104 * gdb.mi/mi-simplerun.exp
7105 * gdb.mi/mi-solib.exp
7106 * gdb.mi/mi-stack.exp
7107 * gdb.mi/mi-stepi.exp
7108 * gdb.mi/mi-syn-frame.exp
7109 * gdb.mi/mi-until.exp
7110 * gdb.mi/mi-var-block.exp
7111 * gdb.mi/mi-var-child.exp
7112 * gdb.mi/mi-var-cmd.exp
7113 * gdb.mi/mi-var-cp.exp
7114 * gdb.mi/mi-var-display.exp
7115 * gdb.mi/mi-var-invalidate.exp
7116 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7117 * gdb.mi/mi-vla-fortran.exp
7118 * gdb.mi/mi-watch.exp
7119 * gdb.mi/mi2-var-child.exp
7120 * gdb.mi/user-selected-context-sync.exp
7121 * gdb.modula2/unbounded-array.exp
7122 * gdb.multi/dummy-frame-restore.exp
7123 * gdb.multi/multi-arch-exec.exp
7124 * gdb.multi/multi-arch.exp
7125 * gdb.multi/tids.exp
7126 * gdb.multi/watchpoint-multi.exp
7127 * gdb.opencl/callfuncs.exp
7128 * gdb.opencl/convs_casts.exp
7129 * gdb.opencl/datatypes.exp
7130 * gdb.opencl/operators.exp
7131 * gdb.opencl/vec_comps.exp
7132 * gdb.opt/clobbered-registers-O2.exp
7133 * gdb.opt/inline-break.exp
7134 * gdb.opt/inline-bt.exp
7135 * gdb.opt/inline-cmds.exp
7136 * gdb.opt/inline-locals.exp
7137 * gdb.pascal/case-insensitive-symbols.exp
7138 * gdb.pascal/floats.exp
7139 * gdb.pascal/gdb11492.exp
7140 * gdb.python/lib-types.exp
7141 * gdb.python/py-arch.exp
7142 * gdb.python/py-as-string.exp
7143 * gdb.python/py-bad-printers.exp
7144 * gdb.python/py-block.exp
7145 * gdb.python/py-breakpoint-create-fail.exp
7146 * gdb.python/py-breakpoint.exp
7147 * gdb.python/py-caller-is.exp
7148 * gdb.python/py-cmd.exp
7149 * gdb.python/py-explore-cc.exp
7150 * gdb.python/py-explore.exp
7151 * gdb.python/py-finish-breakpoint.exp
7152 * gdb.python/py-finish-breakpoint2.exp
7153 * gdb.python/py-frame-args.exp
7154 * gdb.python/py-frame-inline.exp
7155 * gdb.python/py-frame.exp
7156 * gdb.python/py-framefilter-mi.exp
7157 * gdb.python/py-infthread.exp
7158 * gdb.python/py-lazy-string.exp
7159 * gdb.python/py-linetable.exp
7160 * gdb.python/py-mi-events.exp
7161 * gdb.python/py-mi-objfile.exp
7162 * gdb.python/py-mi.exp
7163 * gdb.python/py-objfile.exp
7164 * gdb.python/py-pp-integral.exp
7165 * gdb.python/py-pp-maint.exp
7166 * gdb.python/py-pp-re-notag.exp
7167 * gdb.python/py-pp-registration.exp
7168 * gdb.python/py-recurse-unwind.exp
7169 * gdb.python/py-strfns.exp
7170 * gdb.python/py-symbol.exp
7171 * gdb.python/py-symtab.exp
7172 * gdb.python/py-sync-interp.exp
7173 * gdb.python/py-typeprint.exp
7174 * gdb.python/py-unwind-maint.exp
7175 * gdb.python/py-unwind.exp
7176 * gdb.python/py-value-cc.exp
7177 * gdb.python/py-xmethods.exp
7178 * gdb.reverse/amd64-tailcall-reverse.exp
7179 * gdb.reverse/break-precsave.exp
7180 * gdb.reverse/break-reverse.exp
7181 * gdb.reverse/consecutive-precsave.exp
7182 * gdb.reverse/consecutive-reverse.exp
7183 * gdb.reverse/finish-precsave.exp
7184 * gdb.reverse/finish-reverse-bkpt.exp
7185 * gdb.reverse/finish-reverse.exp
7186 * gdb.reverse/fstatat-reverse.exp
7187 * gdb.reverse/getresuid-reverse.exp
7188 * gdb.reverse/i386-precsave.exp
7189 * gdb.reverse/i386-reverse.exp
7190 * gdb.reverse/i386-sse-reverse.exp
7191 * gdb.reverse/i387-env-reverse.exp
7192 * gdb.reverse/i387-stack-reverse.exp
7193 * gdb.reverse/insn-reverse.exp
7194 * gdb.reverse/machinestate-precsave.exp
7195 * gdb.reverse/machinestate.exp
7196 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7197 * gdb.reverse/pipe-reverse.exp
7198 * gdb.reverse/readv-reverse.exp
7199 * gdb.reverse/recvmsg-reverse.exp
7200 * gdb.reverse/rerun-prec.exp
7201 * gdb.reverse/s390-mvcle.exp
7202 * gdb.reverse/step-precsave.exp
7203 * gdb.reverse/step-reverse.exp
7204 * gdb.reverse/time-reverse.exp
7205 * gdb.reverse/until-precsave.exp
7206 * gdb.reverse/until-reverse.exp
7207 * gdb.reverse/waitpid-reverse.exp
7208 * gdb.reverse/watch-precsave.exp
7209 * gdb.reverse/watch-reverse.exp
7210 * gdb.rust/generics.exp
7211 * gdb.rust/methods.exp
7212 * gdb.rust/modules.exp
7213 * gdb.rust/simple.exp
7214 * gdb.server/connect-with-no-symbol-file.exp
7215 * gdb.server/ext-attach.exp
7216 * gdb.server/ext-restart.exp
7217 * gdb.server/ext-wrapper.exp
7218 * gdb.server/file-transfer.exp
7219 * gdb.server/server-exec-info.exp
7220 * gdb.server/server-kill.exp
7221 * gdb.server/server-mon.exp
7222 * gdb.server/wrapper.exp
7223 * gdb.stabs/exclfwd.exp
7224 * gdb.stabs/gdb11479.exp
7225 * gdb.threads/clone-new-thread-event.exp
7226 * gdb.threads/corethreads.exp
7227 * gdb.threads/current-lwp-dead.exp
7228 * gdb.threads/dlopen-libpthread.exp
7229 * gdb.threads/gcore-thread.exp
7230 * gdb.threads/sigstep-threads.exp
7231 * gdb.threads/watchpoint-fork.exp
7232 * gdb.trace/actions-changed.exp
7233 * gdb.trace/backtrace.exp
7234 * gdb.trace/change-loc.exp
7235 * gdb.trace/circ.exp
7236 * gdb.trace/collection.exp
7237 * gdb.trace/disconnected-tracing.exp
7238 * gdb.trace/ftrace.exp
7239 * gdb.trace/mi-trace-frame-collected.exp
7240 * gdb.trace/mi-trace-unavailable.exp
7241 * gdb.trace/mi-traceframe-changed.exp
7242 * gdb.trace/mi-tsv-changed.exp
7243 * gdb.trace/no-attach-trace.exp
7244 * gdb.trace/passc-dyn.exp
7245 * gdb.trace/qtro.exp
7246 * gdb.trace/range-stepping.exp
7247 * gdb.trace/read-memory.exp
7248 * gdb.trace/save-trace.exp
7249 * gdb.trace/signal.exp
7250 * gdb.trace/status-stop.exp
7251 * gdb.trace/tfile.exp
7252 * gdb.trace/trace-break.exp
7253 * gdb.trace/trace-buffer-size.exp
7254 * gdb.trace/trace-condition.exp
7255 * gdb.trace/tracefile-pseudo-reg.exp
7256 * gdb.trace/tstatus.exp
7257 * gdb.trace/unavailable.exp
7258 * gdb.trace/while-dyn.exp
7259 * gdb.trace/while-stepping.exp
7260
72612016-12-22 Doug Evans <xdje42@gmail.com>
7262
7263 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7264 and msymbols.
7265
72662016-12-19 Yao Qi <yao.qi@linaro.org>
7267
7268 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7269 (test_with_self): Don't call do_steps_and_nexts, and remove
7270 code about stepping into xmalloc.
7271
72722016-12-09 Yao Qi <yao.qi@linaro.org>
7273
7274 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7275
72762016-12-09 Yao Qi <yao.qi@linaro.org>
7277
7278 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7279
72802016-12-09 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.base/all-architectures-0.exp: New file.
7283 * gdb.base/all-architectures-1.exp: New file.
7284 * gdb.base/all-architectures-2.exp: New file.
7285 * gdb.base/all-architectures-3.exp: New file.
7286 * gdb.base/all-architectures-4.exp: New file.
7287 * gdb.base/all-architectures-5.exp: New file.
7288 * gdb.base/all-architectures-6.exp: New file.
7289 * gdb.base/all-architectures-7.exp: New file.
7290 * gdb.base/all-architectures.exp.in: New file.
7291
72922016-12-09 Yao Qi <yao.qi@linaro.org>
7293
7294 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7295
72962016-12-02 Luis Machado <lgustavo@codesourcery.com>
7297
7298 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7299 possible.
7300 Remove useless pattern-matching code.
7301
73022016-12-02 Pedro Alves <palves@redhat.com>
7303
7304 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7305 procedure.
7306 (top level): Call it.
7307
73082016-12-02 Pedro Alves <palves@redhat.com>
7309
7310 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7311 New procedure.
7312 (top level): Call it.
7313
73142016-12-02 Pedro Alves <palves@redhat.com>
7315
7316 PR cli/20559
7317 * gdb.base/commands.exp (user_defined_command_args_eval): New
7318 procedure.
7319 (top level): Call it.
7320
73212016-12-02 Luis Machado <lgustavo@codesourcery.com>
7322
7323 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7324 timeout handling.
7325
73262016-12-02 Tom Tromey <tom@tromey.com>
7327
7328 * gdb.dwarf2/main-subprogram.c: New file.
7329 * gdb.dwarf2/main-subprogram.exp: New file.
7330
73312016-12-01 Luis Machado <lgustavo@codesourcery.com>
7332
7333 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7334 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7335 gdb_test_no_output for a couple of cases.
7336 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7337
73382016-12-01 Luis Machado <lgustavo@codesourcery.com>
7339
7340 Fix test names and standardize compilation error messages throughout
7341 the following files:
7342
7343 * gdb.ada/start.exp
7344 * gdb.arch/alpha-step.exp
7345 * gdb.arch/e500-prologue.exp
7346 * gdb.arch/ftrace-insn-reloc.exp
7347 * gdb.arch/gdb1291.exp
7348 * gdb.arch/gdb1431.exp
7349 * gdb.arch/gdb1558.exp
7350 * gdb.arch/i386-dr3-watch.exp
7351 * gdb.arch/i386-sse-stack-align.exp
7352 * gdb.arch/ia64-breakpoint-shadow.exp
7353 * gdb.arch/pa-nullify.exp
7354 * gdb.arch/powerpc-aix-prologue.exp
7355 * gdb.arch/thumb-bx-pc.exp
7356 * gdb.base/annota1.exp
7357 * gdb.base/annota3.exp
7358 * gdb.base/arrayidx.exp
7359 * gdb.base/assign.exp
7360 * gdb.base/attach.exp
7361 * gdb.base/auxv.exp
7362 * gdb.base/bang.exp
7363 * gdb.base/bfp-test.exp
7364 * gdb.base/bigcore.exp
7365 * gdb.base/bitfields2.exp
7366 * gdb.base/break-fun-addr.exp
7367 * gdb.base/break-probes.exp
7368 * gdb.base/call-rt-st.exp
7369 * gdb.base/callexit.exp
7370 * gdb.base/catch-fork-kill.exp
7371 * gdb.base/charset.exp
7372 * gdb.base/checkpoint.exp
7373 * gdb.base/comprdebug.exp
7374 * gdb.base/constvars.exp
7375 * gdb.base/coredump-filter.exp
7376 * gdb.base/cursal.exp
7377 * gdb.base/cvexpr.exp
7378 * gdb.base/detach.exp
7379 * gdb.base/display.exp
7380 * gdb.base/dmsym.exp
7381 * gdb.base/dprintf-pending.exp
7382 * gdb.base/dso2dso.exp
7383 * gdb.base/dtrace-probe.exp
7384 * gdb.base/dump.exp
7385 * gdb.base/enum_cond.exp
7386 * gdb.base/exe-lock.exp
7387 * gdb.base/exec-invalid-sysroot.exp
7388 * gdb.base/execl-update-breakpoints.exp
7389 * gdb.base/exprs.exp
7390 * gdb.base/fileio.exp
7391 * gdb.base/find.exp
7392 * gdb.base/finish.exp
7393 * gdb.base/fixsection.exp
7394 * gdb.base/foll-vfork.exp
7395 * gdb.base/frame-args.exp
7396 * gdb.base/gcore.exp
7397 * gdb.base/gdb1250.exp
7398 * gdb.base/global-var-nested-by-dso.exp
7399 * gdb.base/gnu-ifunc.exp
7400 * gdb.base/hashline1.exp
7401 * gdb.base/hashline2.exp
7402 * gdb.base/hashline3.exp
7403 * gdb.base/hbreak-in-shr-unsupported.exp
7404 * gdb.base/huge.exp
7405 * gdb.base/infcall-input.exp
7406 * gdb.base/info-fun.exp
7407 * gdb.base/info-shared.exp
7408 * gdb.base/jit-simple.exp
7409 * gdb.base/jit-so.exp
7410 * gdb.base/jit.exp
7411 * gdb.base/jump.exp
7412 * gdb.base/label.exp
7413 * gdb.base/lineinc.exp
7414 * gdb.base/logical.exp
7415 * gdb.base/longjmp.exp
7416 * gdb.base/macscp.exp
7417 * gdb.base/miscexprs.exp
7418 * gdb.base/new-ui-echo.exp
7419 * gdb.base/new-ui-pending-input.exp
7420 * gdb.base/new-ui.exp
7421 * gdb.base/nodebug.exp
7422 * gdb.base/nofield.exp
7423 * gdb.base/offsets.exp
7424 * gdb.base/overlays.exp
7425 * gdb.base/pending.exp
7426 * gdb.base/pointers.exp
7427 * gdb.base/pr11022.exp
7428 * gdb.base/printcmds.exp
7429 * gdb.base/prologue.exp
7430 * gdb.base/ptr-typedef.exp
7431 * gdb.base/realname-expand.exp
7432 * gdb.base/relativedebug.exp
7433 * gdb.base/relocate.exp
7434 * gdb.base/remote.exp
7435 * gdb.base/reread.exp
7436 * gdb.base/return2.exp
7437 * gdb.base/savedregs.exp
7438 * gdb.base/sep.exp
7439 * gdb.base/sepdebug.exp
7440 * gdb.base/sepsymtab.exp
7441 * gdb.base/set-inferior-tty.exp
7442 * gdb.base/setshow.exp
7443 * gdb.base/shlib-call.exp
7444 * gdb.base/sigaltstack.exp
7445 * gdb.base/siginfo-addr.exp
7446 * gdb.base/signals.exp
7447 * gdb.base/signull.exp
7448 * gdb.base/sigrepeat.exp
7449 * gdb.base/so-impl-ld.exp
7450 * gdb.base/solib-display.exp
7451 * gdb.base/solib-overlap.exp
7452 * gdb.base/solib-search.exp
7453 * gdb.base/solib-symbol.exp
7454 * gdb.base/structs.exp
7455 * gdb.base/structs2.exp
7456 * gdb.base/symtab-search-order.exp
7457 * gdb.base/twice.exp
7458 * gdb.base/unload.exp
7459 * gdb.base/varargs.exp
7460 * gdb.base/watchpoint-solib.exp
7461 * gdb.base/watchpoint.exp
7462 * gdb.base/whatis.exp
7463 * gdb.base/wrong_frame_bt_full.exp
7464 * gdb.btrace/dlopen.exp
7465 * gdb.cell/ea-standalone.exp
7466 * gdb.cell/ea-test.exp
7467 * gdb.cp/dispcxx.exp
7468 * gdb.cp/gdb2384.exp
7469 * gdb.cp/method2.exp
7470 * gdb.cp/nextoverthrow.exp
7471 * gdb.cp/pr10728.exp
7472 * gdb.disasm/am33.exp
7473 * gdb.disasm/h8300s.exp
7474 * gdb.disasm/mn10300.exp
7475 * gdb.disasm/sh3.exp
7476 * gdb.dwarf2/dw2-dir-file-name.exp
7477 * gdb.fortran/complex.exp
7478 * gdb.fortran/library-module.exp
7479 * gdb.guile/scm-pretty-print.exp
7480 * gdb.guile/scm-symbol.exp
7481 * gdb.guile/scm-type.exp
7482 * gdb.guile/scm-value.exp
7483 * gdb.linespec/linespec.exp
7484 * gdb.mi/gdb701.exp
7485 * gdb.mi/gdb792.exp
7486 * gdb.mi/mi-breakpoint-changed.exp
7487 * gdb.mi/mi-dprintf-pending.exp
7488 * gdb.mi/mi-dprintf.exp
7489 * gdb.mi/mi-exit-code.exp
7490 * gdb.mi/mi-pending.exp
7491 * gdb.mi/mi-solib.exp
7492 * gdb.mi/new-ui-mi-sync.exp
7493 * gdb.mi/pr11022.exp
7494 * gdb.mi/user-selected-context-sync.exp
7495 * gdb.opt/solib-intra-step.exp
7496 * gdb.python/py-events.exp
7497 * gdb.python/py-finish-breakpoint.exp
7498 * gdb.python/py-mi.exp
7499 * gdb.python/py-prettyprint.exp
7500 * gdb.python/py-shared.exp
7501 * gdb.python/py-symbol.exp
7502 * gdb.python/py-template.exp
7503 * gdb.python/py-type.exp
7504 * gdb.python/py-value.exp
7505 * gdb.reverse/solib-precsave.exp
7506 * gdb.reverse/solib-reverse.exp
7507 * gdb.server/solib-list.exp
7508 * gdb.stabs/weird.exp
7509 * gdb.threads/reconnect-signal.exp
7510 * gdb.threads/stepi-random-signal.exp
7511 * gdb.trace/actions.exp
7512 * gdb.trace/ax.exp
7513 * gdb.trace/backtrace.exp
7514 * gdb.trace/change-loc.exp
7515 * gdb.trace/deltrace.exp
7516 * gdb.trace/ftrace-lock.exp
7517 * gdb.trace/ftrace.exp
7518 * gdb.trace/infotrace.exp
7519 * gdb.trace/mi-tracepoint-changed.exp
7520 * gdb.trace/packetlen.exp
7521 * gdb.trace/passcount.exp
7522 * gdb.trace/pending.exp
7523 * gdb.trace/range-stepping.exp
7524 * gdb.trace/report.exp
7525 * gdb.trace/stap-trace.exp
7526 * gdb.trace/tfind.exp
7527 * gdb.trace/trace-break.exp
7528 * gdb.trace/trace-condition.exp
7529 * gdb.trace/trace-enable-disable.exp
7530 * gdb.trace/trace-mt.exp
7531 * gdb.trace/tracecmd.exp
7532 * gdb.trace/tspeed.exp
7533 * gdb.trace/tsv.exp
7534 * lib/perftest.exp
7535
75362016-12-01 Luis Machado <lgustavo@codesourcery.com>
7537
7538 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7539 with gdb_test_no_output.
7540 Use command as test name.
7541
75422016-12-01 Luis Machado <lgustavo@codesourcery.com>
7543
7544 Fix test names starting with uppercase throughout the files.
7545
7546 * gdb.ada/assign_1.exp
7547 * gdb.ada/boolean_expr.exp
7548 * gdb.base/arrayidx.exp
7549 * gdb.base/del.exp
7550 * gdb.base/gcore-buffer-overflow.exp
7551 * gdb.base/testenv.exp
7552 * gdb.compile/compile.exp
7553 * gdb.python/py-framefilter-invalidarg.exp
7554 * gdb.python/py-framefilter.exp
7555
75562016-12-01 Luis Machado <lgustavo@codesourcery.com>
7557
7558 Fix test names starting with uppercase throughout the files.
7559
7560 * gdb.ada/array_return.exp
7561 * gdb.ada/expr_delims.exp
7562 * gdb.ada/mi_dyn_arr.exp
7563 * gdb.ada/mi_interface.exp
7564 * gdb.ada/mi_var_array.exp
7565 * gdb.ada/watch_arg.exp
7566 * gdb.arch/alpha-step.exp
7567 * gdb.arch/altivec-regs.exp
7568 * gdb.arch/e500-regs.exp
7569 * gdb.arch/powerpc-d128-regs.exp
7570 * gdb.base/arrayidx.exp
7571 * gdb.base/break.exp
7572 * gdb.base/checkpoint.exp
7573 * gdb.base/debug-expr.exp
7574 * gdb.base/dmsym.exp
7575 * gdb.base/radix.exp
7576 * gdb.base/sepdebug.exp
7577 * gdb.base/testenv.exp
7578 * gdb.base/watch_thread_num.exp
7579 * gdb.base/watchpoint-cond-gone.exp
7580 * gdb.cell/break.exp
7581 * gdb.cell/ea-cache.exp
7582 * gdb.compile/compile.exp
7583 * gdb.cp/gdb2495.exp
7584 * gdb.gdb/selftest.exp
7585 * gdb.gdb/xfullpath.exp
7586 * gdb.go/hello.exp
7587 * gdb.go/integers.exp
7588 * gdb.objc/basicclass.exp
7589 * gdb.pascal/hello.exp
7590 * gdb.pascal/integers.exp
7591 * gdb.python/py-breakpoint.exp
7592 * gdb.python/py-cmd.exp
7593 * gdb.python/py-linetable.exp
7594 * gdb.python/py-xmethods.exp
7595 * gdb.python/python.exp
7596 * gdb.reverse/consecutive-precsave.exp
7597 * gdb.reverse/finish-precsave.exp
7598 * gdb.reverse/i386-precsave.exp
7599 * gdb.reverse/machinestate-precsave.exp
7600 * gdb.reverse/sigall-precsave.exp
7601 * gdb.reverse/solib-precsave.exp
7602 * gdb.reverse/step-precsave.exp
7603 * gdb.reverse/until-precsave.exp
7604 * gdb.reverse/watch-precsave.exp
7605 * gdb.threads/leader-exit.exp
7606 * gdb.threads/pthreads.exp
7607 * gdb.threads/wp-replication.exp
7608 * gdb.trace/actions.exp
7609 * gdb.trace/mi-tsv-changed.exp
7610 * gdb.trace/tsv.exp
7611
76122016-12-01 Luis Machado <lgustavo@codesourcery.com>
7613
7614 Fix test names starting with uppercase throughout the files.
7615
7616 * gdb.arch/i386-bp_permanent.exp
7617 * gdb.arch/i386-gnu-cfi.exp
7618 * gdb.base/disasm-end-cu.exp
7619 * gdb.base/macscp.exp
7620 * gdb.base/pending.exp
7621 * gdb.base/watch_thread_num.exp
7622 * gdb.cp/exception.exp
7623 * gdb.cp/gdb2495.exp
7624 * gdb.cp/local.exp
7625 * gdb.python/py-evsignal.exp
7626 * gdb.python/python.exp
7627 * gdb.trace/tracecmd.exp
7628
76292016-12-01 Luis Machado <lgustavo@codesourcery.com>
7630
7631 Fix test names starting with uppercase throughout the files.
7632
7633 * gdb.base/charset.exp
7634 * gdb.base/eval.exp
7635 * gdb.base/multi-forks.exp
7636 * gdb.guile/scm-progspace.exp
7637 * gdb.opencl/datatypes.exp
7638 * gdb.python/py-block.exp
7639 * gdb.python/py-function.exp
7640 * gdb.python/py-symbol.exp
7641 * gdb.python/py-symtab.exp
7642 * gdb.python/py-xmethods.exp
7643 * gdb.reverse/break-precsave.exp
7644 * gdb.reverse/break-reverse.exp
7645 * gdb.reverse/consecutive-precsave.exp
7646 * gdb.reverse/consecutive-reverse.exp
7647 * gdb.reverse/finish-precsave.exp
7648 * gdb.reverse/finish-reverse-bkpt.exp
7649 * gdb.reverse/finish-reverse.exp
7650 * gdb.reverse/fstatat-reverse.exp
7651 * gdb.reverse/getresuid-reverse.exp
7652 * gdb.reverse/i386-precsave.exp
7653 * gdb.reverse/i386-reverse.exp
7654 * gdb.reverse/i386-sse-reverse.exp
7655 * gdb.reverse/i387-stack-reverse.exp
7656 * gdb.reverse/insn-reverse.exp
7657 * gdb.reverse/machinestate-precsave.exp
7658 * gdb.reverse/machinestate.exp
7659 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7660 * gdb.reverse/pipe-reverse.exp
7661 * gdb.reverse/readv-reverse.exp
7662 * gdb.reverse/recvmsg-reverse.exp
7663 * gdb.reverse/rerun-prec.exp
7664 * gdb.reverse/s390-mvcle.exp
7665 * gdb.reverse/sigall-precsave.exp
7666 * gdb.reverse/sigall-reverse.exp
7667 * gdb.reverse/solib-precsave.exp
7668 * gdb.reverse/solib-reverse.exp
7669 * gdb.reverse/step-precsave.exp
7670 * gdb.reverse/step-reverse.exp
7671 * gdb.reverse/time-reverse.exp
7672 * gdb.reverse/until-precsave.exp
7673 * gdb.reverse/until-reverse.exp
7674 * gdb.reverse/waitpid-reverse.exp
7675 * gdb.reverse/watch-precsave.exp
7676 * gdb.reverse/watch-reverse.exp
7677
76782016-12-01 Luis Machado <lgustavo@codesourcery.com>
7679
7680 Fix test names starting with uppercase throughout the files.
7681
7682 * gdb.arch/i386-mpx-simple_segv.exp
7683 * gdb.arch/i386-mpx.exp
7684 * gdb.arch/i386-permbkpt.exp
7685 * gdb.arch/pa-nullify.exp
7686 * gdb.arch/powerpc-d128-regs.exp
7687 * gdb.arch/vsx-regs.exp
7688 * gdb.base/bfp-test.exp
7689 * gdb.base/break.exp
7690 * gdb.base/breakpoint-shadow.exp
7691 * gdb.base/callfuncs.exp
7692 * gdb.base/charset.exp
7693 * gdb.base/commands.exp
7694 * gdb.base/completion.exp
7695 * gdb.base/dfp-test.exp
7696 * gdb.base/echo.exp
7697 * gdb.base/ending-run.exp
7698 * gdb.base/eval.exp
7699 * gdb.base/expand-psymtabs.exp
7700 * gdb.base/float128.exp
7701 * gdb.base/floatn.exp
7702 * gdb.base/foll-exec-mode.exp
7703 * gdb.base/gdb1056.exp
7704 * gdb.base/gdb11531.exp
7705 * gdb.base/kill-after-signal.exp
7706 * gdb.base/multi-forks.exp
7707 * gdb.base/overlays.exp
7708 * gdb.base/pending.exp
7709 * gdb.base/sepdebug.exp
7710 * gdb.base/testenv.exp
7711 * gdb.base/valgrind-db-attach.exp
7712 * gdb.base/watch_thread_num.exp
7713 * gdb.base/watchpoint-cond-gone.exp
7714 * gdb.base/watchpoint.exp
7715 * gdb.base/watchpoints.exp
7716 * gdb.cp/arg-reference.exp
7717 * gdb.cp/baseenum.exp
7718 * gdb.cp/operator.exp
7719 * gdb.cp/shadow.exp
7720 * gdb.dwarf2/dw2-op-out-param.exp
7721 * gdb.dwarf2/dw2-reg-undefined.exp
7722 * gdb.go/chan.exp
7723 * gdb.go/hello.exp
7724 * gdb.go/integers.exp
7725 * gdb.go/methods.exp
7726 * gdb.go/package.exp
7727 * gdb.guile/scm-parameter.exp
7728 * gdb.guile/scm-progspace.exp
7729 * gdb.guile/scm-value.exp
7730 * gdb.mi/mi-pending.exp
7731 * gdb.mi/user-selected-context-sync.exp
7732 * gdb.multi/multi-attach.exp
7733 * gdb.multi/tids.exp
7734 * gdb.opt/clobbered-registers-O2.exp
7735 * gdb.pascal/floats.exp
7736 * gdb.pascal/integers.exp
7737 * gdb.python/py-block.exp
7738 * gdb.python/py-events.exp
7739 * gdb.python/py-parameter.exp
7740 * gdb.python/py-symbol.exp
7741 * gdb.python/py-symtab.exp
7742 * gdb.python/py-type.exp
7743 * gdb.python/py-value.exp
7744 * gdb.python/py-xmethods.exp
7745 * gdb.python/python.exp
7746 * gdb.reverse/break-precsave.exp
7747 * gdb.reverse/consecutive-precsave.exp
7748 * gdb.reverse/finish-precsave.exp
7749 * gdb.reverse/i386-precsave.exp
7750 * gdb.reverse/machinestate-precsave.exp
7751 * gdb.reverse/sigall-precsave.exp
7752 * gdb.reverse/solib-precsave.exp
7753 * gdb.reverse/step-precsave.exp
7754 * gdb.reverse/until-precsave.exp
7755 * gdb.reverse/watch-precsave.exp
7756 * gdb.server/ext-attach.exp
7757 * gdb.server/ext-restart.exp
7758 * gdb.server/ext-run.exp
7759 * gdb.server/ext-wrapper.exp
7760 * gdb.stabs/gdb11479.exp
7761 * gdb.stabs/weird.exp
7762 * gdb.threads/attach-many-short-lived-threads.exp
7763 * gdb.threads/kill.exp
7764 * gdb.threads/watchpoint-fork.exp
7765
77662016-12-01 Luis Machado <lgustavo@codesourcery.com>
7767
7768 Fix test names starting with uppercase throughout all the files below.
7769
7770 * gdb.ada/array_return.exp
7771 * gdb.ada/catch_ex.exp
7772 * gdb.ada/info_exc.exp
7773 * gdb.ada/mi_catch_ex.exp
7774 * gdb.ada/mi_dyn_arr.exp
7775 * gdb.ada/mi_ex_cond.exp
7776 * gdb.ada/mi_exc_info.exp
7777 * gdb.ada/mi_interface.exp
7778 * gdb.ada/mi_task_arg.exp
7779 * gdb.ada/mi_task_info.exp
7780 * gdb.ada/mi_var_array.exp
7781 * gdb.arch/alpha-step.exp
7782 * gdb.arch/amd64-disp-step.exp
7783 * gdb.arch/arm-disp-step.exp
7784 * gdb.arch/disp-step-insn-reloc.exp
7785 * gdb.arch/e500-prologue.exp
7786 * gdb.arch/ftrace-insn-reloc.exp
7787 * gdb.arch/gdb1558.exp
7788 * gdb.arch/i386-bp_permanent.exp
7789 * gdb.arch/i386-disp-step.exp
7790 * gdb.arch/i386-float.exp
7791 * gdb.arch/i386-gnu-cfi.exp
7792 * gdb.arch/ia64-breakpoint-shadow.exp
7793 * gdb.arch/mips16-thunks.exp
7794 * gdb.arch/pa-nullify.exp
7795 * gdb.arch/powerpc-aix-prologue.exp
7796 * gdb.arch/powerpc-power.exp
7797 * gdb.arch/ppc-dfp.exp
7798 * gdb.arch/s390-tdbregs.exp
7799 * gdb.arch/spu-info.exp
7800 * gdb.arch/spu-ls.exp
7801 * gdb.arch/thumb-bx-pc.exp
7802 * gdb.base/advance.exp
7803 * gdb.base/annota-input-while-running.exp
7804 * gdb.base/arrayidx.exp
7805 * gdb.base/asmlabel.exp
7806 * gdb.base/async.exp
7807 * gdb.base/attach-wait-input.exp
7808 * gdb.base/auto-connect-native-target.exp
7809 * gdb.base/batch-preserve-term-settings.exp
7810 * gdb.base/bfp-test.exp
7811 * gdb.base/bigcore.exp
7812 * gdb.base/bp-permanent.exp
7813 * gdb.base/break-always.exp
7814 * gdb.base/break-fun-addr.exp
7815 * gdb.base/break-idempotent.exp
7816 * gdb.base/break-main-file-remove-fail.exp
7817 * gdb.base/break-probes.exp
7818 * gdb.base/break-unload-file.exp
7819 * gdb.base/break.exp
7820 * gdb.base/call-ar-st.exp
7821 * gdb.base/call-rt-st.exp
7822 * gdb.base/call-sc.exp
7823 * gdb.base/call-signal-resume.exp
7824 * gdb.base/call-strs.exp
7825 * gdb.base/callexit.exp
7826 * gdb.base/callfuncs.exp
7827 * gdb.base/catch-gdb-caused-signals.exp
7828 * gdb.base/catch-signal-siginfo-cond.exp
7829 * gdb.base/catch-syscall.exp
7830 * gdb.base/compare-sections.exp
7831 * gdb.base/cond-eval-mode.exp
7832 * gdb.base/condbreak-call-false.exp
7833 * gdb.base/consecutive-step-over.exp
7834 * gdb.base/cursal.exp
7835 * gdb.base/disabled-location.exp
7836 * gdb.base/disasm-end-cu.exp
7837 * gdb.base/display.exp
7838 * gdb.base/double-prompt-target-event-error.exp
7839 * gdb.base/dprintf-bp-same-addr.exp
7840 * gdb.base/dprintf-detach.exp
7841 * gdb.base/dprintf-next.exp
7842 * gdb.base/dprintf-non-stop.exp
7843 * gdb.base/dprintf-pending.exp
7844 * gdb.base/dso2dso.exp
7845 * gdb.base/ending-run.exp
7846 * gdb.base/enum_cond.exp
7847 * gdb.base/examine-backward.exp
7848 * gdb.base/exe-lock.exp
7849 * gdb.base/exec-invalid-sysroot.exp
7850 * gdb.base/execl-update-breakpoints.exp
7851 * gdb.base/execution-termios.exp
7852 * gdb.base/fileio.exp
7853 * gdb.base/fixsection.exp
7854 * gdb.base/foll-exec-mode.exp
7855 * gdb.base/foll-exec.exp
7856 * gdb.base/fork-running-state.exp
7857 * gdb.base/frame-args.exp
7858 * gdb.base/fullpath-expand.exp
7859 * gdb.base/func-ptr.exp
7860 * gdb.base/gcore-relro-pie.exp
7861 * gdb.base/gdb1090.exp
7862 * gdb.base/gdb1555.exp
7863 * gdb.base/global-var-nested-by-dso.exp
7864 * gdb.base/gnu-ifunc.exp
7865 * gdb.base/hbreak-in-shr-unsupported.exp
7866 * gdb.base/hbreak-unmapped.exp
7867 * gdb.base/hook-stop.exp
7868 * gdb.base/infcall-input.exp
7869 * gdb.base/info-fun.exp
7870 * gdb.base/info-shared.exp
7871 * gdb.base/interrupt-noterm.exp
7872 * gdb.base/jit-so.exp
7873 * gdb.base/jit.exp
7874 * gdb.base/line-symtabs.exp
7875 * gdb.base/list.exp
7876 * gdb.base/longjmp.exp
7877 * gdb.base/macscp.exp
7878 * gdb.base/max-value-size.exp
7879 * gdb.base/nodebug.exp
7880 * gdb.base/nofield.exp
7881 * gdb.base/overlays.exp
7882 * gdb.base/paginate-after-ctrl-c-running.exp
7883 * gdb.base/paginate-bg-execution.exp
7884 * gdb.base/paginate-inferior-exit.exp
7885 * gdb.base/pending.exp
7886 * gdb.base/pr11022.exp
7887 * gdb.base/printcmds.exp
7888 * gdb.base/ptr-typedef.exp
7889 * gdb.base/ptype.exp
7890 * gdb.base/randomize.exp
7891 * gdb.base/range-stepping.exp
7892 * gdb.base/realname-expand.exp
7893 * gdb.base/relativedebug.exp
7894 * gdb.base/remote.exp
7895 * gdb.base/savedregs.exp
7896 * gdb.base/sepdebug.exp
7897 * gdb.base/set-noassign.exp
7898 * gdb.base/shlib-call.exp
7899 * gdb.base/shreloc.exp
7900 * gdb.base/sigaltstack.exp
7901 * gdb.base/sigbpt.exp
7902 * gdb.base/siginfo-addr.exp
7903 * gdb.base/siginfo-obj.exp
7904 * gdb.base/siginfo-thread.exp
7905 * gdb.base/signest.exp
7906 * gdb.base/signull.exp
7907 * gdb.base/sigrepeat.exp
7908 * gdb.base/skip.exp
7909 * gdb.base/so-impl-ld.exp
7910 * gdb.base/solib-corrupted.exp
7911 * gdb.base/solib-disc.exp
7912 * gdb.base/solib-display.exp
7913 * gdb.base/solib-overlap.exp
7914 * gdb.base/solib-search.exp
7915 * gdb.base/solib-symbol.exp
7916 * gdb.base/source-execution.exp
7917 * gdb.base/sss-bp-on-user-bp-2.exp
7918 * gdb.base/sss-bp-on-user-bp.exp
7919 * gdb.base/stack-checking.exp
7920 * gdb.base/stale-infcall.exp
7921 * gdb.base/step-break.exp
7922 * gdb.base/step-line.exp
7923 * gdb.base/step-over-exit.exp
7924 * gdb.base/step-test.exp
7925 * gdb.base/structs.exp
7926 * gdb.base/sym-file.exp
7927 * gdb.base/symtab-search-order.exp
7928 * gdb.base/term.exp
7929 * gdb.base/type-opaque.exp
7930 * gdb.base/unload.exp
7931 * gdb.base/until-nodebug.exp
7932 * gdb.base/until.exp
7933 * gdb.base/unwindonsignal.exp
7934 * gdb.base/watch-cond.exp
7935 * gdb.base/watch-non-mem.exp
7936 * gdb.base/watch_thread_num.exp
7937 * gdb.base/watchpoint-reuse-slot.exp
7938 * gdb.base/watchpoint-solib.exp
7939 * gdb.base/watchpoint.exp
7940 * gdb.btrace/dlopen.exp
7941 * gdb.cell/arch.exp
7942 * gdb.cell/break.exp
7943 * gdb.cell/bt.exp
7944 * gdb.cell/core.exp
7945 * gdb.cell/data.exp
7946 * gdb.cell/dwarfaddr.exp
7947 * gdb.cell/ea-cache.exp
7948 * gdb.cell/ea-standalone.exp
7949 * gdb.cell/ea-test.exp
7950 * gdb.cell/f-regs.exp
7951 * gdb.cell/fork.exp
7952 * gdb.cell/gcore.exp
7953 * gdb.cell/mem-access.exp
7954 * gdb.cell/ptype.exp
7955 * gdb.cell/registers.exp
7956 * gdb.cell/sizeof.exp
7957 * gdb.cell/solib-symbol.exp
7958 * gdb.cell/solib.exp
7959 * gdb.compile/compile-tls.exp
7960 * gdb.cp/exception.exp
7961 * gdb.cp/gdb2495.exp
7962 * gdb.cp/local.exp
7963 * gdb.cp/mb-inline.exp
7964 * gdb.cp/mb-templates.exp
7965 * gdb.cp/pr10687.exp
7966 * gdb.cp/pr9167.exp
7967 * gdb.cp/scope-err.exp
7968 * gdb.cp/templates.exp
7969 * gdb.cp/virtfunc.exp
7970 * gdb.dwarf2/dw2-dir-file-name.exp
7971 * gdb.dwarf2/dw2-single-line-discriminators.exp
7972 * gdb.fortran/complex.exp
7973 * gdb.fortran/library-module.exp
7974 * gdb.guile/guile.exp
7975 * gdb.guile/scm-cmd.exp
7976 * gdb.guile/scm-frame-inline.exp
7977 * gdb.guile/scm-objfile.exp
7978 * gdb.guile/scm-pretty-print.exp
7979 * gdb.guile/scm-symbol.exp
7980 * gdb.guile/scm-type.exp
7981 * gdb.guile/scm-value.exp
7982 * gdb.linespec/keywords.exp
7983 * gdb.linespec/ls-errs.exp
7984 * gdb.linespec/macro-relative.exp
7985 * gdb.linespec/thread.exp
7986 * gdb.mi/mi-breakpoint-changed.exp
7987 * gdb.mi/mi-dprintf-pending.exp
7988 * gdb.mi/mi-fullname-deleted.exp
7989 * gdb.mi/mi-logging.exp
7990 * gdb.mi/mi-pending.exp
7991 * gdb.mi/mi-solib.exp
7992 * gdb.mi/new-ui-mi-sync.exp
7993 * gdb.mi/user-selected-context-sync.exp
7994 * gdb.multi/dummy-frame-restore.exp
7995 * gdb.multi/multi-arch-exec.exp
7996 * gdb.multi/remove-inferiors.exp
7997 * gdb.multi/watchpoint-multi-exit.exp
7998 * gdb.opt/solib-intra-step.exp
7999 * gdb.perf/backtrace.exp
8000 * gdb.perf/single-step.exp
8001 * gdb.perf/skip-command.exp
8002 * gdb.perf/skip-prologue.exp
8003 * gdb.perf/solib.exp
8004 * gdb.python/lib-types.exp
8005 * gdb.python/py-as-string.exp
8006 * gdb.python/py-bad-printers.exp
8007 * gdb.python/py-block.exp
8008 * gdb.python/py-breakpoint.exp
8009 * gdb.python/py-cmd.exp
8010 * gdb.python/py-events.exp
8011 * gdb.python/py-evthreads.exp
8012 * gdb.python/py-finish-breakpoint.exp
8013 * gdb.python/py-finish-breakpoint2.exp
8014 * gdb.python/py-frame-inline.exp
8015 * gdb.python/py-frame.exp
8016 * gdb.python/py-inferior.exp
8017 * gdb.python/py-infthread.exp
8018 * gdb.python/py-mi.exp
8019 * gdb.python/py-objfile.exp
8020 * gdb.python/py-pp-maint.exp
8021 * gdb.python/py-pp-registration.exp
8022 * gdb.python/py-prettyprint.exp
8023 * gdb.python/py-recurse-unwind.exp
8024 * gdb.python/py-shared.exp
8025 * gdb.python/py-symbol.exp
8026 * gdb.python/py-symtab.exp
8027 * gdb.python/py-template.exp
8028 * gdb.python/py-type.exp
8029 * gdb.python/py-unwind-maint.exp
8030 * gdb.python/py-unwind.exp
8031 * gdb.python/py-value.exp
8032 * gdb.python/python.exp
8033 * gdb.reverse/finish-reverse-bkpt.exp
8034 * gdb.reverse/insn-reverse.exp
8035 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8036 * gdb.reverse/solib-precsave.exp
8037 * gdb.reverse/solib-reverse.exp
8038 * gdb.stabs/gdb11479.exp
8039 * gdb.stabs/weird.exp
8040 * gdb.threads/fork-child-threads.exp
8041 * gdb.threads/fork-plus-threads.exp
8042 * gdb.threads/fork-thread-pending.exp
8043 * gdb.threads/forking-threads-plus-breakpoint.exp
8044 * gdb.threads/hand-call-in-threads.exp
8045 * gdb.threads/interrupted-hand-call.exp
8046 * gdb.threads/linux-dp.exp
8047 * gdb.threads/local-watch-wrong-thread.exp
8048 * gdb.threads/next-while-other-thread-longjmps.exp
8049 * gdb.threads/non-ldr-exit.exp
8050 * gdb.threads/pending-step.exp
8051 * gdb.threads/print-threads.exp
8052 * gdb.threads/process-dies-while-detaching.exp
8053 * gdb.threads/process-dies-while-handling-bp.exp
8054 * gdb.threads/pthreads.exp
8055 * gdb.threads/queue-signal.exp
8056 * gdb.threads/reconnect-signal.exp
8057 * gdb.threads/signal-command-handle-nopass.exp
8058 * gdb.threads/signal-command-multiple-signals-pending.exp
8059 * gdb.threads/signal-delivered-right-thread.exp
8060 * gdb.threads/signal-sigtrap.exp
8061 * gdb.threads/sigthread.exp
8062 * gdb.threads/staticthreads.exp
8063 * gdb.threads/stepi-random-signal.exp
8064 * gdb.threads/thread-unwindonsignal.exp
8065 * gdb.threads/thread_check.exp
8066 * gdb.threads/thread_events.exp
8067 * gdb.threads/tid-reuse.exp
8068 * gdb.threads/tls-nodebug.exp
8069 * gdb.threads/tls-shared.exp
8070 * gdb.threads/tls-so_extern.exp
8071 * gdb.threads/tls.exp
8072 * gdb.threads/wp-replication.exp
8073 * gdb.trace/actions-changed.exp
8074 * gdb.trace/actions.exp
8075 * gdb.trace/backtrace.exp
8076 * gdb.trace/change-loc.exp
8077 * gdb.trace/collection.exp
8078 * gdb.trace/deltrace.exp
8079 * gdb.trace/disconnected-tracing.exp
8080 * gdb.trace/entry-values.exp
8081 * gdb.trace/ftrace-lock.exp
8082 * gdb.trace/ftrace.exp
8083 * gdb.trace/infotrace.exp
8084 * gdb.trace/mi-trace-frame-collected.exp
8085 * gdb.trace/mi-trace-unavailable.exp
8086 * gdb.trace/mi-traceframe-changed.exp
8087 * gdb.trace/mi-tracepoint-changed.exp
8088 * gdb.trace/mi-tsv-changed.exp
8089 * gdb.trace/no-attach-trace.exp
8090 * gdb.trace/packetlen.exp
8091 * gdb.trace/passc-dyn.exp
8092 * gdb.trace/passcount.exp
8093 * gdb.trace/pending.exp
8094 * gdb.trace/pr16508.exp
8095 * gdb.trace/qtro.exp
8096 * gdb.trace/range-stepping.exp
8097 * gdb.trace/read-memory.exp
8098 * gdb.trace/report.exp
8099 * gdb.trace/save-trace.exp
8100 * gdb.trace/signal.exp
8101 * gdb.trace/stap-trace.exp
8102 * gdb.trace/status-stop.exp
8103 * gdb.trace/strace.exp
8104 * gdb.trace/tfile.exp
8105 * gdb.trace/tfind.exp
8106 * gdb.trace/trace-break.exp
8107 * gdb.trace/trace-condition.exp
8108 * gdb.trace/trace-enable-disable.exp
8109 * gdb.trace/trace-mt.exp
8110 * gdb.trace/tracecmd.exp
8111 * gdb.trace/tracefile-pseudo-reg.exp
8112 * gdb.trace/tspeed.exp
8113 * gdb.trace/tstatus.exp
8114 * gdb.trace/tsv.exp
8115 * gdb.trace/unavailable.exp
8116 * gdb.trace/while-dyn.exp
8117 * gdb.trace/while-stepping.exp
8118 * lib/gdb-guile.exp
8119 * lib/gdb.exp
8120 * lib/mi-support.exp
8121 * lib/pascal.exp
8122 * lib/perftest.exp
8123 * lib/prelink-support.exp
8124 * lib/selftest-support.exp
8125
81262016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8127
8128 * Makefile.in: Include disable-implicit-rules.mk.
8129
81302016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8131
8132 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8133 non-byte-aligned bit fields.
8134
81352016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8136
8137 PR gdb/12616
8138 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8139 respects the DW_AT_data_bit_offset attribute.
8140
81412016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8142
8143 * gdb.base/default.exp: Fix output of "set language".
8144
81452016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8146
8147 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8148 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8149 make.
8150 * configure.ac: Remove checks for the make program.
8151 * configure: Re-generate.
8152
81532016-11-16 Kevin Buettner <kevinb@redhat.com>
8154
8155 * gdb.python/py-recurse-unwind.c (main): Add loop.
8156 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8157 to read_register() and gdb.parse_and_eval(). Make each code
8158 call a separate case that can be individually tested.
8159 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8160 proc. Call cont_and_backtrace for each of the code paths that
8161 we want to test in the unwinder.
8162
81632016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8164
8165 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8166 the definition of struct S.
8167
81682016-11-11 Catherine Moore <clm@codesourcery.com>
8169
8170 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8171
81722016-11-09 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.base/commands.exp (runto_or_return): New procedure.
8175 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8176 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8177 (progvar_simple_while_test, progvar_complex_if_while_test)
8178 (if_while_breakpoint_command_test)
8179 (infrun_breakpoint_command_test, breakpoint_command_test)
8180 (user_defined_command_test, watchpoint_command_test)
8181 (test_command_prompt_position, redefine_hook_test)
8182 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8183 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8184 multi_line_input and multi_line. Remove gdb_expect and
8185 gdb_stop_suppressing_tests uses.
8186 * lib/gdb.exp (valnum_re): New global.
8187 (multi_line_input): New procedure.
8188
81892016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8190
8191 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8192 Remove.
8193 (test_setup): Define with proc_with_prefix.
8194 (test_cli_inferior): Likewise.
8195 (test_cli_thread): Likewise.
8196 (test_cli_frame): Likewise.
8197 (test_cli_select_frame): Likewise.
8198 (test_cli_up_down): Likewise.
8199 (test_mi_thread_select): Likewise.
8200 (test_mi_stack_select_frame): Likewise.
8201 (test_cli_in_mi_inferior): Likewise.
8202 (test_cli_in_mi_thread): Likewise.
8203 (test_cli_in_mi_frame): Likewise.
8204 (top level): Do not use with_test_prefix_procname.
8205
82062016-11-09 Pedro Alves <palves@redhat.com>
8207
8208 * gdb.base/commands.exp (gdbvar_simple_if_test)
8209 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8210 (progvar_simple_if_test, progvar_simple_while_test)
8211 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8212 (infrun_breakpoint_command_test, breakpoint_command_test)
8213 (user_defined_command_test, watchpoint_command_test)
8214 (test_command_prompt_position, deprecated_command_test)
8215 (bp_deleted_in_command, temporary_breakpoint_commands)
8216 (stray_arg0_test, source_file_with_indented_comment)
8217 (recursive_source_test, if_commands_test)
8218 (error_clears_commands_left, redefine_hook_test)
8219 (redefine_backtrace_test): Use proc_with_prefix.
8220 * lib/gdb.exp (proc_with_prefix): New proc.
8221
82222016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8223
8224 * gdb.base/tui-layout.c: New file.
8225 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8226 disassembly window contains very long lines.
8227
82282016-11-08 Tom Tromey <tom@tromey.com>
8229
8230 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8231 depend on Python 2.
8232
82332016-11-08 Tom Tromey <tom@tromey.com>
8234
8235 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8236 New method.
8237
82382016-10-29 Manish Goregaokar <manish@mozilla.com>
8239
8240 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8241
82422016-10-27 Manish Goregaokar <manish@mozilla.com>
8243
8244 * gdb.rust/simple.rs: Add test for univariant enums without
8245 discriminants and for encoded struct-like enums.
8246
82472016-10-28 Pedro Alves <palves@redhat.com>
8248
8249 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8250 gdb_test_multiple, tighten regexps and match symtabs and line
8251 tables incrementally.
8252
82532016-10-28 Luis Machado <lgustavo@codesourcery.com>
8254
8255 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8256 general.
8257
82582016-10-25 Luis Machado <lgustavo@codesourcery.com>
8259
8260 * gdb.base/exec-invalid-sysroot.exp: New file.
8261
82622016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8263
8264 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8265
82662016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8267
8268 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8269
82702016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8271
8272 * gdb.base/killed-outside.exp: Remove $options from a call to
8273 `prepare_for_testing'.
8274
82752016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8276
8277 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8278 Change test message.
8279
82802016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8281
8282 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8283 Update comment.
8284
82852016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8286
8287 * gdb.trace/mi-trace-save.exp: New file.
8288
82892016-10-13 Yao Qi <yao.qi@linaro.org>
8290
8291 * gdb.base/code_elim.exp (get_var_address): Remove.
8292 * gdb.base/relocate.exp: Likewise.
8293 * gdb.base/shreloc.exp: Likewise.
8294 * lib/gdb.exp (get_var_address): New.
8295
82962016-10-13 Yao Qi <yao.qi@linaro.org>
8297
8298 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8299 floating point tests if $skip_float_test is false.
8300
83012016-10-12 Luis Machado <lgustavo@codesourcery.com>
8302
8303 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8304 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8305 argc values.
8306 Add 1 to argc so we guarantee distinct initial/modified argc values.
8307
83082016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8311
83122016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8313
8314 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8315 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8316 * gdb.arch/vsx-regs.exp: Likewise.
8317
83182016-10-07 Yao Qi <yao.qi@linaro.org>
8319
8320 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8321
83222016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8323
8324 * gdb.python/python.exp: Test decode_line("*0").
8325
83262016-10-06 Doug Evans <dje@google.com>
8327
8328 * gdb.python/py-value.exp (test_value_creation): Add test for large
8329 unsigned 64-bit value.
8330
83312016-10-06 Tom Tromey <tom@tromey.com>
8332
8333 * gdb.compile/compile.exp: Change java tests to rust.
8334 * gdb.base/setshow.exp: Change java tests to rust.
8335 * gdb.base/default.exp: Remove java from language list.
8336 * README (Examples): Update language example.
8337 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8338 test.
8339 * lib/gdb.exp (skip_java_tests): Remove.
8340 * lib/java.exp: Remove.
8341 * gdb.java: Remove.
8342
83432016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8344
8345 * gdb.arch/mips-fcr.exp: New test.
8346 * gdb.arch/mips-fcr.c: Source for the new test.
8347
83482016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8349
8350 * gdb.base/solib-disc.exp: Use `standard_output_file'
8351 throughout.
8352
83532016-10-06 Pedro Alves <palves@redhat.com>
8354
8355 * gdb.base/jit-simple-dl.c: New file.
8356 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8357 * gdb.base/jit-simple.c: ... this.
8358 * gdb.base/jit-simple.exp (jit_run): Delete.
8359 (build_jit): New proc.
8360 (jit_test_reread): Recompile either the main program or the shared
8361 library, depending on what is being tested. Skip changing address
8362 if caller wants to. Compare before/after addresses. If testing
8363 standalone, explicitly load the binary. Test "maint info
8364 breakpoints".
8365 (top level): Add "standalone vs shared lib" and "change address"
8366 vs "same address" axes.
8367
83682016-10-06 Pedro Alves <palves@redhat.com>
8369
8370 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8371 call.
8372 (jit_run): Delete.
8373 (jit_test_reread): Use with_test_prefix. Reload the main binary
8374 explicitly. Compare the before/after addresses of the JIT
8375 descriptor.
8376
83772016-08-15 Doug Evans <dje@google.com>
8378
8379 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8380 for single bitfields is bool.
8381 * gdb.xml/tdesc-regs.exp: Ditto.
8382
83832016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8384
8385 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8386
83872016-10-05 Yao Qi <yao.qi@linaro.org>
8388
8389 * lib/gdb.exp (support_complex_tests): Return zero if
8390 gdb_skip_float_test return true.
8391
83922016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8393 Simon Marchi <simon.marchi@ericsson.com>
8394
8395 PR gdb/20487
8396 * gdb.mi/user-selected-context-sync.exp: New file.
8397 * gdb.mi/user-selected-context-sync.c: New file.
8398
83992016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8400 Simon Marchi <simon.marchi@ericsson.com>
8401
8402 PR gdb/20487
8403 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8404 =thread-select-event check.
8405
84062016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8407
8408 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8409 the compulsory L operand changes.
8410 * gdb.arch/powerpc-power.s: Likewise.
8411
84122016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8413
8414 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8415 * gdb.base/jit-attach-pie.c: New file.
8416 * gdb.base/jit-attach-pie.exp: New file.
8417
84182016-09-28 Pedro Alves <palves@redhat.com>
8419
8420 * gdb.base/infcall-input.c: New file.
8421 * gdb.base/infcall-input.exp: New file.
8422
84232016-09-22 Yao Qi <yao.qi@linaro.org>
8424
8425 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8426 (gdb_exit): Rename it to ...
8427 (gdbserver_gdb_exit): ... Close GDBserver.
8428 (gdb_exit): New proc, call gdbserver_gdb_exit.
8429 (mi_gdb_exit): Likewise.
8430
84312016-09-22 Yao Qi <yao.qi@linaro.org>
8432
8433 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8434 path.
8435 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8436 Remove duplication.
8437
84382016-09-22 Yao Qi <yao.qi@linaro.org>
8439
8440 * lib/gdbserver-support.exp: Check the existence of
8441 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8442
84432016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8444
8445 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8446
84472016-09-21 Tom Tromey <tom@tromey.com>
8448
8449 PR gdb/20604:
8450 * gdb.base/quit.exp: New file.
8451
84522016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8453
8454 * .gitignore: New file.
8455
84562016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8457
8458 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8459 throughout.
8460
84612016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8462
8463 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8464
84652016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8466
8467 * gdb.cp/casts.cc (decltype): Move it ...
8468 (main): ... with its call to ...
8469 * gdb.cp/casts03.cc: ... a new file.
8470 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8471
84722016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8473
8474 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8475
84762016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8477
8478 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8479 and sync up the test with tests in gas/testsuite/gas/ppc.
8480 * gdb.arch/powerpc-power.exp: Likewise.
8481
84822016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8483
8484 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8485
84862016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8487 Jan Kratochvil <jan.kratochvil@redhat.com>
8488
8489 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8490 make m1's definition to be different from m2's. Use 'dummy' as an
8491 argument for probe 'two'.
8492
84932016-09-10 Jon Beniston <jon@beniston.com>
8494
8495 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8496 for sim target.
8497
84982016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8499
8500 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8501 variable declaration.
8502 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8503 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8504 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8505 received HWCAP as its argument.
8506
85072016-09-06 Pedro Alves <palves@redhat.com>
8508
8509 * gdb.base/new-ui-pending-input.c: New file.
8510 * gdb.base/new-ui-pending-input.exp: New file.
8511 * gdb.exp (clear_gdb_spawn_id): New procedure.
8512 (with_spawn_id): Check whether gdb_spawn_id exists before
8513 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8514 on exit.
8515
85162016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8517
8518 * gdb.base/float128.c: New file.
8519 * gdb.base/float128.exp: Likewise.
8520 * gdb.base/floatn.c: Likewise.
8521 * gdb.base/floatn.exp: Likewise.
8522
85232016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8524
8525 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8526
85272016-09-05 Pedro Alves <palves@redhat.com>
8528
8529 PR backtrace/19927
8530 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8531 unwinders are immediately called as side effect of "source" or
8532 "disable unwinder" commands.
8533 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8534
85352016-09-02 Yao Qi <yao.qi@linaro.org>
8536
8537 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8538 is true and $type is "float" or "double".
8539
85402016-09-02 Yao Qi <yao.qi@linaro.org>
8541
8542 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8543 true.
8544 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8545 * gdb.base/call-rt-st.exp: Likewise.
8546 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8547 return value instead of gdb,skip_float_test.
8548 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8549 (do_function_calls): Use its return value instead of
8550 gdb,skip_float_test.
8551 * gdb.base/finish.exp: Likewise.
8552 * gdb.base/funcargs.exp: Likewise.
8553 * gdb.base/return.exp: Likewise.
8554 * gdb.base/return2.exp: Likewise.
8555 * gdb.base/varargs.exp: Likewise.
8556 * lib/gdb.exp (gdb_skip_float_test): Change it to
8557 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8558
85592016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8560
8561 * gdb.multi/tids.exp: Test "thread apply all".
8562
85632016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8564
8565 * gdb.base/default.exp (tty): Remove.
8566
85672016-08-24 Kevin Buettner <kevinb@redhat.com>
8568
8569 * gdb.python/py-recurse-unwind.c: New file.
8570 * gdb.python/py-recurse-unwind.py: New file.
8571 * gdb.python/py-recurse-unwind.exp: New file.
8572
85732016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8574
8575 * gdb.base/set-inferior-tty.exp: New file.
8576 * gdb.base/set-inferior-tty.c: New file.
8577
85782016-08-23 Pedro Alves <palves@redhat.com>
8579
8580 PR gdb/20494
8581 * gdb.base/new-ui-echo.c: New file.
8582 * gdb.base/new-ui-echo.exp: New file.
8583
85842016-08-23 Yao Qi <yao.qi@linaro.org>
8585
8586 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8587 gdbserver_spawn.
8588 * gdb.server/connect-without-multi-process.exp (do_test):
8589 Likewise.
8590
85912016-08-23 Yao Qi <yao.qi@linaro.org>
8592
8593 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8594 standalone_txt. Delete gdb_txt and standalone_txt on host
8595 and target. Spawn the binary on target. Copy files from
8596 target to host.
8597
85982016-08-22 Pedro Alves <palves@redhat.com>
8599
8600 PR gdb/20505
8601 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8602 with_test_prefix. Factor out bits to ...
8603 (test_no_vdso): ... this new procedure.
8604
86052016-08-19 Carl Love <cel@us.ibm.com>
8606
8607 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8608 maintaining separate logic for constructing the output path.
8609 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8610 * gdb.arch/ppc-dfp.exp: Likewise.
8611 * gdb.arch/ppc-fp.exp: Likewise.
8612 * gdb.arch/vsx-regs.exp: Likewise.
8613 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8614 binprefix for generating the additional binary files.
8615
86162016-08-19 Pedro Alves <palves@redhat.com>
8617
8618 * gdb.trace/mi-trace-frame-collected.exp
8619 (test_trace_frame_collected): On x32, expect two registers.
8620
86212016-08-18 Carl Love <cel@us.ibm.com>
8622
8623 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8624 and sync up the test with tests in gas/testsuite/gas/ppc.
8625 * gdb.arch/powerpc-power.exp: Likewise.
8626
86272016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8628
8629 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8630 expected error message.
8631
86322016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8633
8634 * gdb.multi/remove-inferiors.exp: New file.
8635 * gdb.multi/remove-inferiors.c: New file.
8636
86372016-08-12 Yao Qi <yao.qi@linaro.org>
8638
8639 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8640 argument list.
8641
86422016-08-10 Pedro Alves <palves@redhat.com>
8643
8644 PR gdb/19187
8645 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8646 setup_kfails.
8647
86482016-08-09 Pedro Alves <palves@redhat.com>
8649 Simon Marchi <simon.marchi@ericsson.com>
8650
8651 PR gdb/20418
8652 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8653 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8654
86552016-08-09 Pedro Alves <palves@redhat.com>
8656
8657 PR mi/20431
8658 * gdb.mi/mi-cmd-error.exp: New file.
8659
86602016-08-09 Pedro Alves <palves@redhat.com>
8661
8662 PR gdb/18653
8663 * gdb.base/signals-state-child.c: New file.
8664 * gdb.base/signals-state-child.exp: New file.
8665 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8666
86672016-08-09 Pedro Alves <palves@redhat.com>
8668
8669 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8670
86712016-08-03 Tom Tromey <tom@tromey.com>
8672
8673 PR python/18565:
8674 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8675
86762016-08-01 Yao Qi <yao.qi@linaro.org>
8677
8678 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8679 variable mode to "multi-process" if $multi_process is 1, otherwise
8680 set it to "single-process".
8681
86822016-08-01 Yao Qi <yao.qi@linaro.org>
8683
8684 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8685 * gdb.cp/cpexprs.exp: Likewise.
8686 * gdb.cp/m-static.exp: Likewise.
8687
86882016-07-26 Tom Tromey <tom@tromey.com>
8689
8690 PR python/20190:
8691 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8692 test.
8693
86942016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8695
8696 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8697 selecting assembly source files.
8698 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8699 assembly source files.
8700 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8701 assembly source files.
8702 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8703 selecting assembly source files.
8704
87052016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8706
8707 * gdb.base/new-ui.exp (do_test_invalid_args): New
8708 procedure.
8709
87102016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8711
8712 * gdb.btrace/reconnect.c: New file.
8713 * gdb.btrace/reconnect.exp: New file.
8714
87152016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8716
8717 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8718 to test_catch_syscall_group.
8719 (test_catch_syscall_group): New.
8720
87212016-07-21 Tom Tromey <tom@tromey.com>
8722
8723 * gdb.rust/simple.rs (main): Use empty struct expression.
8724 * gdb.rust/simple.exp: Add tests for empty struct expression.
8725
87262016-07-21 Yao Qi <yao.qi@linaro.org>
8727
8728 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8729 if gdb_skip_xml_test is true on some targets.
8730
87312016-07-21 Yao Qi <yao.qi@linaro.org>
8732
8733 * gdb.server/solib-list.exp: Unset last_loaded_file.
8734
87352016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8736
8737 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8738 "step into captured_main (args)".
8739
87402016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8741
8742 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8743
87442016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8745
8746 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8747
87482016-07-19 Pedro Alves <palves@redhat.com>
8749
8750 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8751 * gdb.opt/inline-bt.exp: Likewise.
8752 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8753 additional_flags=-Winline.
8754 * gdb.opt/inline-locals.exp: Likewise.
8755 * gdb.opt/inline-markers.c (ATTR): Define.
8756 (inlined_fn): Use it.
8757
87582016-07-19 Yao Qi <yao.qi@linaro.org>
8759
8760 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8761 (test_with_self): Remove some code. Remove argument executable.
8762 (top-level): Use do_self_tests.
8763
87642016-07-15 Zachary Welch <zwelch@codesourcery.com>
8765 Don Breazeal <donb@codesourcery.com>
8766
8767 * gdb.base/maint.exp: Escape paths used in regular expressions.
8768 * gdb.stabs/weird.exp: Likewise.
8769
87702016-07-13 Tom Tromey <tom@tromey.com>
8771
8772 PR python/15620, PR python/18620:
8773 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8774 (test_bkpt_events): New procs.
8775
87762016-07-13 Tom Tromey <tom@tromey.com>
8777
8778 PR python/17698:
8779 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8780 test.
8781 (test_watchpoints): Likewise.
8782 (test_bkpt_pending): New proc.
8783
87842016-07-13 Tom Tromey <tom@tromey.com>
8785
8786 PR cli/18053:
8787 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8788 completion test.
8789
87902016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8791
8792 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8793 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8794 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8795 f_label.
8796 (g): Rename g_end_lbl to g_label.
8797 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8798 low_pc and high_pc.
8799 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8800
88012016-07-12 Tom Tromey <tom@tromey.com>
8802
8803 PR python/19293:
8804 * gdb.python/py-unwind-maint.exp: Update tests.
8805
88062016-07-12 Yao Qi <yao.qi@linaro.org>
8807
8808 * lib/selftest-support.exp (selftest_setup): Match the output
8809 when captured_main is inlined.
8810
88112016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8812
8813 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8814 New variables.
8815 (print this%a, print this%b, print this): New tests.
8816 * gdb.fortran/derived-types.f90 (this): New object and
8817 initialization.
8818
88192016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8820
8821 * gdb.ada/arraydim.exp: Remove extra directory level in build
8822 directory.
8823
88242016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8825
8826 * lib/ada.exp: Remove extra directory level in build directory.
8827 * gdb.ada/cond_lang.exp: Likewise.
8828 * gdb.ada/exec_changed.exp: Likewise.
8829 * gdb.ada/lang_switch.exp: Likewise.
8830
88312016-07-06 Manish Goregaokar <manish@mozilla.com>
8832
8833 * simple.rs: Add test for raw pointer subscripting.
8834 * simple.exp: Add test expectations.
8835
88362016-07-05 Yao Qi <yao.qi@linaro.org>
8837
8838 * gdb.mi/mi-reverse.exp: Match =record-started output.
8839
88402016-07-01 Pedro Alves <palves@redhat.com>
8841
8842 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8843 procedure.
8844 (jit_reader_test): Test the jit reader's unwinder.
8845 * gdb.base/jithost.c (jit_function_00_code): New global.
8846 (main): Use memcpy to fill in the mmapped code, instead of poking
8847 bytes manually here.
8848 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8849 value.
8850 (read_debug_info): Save the function's range.
8851 (read_sp): New function.
8852 (unwind_frame): Use it. Also unwind RBP.
8853 (get_frame_id): Use read_sp.
8854 (gdb_init_reader): Use calloc instead of malloc.
8855 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8856 parameter. Use gdb_test_multiple.
8857
88582016-07-01 Pedro Alves <palves@redhat.com>
8859 Antoine Tremblay <antoine.tremblay@ericsson.com>
8860
8861 * gdb.threads/process-dies-while-detaching.c: New file.
8862 * gdb.threads/process-dies-while-detaching.exp: New file.
8863
88642016-07-01 Pedro Alves <palves@redhat.com>
8865
8866 * gdb.multi/watchpoint-multi-exit.c: New file.
8867 * gdb.multi/watchpoint-multi-exit.exp: New file.
8868
88692016-06-30 Pedro Alves <palves@redhat.com>
8870
8871 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8872 unset inferior_spawn_id.
8873
88742016-06-30 Pedro Alves <palves@redhat.com>
8875
8876 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8877 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8878
88792016-06-29 Yao Qi <yao.qi@linaro.org>
8880
8881 * gdb.base/return.c: Add copyright header.
8882
88832016-06-29 Tom Tromey <tom@tromey.com>
8884
8885 PR python/20129:
8886 * gdb.python/py-framefilter.exp: Add tests for setting priority
8887 and disabling of non-existent frame filter.
8888
88892016-06-29 Yao Qi <yao.qi@linaro.org>
8890
8891 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8892 0x0f07ff.
8893
88942016-06-28 Yao Qi <yao.qi@linaro.org>
8895
8896 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8897 triplets. Start gdb, execute catch syscall, and continue. Check
8898 gdb's output to determine catch syscall is supported.
8899
89002016-06-27 Manish Goregaokar <manish@mozilla.com>
8901
8902 * gdb.rust/simple.rs: Add test for returning unit in a function.
8903 * gdb.rust/simple.exp: Add expectation for functions returning
8904 unit.
8905
89062016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8907
8908 * gdb.python/py-breakpoint-create-fail.c,
8909 gdb.python/py-breakpoint-create-fail.exp,
8910 gdb.python/py-breakpoint-create-fail.py: New testcase.
8911
89122016-06-25 Manish Goregaokar <manish@mozilla.com>
8913
8914 PR gdb/20239
8915 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8916 * gdb.rust/simple.exp: Add test expectations for new NonZero
8917 tests.
8918
89192016-06-24 David Taylor <dtaylor@emc.com>
8920
8921 * gdb.base/offsets.exp: New file.
8922 * gdb.base/offsets.c: New file.
8923
89242016-06-23 Tom Tromey <tom@tromey.com>
8925
8926 PR gdb/16483:
8927 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8928 before any filters are loaded.
8929
89302016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8931
8932 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8933 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8934 structs.
8935 * gdb.fortran/derived-type-function.exp: New file.
8936 * gdb.fortran/derived-type-function.f90: New file.
8937
8938
89392016-06-21 Pedro Alves <palves@redhat.com>
8940
8941 * gdb.base/new-ui.exp: New file.
8942 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8943 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8944 (with_spawn_id): New procedure.
8945
89462016-06-21 Pedro Alves <palves@redhat.com>
8947
8948 * gdb.mi/mi-exec-run.exp: New file.
8949
89502016-06-21 Pedro Alves <palves@redhat.com>
8951
8952 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8953 breakpoint command's output on the main UI.
8954 (test_break): New procedure, factored out from calls in the top
8955 level.
8956 (top level): Use foreach_with_prefix to test MI as main UI and as
8957 separate UI.
8958
89592016-06-21 Pedro Alves <palves@redhat.com>
8960
8961 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8962 (test_awatch_creation_and_listing)
8963 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8964 Remove 'type' parameter.
8965 (test_watchpoint_all): New parameter mi_mode. Remove
8966 with_test_prefix.
8967 (top level): Use foreach_with_prefix, and add main/separate UI MI
8968 testing axis.
8969
89702016-06-21 Pedro Alves <palves@redhat.com>
8971
8972 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8973 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8974 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8975 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8976 (gdb_main_spawn_id, mi_spawn_id): Declare and
8977 comment.
8978 (mi_create_inferior_pty): New procedure,
8979 factored out from default_mi_gdb_start.
8980 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8981 procedures.
8982 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8983 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8984 Use mi_create_inferior_pty.
8985 (mi_gdb_start): Use eval to pass down args list.
8986
89872016-06-21 Pedro Alves <palves@redhat.com>
8988
8989 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8990 * gdb.opt/inline-cmds.exp: Add MI tests.
8991
89922016-06-21 Pedro Alves <palves@redhat.com>
8993
8994 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8995
89962016-06-21 Pedro Alves <palves@redhat.com>
8997
8998 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8999 (top level): Use it instead of mi_execute_to.
9000
90012016-06-21 Pedro Alves <palves@redhat.com>
9002
9003 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9004 (cont_handler_str): New.
9005 (signal_stop_handler): Set stop_handler_str instead of printing to
9006 stdout.
9007 (continue_handler): Set cont_handler_str instead of printing to
9008 stdout.
9009 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9010 mi_send_resuming_command. Print stop_handler_str and
9011 cont_handler_str instead of expecting the python events print
9012 directly.
9013
90142016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9015
9016 * gdb.base/jit-reader.exp: New file.
9017 * gdb.base/jithost.c: New file.
9018 * gdb.base/jithost.h: New file.
9019 * gdb.base/jitreader.c : New file.
9020 * gdb.base/jit-protocol.h: New file.
9021
90222016-06-17 Yao Qi <yao.qi@linaro.org>
9023
9024 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9025 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9026 and detach-on-fork. Adjust tests.
9027 (top level): Invoke break_cond_on_syscall with combinations of
9028 syscall, follow-fork-mode and detach-on-fork.
9029
90302016-06-17 Yao Qi <yao.qi@linaro.org>
9031
9032 * gdb.base/step-over-exit.c: New.
9033 * gdb.base/step-over-exit.exp: New.
9034
90352016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9036
9037 * gdb.base/float.exp: Add target check for nds32*-*-*.
9038 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9039
90402016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9041
9042 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9043 for unsupported target features.
9044 * gdb.base/call-rt-st.exp: Likewise.
9045 * gdb.base/call-sc.exp: Likewise.
9046 * gdb.base/call-signal-resume.exp: Likewise.
9047 * gdb.base/call-strs.exp: Likewise.
9048 * gdb.base/callexit.exp: Likewise.
9049 * gdb.base/callfuncs.exp: Likewise.
9050 * gdb.base/nodebug.exp: Likewise.
9051 * gdb.base/printcmds.exp: Likewise.
9052 * gdb.base/ptype.exp: Likewise.
9053 * gdb.base/structs.exp: Likewise.
9054 * gdb.base/unwindonsignal.exp: Likewise.
9055 * gdb.cp/gdb2495.exp: Likewise.
9056 * gdb.cp/templates.exp: Likewise.
9057 * gdb.cp/virtfunc.exp: Likewise.
9058 * gdb.threads/hand-call-in-threads.exp: Likewise.
9059 * gdb.threads/interrupted-hand-call.exp: Likewise.
9060 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9061
90622016-06-10 Tom Tromey <tom@tromey.com>
9063
9064 PR rust/20110:
9065 * gdb.rust/expr.exp: Add test for integer constant larger than
9066 i32.
9067
90682016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9069
9070 * gdb.fortran/nested-funcs.exp: New.
9071 * gdb.fortran/nested-funcs.f90: New.
9072
90732016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9074
9075 * gdb.base/examine-backward.c: New file.
9076 * gdb.base/examine-backward.exp: New file.
9077
90782016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9079
9080 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9081 matching.
9082
90832016-06-02 Tom Tromey <tom@tromey.com>
9084
9085 PR python/18984:
9086 * gdb.python/py-shared.exp: Add solib_name test.
9087
90882016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9089
9090 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9091
90922016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9093
9094 PR c++/19893
9095 * gdb.dwarf2/implref.exp: Rename to...
9096 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9097 * gdb.dwarf2/implref-array.c: New file.
9098 * gdb.dwarf2/implref-array.exp: Likewise.
9099 * gdb.dwarf2/implref-global.c: Likewise.
9100 * gdb.dwarf2/implref-global.exp: Likewise.
9101 * gdb.dwarf2/implref-struct.c: Likewise.
9102 * gdb.dwarf2/implref-struct.exp: Likewise.
9103
91042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9105
9106 * gdb.trace/trace-condition.exp: Add 64bit tests.
9107
91082016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9109
9110 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9111 bits types.
9112 (main): Adapt to 8 to 64 bits types.
9113 * gdb.trace/trace-condition.exp: Add new tests.
9114
91152016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9116
9117 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9118
91192016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9120
9121 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9122 Move condition tests...
9123 * gdb.trace/trace-condition.exp: Here.
9124
91252016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9126
9127 * gdb.trace/trace-condition.exp: Add counter-case tests.
9128
91292016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9130
9131 PR c++/15231
9132 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9133 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9134
91352016-05-27 Pedro Alves <palves@redhat.com>
9136
9137 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9138 New procedure.
9139 (top level): Call it, and bail out of DejaGnu is known to be bad.
9140
91412016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9142
9143 * gdb.base/whatis.c: Extend the test case.
9144 * gdb.base/whatis.exp: Add additional tests.
9145
91462016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9147
9148* gdb.fortran/type.f90: Add pointer variable.
9149* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9150
91512016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9152
9153 * gdb.fortran/vla-type.exp: Fix testcase name.
9154
91552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9156
9157 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9158
91592016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9160
9161 * gdb.fortran/type.f90: Add nested structures.
9162 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9163 * gdb.fortran/derived-type.exp: Adapt expected output.
9164 * gdb.fortran/vla-type.exp: Adapt expected output.
9165
91662016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9167
9168 * gdb.fortran/whatis_type.exp: Adapt expected output.
9169
91702016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9171
9172 * gdb.fortran/print_type.exp: Fix expected output.
9173 * gdb.fortran/whatis_type.exp: Fix expected output.
9174
91752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9176
9177 * gdb.fortran/whatis_type.exp: Use multi_line.
9178
91792016-05-24 Tom Tromey <tom@tromey.com>
9180
9181 PR python/17386:
9182 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9183 use value as an index.
9184
91852016-05-23 Tom Tromey <tom@tromey.com>
9186
9187 PR python/17981:
9188 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9189 no-breakpoint case.
9190
91912016-05-24 Pedro Alves <palves@redhat.com>
9192
9193 PR gdb/19828
9194 * gdb.threads/clone-attach-detach.c: New file.
9195 * gdb.threads/clone-attach-detach.exp: New file.
9196
91972016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9198
9199 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9200
92012016-05-23 Tom Tromey <tom@tromey.com>
9202
9203 PR python/19438, PR python/18393:
9204 * gdb.python/py-progspace.exp: Add "dir" test.
9205 * gdb.python/py-objfile.exp: Add "dir" test.
9206
92072016-05-23 Yao Qi <yao.qi@linaro.org>
9208
9209 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9210 * gdb.arch/thumb2-it.exp: Likewise.
9211
92122016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9213
9214 * gdb.mi/mi-threads-interrupt.c: New file.
9215 * gdb.mi/mi-threads-interrupt.exp: New file.
9216
92172016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9218
9219 PR gdb/18077
9220 * gdb.mi/mi-async-run.exp: New file.
9221 * gdb.mi/mi-async-run.c: New file.
9222
92232016-05-17 Tom Tromey <tom@tromey.com>
9224 Manish Goregaokar <manishsmail@gmail.com>
9225
9226 * lib/rust-support.exp: New file.
9227 * lib/gdb.exp (skip_rust_tests): New proc.
9228 (build_executable_from_specs): Handle rust.
9229 * lib/future.exp (gdb_find_rustc): New proc.
9230 (gdb_default_target_compile): Handle rust.
9231 * gdb.rust/expr.exp: New file.
9232 * gdb.rust/generics.exp: New file.
9233 * gdb.rust/generics.rs: New file.
9234 * gdb.rust/methods.exp: New file.
9235 * gdb.rust/methods.rs: New file.
9236 * gdb.rust/modules.exp: New file.
9237 * gdb.rust/modules.rs: New file.
9238 * gdb.rust/simple.exp: New file.
9239 * gdb.rust/simple.rs: New file.
9240
92412016-05-17 Tom Tromey <tom@tromey.com>
9242
9243 * gdb.base/default.exp (set language): Add rust.
9244
92452016-05-17 Tom Tromey <tom@tromey.com>
9246
9247 * gdb.gdb/unittest.exp: New file.
9248
92492016-05-16 Yao Qi <yao.qi@linaro.org>
9250
9251 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9252 shell_prompt. Update shell_prompt_re.
9253
92542016-05-12 Doug Evans <dje@google.com>
9255
9256 PR symtab/19999
9257 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9258 $options when building executable.
9259 * gdb.dwarf2/fission-loclists-pie.S: New file.
9260 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9261
92622016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9263
9264 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9265 of [is_remote target],
9266
92672016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9268
9269 * lib/gdb.exp (use_gdb_stub): New procedure.
9270
92712016-05-03 Yunlian Jiang <yunlian@google.com>
9272 Doug Evans <dje@google.com>
9273
9274 PR symtab/19914
9275 * gdb.dwarf2/dwp-sepdebug.c: New file.
9276 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9277
92782016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9279
9280 * gdb.base/detach.exp: Remove is_remote check.
9281
92822016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9283
9284 * gdb.base/annota-input-while-running.exp: Don't check for
9285 [is_remote target]. Enable annotations after running to main.
9286 Remove unused "set test..." line.
9287
92882016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9289
9290 * gdb.trace/trace-enable-disable.exp: New file.
9291 * gdb.trace/trace-enable-disable.c: New file.
9292
92932016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9294
9295 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9296 use it in info sharedlibrary test.
9297 * gdb.trace/ftrace-lock.exp: Likewise.
9298 * gdb.trace/ftrace.exp: Likewise.
9299 * gdb.trace/range-stepping.exp: Likewise.
9300 * gdb.trace/trace-break.exp: Likewise.
9301 * gdb.trace/trace-condition.exp: Likewise.
9302 * gdb.trace/trace-mt.exp: Likewise.
9303
93042016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9305
9306 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9307 (gdb_load_shlib): ... this.
9308 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9309 gdb_load_shlib.
9310 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9311 * gdb.base/ctxobj.exp: Likewise.
9312 * gdb.base/dprintf-pending.exp: Likewise.
9313 * gdb.base/dso2dso.exp: Likewise.
9314 * gdb.base/fixsection.exp: Likewise.
9315 * gdb.base/gcore-relro.exp: Likewise.
9316 * gdb.base/gdb1555.exp: Likewise.
9317 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9318 * gdb.base/gnu-ifunc.exp: Likewise.
9319 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9320 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9321 * gdb.base/pending.exp: Likewise.
9322 * gdb.base/print-file-var.exp: Likewise.
9323 * gdb.base/print-symbol-loading.exp: Likewise.
9324 * gdb.base/shlib-call.exp: Likewise.
9325 * gdb.base/shreloc.exp: Likewise.
9326 * gdb.base/so-impl-ld.exp: Likewise.
9327 * gdb.base/solib-disc.exp: Likewise.
9328 * gdb.base/solib-nodir.exp: Likewise.
9329 * gdb.base/solib-overlap.exp: Likewise.
9330 * gdb.base/solib-symbol.exp: Likewise.
9331 * gdb.base/solib-weak.exp (do_test): Likewise.
9332 * gdb.base/sym-file.exp: Likewise.
9333 * gdb.base/symtab-search-order.exp: Likewise.
9334 * gdb.base/type-opaque.exp: Likewise.
9335 * gdb.base/unload.exp: Likewise.
9336 * gdb.base/watchpoint-solib.exp: Likewise.
9337 * gdb.compile/compile.exp: Likewise.
9338 * gdb.cp/gdb2384.exp: Likewise.
9339 * gdb.cp/infcall-dlopen.exp: Likewise.
9340 * gdb.cp/re-set-overloaded.exp: Likewise.
9341 * gdb.fortran/library-module.exp: Likewise.
9342 * gdb.opt/solib-intra-step.exp: Likewise.
9343 * gdb.python/py-finish-breakpoint.exp: Likewise.
9344 * gdb.python/py-shared.exp: Likewise.
9345 * gdb.reverse/solib-precsave.exp: Likewise.
9346 * gdb.reverse/solib-reverse.exp: Likewise.
9347 * gdb.server/solib-list.exp: Likewise.
9348 * gdb.threads/dlopen-libpthread.exp: Likewise.
9349 * gdb.threads/tls-shared.exp: Likewise.
9350 * gdb.threads/tls-so_extern.exp: Likewise.
9351 * gdb.trace/change-loc.exp: Likewise.
9352 * gdb.trace/ftrace-lock.exp: Likewise.
9353 * gdb.trace/ftrace.exp: Likewise.
9354 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9355 * gdb.trace/pending.exp: Likewise.
9356 * gdb.trace/range-stepping.exp: Likewise.
9357 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9358 (strace_info_marker): Likewise.
9359 (strace_probe_marker): Likewise.
9360 (strace_trace_on_same_addr): Likewise.
9361 (strace_trace_on_diff_addr): Likewise.
9362 * gdb.trace/trace-break.exp: Likewise.
9363 * gdb.trace/trace-condition.exp: Likewise.
9364 * gdb.trace/trace-mt.exp: Likewise.
9365
93662016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9367
9368 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9369 result of gdb_remote_download.
9370 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9371 * gdb.base/dso2dso.exp: Likewise.
9372 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9373 * gdb.base/print-file-var.exp: Likewise.
9374 * gdb.base/shlib-call.exp: Likewise.
9375 * gdb.base/shreloc.exp: Likewise.
9376 * gdb.base/solib-overlap.exp: Likewise.
9377 * gdb.base/solib-weak.exp (do_test): Likewise.
9378 * gdb.base/unload.exp: Likewise.
9379
93802016-04-27 Yao Qi <yao.qi@linaro.org>
9381
9382 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9383 exists.
9384
93852016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9386
9387 * vla-type.exp: Print structure from toplevel.
9388
93892016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9390
9391 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9392 of dynamic types.
9393 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9394 of dynamic types.
9395
93962016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9397
9398 * gdb.fortran/vla-type.f90: New file.
9399 * gdb.fortran/vla-type.exp: New file.
9400
94012016-04-25 Yao Qi <yao.qi@linaro.org>
9402
9403 * gdb.base/branch-to-self.c: New file.
9404 * gdb.base/branch-to-self.exp: New file.
9405
94062016-04-22 Yao Qi <yao.qi@linaro.org>
9407
9408 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9409 more after $hex.
9410
94112016-04-22 Yao Qi <yao.qi@linaro.org>
9412
9413 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9414 * gdb.base/annota3.exp: Likewise.
9415
94162016-04-22 Yao Qi <yao.qi@linaro.org>
9417
9418 * gdb.reverse/step-precsave.exp: Do one step and test program
9419 stops in "callee" and do multiple steps until program goes out
9420 of "callee".
9421 * gdb.reverse/step-reverse.exp: Likewise.
9422
94232016-04-22 Yao Qi <yao.qi@linaro.org>
9424
9425 * gdb.trace/signal.exp: Also pass if
9426 $tracepoint_hits($i) > $iterations.
9427
94282016-04-22 Yao Qi <yao.qi@linaro.org>
9429
9430 * gdb.trace/signal.c: New file.
9431 * gdb.trace/signal.exp: New file.
9432
94332016-04-19 Doug Evans <xdje42@gmail.com>
9434
9435 * gdb.base/bad-file.exp: New file.
9436
94372016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9438
9439 * gdb.dwarf2/implref.exp: New file.
9440
94412016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9442
9443 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9444 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9445 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9446 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9447 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9448 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9449 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9450 * lib/fortran.exp (fortran_int4): New procedure.
9451 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9452 (fortran_logical4): Likewise.
9453
94542016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9455
9456 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9457
94582016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9459
9460 * lib/compiler.c: Add Intel specific preprocessor macros.
9461 * lib/compiler.cc: Likewise.
9462
94632016-04-13 Luis Machado <lgustavo@codesourcery.com>
9464
9465 * gdb.server/connect-with-no-symbol-file.c: New file.
9466 * gdb.server/connect-with-no-symbol-file.exp: New file.
9467
94682016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9469
9470 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9471
94722016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9473
9474 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9475 standard output directory.
9476
94772016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9478
9479 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9480
94812016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9482
9483 * gdb.btrace/instruction_history.c (loop): Add declaration.
9484
94852016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9486
9487 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9488
94892016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9490
9491 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9492 parentheses to print.
9493 (continue_handler): Likewise.
9494
94952016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9496
9497 * gdb.server/solib-list.exp: Remove is_remote check.
9498 Pass shlib= to gdb_compile. Don't link shared library with
9499 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9500 Run binary filename through "readlink -f" on the target.
9501
95022016-04-08 Pedro Alves <palves@redhat.com>
9503
9504 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9505 interpreter filename as argument to gdbserver_spawn.
9506 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9507 Return empty if $last_loaded_file does not exist.
9508
95092016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9510
9511 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9512 * gdb.base/jit-main.c: Use exit after usage.
9513
95142016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9515
9516 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9517 GDBHISTSIZE prior to the tests.
9518 * gdb.base/gdbinit-history.exp: Likewise.
9519
95202016-04-07 Pedro Alves <palves@redhat.com>
9521
9522 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9523 instead of build_executable. Use gdb_load_shlibs.
9524
95252016-04-07 Yao Qi <yao.qi@linaro.org>
9526
9527 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9528 Execute "si" command.
9529
95302016-04-07 Yao Qi <yao.qi@linaro.org>
9531
9532 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9533 number instead of the comments on some line.
9534
95352016-04-06 Don Breazeal <donb@codesourcery.com>
9536
9537 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9538 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9539
95402016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9541
9542 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9543 standard_output_file. Remove unused binfile variable.
9544
95452016-04-05 Catalin Udma <catalin.udma@freescale.com>
9546
9547 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9548 * gdb.python/py-mi-objfile.exp: Match "list main" output
9549 in console format.
9550
95512016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9552
9553 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9554 absolute.
9555
95562016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9557
9558 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9559 absolute.
9560 * gdb.trace/ftrace.exp: Likewise.
9561 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9562 targets as well.
9563 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9564 (gdb_load_shlibs): Copy libraries to test directory when testing
9565 natively. Only set solib-search-path if testing remotely.
9566 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9567
95682016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9569
9570 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9571 gdb_download. Use it even if the target is not remote.
9572 * gdb.base/jit.exp (compile_jit_test): Likewise.
9573 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9574 output directory if the destination board is local, otherwise use
9575 the standard remote_download from DejaGnu.
9576 (gdb_download): Remove.
9577 (gdb_load_shlibs): Use gdb_remote_download instead of
9578 gdb_download.
9579 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9580 Use gdb_remote_download instead of gdb_download. Use it even if
9581 the target is not remote.
9582 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9583 instead of gdb_download.
9584
95852016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9586
9587 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9588 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9589 run.
9590
95912016-04-01 Artemiy Volkov <artemiyv@acm.org>
9592
9593 PR gdb/19820
9594 * gdb.base/printcmds.exp: Add artificial arrays tests.
9595
95962016-03-31 Pedro Alves <palves@redhat.com>
9597
9598 PR gdb/19858
9599 * gdb.base/jit-main.c: Include unistd.h.
9600 (ATTACH): Define to 0 if not already defined.
9601 (wait_for_gdb, mypid): New globals.
9602 (WAIT_FOR_GDB): New macro.
9603 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9604 some breakpoint locations.
9605 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9606 New procedures.
9607 (one_jit_test): Add REATTACH parameter, and handle it. Use
9608 continue_to_test_location.
9609 (top level): Test attach, and adjusts calls to one_jit_test.
9610
96112016-03-31 Pedro Alves <palves@redhat.com>
9612
9613 PR gdb/19858
9614 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9615 BINSUFFIX parameter, and handle it.
9616 (top level): Adjust calls compile_jit_test.
9617
96182016-03-31 Catalin Udma <catalin.udma@freescale.com>
9619
9620 PR python/19743
9621 * gdb.python/py-mi-events-gdb.py: New file.
9622 * gdb.python/py-mi-events.c: New file.
9623 * gdb.python/py-mi-events.exp: New file.
9624
96252016-03-30 Yao Qi <yao.qi@linaro.org>
9626
9627 * gdb.reverse/until-precsave.exp: Match function name only.
9628 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9629 Move malloc to a condition block.
9630 * gdb.reverse/until-reverse.exp: Match function name only.
9631
96322016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9633
9634 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9635 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9636 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9637 variable for GPR 0 instead of assuming it is register 0.
9638 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9639 * lib/trace-support.exp: Add s390 registers.
9640
96412016-03-29 Yao Qi <yao.qi@linaro.org>
9642
9643 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9644
96452016-03-24 Yao Qi <yao.qi@linaro.org>
9646
9647 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9648 test message.
9649
96502016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9651
9652 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9653 maintaining separate logic for constructing the output path.
9654
96552016-03-16 Don Breazeal <donb@codesourcery.com>
9656
9657 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9658 Retry fork and waitpid on interrupted system call errors.
9659 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9660 Use with_timeout_factor to increase timeout by factor of 10.
9661
96622016-03-15 Don Breazeal <donb@codesourcery.com>
9663
9664 * gdb.cp/scope-err.cc: New test program.
9665 * gdb.cp/scope-err.exp: New test script.
9666 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9667 lines and "set breakpoint here" comment.
9668 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9669 Fixed some whitespace and format issues.
9670 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9671 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9672
96732016-03-15 Doug Evans <dje@google.com>
9674
9675 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9676 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9677 All callers updated. Add tests for enums, mixed flags register.
9678
96792016-03-15 Doug Evans <dje@google.com>
9680
9681 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9682 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9683
96842016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9685
9686 * gdb.base/default.exp: Add $_as_string to the list of expected
9687 convenience functions.
9688
96892016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9690
9691 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9692
96932016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9694
9695 * gdb.python/py-as-string.exp: New file.
9696 * gdb.python/py-as-string.c: New file.
9697
96982016-03-09 Pedro Alves <palves@redhat.com>
9699
9700 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9701 signal" -> "Thread NN received signal" output change.
9702 * gdb.threads/ia64-sigill.exp: Likewise.
9703 * gdb.threads/linux-dp.exp: Likewise.
9704 * gdb.threads/manythreads.exp: Likewise.
9705 * gdb.threads/pending-step.exp: Likewise.
9706 * gdb.threads/print-threads.exp: Likewise.
9707 * gdb.threads/sigstep-threads.exp: Likewise.
9708 * gdb.threads/staticthreads.exp: Likewise.
9709 * gdb.threads/tls.exp: Likewise.
9710
97112016-03-09 Pedro Alves <palves@redhat.com>
9712
9713 * gdb.base/command-line-input.exp: New file.
9714
97152016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9716
9717 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9718 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9719 * gdb.trace/pending.exp: Accept leading dot before function name.
9720 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9721 * lib/trace-support.exp: Set registers for ppc.
9722
97232016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9724
9725 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9726 use it for disassembly; accept .main in addition to main in backtrace.
9727
97282016-03-09 Wei-cheng Wang <cole945@gmail.com>
9729 Marcin Kościelnicki <koriakin@0x04.net>
9730
9731 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9732 (gdb_recursion_test_ptr): New global variable.
9733 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9734 gdb_recursion_test.
9735 (gdb_c_test): Ditto.
9736
97372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9738
9739 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9740 ordering.
9741
97422016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9743
9744 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9745 (bar): Add bar_start_lbl label.
9746 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9747 of foo/bar for emitting DWARF and tracing.
9748
97492016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9750
9751 * analyze-racy-logs.py: Set executable bit.
9752
97532016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9754
9755 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9756 (CHECK_TARGET_TMP): Likewise.
9757 (check-single-racy): New rule.
9758 (check-parallel-racy): Likewise.
9759 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9760 (do-check-parallel-racy): New rule.
9761 (check-racy/%.exp): Likewise.
9762 * README (Racy testcases): New section.
9763 * analyze-racy-logs.py: New file.
9764
97652016-03-03 Doug Evans <dje@google.com>
9766
9767 * gdb.base/skip.exp: Use with_test_prefix.
9768
97692016-03-03 Yao Qi <yao.qi@linaro.org>
9770
9771 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9772 Invoke step_over_syscall "clone" and break_cond_on_syscall
9773 "clone".
9774 * gdb.base/step-over-clone.c: New file.
9775
97762016-03-03 Yao Qi <yao.qi@linaro.org>
9777
9778 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9779 code format.
9780
97812016-03-03 Yao Qi <yao.qi@linaro.org>
9782
9783 * gdb.base/disp-step-fork.c: Rename to ...
9784 * gdb.base/step-over-fork.c: ... it. New file.
9785 * gdb.base/disp-step-vfork.c: Rename to ...
9786 * gdb.base/step-over-vfork.c: ... it. New file.
9787 * gdb.base/disp-step-syscall.exp: Rename to ...
9788 * gdb.base/step-over-syscall.exp: ... it. New file.
9789 (disp_step_cross_syscall): Rename to ...
9790 (step_over_syscall): ... it.
9791
97922016-03-03 Yao Qi <yao.qi@linaro.org>
9793
9794 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9795 If target supports condition evaluation on target, invoke
9796 break_cond_on_syscall for fork and vfork.
9797
97982016-03-03 Yao Qi <yao.qi@linaro.org>
9799
9800 * gdb.base/disp-step-syscall.exp: Don't invoke
9801 support_displaced_stepping.
9802 (disp_step_cross_syscall): Test with displaced stepping off and
9803 on if supported.
9804
98052016-03-03 Yao Qi <yao.qi@linaro.org>
9806
9807 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9808 proc.
9809 (setup): New proc.
9810 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9811 and setup.
9812
98132016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9814
9815 * gdb.fortran/vla-history.exp: Remove breakpoint.
9816
98172016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9818
9819 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9820 exceeds timeout.
9821
98222016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9823
9824 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9825 breakpoint.
9826
98272016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9828
9829 * gdb.mi/vla.f90: Nullify pointer after declaration.
9830
98312016-03-01 Pedro Alves <palves@redhat.com>
9832
9833 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9834
98352016-03-01 Pedro Alves <palves@redhat.com>
9836
9837 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9838 before anything else.
9839 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9840 _GNU_SOURCE here.
9841 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9842 before anything else.
9843 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9844
98452016-03-01 Pedro Alves <palves@redhat.com>
9846
9847 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9848
98492016-03-01 Yao Qi <yao.qi@linaro.org>
9850
9851 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9852 prepare_for_testing.
9853
98542016-03-01 Yao Qi <yao.qi@linaro.org>
9855
9856 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9857
98582016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9859
9860 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9861 manually constructing the output path.
9862
98632016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9864
9865 * gdb.arch/s390-stackless.S: New.
9866 * gdb.arch/s390-stackless.exp: New.
9867
98682016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9869
9870 * gdb.dlang/circular.c: New file.
9871 * gdb.dlang/circular.exp: New file.
9872
98732016-02-26 Yao Qi <yao.qi@linaro.org>
9874
9875 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9876 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9877 (testcases): Update.
9878
98792016-02-26 Yao Qi <yao.qi@linaro.org>
9880
9881 * gdb.reverse/aarch64.c: Rename to ...
9882 * gdb.reverse/insn-reverse.c: ... it.
9883 * gdb.reverse/aarch64.exp: Rename to ...
9884 * gdb.reverse/insn-reverse.exp: ... it.
9885
98862016-02-26 Yao Qi <yao.qi@linaro.org>
9887
9888 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9889 (testcase_ftype): New.
9890 (testcases): New array.
9891 (n_testcases): New.
9892 (main): Call each element in testcases.
9893 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9894 (read_testcase): New.
9895 Do the tests in a loop.
9896
98972016-02-25 Yao Qi <yao.qi@linaro.org>
9898
9899 * gdb.base/branches.c: Remove.
9900
99012016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9902
9903 PR gdb/13808
9904 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9905
99062016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9907
9908 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9909
99102016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9911
9912 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9913 change x86_64 call_insn to 'callq'.
9914
99152016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9916
9917 * gdb.trace/tfile-avx.c: Move to...
9918 * gdb.trace/tracefile-pseudo-reg.c: Here.
9919 * gdb.trace/tfile-avx.exp: Move to...
9920 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9921
99222016-02-24 Gary Benson <gbenson@redhat.com>
9923
9924 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9925 message on attach.
9926
99272016-02-23 Doug Evans <dje@google.com>
9928
9929 * gdb.base/skip.c (test_skip): New function.
9930 (end_test_skip_file_and_function): New function.
9931 (test_skip_file_and_function): New function.
9932 * gdb.base/skip1.c (test_skip): New function.
9933 (skip1_test_skip_file_and_function): New function.
9934 * gdb.base/skip.exp: Add tests for new skip options.
9935 * gdb.base/skip-solib.exp: Update expected output.
9936 * gdb.perf/skip-command.cc: New file.
9937 * gdb.perf/skip-command.exp: New file.
9938 * gdb.perf/skip-command.py: New file.
9939
99402016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9941
9942 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9943 info registers pattern.
9944
99452016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9946
9947 * lib/future.exp: Add D support.
9948 (gdb_find_gdc): New proc.
9949 (gdb_default_target_compile): Add D support.
9950
99512016-02-18 Wei-cheng Wang <cole945@gmail.com>
9952
9953 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9954 user+system time.
9955 (trace_speed_test): Determine the iteration count for a time
9956 between 15..30 seconds.
9957
99582016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9959
9960 * gdb.arch/i386-mpx-sigsegv.c: New file.
9961 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9962 * gdb.arch/i386-mpx-simple_segv.c: New file.
9963 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9964
99652016-02-18 Yao Qi <yao.qi@linaro.org>
9966
9967 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9968 Don't call setup_kfail.
9969
99702016-02-18 Yao Qi <yao.qi@linaro.org>
9971
9972 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9973 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9974
99752016-02-16 Doug Evans <dje@google.com>
9976
9977 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9978 * gdb.base/skip1.c: Ditto.
9979 * gdb.base/skip.exp: Whitespace cleanup.
9980
99812016-02-16 Don Breazeal <donb@codesourcery.com>
9982
9983 PR remote/19496
9984 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9985 Remove kfail for PR remote/19496.
9986
99872016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9988
9989 * lib/gdb.exp (standard_temp_file): Return a path specific to
9990 the runtest invocation.
9991
99922016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9993
9994 * gdb.trace/save-trace.exp: Change relative path to be in the
9995 standard output directory.
9996
99972016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9998
9999 * gdb.arch/i386-prologue.c: Add missing prototypes.
10000
100012016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10002
10003 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10004 * gdb.arch/i386-prologue.exp: Likewise.
10005 * gdb.arch/i386-size.exp: Likewise.
10006
100072016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10008
10009 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10010 define object file path.
10011 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10012 file path.
10013 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10014 standard_output_file to define binfile.
10015
100162016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10017
10018 Fix compatibility with recent gfortran-5.3.1.
10019 * gdb.fortran/vla-history.exp (print vla1 allocated)
10020 (print vla2 allocated, print $2, print $3): Remove
10021 (print $4): Rename to ...
10022 (print $2): ... here.
10023 (print $9): Rename to ...
10024 (print $5): ... here.
10025 (print $10): Rename to ...
10026 (print $6): ... here.
10027 * gdb.fortran/vla.f90: Add pvla initialization.
10028
100292016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10030
10031 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10032 New test.
10033 * gdb.fortran/vla-value-sub.exp: Likewise.
10034
100352016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10036
10037 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10038
100392016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10040
10041 * i386-biarch-core.exp: Define corefile using
10042 standard_output_file.
10043
100442016-02-12 Yao Qi <yao.qi@linaro.org>
10045
10046 * gdb.arch/arm-single-step-kernel-helper.c: New.
10047 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10048
100492016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10050
10051 * gdb.btrace/tailcall-only.exp: New.
10052 * gdb.btrace/tailcall-only.c: New.
10053 * gdb.btrace/x86_64-tailcall-only.S: New.
10054 * gdb.btrace/i686-tailcall-only.S: New.
10055
100562016-02-11 Pedro Alves <palves@redhat.com>
10057
10058 * README (Parallel testing): Add missing double quotes.
10059
100602016-02-11 Pedro Alves <palves@redhat.com>
10061
10062 * README (Parallel testing): New section.
10063 (GDB_PARALLEL): Rewrite.
10064 (FORCE_PARALLEL): Document.
10065
100662016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10067
10068 * gdb.trace/tfile-avx.c: New test.
10069 * gdb.trace/tfile-avx.exp: New test.
10070
100712016-02-09 Keith Seitz <keiths@redhat.com>
10072
10073 PR breakpoints/19546
10074 * gdb.base/infcall-exec.c: New file.
10075 * gdb.base/infcall-exec2.c: New file.
10076 * gdb.base/infcall-exec.exp: New file.
10077
100782016-02-09 Keith Seitz <keiths@redhat.com>
10079
10080 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10081 (toplevel): Call test_bkpt_address.
10082
100832016-02-09 Keith Seitz <keiths@redhat.com>
10084
10085 PR python/19506
10086 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10087 (toplevel): Call test_bkpt_address.
10088
100892016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10090
10091 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10092 to AC_OUTPUT.
10093 * configure: Regenerate.
10094
100952016-02-09 Pedro Alves <palves@redhat.com>
10096
10097 PR breakpoints/19548
10098 * gdb.base/execl-update-breakpoints.c (some_function): New
10099 function.
10100 (main): Call it.
10101 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10102 Tighten expected GDB output.
10103
101042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10105
10106 * Makefile.in (ALL_SUBDIRS): Remove.
10107 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10108 (distclean maintainer-clean realclean): Likewise.
10109 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10110 * configure: Regenerate.
10111 * gdb.ada/Makefile.in: Delete.
10112 * gdb.arch/Makefile.in: Likewise.
10113 * gdb.asm/Makefile.in: Likewise.
10114 * gdb.base/Makefile.in: Likewise.
10115 * gdb.btrace/Makefile.in: Likewise.
10116 * gdb.cell/Makefile.in: Likewise.
10117 * gdb.compile/Makefile.in: Likewise.
10118 * gdb.cp/Makefile.in: Likewise.
10119 * gdb.disasm/Makefile.in: Likewise.
10120 * gdb.dlang/Makefile.in: Likewise.
10121 * gdb.dwarf2/Makefile.in: Likewise.
10122 * gdb.fortran/Makefile.in: Likewise.
10123 * gdb.gdb/Makefile.in: Likewise.
10124 * gdb.go/Makefile.in: Likewise.
10125 * gdb.guile/Makefile.in: Likewise.
10126 * gdb.java/Makefile.in: Likewise.
10127 * gdb.linespec/Makefile.in: Likewise.
10128 * gdb.mi/Makefile.in: Likewise.
10129 * gdb.modula2/Makefile.in: Likewise.
10130 * gdb.multi/Makefile.in: Likewise.
10131 * gdb.objc/Makefile.in: Likewise.
10132 * gdb.opencl/Makefile.in: Likewise.
10133 * gdb.opt/Makefile.in: Likewise.
10134 * gdb.pascal/Makefile.in: Likewise.
10135 * gdb.perf/Makefile.in: Likewise.
10136 * gdb.python/Makefile.in: Likewise.
10137 * gdb.reverse/Makefile.in: Likewise.
10138 * gdb.server/Makefile.in: Likewise.
10139 * gdb.stabs/Makefile.in: Likewise.
10140 * gdb.threads/Makefile.in: Likewise.
10141 * gdb.trace/Makefile.in: Likewise.
10142 * gdb.xml/Makefile.in: Likewise.
10143 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10144 GDB_PARALLEL.
10145 (standard_output_file): Remove check for GDB_PARALLEL, always
10146 return path in outputs/$subdir/$testname.
10147
101482016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10149
10150 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10151 (site.exp): Assign abs_srcdir to tcl's srcdir.
10152
101532016-02-04 Yao Qi <yao.qi@linaro.org>
10154
10155 * gdb.base/foll-exec-mode.c: Include limits.h.
10156 (main): Add parameters argc and argv. Get directory from
10157 argv[0].
10158 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10159 compilation.
10160 * gdb.base/foll-exec.c: Include limits.h.
10161 (main): Add parameters argc and argv.
10162 Get directory from argv[0].
10163 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10164 Adjust tests on the number of lines as source code changed.
10165 * gdb.base/foll-vfork-exit.c: Include limits.h.
10166 (main): Add one line of statement before vfork.
10167 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10168 (main): Add parameters argc and argv. Get directory from
10169 argv[0].
10170 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10171 (setup_gdb): Set tbreak to skip some source lines.
10172 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10173 (main): Add parameters argc and argv. Get directory from
10174 argv[0].
10175 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10176 compilation.
10177 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10178 (main): Add parameters argc and argv. Get directory from
10179 argv[0].
10180 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10181 compilation.
10182
101832016-02-01 Doug Evans <dje@google.com>
10184
10185 * gdb.base/skip.exp: Clean up multiple references to same test name.
10186
101872016-02-01 Pedro Alves <palves@redhat.com>
10188
10189 PR remote/19496
10190 * gdb.threads/forking-threads-plus-breakpoint.exp
10191 (displaced_stepping_supported): New global.
10192 (probe_displaced_stepping_support): New procedure.
10193 (do_test): Add 'displaced' parameter, and use it.
10194 (top level): Check for displaced stepping support. Add displaced
10195 stepping on/off testing axis.
10196
101972016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10198
10199 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10200 pointer. Don't perform further tests on the unassociated pointer
10201 if the first test fails.
10202
102032016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10204
10205 * gdb.base/max-value-size.c: New file.
10206 * gdb.base/max-value-size.exp: New file.
10207 * gdb.base/huge.exp: Disable max-value-size for this test.
10208
102092016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10210
10211 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10212
102132016-01-28 Yao Qi <yao.qi@linaro.org>
10214
10215 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10216
102172016-01-25 Pedro Alves <palves@redhat.com>
10218
10219 PR threads/19461
10220 * gdb.base/fork-running-state.c: New file.
10221 * gdb.base/fork-running-state.exp: New file.
10222
102232016-01-25 Pedro Alves <palves@redhat.com>
10224
10225 PR gdb/19494
10226 * gdb.base/catch-fork-kill.c: New file.
10227 * gdb.base/catch-fork-kill.exp: New file.
10228
102292016-01-25 Pedro Alves <palves@redhat.com>
10230
10231 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10232 Delete, moved to lib/gdb.exp.
10233 * gdb.threads/forking-threads-plus-breakpoint.exp
10234 (foreach_with_prefix): Likewise.
10235 * gdb.threads/process-dies-while-handling-bp.exp
10236 (foreach_with_prefix): Likewise.
10237 * lib/gdb.exp (foreach_with_prefix): New procedure.
10238
102392016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10240
10241 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10242 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10243
102442016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10245
10246 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10247 endian targets.
10248
102492016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10250 Pedro Alves <palves@redhat.com>
10251
10252 Fix testsuite compatibility with Guile.
10253 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10254 number.
10255
102562016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10257
10258 Fix testsuite compatibility with Guile.
10259 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10260 (thread 1): New test for backtrace through signal handler.
10261
102622016-01-22 Yao Qi <yao.qi@linaro.org>
10263
10264 PR testsuite/19491
10265 * gdb.base/multi-forks.c: Include
10266 ../lib/unbuffer_output.c
10267 (main): Call gdb_unbuffer_output.
10268
102692016-01-21 Doug Evans <dje@google.com>
10270
10271 * lib/ada.exp (gdb_compile_ada): Fix typo.
10272
102732016-01-21 Joel Brobecker <brobecker@adacore.com>
10274
10275 * gdb.base/break-fun-addr.exp: New file.
10276 * gdb.base/break-fun-addr1.c: New file.
10277 * gdb.base/break-fun-addr2.c: New file.
10278
102792016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10280
10281 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10282 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10283 enum flag values.
10284
102852016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10286
10287 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10288 when GDB can not set the vector return value. Add more comments
10289 for clarification.
10290
102912016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10292
10293 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10294 command.
10295
102962016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10297
10298 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10299
103002016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10301
10302 * Makefile.in (check-single): Pass --status to runtest.
10303 (check/%.exp): Likewise.
10304
103052016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10306
10307 * Makefile.in (check-parallel): Propagate return code from make
10308 do-check-parallel.
10309
103102016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10311
10312 * gdb.trace/ftrace.exp: Fix expected message on continue.
10313 * gdb.trace/pending.exp: Fix expected message on continue.
10314 * gdb.trace/trace-break.exp: Fix expected message on continue.
10315
103162016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10317
10318 * lib/gdb.exp (gdb_test): Remove unused global references.
10319
103202016-01-18 Pedro Alves <palves@redhat.com>
10321
10322 * gdb.base/async-shell.exp: Adjust expected output.
10323 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10324 * gdb.base/siginfo-thread.exp: Adjust expected output.
10325 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10326 * gdb.java/jnpe.exp: Adjust expected output.
10327 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10328 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10329 * gdb.threads/leader-exit.exp: Adjust expected output.
10330 * gdb.threads/manythreads.exp: Adjust expected output.
10331 * gdb.threads/pthreads.exp: Adjust expected output.
10332 * gdb.threads/schedlock.exp: Adjust expected output.
10333 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10334 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10335 expected output.
10336 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10337 output.
10338 * gdb.threads/sigthread.exp: Adjust expected output.
10339 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10340
103412016-01-18 Yao Qi <yao.qi@linaro.org>
10342
10343 * gdb.guile/scm-section-script.c: Replace @progbits with
10344 %progbits.
10345 * gdb.python/py-section-script.c: Likewise.
10346
103472016-01-15 Pedro Alves <palves@redhat.com>
10348
10349 * gdb.multi/tids.exp: Test star wildcard ranges.
10350
103512016-01-15 Pedro Alves <palves@redhat.com>
10352
10353 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10354 command from "thread apply" invocation.
10355 (thr_apply_info_thr_invalid): Default the expected output to the
10356 input tid list.
10357 (top level): Add tests that use convenience variables. Add tests
10358 for "thread apply" with a valid TID list, but missing the command.
10359
103602016-01-13 Pedro Alves <palves@redhat.com>
10361
10362 * gdb.base/default.exp: Expect $_gthread as well.
10363 * gdb.multi/tids.exp: Test $_gthread.
10364 * gdb.threads/thread-specific.exp: Test $_gthread.
10365
103662016-01-13 Pedro Alves <palves@redhat.com>
10367
10368 * gdb.multi/tids.exp: Test "info threads -gid".
10369
103702016-01-13 Pedro Alves <palves@redhat.com>
10371
10372 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10373 Breakpoint.thread.
10374 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10375
103762016-01-07 Pedro Alves <palves@redhat.com>
10377
10378 * gdb.base/break.exp: Adjust to output changes.
10379 * gdb.base/hbreak2.exp: Likewise.
10380 * gdb.base/sepdebug.exp: Likewise.
10381 * gdb.base/watch_thread_num.exp: Likewise.
10382 * gdb.linespec/keywords.exp: Likewise.
10383 * gdb.multi/info-threads.exp: Likewise.
10384 * gdb.threads/thread-find.exp: Likewise.
10385 * gdb.multi/tids.c: New file.
10386 * gdb.multi/tids.exp: New file.
10387
103882016-01-13 Pedro Alves <palves@redhat.com>
10389
10390 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10391
103922016-01-13 Pedro Alves <palves@redhat.com>
10393
10394 * gdb.base/default.exp: Expect $_inferior as well.
10395 * gdb.multi/base.exp: Test $_inferior.
10396
103972016-01-13 Pedro Alves <palves@redhat.com>
10398
10399 PR breakpoints/19388
10400 * gdb.base/catch-signal-siginfo-cond.c: New file.
10401 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10402
104032016-01-12 Josh Stone <jistone@redhat.com>
10404 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10405
10406 * gdb.base/catch-syscall.c (do_execve): New variable.
10407 (main): Conditionally trigger an execve.
10408 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10409 (test_catch_syscall_execve): New, check entry/return across execve.
10410 (do_syscall_tests): Call test_catch_syscall_execve.
10411
104122016-01-12 Pedro Alves <palves@redhat.com>
10413
10414 * gdb.base/random-signal.exp (do_test): New procedure, with body
10415 of testcase moved in.
10416
104172016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10418 Pedro Alves <palves@redhat.com>
10419
10420 * gdb.base/funcargs.exp (finish from indirectly called function):
10421 Reintroduce the case for 'First'.
10422
104232016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10424 Pedro Alves <palves@redhat.com>
10425
10426 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10427 (tcatch_vfork_then_child_follow_exec)
10428 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10429 identification.
10430
104312016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10432
10433 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10434 and repeats to unlimited.
10435 * gdb.python/py-value.exp: Likewise.
10436 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10437 and repeats to unlimited.
10438
104392016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10440
10441 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10442 and reordering the functions.
10443 * gdb.multi/hangout.c: Likewise.
10444 * gdb.multi/hello.c: Likewise.
10445
104462016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10447
10448 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10449 absolute.
10450 (SingleStatisticTestResult.report): Use dict.keys instead of
10451 dict.iterkeys.
10452
104532016-01-06 Pedro Alves <palves@redhat.com>
10454
10455 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10456
104572016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10458
10459 * gdb.btrace/dlopen.exp: New.
10460 * gdb.btrace/dlopen.c: New.
10461 * gdb.btrace/dlopen-dso.c: New.
10462
104632015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10464
10465 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10466 PATTERN argument is optional.
10467
104682015-12-24 Joel Brobecker <brobecker@adacore.com>
10469
10470 * lib/ada.exp (target_compile_ada_from_dir): New function.
10471 (gdb_compile_ada): Reimplement avoiding the use of project files.
10472 * gdb.ada/gnat_ada.gpr: Delete.
10473 * gdb.ada/cond_lang.exp: Adjust test to make path before
10474 filename optional.
10475 * gdb.ada/small_reg_param.exp: Likewise.
10476
104772015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10478
10479 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10480
104812015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10482
10483 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10484 case.
10485
104862015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10487
10488 * gdb.base/break.exp: Remove dead code.
10489 * gdb.base/sepdebug.exp: Likewise.
10490
104912015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10492
10493 * gdb.asm/asm-source.exp: Remove HP-UX references.
10494 * gdb.base/annota1.exp: Likewise.
10495 * gdb.base/annota3.exp: Likewise.
10496 * gdb.base/attach.exp: Likewise.
10497 * gdb.base/bigcore.exp: Likewise.
10498 * gdb.base/break.exp: Likewise.
10499 * gdb.base/call-ar-st.exp: Likewise.
10500 * gdb.base/callfuncs.exp: Likewise.
10501 * gdb.base/catch-fork-static.exp: Likewise.
10502 * gdb.base/display.exp: Likewise.
10503 * gdb.base/foll-exec-mode.exp: Likewise.
10504 * gdb.base/foll-exec.exp: Likewise.
10505 * gdb.base/foll-fork.exp: Likewise.
10506 * gdb.base/foll-vfork.exp: Likewise.
10507 * gdb.base/funcargs.exp: Likewise.
10508 * gdb.base/hbreak2.exp: Likewise.
10509 * gdb.base/inferior-died.exp: Likewise.
10510 * gdb.base/interrupt.exp: Likewise.
10511 * gdb.base/multi-forks.exp: Likewise.
10512 * gdb.base/nodebug.exp: Likewise.
10513 * gdb.base/sepdebug.exp: Likewise.
10514 * gdb.base/solib1.c: Likewise.
10515 * gdb.base/step-test.exp: Likewise.
10516 * gdb.mi/non-stop.c: Likewise.
10517 * gdb.mi/pthreads.c: Likewise.
10518 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10519 * gdb.threads/pthreads.c: Likewise.
10520 * gdb.threads/staticthreads.exp: Likewise.
10521 * lib/future.exp: Likewise.
10522 * lib/gdb.exp: Likewise.
10523 * gdb.base/so-indr-cl.c: Remove.
10524 * gdb.base/so-indr-cl.exp: Likewise.
10525 * gdb.base/solib.c: Likewise.
10526 * gdb.base/solib.exp: Likewise.
10527 * gdb.base/solib2.c: Likewise.
10528
105292015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10530
10531 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10532 * gdb.base/call-ar-st.exp: Likewise.
10533 * gdb.base/callfuncs.exp: Likewise.
10534 * gdb.base/condbreak.exp: Likewise.
10535 * gdb.base/constvars.exp: Likewise.
10536 * gdb.base/hbreak2.exp: Likewise.
10537 * gdb.base/langs.exp: Likewise.
10538 * gdb.base/list.exp: Likewise.
10539 * gdb.base/long_long.exp: Likewise.
10540 * gdb.base/ptype.exp: Likewise.
10541 * gdb.base/scope.exp: Likewise.
10542 * gdb.base/signals.exp: Likewise.
10543 * gdb.base/so-impl-ld.exp: Likewise.
10544 * gdb.base/varargs.exp: Likewise.
10545 * gdb.base/volatile.exp: Likewise.
10546 * gdb.base/whatis.exp: Likewise.
10547 * gdb.cp/cplusfuncs.exp: Likewise.
10548 * gdb.cp/inherit.exp: Likewise.
10549 * gdb.cp/local.exp: Likewise.
10550 * gdb.cp/member-ptr.exp: Likewise.
10551 * gdb.cp/method.exp: Likewise.
10552 * gdb.cp/overload.exp: Likewise.
10553 * gdb.cp/templates.exp: Likewise.
10554 * gdb.stabs/weird.exp: Likewise.
10555 * lib/compiler.c: Likewise.
10556 * lib/compiler.cc: Likewise.
10557 * lib/cp-support.exp: Likewise.
10558 * lib/gdb.exp: Likewise.
10559
105602015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10561
10562 * configure.ac: Remove HP-UX case.
10563 * configure: Regenerate.
10564
105652015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10566
10567 * lib/gdb.exp (gdb_compile): Add function doc.
10568
105692015-12-17 Pedro Alves <palves@redhat.com>
10570
10571 PR threads/19354
10572 * gdb.multi/info-threads.exp: New file.
10573
105742015-12-15 Yao Qi <yao.qi@linaro.org>
10575
10576 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10577 is aarch64*-*-*.
10578
105792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10580
10581 * gdb.base/history-duplicates.exp: Skip if no readline support.
10582
105832015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10584
10585 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10586
105872015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10588
10589 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10590
105912015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10592
10593 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10594 ctrl-C if nointerrupts target property is set.
10595 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10596 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10597 * gdb.base/paginate-bg-execution.exp: Likewise.
10598 * gdb.base/paginate-execution-startup.exp: Likewise.
10599 * gdb.base/random-signal.exp: Likewise.
10600 * gdb.base/range-stepping.exp: Likewise.
10601 * gdb.cp/annota2.exp: Likewise.
10602 * gdb.cp/annota3.exp: Likewise.
10603 * gdb.gdb/selftest.exp: Likewise.
10604 * gdb.threads/continue-pending-status.exp: Likewise.
10605 * gdb.threads/leader-exit.exp: Likewise.
10606 * gdb.threads/manythreads.exp: Likewise.
10607 * gdb.threads/pthreads.exp: Likewise.
10608 * gdb.threads/schedlock.exp: Likewise.
10609 * gdb.threads/sigthread.exp: Likewise.
10610
106112015-12-11 Don Breazeal <donb@codesourcery.com>
10612
10613 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10614 remote.
10615 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10616 * gdb.base/foll-exec.exp (main): Enable for target remote.
10617 * gdb.base/foll-fork.exp (main): Likewise.
10618 * gdb.base/foll-vfork.exp (main): Likewise.
10619 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10620 (proc continue_to_exit_bp_loc): Use clean_restart.
10621 * gdb.base/pie-execl.exp (main): Disable for target remote.
10622 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10623 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10624 * gdb.threads/execl.exp (main): Likewise.
10625 * gdb.threads/fork-child-threads.exp (main): Likewise.
10626 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10627 remote.
10628 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10629 remote.
10630 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10631 pid.tid style ptids, instead of just tid.
10632 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10633 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10634 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10635 ptids, instead of just tid.
10636
106372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10638
10639 * gdb.base/list.exp (test_list_forward): Add end of file error
10640 test.
10641 (test_repeat_list_command): Add end of file error test.
10642 (test_list_backwards): Add beginning of file error test.
10643
106442015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10645
10646 * gdb.base/list.exp (test_list_invalid_args): New function,
10647 defined, and called.
10648
106492015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10650
10651 * gdb.base/list.exp (test_list): Make test names unique.
10652
106532015-12-11 Yao Qi <yao.qi@linaro.org>
10654
10655 * gdb.base/coremaker2.c: Remove.
10656
106572015-12-10 Pedro Alves <palves@redhat.com>
10658
10659 * gdb.multi/base.exp: Remove stale "spaces" references.
10660
106612015-12-10 Pedro Alves <palves@redhat.com>
10662
10663 * gdb.multi/base.exp: Don't use nowarnings.
10664 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10665 * gdb.multi/hangout.c: Include stdio.h.
10666 * gdb.multi/hello.c: Include stdlib.h.
10667 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10668 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10669 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10670
106712015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10672
10673 * gdb.dwarf2/dw2-ranges-base.c: New file.
10674 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10675 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10676 support additional line table, and debug ranges generation.
10677 (Dwarf::ranges): New function, generate .debug_ranges.
10678 (Dwarf::lines): Support generating simple line table programs.
10679 (Dwarf::assemble): Initialise new namespace variables.
10680
106812015-12-09 Kevin Buettner <kevinb@redhat.com>
10682
10683 * gdb.base/async.exp (proc test_background): Add case for
10684 asynchronous execution not supported.
10685
106862015-12-09 Luis Machado <lgustavo@codesourcery.com>
10687
10688 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10689 format and change test names to make them unique.
10690
106912015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10692 Pedro Alves <pedro@redhat.com>
10693
10694 PR gdb/18702
10695 Add checking of floatformats setup on x86_64 hosts.
10696 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10697 (smallval, bigval): New labels/constants.
10698 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10699 float" after loading bigval and smallval.
10700
107012015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10702
10703 * gdb.ada/fun_overload_menu.exp: New testcase.
10704 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10705
107062015-12-04 Josh Stone <jistone@redhat.com>
10707
10708 * gdb.base/catch-fork-static.exp: New.
10709
107102015-12-03 Yao Qi <yao.qi@linaro.org>
10711
10712 * gdb.base/sizeof.c: Don't include stdio.h and
10713 ../lib/unbuffer_output.c.
10714 (main): New variable 'size' and 'value'. Remove printf and
10715 gdb_unbuffer_output. Assign return value to size and value.
10716 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10717 at the beginning.
10718 (check_sizeof): Check the result by printing variable 'size'.
10719 (check_valueof): Check the result by printing variable 'value'.
10720
107212015-12-01 Yao Qi <yao.qi@linaro.org>
10722
10723 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10724 for aarch64*-*-linux* target.
10725
107262015-11-30 Pedro Alves <palves@redhat.com>
10727
10728 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10729
107302015-11-30 Pedro Alves <palves@redhat.com>
10731
10732 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10733 Handle non-stop mode vCont replies.
10734
107352015-11-30 Pedro Alves <palves@redhat.com>
10736
10737 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10738 prepare_for_testing. Start gdb with "set non-stop on" appended to
10739 GDBFLAGS. Lax expected stop output.
10740
107412015-11-27 Yao Qi <yao.qi@linaro.org>
10742
10743 * gdb.arch/arm-neon.exp: New.
10744 * gdb.arch/arm-neon.c: New.
10745
107462015-11-27 Yao Qi <yao.qi@linaro.org>
10747
10748 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10749
107502015-11-27 Yao Qi <yao.qi@linaro.org>
10751
10752 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10753 frames-invalid annotation.
10754
107552015-11-27 Yao Qi <yao.qi@linaro.org>
10756
10757 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10758
107592015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10760
10761 * gdb.threads/names.exp: New file.
10762 * gdb.threads/names.c: New file.
10763 * README: Mention gdb,no_thread_names.
10764
107652015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10766
10767 PR 19297
10768 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10769 support" error.
10770
107712015-11-24 Pedro Alves <palves@redhat.com>
10772
10773 PR 17539
10774 * gdb.base/display.exp: Expect displays to be sorted in ascending
10775 order. Use multi_line.
10776 * gdb.base/solib-display.exp: Likewise.
10777
107782015-11-24 Pedro Alves <palves@redhat.com>
10779
10780 PR 17539
10781 * gdb.base/display.exp: Expect displays to be sorted in ascending
10782 order. Use multi_line.
10783 * gdb.base/solib-display.exp: Likewise.
10784
107852015-11-24 Pedro Alves <palves@redhat.com>
10786
10787 PR 17539
10788 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10789 threads in ascending order.
10790 * gdb.base/foll-fork.exp: Likewise.
10791 * gdb.base/foll-vfork.exp: Likewise.
10792 * gdb.base/multi-forks.exp: Likewise.
10793 * gdb.mi/mi-nonstop.exp: Likewise.
10794 * gdb.mi/mi-nsintrall.exp: Likewise.
10795 * gdb.multi/base.exp: Likewise.
10796 * gdb.multi/multi-arch.exp: Likewise.
10797 * gdb.python/py-inferior.exp: Likewise.
10798 * gdb.threads/break-while-running.exp: Likewise.
10799 * gdb.threads/execl.exp: Likewise.
10800 * gdb.threads/gcore-thread.exp: Likewise.
10801 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10802 * gdb.threads/kill.exp: Likewise.
10803 * gdb.threads/linux-dp.exp: Likewise.
10804 * gdb.threads/multiple-step-overs.exp: Likewise.
10805 * gdb.threads/next-bp-other-thread.exp: Likewise.
10806 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10807 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10808 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10809 * gdb.threads/thread-find.exp: Likewise.
10810 * gdb.threads/tls.exp: Likewise.
10811 * lib/mi-support.exp (mi_reverse_list): Delete.
10812 (mi_check_thread_states): No longer reverse list.
10813
108142015-11-24 Pedro Alves <palves@redhat.com>
10815
10816 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10817 use lowercase.
10818
108192015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10820
10821 * gdb.trace/actions.c: Include trace-common.h.
10822 (main): Add a location for a fast tracepoint.
10823 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10824 the normal tracepoints.
10825 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10826
108272015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10828
10829 * save-trace.exp: Factor out code to these...
10830 (gdb_save_tracepoints): New.
10831 (gdb_load_tracepoints): New.
10832 (do_save_load_test): New.
10833
108342015-11-23 Kevin Buettner <kevinb@redhat.com>
10835
10836 * gdb.base/asmlabel.exp: New test.
10837 * gdb.base/asmlabel.c: New test case.
10838
108392015-11-23 Joel Brobecker <brobecker@adacore.com>
10840
10841 * gdb.base/wrong_frame_bt_full-main.c: New file.
10842 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10843 * gdb.base/wrong_frame_bt_full.exp: New file.
10844
108452015-11-23 Joel Brobecker <brobecker@adacore.com>
10846
10847 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10848
108492015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10850
10851 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10852 pstate register when comparing registers values in
10853 sparc64-*-linux-gnu targets to avoid spurious differences.
10854
108552015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10856
10857 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10858
108592015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10860
10861 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10862 as type argument to gdb_compile.
10863 * gdb.base/nested-subp2.exp: Likewise.
10864 * gdb.base/nested-subp3.exp: Likewise.
10865
108662015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10867
10868 * lib/dwarf.exp (_note): Fix left shift of negative value.
10869 * gdb.trace/trace-condition.exp: Likewise.
10870
108712015-11-13 Yao Qi <yao.qi@linaro.org>
10872
10873 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10874 comments about d10v.
10875 (test_scalar_returns): Likewise.
10876 * gdb.base/d10v.ld: Remove.
10877 * gdb.base/overlays.exp: Remove the target triplet checking for
10878 d10v-*-*.
10879 * gdb.base/structs.exp (test_struct_returns): Remove the
10880 comments about d10v.
10881 (test_struct_calls): Likewise.
10882
108832015-11-13 Yao Qi <yao.qi@linaro.org>
10884
10885 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10886 * gdb.base/gnu_vector.c: Don't include stdio.h.
10887 (main): Don't print res and call add_some_intvecs.
10888
108892015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10890
10891 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10892 macro.
10893 (func5): Removed.
10894 (func4): Use FAST_TRACEPOINT_LABEL.
10895 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10896 macro.
10897 (func): Removed.
10898 (thread_function): Use FAST_TRACEPOINT_LABEL.
10899 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10900 (func): Remove.
10901 (marker): Use FAST_TRACEPOINT_LABEL.
10902 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10903 (pendfunc1): Remove.
10904 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10905 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10906 (foo): Remove.
10907 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10908 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10909 macro.
10910 (func): Remove.
10911 (marker): Use FAST_TRACEPOINT_LABEL.
10912 * gdb.trace/trace-common.h: New header.
10913 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10914 macro.
10915 (func): Remove.
10916 (marker): Use FAST_TRACEPOINT_LABEL.
10917 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10918 (func): Remove.
10919 (thread_function): Use FAST_TRACEPOINT_LABEL.
10920
109212015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10922
10923 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10924 in front.
10925 * gdb.trace/change-loc.exp: Use global pcreg definition.
10926 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10927 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10928 in front.
10929 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10930 * gdb.trace/pending.exp: Likewise.
10931 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10932 * gdb.trace/trace-break.exp: Likewise.
10933 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10934 in front.
10935 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10936 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10937 in front.
10938 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10939
109402015-11-09 Joel Brobecker <brobecker@adacore.com>
10941
10942 * gdb.ada/fin_fun_out: New testcase.
10943
109442015-11-07 Kevin Buettner <kevinb@redhat.com>
10945
10946 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10947 value associated with DW_AT_byte_size.
10948 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10949 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10950 DW_AT_upper_bound.
10951
109522015-11-07 Kevin Buettner <kevinb@redhat.com>
10953
10954 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10955 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10956 version.
10957 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10958 gdb.dwarf2/dw2-canonicalize-type.exp,
10959 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10960 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10961 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10962 provided by gdb_target_symbol_prefix_flags_asm.
10963 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10964 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10965 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10966 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10967 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10968 macros where needed). Use this macro for symbols which require
10969 the prefix provided by SYMBOL_PREFIX.
10970
109712015-11-05 Kevin Buettner <kevinb@redhat.com>
10972
10973 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10974 New procs.
10975 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10976 representing expressions, of more than one list element.
10977 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10978 to prepend linker symbol prefix to f.
10979 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10980 table_1 and table_2.
10981 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10982 Likewise, for f and g.
10983 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10984 for ptr.
10985 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10986 for main.
10987 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10988 table_1_ptr and table_2_ptr.
10989
109902015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10991 Joel Brobecker <brobecker@adacore.com>
10992
10993 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10994
109952015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10996
10997 * gdb.reverse/s390-mvcle.c: New test.
10998 * gdb.reverse/s390-mvcle.exp: New file.
10999 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11000
110012015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11002
11003 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11004
110052015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11006
11007 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11008 reaching marker2.
11009 * gdb.reverse/getresuid-reverse.exp: Likewise.
11010 * gdb.reverse/pipe-reverse.exp: Likewise.
11011 * gdb.reverse/readv-reverse.exp: Likewise.
11012 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11013 * gdb.reverse/time-reverse.exp: Likewise.
11014 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11015
110162015-10-30 Yao Qi <yao.qi@linaro.org>
11017
11018 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11019 (empty_cycle): Remove.
11020 (main): Don't call empty_cycle. Don't use watch_count_done.
11021 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11022 empty_cycle. Rewrite the code counting HW watchpoints.
11023
110242015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11025
11026 * gdb.reverse/fstatat-reverse.c: New test.
11027 * gdb.reverse/fstatat-reverse.exp: New file.
11028 * gdb.reverse/getresuid-reverse.c: New test.
11029 * gdb.reverse/getresuid-reverse.exp: New file.
11030 * gdb.reverse/pipe-reverse.c: New test.
11031 * gdb.reverse/pipe-reverse.exp: New file.
11032 * gdb.reverse/readv-reverse.c: New test.
11033 * gdb.reverse/readv-reverse.exp: New file.
11034 * gdb.reverse/recvmsg-reverse.c: New test.
11035 * gdb.reverse/recvmsg-reverse.exp: New file.
11036 * gdb.reverse/time-reverse.c: New test.
11037 * gdb.reverse/time-reverse.exp: New file.
11038 * gdb.reverse/waitpid-reverse.c: New test.
11039 * gdb.reverse/waitpid-reverse.exp: New file.
11040
110412015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11042
11043 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11044
110452015-10-26 Doug Evans <dje@google.com>
11046
11047 PR symtab/17391
11048 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11049 * gdb.dwarf2/bad-regnum.c: New file.
11050 * gdb.dwarf2/bad-regnum.exp: New file.
11051
110522015-10-26 Doug Evans <dje@google.com>
11053
11054 PR python/18938
11055 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11056 file.
11057
110582015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11059
11060 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11061 for a change by "Mention language in compile error message".
11062
110632015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11064
11065 PR python/18073
11066 * gdb.python/py-type.c (C::a_method): New.
11067 (C::a_const_method): New.
11068 (C::a_static_method): New.
11069 (a_function): New.
11070 * gdb.python/py-type.exp (test_fields): Test getting fields
11071 from function and method.
11072
110732015-10-21 Keven Boell <keven.boell@intel.com>
11074
11075 * gdb.fortran/vla-alloc-assoc.exp: New file.
11076 * gdb.fortran/vla-datatypes.exp: New file.
11077 * gdb.fortran/vla-datatypes.f90: New file.
11078 * gdb.fortran/vla-history.exp: New file.
11079 * gdb.fortran/vla-ptype-sub.exp: New file.
11080 * gdb.fortran/vla-ptype.exp: New file.
11081 * gdb.fortran/vla-sizeof.exp: New file.
11082 * gdb.fortran/vla-sub.f90: New file.
11083 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11084 * gdb.fortran/vla-value-sub-finish.exp: New file.
11085 * gdb.fortran/vla-value-sub.exp: New file.
11086 * gdb.fortran/vla-value.exp: New file.
11087 * gdb.fortran/vla-ptr-info.exp: New file.
11088 * gdb.mi/mi-vla-fortran.exp: New file.
11089 * gdb.mi/vla.f90: New file.
11090
110912015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11092
11093 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11094 of hardwired timeout value.
11095
110962015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11097 Pedro Alves <palves@redhat.com>
11098
11099 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11100 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11101
111022015-10-19 Josh Stone <jistone@redhat.com>
11103
11104 * gdb.base/catch-syscall.c: Include <sched.h>.
11105 (unknown_syscall): New variable.
11106 (main): Trigger a vfork and an unknown syscall.
11107 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11108 (unknown_syscall_number): Likewise.
11109 (check_call_to_syscall): Accept an optional syscall pattern.
11110 (check_return_from_syscall): Likewise.
11111 (check_continue): Likewise.
11112 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11113 (test_catch_syscall_skipping_return): New test toggling off 'catch
11114 syscall' to step over the syscall return, then toggling back on.
11115 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11116 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11117 (do_syscall_tests): Call test_catch_syscall_without_args and
11118 test_catch_syscall_mid_vfork.
11119 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11120 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11121
111222015-10-19 Andrew Stubbs <ams@codesourcery.com>
11123
11124 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11125 print g_vE): Add new pass patterns.
11126 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11127 print various symbol names for vptr fields.
11128
111292015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11130
11131 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11132 results.
11133
111342015-10-12 Yao Qi <yao.qi@linaro.org>
11135
11136 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11137
111382015-10-12 Yao Qi <yao.qi@linaro.org>
11139
11140 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11141 is aarch64*-*-linux*.
11142
111432015-10-12 Yao Qi <yao.qi@linaro.org>
11144
11145 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11146 (can_relocate_bcond_true): ... it.
11147 (can_relocate_bcond_false): New function.
11148 (foo): Likewise.
11149 (can_relocate_bl): Likewise.
11150 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11151 can_relocate_bl.
11152
111532015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11154
11155 * gdb.base/nested-addr.c: New file.
11156 * gdb.base/nested-addr.exp: New testcase.
11157
111582015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11159
11160 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11161 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11162 its output. Ignore the output of "record goto begin" and instead
11163 check that GDB is replaying.
11164
111652015-10-09 Pedro Alves <palves@redhat.com>
11166
11167 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11168 (top level): Use it in the run with no args test.
11169
111702015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11171
11172 * gdb.dlang/properties.exp: New file.
11173
111742015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11175
11176 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11177 whether or not address 0x1000 is mapped on the target.
11178
111792015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11180
11181 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11182 build.
11183
111842015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11185
11186 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11187 instruction-history test.
11188
111892015-09-28 Doug Evans <dje@google.com>
11190
11191 * gdb.base/gcore.c (array_func): Add reference to static_array.
11192
111932015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11194
11195 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11196 source line.
11197
111982015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11199
11200 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11201 short or char as base type.
11202
112032015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11204
11205 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11206 to allow any size enum.
11207
112082015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11209
11210 * gdb.ada/array_ptr_renaming.exp: New testcase.
11211 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11212 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11213
112142015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11215
11216 * gdb.trace/ftrace-lock.c: New file.
11217 * gdb.trace/ftrace-lock.exp: New file.
11218
112192015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11220
11221 * gdb.arch/insn-reloc.c: New file.
11222 * gdb.arch/ftrace-insn-reloc.exp: New file.
11223
112242015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11225
11226 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11227 instruction.
11228 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11229 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11230 * gdb.trace/range-stepping.c: Likewise.
11231 * gdb.trace/trace-break.c: Likewise.
11232 * gdb.trace/trace-mt.c (thread_function): Likewise.
11233 * gdb.trace/ftrace.c (marker): Likewise.
11234 * gdb.trace/trace-condition.c (marker): Likewise.
11235 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11236 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11237 is_aarch64_target.
11238
112392015-09-18 Doug Evans <xdje42@gmail.com>
11240
11241 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11242 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11243
112442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11245
11246 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11247 the breakpoint.
11248
112492015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11250
11251 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11252 the pending breakpoint. Remove timeout override for "Run till
11253 MI pending breakpoint on pendfunc3 on thread 2" test.
11254
112552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11256
11257 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11258 filename pattern.
11259
112602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11261
11262 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11263 in breakpoint filename pattern.
11264
112652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11266
11267 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11268
112692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11270
11271 * gdb.linespec/explicit.exp: Check for readline support for
11272 tab-completion tests. Fix obvious typo.
11273
112742015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11275
11276 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11277 and replay.
11278
112792015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11280
11281 * gdb.btrace/non-stop.c: New.
11282 * gdb.btrace/non-stop.exp: New.
11283
112842015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11285 Yao Qi <yao.qi@linaro.org>
11286
11287 * gdb.trace/trace-condition.c: New file.
11288 * gdb.trace/trace-condition.exp: New file.
11289
112902015-09-16 Wei-cheng Wang <cole945@gmail.com>
11291
11292 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11293 for testing bytecode compilation.
11294
112952015-09-16 Pedro Alves <palves@redhat.com>
11296 Sandra Loosemore <sandra@codesourcery.com>
11297
11298 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11299 (SECONDS): Redefine.
11300 (main): Call pthread_kill and alarm early.
11301 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11302 support.
11303 (test): If the target can't hardware step and doesn't support
11304 displaced stepping, increase the timeout.
11305
113062015-09-16 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11309 (enable_debug): New procedures.
11310 (test): Use them. Bail out if waiting for threads fails.
11311 (top level): Bail out if a test fails.
11312
113132015-09-16 Yao Qi <yao.qi@linaro.org>
11314
11315 * gdb.asm/asm-source.exp: Set asm-arch for
11316 aarch64*-*-* target.
11317 * gdb.asm/aarch64.inc: New file.
11318
113192015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11320
11321 * gdb.ada/array_of_variable_length.exp: New testcase.
11322 * gdb.ada/array_of_variable_length/foo.adb: New file.
11323 * gdb.ada/array_of_variable_length/pck.adb: New file.
11324 * gdb.ada/array_of_variable_length/pck.ads: New file.
11325
113262015-09-15 Doug Evans <dje@google.com>
11327
11328 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11329 of function static local variable.
11330
113312015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11332
11333 * gdb.threads/tls-so_extern.exp: New test file.
11334 * gdb.threads/tls-so_extern.c: New test file.
11335 * gdb.threads/tls-so_extern_main.c: New test file.
11336
113372015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11338
11339 * gdb.opt/solib-intra-step-lib.c: New file.
11340 * gdb.opt/solib-intra-step-main.c: New file.
11341 * gdb.opt/solib-intra-step.exp: New file.
11342
113432015-09-15 Pedro Alves <palves@redhat.com>
11344
11345 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11346 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11347
113482015-09-14 Pedro Alves <palves@redhat.com>
11349
11350 * gdb.base/hook-stop-continue.c: Delete.
11351 * gdb.base/hook-stop-continue.exp: Delete.
11352 * gdb.base/hook-stop-frame.c: Delete.
11353 * gdb.base/hook-stop-frame.exp: Delete.
11354 * gdb.base/hook-stop.c: New file.
11355 * gdb.base/hook-stop.exp: New file.
11356
113572015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11358
11359 * gdb.ada/access_to_packed_array.exp: New testcase.
11360 * gdb.ada/access_to_packed_array/foo.adb: New file.
11361 * gdb.ada/access_to_packed_array/pack.adb: New file.
11362 * gdb.ada/access_to_packed_array/pack.ads: New file.
11363
113642015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11365
11366 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11367 buffer size test.
11368
113692015-09-11 Don Breazeal <donb@codesourcery.com>
11370
11371 * gdb.base/foll-exec.c: Add copyright header. Fix
11372 formatting issues.
11373 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11374 (do_exec_tests): Use clean_restart in place of zap_session,
11375 and for test initialization. Fix formatting issues. Use
11376 fail in place of perror.
11377 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11378 an expect statement to match an expression with output from
11379 the program under debug.
11380 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11381 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11382 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11383 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11384 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11385
113862015-09-09 Doug Evans <dje@google.com>
11387
11388 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11389
113902015-09-09 Doug Evans <dje@google.com>
11391
11392 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11393
113942015-09-09 Doug Evans <dje@google.com>
11395
11396 * gdb.base/savedregs.exp: Fix typo.
11397
113982015-09-09 Pedro Alves <palves@redhat.com>
11399
11400 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11401
114022015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11403
11404 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11405 command actually switches threads. Give up on remaining
11406 tests if target fails to stop at breakpoint.
11407
114082015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11409
11410 * gdb.ada/funcall_char.exp: New testcase.
11411 * gdb.ada/funcall_char/foo.adb: New file.
11412
114132015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11414
11415 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11416 expected outputs. Add two testcases for completing ambiguous
11417 functions.
11418 * gdb.ada/complete/aux_pck.adb: New file.
11419 * gdb.ada/complete/aux_pck.ads: New file.
11420 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11421 Ambiguous_Func functions.
11422 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11423 * gdb.ada/complete/pck.adb: Likewise.
11424
114252015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11426
11427 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11428 failures to run the test program under GDB.
11429
114302015-08-26 Luis Machado <lgustavo@codesourcery.com>
11431
11432 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11433 to C.
11434
114352015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11436
11437 * gdb.base/run-after-attach.exp: New test file.
11438 * gdb.base/run-after-attach.c: New test file.
11439
114402015-08-26 Don Breazeal <donb@codesourcery.com>
11441
11442 * gdb.base/foll-exec-2.c: New test program.
11443 * gdb.base/foll-exec-2.exp: New test.
11444
114452015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11446
11447 * gdb.base/nested-subp1.exp: New file.
11448 * gdb.base/nested-subp1.c: New file.
11449 * gdb.base/nested-subp2.exp: New file.
11450 * gdb.base/nested-subp2.c: New file.
11451 * gdb.base/nested-subp3.exp: New file.
11452 * gdb.base/nested-subp3.c: New file.
11453
114542015-08-24 Pedro Alves <palves@redhat.com>
11455
11456 * gdb.server/connect-without-multi-process.c: New file.
11457 * gdb.server/connect-without-multi-process.exp: New file.
11458
114592015-08-24 Luis Machado <lgustavo@codesourcery.com>
11460
11461 * gdb.opt/inline-markers.c: Make z int.
11462
114632015-08-24 Luis Machado <lgustavo@codesourcery.com>
11464
11465 * gdb.opt/inline-markers.c: Make z volatile.
11466
114672015-08-24 Luis Machado <lgustavo@codesourcery.com>
11468
11469 * gdb.opt/inline-bt.c: New volatile global z.
11470 * gdb.opt/inline-cmds.c: Likewise.
11471 * gdb.opt/inline-locals.c: Likewise.
11472 * gdb.opt/inline-markers.c: New extern global z.
11473 (marker): Use z.
11474 (inline_fn): Likewise.
11475
114762015-08-24 Pedro Alves <palves@redhat.com>
11477
11478 * config/m32r-stub.exp: Remove file.
11479 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11480 * gdb.base/call-rt-st.exp: Likewise.
11481 * gdb.base/call-strs.exp: Likewise.
11482 * gdb.base/default.exp: Remove references to h8300-*-hms and
11483 *-*-udi*.
11484 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11485
114862015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11487
11488 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11489 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11490 and "return" use KFAIL when GDB can not read/write the vector
11491 return value.
11492
114932015-08-21 Gary Benson <gbenson@redhat.com>
11494
11495 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11496
114972015-08-20 Pedro Alves <palves@redhat.com>
11498
11499 * gdb.server/solib-list.exp: No longer expect an interior stop in
11500 non-stop mode.
11501
115022015-08-20 Pedro Alves <palves@redhat.com>
11503
11504 * gdb.server/connect-stopped-target.c: New file.
11505 * gdb.server/connect-stopped-target.exp: New file.
11506
115072015-08-20 Pedro Alves <palves@redhat.com>
11508
11509 * gdb.dwarf2/comp-unit-lang.exp: New file.
11510 * gdb.dwarf2/comp-unit-lang.c: New file.
11511
115122015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11513
11514 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11515 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11516
115172015-08-19 Kevin Buettner <kevinb@redhat.com>
11518
11519 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11520 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11521
115222015-08-18 Doug Evans <dje@google.com>
11523 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11524
11525 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11526 skip_python_tests. New arg prompt_regexp.
11527 (skip_python_tests): New function.
11528 * lib/mi-support.exp (mi_skip_python_tests): New function.
11529 * gdb.python/py-mi-objfile-gdb.py: New file.
11530 * gdb.python/py-mi-objfile.c: New file.
11531 * gdb.python/py-mi-objfile.exp: New file.
11532
115332015-08-17 Keith Seitz <keiths@redhat.com>
11534
11535 * gdb.linespec/explicit.exp: Move strace test from here ...
11536 * gdb.trace/strace.exp: ... to here.
11537
115382015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11539
11540 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11541 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11542
115432015-08-14 Doug Evans <xdje42@gmail.com>
11544
11545 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11546 inferior before selecting a new file.
11547
115482015-08-14 Doug Evans <xdje42@gmail.com>
11549
11550 * gdb.mi/mi-disassemble.exp: Update.
11551 * gdb.base/disasm-optim.S: New file.
11552 * gdb.base/disasm-optim.c: New file.
11553 * gdb.base/disasm-optim.h: New file.
11554 * gdb.base/disasm-optim.exp: New file.
11555
115562015-08-14 Keith Seitz <keiths@redhat.com>
11557
11558 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11559 "evaluated-by".
11560
115612015-08-13 Joel Brobecker <brobecker@adacore.com>
11562
11563 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11564
115652015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11566
11567 * gdb.ada/fun_renaming.exp: New testcase.
11568 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11569 * gdb.ada/fun_renaming/pack.adb: New file.
11570 * gdb.ada/fun_renaming/pack.ads: New file.
11571
115722015-08-12 Keith Seitz <keiths@redhat.com>
11573
11574 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11575 gdb_get_line_number.
11576
115772015-08-12 Joel Brobecker <brobecker@adacore.com>
11578
11579 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11580 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11581 gdb.base/dso2dso.exp: New files.
11582
115832015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11584 Pedro Alves <palves@redhat.com>
11585 Keith Seitz <keiths@redhat.com>
11586
11587 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11588 GDBFLAGS.
11589
115902015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11591
11592 * gdb.base/gdbhistsize-history.exp
11593 (test_histsize_history_setting): Use save_vars.
11594 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11595 Use save_vars.
11596 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11597 * gdb.base/readline.exp: Use save_vars.
11598
115992015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11600
11601 * lib/gdb.exp (save_vars): New proc.
11602
116032015-08-11 Keith Seitz <keiths@redhat.com>
11604
11605 * gdb.base/help.exp: Update help_breakpoint_text.
11606
116072015-08-11 Keith Seitz <keiths@redhat.com>
11608
11609 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11610 (at toplevel): Call test_explicit_breakpoints.
11611 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11612 breakpoints.
11613 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11614 breakpoint conditions, "-cond".
11615
116162015-08-11 Keith Seitz <keiths@redhat.com>
11617
11618 * gdb.linespec/3explicit.c: New file.
11619 * gdb.linespec/cpexplicit.cc: New file.
11620 * gdb.linespec/cpexplicit.exp: New file.
11621 * gdb.linespec/explicit.c: New file.
11622 * gdb.linespec/explicit.exp: New file.
11623 * gdb.linespec/explicit2.c: New file.
11624 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11625 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11626 before using in the matching pattern.
11627 Clarify that `prefix' is a regular expression.
11628
116292015-08-11 Keith Seitz <keiths@redhat.com>
11630
11631 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11632 test.
11633 Add tests for missing ",FMT" and ",".
11634
116352015-08-10 Doug Evans <dje@google.com>
11636 Keith Seitz <keiths@redhat.com>
11637
11638 PR gdb/17960
11639 * gdb.base/completion.exp: Add location completer tests.
11640
116412015-08-07 Pedro Alves <palves@redhat.com>
11642
11643 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11644 tests here.
11645 (top level): Run do_test with and without displaced stepping.
11646
116472015-08-07 Pedro Alves <palves@redhat.com>
11648
11649 * gdb.base/valgrind-disp-step.c: New file.
11650 * gdb.base/valgrind-disp-step.exp: New file.
11651
116522015-08-07 Pedro Alves <palves@redhat.com>
11653
11654 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11655 Delete function.
11656 (main): Add alarm. Run an infinite loop instead of calling
11657 wait_threads.
11658 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11659 comment.
11660 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11661 Delete function.
11662 (main): Add alarm. Run an infinite loop instead of calling
11663 wait_threads.
11664 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11665 comment.
11666
116672015-08-07 Pedro Alves <palves@redhat.com>
11668
11669 * gdb.base/checkpoint-ns.exp: New file.
11670 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11671 standard_testfile.
11672
116732015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11674
11675 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11676 * gdb.btrace/instruction_history.exp: Update.
11677 * gdb.btrace/tsx.exp: New.
11678 * gdb.btrace/tsx.c: New.
11679
116802015-08-06 Pedro Alves <palves@redhat.com>
11681
11682 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11683 increase timeout.
11684 * gdb.reverse/until-precsave.exp: Bump timeouts.
11685
116862015-08-06 Pedro Alves <palves@redhat.com>
11687
11688 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11689
116902015-08-06 Pedro Alves <palves@redhat.com>
11691
11692 PR gdb/18749
11693 * gdb.threads/process-dies-while-handling-bp.c: New file.
11694 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11695
116962015-08-06 Pedro Alves <palves@redhat.com>
11697
11698 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11699 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11700
117012015-08-05 Pedro Alves <palves@redhat.com>
11702
11703 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11704 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11705
117062015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11707
11708 * gdb.base/bp-permanent.exp: Report test as unsupported if
11709 the target cannot stop at the permanent breakpoint.
11710
117112015-08-03 Doug Evans <dje@google.com>
11712
11713 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11714 10000.
11715
117162015-08-03 Doug Evans <dje@google.com>
11717
11718 * Makefile.in (workers/%.worker, build-perf): New rule.
11719 (GDB_PERFTEST_MODE): New variable.
11720 (check-perf): Use it.
11721 (clean): Clean up gdb.perf parallel build subdirs.
11722 * lib/build-piece.exp: New file.
11723 * lib/gdb.exp (make_gdb_parallel_path): New function
11724 (standard_output_file, standard_temp_file): Call it.
11725 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11726 of $GDB_PARALLEL.
11727 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11728
117292015-08-03 Doug Evans <dje@google.com>
11730
11731 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11732 (LOG_FILE_NAME): New global.
11733 (TextReporter.__init__): Initialize self.txt_sum.
11734 (TextReporter.report): Add support for multiple data-points.
11735 Move report to perftest.sum, put raw data in perftest.log.
11736 (TextReporter.start): Open sum and log files.
11737 (TextReporter.end): Close sum and log files.
11738 * gdb.perf/lib/perftest/testresult.py
11739 (SingleStatisticTestResult.record): Handle multiple data-points.
11740
117412015-07-31 Pedro Alves <palves@redhat.com>
11742
11743 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11744 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11745 kill_wait_spawned_process instead of explicit "kill -9".
11746 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11747 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11748 kill_wait_spawned_process.
11749 * gdb.base/attach-twice.exp: Likewise.
11750 * gdb.base/attach.exp: Likewise.
11751 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11752 gdb_test_multiple.
11753 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11754 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11755 kill_wait_spawned_process.
11756 * gdb.base/valgrind-infcall.exp: Likewise.
11757 * gdb.multi/multi-attach.exp: Likewise.
11758 * gdb.python/py-prompt.exp: Likewise.
11759 * gdb.python/py-sync-interp.exp: Likewise.
11760 * gdb.server/ext-attach.exp: Likewise.
11761 * gdb.threads/attach-into-signal.exp (corefunc): Use
11762 spawn_wait_for_attach, spawn_id_get_pid and
11763 kill_wait_spawned_process.
11764 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11765 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11766 spawn_id_get_pid and kill_wait_spawned_process.
11767 * gdb.threads/attach-stopped.exp (corefunc): Use
11768 spawn_wait_for_attach, spawn_id_get_pid and
11769 kill_wait_spawned_process.
11770 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11771 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11772 kill_wait_spawned_process instead of explicit "kill -9".
11773 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11774 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11775 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11776 processes. Don't map cygwin/windows pids here. Now returns a
11777 spawn id list.
11778
117792015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11780
11781 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11782 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11783 correct patch.
11784
117852015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11786
11787 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11788
117892015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11790
11791 Reapply:
11792 2014-05-21 Mark Wielaard <mjw@redhat.com>
11793
11794 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11795
117962015-07-30 Pedro Alves <palves@redhat.com>
11797
11798 * linux-low.c (handle_extended_wait): Set the child's last
11799 reported status to TARGET_WAITKIND_STOPPED.
11800
118012015-07-30 Pedro Alves <palves@redhat.com>
11802
11803 PR threads/18600
11804 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11805 only shows inferior 1.
11806
118072015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11808 Pedro Alves <palves@redhat.com>
11809
11810 PR threads/18600
11811 * gdb.threads/fork-plus-threads.c: New file.
11812 * gdb.threads/fork-plus-threads.exp: New file.
11813
118142015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11815
11816 * gdb.base/batch-preserve-term-settings.exp
11817 (test_terminal_settings_preserved_after_cli_exit): Use
11818 send_quit_command.
11819
118202015-07-29 Pedro Alves <palves@redhat.com>
11821 Don Breazeal <donb@codesourcery.com>
11822
11823 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11824 output from both inferior_spawn_id and gdb_spawn_id.
11825
118262015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11827
11828 * gdb.threads/attach-into-signal.exp (corefunc): Use
11829 with_test_prefix on nested loops, uniquefying the test messages.
11830
118312015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11832
11833 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11834 commit.
11835
118362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11837
11838 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11839 New proc.
11840 (test_terminal_settings_preserved_after_sigterm): New test.
11841
118422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11843
11844 * gdb.base/batch-preserve-term-settings.exp
11845 (test_terminal_settings_preserved_after_cli_exit): New test.
11846
118472015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11848
11849 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11850 manipulation of saved_gdbflags.
11851 (test_terminal_settings_preserved): Remove global declaration of
11852 the unused variable pagination_prompt. Remove manipulation of
11853 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11854 GDBFLAGS.
11855
118562015-07-29 Pedro Alves <palves@redhat.com>
11857
11858 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11859
118602015-07-29 Pedro Alves <palves@redhat.com>
11861
11862 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11863 at the top.
11864
118652015-07-29 Pedro Alves <palves@redhat.com>
11866
11867 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11868 (main): Call gdb_unbuffer_output.
11869 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11870 (main): Call gdb_unbuffer_output.
11871 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11872 (main): Call gdb_unbuffer_output.
11873 * gdb.base/call-strs.exp: Adjust to step over the
11874 gdb_unbuffer_output call.
11875 * gdb.base/catch-gdb-caused-signals.c: Include
11876 "../lib/unbuffer_output.c".
11877 (main): Call gdb_unbuffer_output.
11878 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11879 (main): Call gdb_unbuffer_output.
11880 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11881 (main): Call gdb_unbuffer_output.
11882 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11883 (main): Call gdb_unbuffer_output.
11884 * gdb.base/shlib-call.exp: Adjust to step over the
11885 gdb_unbuffer_output call.
11886 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11887 (main): Call gdb_unbuffer_output.
11888 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11889 (main): Call gdb_unbuffer_output.
11890 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11891 (main): Rename to ...
11892 (test): ... this.
11893 (main): Reimplement.
11894 * gdb.base/varargs.exp: Run to test instead of to main.
11895 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11896 (main): Call gdb_unbuffer_output.
11897
118982015-07-29 Pedro Alves <palves@redhat.com>
11899
11900 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11901 factore out from mi_continue_dprintf. For call-style dprintfs,
11902 expect dprintf output out of $inferior_spawn_id.
11903 (mi_continue_dprintf): Use mi_expect_dprintf.
11904 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11905 (main): Call gdb_unbuffer_output.
11906
119072015-07-29 Pedro Alves <palves@redhat.com>
11908
11909 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11910 (default_mi_gdb_start): Set inferior_spawn_id instead of
11911 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11912 gdb_spawn_id.
11913 (mi_gdb_test): Always expect inferior output from both
11914 $inferior_spawn_id and $gdb_spawn_id.
11915
119162015-07-29 Pedro Alves <palves@redhat.com>
11917
11918 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11919 send_inferior and $inferior_spawn_id.
11920
119212015-07-29 Pedro Alves <palves@redhat.com>
11922
11923 * gdb.gdb/complaints.exp (test_initial_complaints)
11924 (test_serial_complaints, test_short_complaints): Use
11925 gdb_test_stdio.
11926 (test_empty_complaint): Handle $inferior_spawn_id !=
11927 $gdb_spawn_id.
11928
119292015-07-29 Pedro Alves <palves@redhat.com>
11930
11931 * gdb.base/varargs.exp: Use gdb_test_stdio.
11932
119332015-07-29 Pedro Alves <palves@redhat.com>
11934
11935 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11936
119372015-07-29 Pedro Alves <palves@redhat.com>
11938
11939 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11940
119412015-07-29 Pedro Alves <palves@redhat.com>
11942
11943 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11944 parameter into two new parameters, "inf_result" and "gdb_result".
11945 Expect inferior output and gdb output from $inferior_spawn_id and
11946 $gdb_spawn_id, respectively. Adjust all callers.
11947
119482015-07-29 Pedro Alves <palves@redhat.com>
11949
11950 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11951 of gdb_test_sequence.
11952
119532015-07-29 Pedro Alves <palves@redhat.com>
11954
11955 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11956 (saw_spurious_output): Expect inferior output from
11957 $inferior_spawn_id. Use gdb_test_stdio.
11958
119592015-07-29 Pedro Alves <palves@redhat.com>
11960
11961 * gdb.base/dprintf.exp: Use standard_testfile. Change
11962 prepare_for_testing call.
11963 (srcfile): Don't set.
11964 (restart): New procedure.
11965 (test_dprintf): New procecure, use to continue over dprintfs.
11966 (test_call, test_agent): New procedures, tests moved here.
11967 Restart gdb and recreate dprintfs. Adjust expected output.
11968
119692015-07-29 Pedro Alves <palves@redhat.com>
11970
11971 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11972
119732015-07-29 Pedro Alves <palves@redhat.com>
11974
11975 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11976
119772015-07-29 Pedro Alves <palves@redhat.com>
11978
11979 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11980 gdb_test_stdio.
11981
119822015-07-29 Pedro Alves <palves@redhat.com>
11983
11984 * lib/gdb.exp (gdb_test_stdio): New procedure.
11985
119862015-07-29 Pedro Alves <palves@redhat.com>
11987
11988 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11989
119902015-07-29 Pedro Alves <palves@redhat.com>
11991
11992 * gdb.base/call-signal-resume.exp: Remove check for
11993 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11994 * gdb.base/unwindonsignal.exp: Likewise.
11995 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11996 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11997
119982015-07-29 Pedro Alves <palves@redhat.com>
11999
12000 * gdb.base/siginfo-addr.c (pass): New function.
12001 (handler): Call it iff si_addr is correct.
12002 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12003 Set a breakpoint at "pass" and continue to it.
12004
120052015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12006
12007 * gdb.python/py-objfile.exp: Make some tests have unique names.
12008 * gdb.python/py-pp-registration.exp: Likewise.
12009
120102015-07-28 Pedro Alves <palves@redhat.com>
12011
12012 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12013
120142015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12015
12016 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12017
120182015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12019
12020 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12021
120222015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12023
12024 * gdb.base/gdb-sigterm-2.exp: New test.
12025
120262015-07-25 Doug Evans <xdje42@gmail.com>
12027
12028 Revert:
12029 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12030 (workers/%.worker, build-perf): New rule.
12031 (GDB_PERFTEST_MODE): New variable.
12032 (check-perf): Use it.
12033 (clean): Clean up gdb.perf parallel build subdirs.
12034 * lib/build-piece.exp: New file.
12035 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12036 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12037 name.
12038 (standard_temp_file): Ditto.
12039 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12040 of $GDB_PARALLEL.
12041
120422015-07-24 Doug Evans <dje@google.com>
12043
12044 * gdb.perf/lib/perftest/utils.py: New file.
12045 * gdb.perf/gm-hello.cc: New file.
12046 * gdb.perf/gm-pervasive-typedef.cc: New file.
12047 * gdb.perf/gm-pervasive-typedef.h: New file.
12048 * gdb.perf/gm-std.cc: New file.
12049 * gdb.perf/gm-std.h: New file.
12050 * gdb.perf/gm-use-cerr.cc: New file.
12051 * gdb.perf/gm-utils.h: New file.
12052 * gdb.perf/gmonster-null-lookup.py: New file.
12053 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12054 * gdb.perf/gmonster-print-cerr.py: New file.
12055 * gdb.perf/gmonster-ptype-string.py: New file.
12056 * gdb.perf/gmonster-runto-main.py: New file.
12057 * gdb.perf/gmonster-select-file.py: New file.
12058 * gdb.perf/gmonster1-null-lookup.exp: New file.
12059 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12060 * gdb.perf/gmonster1-print-cerr.exp: New file.
12061 * gdb.perf/gmonster1-ptype-string.exp: New file.
12062 * gdb.perf/gmonster1-runto-main.exp: New file.
12063 * gdb.perf/gmonster1-select-file.exp: New file.
12064 * gdb.perf/gmonster1.cc: New file.
12065 * gdb.perf/gmonster1.exp: New file.
12066 * gdb.perf/gmonster2-null-lookup.exp: New file.
12067 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12068 * gdb.perf/gmonster2-print-cerr.exp: New file.
12069 * gdb.perf/gmonster2-ptype-string.exp: New file.
12070 * gdb.perf/gmonster2-runto-main.exp: New file.
12071 * gdb.perf/gmonster2-select-file.exp: New file.
12072 * gdb.perf/gmonster2.cc: New file.
12073 * gdb.perf/gmonster2.exp: New file.
12074
120752015-07-24 Doug Evans <dje@google.com>
12076
12077 * gdb.perf/README: New file.
12078 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12079 * lib/gen-perf-test.exp: New file.
12080
120812015-07-24 Doug Evans <dje@google.com>
12082
12083 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12084 (PerfTest::startup): New function.
12085 (PerfTest::run): Return result of calling body.
12086 (PerfTest::assemble): Rewrite.
12087 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12088 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12089 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12090 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12091 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12092
120932015-07-24 Doug Evans <dje@google.com>
12094
12095 * lib/gdb.exp (clean_restart): Make executable optional.
12096
120972015-07-24 Doug Evans <dje@google.com>
12098
12099 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12100 compiler_info references.
12101 * gdb.cp/temargs.exp: Ditto.
12102 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12103 (get_compiler_info): Early exit if already computed. Set compiler_info
12104 to "unknown" if there was a problem.
12105 (test_compiler_info): Add function comment. Call get_compiler_info.
12106
121072015-07-24 Doug Evans <dje@google.com>
12108
12109 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12110 (workers/%.worker, build-perf): New rule.
12111 (GDB_PERFTEST_MODE): New variable.
12112 (check-perf): Use it.
12113 (clean): Clean up gdb.perf parallel build subdirs.
12114 * lib/build-piece.exp: New file.
12115 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12116 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12117 name.
12118 (standard_temp_file): Ditto.
12119 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12120 of $GDB_PARALLEL.
12121
121222015-07-24 Doug Evans <dje@google.com>
12123
12124 * lib/future.exp (gdb_default_target_compile): New option
12125 "early_flags".
12126 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12127 --as-needed.
12128
121292015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12130
12131 * gdb.base/catch-syscall.exp: Call gdb_exit before
12132 gdb_skip_xml_test.
12133
121342015-07-24 Pedro Alves <palves@redhat.com>
12135
12136 * gdb.python/py-events.exp: Accept output between the stop event
12137 and the prompt.
12138 * gdb.python/py-evsignal.exp: Likewise.
12139 * gdb.python/py-evthreads.exp: Likewise.
12140
121412015-07-24 Pedro Alves <palves@redhat.com>
12142
12143 PR gdb/18717
12144 * gdb.threads/non-ldr-exit.c: New file.
12145 * gdb.threads/non-ldr-exit.exp: New file.
12146
121472015-07-24 Yao Qi <yao.qi@linaro.org>
12148
12149 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12150 restarting process.
12151
121522015-07-24 Yao Qi <yao.qi@linaro.org>
12153
12154 * gdb.server/ext-restart.exp: New file.
12155
121562015-07-24 Yao Qi <yao.qi@linaro.org>
12157
12158 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12159 argument options.
12160 * gdb.server/ext-wrapper.exp: New file.
12161
121622015-07-23 Doug Evans <dje@google.com>
12163
12164 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12165 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12166
121672015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12168
12169 * gdb.ada/var_arr_typedef.exp: New testcase.
12170 * gdb.ada/var_arr_typedef/pack.adb: New file.
12171 * gdb.ada/var_arr_typedef/pack.ads: New file.
12172 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12173
121742015-07-20 Joel Brobecker <brobecker@adacore.com>
12175
12176 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12177
121782015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12179
12180 * gdb.arch/i386-biarch-core.exp: Replace istarget
12181 by "complete set gnutarget". Remove expectation for the "core-file"
12182 command.
12183
121842015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12185
12186 Revert the previous commit:
12187 Tests for validate symbol file using build-id.
12188
121892015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12190
12191 Tests for validate symbol file using build-id.
12192 * gdb.base/solib-mismatch-lib.c: New file.
12193 * gdb.base/solib-mismatch-libmod.c: New file.
12194 * gdb.base/solib-mismatch.c: New file.
12195 * gdb.base/solib-mismatch.exp: New file.
12196
121972015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12198
12199 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12200 nios2-*-linux*.
12201 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12202 * gdb.base/siginfo.exp: Likewise.
12203 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12204
122052015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12206
12207 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12208 Move it to ...
12209 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12210 ... here.
12211 * gdb.trace/range-stepping.exp: Check that the target supports
12212 range stepping.
12213
122142015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12215
12216 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12217
122182015-07-14 Pedro Alves <palves@redhat.com>
12219
12220 * gdb.base/killed-outside.exp: New file.
12221 * gdb.base/killed-outside.c: New file.
12222
122232015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12224
12225 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12226 (n at main): New.
12227 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12228
122292015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12230
12231 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12232 infcall tests instead of setting up for KFAIL.
12233
122342015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12235
12236 * gdb.btrace/record_goto-step.exp: New.
12237
122382015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12239
12240 PR compile/18484
12241 * gdb.compile/compile.c (struct struct_type): Add volatile to
12242 selffield's type.
12243 * gdb.compile/compile.exp
12244 (compile code struct_object.selffield = &struct_object): Skip further
12245 struct_object tests if this one xfails.
12246
122472015-07-08 Robert O'Callahan <robert@ocallahan.org>
12248
12249 PR exp/18617
12250 * gdb.trace/ax.exp: Add test.
12251
122522015-07-07 Yao Qi <yao.qi@linaro.org>
12253
12254 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12255 instead of istarget "aarch64*-*-*".
12256 * gdb.arch/aarch64-fp.exp: Likewise.
12257 * gdb.base/float.exp: Likewise.
12258 * gdb.reverse/aarch64.exp: Likewise.
12259 * lib/gdb.exp (is_aarch64_target): New proc.
12260
122612015-07-07 Yao Qi <yao.qi@linaro.org>
12262
12263 * lib/gdb.exp (is_aarch32_target): New proc.
12264 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12265 instead of "istarget "arm*-*-*"".
12266 * gdb.arch/arm-disp-step.exp: Likewise.
12267 * gdb.arch/thumb-bx-pc.exp: Likewise.
12268 * gdb.arch/thumb-prologue.exp: Likewise.
12269 * gdb.arch/thumb-singlestep.exp: Likewise.
12270 * gdb.base/disp-step-syscall.exp: Likewise.
12271 * gdb.base/float.exp: Likewise.
12272
122732015-07-07 Yao Qi <yao.qi@linaro.org>
12274
12275 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12276 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12277
122782015-07-07 Yao Qi <yao.qi@linaro.org>
12279
12280 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12281 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12282 if it exists.
12283 * gdb.multi/multi-arch.exp: Likewise.
12284
122852015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12286
12287 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12288 print.
12289
122902015-07-07 Yao Qi <yao.qi@linaro.org>
12291
12292 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12293
122942015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12295
12296 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12297 '[' and ']' characters.
12298
122992015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12300
12301 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12302
123032015-06-29 Pedro Alves <palves@redhat.com>
12304
12305 PR threads/18127
12306 * gdb.threads/hand-call-new-thread.c: New file.
12307 * gdb.threads/hand-call-new-thread.c: New file.
12308
123092015-06-26 Keith Seitz <keiths@redhat.com>
12310 Doug Evans <dje@google.com>
12311
12312 PR 16253
12313 * gdb.cp/var-tag-2.cc: New file.
12314 * gdb.cp/var-tag-3.cc: New file.
12315 * gdb.cp/var-tag-4.cc: New file.
12316 * gdb.cp/var-tag.cc: New file.
12317 * gdb.cp/var-tag.exp: New file.
12318
123192015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12320
12321 * gdb.base/history-duplicates.exp: New test.
12322
123232015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12324
12325 * gdb.base/completion.exp: Test the completion of the "focus"
12326 command.
12327
123282015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12329
12330 * gdb.arch/amd64-prologue-skip.S: New file.
12331 * gdb.arch/amd64-prologue-skip.exp: New file.
12332
123332015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12334
12335 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12336 is_address_zero_readable check.
12337
123382015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12339
12340 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12341 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12342
123432015-06-24 Yao Qi <yao.qi@linaro.org>
12344
12345 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12346 linux targets.
12347
123482015-06-24 Yao Qi <yao.qi@linaro.org>
12349
12350 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12351 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12352 * gdb.base/siginfo-thread.exp: Likewise.
12353
123542015-06-22 Yao Qi <yao.qi@linaro.org>
12355
12356 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12357
123582015-06-22 Yao Qi <yao.qi@linaro.org>
12359
12360 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12361 aarch64*-*-*.
12362 (skip_hw_watchpoint_tests): Likewise.
12363
123642015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12365
12366 * gdb.base/gdbinit-history.exp: Test the interaction between
12367 setting GDBHISTSIZE and setting the history size via .gdbinit.
12368
123692015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12370
12371 PR gdb/16999
12372 * gdb.base/gdbhistsize-history.exp: New test.
12373
123742015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12375
12376 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12377 with GDBHISTSIZE.
12378 * gdb.base/readline.exp: Likewise.
12379
123802015-06-17 Yao Qi <yao.qi@linaro.org>
12381
12382 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12383 line.
12384
123852015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12386
12387 * gdb.base/gdbinit-history.exp: Add test case to check that
12388 an unlimited history file does not get truncated on exit.
12389
123902015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12391
12392 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12393 (VECTOR): New macro. Use it...
12394 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12395 ...for these typedefs.
12396 (int8, char1, int1, double1): New typedefs.
12397 (struct just_int2, struct two_int2): New structures.
12398 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12399 (add_structvecs, add_singlevecs): New functions.
12400 (main): Call add_some_intvecs twice.
12401 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12402 the compile and exit upon failure. Try compiling for the "native"
12403 architecture. Test inferior function calls with vector arguments
12404 and vector return value handling with "finish" and "return".
12405
124062015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12407
12408 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12409 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12410 PE file.
12411 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12412
124132015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12414
12415 PR breakpoints/16465
12416 * gdb.mi/mi-dprintf-pending.c: New file.
12417 * gdb.mi/mi-dprintf-pending.exp: New test.
12418 * gdb.mi/mi-dprintf-pendshr.c: New file.
12419
124202015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12421 Mircea Gherzan <mircea.gherzan@intel.com>
12422
12423 * gdb.arch/i386-mpx-map.c: New file.
12424 * gdb.arch/i386-mpx-map.exp: New File.
12425
124262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12427
12428 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12429 * gdb.arch/i386-mpx.exp: Indentation fixed.
12430
124312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12432
12433 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12434 function and improved indentation.
12435 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12436 gdb_test_multiple. Added additional tests to skip the test.
12437
124382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12439
12440 * gdb.arch/i386-avx512.c: Change path in include file.
12441 * gdb.arch/i386-avx512.exp: Change include dir path
12442 compilation flag.
12443 * gdb.arch/i386-mpx.c: Change path in include file.
12444 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12445 flag.
12446
124472015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12448
12449 * gdb.compile/compile-print.exp (compile print *vararray@3)
12450 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12451
124522015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12453
12454 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12455 (do not keep jit in memory): ... this.
12456 (expect 5): Change it to ...
12457 (expect no 5): ... this.
12458
124592015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12460
12461 PR gdb/15564
12462 * gdb.mi/mi-detach.exp: New file.
12463
124642015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12465
12466 PR symtab/18392
12467 * gdb.arch/amd64-tailcall-self.S: New file.
12468 * gdb.arch/amd64-tailcall-self.c: New file.
12469 * gdb.arch/amd64-tailcall-self.exp: New file.
12470
124712015-05-28 Don Breazeal <donb@codesourcery.com>
12472
12473 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12474 tests for remote targets by checking is_target_gdbserver.
12475
124762015-05-27 Doug Evans <dje@google.com>
12477
12478 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12479 * gdb.dwarf2/opaque-type-lookup.c: New file.
12480 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12481
124822015-05-26 Doug Evans <dje@google.com>
12483
12484 * gdb.cp/iostream.cc: New file.
12485 * gdb.cp/iostream.exp: New file.
12486
124872015-05-26 Doug Evans <dje@google.com>
12488
12489 * gdb.dwarf2/dw2-op-call.exp: Update.
12490 * gdb.dwarf2/dw4-sig-types.exp: Update.
12491 * gdb.dwarf2/implptr.exp: Update.
12492 * gdb.mi/mi-cmd-param-changed.exp: Update.
12493
124942015-05-26 Doug Evans <dje@google.com>
12495
12496 * gdb.python/py-lazy-string.c: New file.
12497 * gdb.python/py-lazy-string.exp: New file.
12498 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12499 (main): Update. Add estring3.
12500 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12501 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12502
125032015-05-26 Omair Javaid <omair.javaid@linaro.org>
12504 Yao Qi <yao.qi@linaro.org>
12505
12506 * gdb.reverse/aarch64.c: New.
12507 * gdb.reverse/aarch64.exp: New.
12508
125092015-05-26 Omair Javaid <omair.javaid@linaro.org>
12510
12511 * lib/gdb.exp (supports_process_record): Return true for
12512 aarch64*-linux*.
12513 (supports_reverse): Likewise.
12514
125152015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12516
12517 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12518 Use with_test_prefix.
12519
125202015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12521
12522 * gdb.base/completion.exp: Add test for completion of layout
12523 names.
12524
125252015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12526
12527 * lib/gdb.exp (skip_tui_tests): New proc.
12528 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12529
125302015-05-19 Pedro Alves <palves@redhat.com>
12531
12532 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12533 Save the whole env array instead of just HOME. Unset HISTSIZE in
12534 the environment while testing. Restore whole environment
12535 afterwards.
12536
125372015-05-16 Doug Evans <xdje42@gmail.com>
12538
12539 * gdb.guile/scm-ports.c: New file.
12540 * gdb.guile/scm-ports.exp: Add memory port tests.
12541
125422015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12543
12544 * gdb.compile/compile-print.c: New file.
12545 * gdb.compile/compile-print.exp: New file.
12546
125472015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12548
12549 * gdb.compile/compile-ops.exp: Cast param to void.
12550 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12551 (compile code struct_object.selffield = &struct_object): Add xfail.
12552
125532015-05-15 Joel Brobecker <brobecker@adacore.com>
12554
12555 * gdb.ada/arr_enum_with_gap: New testcase.
12556
125572015-05-15 Joel Brobecker <brobecker@adacore.com>
12558
12559 * gdb.ada/byte_packed_arr: New testcase.
12560
125612015-05-15 Joel Brobecker <brobecker@adacore.com>
12562
12563 * gdb.ada/pckd_neg: New testcase.
12564
125652015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12566
12567 PR gdb/17820
12568 * gdb.base/gdbinit-history.exp: New test.
12569 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12570 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12571
125722015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12573
12574 * gdb.python/py-xmethods.cc: Enhance test case.
12575 * gdb.python/py-xmethods.exp: New tests.
12576 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12577 function.
12578 (B_indexoper): Likewise.
12579 (global_dm_list) : Add new xmethod worker functions.
12580
125812015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12582
12583 * gdb.base/coredump-filter.exp: Correctly unset
12584 "coredump_var_addr" array.
12585
125862015-05-08 Pedro Alves <palves@redhat.com>
12587
12588 * gdb.server/non-existing-program.exp: Unset spawn_id.
12589
125902015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12591
12592 PR python/18291
12593 * gdb.python/py-xmethods.exp: Add tests.
12594
125952015-05-08 Yao Qi <yao.qi@linaro.org>
12596
12597 PR gdb/18208
12598 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12599 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12600 function set_coredump_filter, and remove remote_exec call.
12601 Remove argument ipid. Callers update.
12602 (top level): Don't get inferior's PID.
12603
126042015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12605
12606 * gdb.base/watch_thread_num.exp: Skip test on targets without
12607 access watchpoints.
12608
126092015-05-06 Pedro Alves <palves@redhat.com>
12610
12611 PR server/18081
12612 * gdb.server/non-existing-program.exp: New file.
12613
126142015-05-05 Joel Brobecker <brobecker@adacore.com>
12615
12616 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12617
126182015-05-05 Joel Brobecker <brobecker@adacore.com>
12619
12620 * gdb.ada/out_of_line_in_inlined: New testcase.
12621
126222015-05-05 Joel Brobecker <brobecker@adacore.com>
12623
12624 * gdb.ada/var_rec_arr: New testcase.
12625
126262015-04-30 Yao Qi <yao.qi@linaro.org>
12627
12628 * gdb.base/break-idempotent.exp: If
12629 skip_hw_watchpoint_multi_tests returns true, skip the tests
12630 on "rwatch" and "awatch".
12631
126322015-04-30 Yao Qi <yao.qi@linaro.org>
12633
12634 * gdb.base/relativedebug.exp: Invoke gdb command
12635 "info sharedlibrary", and if libc.so doesn't have debug info,
12636 skip the test.
12637
126382015-04-29 Doug Evans <dje@google.com>
12639
12640 * gdb.python/py-xmethods.exp: Add ptype tests.
12641 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12642 get_result_type method.
12643
126442015-04-29 Luis Machado <lgustavo@codesourcery.com>
12645
12646 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12647 the target does not support hardware watchpoints.
12648
126492015-04-29 Luis Machado <lgustavo@codesourcery.com>
12650
12651 * gdb.base/break-always.exp: Abort testing if writing to memory
12652 causes an error.
12653
126542015-04-28 Doug Evans <dje@google.com>
12655
12656 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12657 * gdb.python/py-pp-registration.exp: ... here. New file.
12658 * gdb.python/py-pp-registration.c: New file.
12659 * gdb.python/py-pp-registration.py: New file.
12660
126612015-04-28 Doug Evans <dje@google.com>
12662
12663 * gdb.python/py-bad-printers.c: New file.
12664 * gdb.python/py-bad-printers.py: New file.
12665 * gdb.python/py-bad-printers.exp: New file.
12666
126672015-04-28 Sasha Smundak <asmundak@google.com>
12668
12669 * gdb.python/py-type.exp: New test.
12670
126712015-04-28 Andy Wingo <wingo@igalia.com>
12672
12673 * gdb.python/py-parameter.exp:
12674 * gdb.guile/scm-parameter.exp: Escape the path that we are
12675 matching against, as it might contain characters that are special
12676 to regular expressions.
12677
126782015-04-27 Joel Brobecker <brobecker@adacore.com>
12679
12680 * gdb.ada/rec_comp: New testcase.
12681
126822015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12683
12684 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12685 before using it.
12686
126872015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12688
12689 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12690 new tests for verilog output.
12691
126922015-04-24 Yao Qi <yao.qi@linaro.org>
12693
12694 * boards/remote-gdbserver-on-localhost.exp: New file.
12695
126962015-04-23 Pedro Alves <palves@redhat.com>
12697
12698 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12699 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12700 "end of file", remove $inferior_spawn_id from the indirect list.
12701
127022015-04-23 Pedro Alves <palves@redhat.com>
12703
12704 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12705
127062015-04-23 Pedro Alves <palves@redhat.com>
12707
12708 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12709 on $any_spawn_id instead of only on $gdb_spawn_id.
12710
127112015-04-21 Pierre Muller <muller@sourceware.org>
12712
12713 PR pascal/17815
12714 * lib/pascal.exp (gpc_compile): Add new option "class".
12715 (fpc_compile): Likewise.
12716 * gdb.pascal/case-insensitive-symbols.pas: New file.
12717 * gdb.pascal/case-insensitive-symbols.exp: New file.
12718
127192015-04-20 Gary Benson <gbenson@redhat.com>
12720
12721 * gdb.base/attach.exp: Fix three extended remote failures.
12722
127232015-04-17 Gary Benson <gbenson@redhat.com>
12724
12725 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12726 the main executable over the remote protocol.
12727
127282015-04-16 Pedro Alves <palves@redhat.com>
12729
12730 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12731 a new gdbserver if gdbserver_reconnect_p is set.
12732
127332015-04-16 Pedro Alves <palves@redhat.com>
12734
12735 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12736 is set, don't exit gdbserver.
12737
127382015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12739
12740 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12741 appropriate .insn, such that an older assembler can be used.
12742 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12743 the z/Architecture instruction set on 31-bit targets as well.
12744
127452015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12746
12747 * gdb.go/handcall.exp: Remove all logic related to the first
12748 breakpoint and rely on go_runto_main instead.
12749 * gdb.go/strings.exp: Likewise.
12750 * gdb.go/unsafe.exp: Likewise.
12751 * gdb.go/hello.exp: Likewise. Also rename the remaining
12752 breakpoint marker to "breakpoint 1".
12753 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12754 * gdb.go/strings.go: Likewise.
12755 * gdb.go/unsafe.go: Likewise.
12756 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12757 "set breakpoint 2 here" and rename the remaining breakpoint marker
12758 to "breakpoint 1".
12759
127602015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12761
12762 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12763 if itertools.imap is not present.
12764 * gdb.python/py-objfile.exp: Add parentheses.
12765 * gdb.python/py-type.exp: Same.
12766 * gdb.python/py-unwind-maint.py: Same.
12767
127682015-04-15 Yao Qi <yao.qi@linaro.org>
12769
12770 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12771 of ":$ptr_size" and set its form explicitly.
12772
127732015-04-15 Pedro Alves <palves@redhat.com>
12774 Yao Qi <yao.qi@linaro.org>
12775
12776 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12777 timeout by factor of 4.
12778 (test_regular_watch): Likewise.
12779 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12780 * gdb.reverse/sigall-reverse.exp: Likewise.
12781 * gdb.reverse/until-precsave.exp: Likewise.
12782 * lib/gdb.exp (with_timeout_factor): New proc.
12783 (gdb_expect): Move some code to ...
12784 (get_largest_timeout): ... here. New procedure.
12785
127862015-04-14 Luis Machado <lgustavo@codesourcery.com>
12787
12788 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12789
127902015-04-13 Luis Machado <lgustavo@codesourcery.com>
12791
12792 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12793 to write to the .text section.
12794
127952015-04-13 Luis Machado <lgustavo@codesourcery.com>
12796
12797 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12798 Handle the case of targets that do not provide PID information.
12799
128002015-04-13 Yao Qi <yao.qi@linaro.org>
12801
12802 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12803 and use expect instead of gdb_expect.
12804
128052015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12806
12807 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12808 "coredump_var_addr" to avoid naming conflict with other testcases.
12809
128102015-04-10 Pedro Alves <palves@redhat.com>
12811
12812 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12813 gdb_test_sequence and gdb_assert.
12814
128152015-04-10 Pedro Alves <palves@redhat.com>
12816
12817 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12818 test messages that don't include the breakpoint address.
12819
128202015-04-10 Yao Qi <yao.qi@linaro.org>
12821
12822 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12823 false for some offset and width combinations which aren't
12824 supported by linux kernel.
12825
128262015-04-10 Pedro Alves <palves@redhat.com>
12827
12828 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12829 procedure, factored out from ...
12830 (top level): ... here. Add "set displaced-stepping" testing axis.
12831 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12832 parameter "displaced". Use it.
12833 (top level): Use foreach and add "set displaced-stepping" testing
12834 axis.
12835
128362015-04-10 Pedro Alves <palves@redhat.com>
12837
12838 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12839 Remove comment.
12840 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12841 both the address of the instruction that triggers the watchpoint
12842 and the address of the instruction immediately after, and use
12843 those addresses for the test. Fix comment.
12844
128452015-04-10 Pedro Alves <palves@redhat.com>
12846
12847 * gdb.base/sigstep.exp (breakpoint_to_handler)
12848 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12849 Test "backtrace" in handler.
12850 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12851 (top level): Add new "displaced" test axis to
12852 breakpoint_to_handler, breakpoint_to_handler_entry and
12853 breakpoint_over_handler.
12854
128552015-04-10 Pedro Alves <palves@redhat.com>
12856
12857 PR gdb/18216
12858 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12859
128602015-04-10 Yao Qi <yao.qi@linaro.org>
12861
12862 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12863 (test_add_rn_pc): New function.
12864 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12865 (top level): Invoke test_add_rn_pc.
12866
128672015-04-10 Pedro Alves <palves@redhat.com>
12868
12869 PR gdb/13858
12870 * gdb.base/step-over-no-symbols.exp: New file.
12871
128722015-04-09 Andy Wingo <wingo@igalia.com>
12873
12874 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12875 after the Python tests.
12876
128772015-04-08 Keith Seitz <keiths@redhat.com>
12878
12879 PR python/16699
12880 * gdb.python/py-completion.exp: New tests for completion.
12881 * gdb.python/py-completion.py (CompleteLimit1): New class.
12882 (CompleteLimit2): Likewise.
12883 (CompleteLimit3): Likewise.
12884 (CompleteLimit4): Likewise.
12885 (CompleteLimit5): Likewise.
12886 (CompleteLimit6): Likewise.
12887 (CompleteLimit7): Likewise.
12888
128892015-04-08 Pedro Alves <palves@redhat.com>
12890
12891 PR gdb/18214
12892 PR gdb/18216
12893 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12894 function.
12895 (main): Install it as SIGUSR1 handler.
12896 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12897 parameter. Always use "setup" as prefix. Toggle "set
12898 displaced-stepping" off/on depending on global. Don't switch to
12899 thread 1 here.
12900 (top level): Add displaced stepping "off/on" test axis. Update
12901 "setup" calls. Wrap each subtest with with_test_prefix. Test
12902 continuing with a queued signal in each thread.
12903
129042015-04-08 Pedro Alves <palves@redhat.com>
12905
12906 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12907 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12908 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12909 Return early if running to main fails.
12910 * gdb.trace/while-stepping.exp: Likewise.
12911
129122015-04-07 Pedro Alves <palves@redhat.com>
12913
12914 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12915 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12916 interact with inferior program.
12917
129182015-04-07 Pedro Alves <palves@redhat.com>
12919
12920 * lib/gdb.exp (inferior_spawn_id): New global.
12921 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12922 spawn id after processing the user code.
12923 (default_gdb_start): Set inferior_spawn_id.
12924 (send_inferior): New procedure.
12925 * lib/gdbserver-support.exp (gdbserver_start): Set
12926 inferior_spawn_id.
12927 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12928
129292015-04-07 Pedro Alves <palves@redhat.com>
12930
12931 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12932 * lib/gdbserver-support.exp (gdbserver_start): Make
12933 $server_spawn_id global.
12934 (gdbserver_start): Don't wait for gdbserver's spawn id with
12935 expect_background.
12936 (close_gdbserver): New procedure.
12937 (gdb_exit): Rename the default version and reimplement.
12938
129392015-04-07 Pedro Alves <palves@redhat.com>
12940
12941 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12942 append the substituted item, not the original item.
12943
129442015-04-07 Pedro Alves <palves@redhat.com>
12945
12946 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12947 gdb_expect.
12948
129492015-04-07 Pedro Alves <palves@redhat.com>
12950
12951 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12952 output appearing once only.
12953
129542015-04-07 Pedro Alves <palves@redhat.com>
12955
12956 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12957 that doesn't expect anything. Return early if running to main
12958 fails.
12959
129602015-04-07 Yao Qi <yao.qi@linaro.org>
12961
12962 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12963 (child_function): Call alarm.
12964 (main): Move call to alarm into the loop.
12965 * gdb.threads/non-stop-fair-events.exp: Build program with
12966 -DTIMEOUT=$timeout.
12967
129682015-04-06 Doug Evans <xdje42@gmail.com>
12969
12970 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12971 Fix dest parameter to board_info.
12972 (fpc_compile): Ditto.
12973 (gdb_compile_pascal): Rename dest arg to destfile.
12974
129752015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12976
12977 * gdb.ada/funcall_ref.exp: New file.
12978 * gdb.ada/funcall_ref/foo.adb: New file.
12979
129802015-04-02 Yao Qi <yao.qi@linaro.org>
12981
12982 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12983 is remote.
12984
129852015-04-02 Gary Benson <gbenson@redhat.com>
12986
12987 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12988
129892015-04-01 Sasha Smundak <asmundak@google.com>
12990
12991 * gdb.python/py-unwind-maint.c: New file.
12992 * gdb.python/py-unwind-maint.exp: New test.
12993 * gdb.python/py-unwind-maint.py: New file.
12994 * gdb.python/py-unwind.c: New file.
12995 * gdb.python/py-unwind.exp: New test.
12996 * gdb.python/py-unwind.py: New test.
12997
129982015-04-01 Pedro Alves <palves@redhat.com>
12999
13000 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13001 to fail instead of non-existent $test.
13002
130032015-04-01 Pedro Alves <palves@redhat.com>
13004
13005 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13006 GDBFLAGS if not empty.
13007
130082015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13009
13010 * gdb.ada/complete.exp: Remove "multi_line".
13011 * gdb.ada/info_exc.exp: Remove "multi_line".
13012 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13013 * gdb.ada/ptype_field.exp: Remove "multi_line".
13014 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13015 * gdb.ada/tagged.exp: Remove "multi_line".
13016 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13017 [multi_line ...]
13018 * gdb.btrace/delta.exp: Likewise.
13019 * gdb.btrace/exception.exp: Likewise.
13020 * gdb.btrace/function_call_history.exp: Likewise.
13021 * gdb.btrace/instruction_history.exp: Likewise.
13022 * gdb.btrace/nohist.exp: Likewise.
13023 * gdb.btrace/record_goto.exp: Likewise.
13024 * gdb.btrace/segv.exp: Likewise.
13025 * gdb.btrace/stepi.exp: Likewise.
13026 * gdb.btrace/tailcall.exp: Likewise.
13027 * gdb.btrace/unknown_functions.exp: Likewise.
13028 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13029 * lib/gdb.exp: Add the "multi_line" helper.
13030
130312015-04-01 Pedro Alves <palves@redhat.com>
13032
13033 * gdb.threads/tid-reuse.c: New file.
13034 * gdb.threads/tid-reuse.exp: New file.
13035
130362015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13037
13038 PR corefiles/16092
13039 * gdb.base/coredump-filter.c: New file.
13040 * gdb.base/coredump-filter.exp: Likewise.
13041
130422015-03-27 Petr Machata <pmachata@redhat.com>
13043
13044 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13045 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13046 (Dwarf::assemble): Initialize them.
13047 (Dwarf::lines): New function.
13048
130492015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13050
13051 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13052 SYMBOL_PREFIX for x86_64-*-cygwin.
13053
130542015-03-26 Andy Wingo <wingo@igalia.com>
13055
13056 PR symtab/18148
13057 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13058 const_value but not a location.
13059 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13060 location defined in non-main CUs are visible.
13061
130622015-03-26 Yao Qi <yao.qi@linaro.org>
13063
13064 PR testsuite/18139
13065 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13066 Add a line number entry for the same line.
13067 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13068 Add a line number entry for the same line.
13069
130702015-03-26 Yao Qi <yao.qi@linaro.org>
13071
13072 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13073 .int 0.
13074 (func): Likewise. Add .Lfunc_1 label.
13075 Use .Lfunc_1 label.
13076 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13077 .int 0.
13078 (func): Likewise.
13079 Use .Lfunc_1 label.
13080
130812015-03-26 Yao Qi <yao.qi@linaro.org>
13082
13083 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13084 Call gdb_compile instead to compile each .s files without debug
13085 information.
13086
130872015-03-26 Yao Qi <yao.qi@linaro.org>
13088
13089 * gdb.base/savedregs.exp (process_saved_regs): Make
13090 "Saved registers:" optional in the pattern.
13091
130922015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13093
13094 * gdb.btrace/next.exp: Merged into step.exp.
13095 * gdb.btrace/finish.exp: Merged into step.exp.
13096 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13097 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13098 "record goto" and checking the exact replay position.
13099 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13100 check for "Recording format" in "info record" output.
13101 * gdb.btrace/record_goto.exp: Choose test file based on target.
13102 * gdb.btrace/x86-record_goto.S: Renamed into ...
13103 * gdb.btrace/x86_64-record_goto.S: ... this.
13104 * gdb.btrace/i686-record_goto.S: New.
13105 * gdb.btrace/x86-tailcall.S: Renamed into ...
13106 * gdb.btrace/x86_64-tailcall.S: ... this.
13107 * gdb.btrace/i686-tailcall.S: New.
13108 * gdb.btrace/x86-tailcall.c: Renamed into ...
13109 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13110 separate statements. Update test.
13111 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13112 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13113 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13114 * gdb.btrace/tailcall.exp: Choose test file based on target.
13115 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13116
131172015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13118
13119 * gdb.btrace/exception.exp: Increase BTS buffer size.
13120
131212015-03-24 Pedro Alves <palves@redhat.com>
13122
13123 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13124
131252015-03-24 Pedro Alves <palves@redhat.com>
13126
13127 * gdb.threads/schedlock.exp (test_step): No longer expect that
13128 "set scheduler-locking step" with "next" over a function call runs
13129 threads unlocked.
13130
131312015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13132
13133 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13134
131352015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13136
13137 PR breakpoints/16466
13138 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13139 * gdb.mi/mi-pending.c (thread_func): New function.
13140 (int main): Add threading support required.
13141 * gdb.mi/mi-pending.exp: Add tests for this issue.
13142 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13143 (pendfunc2): Remove stdio dependency.
13144 * gdb.mi/mi-pendshr2.c: New file.
13145
131462015-03-23 Keith Seitz <keiths@redhat.com>
13147
13148 * gdb.linespec/keywords.c: New file.
13149 * gdb.linespec/keywords.exp: New file.
13150
131512015-03-23 Keith Seitz <keiths@redhat.com>
13152
13153 PR gdb/18021
13154 * gdb.dwarf2/staticvirtual.exp: New test.
13155
131562015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13157
13158 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13159 * README: Remove HP-UX and gdb.hp.
13160 (configuration):
13161 * configure: Regenerate.
13162 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13163 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13164 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13165 gdb.hp/gdb.defects/Makefile.
13166 * gdb.hp/Makefile.in: File deleted.
13167 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13168 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13169 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13170 * gdb.hp/gdb.aCC/run.c: File deleted.
13171 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13172 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13173 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13174 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13175 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13176 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13177 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13178 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13179 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13180 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13181 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13182 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13183 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13184 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13185 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13186 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13187 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13188 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13189 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13190 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13191 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13192 * gdb.hp/gdb.compat/average.c: File deleted.
13193 * gdb.hp/gdb.compat/sum.c: File deleted.
13194 * gdb.hp/gdb.compat/xdb.c: File deleted.
13195 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13196 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13197 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13198 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13199 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13200 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13201 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13202 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13203 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13204 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13205 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13206 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13207 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13208 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13209 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13210 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13211 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13212 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13213 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13214 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13215 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13216 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13217 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13218 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13219 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13220 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13221 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13222 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13223 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13224 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13225 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13226 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13227 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13228 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13229 * gdb.hp/tools/odump: File deleted.
13230
132312015-03-19 Pedro Alves <palves@redhat.com>
13232
13233 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13234 (saw_thread_3): New globals.
13235 (top level): Increment them when an event for the corresponding
13236 thread is seen.
13237 (no thread starvation): New test.
13238
132392015-03-19 Pedro Alves <palves@redhat.com>
13240
13241 * gdb.threads/continue-pending-status.c: New file.
13242 * gdb.threads/continue-pending-status.exp: New file.
13243
132442015-03-18 Pedro Alves <palves@redhat.com>
13245
13246 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13247 Use gdb_is_target_remote instead of is_remote. Use
13248 gdb_test_multiple instead of gdb_expect. Exit early if
13249 gdb_test_multiple hits its internal matches. Tighten stepi tests
13250 expected output. Fail on exit with any signal, instead of just
13251 SIGILL.
13252
132532015-03-18 Yao Qi <yao.qi@linaro.org>
13254
13255 PR tdep/18107
13256 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13257 variable.
13258 * gdb.base/catch-syscall.exp: Don't skip it on
13259 aarch64*-*-linux* target. Remove elements in all_syscalls.
13260 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13261 target.
13262 (setup_all_syscalls): New proc.
13263
132642015-03-16 Yao Qi <yao.qi@linaro.org>
13265
13266 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13267 (top level): Skip tests if valid_addr_p returns false for
13268 $cmd1 or $cmd2.
13269
132702015-03-11 Andy Wingo <wingo@igalia.com>
13271
13272 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13273
132742015-03-11 Yao Qi <yao.qi@linaro.org>
13275
13276 * gdb.base/catch-syscall.exp: Fix typo in comments.
13277
132782015-03-11 Yao Qi <yao.qi@linaro.org>
13279
13280 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13281
132822015-03-09 Pedro Alves <palves@redhat.com>
13283
13284 * dg-extract-results.py: Delete.
13285
132862015-03-09 Pedro Alves <palves@redhat.com>
13287
13288 Merge dg-extract-results.sh from GCC upstream (r218843).
13289
13290 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13291 * dg-extract-results.sh: Use --text with grep to avoid issues with
13292 binary files. Fall back to cat -v, if that doesn't work.
13293
132942015-03-05 Pedro Alves <palves@redhat.com>
13295
13296 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13297
132982015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13299
13300 * lib/mi-support.exp (mi_expect_interrupt): Accept
13301 alternative event for when in all-stop mode.
13302
133032015-03-04 Pedro Alves <palves@redhat.com>
13304
13305 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13306
133072015-03-04 Mark Kettenis <kettenis@gnu.org>
13308
13309 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13310
133112015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13312
13313 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13314 regexps for GDB's current line display, accept a hex address
13315 preceding the line number.
13316
133172015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13318
13319 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13320 the 'arch1' variable for "s390*-linux*" targets.
13321
133222015-03-04 Pedro Alves <palves@redhat.com>
13323
13324 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13325 (main): Pass missing retval argument to pthread_join call.
13326
133272015-03-02 Pedro Alves <palves@redhat.com>
13328
13329 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13330 (top level): Call do_test with non-stop as well.
13331
133322015-03-02 Pedro Alves <palves@redhat.com>
13333
13334 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13335 -1.
13336
133372015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13338
13339 * gdb.arch/s390-vregs.exp: New test.
13340 * gdb.arch/s390-vregs.S: New file.
13341
133422015-02-27 Pedro Alves <palves@redhat.com>
13343
13344 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13345 call to catch_command_errors.
13346 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13347 catch_command_errors.
13348
133492015-02-27 Pedro Alves <palves@redhat.com>
13350
13351 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13352 "true" for boolean result.
13353 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13354 prototype of main.
13355
133562015-02-27 Pedro Alves <palves@redhat.com>
13357
13358 * lib/unbuffer_output.c: New file.
13359 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13360 (main): Call gdb_unbuffer_output.
13361
133622015-02-27 Yao Qi <yao.qi@linaro.org>
13363
13364 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13365 target.
13366
133672015-02-26 Doug Evans <dje@google.com>
13368
13369 * gdb.cp/class2.cc (Dbase, D): New classes.
13370 (main): New local delta.
13371 * gdb.cp/class2.exp: Test printing delta.
13372 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13373 (dynbar): New global.
13374 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13375
133762015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13377
13378 * gdb.compile/compile-ifunc.c: New file.
13379 * gdb.compile/compile-ifunc.exp: New file.
13380
133812015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13382
13383 * gdb.base/structs.exp: Check for correct struct on finish.
13384
133852015-02-26 Yao Qi <yao.qi@linaro.org>
13386
13387 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13388 is zero.
13389
133902015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13391
13392 * gdb.arch/cordic.ko.bz2: New file.
13393 * gdb.arch/cordic.ko.debug.bz2: New file.
13394 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13395
133962015-02-25 Yao Qi <yao.qi@linaro.org>
13397
13398 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13399 aarch64*-*-* target.
13400
134012015-02-23 Pedro Alves <palves@redhat.com>
13402
13403 * lib/gdb.exp (delete_breakpoints): Rewrite using
13404 gdb_test_multiple.
13405
134062015-02-23 Pedro Alves <palves@redhat.com>
13407
13408 * gdb.base/info-os.c: Include stdlib.h.
13409
134102015-02-22 Doug Evans <xdje42@gmail.com>
13411
13412 PR symtab/17855
13413 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13414 is read after symbols have been re-read.
13415 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13416 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13417
134182015-02-21 Doug Evans <dje@google.com>
13419
13420 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13421
134222015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13423
13424 PR corefiles/17808
13425 * gdb.arch/i386-biarch-core.core.bz2: New file.
13426 * gdb.arch/i386-biarch-core.exp: New file.
13427
134282015-02-21 Pedro Alves <palves@redhat.com>
13429
13430 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13431 runto_main fails.
13432
134332015-02-20 Pedro Alves <palves@redhat.com>
13434
13435 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13436 info probes.
13437
134382015-02-20 Pedro Alves <palves@redhat.com>
13439
13440 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13441
134422015-02-20 Pedro Alves <palves@redhat.com>
13443
13444 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13445 clean_restart before gdb_target_supports_trace.
13446
134472015-02-20 Pedro Alves <palves@redhat.com>
13448
13449 PR threads/18006
13450 * gdb.threads/clone-thread_db.c: New file.
13451 * gdb.threads/clone-thread_db.exp: New file.
13452
134532015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13454
13455 PR breakpoints/16812
13456 * gdb.base/catch-gdb-caused-signals.c: New file.
13457 * gdb.base/catch-gdb-caused-signals.exp: New file.
13458
134592015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13460
13461 * configure: Regenerated.
13462 * configure.ac: Use GDB_AC_TRANSFORM.
13463 * aclocal.m4: sinclude ../transform.m4.
13464
134652015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13466
13467 * lib/dtrace.exp: New file.
13468 * gdb.base/dtrace-probe.exp: Likewise.
13469 * gdb.base/dtrace-probe.d: Likewise.
13470 * gdb.base/dtrace-probe.c: Likewise.
13471 * lib/pdtrace.in: Likewise.
13472 * configure.ac: Output variables with the transformed names of
13473 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13474 * configure: Regenerated.
13475
134762015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13477
13478 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13479 expected message when trying to access $_probe_* convenience
13480 variables while not on a probe.
13481
134822015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13483
13484 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13485
134862015-02-11 Pedro Alves <pedro@codesourcery.com>
13487
13488 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13489 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13490
134912015-02-10 Doug Evans <xdje42@gmail.com>
13492
13493 * lib/gdb.exp (gdb_load): Always return a result.
13494
134952015-02-10 Pedro Alves <palves@redhat.com>
13496
13497 * gdb.threads/signal-sigtrap.c: New file.
13498 * gdb.threads/signal-sigtrap.exp: New file.
13499
135002015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13501
13502 * gdb.trace/no-attach-trace.c: New file.
13503 * gdb.trace/no-attach-trace.exp: New file.
13504
135052015-02-09 Mark Wielaard <mjw@redhat.com>
13506
13507 * gdb.dwarf2/atomic.c: New file.
13508 * gdb.dwarf2/atomic-type.exp: Likewise.
13509
135102015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13511
13512 * gdb.btrace/buffer-size.exp: Update "info record" output.
13513 * gdb.btrace/delta.exp: Update "info record" output.
13514 * gdb.btrace/enable.exp: Update "info record" output.
13515 * gdb.btrace/finish.exp: Update "info record" output.
13516 * gdb.btrace/instruction_history.exp: Update "info record" output.
13517 * gdb.btrace/next.exp: Update "info record" output.
13518 * gdb.btrace/nexti.exp: Update "info record" output.
13519 * gdb.btrace/step.exp: Update "info record" output.
13520 * gdb.btrace/stepi.exp: Update "info record" output.
13521 * gdb.btrace/nohist.exp: Update "info record" output.
13522
135232015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13524
13525 * gdb.btrace/buffer-size: New.
13526
135272015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13528
13529 * gdb.btrace/delta.exp: Update "info record" output.
13530 * gdb.btrace/enable.exp: Update "info record" output.
13531 * gdb.btrace/finish.exp: Update "info record" output.
13532 * gdb.btrace/instruction_history.exp: Update "info record" output.
13533 * gdb.btrace/next.exp: Update "info record" output.
13534 * gdb.btrace/nexti.exp: Update "info record" output.
13535 * gdb.btrace/step.exp: Update "info record" output.
13536 * gdb.btrace/stepi.exp: Update "info record" output.
13537 * gdb.btrace/nohist.exp: Update "info record" output.
13538
135392015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13540
13541 PR gdb/15678
13542 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13543
135442015-02-06 Pedro Alves <palves@redhat.com>
13545
13546 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13547 macro.
13548 (seconds_left, again): New globals.
13549 (main): Wait seconds_left in a 1-second sleep loop instead of
13550 sleeping 180 seconds. If 'again' is set, reset the seconds
13551 counter.
13552 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13553 'again' in the inferior before detaching. Print the seconds left.
13554 (options): New global.
13555 (top level): Build program with -DTIMEOUT=$timeout.
13556
135572015-02-06 Pedro Alves <palves@redhat.com>
13558
13559 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13560 determine how many seconds to pass to 'alarm'.
13561 * gdb.base/gdb-sigterm.exp (top level): Build program with
13562 -DTIMEOUT=$timeout.
13563 (do_test): Return success/failure indication. Add more verbose
13564 logging. Don't fail if 200 single steps are seen. Instead, fail
13565 when the test times out.
13566 (passes): New global.
13567 (top level): Break the testing loop if testing fails on any
13568 iteration. Use gdb_assert.
13569
135702015-02-04 Don Breazeal <donb@codesourcery.com>
13571
13572 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13573 and initialize them.
13574 (ipc_cleanup): New function.
13575 (main): Don't declare shmid, semid, and msqid. Add a call to
13576 atexit so that we call ipc_cleanup on exit.
13577
135782015-02-04 Pedro Alves <palves@redhat.com>
13579
13580 * boards/native-extended-gdbserver.exp: Remove any target variant
13581 specifications from the board name before clearing the isremote
13582 flag from board_info.
13583
135842015-01-31 Doug Evans <xdje42@gmail.com>
13585
13586 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13587
135882015-01-31 Gary Benson <gbenson@redhat.com>
13589
13590 * gdb.base/completion.exp: Disable completion limiting for
13591 existing tests. Add new tests to check completion limiting.
13592 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13593
135942015-01-31 Doug Evans <xdje42@gmail.com>
13595
13596 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13597
135982015-01-31 Doug Evans <xdje42@gmail.com>
13599
13600 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13601 entries. Duplicate file section script entries.
13602 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13603 inlined entries. Add test for safe-path rejection.
13604 * gdb.python/py-section-script.c: Add duplicate inlined section script
13605 entries. Duplicate file section script entries.
13606 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13607 inlined entries. Add test for safe-path rejection.
13608
136092015-01-29 Joel Brobecker <brobecker@adacore.com>
13610
13611 * gdb.ada/disc_arr_bound: New testcase.
13612
136132015-01-29 Joel Brobecker <brobecker@adacore.com>
13614
13615 * gdb.ada/mi_var_array: New testcase.
13616
136172015-01-27 Doug Evans <dje@google.com>
13618
13619 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13620 Add test for objfile.filename, objfile.username after objfile
13621 has been unloaded.
13622
136232015-01-26 Joel Brobecker <brobecker@adacore.com>
13624
13625 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13626 the second test to print the name attribute of value
13627 returned by the call to gdb.lookup_type, and adjust
13628 the expected output accordingly.
13629
136302015-01-25 Mark Wielaard <mjw@redhat.com>
13631
13632 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13633 * gdb.base/disp-step-fork.c: Include unistd.h.
13634 * gdb.base/siginfo-obj.c: Include stdio.h.
13635 * gdb.base/siginfo-thread.c: Likewise.
13636 * gdb.mi/non-stop.c: Include unistd.h.
13637 * gdb.mi/nsthrexec.c: Include stdio.h.
13638 * gdb.mi/pthreads.c: Include unistd.h.
13639 * gdb.modula2/unbounded1.c (main): Declare returns int.
13640 * gdb.reverse/consecutive-reverse.c: Likewise.
13641 * gdb.threads/create-fail.c: Include unistd.h.
13642 * gdb.threads/killed.c: Likewise.
13643 * gdb.threads/linux-dp.c: Likewise.
13644 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13645 * gdb.threads/non-ldr-exc-2.c: Likewise.
13646 * gdb.threads/non-ldr-exc-3.c: Likewise.
13647 * gdb.threads/non-ldr-exc-4.c: Likewise.
13648 * gdb.threads/pthreads.c: Include unistd.h.
13649 (main): Declare returns int.
13650 * gdb.threads/tls-main.c (foo): New declaration.
13651 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13652
136532015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13654
13655 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13656 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13657
136582015-01-15 Mark Wielaard <mjw@redhat.com>
13659
13660 * gdb.base/noreturn-return.c: New file.
13661 * gdb.base/noreturn-return.exp: New file.
13662 * gdb.base/noreturn-finish.c: New file.
13663 * gdb.base/noreturn-finish.exp: New file.
13664
136652015-01-23 Pedro Alves <palves@redhat.com>
13666
13667 * gdb.threads/continue-pending-after-query.c: New file.
13668 * gdb.threads/continue-pending-after-query.exp: New file.
13669
136702015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13671 Simon Marchi <simon.marchi@ericsson.com>
13672
13673 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13674 * gdb.base/valgrind-db-attach.exp: Same.
13675 * gdb.base/valgrind-infcall.exp: Same.
13676 * lib/mi-support.exp (default_mi_gdb_start): Same.
13677 * lib/prompt.exp (default_prompt_gdb_start): Same.
13678 * lib/gdb.exp (default_gdb_spawn): Same.
13679 (gdb_interact): New.
13680
13681
136822015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13683
13684 * gdb.compile/compile.exp (pointer to jit function): New test.
13685
136862015-01-17 Wei-cheng Wang <cole945@gmail.com>
13687
13688 * lib/gdb.exp (supports_process_record): Return true for
13689 powerpc*-*-linux*.
13690 (supports_reverse): Likewise.
13691
136922015-01-15 Don Breazeal <donb@codesourcery.com>
13693
13694 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13695 instead of checking whether the target board is remote and
13696 use spawn_wait_for_attach instead of exec/sleep.
13697 * gdb.base/attach-twice.exp: Likewise.
13698
136992015-01-15 Joel Brobecker <brobecker@adacore.com>
13700
13701 * gdb.ada/var_arr_attrs: New testcase.
13702
137032015-01-14 Pedro Alves <palves@redhat.com>
13704 Joel Brobecker <brobecker@adacore.com>
13705
13706 PR gdb/17525
13707 * gdb.base/bp-cmds-execution-x-script.c: New file.
13708 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13709 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13710
137112015-01-14 Pedro Alves <palves@redhat.com>
13712
13713 PR cli/17828
13714 * gdb.base/batch-preserve-term-settings.c: New file.
13715 * gdb.base/batch-preserve-term-settings.exp: New file.
13716
137172015-01-13 Doug Evans <dje@google.com>
13718
13719 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13720 binary.
13721
137222015-01-13 Joel Brobecker <brobecker@adacore.com>
13723
13724 * Makefile.in (clean mostlyclean): Do not delete *.py.
13725
137262015-01-13 Joel Brobecker <brobecker@adacore.com>
13727
13728 * gdb.python/py-lookup-type.exp: New file.
13729
137302015-01-12 Pedro Alves <palves@redhat.com>
13731
13732 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13733 restore GDBFLAGS before returning.
13734
137352015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13736
13737 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13738 is_amd64_regs_target and is_x86_like_target.
13739
137402015-01-11 Doug Evans <xdje42@gmail.com>
13741
13742 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13743 is given without an explicit form.
13744 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13745 attributes.
13746 * gdb.dwarf/corrupt.exp: Ditto.
13747 * gdb.dwarf2/enum-type.exp: Ditto.
13748 * gdb.trace/entry-values.exp: Ditto.
13749 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13750
137512015-01-11 Doug Evans <xdje42@gmail.com>
13752
13753 PR gdb/15830
13754 * gdb.base/maint.exp: Remove references to "maint demangle".
13755 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13756 Add tests for explicitly specifying language to demangle.
13757 * gdb.dlang/demangle.exp: Ditto.
13758
137592015-01-09 Pedro Alves <palves@redhat.com>
13760
13761 * gdb.threads/non-stop-fair-events.c: New file.
13762 * gdb.threads/non-stop-fair-events.exp: New file.
13763
137642015-01-09 Pedro Alves <palves@redhat.com>
13765
13766 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13767 the global scope. Set a breakpoint after all threads are started
13768 rather than stepping over two source lines. Expect the prompt.
13769 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13770 global.
13771 (NUM): Now 15.
13772 (main): Use threads_started_barrier to wait for all threads to
13773 start. Main thread no longer calls thread_function. Exit after
13774 180 seconds.
13775 (loop): New function.
13776 (thread_function): Wait on threads_started_barrier barrier. Call
13777 'loop' at each iteration.
13778 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13779 threads have started, instead of hardcoding number of "next"
13780 steps. Use an access watchpoint instead of a write watchpoint.
13781
137822015-01-09 Pedro Alves <palves@redhat.com>
13783
13784 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13785 (thread_func): Wait on barrier.
13786 (main): Wait for all threads to start before stopping GDB.
13787 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13788 global.
13789 (thread1_func, thread2_func): Wait on barrier.
13790 (main): Wait for all threads to start before stopping GDB.
13791 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13792 New global.
13793 (thread1_func, thread2_func): Wait on barrier.
13794 (main): Wait for all threads to start before stopping GDB.
13795
137962015-01-09 Pedro Alves <palves@redhat.com>
13797
13798 * gdb.threads/attach-many-short-lived-threads.c: New file.
13799 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13800
138012014-01-09 Pedro Alves <palves@redhat.com>
13802
13803 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13804 instead of to thread 2.
13805 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13806 Add barrier around each pthread_create call instead of around all
13807 calls.
13808 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13809 Set a break on thread_function and have the child threads hit it
13810 one at at a time.
13811
138122015-01-09 Pedro Alves <palves@redhat.com>
13813
13814 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13815 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13816 false.
13817 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13818 checking whether the target board is remote.
13819 * gdb.multi/multi-attach.exp: Likewise.
13820 * gdb.python/py-sync-interp.exp: Likewise.
13821 * gdb.server/ext-attach.exp: Likewise.
13822 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13823 tests that need to attach, instead of checking whether the target
13824 board is remote at the top of the file.
13825
138262015-01-08 Yao Qi <yao@codesourcery.com>
13827
13828 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13829
138302015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13831
13832 Fix testcase compilation.
13833 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13834
138352015-01-06 Joel Brobecker <brobecker@adacore.com>
13836
13837 * gdb.python/py-type.exp: Add a couple test about empty
13838 array creation, and negative-length array creation.
13839
138402015-01-02 Doug Evans <xdje42@gmail.com>
13841
13842 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13843
138442015-01-02 Doug Evans <dje@google.com>
13845
13846 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13847
138482014-12-29 Yao Qi <yao@codesourcery.com>
13849
13850 * gdb.trace/entry-values.exp: Update comments. Rename variable
13851 bar_call_foo to returned_from_foo.
13852
138532014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13854
13855 PR gdb/17394
13856 * gdb.linespec/break-asm-file.c: New file.
13857 * gdb.linespec/break-asm-file.exp: New file.
13858 * gdb.linespec/break-asm-file0.s: New file.
13859 * gdb.linespec/break-asm-file1.s: New file.
13860
138612014-12-18 Nigel Stephens <nigel@mips.com>
13862 Maciej W. Rozycki <macro@codesourcery.com>
13863
13864 * gdb.base/float.exp: Handle the new output from "info float" on
13865 MIPS targets.
13866
138672014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13868
13869 Fix MinGW compilation.
13870 * gdb.compile/compile-ops.exp: Update untested message if
13871 !skip_compile_feature_tests.
13872 * gdb.compile/compile-setjmp.exp: Likewise.
13873 * gdb.compile/compile-tls.exp: Likewise.
13874 * gdb.compile/compile.exp: Likewise.
13875 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13876 supported on this host".
13877
138782014-12-16 Doug Evans <xdje42@gmail.com>
13879
13880 * boards/stabs.exp: New file.
13881
138822014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13883
13884 * gdb.base/completion.exp: Adjust to format changes of "maint
13885 print user-registers".
13886
138872014-12-16 Catalin Udma <catalin.udma@freescale.com>
13888
13889 PR server/17457
13890 * gdb.arch/aarch64-fp.c: New file.
13891 * gdb.arch/aarch64-fp.exp: New file.
13892
138932014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13894
13895 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13896 r210637, r210913, r211666, r215400, r215817).
13897
13898 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13899 * dg-extract-results.py: New file.
13900 * dg-extract-results.sh: Use it if the environment seems
13901 suitable.
13902
13903 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13904
13905 * dg-extract-results.py (parse_run): Handle warnings that
13906 are printed before a test harness is run.
13907
13908 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13909
13910 * dg-extract-results.py (Named): Remove __cmp__ method.
13911 (output_variation): Use a key to sort variation.harnesses.
13912
13913 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13914
13915 * dg-extract-results.py: For Python 3, force sys.stdout to
13916 handle surrogate escape sequences.
13917 (safe_open): New function.
13918 (output_segment, main): Use it.
13919
13920 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13921
13922 * dg-extract-results.py (Prog.result_re): Include options
13923 in test name.
13924
13925 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13926
13927 * dg-extract-results.py (output_variation): Always sort if
13928 do_sum.
13929
139302014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13931
13932 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13933 as long as we get pagination notifications.
13934
139352014-12-15 Jason Merrill <jason@redhat.com>
13936
13937 * Makefile.in (check-gdb.%): Restore.
13938 * README: Mention it.
13939
139402014-12-13 Joel Brobecker <brobecker@adacore.com>
13941
13942 * gdb.ada/str_uninit: New testcase.
13943
139442014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13945
13946 PR symtab/17642
13947 * gdb.base/vla-stub-define.c: New file.
13948 * gdb.base/vla-stub.c: New file.
13949 * gdb.base/vla-stub.exp: New file.
13950
139512014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13952 Jan Kratochvil <jan.kratochvil@redhat.com>
13953 Tom Tromey <tromey@redhat.com>
13954
13955 * configure.ac: Add gdb.compile/.
13956 * configure: Regenerate.
13957 * gdb.compile/Makefile.in: New file.
13958 * gdb.compile/compile-ops.exp: New file.
13959 * gdb.compile/compile-ops.c: New file.
13960 * gdb.compile/compile-tls.c: New file.
13961 * gdb.compile/compile-tls.exp: New file.
13962 * gdb.compile/compile-constvar.S: New file.
13963 * gdb.compile/compile-constvar.c: New file.
13964 * gdb.compile/compile-mod.c: New file.
13965 * gdb.compile/compile-nodebug.c: New file.
13966 * gdb.compile/compile-setjmp-mod.c: New file.
13967 * gdb.compile/compile-setjmp.c: New file.
13968 * gdb.compile/compile-setjmp.exp: New file.
13969 * gdb.compile/compile-shlib.c: New file.
13970 * gdb.compile/compile.c: New file.
13971 * gdb.compile/compile.exp: New file.
13972 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13973
139742014-12-12 Tom Tromey <tromey@redhat.com>
13975
13976 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13977 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13978
139792014-12-12 Doug Evans <dje@google.com>
13980
13981 * lib/gdb-python.exp (get_python_valueof): New function.
13982 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13983
139842014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13985
13986 * gdb.base/completion.exp: Add test for completion of "info
13987 registers ".
13988
139892014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13990
13991 * gdb.base/func-ptrs.c: New file.
13992 * gdb.base/func-ptrs.exp: New file.
13993
139942014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13995
13996 PR breakpoints/17012
13997 * gdb.base/dprintf-detach.c: New file.
13998 * gdb.base/dprintf-detach.exp: New file.
13999
140002014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14001
14002 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14003 * lib/gdb.exp (target_is_gdbserver): New procedure.
14004
140052014-12-08 Doug Evans <dje@google.com>
14006
14007 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14008
140092014-12-05 Yao Qi <yao@codesourcery.com>
14010
14011 * gdb.guile/scm-error.exp: Remove the third argument to
14012 gdb_remote_download.
14013 * gdb.guile/scm-frame-args.exp: Likewise.
14014 * gdb.guile/scm-section-script.exp: Likewise.
14015
140162014-12-05 Yao Qi <yao@codesourcery.com>
14017
14018 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14019
140202014-12-04 Doug Evans <dje@google.com>
14021
14022 * gdb.python/py-objfile.exp: Add tests for
14023 objfile.add_separate_debug_file.
14024
140252014-12-04 Doug Evans <dje@google.com>
14026
14027 * lib/gdb.exp (get_build_id): New function.
14028 (build_id_debug_filename_get): Rewrite to use it.
14029 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14030
140312014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14032
14033 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14034 `method(long)', not just 0x0.
14035 * gdb.cp/nsalias.exp: Align code labels to 4.
14036 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14037 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14038 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14039 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14040 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14041 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14042
140432014-12-02 Doug Evans <dje@google.com>
14044
14045 PR symtab/17602
14046 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14047 * gdb.cp/anon-ns2.cc: ... here. New file.
14048 * gdb.cp/anon-ns.exp: Update.
14049
140502014-12-02 Nick Bull <nicholaspbull@gmail.com>
14051
14052 * gdb.python/py-events.py (inferior_call_handler): New.
14053 (register_changed_handler, memory_changed_handler): New.
14054 (test_events.invoke): Register new handlers.
14055 * gdb.python/py-events.exp: Add tests for inferior call,
14056 memory_changed and register_changed events.
14057
140582014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14059
14060 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14061 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14062 if the linker doesn't understand this.
14063
140642014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14065
14066 * gdb.python/python.exp: Change expected reply to help().
14067
140682014-12-01 Yao Qi <yao@codesourcery.com>
14069
14070 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14071 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14072 * configure: Re-generated.
14073
140742014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14075
14076 * gdb.cp/chained-calls.cc: New file.
14077 * gdb.cp/chained-calls.exp: New file.
14078 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14079
140802014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14081
14082 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14083 * gdb.dwarf2/symtab-producer.exp: Same.
14084 * gdb.gdb/python-interrupts.exp: Same.
14085 * gdb.gdb/python-selftest.exp: Same.
14086 * gdb.python/py-linetable.exp: Same.
14087 * gdb.python/py-type.exp: Same.
14088 * gdb.python/py-value-cc.exp: Same.
14089 * gdb.python/py-value.exp: Same.
14090
140912014-11-28 Yao Qi <yao@codesourcery.com>
14092
14093 * gdb.base/break-probes.exp: Match library name prefixed with
14094 sysroot.
14095
140962014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14097
14098 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14099 test expected output. Add parentheses for the call to print.
14100 Remove L suffix from integers.
14101
141022014-11-26 Doug Evans <dje@google.com>
14103
14104 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14105
141062014-11-22 Yao Qi <yao@codesourcery.com>
14107
14108 * gdb.trace/entry-values.c: Remove asms.
14109 (foo): Add foo_label.
14110 (bar): Add bar_label.
14111 * gdb.trace/entry-values.exp: Remove code computing foo's
14112 length and bar's length.
14113 (Dwarf::assemble): Invoke function_range for bar and use
14114 MACRO_AT_func for foo.
14115
141162014-11-22 Yao Qi <yao@codesourcery.com>
14117
14118 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14119 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14120 Use .Lgcc43_procstart instead of gcc43.
14121
141222014-11-21 Joel Brobecker <brobecker@adacore.com>
14123
14124 * gdb.ada/n_arr_bound: New testcase.
14125
141262014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14127
14128 PR breakpoints/10737
14129 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14130 test_catch_syscall_multi_arch.
14131 (test_catch_syscall_multi_arch): New function.
14132
141332014-11-20 Doug Evans <xdje42@gmail.com>
14134
14135 * gdb.base/maint.exp: Update expected output.
14136
141372014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14138
14139 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14140 4-byte instruction on S390.
14141
141422014-11-19 Joel Brobecker <brobecker@adacore.com>
14143
14144 * gdb.ada/arr_arr: New testcase.
14145
141462014-11-19 Joel Brobecker <brobecker@adacore.com>
14147
14148 * gdb.ada/pkd_arr_elem: New Testcase.
14149
141502014-11-18 Luis Machado <lgustavo@codesourcery.com>
14151
14152 * gdb.reverse/break-precsave: Expect completion message for
14153 core file reads.
14154 * gdb.reverse/consecutive-precsave.exp: Likewise.
14155 * gdb.reverse/finish-precsave.exp: Likewise.
14156 * gdb.reverse/i386-precsave.exp: Likewise.
14157 * gdb.reverse/machinestate-precsave.exp: Likewise.
14158 * gdb.reverse/sigall-precsave.exp: Likewise.
14159 * gdb.reverse/solib-precsave.exp: Likewise.
14160 * gdb.reverse/step-precsave.exp: Likewise.
14161 * gdb.reverse/until-precsave.exp: Likewise.
14162 * gdb.reverse/watch-precsave.exp: Likewise.
14163
141642014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14165
14166 * gdb.base/bp-permanent.c: Include unistd.h.
14167 * gdb.python/py-framefilter-mi.c (main): Add return type.
14168 * gdb.python/py-framefilter.c (main): Likewise.
14169 * gdb.trace/actions-changed.c (main): Likewise.
14170
141712014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14172
14173 * gdb.mi/until.c: Add eye-catchers.
14174 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14175 line numbers.
14176
141772014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14178
14179 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14180 function header variants in break1.c.
14181 * gdb.base/ena-dis-br.exp: Likewise.
14182 * gdb.base/hbreak2.exp: Likewise.
14183 * gdb.reverse/until-precsave.exp: Drop references to removed
14184 non-prototype function header variants in ur1.c.
14185 * gdb.reverse/until-reverse.exp: Likewise.
14186
141872014-11-17 Petr Machata <pmachata@redhat.com>
14188
14189 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14190 ${_cu_offset_size} bytes abbrev offset.
14191
141922014-11-15 Doug Evans <xdje42@gmail.com>
14193
14194 PR symtab/17559
14195 * gdb.base/line-symtabs.exp: New file.
14196 * gdb.base/line-symtabs.c: New file.
14197 * gdb.base/line-symtabs.h: New file.
14198
141992014-11-14 Yao Qi <yao@codesourcery.com>
14200
14201 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14202 (func): Add label func_label.
14203 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14204 Replace low_pc and high_pc with MACRO_AT_range.
14205 Replace name, low_pc and high_pc with MACRO_AT_func.
14206
142072014-11-14 Yao Qi <yao@codesourcery.com>
14208
14209 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14210 Replace name, low_pc and high_pc with MACRO_AT_func.
14211
142122014-11-14 Yao Qi <yao@codesourcery.com>
14213
14214 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14215 produce debug information.
14216 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14217
142182014-11-14 Yao Qi <yao@codesourcery.com>
14219
14220 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14221 object and get function length.
14222 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14223 with MACRO_AT_func.
14224 (top-level): Replace gdb_compile and clean_restart with
14225 prepare_for_testing.
14226 * gdb.dwarf2/main.c (main): Add label main_label.
14227
142282014-11-14 Yao Qi <yao@codesourcery.com>
14229
14230 * lib/dwarf.exp (function_range): New procedure.
14231 (Dwarf::_handle_macro_at_func): New procedure.
14232 (Dwarf::_handle_macro_at_range): New procedure.
14233 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14234
142352014-11-14 Yao Qi <yao@codesourcery.com>
14236
14237 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14238 (_handle_attribute): New procedure.
14239
142402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14241
14242 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14243 * gdb.base/call-sc.c (zed): Likewise.
14244 * gdb.base/checkpoint.c (main): Likewise.
14245 * gdb.base/dump.c (main): Likewise.
14246 * gdb.base/gcore.c (main): Likewise.
14247 * gdb.base/huge.c (main): Likewise.
14248 * gdb.base/multi-forks.c (main): Likewise.
14249 * gdb.base/pr10179-a.c (main): Likewise.
14250 * gdb.base/savedregs.c (main): Likewise.
14251 * gdb.base/sigaltstack.c (main): Likewise.
14252 * gdb.base/siginfo.c (main): Likewise.
14253 * gdb.base/structs.c (zed): Likewise.
14254 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14255 * gdb.mi/mi-syn-frame.c (main): Likewise.
14256 * gdb.mi/until.c (foo, main): Likewise.
14257 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14258 * gdb.base/solib-weak.c (foo): Declare.
14259 * gdb.base/attach-twice.c: Include stdio.h.
14260 * gdb.base/weaklib1.c: Likewise.
14261 * gdb.base/weaklib2.c: Likewise.
14262 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14263 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14264 unistd.h.
14265 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14266 * gdb.mi/mi-exit-code.c: Likewise.
14267 * gdb.base/break-interp-lib.c: Include string.h.
14268 * gdb.base/coremaker.c: Likewise.
14269 * gdb.base/testenv.c: Likewise.
14270 * gdb.python/py-finish-breakpoint.c: Likewise.
14271 * gdb.base/inferior-died.c: Include sys/wait.h.
14272 * gdb.base/fileio.c: Include time.h.
14273 * gdb.base/async-shell.c: Include unistd.h.
14274 * gdb.base/dprintf-non-stop.c: Likewise.
14275 * gdb.base/info-os.c: Likewise.
14276 * gdb.mi/mi-console.c: Likewise.
14277 * gdb.mi/watch-nonstop.c: Likewise.
14278 * gdb.python/py-events.c: Likewise.
14279 * gdb.base/async.c (baz): Move up before its invocation.
14280 * gdb.base/code_elim2.c (my_global_func): Likewise.
14281 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14282 * gdb.base/advance.c (func2): Likewise.
14283
142842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14285
14286 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14287 variant.
14288 * gdb.base/annota3.c: Likewise.
14289 * gdb.base/async.c: Likewise.
14290 * gdb.base/average.c: Likewise.
14291 * gdb.base/call-ar-st.c: Likewise.
14292 * gdb.base/call-rt-st.c: Likewise.
14293 * gdb.base/call-sc.c: Likewise.
14294 * gdb.base/call-strs.c: Likewise.
14295 * gdb.base/ending-run.c: Likewise.
14296 * gdb.base/execd-prog.c: Likewise.
14297 * gdb.base/exprs.c: Likewise.
14298 * gdb.base/foll-exec.c: Likewise.
14299 * gdb.base/foll-fork.c: Likewise.
14300 * gdb.base/foll-vfork.c: Likewise.
14301 * gdb.base/funcargs.c: Likewise.
14302 * gdb.base/gcore.c: Likewise.
14303 * gdb.base/jump.c: Likewise.
14304 * gdb.base/langs0.c: Likewise.
14305 * gdb.base/langs1.c: Likewise.
14306 * gdb.base/langs2.c: Likewise.
14307 * gdb.base/mips_pro.c: Likewise.
14308 * gdb.base/nodebug.c: Likewise.
14309 * gdb.base/opaque0.c: Likewise.
14310 * gdb.base/opaque1.c: Likewise.
14311 * gdb.base/recurse.c: Likewise.
14312 * gdb.base/run.c: Likewise.
14313 * gdb.base/scope0.c: Likewise.
14314 * gdb.base/scope1.c: Likewise.
14315 * gdb.base/setshow.c: Likewise.
14316 * gdb.base/setvar.c: Likewise.
14317 * gdb.base/shmain.c: Likewise.
14318 * gdb.base/shr1.c: Likewise.
14319 * gdb.base/shr2.c: Likewise.
14320 * gdb.base/sigall.c: Likewise.
14321 * gdb.base/signals.c: Likewise.
14322 * gdb.base/so-indr-cl.c: Likewise.
14323 * gdb.base/solib2.c: Likewise.
14324 * gdb.base/structs.c: Likewise.
14325 * gdb.base/sum.c: Likewise.
14326 * gdb.base/vforked-prog.c: Likewise.
14327 * gdb.base/watchpoint.c: Likewise.
14328 * gdb.reverse/shr2.c: Likewise.
14329 * gdb.reverse/until-reverse.c: Likewise.
14330 * gdb.reverse/ur1.c: Likewise.
14331 * gdb.reverse/watch-reverse.c: Likewise.
14332
143332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14334
14335 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14336 variant.
14337 * gdb.base/sepdebug.exp: Drop references to removed code.
14338
143392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14340
14341 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14342 variant. Preserve original line numbering.
14343 * gdb.base/list1.c: Likewise.
14344
143452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14346
14347 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14348 variant.
14349 * gdb.base/break1.c: Likewise.
14350 * gdb.base/break.exp: Drop references to removed code.
14351
143522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14353
14354 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14355 variant.
14356
143572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14358
14359 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14360
143612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14362
14363 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14364 logic into perform_all_tests() and invoke it with and without
14365 function header prototypes.
14366 (do_function_calls): Remove conditional XFAIL for PR 5318.
14367 (rerun_and_prepare): Remove duplicate code.
14368 (perform_all_tests): New. Main logic moved here.
14369
143702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14371
14372 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14373 code guarded by #ifdef NO_PROTOTYPES.
14374 (t_double_many_args): Likewise.
14375 (DEF_FUNC_MANY_ARGS_1): Likewise.
14376 (DEF_FUNC_VALUES_1): Likewise.
14377 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14378 guarded by #ifdef PROTOTYPES.
14379
143802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14381
14382 * gdb.mi/mi-console.c: Add eye-catcher.
14383 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14384 instead of literal line number.
14385
143862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14387
14388 * gdb.base/shr2.c: Add eye-catcher.
14389 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14390 line number.
14391
143922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14393
14394 * gdb.base/jump.c: Add eye-catchers.
14395 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14396 numbers.
14397
143982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14399
14400 * gdb.base/execd-prog.c: Add eye-catchers.
14401 * gdb.base/foll-exec.c: Likewise.
14402 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14403 line numbers.
14404
144052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14406
14407 * gdb.base/ending-run.c: Add eye-catchers.
14408 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14409 literal line numbers.
14410
144112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14412
14413 * gdb.base/call-rt-st.c: Add eye-catchers.
14414 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14415 literal line numbers.
14416
144172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14418
14419 * gdb.base/call-ar-st.c: Add eye-catchers.
14420 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14421 literal line numbers.
14422
144232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14424
14425 * gdb.base/average.c: Add eye-catchers.
14426 * gdb.base/sum.c: Likewise.
14427 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14428 regexps dynamically.
14429
144302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14431
14432 * gdb.base/solib1.c: Add eye-catchers.
14433 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14434 literal line numbers.
14435
144362014-11-12 Pedro Alves <palves@redhat.com>
14437
14438 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14439 leader has exited.
14440
144412014-11-12 Pedro Alves <palves@redhat.com>
14442
14443 * gdb.arch/i386-bp_permanent.c: New file.
14444 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14445 (srcfile): Set to i386-bp_permanent.c.
14446 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14447 that stepi does not execute the 'leave' instruction, instead of
14448 testing it does execute.
14449 * gdb.base/bp-permanent.c: New file.
14450 * gdb.base/bp-permanent.exp: New file.
14451
144522014-11-10 Doug Evans <xdje42@gmail.com>
14453
14454 PR symtab/17564
14455 * gdb.base/symtab-search-order.exp: New file.
14456 * gdb.base/symtab-search-order.c: New file.
14457 * gdb.base/symtab-search-order-1.c: New file.
14458 * gdb.base/symtab-search-order-shlib-1.c: New file.
14459
144602014-11-07 Pedro Alves <palves@redhat.com>
14461
14462 PR gdb/17511
14463 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14464 i?86-*-linux*.
14465
144662014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14467
14468 PR c++/17494
14469 * gdb.cp/pr17494.cc: New file.
14470 * gdb.cp/pr17494.exp: New file.
14471
144722014-11-02 Yao Qi <yao@codesourcery.com>
14473
14474 * gdb.python/python.exp: Get working directory and match the
14475 output of "set extended-prompt \\w " with it.
14476
144772014-10-30 Doug Evans <dje@google.com>
14478
14479 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14480 in objfiles.
14481 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14482 in progspaces.
14483
144842014-10-30 Janis Johnson <janisjo@codesourcery.com>
14485
14486 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14487 * gdb.base/realname-expand.exp: Likewise.
14488 * gdb.linespec/macro-relative.exp: Likewise.
14489
144902014-10-29 Pedro Alves <palves@redhat.com>
14491
14492 PR gdb/17408
14493 * gdb.threads/schedlock.c (some_function): New function.
14494 (call_function): New global.
14495 (MAYBE_CALL_SOME_FUNCTION): New macro.
14496 (thread_function): Call it.
14497 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14498 and use it instead of a global counter. Adjust all callers.
14499 (get_current_thread): Use "find current thread" for test message
14500 here rather than having all callers pass down the same string.
14501 (goto_loop): New procedure, factored out from ...
14502 (my_continue): ... this.
14503 (step_ten_loops): Change parameter from test message to command to
14504 use. Adjust.
14505 (list_count): Delete global.
14506 (check_result): New procedure, factored out from duplicate top
14507 level code.
14508 (continue tests): Wrap in with_test_prefix.
14509 (test_step): New procedure, factored out from duplicate top level
14510 code.
14511 (top level): Test "step" in combination with all scheduler-locking
14512 modes. Test "next" in combination with all scheduler-locking
14513 modes, and in combination with stepping over a function call or
14514 not.
14515 * gdb.threads/next-bp-other-thread.c: New file.
14516 * gdb.threads/next-bp-other-thread.exp: New file.
14517
145182014-10-29 Pedro Alves <palves@redhat.com>
14519
14520 PR python/17372
14521 * gdb.python/python.exp: Test a multi-line command that spawns
14522 interactive Python.
14523 * gdb.base/multi-line-starts-subshell.exp: New file.
14524
145252014-10-29 Yao Qi <yao@codesourcery.com>
14526
14527 * gdb.base/fileio.exp: Make directories on host.
14528
145292014-10-29 Yao Qi <yao@codesourcery.com>
14530
14531 * gdb.base/fileio.c (test_write): Close the file.
14532
145332014-10-28 Pedro Alves <palves@redhat.com>
14534
14535 PR gdb/12623
14536 * gdb.base/sigstep.c (no_handler): New global.
14537 (main): If 'no_handler is true, set the signal handlers to
14538 SIG_IGN.
14539 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14540 with_sw_watch and no_handler parameters. Handle them.
14541 (top level) <stepping over handler when stopped at a breakpoint
14542 test>: Add a test axis for testing with a software watchpoint, and
14543 another for testing with the signal handler set to SIG_IGN.
14544 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14545 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14546
145472014-10-28 Pedro Alves <palves@redhat.com>
14548
14549 PR gdb/17511
14550 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14551 * gdb.base/sigstep.exp (other_handler_location): New global.
14552 (advance): Support stepping into the signal handler, and running
14553 commands while in the handler.
14554 (in_handler_map): New global.
14555 (top level): In the advance test, add combinations for getting
14556 into the handler with stepping commands, and for running commands
14557 in the handler. Add comment descripting the advancei tests.
14558
145592014-10-28 Pedro Alves <palves@redhat.com>
14560
14561 * gdb.base/sigstep.exp: Use build_executable instead of
14562 prepare_for_testing.
14563 (top level): Move code that starts GDB, runs to main and creates a
14564 display to ...
14565 (restart): ... this new procedure.
14566 (top level): Move backtrace from signal handler test to ...
14567 (validate_backtrace): ... this new procedure.
14568 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14569 with_test_prefix. Always restart GDB.
14570 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14571 with_test_prefix. Always restart GDB. No need to delete
14572 breakpoints after the test.
14573 (test_skip_handler): Remove prefix parameter.
14574 (skip_over_handler, breakpoint_to_handler)
14575 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14576 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14577 restart GDB. No need to delete breakpoints after the test.
14578 (top level): Use foreach to call the test procedures with
14579 different commands.
14580
145812014-10-28 Pedro Alves <palves@redhat.com>
14582
14583 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14584 instead of GNATS numbers.
14585 * gdb.base/sigbpt.exp: Likewise.
14586 * gdb.base/siginfo.exp: Likewise.
14587 * gdb.base/sigstep.exp: Likewise.
14588
145892014-10-27 Pedro Alves <palves@redhat.com>
14590
14591 * gdb.base/sigstep.c (dummy): New global.
14592 (main): Issue a couple writes to the new global.
14593 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14594 procedures.
14595 (skip_over_handler): Use test_skip_handler.
14596 (top level): Call skip_over_handler for stepi and nexti too.
14597 (breakpoint_over_handler): Use test_skip_handler.
14598 (top level): Call breakpoint_over_handler for stepi and nexti too.
14599
146002014-10-27 Yao Qi <yao@codesourcery.com>
14601
14602 * gdb.trace/tfile.c (adjust_function_address)
14603 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14604 function descriptor.
14605
146062014-10-24 Don Breazeal <donb@codesourcery.com>
14607
14608 * gdb.base/foll-fork.exp (test_follow_fork,
14609 catch_fork_child_follow): Check for updated fork messages emitted
14610 from infrun.c.
14611 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14612 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14613 vfork_and_exec_child_follow_through_step): Check for updated vfork
14614 messages emitted from infrun.c.
14615
146162014-10-24 Pedro Alves <palves@redhat.com>
14617
14618 * gdb.base/corefile.exp: Remove references to ultrix.
14619 * gdb.base/interrupt.exp: Likewise.
14620 * gdb.base/whatis.exp: Likewise.
14621 * gdb.gdb/selftest.exp: Likewise.
14622 * gdb.threads/manythreads.exp: Likewise.
14623 * gdb.threads/print-threads.exp: Likewise.
14624 * gdb.threads/pthreads.exp:: Likewise.
14625 * gdb.threads/schedlock.exp: Likewise.
14626
146272014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14628
14629 * gdb.cp/non-trivial-retval.cc: Add a test case.
14630 * gdb.cp/non-trivial-retval.exp: Add a test.
14631
146322014-10-20 Yao Qi <yao@codesourcery.com>
14633
14634 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14635 * gdb.python/py-objfile-script-gdb.py: New file.
14636 * gdb.python/py-objfile-script.exp: Update reference to
14637 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14638 of remote_download. Remove the dest file.
14639
146402014-10-20 Yao Qi <yao@codesourcery.com>
14641
14642 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14643 * gdb.base/step-line.exp: Likewise.
14644 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14645 * gdb.dwarf2/dw2-basic.exp: Likewise.
14646 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14647 * gdb.dwarf2/dw2-filename.exp: Likewise.
14648 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14649 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14650 * gdb.dwarf2/dw2-producer.exp: Likewise.
14651 * gdb.dwarf2/mac-fileno.exp: Likewise.
14652 * gdb.python/py-frame-args.exp: Likewise.
14653 * gdb.python/py-framefilter.exp: Likewise.
14654 * gdb.python/py-mi.exp: Likewise.
14655 * gdb.python/py-objfile-script.exp: Likewise
14656 * gdb.python/py-pp-integral.exp: Likewise.
14657 * gdb.python/py-pp-re-notag.exp: Likewise.
14658 * gdb.python/py-prettyprint.exp: Likewise.
14659 * gdb.python/py-section-script.exp: Likewise.
14660 * gdb.python/py-typeprint.exp: Likewise.
14661 * gdb.python/py-xmethods.exp: Likewise.
14662 * gdb.stabs/weird.exp: Likewise.
14663 * gdb.xml/tdesc-regs.exp: Likewise.
14664
146652014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14666
14667 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14668 (out_cu): Use addr_len for the size of addresses.
14669 (out_line): Likewise. Size DW_LNE_set_address instruction
14670 according to addr_len.
14671 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14672 (FUNC): Add START_INSNS to definition.
14673
146742014-10-18 Yao Qi <yao@codesourcery.com>
14675
14676 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14677 gdb_has_argv0 return true.
14678 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14679 check [target_info exists noargs], check [gdb_has_argv0]
14680 instead.
14681 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14682 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14683 procedures.
14684
146852014-10-17 Doug Evans <dje@google.com>
14686
14687 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14688 event.
14689 * gdb.python/py-events.py: Add clear_objfiles event.
14690
146912014-10-17 Doug Evans <dje@google.com>
14692
14693 * gdb.python/py-objfile.exp: Test progspace attribute.
14694
146952014-10-17 Luis Machado <lgustavo@codesourcery.com>
14696
14697 * gdb.guile/scm-breakpoint.exp: Do not assume any
14698 directory separators when matching source file paths.
14699 * gdb.python/py-breakpoint.exp: Likewise.
14700 * gdb.reverse/break-precsave.exp: Likewise.
14701 * gdb.reverse/break-reverse.exp: Likewise.
14702 * gdb.reverse/consecutive-precsave.exp: Likewise.
14703 * gdb.reverse/finish-precsave.exp: Likewise.
14704 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14705 * gdb.reverse/finish-reverse.exp: Likewise.
14706 * gdb.reverse/i386-precsave.exp: Likewise.
14707 * gdb.reverse/i387-env-reverse.exp: Likewise.
14708 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14709 * gdb.reverse/machinestate-precsave.exp: Likewise.
14710 * gdb.reverse/machinestate.exp: Likewise.
14711 * gdb.reverse/sigall-precsave.exp: Likewise.
14712 * gdb.reverse/solib-precsave.exp: Likewise.
14713 * gdb.reverse/step-precsave.exp: Likewise.
14714 * gdb.reverse/until-precsave.exp: Likewise.
14715 * gdb.reverse/watch-precsave.exp: Likewise.
14716 * gdb.reverse/watch-reverse.exp: Likewise.
14717
147182014-10-17 Yao Qi <yao@codesourcery.com>
14719
14720 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14721 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14722
147232014-10-17 Pedro Alves <palves@redhat.com>
14724
14725 PR gdb/17471
14726 * gdb.base/bg-execution-repeat.c: New file.
14727 * gdb.base/bg-execution-repeat.exp: New file.
14728
147292014-10-17 Pedro Alves <palves@redhat.com>
14730
14731 PR gdb/17300
14732 * gdb.base/continue-all-already-running.c: New file.
14733 * gdb.base/continue-all-already-running.exp: New file.
14734
147352014-10-17 Pedro Alves <palves@redhat.com>
14736
14737 PR gdb/17472
14738 * gdb.base/annota-input-while-running.c: New file.
14739 * gdb.base/annota-input-while-running.exp: New file.
14740
147412014-10-17 Pedro Alves <palves@redhat.com>
14742
14743 * gdb.base/callfuncs.exp: emove references to osf.
14744 * gdb.base/sigall.exp: Likewise.
14745 * gdb.gdb/selftest.exp: Likewise.
14746 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14747 * gdb.mi/non-stop.c: Likewise.
14748 * gdb.mi/pthreads.c: Likewise.
14749 * gdb.reverse/sigall-precsave.exp: Likewise.
14750 * gdb.reverse/sigall-reverse.exp: Likewise.
14751 * gdb.threads/pthreads.c: Likewise.
14752 * gdb.threads/pthreads.exp: Likewise.
14753
147542014-10-17 Yao Qi <yao@codesourcery.com>
14755
14756 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14757 check 'target_info exists noargs'.
14758 (test_command_prompt_position): Likewise.
14759 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14760 Remove "set args".
14761 (progvar_simple_while_test): Likewise.
14762 (progvar_complex_if_while_test): Likewise.
14763 (if_while_breakpoint_command_test): Likewise.
14764 (infrun_breakpoint_command_test): Likewise.
14765 (breakpoint_command_test): Likewise.
14766 (watchpoint_command_test): Likewise.
14767 (bp_deleted_in_command_test): Likewise.
14768 (temporary_breakpoint_commands): Likewise.
14769
147702014-10-16 Yao Qi <yao@codesourcery.com>
14771
14772 * gdb.base/remotetimeout.exp: Remove noargs checking.
14773
147742014-10-15 Pedro Alves <palves@redhat.com>
14775
14776 PR breakpoints/9649
14777 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14778 * gdb.base/breakpoint-in-ro-region.exp
14779 (probe_target_hardware_step): New procedure.
14780 (top level): Probe hardware stepping and hardware breakpoint
14781 support. Test stepping through a read-only region, with both
14782 "breakpoint auto-hw" on and off and both "always-inserted" on and
14783 off.
14784
147852014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14786
14787 * gdb.dlang/demangle.exp: Update for demangling changes.
14788
147892014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14790
14791 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14792 * gdb.cp/non-trivial-retval.exp: Add new tests.
14793
147942014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14795
14796 PR c++/13403
14797 PR c++/15154
14798 * gdb.cp/non-trivial-retval.cc: New file.
14799 * gdb.cp/non-trivial-retval.exp: New file.
14800
148012014-10-15 Yao Qi <yao@codesourcery.com>
14802
14803 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14804 remote host.
14805
148062014-10-15 Yao Qi <yao@codesourcery.com>
14807
14808 * gdb.python/py-symbol.exp: Match file base name if host is
14809 remote, otherwise match file name with dir name.
14810 * gdb.python/py-symtab.exp: Likewise.
14811 * gdb.python/python.exp: Likewise.
14812
148132014-10-15 Yao Qi <yao@codesourcery.com>
14814
14815 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14816 pattern.
14817 * gdb.python/py-symtab.exp: Likewise.
14818 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14819 locationn.
14820
148212014-10-14 Joel Brobecker <brobecker@adacore.com>
14822
14823 * gdb.ada/addr_arith: New testcase.
14824
148252014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14826
14827 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14828 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14829 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14830 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14831
148322014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14833
14834 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14835 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14836 * gdb.arch/stap-eval-lang-ada.exp: New file.
14837
148382014-10-14 Yao Qi <yao@codesourcery.com>
14839
14840 * gdb.mi/mi-var-child.c (nothing1): New function.
14841 (nothing2): New function.
14842 (do_children_tests): Set function pointers by nothing1 and
14843 nothing2.
14844 * gdb.mi/mi-var-child.exp: Step over new added statements.
14845 Update test to match the new output.
14846 * gdb.mi/var-cmd.c (nothing1): New function.
14847 (nothing2): New function.
14848 (do_children_tests): Set function pointers by nothing1 and
14849 nothing2.
14850 * gdb.mi/mi-var-display.exp: Update test to match output.
14851 Step to the line specified by $line_dct_nothing.
14852 Increase the number of lines to step.
14853
148542014-10-14 Yao Qi <yao@codesourcery.com>
14855
14856 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14857 tests.
14858 * gdb.mi/mi2-var-child.exp: Likewise.
14859
148602014-10-13 Doug Evans <dje@google.com>
14861
14862 * gdb.python/py-objfile.exp: Change name of file name test.
14863
148642014-10-13 Doug Evans <dje@google.com>
14865
14866 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14867 from the start of the CU.
14868
148692014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14870 Yao Qi <yao@codesourcery.com>
14871
14872 Fix "save breakpoints" for "catch" command.
14873 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14874 Remove -nonewline. Match also the added "main" line.
14875
148762014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14877
14878 Fix "save breakpoints" for "disable $bpnum" command.
14879 * gdb.base/save-bp.c (main): Add label.
14880 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14881
148822014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14883
14884 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14885
148862014-10-11 Yao Qi <yao@codesourcery.com>
14887
14888 * gdb.server/server-kill.exp: Execute command
14889 "set remote trace-status-packet on" before "tstatus".
14890
148912014-10-11 Yao Qi <yao@codesourcery.com>
14892
14893 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14894 (main): Call getppid.
14895 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14896 and continue to it. Read variable "server_pid".
14897
148982014-10-11 Yao Qi <yao@codesourcery.com>
14899
14900 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14901
149022014-10-11 Yao Qi <yao@codesourcery.com>
14903
14904 * gdb.threads/thread-find.exp: Don't execute command
14905 "info threads".
14906 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14907 * gdb.threads/linux-dp.exp: Don't check the condition
14908 $threads_created equals to zero.
14909
149102014-10-10 Pedro Alves <palves@redhat.com>
14911
14912 * gdb.base/bigcore.exp: Remove references to IRIX.
14913 * gdb.base/funcargs.exp: Likewise.
14914 * gdb.base/interrupt.exp: Likewise.
14915 * gdb.base/mips_pro.exp: Likewise.
14916 * gdb.base/nodebug.exp: Likewise.
14917 * gdb.base/setvar.exp: Likewise.
14918 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14919
149202014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14921 Pedro Alves <palves@redhat.com>
14922
14923 PR symtab/14466
14924 * gdb.base/vdso-warning.c: New file.
14925 * gdb.base/vdso-warning.exp: New file.
14926
149272014-10-02 Doug Evans <dje@google.com>
14928
14929 * gdb.base/structs.c (main): Don't run forever.
14930
149312014-10-02 Pedro Alves <palves@redhat.com>
14932
14933 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14934 (top level) <stop threads 1, stop threads 2>: Use it.
14935
149362014-10-02 Pedro Alves <palves@redhat.com>
14937
14938 * gdb.threads/break-while-running.exp (test): Add new
14939 'update_thread_list' argument. Skip "info threads" if false.
14940 (top level): Add new 'update_thread_list' axis.
14941
149422014-10-02 Pedro Alves <palves@redhat.com>
14943
14944 PR breakpoints/17431
14945 * gdb.base/execl-update-breakpoints.c: New file.
14946 * gdb.base/execl-update-breakpoints.exp: New file.
14947
149482014-10-01 Pedro Alves <palves@redhat.com>
14949
14950 * gdb.base/breakpoint-in-ro-region.c: New file.
14951 * gdb.base/breakpoint-in-ro-region.exp: New file.
14952
149532014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14954
14955 * gdb.mi/mi-exit-code.exp: New file.
14956 * gdb.mi/mi-exit-code.c: New file.
14957
149582014-09-30 Yao Qi <yao@codesourcery.com>
14959
14960 * lib/prelink-support.exp (build_executable_own_libs): Error if
14961 the target isn't native.
14962
149632014-09-30 Yao Qi <yao@codesourcery.com>
14964
14965 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14966 false.
14967
149682014-09-22 Pedro Alves <palves@redhat.com>
14969
14970 * gdb.threads/break-while-running.exp: New file.
14971 * gdb.threads/break-while-running.c: New file.
14972
149732014-09-19 Yao Qi <yao@codesourcery.com>
14974
14975 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14976 Invoke test. Restart GDB with --readnow and invoke test again.
14977
149782014-09-19 Yao Qi <yao@codesourcery.com>
14979
14980 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14981 proc set_breakpoint_on_gcd_function. Invoke
14982 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14983 invoke set_breakpoint_on_gcd_function again.
14984
149852014-09-18 Doug Evans <dje@google.com>
14986
14987 * gdb.dwarf2/symtab-producer.exp: New file.
14988
149892014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14990
14991 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14992 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14993 * gdb.base/global-var-nested-by-dso.c: Likewise.
14994 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14995
149962014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14997 Pedro Alves <palves@redhat.com>
14998
14999 * gdb.base/watch-bitfields.exp: Pass string other than test file
15000 name to prepare_for_testing.
15001 (watch): New procedure.
15002 (expect_watchpoint): Use with_test_prefix.
15003 (top level): Factor out tests to ...
15004 (test_watch_location, test_regular_watch): ... these new
15005 procedures, and use with_test_prefix and gdb_continue_to_end.
15006
150072014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15008
15009 PR breakpoints/12526
15010 * gdb.base/watch-bitfields.exp: New file.
15011 * gdb.base/watch-bitfields.c: New file.
15012
150132014-09-16 Pedro Alves <palves@redhat.com>
15014
15015 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15016 software and hardware addresses, not software address against
15017 itself.
15018
150192014-09-16 Pedro Alves <palves@redhat.com>
15020
15021 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15022 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15023
150242014-09-16 Pedro Alves <palves@redhat.com>
15025
15026 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15027 files.
15028 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15029 "*-*-vxworks*" throughout.
15030 * gdb.base/break.exp: Likewise.
15031 * gdb.base/default.exp: Likewise.
15032 * gdb.base/scope.exp: Likewise.
15033 * gdb.base/sepdebug.exp: Likewise.
15034 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15035 throughout.
15036 * gdb.base/run.c: Likewise.
15037 * gdb.base/sepdebug.c: Likewise.
15038 * gdb.hp/gdb.aCC/run.c: Likewise.
15039 * gdb.reverse/until-reverse.c: Likewise.
15040 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15041
150422014-09-16 Yao Qi <yao@codesourcery.com>
15043
15044 * boards/local-remote-host-native.exp: New file.
15045
150462014-09-14 Doug Evans <xdje42@gmail.com>
15047
15048 * gdb.threads/queue-signal.c (thread_count): New variable.
15049 (thread_count_mutex, thread_count_condvar): New variables.
15050 (incr_thread_count, wait_all_threads_running): New functions.
15051 (main): Wait for all threads to be in their thread functions.
15052
150532014-09-13 Doug Evans <xdje42@gmail.com>
15054
15055 * gdb.threads/queue-signal.c: New file.
15056 * gdb.threads/queue-signal.exp: New file.
15057
150582014-09-13 Doug Evans <xdje42@gmail.com>
15059
15060 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15061 be consistent with what default_gdb_init uses.
15062 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15063 the plain text of the prompt. Add some logging printfs.
15064 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15065
150662014-09-12 Pedro Alves <palves@redhat.com>
15067
15068 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15069 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15070 * gdb.arch/i386-size-overlap.exp: Likewise.
15071 * gdb.arch/i386-size.exp: Likewise.
15072 * gdb.arch/i386-unwind.exp: Likewise.
15073 * gdb.base/a2-run.exp: Likewise.
15074 * gdb.base/break.exp: Likewise.
15075 * gdb.base/charset.exp: Likewise.
15076 * gdb.base/chng-syms.exp: Likewise.
15077 * gdb.base/commands.exp: Likewise.
15078 * gdb.base/dbx.exp: Likewise.
15079 * gdb.base/find.exp: Likewise.
15080 * gdb.base/funcargs.exp: Likewise.
15081 * gdb.base/jit-simple.exp: Likewise.
15082 * gdb.base/reread.exp: Likewise.
15083 * gdb.base/sepdebug.exp: Likewise.
15084 * gdb.base/step-bt.exp: Likewise.
15085 * gdb.cp/mb-inline.exp: Likewise.
15086 * gdb.cp/mb-templates.exp: Likewise.
15087 * gdb.objc/basicclass.exp: Likewise.
15088 * gdb.threads/killed.exp: Likewise.
15089
150902014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15091
15092 PR tdep/17379
15093 * gdb.arch/powerpc-stackless.S: New file.
15094 * gdb.arch/powerpc-stackless.exp: New file.
15095
150962014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15097
15098 * gdb.base/attach.c: Include unistd.h.
15099 (main): Call alarm. Add label postloop.
15100 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15101 gdb_breakpoint, gdb_continue_to_breakpoint.
15102 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15103
151042014-09-11 Pedro Alves <palves@redhat.com>
15105
15106 PR gdb/17347
15107 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15108 * gdb.base/attach.exp (test_command_line_attach_run): New
15109 procedure.
15110 (top level): Call it.
15111
151122014-09-11 Pedro Alves <palves@redhat.com>
15113
15114 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15115 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15116 (do_command_attach_tests): Use spawn_wait_for_attach.
15117 * gdb.base/solib-overlap.exp: Likewise.
15118 * gdb.multi/multi-attach.exp: Likewise.
15119 * gdb.python/py-prompt.exp: Likewise.
15120 * gdb.python/py-sync-interp.exp: Likewise.
15121 * gdb.server/ext-attach.exp: Likewise.
15122
151232014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15124
15125 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15126 command in testcase. Simplify testcase.
15127
151282014-09-10 Joel Brobecker <brobecker@adacore.com>
15129
15130 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15131
151322014-09-10 Joel Brobecker <brobecker@adacore.com>
15133
15134 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15135
151362014-09-10 Joel Brobecker <brobecker@adacore.com>
15137
15138 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15139
151402014-09-10 Joel Brobecker <brobecker@adacore.com>
15141
15142 * gdb.dwarf2/dynarr-ptr.c: New file.
15143 * gdb.dwarf2/dynarr-ptr.exp: New file.
15144
151452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15146
15147 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15148 of 30 rather than hardcoding 120 for a slow test case. Take the
15149 `gdb,timeout' target setting into account for this calculation.
15150 Don't extend the timeout for the test cases that don't need it.
15151
151522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15153
15154 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15155 a factor of 2 for a slow test case. Take the `gdb,timeout'
15156 target setting into account for this calculation.
15157 * gdb.reverse/until-precsave.exp: Increase the timeout by
15158 a factor of 15 and 3 respectively rather than adding 120
15159 for a pair of slow test cases. Take the `gdb,timeout'
15160 target setting into account for this calculation.
15161
151622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15163
15164 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15165 timeout, don't pass one down to gdb_expect.
15166 (gdb_expect): Rework timeout selection.
15167
151682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15169
15170 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15171 exception on timeout.
15172 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15173 (gdbserver_start_extended): Catch any `gdbserver_start' error
15174 exceptions.
15175 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15176 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15177 `gdbserver_gdb_load' error exceptions.
15178
151792014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15180
15181 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15182 120 on waiting for the TCP socket to open.
15183
151842014-09-09 Doug Evans <xdje42@gmail.com>
15185
15186 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15187 _caller_matches, _any_caller_is, _any_caller_matches.
15188
151892014-09-09 Doug Evans <xdje42@gmail.com>
15190
15191 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15192
151932014-09-09 Yao Qi <yao@codesourcery.com>
15194
15195 * gdb.mi/mi-var-display.exp: Set print symbol off.
15196
151972014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15198
15199 PR gdb/17035
15200 * gdb.base/commands.exp: Add tests to verify user-defined
15201 commands with empty bodies.
15202 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15203 python commands in `show user command`.
15204 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15205 scheme commands in `show user command`.
15206
152072014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15208
15209 PR python/17355
15210 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15211 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15212 * gdb.python/py-framefilter-invalidarg.exp: New file.
15213 * gdb.python/py-framefilter-invalidarg.py: New file.
15214
152152014-09-06 Doug Evans <xdje42@gmail.com>
15216
15217 PR 15276
15218 * gdb.python/py-caller-is.c: New file.
15219 * gdb.python/py-caller-is.exp: New file.
15220
152212014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15222
15223 PR gdb/17235
15224 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15225 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15226
152272014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15228
15229 PR fortran/17237
15230 * gdb.fortran/print-formatted.exp: New file.
15231 * gdb.fortran/print-formatted.f90: Likewise.
15232
152332014-09-03 Sasha Smundak <asmundak@google.com>
15234
15235 * gdb.python/py-frame.exp: Test Frame.read_register.
15236
152372014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15238
15239 PR python/16699
15240 * gdb.python/py-completion.exp: New file.
15241 * gdb.python/py-completion.py: Likewise.
15242
152432014-08-28 Doug Evans <dje@google.com>
15244
15245 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15246 eax,etc. are live with values set by gdb and thus the compiler can't
15247 use them.
15248 * gdb.arch/i386-pseudo.c (main): Ditto.
15249
152502014-08-27 Doug Evans <dje@google.com>
15251
15252 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15253
152542014-08-25 Doug Evans <dje@google.com>
15255
15256 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15257 (main): Ditto.
15258
152592014-08-25 Doug Evans <dje@google.com>
15260
15261 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15262
152632014-08-24 Yao Qi <yao@codesourcery.com>
15264
15265 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15266 symbol off.
15267 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15268
152692014-08-22 Doug Evans <dje@google.com>
15270
15271 PR 17276
15272 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15273 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15274 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15275
152762014-08-22 Yao Qi <yao@codesourcery.com>
15277
15278 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15279 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15280 * gdb.python/python.exp: Likewise. Use .py file on the host
15281 instead of the build.
15282
152832014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15284
15285 * gdb.threads/gcore-stale-thread.c: New file.
15286 * gdb.threads/gcore-stale-thread.exp: New file.
15287
152882014-08-21 Pedro Alves <palves@redhat.com>
15289
15290 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15291 * gdb.base/gcore-relro-pie.exp: Likewise.
15292 * gdb.base/gcore-relro.exp: Likewise.
15293 * gdb.base/gcore.exp: Likewise.
15294 * gdb.base/print-symbol-loading.exp: Likewise.
15295 * gdb.threads/gcore-thread.exp: Likewise.
15296 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15297
152982014-08-20 Pedro Alves <palves@redhat.com>
15299 Jan Kratochvil <jan.kratochvil@redhat.com>
15300
15301 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15302 configure.
15303 (EXPECT): Handle READ1 being set.
15304 (all): Depend on EXTRA_RULES.
15305 (check-read1, expect-read1, read1.so, read1): New rules.
15306 * README (Testsuite Parameters): Document the READ1 make variable.
15307 (Race detection): New section.
15308 * configure: Regenerate.
15309 * configure.ac: If build==host==target, and running under a
15310 GNU/glibc system, add read1 to the extra Makefile rules.
15311 (EXTRA_RULES): AC_SUBST it.
15312 * lib/read1.c: New file.
15313
153142014-08-20 Joel Brobecker <brobecker@adacore.com>
15315
15316 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15317 the handling of variables declared as a typedef to an array
15318 which a DW_AT_data_location attribute.
15319
153202014-08-19 Andrew Burgess <aburgess@broadcom.com>
15321 Pedro Alves <palves@redhat.com>
15322
15323 PR symtab/14604
15324 PR symtab/14605
15325 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15326 gdb_test.
15327
153282014-08-19 Pedro Alves <palves@redhat.com>
15329
15330 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15331
153322014-08-19 Yao Qi <yao@codesourcery.com>
15333
15334 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15335 right line.
15336
153372014-08-18 David Blaikie <dblaikie@gmail.com>
15338
15339 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15340
153412014-08-18 Joel Brobecker <brobecker@adacore.com>
15342
15343 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15344 attribute in array range.
15345
153462014-08-18 Joel Brobecker <brobecker@adacore.com>
15347
15348 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15349
153502014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15351
15352 PR c++/17132
15353 * gdb.cp/pr17132.cc: New file.
15354 * gdb.cp/pr17132.exp: New file.
15355
153562014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15357
15358 * gdb.python/py-xmethods.py (A_getarrayind)
15359 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15360 Use 'print' with function call syntax.
15361 (E_method_matcher.match): Fix tab vs space indentation mixup.
15362
153632014-08-15 Yao Qi <yao@codesourcery.com>
15364
15365 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15366 false.
15367
153682014-08-15 Yao Qi <yao@codesourcery.com>
15369
15370 * gdb.cp/casts.exp: Set print symbol off.
15371 * gdb.cp/class2.exp: Likewise.
15372 * gdb.cp/overload.exp: Likewise.
15373 * gdb.cp/templates.exp: Likewise.
15374
153752014-08-11 Doug Evans <dje@google.com>
15376
15377 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15378 (test_load_shlib): Update.
15379
153802014-08-09 Yao Qi <yao@codesourcery.com>
15381
15382 * gdb.base/display.exp: Invoke is_address_zero_readable.
15383 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15384 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15385 * gdb.base/hbreak-unmapped.exp: Return if
15386 is_address_zero_readable returns true.
15387 * gdb.base/signest.exp: Likewise.
15388 * gdb.base/signull.exp: Likewise.
15389 * gdb.base/sigbpt.exp: Likewise.
15390 * gdb.guile/scm-disasm.exp: Do the test if
15391 is_address_zero_readable returns false.
15392 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15393 * gdb.python/py-arch.exp: Likewise.
15394 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15395 * lib/gdb.exp (is_address_zero_readable): New proc.
15396
153972014-08-09 Yao Qi <yao@codesourcery.com>
15398
15399 PR testsuite/13443
15400 * gdb.mi/mi-var-display.exp: Make test messages unique.
15401
154022014-08-04 Tom Tromey <tromey@redhat.com>
15403
15404 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15405 target 0".
15406
154072014-08-04 Tom Tromey <tromey@redhat.com>
15408
15409 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15410 "target_resume".
15411
154122014-08-01 Joel Brobecker <brobecker@adacore.com>
15413
15414 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15415 inner_vla_struct_object_size.
15416 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15417 as xfail.
15418
154192014-07-30 Pedro Alves <palves@redhat.com>
15420
15421 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15422 comment.
15423
154242014-07-29 Yao Qi <yao@codesourcery.com>
15425
15426 PR gdb/17206
15427 * gdb.base/until-nodebug.exp: New.
15428
154292014-07-28 Doug Evans <xdje42@gmail.com>
15430
15431 PR guile/17203
15432 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15433 previously existing parameter, and previously ambiguously spelled
15434 parameter.
15435
154362014-07-28 Will Newton <will.newton@linaro.org>
15437
15438 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15439
154402014-07-26 Ludovic Courtès <ludo@gnu.org>
15441 Doug Evans <xdje42@gmail.com>
15442
15443 PR guile/17146
15444 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15445
154462014-07-25 Pedro Alves <palves@redhat.com>
15447
15448 * gdb.threads/signal-command-handle-nopass.c: New file.
15449 * gdb.threads/signal-command-handle-nopass.exp: New file.
15450 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15451 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15452 * gdb.threads/signal-delivered-right-thread.c: New file.
15453 * gdb.threads/signal-delivered-right-thread.exp: New file.
15454
154552014-07-25 Pedro Alves <palves@redhat.com>
15456
15457 * gdb.base/double-prompt-target-event-error.exp
15458 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15459 match.
15460 (cancel_pagination_in_target_event): Rework double prompt
15461 detection.
15462 * gdb.base/paginate-after-ctrl-c-running.exp
15463 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15464 <return>' match.
15465 * gdb.base/paginate-bg-execution.exp
15466 (test_bg_execution_pagination_return)
15467 (test_bg_execution_pagination_cancel): Remove '-notransfer
15468 <return>' matches.
15469 * gdb.base/paginate-execution-startup.exp
15470 (test_fg_execution_pagination_return)
15471 (test_fg_execution_pagination_cancel): Remove '-notransfer
15472 <return>' matches.
15473 * gdb.base/paginate-inferior-exit.exp
15474 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15475 match.
15476 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15477 * lib/gdb.exp (pagination_prompt): Run text through
15478 string_to_regexp.
15479 (gdb_test_multiple): Match $pagination_prompt instead of
15480 "<return>".
15481 (string_to_regexp): Move to lib/gdb-utils.exp.
15482
154832014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15484
15485 * gdb.arch/amd64-entry-value-paramref.S: New file.
15486 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15487 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15488 * gdb.arch/amd64-optimout-repeat.S: New file.
15489 * gdb.arch/amd64-optimout-repeat.c: New file.
15490 * gdb.arch/amd64-optimout-repeat.exp: New file.
15491
154922014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15493
15494 PR gdb/17170
15495 * gdb.base/statistics.exp: New file.
15496
154972014-07-17 Doug Evans <dje@google.com>
15498
15499 PR gdb/17170
15500 * gdb.base/maint.exp: Update testing of per-command stats.
15501
155022014-07-16 Pedro Alves <palves@redhat.com>
15503
15504 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15505 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15506 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15507 (tfile_write_buf): New functions.
15508 (add_memory_block): Rewrite using the above.
15509 (adjust_function_address): New function.
15510 (FUNCTION_ADDRESS): New macro.
15511 (write_basic_trace_file): Remove short_x local, and use
15512 tfile_write_16. Change type of func_addr local to unsigned long
15513 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15514 here. Cast argument of add_memory_block to char pointer.
15515 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15516 (main): Remove parameters.
15517 * gdb.trace/tfile.exp: Remove nowarnings.
15518
155192014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15520
15521 * gdb.base/debug-expr.exp: Test string evaluation with
15522 "debug expression" on.
15523
155242014-07-15 Pedro Alves <palves@redhat.com>
15525
15526 * gdb.base/reread.exp: Use clean_restart.
15527
155282014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15529
15530 * gdb.arch/avr-flash-qualifer.c: New.
15531 * gdb.arch/avr-flash-qualifer.exp: New.
15532
155332014-07-14 Pedro Alves <palves@redhat.com>
15534
15535 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15536 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15537
155382014-07-14 Pedro Alves <palves@redhat.com>
15539
15540 * gdb.base/double-prompt-target-event-error.c: New file.
15541 * gdb.base/double-prompt-target-event-error.exp: New file.
15542
155432014-07-14 Pedro Alves <palves@redhat.com>
15544
15545 PR gdb/17072
15546 * gdb.base/paginate-inferior-exit.c: New file.
15547 * gdb.base/paginate-inferior-exit.exp: New file.
15548
155492014-07-14 Pedro Alves <palves@redhat.com>
15550
15551 PR gdb/17072
15552 * gdb.base/paginate-bg-execution.c: New file.
15553 * gdb.base/paginate-bg-execution.exp: New file.
15554
155552014-07-14 Pedro Alves <palves@redhat.com>
15556
15557 PR gdb/17072
15558 * gdb.base/paginate-execution-startup.c: New file.
15559 * gdb.base/paginate-execution-startup.exp: New file.
15560 * lib/gdb.exp (pagination_prompt): New global.
15561 (default_gdb_spawn): New procedure, factored out from
15562 default_gdb_spawn.
15563 (default_gdb_start): Adjust to call default_gdb_spawn.
15564 (gdb_spawn): New procedure.
15565
155662014-07-14 Pedro Alves <palves@redhat.com>
15567
15568 * lib/gdb.exp (gdb_assert): New procedure.
15569 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15570
155712014-07-14 Pedro Alves <palves@redhat.com>
15572
15573 * gdb.base/execution-termios.c: New file.
15574 * gdb.base/execution-termios.exp: New file.
15575
155762014-07-14 Tom Tromey <tromey@redhat.com>
15577
15578 * gdb.cp/vla-cxx.cc: New file.
15579 * gdb.cp/vla-cxx.exp: New file.
15580
155812014-07-14 Tom Tromey <tromey@redhat.com>
15582
15583 * gdb.reverse/rerun-prec.c: New file.
15584 * gdb.reverse/rerun-prec.exp: New file.
15585
155862014-07-12 Maciej W. Rozycki <macro@mips.com>
15587 Maciej W. Rozycki <macro@codesourcery.com>
15588
15589 * lib/gdb-utils.exp: New file.
15590 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15591 inline `gdb_init_command' processing.
15592 (gdb_start_cmd): Likewise.
15593 * lib/mi-support.exp (mi_run_cmd): Likewise.
15594 * README: Document `gdb_init_command' and `gdb_init_commands'.
15595
155962014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15597
15598 Fix false FAIL running under a very long directory name.
15599 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15600 and "set print elements 10000". Twice.
15601
156022014-07-11 Yao Qi <yao@codesourcery.com>
15603
15604 * gdb.base/exprs.exp: "set print symbol off".
15605
156062014-07-11 Pedro Alves <palves@redhat.com>
15607
15608 * gdb.threads/kill.c: New file.
15609 * gdb.threads/kill.exp: New file.
15610
156112014-07-10 Yao Qi <yao@codesourcery.com>
15612
15613 * gdb.trace/tfile.c (write_basic_trace_file)
15614 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15615 address written to trace file.
15616
156172014-07-09 Pedro Alves <palves@redhat.com>
15618
15619 * gdb.base/attach-wait-input.exp: New file.
15620 * gdb.base/attach-wait-input.c: New file.
15621
156222014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15623
15624 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15625 setting up test structures.
15626 (main): Call new test function.
15627 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15628 test function, continue into test function and walk test
15629 structures.
15630
156312014-07-02 Yao Qi <yao@codesourcery.com>
15632
15633 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15634 'bar_start' at the beginning of functions 'foo' and 'bar'
15635 respectively.
15636 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15637 instead of 'foo' and 'bar'.
15638
156392014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15640
15641 * gdb.btrace/segv.exp: New.
15642 * gdb.btrace/segv.c: New.
15643
156442014-07-02 Luis Machado <lgustavo@codesourcery.com>
15645
15646 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15647 instruction.
15648
156492014-06-30 Mark Wielaard <mjw@redhat.com>
15650
15651 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15652 vulture, vilify, villar): New volatile array constants.
15653 (vindictive, vegetation): New const volatile array constants.
15654 * gdb.base/volatile.exp: Test volatile and const volatile array
15655 types.
15656
156572014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15658
15659 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15660 target lacks support for awatch, rwatch, or hbreak.
15661
156622014-06-27 Yao Qi <yao@codesourcery.com>
15663
15664 * gdb.multi/dummy-frame-restore.exp: New.
15665 * gdb.multi/dummy-frame-restore.c: New.
15666
156672014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15668
15669 * gdb.btrace/gcore.exp: New.
15670
156712014-06-23 Pedro Alves <palves@redhat.com>
15672
15673 * gdb.base/watchpoint-reuse-slot.c: New file.
15674 * gdb.base/watchpoint-reuse-slot.exp: New file.
15675
156762014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15677
15678 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15679 progspace's filename in 'info', 'enable' and 'disable' command
15680 tests.
15681
156822014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15683
15684 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15685 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15686 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15687
156882014-06-20 Gary Benson <gbenson@redhat.com>
15689
15690 * gdb.arch/i386-avx.exp: Fix include file location.
15691 * gdb.arch/i386-sse.exp: Likewise.
15692
156932014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15694
15695 * gdb.dlang/expression.exp: New file.
15696
156972014-06-19 Pedro Alves <palves@redhat.com>
15698
15699 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15700 out from ...
15701 (top level): ... here. Iterate running tests under different
15702 scheduler-locking settings.
15703
157042014-06-18 Luis Machado <lgustavo@codesourcery.com>
15705
15706 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15707 to DW_FORM_addr and use non-zero addresses.
15708
157092014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15710
15711 PR gdb/17017
15712 * gdb.python/py-xmethods.cc: Add global function call counters and
15713 increment them in their respective functions. Remove "cout"
15714 statements.
15715 * gdb.python/py-xmethods.exp: Make tests check the global function
15716 call counters instead of depending on inferior IO.
15717
157182014-06-18 Don Breazeal <donb@codesourcery.com>
15719
15720 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15721 Deleted procedure.
15722 (explicit_fork_parent_follow): Deleted procedure.
15723 (explicit_fork_child_follow): Deleted procedure.
15724 (test_follow_fork): New procedure.
15725 (do_fork_tests): Replace calls to deleted procedures with
15726 calls to test_follow_fork and reset GDB for subsequent
15727 procedure calls.
15728
157292014-06-17 Yao Qi <yao@codesourcery.com>
15730
15731 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15732 CP1252.
15733
157342014-06-17 Luis Machado <lgustavo@codesourcery.com>
15735
15736 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15737 Initialize ptr and S explicitly.
15738 (skip_type_update_when_not_use_rtti_test): Likewise.
15739
157402014-06-16 Keith Seitz <keiths@redhat.com>
15741
15742 PR mi/15863
15743 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15744 the inferior is started.
15745
157462014-06-16 Pedro Alves <palves@redhat.com>
15747
15748 * gdb.base/break-main-file-remove-fail.c: New file.
15749 * gdb.base/break-main-file-remove-fail.exp: New file.
15750 * gdb.base/break-unload-file.exp: Use build_executable instead of
15751 prepare_for_testing.
15752 (test_break): New parameter "initial_load". Handle it.
15753 (top level): Add initial_load cmdline/file axis.
15754
157552014-06-12 Tom Tromey <tromey@redhat.com>
15756
15757 * gdb.base/completion.exp: Don't use directory name in test.
15758
157592014-06-09 Gary Benson <gbenson@redhat.com>
15760
15761 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15762 separate the always-available ANSI-standard signals from the
15763 signals that require checking.
15764 (main): Likewise.
15765 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15766 Likewise.
15767 (main): Likewise.
15768
157692014-06-07 Keith Seitz <keiths@redhat.com>
15770
15771 Revert:
15772 PR c++/16253
15773 * gdb.cp/var-tag.cc: New file.
15774 * gdb.cp/var-tag.exp: New file.
15775 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15776 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15777 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15778 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15779
157802014-06-06 Doug Evans <xdje42@gmail.com>
15781
15782 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15783
157842014-06-06 Pedro Alves <palves@redhat.com>
15785
15786 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15787 in target debug output instead of looking at RSP packets,
15788 disabling the test on any target that uses hardware stepping.
15789 Update comments.
15790
157912014-06-06 Pedro Alves <palves@redhat.com>
15792
15793 * gdb.base/break-unload-file.exp: Fix typo.
15794
157952014-06-06 Yao Qi <yao@codesourcery.com>
15796
15797 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15798 from "jit_function" to "^jit_function".
15799
158002014-06-06 Yao Qi <yao@codesourcery.com>
15801
15802 * gdb.base/async.c (foo): Add one statement.
15803 * gdb.base/async.exp: Get the next instruction address and
15804 match the output of "nexti" by instruction address. Match
15805 the hex address in the output of "finish".
15806
158072014-06-06 Gary Benson <gbenson@redhat.com>
15808
15809 * gdb.base/call-signals.c: Remove preprocessor conditionals
15810 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15811 SIGSEGV and SIGTERM.
15812 * gdb.base/sigall.c: Likewise.
15813 * gdb.base/unwindonsignal.c: Likewise.
15814 * gdb.reverse/sigall-reverse.c: Likewise.
15815
158162014-06-06 Yao Qi <yao@codesourcery.com>
15817
15818 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15819 readable, skip the test.
15820
158212014-06-06 Yao Qi <yao@codesourcery.com>
15822
15823 * gdb.threads/staticthreads.c (thread_function): Move the line
15824 setting breakpoint on forward.
15825 * gdb.threads/staticthreads.exp: Update comments.
15826
158272014-06-05 Ludovic Courtès <ludo@gnu.org>
15828
15829 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15830 "history-append! type error".
15831
158322014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15833
15834 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15835 erroneous dprintf expected input.
15836
158372014-06-04 Doug Evans <xdje42@gmail.com>
15838
15839 * gdb.guile/scm-generics.exp: Delete.
15840
158412014-06-04 Doug Evans <xdje42@gmail.com>
15842
15843 * gdb.guile/scm-breakpoint.exp: Update.
15844 Add tests for breakpoint registration.
15845
158462014-06-04 Tom Tromey <tromey@redhat.com>
15847
15848 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15849 VLA-in-union.
15850 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15851 inner_vla_struct, vla_union types. Initialize objects of those
15852 types and compute their sizes.
15853
158542014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15855 Hui Zhu <hui@codesourcery.com>
15856
15857 * gdb.base/fileio.exp: Add test for shell not available as well as
15858 available.
15859 * gdb.base/fileio.c (test_system): Check for shell twice.
15860
158612014-06-04 Yao Qi <yao@codesourcery.com>
15862
15863 * gdb.base/auto-connect-native-target.exp: Remove redundant
15864 space from the regexp pattern.
15865
158662014-06-04 Yao Qi <yao@codesourcery.com>
15867
15868 * gdb.base/default.exp: Replace "child" with "native" in
15869 regexp pattern.
15870
158712014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15872
15873 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15874 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15875 * gdb.python/py-xmethods.py: Python script supporting the
15876 new testcase and tests.
15877
158782014-06-03 Joel Brobecker <brobecker@adacore.com>
15879 Pedro Alves <palves@redhat.com>
15880
15881 PR breakpoints/17000
15882 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15883 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15884
158852014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15886
15887 * gdb.base/subst.exp: Add tests to verify partial path matching
15888 output.
15889
158902014-06-03 Pedro Alves <palves@redhat.com>
15891
15892 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15893 target that doesn't use software single-stepping.
15894
158952014-06-03 Pedro Alves <palves@redhat.com>
15896
15897 PR breakpoints/17000
15898 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15899 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15900
159012014-06-02 Doug Evans <xdje42@gmail.com>
15902
15903 * gdb.guile/scm-parameter.exp: New file.
15904
159052014-06-02 Doug Evans <xdje42@gmail.com>
15906
15907 * gdb.guile/scm-cmd.c: New file.
15908 * gdb.guile/scm-cmd.exp: New file.
15909
159102014-06-02 Doug Evans <xdje42@gmail.com>
15911
15912 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15913 pretty-printer lookup.
15914 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15915 (make-pp_s-printer): Call it.
15916 (make-pretty-printer-from-dict): New function.
15917 (lookup-pretty-printer-maker-from-dict): New function.
15918 (*pretty-printer*): Simplify.
15919 (make-objfile-pp_s-printer): New function.
15920 (install-objfile-pretty-printers!): New function.
15921 (make-progspace-pp_s-printer): New function.
15922 (install-progspace-pretty-printers!): New function.
15923 * gdb.guile/scm-progspace.c: New file.
15924 * gdb.guile/scm-progspace.exp: New file.
15925
159262014-06-02 Pedro Alves <palves@redhat.com>
15927
15928 * gdb.base/dprintf-bp-same-addr.c: New file.
15929 * gdb.base/dprintf-bp-same-addr.exp: New file.
15930
159312014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15932
15933 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15934 * gdb.arch/powerpc-power.s: Likewise.
15935
159362014-06-02 Joel Brobecker <brobecker@adacore.com>
15937
15938 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15939
159402014-06-01 Yao Qi <yao@codesourcery.com>
15941
15942 * gdb.base/watchpoint.exp (test_watch_location): Check null
15943 pointer can be dereferenced. If not, do the test, otherwise
15944 skip it.
15945
159462014-05-30 Andrew Burgess <aburgess@broadcom.com>
15947
15948 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15949 results.
15950 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15951
159522014-05-30 Andrew Burgess <aburgess@broadcom.com>
15953
15954 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15955 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15956 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15957 * gdb.arch/amd64-invalid-stack-top.c: New file.
15958 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15959
159602014-05-30 Pedro Alves <palves@redhat.com>
15961
15962 PR breakpoints/17000
15963 * gdb.base/sss-bp-on-user-bp.c: New file.
15964 * gdb.base/sss-bp-on-user-bp.exp: New file.
15965
159662014-05-30 David Blaikie <dblaikie@gmail.com>
15967
15968 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15969 gnu_inline semantics via attribute.
15970 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15971 source explicitly specifies the required semantics.
15972
159732014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15974
15975 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15976
159772014-05-29 Pedro Alves <palves@redhat.com>
15978 Tom Tromey <tromey@redhat.com>
15979
15980 * gdb.base/async-shell.exp: Don't enable target-async.
15981 * gdb.base/async.exp
15982 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15983 parameter. Adjust.
15984 (top level): Don't test with "target-async".
15985 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15986 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15987 * gdb.base/inferior-died.exp: Don't enable target-async.
15988 * gdb.base/interrupt-noterm.exp: Likewise.
15989 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15990 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15991 * gdb.mi/mi-nonstop.exp: Likewise.
15992 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15993 * gdb.mi/mi-nsintrall.exp: Likewise.
15994 * gdb.mi/mi-nsmoribund.exp: Likewise.
15995 * gdb.mi/mi-nsthrexec.exp: Likewise.
15996 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15997 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15998 * gdb.python/py-evsignal.exp: Don't enable target-async.
15999 * gdb.python/py-evthreads.exp: Likewise.
16000 * gdb.python/py-prompt.exp: Likewise.
16001 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16002 * gdb.server/solib-list.exp: Don't enable target-async.
16003 * gdb.threads/thread-specific-bp.exp: Likewise.
16004 * lib/mi-support.exp: Adjust to use mi-async.
16005
160062014-05-29 Pedro Alves <palves@redhat.com>
16007
16008 PR gdb/13860
16009 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16010 reason, even in sync mode.
16011
160122014-05-29 Pedro Alves <palves@redhat.com>
16013 Hui Zhu <hui@codesourcery.com>
16014
16015 PR PR15693
16016 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16017 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16018 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16019 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16020
160212014-05-28 Joel Brobecker <brobecker@adacore.com>
16022
16023 * config/monitor.exp (gdb_target_monitor): Replace use of
16024 "set remotebaud" by "set serial baud".
16025
160262014-05-26 Andy Wingo <wingo@igalia.com>
16027
16028 * gdb.guile/scm-breakpoint.exp:
16029 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16030 properties instead of gdb-object-properties.
16031
160322014-05-26 Yao Qi <yao@codesourcery.com>
16033
16034 * gdb.server/no-thread-db.exp: Specify source file name
16035 explicitly when setting a breakpoint.
16036
160372014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16038
16039 * gdb.btrace/vdso.c: New.
16040 * gdb.btrace/vdso.exp: New.
16041
160422014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16043
16044 * gdb.base/gcore.exp (capture_command_output): Move ...
16045 * lib/gdb.exp (capture_command_output): ... here.
16046
160472014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16048
16049 * gdb.btrace/data.exp: Test memory access during btrace replay.
16050
160512014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16052
16053 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16054
160552014-05-21 Pedro Alves <palves@redhat.com>
16056
16057 PR gdb/13860
16058 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16059 (top level): Test that output related to execution commands is
16060 sent to the console with CLI commands, but not with MI commands.
16061 Test that breakpoint events are always mirrored to the console.
16062 Also expect the new source line to be output after a "next" in
16063 async mode too. Make it a pass/fail test.
16064 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16065 output.
16066 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16067
160682014-05-21 Pedro Alves <palves@redhat.com>
16069
16070 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16071 Use them to test variations of "list" after reaching a breakpoint.
16072 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16073 Test "list" with listsize 10 after reaching a breakpoint.
16074 * gdb.python/python.exp (decode_line current location line
16075 number): Adjust expected line number.
16076
160772014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16078
16079 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16080 behavior for $args, pass it directly to "run".
16081
160822014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16083
16084 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16085 30000 to 65536.
16086
160872014-05-21 Pedro Alves <palves@redhat.com>
16088
16089 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16090 auto-connect-native-target off".
16091 * gdb.base/auto-connect-native-target.c: New file.
16092 * gdb.base/auto-connect-native-target.exp: New file.
16093
160942014-05-21 Pedro Alves <palves@redhat.com>
16095
16096 * gdb.base/default.exp: Test "target native" instead of "target
16097 child".
16098
160992014-05-21 Mark Wielaard <mjw@redhat.com>
16100
16101 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16102
161032014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16104
16105 Fix TLS access for -static -pthread.
16106 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16107 <HAVE_TLS> (thread_function, main): Initialize it.
16108 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16109 Add clean_restart.
16110 <$have_tls != "">: Check TLSVAR.
16111
161122014-05-21 Pedro Alves <palves@redhat.com>
16113
16114 * gdb.base/dcache-line-read-error.c: New.
16115 * gdb.base/dcache-line-read-error.exp: New.
16116
161172014-05-20 Pedro Alves <palves@redhat.com>
16118
16119 * gdb.base/compare-sections.c: New file.
16120 * gdb.base/compare-sections.exp: New file.
16121
161222014-05-20 Pedro Alves <palves@redhat.com>
16123
16124 * gdb.base/break-idempotent.c: New file.
16125 * gdb.base/break-idempotent.exp: New file.
16126
161272014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16128
16129 * gdb.btrace/nohist.exp: New.
16130
161312014-05-20 Yao Qi <yao@codesourcery.com>
16132
16133 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16134 gdb.reverse directory and gdb_reverse_timeout exists in board
16135 setting.
16136 * README: Document gdb_reverse_timeout.
16137
161382014-05-20 Yao Qi <yao@codesourcery.com>
16139
16140 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16141 'test_file_name'. Treat args as a string instead of a list.
16142 (gdb_init): Rename argument 'args' by 'test_file_name'.
16143
161442014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16145
16146 * gdb.arch/powerpc-power.exp: New file.
16147 * gdb.arch/powerpc-power.s: New file.
16148
161492014-05-16 Doug Evans <dje@google.com>
16150
16151 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16152 * gdb.base/completion.exp: Check that all expected files exist
16153 before doing file completion.
16154
161552014-05-16 Doug Evans <dje@google.com>
16156
16157 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16158 Update.
16159 (do_syscall_tests_without_xml): Update.
16160
161612014-05-16 Pedro Alves <palves@redhat.com>
16162
16163 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16164 instead of "unknown output after running".
16165
161662014-05-16 Yao Qi <yao@codesourcery.com>
16167
16168 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16169 file1.txt from host at the end.
16170 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16171
161722014-05-15 Doug Evans <dje@google.com>
16173
16174 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16175 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16176 loading file. Add test for TU lookup.
16177
161782014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16179
16180 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16181 calling "-exec-arguments" or "set args" before running the
16182 inferior.
16183
161842014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16185
16186 * lib/mi-support.exp (mi_expect_stop): Expect message for
16187 inferiors that exit with non-zero exit code.
16188
161892014-05-14 Yao Qi <yao@codesourcery.com>
16190
16191 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16192 match absolute path on remote host.
16193 (test_file_list_exec_source_files): Remove "/" from the
16194 pattern.
16195
161962014-05-14 Yao Qi <yao@codesourcery.com>
16197
16198 * boards/local-remote-host-notty.exp (${board}_file): New
16199 proc.
16200
162012014-05-07 Kyle McMartin <kyle@redhat.com>
16202
16203 Pushed by Joel Brobecker <brobecker@adacore.com>.
16204 * gdb.arch/aarch64-atomic-inst.c: New file.
16205 * gdb.arch/aarch64-atomic-inst.exp: New file.
16206
162072014-05-07 Yao Qi <yao@codesourcery.com>
16208
16209 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16210 in current context" too.
16211
162122014-05-05 Keith Seitz <keiths@redhat.com>
16213
16214 * gdb.linespec/ls-dollar.exp: Add test for linespec
16215 file:convenience_variable.
16216
162172014-05-05 Yao Qi <yao@codesourcery.com>
16218
16219 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16220 traceframes into tfile and ctf trace files. Read data from
16221 trace file and test collected data.
16222 (gdb_collect_locals_test): Likewise.
16223 (gdb_unavailable_registers_test): Likewise.
16224 (gdb_unavailable_floats): Likewise.
16225 (gdb_collect_globals_test): Likewise.
16226 (top-level): Append "ctf" to trace_file_targets if GDB
16227 supports.
16228
162292014-05-05 Yao Qi <yao@codesourcery.com>
16230
16231 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16232 code to ...
16233 (gdb_collect_args_test_1): ... it. New proc.
16234 (gdb_collect_locals_test): Move some code to ...
16235 (gdb_collect_locals_test_1): ... it. New proc.
16236 (gdb_unavailable_registers_test): Move some code to ...
16237 (gdb_unavailable_registers_test_1): ... it. New proc.
16238 (gdb_unavailable_floats): Move some code to ...
16239 (gdb_unavailable_floats_1): ... it. New proc.
16240
162412014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16242
16243 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16244 probes to test for bitness recognition.
16245 * gdb.arch/amd64-stap-optional-prefix.exp
16246 (test_probe_value_without_reg): New procedure.
16247 Add code to test for different kinds of bitness.
16248
162492014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16250
16251 PR breakpoints/16889
16252 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16253 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16254
162552014-05-01 Pedro Alves <palves@redhat.com>
16256
16257 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16258 gdb_file_cmd if no file is specified.
16259 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16260 last_loaded_file to set the remote exec-file.
16261
162622014-05-01 Pedro Alves <palves@redhat.com>
16263
16264 * boards/local-remote-host.exp: New file.
16265
162662014-05-01 Pedro Alves <palves@redhat.com>
16267
16268 * boards/local-remote-host.exp: Rename to ...
16269 * boards/local-remote-host-notty.exp: ... this.
16270
162712014-04-28 Joel Brobecker <brobecker@adacore.com>
16272
16273 * gdb.ada/dyn_arrayidx: New testcase.
16274
162752014-04-26 Yao Qi <yao@codesourcery.com>
16276
16277 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16278 and compute the length of function main. Save it in
16279 $main_length.
16280 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16281 (top-level): Use gdb_compile to compile objects into
16282 executable and restart GDB. Remove invocation to
16283 prepare_for_testing.
16284
162852014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16286 Pedro Alves <palves@redhat.com>
16287
16288 PR server/16255
16289 * gdb.multi/multi-attach.c: New file.
16290 * gdb.multi/multi-attach.exp: New file.
16291
162922014-04-25 Pedro Alves <palves@redhat.com>
16293
16294 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16295 user.
16296 (top level): Test that "set remote conditional-breakpoints-packet
16297 off" works as intended.
16298 * gdb.base/dprintf.exp: Test that "set remote
16299 breakpoint-commands-packet off" works as intended.
16300 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16301 New function.
16302 (top level): Call it.
16303 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16304 remote fast-tracepoints-packet off" works as intended.
16305 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16306 * lib/gdb.exp (gdb_is_target_remote): ... here.
16307
163082014-04-24 David Blaikie <dblaikie@gmail.com>
16309
16310 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16311 ensure clang would not discard them.
16312 * gdb.base/gdbvars.c: Ditto.
16313 * gdb.base/memattr.c: Ditto.
16314 * gdb.base/whatis.c: Ditto.
16315 * gdb.python/py-prettyprint.c: Ditto.
16316 * gdb.trace/actions.c: Ditto.
16317 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16318 ensure clang would not discard it.
16319
163202014-04-24 David Blaikie <dblaikie@gmail.com>
16321
16322 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16323 clang to emit the full definition of type required by the test
16324 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16325
163262014-04-24 David Blaikie <dblaikie@gmail.com>
16327
16328 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16329 coax Clang into emitting the definition of the type.
16330 * gdb.cp/pr10728-x.h (y): Ditto.
16331 * gdb.cp/pr10728-y.cc (y): Ditto.
16332
163332014-04-24 David Blaikie <dblaikie@gmail.com>
16334
16335 * gdb.base/label.exp: XFAIL label related tests under Clang.
16336 * gdb.cp/cplabel.exp: Ditto.
16337 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16338 under Clang those using labels.
16339
163402014-04-25 Yao Qi <yao@codesourcery.com>
16341
16342 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16343 double_label.
16344 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16345 partial_label and double_label.
16346
163472014-04-24 David Blaikie <dblaikie@gmail.com>
16348
16349 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16350
163512014-04-24 David Blaikie <dblaikie@gmail.com>
16352
16353 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16354 of the function to work across GCC and Clang.
16355 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16356 pointer types (const void ** const V void **).
16357
163582014-04-24 Michael Sturm <michael.sturm@mintel.com>
16359 Walfred Tedeschi <walfred.tedeschi@intel.com>
16360
16361 * Makefile.in (EXECUTABLES): Added i386-avx512.
16362 * gdb.arch/i386-avx512.c: New file.
16363 * gdb.arch/i386-avx512.exp: Likewise.
16364
163652014-04-23 Keith Seitz <keiths@redhat.com>
16366
16367 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16368 (mi_make_breakpoint_table): New procedure.
16369 (mi_create_breakpoint): Use mi_make_breakpoint
16370 and return the result.
16371 (mi_make_breakpoint): New procedure.
16372 (mi_build_kv_pairs): New procedure.
16373
16374 * gdb.mi/mi-break.exp: Remove unused globals,
16375 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16376 All callers updated.
16377 * gdb.mi/mi-dprintf.exp: Use variable to track command
16378 number.
16379 Update all callers of mi_create_breakpoint and use
16380 mi_make_breakpoint_table.
16381 Remove any unused global variables.
16382 * gdb.mi/mi-nonstop.exp: Likewise.
16383 * gdb.mi/mi-nsintrall.exp: Likewise.
16384 * gdb.mi/mi-nsmoribund.exp: Likewise.
16385 * gdb.mi/mi-nsthrexec.exp: Likewise.
16386 * gdb.mi/mi-reverse.exp: Likewise.
16387 * gdb.mi/mi-simplerun.exp: Likewise.
16388 * gdb.mi/mi-stepn.exp: Likewise.
16389 * gdb.mi/mi-syn-frame.exp: Likewise.
16390 * gdb.mi/mi-until.exp: Likewise.
16391 * gdb.mi/mi-var-cp.exp: Likewise.
16392 * gdb.mi/mi-var-display.exp: Likewise.
16393 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16394 * gdb.mi/mi2-var-child.exp: Likewise.
16395 * gdb.mi/mi-vla-c99.exp: Likewise.
16396 * lib/mi-support.exp: Likewise.
16397
16398 From Ian Lance Taylor <iant@cygnus.com>:
16399 * lib/gdb.exp (parse_args): New procedure.
16400
164012014-04-23 Pedro Alves <palves@redhat.com>
16402
16403 * gdb.base/break-unload-file.c: New file.
16404 * gdb.base/break-unload-file.exp: New file.
16405 * gdb.base/sym-file-lib.c (baz): New function.
16406 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16407 field.
16408 (load): Store the segment's mapped size.
16409 (unload): New function.
16410 (unload_shlib): New function.
16411 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16412 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16413 set a breakpoint at baz, and call it.
16414 * gdb.base/sym-file.exp: New tests for stale breakpoint
16415 instructions.
16416
164172014-04-23 Pedro Alves <palves@redhat.com>
16418
16419 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16420 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16421 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16422 * gdb.base/hbreak-unmapped.c: New file.
16423 * gdb.base/hbreak-unmapped.exp: New file.
16424 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16425 * lib/gdb.exp (gdb_is_target_remote): ... here.
16426
164272014-04-22 Pedro Alves <palves@redhat.com>
16428
16429 * gdb.base/consecutive-step-over.c: New file.
16430 * gdb.base/consecutive-step-over.exp: New file.
16431
164322014-04-22 Pedro Alves <palves@redhat.com>
16433
16434 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16435 instead of send_gdb/gdb_expect.
16436
164372014-04-22 Yao Qi <yao@codesourcery.com>
16438
16439 * lib/trace-support.exp (generate_tracefile): New procedure.
16440 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16441 return 0.
16442 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16443 if generate_tracefile returns 1.
16444
164452014-04-18 Tom Tromey <palves@redhat.com>
16446 Pedro alves <tromey@redhat.com>
16447
16448 PR backtrace/15558
16449 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16450 with a backtrace limit.
16451 * gdb.python/py-frame-inline.exp: Test running to an inline
16452 function with a backtrace limit, and printing the newest frame.
16453 * gdb.python/py-frame-inline.c (main): Call f.
16454
164552014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16456
16457 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16458
164592014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16460
16461 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16462 Drop prefix from unsupported source file path.
16463
164642014-04-17 Yao Qi <yao@codesourcery.com>
16465
16466 * lib/gdb.exp (with_target_charset): New proc.
16467 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16468 with_target_charset.
16469 (test_print_strings): Likewise.
16470 (test_repeat_bytes): Likewise.
16471 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16472 for some tests.
16473
164742014-04-16 Keith Seitz <keiths@redhat.com>
16475
16476 PR gdb/15827
16477 * gdb.dwarf2/corrupt.c: New file.
16478 * gdb.dwarf2/corrupt.exp: New file.
16479
164802014-04-16 Keith Seitz <keiths@redhat.com>
16481
16482 PR c++/16597
16483 * gdb.cp/namelessclass.cc: New file.
16484 * gdb.cp/namelessclass.exp: New file.
16485 * gdb.cp/namelessclass.S: New file.
16486
164872014-04-16 Doug Evans <dje@google.com>
16488
16489 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16490 Add comment.
16491 (gdbserver_default_get_comm_port): New function.
16492 (gdbserver_start): Check if board file provided
16493 "gdbserver,get_comm_port" and use it if so.
16494 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16495 (gdb,socketport): Set to "stdio".
16496 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16497 (stdio_gdbserver_template): Delete.
16498 (${board}_get_remote_address): Update.
16499 (${board}_build_remote_cmd): Delete.
16500 (${board}_get_comm_port): New function.
16501 (${board}_spawn): Update.
16502 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16503 Delete.
16504 (${board}_get_remote_address): Update.
16505 (${board}_get_comm_port): New function.
16506
165072014-04-16 Andrew Burgess <aburgess@broadcom.com>
16508
16509 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16510 appearing in any order.
16511
165122014-04-15 Doug Evans <dje@google.com>
16513
16514 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16515 uninitialized value of "description".
16516
165172014-04-15 Keith Seitz <keiths@redhat.com>
16518
16519 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16520 Remove unused globals.
16521 (test_running_the_program): Likewise.
16522 (test_controlled_execution): Likewise.
16523 (test_controlling_breakpoints): Likewise.
16524 (test_program_termination): Likewise.
16525
165262014-04-15 Keith Seitz <keiths@redhat.com>
16527
16528 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16529 unused globals.
16530 (test_rbreak_creation_and_listing): Likewise.
16531 (test_ignore_count): Likewise.
16532 (test_error): Likewise.
16533
165342014-04-15 Pedro Alves <palves@redhat.com>
16535
16536 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16537 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16538 sym-file-loader.c.
16539 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16540 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16541 to sym-file-loader.c.
16542 (struct library): Forward declare.
16543 (load_shlib, lookup_function): Change prototypes.
16544 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16545 (translate_offset): Remove declarations.
16546 (get_text_addr): New declaration.
16547 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16548 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16549 sym-file-loader.h.
16550 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16551 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16552 here from sym-file-loader.h.
16553 (struct library): New structure.
16554 (load_shlib, lookup_function): Change prototypes and adjust to
16555 work with a struct library.
16556 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16557 (translate_offset): Make static.
16558 (get_text_addr): New function.
16559 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16560
165612014-04-15 Pedro Alves <palves@redhat.com>
16562
16563 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16564
165652014-04-15 Pedro Alves <palves@redhat.com>
16566
16567 * gdb.base/sym-file-loader.c: Include <limits.h>.
16568 (SELF_LINK): New define.
16569 (get_origin): New function.
16570 (load_shlib): Use it.
16571 * gdb.base/sym-file.exp: Don't early return if the target is
16572 remote. Use runto_main, and issue fail is that fails. Use
16573 gdb_load_shlibs.
16574 (shlib_name): Delete.
16575 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16576
165772014-04-15 Pedro Alves <palves@redhat.com>
16578
16579 * gdb.base/sym-file.exp: Remove regex characters from test
16580 message. Don't refer to breakpoint numbers in test messages.
16581
165822014-04-14 Keith Seitz <keiths@redhat.com>
16583
16584 PR c++/16253
16585 * gdb.cp/var-tag.cc: New file.
16586 * gdb.cp/var-tag.exp: New file.
16587 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16588 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16589 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16590 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16591
165922014-04-14 Tom Tromey <tromey@redhat.com>
16593
16594 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16595 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16596 type.
16597 * gdb.cp/enum-class.exp: New file.
16598 * gdb.cp/enum-class.cc: New file.
16599
166002014-04-14 Tom Tromey <tromey@redhat.com>
16601
16602 * gdb.dwarf2/enum-type.exp: New file.
16603
166042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16605
16606 * gdb.mi/mi-vla-c99.exp: New file.
16607 * gdb.mi/vla.c: New file.
16608
166092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16610
16611 * gdb.base/vla-datatypes.c: New file.
16612 * gdb.base/vla-datatypes.exp: New file.
16613
166142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16615
16616 * gdb.base/vla-ptr.c: New file.
16617 * gdb.base/vla-ptr.exp: New file.
16618
166192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16620
16621 * gdb.dwarf2/count.exp: New file.
16622
166232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16624
16625 * gdb.base/vla-sideeffect.c: New file.
16626 * gdb.base/vla-sideeffect.exp: New file.
16627
166282014-04-14 David Blaikie <dblaikie@gmail.com>
16629
16630 * gdb.mi/non-stop.c: Add return value for non-void function return
16631 statement.
16632 * gdb.threads/staticthreads.c: Ditto.
16633
166342014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16635 Doug Evans <xdje42@gmail.com>
16636
16637 * gdb.guile/scm-value.c: Improve test case.
16638 * gdb.guile/scm-value.exp: Add new test.
16639
166402014-04-11 David Blaikie <dblaikie@gmail.com>
16641
16642 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16643 override Clang's default.
16644
166452014-04-11 Joel Brobecker <brobecker@adacore.com>
16646
16647 Revert the following changes (regressions):
16648
16649 * gdb.base/vla-sideeffect.c: New file.
16650 * gdb.base/vla-sideeffect.exp: New file.
16651
16652 * gdb.dwarf2/count.exp: New file.
16653
16654 * gdb.base/vla-multi.c: New file.
16655 * gdb.base/vla-multi.exp: New file.
16656
16657 * gdb.base/vla-ptr.c: New file.
16658 * gdb.base/vla-ptr.exp: New file.
16659
16660 * gdb.base/vla-datatypes.c: New file.
16661 * gdb.base/vla-datatypes.exp: New file.
16662
16663 * gdb.mi/mi-vla-c99.exp: New file.
16664 * gdb.mi/vla.c: New file.
16665
166662014-04-11 Keith Seitz <keiths@redhat.com>
16667
16668 PR c++/16675
16669 * gdb.cp/cpsizeof.exp: New file.
16670 * gdb.cp/cpsizeof.cc: New file.
16671
166722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16673
16674 * gdb.mi/mi-vla-c99.exp: New file.
16675 * gdb.mi/vla.c: New file.
16676
166772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16678
16679 * gdb.base/vla-datatypes.c: New file.
16680 * gdb.base/vla-datatypes.exp: New file.
16681
166822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16683
16684 * gdb.base/vla-ptr.c: New file.
16685 * gdb.base/vla-ptr.exp: New file.
16686
166872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16688
16689 * gdb.base/vla-multi.c: New file.
16690 * gdb.base/vla-multi.exp: New file.
16691
166922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16693
16694 * gdb.dwarf2/count.exp: New file.
16695
166962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16697
16698 * gdb.base/vla-sideeffect.c: New file.
16699 * gdb.base/vla-sideeffect.exp: New file.
16700
167012014-04-11 Yao Qi <yao@codesourcery.com>
16702
16703 * gdb.base/completion.exp: Check file exists before running tests
16704 on file completion.
16705
167062014-04-10 Pedro Alves <palves@redhat.com>
16707
16708 * gdb.base/cond-eval-mode.c: New file.
16709 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16710 prepare_for_testing to build the new file. Check result of
16711 runto_main.
16712 (test_break, test_watch): New procedures.
16713 (top level): Use them.
16714
167152014-04-08 Pierre Muller <muller@sourceware.org>
16716
16717 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16718 Ctrl-V use for mingw hosts.
16719
167202014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16721
16722 * gdb.python/py-value.c: Improve test case.
16723 * gdb.python/py-value.exp: Add new test.
16724
167252014-04-07 David Blaikie <dblaikie@gmail.com>
16726
16727 * lib/compiler.c: Identify the clang compiler.
16728 * lib/compiler.cc: Ditto.
16729
167302014-04-03 Yao Qi <yao@codesourcery.com>
16731
16732 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16733
167342014-04-01 Anton Blanchard <anton@samba.org>
16735
16736 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16737 messages unique.
16738
167392014-04-01 Anton Blanchard <anton@samba.org>
16740
16741 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16742 prepare_for_testing.
16743
167442014-04-01 Anton Blanchard <anton@samba.org>
16745
16746 * gdb.arch/ppc64-atomic-inst.c: Remove.
16747 * gdb.arch/ppc64-atomic-inst.S: New file.
16748 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16749
167502014-03-31 Doug Evans <dje@google.com>
16751
16752 * gdb.base/print-symbol-loading-lib.c: New file.
16753 * gdb.base/print-symbol-loading-main.c: New file.
16754 * gdb.base/print-symbol-loading.exp: New file.
16755
167562014-03-31 Yao Qi <yao@codesourcery.com>
16757
16758 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16759
167602014-03-28 Joel Brobecker <brobecker@adacore.com>
16761
16762 * gdb.ada/mi_dyn_arr: New testcase.
16763
167642014-03-27 Doug Evans <dje@google.com>
16765
16766 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16767
167682014-03-27 Yao Qi <yao@codesourcery.com>
16769
16770 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16771 if target is nios2-*-*.
16772
167732014-03-26 Yao Qi <yao@codesourcery.com>
16774
16775 * lib/gdb.exp (readline_is_used): New proc.
16776 * gdb.base/completion.exp: Move tests on command complete up.
16777 Skip the rest of tests if readline is not used.
16778 * gdb.ada/complete.exp: Skp the test if readline is not
16779 used.
16780 * gdb.base/filesym.exp: Likewise.
16781 * gdb.base/macscp.exp: Likewise.
16782 * gdb.base/readline-ask.exp: Likewise.
16783 * gdb.base/readline.exp: Likewise.
16784 * gdb.python/py-cmd.exp: Likewise.
16785 * gdb.trace/tfile.exp: Likewise.
16786
167872014-03-26 Yao Qi <yao@codesourcery.com>
16788
16789 * gdb.base/macscp.exp: Fix code format issues.
16790
167912014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16792
16793 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16794 * gdb.asm/powerpc64le.inc: New file.
16795
167962014-03-25 Pedro Alves <palves@redhat.com>
16797 Doug Evans <dje@google.com>
16798
16799 * gdb.base/source-execution.c: New file.
16800 * gdb.base/source-execution.exp: New file.
16801 * gdb.base/source-execution.gdb: New file.
16802
168032014-03-24 Doug Evans <dje@google.com>
16804
16805 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16806 using fission.
16807
168082014-03-24 Hui Zhu <hui@codesourcery.com>
16809 Pedro Alves <palves@redhat.com>
16810
16811 PR breakpoints/16101
16812 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16813 test pass/fail messages. Detect missing support for dprintf when
16814 breakpoints are actually inserted.
16815 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16816 breakpoints are actually inserted.
16817 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16818 fails.
16819
168202014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16821
16822 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16823
168242014-03-22 Doug Evans <xdje42@gmail.com>
16825
16826 * gdb.python/python.exp (python not supported): Verify multi-line
16827 python command issues an error.
16828 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16829 guile command issues an error.
16830
168312014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16832
16833 * gdb.threads/thread-specific.exp: Handle the lack of usable
16834 $this_breakpoint and $this_thread.
16835
168362014-03-21 Hui Zhu <hui@codesourcery.com>
16837
16838 * gdb.base/attach.exp (do_command_attach_tests): New.
16839
168402014-03-20 Tom Tromey <tromey@redhat.com>
16841 Pedro Alves <palves@redhat.com>
16842
16843 PR cli/15718
16844 * gdb.base/condbreak-call-false.c: New file.
16845 * gdb.base/condbreak-call-false.exp: New file.
16846
168472014-03-20 Pedro Alves <palves@redhat.com>
16848
16849 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16850 Delete.
16851 (block_signals, unblock_signals): Delete.
16852 (child_function_2, main): Remove references to deleted variable
16853 and functions.
16854
168552014-03-20 Pedro Alves <palves@redhat.com>
16856
16857 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16858 Use pthread_kill to signal thread 2.
16859 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16860 Adjust to make the test send itself a signal rather than using the
16861 host's "kill" command.
16862
168632014-03-20 Pedro Alves <palves@redhat.com>
16864
16865 * gdb.threads/multiple-step-overs.c: New file.
16866 * gdb.threads/multiple-step-overs.exp: New file.
16867 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16868 Adjust expected infrun debug output.
16869
168702014-03-20 Pedro Alves <palves@redhat.com>
16871
16872 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16873 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16874
168752014-03-20 Pedro Alves <palves@redhat.com>
16876
16877 PR breakpoints/7143
16878 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16879 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16880 of gdb_test_multiple.
16881 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16882 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16883
168842014-03-20 Pedro Alves <palves@redhat.com>
16885
16886 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16887 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16888
168892014-03-19 Pedro Alves <palves@redhat.com>
16890
16891 * gdb.base/async.exp: Remove early return.
16892
168932014-03-19 Pedro Alves <palves@redhat.com>
16894
16895 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16896
168972014-03-19 Pedro Alves <palves@redhat.com>
16898
16899 * gdb.base/async.exp (test_background): Expect \r\n after
16900 "completed." in the fail pattern.
16901
169022014-03-19 Pedro Alves <palves@redhat.com>
16903
16904 * gdb.base/async.exp (test_background): New procedure.
16905 Use it for all background execution command tests.
16906
169072014-03-19 Pedro Alves <palves@redhat.com>
16908
16909 * gdb.base/async.exp: Use prepare_for_testing.
16910
169112014-03-19 Pedro Alves <palves@redhat.com>
16912
16913 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16914 the same line.
16915
169162014-03-19 Pedro Alves <palves@redhat.com>
16917
16918 * gdb.base/async.c (main): Add "jump here" and "until here" line
16919 marker comments.
16920 * gdb.base/async.exp (jump_here): New global.
16921 (jump& test): Use it.
16922 (until_here): New global.
16923 (until& test): Use it.
16924
169252014-03-19 Pedro Alves <palves@redhat.com>
16926
16927 * gdb.base/async.exp: Don't frob gdb_protocol.
16928
169292014-03-18 Doug Evans <xdje42@gmail.com>
16930
16931 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16932 Fix spelling of exec-done-display.
16933
169342014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16935
16936 PR gdb/15358
16937 * gdb.base/gdb-sigterm.c: New file.
16938 * gdb.base/gdb-sigterm.exp: New file.
16939
169402014-03-18 Pedro Alves <palves@redhat.com>
16941
16942 PR gdb/13860
16943 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16944 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16945 solib-event.
16946
169472014-03-17 Joel Brobecker <brobecker@adacore.com>
16948
16949 * gdb.ada/pckd_arr_ren: New testcase.
16950
169512014-03-13 Doug Evans <xdje42@gmail.com>
16952
16953 PR guile/16612
16954 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16955 collect after discarding symbols.
16956
169572014-03-13 Ludovic Courtès <ludo@gnu.org>
16958 Doug Evans <xdje42@gmail.com>
16959
16960 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16961 to history survives a gc.
16962
169632014-03-13 Pedro Alves <palves@redhat.com>
16964
16965 * gdb.base/default.exp: Don't test "target procfs".
16966
169672014-03-13 Pedro Alves <palves@redhat.com>
16968
16969 * gdb.base/default.exp: Update "target child" and "target procfs"
16970 tests to not expect "Unix".
16971
169722014-03-12 Tom Tromey <tromey@redhat.com>
16973
16974 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16975 New procs. Add target-async tests.
16976 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16977 Add target-async tests.
16978
169792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16980
16981 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16982 'func_start' and 'func_end' for the beginning and end of the
16983 function code, respectively.
16984 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16985 'func_end' instead of 'func' and 'main'.
16986
169872014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16988
16989 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16990 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16991 generate the debug info assembler source.
16992
169932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16994
16995 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16996 * gdb.dwarf2/arr-subrange.exp: Likewise.
16997 * gdb.dwarf2/dwz.exp: Likewise.
16998 * gdb.dwarf2/method-ptr.exp: Likewise.
16999 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17000 * gdb.dwarf2/subrange.exp: Likewise.
17001 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17002 * gdb.dwarf2/implptrpiece.exp: Likewise.
17003 * gdb.dwarf2/nostaticblock.exp: Likewise.
17004
170052014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17006
17007 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17008 directory to absolute path name arguments.
17009
170102014-03-10 Joel Brobecker <brobecker@adacore.com>
17011
17012 * gdb.ada/tagged_access: New testcase.
17013
170142014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17015
17016 * gdb.btrace/data.exp: Update expected output.
17017
170182014-03-06 Yao Qi <yao@codesourcery.com>
17019
17020 * gdb.trace/pr16508.exp: New file.
17021
170222014-03-05 Pedro Alves <palves@redhat.com>
17023
17024 PR gdb/16575
17025 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17026 procedure.
17027 (top level): Adjust to use it. Add tests that exercise breakpoint
17028 interaction with the code-cache.
17029
170302014-02-26 Ludovic Courtès <ludo@gnu.org>
17031
17032 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17033 test for 'history-append!'.
17034
170352014-02-26 Joel Brobecker <brobecker@adacore.com>
17036
17037 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17038 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17039 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17040 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17041 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17042 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17043
170442014-02-26 Joel Brobecker <brobecker@adacore.com>
17045
17046 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17047 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17048 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17049
170502014-02-26 Joel Brobecker <brobecker@adacore.com>
17051
17052 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17053
170542014-02-26 Joel Brobecker <brobecker@adacore.com>
17055
17056 * gdb.dwarf2/arr-stride.c: New file.
17057 * gdb.dwarf2/arr-stride.exp: New file.
17058
170592014-02-26 Pedro Alves <palves@redhat.com>
17060
17061 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17062 that won't ever trigger. Make sure that GDB reports the correct
17063 breakpoint that caused the stop.
17064
170652014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17066
17067 PR gdb/16626
17068 * gdb.base/auto-load-script: New file.
17069 * gdb.base/auto-load.c: New file.
17070 * gdb.base/auto-load.exp: New file.
17071
17072 PR gdb/16626
17073 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17074
170752014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17076
17077 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17078 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17079
170802014-02-24 Doug Evans <dje@google.com>
17081
17082 * lib/gdb.exp (run_on_host): Log error output if program fails.
17083
170842014-02-21 Pedro Alves <palves@redhat.com>
17085
17086 * gdb.threads/step-after-sr-lock.c: Rename to ...
17087 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17088 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17089 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17090 ... this.
17091
170922014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17093
17094 PR tdep/16397
17095 * gdb.arch/amd64-stap-special-operands.exp: New file.
17096 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17097 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17098 * gdb.arch/amd64-stap-triplet.S: Likewise.
17099 * gdb.arch/amd64-stap-triplet.c: Likewise.
17100
171012014-02-20 Joel Brobecker <brobecker@adacore.com>
17102
17103 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17104 in .section pseudo-op.
17105
171062014-02-20 lin zuojian <manjian2006@gmail.com>
17107 Joel Brobecker <brobecker@adacore.com>
17108 Doug Evans <xdje42@gmail.com>
17109
17110 PR symtab/16581
17111 * gdb.dwarf2/dw2-icycle.S: New file.
17112 * gdb.dwarf2/dw2-icycle.c: New file.
17113 * gdb.dwarf2/dw2-icycle.exp: New file.
17114
171152014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17116
17117 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17118 operations on gdb.Value objects.
17119 * gdb.python/py-value-cc.exp: Add new test to test operations on
17120 gdb.Value objects.
17121
171222014-02-18 Doug Evans <dje@google.com>
17123
17124 * Makefile.in (TESTS): New variable.
17125 (expanded_tests, expanded_tests_or_none): New variables
17126 (check-single): Pass $(expanded_tests_or_none) to runtest.
17127 (check-parallel): Only run tests in $(TESTS) if non-empty.
17128 (check/no-matching-tests-found): New rule.
17129 * README: Document TESTS makefile variable.
17130
171312014-02-18 Doug Evans <dje@google.com>
17132
17133 * Makefile.in (check-parallel): rm -rf outputs temp.
17134
171352014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17136
17137 Fix "ERROR: no fileid for" in the testsuite.
17138 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17139
171402014-02-12 Doug Evans <dje@google.com>
17141
17142 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17143 (MISCELLANEOUS): New variable.
17144 (clean): rm -rf $(MISCELLANEOUS).
17145 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17146 dwp live in the same directory as symlinks, with each symlink pointed
17147 to a differently named file in a different directory.
17148
171492014-02-11 Doug Evans <dje@google.com>
17150
17151 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17152 of Tcl file commands.
17153
171542014-02-10 Mark Kettenis <kettenis@gnu.org>
17155
17156 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17157 "kill -SIGUSR1 -1".
17158
171592014-02-10 Joel Brobecker <brobecker@adacore.com>
17160
17161 * gdb.ada/tick_length_array_enum_idx: New testcase.
17162
171632014-02-10 Doug Evans <xdje42@gmail.com>
17164
17165 * configure.ac (AC_OUTPUT): Add gdb.guile.
17166 * configure: Regenerate.
17167 * lib/gdb-guile.exp: New file.
17168 * lib/gdb.exp (get_target_charset): New function.
17169 * gdb.base/help.exp: Update expected output from "apropos apropos".
17170 * gdb.guile/Makefile.in: New file.
17171 * gdb.guile/guile.exp: New file.
17172 * gdb.guile/scm-arch.c: New file.
17173 * gdb.guile/scm-arch.exp: New file.
17174 * gdb.guile/scm-block.c: New file.
17175 * gdb.guile/scm-block.exp: New file.
17176 * gdb.guile/scm-breakpoint.c: New file.
17177 * gdb.guile/scm-breakpoint.exp: New file.
17178 * gdb.guile/scm-disasm.c: New file.
17179 * gdb.guile/scm-disasm.exp: New file.
17180 * gdb.guile/scm-equal.c: New file.
17181 * gdb.guile/scm-equal.exp: New file.
17182 * gdb.guile/scm-error.exp: New file.
17183 * gdb.guile/scm-error.scm: New file.
17184 * gdb.guile/scm-frame-args.c: New file.
17185 * gdb.guile/scm-frame-args.exp: New file.
17186 * gdb.guile/scm-frame-args.scm: New file.
17187 * gdb.guile/scm-frame-inline.c: New file.
17188 * gdb.guile/scm-frame-inline.exp: New file.
17189 * gdb.guile/scm-frame.c: New file.
17190 * gdb.guile/scm-frame.exp: New file.
17191 * gdb.guile/scm-generics.exp: New file.
17192 * gdb.guile/scm-gsmob.exp: New file.
17193 * gdb.guile/scm-iterator.c: New file.
17194 * gdb.guile/scm-iterator.exp: New file.
17195 * gdb.guile/scm-math.c: New file.
17196 * gdb.guile/scm-math.exp: New file.
17197 * gdb.guile/scm-objfile-script-gdb.in: New file.
17198 * gdb.guile/scm-objfile-script.c: New file.
17199 * gdb.guile/scm-objfile-script.exp: New file.
17200 * gdb.guile/scm-objfile.c: New file.
17201 * gdb.guile/scm-objfile.exp: New file.
17202 * gdb.guile/scm-ports.exp: New file.
17203 * gdb.guile/scm-pretty-print.c: New file.
17204 * gdb.guile/scm-pretty-print.exp: New file.
17205 * gdb.guile/scm-pretty-print.scm: New file.
17206 * gdb.guile/scm-section-script.c: New file.
17207 * gdb.guile/scm-section-script.exp: New file.
17208 * gdb.guile/scm-section-script.scm: New file.
17209 * gdb.guile/scm-symbol.c: New file.
17210 * gdb.guile/scm-symbol.exp: New file.
17211 * gdb.guile/scm-symtab-2.c: New file.
17212 * gdb.guile/scm-symtab.c: New file.
17213 * gdb.guile/scm-symtab.exp: New file.
17214 * gdb.guile/scm-type.c: New file.
17215 * gdb.guile/scm-type.exp: New file.
17216 * gdb.guile/scm-value-cc.cc: New file.
17217 * gdb.guile/scm-value-cc.exp: New file.
17218 * gdb.guile/scm-value.c: New file.
17219 * gdb.guile/scm-value.exp: New file.
17220 * gdb.guile/source2.scm: New file.
17221 * gdb.guile/types-module.cc: New file.
17222 * gdb.guile/types-module.exp: New file.
17223
172242014-02-10 Yao Qi <yao@codesourcery.com>
17225
17226 PR testsuite/16543
17227 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17228 * configure: Regenerated.
17229 * Makefile.in: New file.
17230
172312014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17232
17233 * gdb.python/py-framefilter.exp: Fix typo.
17234
172352014-02-08 Yao Qi <yao@codesourcery.com>
17236
17237 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17238 that no =breakpoint-modified is emitted when breakpoints are
17239 modified through MI commands.
17240
172412014-02-07 Pedro Alves <pedro@codesourcery.com>
17242 Pedro Alves <palves@redhat.com>
17243
17244 * gdb.threads/step-after-sr-lock.c: New file.
17245 * gdb.threads/step-after-sr-lock.exp: New file.
17246
172472014-02-07 Pedro Alves <palves@redhat.com>
17248
17249 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17250
172512014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17252
17253 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17254 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17255
172562014-02-06 Doug Evans <xdje42@gmail.com>
17257
17258 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17259 output.
17260
17261 * gdb.gdb/python-interrupts.exp: New file.
17262
172632014-02-05 Yao Qi <yao@codesourcery.com>
17264
17265 * gdb.trace/report.exp (use_collected_data): Test the output
17266 of "info threads" and "info inferiors".
17267
172682014-02-05 Yao Qi <yao@codesourcery.com>
17269
17270 Revert this patch:
17271
17272 2013-05-24 Yao Qi <yao@codesourcery.com>
17273
17274 * gdb.trace/tfile.exp: Test inferior and thread.
17275
172762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17277
17278 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17279 on a function.
17280 * gdb.base/step-bt.c: Call hello via function pointer to make
17281 sure its first instruction is executed on powerpc64le-linux.
17282
172832014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17284
17285 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17286
172872014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17288
17289 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17290 of the test patterns for use on little-endian systems.
17291
172922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17293
17294 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17295 (decimal_vector): Fix for little-endian.
17296
172972014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17298
17299 * gdb.arch/sparc-sysstep.exp: New file.
17300 * gdb.arch/sparc-sysstep.c: Likewise.
17301
17302 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17303
173042014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17305
17306 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17307
173082014-01-23 Tom Tromey <tromey@redhat.com>
17309
17310 * gdb.ada/array_char_idx: New testcase.
17311
173122014-01-23 Tom Tromey <tromey@redhat.com>
17313
17314 PR python/16487:
17315 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17316 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17317 classes.
17318
173192014-01-23 Tom Tromey <tromey@redhat.com>
17320
17321 PR python/16491:
17322 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17323 string from an inferior frame.
17324 * gdb.python/py-framefilter-mi.exp: Update.
17325
173262014-01-22 Doug Evans <dje@google.com>
17327
17328 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17329
173302014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17331
17332 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17333
173342014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17335
17336 * gdb.trace/entry-values.exp: Remove excess space character from
17337 regex patterns. Handle s390 call instruction.
17338
173392014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17340
17341 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17342 define "*_start" label. Make "name" static.
17343 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17344 ${name} by references to ${name}_start.
17345
173462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17347
17348 * gdb.base/info-macros.exp: Remove "debug" from the compile
17349 options.
17350
173512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17352
17353 * gdb.dlang/demangle.exp: New file.
17354
173552014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17356
17357 * gdb.dlang/primitive-types.exp: New file.
17358
173592014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17360
17361 * configure.ac: Create gdb.dlang/Makefile.
17362 * configure: Regenerate.
17363 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17364 * gdb.dlang/Makefile.in: New file.
17365 * lib/d-support.exp: New file.
17366 * lib/gdb.exp (skip_d_tests): New proc.
17367
173682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17369
17370 * gdb.btrace/delta.exp: Check reverse stepi.
17371 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17372 * gdb.btrace/finish.exp: New.
17373 * gdb.btrace/next.exp: New.
17374 * gdb.btrace/nexti.exp: New.
17375 * gdb.btrace/record_goto.c: Add comments.
17376 * gdb.btrace/step.exp: New.
17377 * gdb.btrace/stepi.exp: New.
17378 * gdb.btrace/multi-thread-step.c: New.
17379 * gdb.btrace/multi-thread-step.exp: New.
17380 * gdb.btrace/rn-dl-bind.c: New.
17381 * gdb.btrace/rn-dl-bind.exp: New.
17382 * gdb.btrace/data.c: New.
17383 * gdb.btrace/data.exp: New.
17384 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17385
173862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17387
17388 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17389 * gdb.btrace/exception.exp: Update.
17390 * gdb.btrace/instruction_history.exp: Update.
17391 * gdb.btrace/record_goto.exp: Update.
17392 * gdb.btrace/tailcall.exp: Update.
17393 * gdb.btrace/unknown_functions.exp: Update.
17394 * gdb.btrace/delta.exp: New.
17395
173962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17397
17398 * gdb.btrace/record_goto.exp: Add backtrace test.
17399 * gdb.btrace/tailcall.exp: Add backtrace test.
17400
174012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17402
17403 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17404 * gdb.btrace/record_goto.c: New.
17405 * gdb.btrace/record_goto.exp: New.
17406 * gdb.btrace/x86-record_goto.S: New.
17407
174082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17409
17410 * gdb.btrace/function_call_history.exp: Update tests.
17411 * gdb.btrace/instruction_history.exp: Update tests.
17412
174132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17414
17415 * gdb.btrace/function_call_history.exp: Fix expected field
17416 order for "record function-call-history".
17417 Add new tests for "record function-call-history /c".
17418 * gdb.btrace/exception.cc: New.
17419 * gdb.btrace/exception.exp: New.
17420 * gdb.btrace/tailcall.exp: New.
17421 * gdb.btrace/x86-tailcall.S: New.
17422 * gdb.btrace/x86-tailcall.c: New.
17423 * gdb.btrace/unknown_functions.c: New.
17424 * gdb.btrace/unknown_functions.exp: New.
17425 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17426
174272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17428
17429 * gdb.btrace/instruction_history.exp: Update.
17430 * gdb.btrace/function_call_history.exp: Update.
17431
174322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17433
17434 * gdb.btrace/function_call_history.exp: Fix expected function
17435 trace.
17436 * gdb.btrace/instruction_history.exp: Initialize traced.
17437 Remove traced_functions.
17438
174392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17440
17441 * gdb.btrace/function_call_history.exp: Update
17442 * gdb.btrace/instruction_history.exp: Update.
17443
174442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17445
17446 * gdb.btrace/enable.exp: Update expected text.
17447
174482014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17449
17450 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17451 bytes.
17452
174532014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17454
17455 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17456
174572014-01-15 Omair Javaid <omair.javaid@linaro.org>
17458
17459 * lib/gdb.exp (supports_process_record): Return true for
17460 arm*-linux*. (supports_reverse): Likewise.
17461
174622014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17463
17464 PR python/15464
17465 PR python/16113
17466 * gdb.python/py-type.c: Enhance test case.
17467 * gdb.python/py-value-cc.cc: Likewise
17468 * gdb.python/py-type.exp: Add new tests.
17469 * gdb.python/py-value-cc.exp: Likewise
17470
174712014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17472 Pedro Alves <palves@redhat.com>
17473
17474 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17475 Make "name" extern.
17476 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17477 references to ${name}_start by references to ${name}.
17478
174792014-01-10 Joel Brobecker <brobecker@adacore.com>
17480
17481 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17482
174832014-01-10 Joel Brobecker <brobecker@adacore.com>
17484
17485 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17486
174872014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17488 Pedro Alves <palves@redhat.com>
17489
17490 * gdb.mi/mi-info-os.exp: Connect to the target with
17491 mi_gdb_target_load.
17492
174932014-01-08 Pedro Alves <palves@redhat.com>
17494
17495 * gdb.threads/reconnect-signal.c: New file.
17496 * gdb.threads/reconnect-signal.exp: New file.
17497
174982014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17499
17500 * gdb.base/source-dir.exp: New file.
17501
175022014-01-07 Joel Brobecker <brobecker@adacore.com>
17503
17504 * gdb.ada/mi_interface: New testcase.
17505
175062014-01-07 Joel Brobecker <brobecker@adacore.com>
17507
17508 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17509 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17510 gdb.ada/pp-rec-component/pck.ads: New files.
17511
175122014-01-07 Joel Brobecker <brobecker@adacore.com>
17513
17514 * gdb.python/py-pp-integral.c: New file.
17515 * gdb.python/py-pp-integral.py: New file.
17516 * gdb.python/py-pp-integral.exp: New file.
17517
17518For older changes see ChangeLog-1993-2013.
17519\f
17520;; Local Variables:
17521;; mode: change-log
17522;; left-margin: 8
17523;; fill-column: 74
17524;; version-control: never
17525;; End:
17526
17527 Copyright 2014-2019 Free Software Foundation, Inc.
17528 Copying and distribution of this file, with or without modification,
17529 are permitted provided the copyright notice and this notice are preserved.
This page took 0.084358 seconds and 4 git commands to generate.