1 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3 * gdb.python/py-symbol.c: Declare and call function from new
5 * gdb.python/py-symbol.exp: Compile both source files, and add new
6 tests for gdb.lookup_static_symbol.
7 * gdb.python/py-symbol-2.c: New file.
9 2019-11-02 Tom de Vries <tdevries@suse.de>
11 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
12 * gdb.base/anon.exp: Same.
13 * gdb.base/auto-connect-native-target.exp: Same.
14 * gdb.base/call-ar-st.exp: Same.
15 * gdb.base/catch-syscall.exp: Same.
16 * gdb.base/commands.exp: Same.
17 * gdb.base/default.exp: Same.
18 * gdb.base/display.exp: Same.
19 * gdb.base/float.exp: Same.
20 * gdb.base/foll-fork.exp: Same.
21 * gdb.base/help.exp: Same.
22 * gdb.base/info-macros.exp: Same.
23 * gdb.base/info-proc.exp: Same.
24 * gdb.base/info-target.exp: Same.
25 * gdb.base/long_long.exp: Same.
26 * gdb.base/macscp.exp: Same.
27 * gdb.base/memattr.exp: Same.
28 * gdb.base/nofield.exp: Same.
29 * gdb.base/pointers.exp: Same.
30 * gdb.base/printcmds.exp: Same.
31 * gdb.base/ptype.exp: Same.
32 * gdb.base/restore.exp: Same.
33 * gdb.base/return.exp: Same.
34 * gdb.base/scope.exp: Same.
35 * gdb.base/set-noassign.exp: Same.
36 * gdb.base/setshow.exp: Same.
37 * gdb.base/shlib-call.exp: Same.
38 * gdb.base/signals.exp: Same.
39 * gdb.base/sigstep.exp: Same.
40 * gdb.base/skip.exp: Same.
41 * gdb.base/solib-symbol.exp: Same.
42 * gdb.base/stap-probe.exp: Same.
43 * gdb.base/step-line.exp: Same.
44 * gdb.base/step-test.exp: Same.
45 * gdb.base/style.exp: Same.
46 * gdb.base/varargs.exp: Same.
47 * gdb.base/vla-datatypes.exp: Same.
48 * gdb.base/vla-ptr.exp: Same.
49 * gdb.base/vla-sideeffect.exp: Same.
50 * gdb.base/volatile.exp: Same.
51 * gdb.base/watch-cond-infcall.exp: Same.
52 * gdb.base/watchpoint.exp: Same.
54 2019-11-02 Tom de Vries <tdevries@suse.de>
56 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
57 * gdb.cp/cpexprs.exp: Same.
58 * gdb.cp/except-multi-location.exp: Same.
59 * gdb.cp/exceptprint.exp: Same.
60 * gdb.cp/gdb2384.exp: Same.
61 * gdb.cp/inherit.exp: Same.
62 * gdb.cp/m-static.exp: Same.
63 * gdb.cp/meth-typedefs.exp: Same.
64 * gdb.cp/misc.exp: Same.
65 * gdb.cp/namespace.exp: Same.
66 * gdb.cp/non-trivial-retval.exp: Same.
67 * gdb.cp/overload.exp: Same.
68 * gdb.cp/pr17132.exp: Same.
69 * gdb.cp/re-set-overloaded.exp: Same.
70 * gdb.cp/rvalue-ref-types.exp: Same.
71 * gdb.cp/templates.exp: Same.
73 2019-11-01 Luis Machado <luis.machado@linaro.org>
77 * gdb.arch/pr25124.S: New file.
78 * gdb.arch/pr25124.exp: New file.
80 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
82 * gdb.fortran/info-modules.exp: Update expected results, and add
83 additional tests for 'info module functinos', and 'info module
85 * gdb.fortran/info-types.exp: Update expected results.
86 * gdb.fortran/info-types.f90: Extend testcase with additional
87 module variables and functions.
89 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
91 * gdb.fortran/info-modules.exp: New file.
92 * gdb.fortran/info-types.exp: Build with new file.
93 * gdb.fortran/info-types.f90: Include and use new module.
94 * gdb.fortran/info-types-2.f90: New file.
96 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
98 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
99 * gdb.base/settings.exp: Test all settings types using
100 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
101 that now verifies that the value of "maint show" is the same as
102 returned by the settings functions. Test the type of the
103 maintenance settings.
104 * gdb.base/default.exp: Update show_conv_list.
106 2019-10-31 Tom de Vries <tdevries@suse.de>
108 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
110 * gdb.arch/amd64-disp-step.exp: Same.
111 * gdb.asm/asm-source.exp: Same.
112 * gdb.btrace/buffer-size.exp: Same.
113 * gdb.btrace/cpu.exp: Same.
114 * gdb.btrace/enable.exp: Same.
115 * gdb.dwarf2/count.exp: Same.
116 * gdb.dwarf2/dw2-ranges-func.exp: Same.
117 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
118 * gdb.fortran/vla-datatypes.exp: Same.
119 * gdb.fortran/vla-history.exp: Same.
120 * gdb.fortran/vla-ptype.exp: Same.
121 * gdb.fortran/vla-value.exp: Same.
122 * gdb.fortran/whatis_type.exp: Same.
123 * gdb.guile/guile.exp: Same.
124 * gdb.multi/tids.exp: Same.
125 * gdb.python/py-finish-breakpoint.exp: Same.
126 * gdb.python/py-framefilter.exp: Same.
127 * gdb.python/py-pp-registration.exp: Same.
128 * gdb.python/py-xmethods.exp: Same.
129 * gdb.python/python.exp: Same.
130 * gdb.server/connect-with-no-symbol-file.exp: Same.
131 * gdb.server/no-thread-db.exp: Same.
132 * gdb.server/run-without-local-binary.exp: Same.
133 * gdb.stabs/weird.exp: Same.
134 * gdb.threads/attach-many-short-lived-threads.exp: Same.
135 * gdb.threads/thread-find.exp: Same.
136 * gdb.threads/tls-shared.exp: Same.
137 * gdb.threads/tls.exp: Same.
138 * gdb.threads/wp-replication.exp: Same.
139 * gdb.trace/ax.exp: Same.
140 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
142 2019-10-31 Tom de Vries <tdevries@suse.de>
144 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
145 * gdb.ada/array_subscript_addr.exp: Same.
146 * gdb.ada/arrayidx.exp: Same.
147 * gdb.ada/arrayparam.exp: Same.
148 * gdb.ada/arrayptr.exp: Same.
149 * gdb.ada/boolean_expr.exp: Same.
150 * gdb.ada/call_pn.exp: Same.
151 * gdb.ada/complete.exp: Same.
152 * gdb.ada/fixed_cmp.exp: Same.
153 * gdb.ada/fun_addr.exp: Same.
154 * gdb.ada/funcall_param.exp: Same.
155 * gdb.ada/interface.exp: Same.
156 * gdb.ada/mod_from_name.exp: Same.
157 * gdb.ada/null_array.exp: Same.
158 * gdb.ada/packed_array.exp: Same.
159 * gdb.ada/packed_tagged.exp: Same.
160 * gdb.ada/print_chars.exp: Same.
161 * gdb.ada/print_pc.exp: Same.
162 * gdb.ada/ptype_arith_binop.exp: Same.
163 * gdb.ada/ptype_field.exp: Same.
164 * gdb.ada/ptype_tagged_param.exp: Same.
165 * gdb.ada/rec_return.exp: Same.
166 * gdb.ada/ref_tick_size.exp: Same.
167 * gdb.ada/str_ref_cmp.exp: Same.
168 * gdb.ada/taft_type.exp: Same.
169 * gdb.ada/tagged.exp: Same.
170 * gdb.ada/type_coercion.exp: Same.
171 * gdb.ada/uninitialized_vars.exp: Same.
173 2019-10-30 Tom de Vries <tdevries@suse.de>
175 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
177 2019-10-26 Tom de Vries <tdevries@suse.de>
179 * gdb.base/bigcore.c: Fix typos in comments.
180 * gdb.base/ctf-ptype.c: Same.
181 * gdb.base/long_long.c: Same.
182 * gdb.dwarf2/dw2-op-out-param.S: Same.
183 * gdb.python/py-evthreads.c: Same.
184 * gdb.reverse/i387-stack-reverse.c: Same.
185 * gdb.trace/tfile.c: Same.
186 * lib/compiler.c: Same.
187 * lib/compiler.cc: Same.
189 2019-10-25 Tom de Vries <tdevries@suse.de>
191 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
192 gdb_test_multiple calls.
193 * gdb.reverse/sigall-reverse.exp: Same.
194 * gdb.reverse/solib-precsave.exp: Same.
195 * gdb.reverse/solib-reverse.exp: Same.
196 * gdb.reverse/until-precsave.exp: Same.
197 * gdb.reverse/until-reverse.exp: Same.
199 2019-10-24 Tom de Vries <tdevries@suse.de>
201 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
202 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
203 kfail using -wrap pattern flag and convenience variable
206 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
208 * gdb.python/py-progspace.exp: Add tests for the
209 Progspace.block_for_pc method.
211 2019-10-23 Tom Tromey <tom@tromey.com>
213 * configure: Rebuild.
214 * aclocal.m4: Use m4_include, not sinclude.
216 2019-10-21 Tom de Vries <tdevries@suse.de>
218 * gdb.base/infcall-nested-structs.c: Add
219 __attribute__((noinline,noclone)) to all functions.
220 (call_all): Add missing variable initialization. Simplify return value.
221 (breakpt): Increment volatile variable, to prevent call from being
223 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
225 2019-10-17 Tom de Vries <tdevries@suse.de>
227 * gdb.fortran/module.exp: Allow info variables to print info for files
228 other than module.f90.
230 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
232 * gdb.fortran/module.exp: Extend with 'info variables' test.
234 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
236 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
239 2019-10-16 Tom de Vries <tdevries@suse.de>
242 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
244 2019-10-16 Tom de Vries <tdevries@suse.de>
247 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
248 Add KFAIL for PR tdep/25096.
250 2019-10-16 Tom de Vries <tdevries@suse.de>
253 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
255 2019-10-16 Tom de Vries <tdevries@suse.de>
257 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
260 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
262 * gdb.mi/list-thread-groups-available.exp: Read entries one by
263 one instead of increasing timeout.
265 2019-10-13 Tom de Vries <tdevries@suse.de>
268 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
269 * gdb.reverse/sigall-reverse.exp: Same.
270 * gdb.reverse/solib-precsave.exp: Same.
271 * gdb.reverse/solib-reverse.exp: Same.
272 * gdb.reverse/step-precsave.exp: Same.
273 * gdb.reverse/until-precsave.exp: Same.
274 * gdb.reverse/until-reverse.exp: Same.
275 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
277 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
279 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
280 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
281 (cmp_struct_05_01, cmp_struct_static_02_01)
282 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
285 2019-10-10 Tom de Vries <tdevries@suse.de>
288 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
291 2019-10-09 Tom de Vries <tdevries@suse.de>
294 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
296 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
298 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
299 exceptions due to missing debug information.
301 2019-10-07 Tom de Vries <tdevries@suse.de>
303 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
305 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
307 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
308 * gdb.base/annota1.exp: Update to use gdb_test_name.
310 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
312 * gdb.base/ctf-whatis.exp: New file.
313 * gdb.base/ctf-whatis.c: New file.
314 * gdb.base/ctf-ptype.exp: New file.
315 * gdb.base/ctf-ptype.c: New file.
316 * gdb.base/ctf-constvars.exp: New file.
317 * gdb.base/ctf-constvars.c: New file.
318 * gdb.base/ctf-cvexpr.exp: New file.
320 2019-10-04 Tom de Vries <tdevries@suse.de>
322 * gdb.cp/local-static.c (main): Move declaration of int i out of the
325 2019-10-03 Tom Tromey <tom@tromey.com>
328 * gdb.rust/simple.rs (Union2): New type.
330 * gdb.rust/simple.exp: Add test.
332 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
334 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
335 nested function prefix.
337 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
338 Richard Bunt <richard.bunt@arm.com>
339 Andrew Burgess <andrew.burgess@embecosm.com>
341 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
343 * gdb.fortran/nested-funcs.f90: Update expected results.
344 * gdb.fortran/nested-funcs-2.exp: New file.
345 * gdb.fortran/nested-funcs-2.f90: New file.
347 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
349 * gdb.python/py-parameter.exp: Make test names unique.
350 * gdb.python/py-template.exp: Likewise.
351 * gdb.python/py-value.exp: Likewise.
353 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
355 * gdb.base/break-interp.exp: Reduce test name duplication.
356 * gdb.base/call-sc.exp: Likewise.
357 * gdb.base/callfuncs.exp: Likewise.
358 * gdb.base/charset.exp: Likewise.
359 * gdb.base/dump.exp: Likewise.
360 * gdb.base/ena-dis-br.exp: Likewise.
361 * gdb.base/relational.exp: Likewise.
362 * gdb.base/step-over-syscall.exp: Likewise.
363 * gdb.base/structs.exp: Likewise.
365 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
367 * gdb.linespec/explicit.exp: Make test names unique.
368 * gdb.linespec/ls-errs.exp: Likewise.
370 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
372 * gdb.reverse/break-precsave.exp: Make test names unique.
373 * gdb.reverse/break-reverse.exp: Likewise.
374 * gdb.reverse/finish-precsave.exp: Likewise.
375 * gdb.reverse/finish-reverse.exp: Likewise.
376 * gdb.reverse/machinestate-precsave.exp: Likewise.
377 * gdb.reverse/machinestate.exp: Likewise.
378 * gdb.reverse/readv-reverse.exp: Likewise.
379 * gdb.reverse/recvmsg-reverse.exp: Likewise.
380 * gdb.reverse/sigall-precsave.exp: Likewise.
381 * gdb.reverse/sigall-reverse.exp: Likewise.
382 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
383 * gdb.reverse/watch-precsave.exp: Likewise.
384 * gdb.reverse/watch-reverse.exp: Likewise.
386 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
388 * gdb.threads/stop-with-handle.c: New file.
389 * gdb.threads/stop-with-handle.exp: New file.
391 2019-10-03 Tom de Vries <tdevries@suse.de>
394 * gdb.base/list-missing-source.exp: Allowing the "Compilation
395 directory" line to be missing.
397 2019-10-03 Tom de Vries <tdevries@suse.de>
400 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
403 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
405 * gdb.python/py-format-string.c (string.h): New include.
406 (main): Fill a_struct_with_union.the_union.an_int with bytes of
407 the same value, for endianness-independence.
408 * gdb.python/py-format-string.exp (default_regexp_dict)
409 (test_pretty_structs, test_format): Adjust expected output to the
410 changed initialization.
412 2019-10-02 Tom Tromey <tromey@adacore.com>
414 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
416 2019-10-02 Pedro Alves <palves@redhat.com>
417 Andrew Burgess <andrew.burgess@embecosm.com>
419 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
421 (this_version_id) Use ATTRIBUTE_VISIBILITY.
422 (get_version_1): Print this_version_id and its address.
423 Add extern "C" wrappers around interface functions.
424 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
426 (this_version_id) Use ATTRIBUTE_VISIBILITY.
427 (get_version_2): Print this_version_id and its address.
428 Add extern "C" wrappers around interface functions.
429 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
430 <stddef.h> and "print-file-var.h".
431 Add extern "C" wrappers around interface functions.
432 [VERSION_ID_MAIN] (this_version_id): Define.
433 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
434 * gdb.base/print-file-var.h: Add some #defines to simplify setting
435 up extern "C" blocks.
436 * gdb.base/print-file-var.exp (test): New, factored out from top
438 (top level): Test all combinations of attribute hidden or not,
439 dlopen or not, and this_version_id symbol in main file or not.
440 Compile tests as both C++ and C, make test names unique.
442 2019-10-01 Tom Tromey <tom@tromey.com>
444 * gdb.base/style.exp: Test "show logging filename".
446 2019-10-01 Tom Tromey <tom@tromey.com>
448 * lib/gdb-utils.exp (style): Handle "metadata" argument.
449 * gdb.base/style.exp: Add metadata style test.
451 2019-10-01 Tom Tromey <tom@tromey.com>
453 * gdb.base/style.exp: Test "pwd".
455 2019-10-01 Tom Tromey <tom@tromey.com>
457 * gdb.base/style.exp: Update tests.
459 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
461 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
463 (s1): Initialize fields 'four' and 'six' instead of 'three' and
464 'five'. Use an all-ones bit pattern for each.
465 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
466 to its changed values.
468 2019-09-30 Tom Tromey <tromey@adacore.com>
470 * gdb.rust/traits.rs: Disable all warnings.
472 2019-09-29 Tom de Vries <tdevries@suse.de>
474 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
476 2019-09-29 Tom de Vries <tdevries@suse.de>
478 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
480 2019-09-27 Tom de Vries <tdevries@suse.de>
482 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
484 2019-09-27 Tom de Vries <tdevries@suse.de>
487 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
489 2019-09-26 Tom Tromey <tromey@adacore.com>
491 * gdb.ada/py_taft.exp: New file.
492 * gdb.ada/py_taft/main.adb: New file.
493 * gdb.ada/py_taft/pkg.adb: New file.
494 * gdb.ada/py_taft/pkg.ads: New file.
496 2019-09-24 Tom de Vries <tdevries@suse.de>
499 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
501 2019-09-22 Tom de Vries <tdevries@suse.de>
503 * gdb.base/restore.exp: Allow register variables to be optimized out at
506 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
508 * gdb.arch/spu-info.exp: Remove file.
509 * gdb.arch/spu-info.c: Remove file.
510 * gdb.arch/spu-ls.exp: Remove file.
511 * gdb.arch/spu-ls.c: Remove file.
513 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
514 * gdb.asm/spu.inc: Remove file.
516 * gdb.base/dump.exp: Remove support for spu*-*-*.
517 * gdb.base/stack-checking.exp: Likewise.
518 * gdb.base/overlays.exp: Likewise.
519 * gdb.base/ovlymgr.c: Likewise.
520 * gdb.base/spu.ld: Remove file.
522 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
523 * gdb.cp/cpexprs.exp: Likewise.
524 * gdb.cp/exception.exp: Likewise.
525 * gdb.cp/gdb2495.exp: Likewise.
526 * gdb.cp/mb-templates.exp: Likewise.
527 * gdb.cp/pr9167.exp: Likewise.
528 * gdb.cp/userdef.exp: Likewise.
530 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
532 * gdb.cell: Remove directory.
533 * lib/cell.exp: Remove file.
535 2019-09-19 Tom de Vries <tdevries@suse.de>
537 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
539 2019-09-19 Tom de Vries <tdevries@suse.de>
541 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
543 2019-09-19 Tom de Vries <tdevries@suse.de>
545 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
546 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
547 (gdb_target_cmd): ... here.
548 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
551 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
553 * gdb.base/source-dir.exp: Avoid having directory names in test
556 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
558 * gdb.base/source-dir.exp: Add extra test for mapped compilation
561 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
563 * gdb.base/list-missing-source.exp: New file.
565 2019-09-14 Tom de Vries <tdevries@suse.de>
568 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
569 * lib/ada.exp (gnatmake_version_at_least): New proc.
571 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
573 * gdb.base/maint.exp: Use exec_has_index_section.
575 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
577 * gdb.base/maint.exp: Add test for 'maint info sections'.
579 2019-09-12 Tom de Vries <tdevries@suse.de>
581 * gdb.base/store.exp: Allow register variables to be optimized out at
584 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
586 * gdb.ada/rdv_wait.exp: Update to new task names.
587 * gdb.base/task_switch_in_core.exp: Likewise.
588 * gdb.base/info_sources_base.c: Likewise.
590 2019-09-10 Tom Tromey <tromey@adacore.com>
592 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
594 2019-09-10 Tom Tromey <tromey@adacore.com>
596 * gdb.ada/dgopt.exp: New file.
597 * gdb.ada/dgopt/x.adb: New file.
599 2019-09-08 Tom Tromey <tom@tromey.com>
601 * gdb.tui/resize.exp: Remove setup_xfail.
602 * gdb.tui/regs.exp: Remove setup_xfail.
603 * gdb.tui/basic.exp: Remove setup_xfail.
605 2019-09-06 David Blaikie <dblaikie@gmail.com>
607 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
608 * gdb.cp/cplabel.exp: Ditto.
609 * gdb.linespec/ls-errs.exp: Ditto.
611 2019-09-05 Tom de Vries <tdevries@suse.de>
613 * lib/gdb.exp (cmp_file_string): New proc.
614 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
615 runto_main. Verify save breakpoints output.
617 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
619 * gdb.base/info-var.exp: Test info variables without running
620 to main, to avoid expect's buffer overflow.
622 2019-09-03 Tom Tromey <tromey@adacore.com>
624 * gdb.ada/bias.exp: New file.
625 * gdb.ada/bias/bias.adb: New file.
626 * gdb.ada/print_chars.exp: Add regression test.
627 * gdb.ada/print_chars/foo.adb (My_Character): New type.
630 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
632 * gdb.base/argv0-symlink.exp: Run only on native target
635 2019-08-29 Tom de Vries <tdevries@suse.de>
637 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
639 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
641 2019-08-28 Tom de Vries <tdevries@suse.de>
643 * gdb.base/info-var.exp: Allow info variables to print info for files
644 other than info-var-f1.c and info-var-f2.c.
646 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
648 * gdb.fortran/info-types.exp: Add module.
649 * gdb.fortran/info-types.f90: Update expected results.
651 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
653 * gdb.fortran/info-types.exp: New file.
654 * gdb.fortran/info-types.f90: New file.
655 * lib/fortran.exp (fortran_character1): New proc.
657 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
659 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
660 functions'. Reindent as needed.
661 * gdb.base/info-var-f1.c: New file.
662 * gdb.base/info-var-f2.c: New file.
663 * gdb.base/info-var.exp: New file.
664 * gdb.base/info-var.h: New file.
666 2019-08-26 Tom de Vries <tdevries@suse.de>
669 * gdb.cp/no-libstdcxx-probe.exp: New test.
671 2019-08-26 Tom de Vries <tdevries@suse.de>
673 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
674 * tests need to be skipped.
675 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
676 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
677 mi_skip_libstdcxx_probe_tests.
679 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
681 * gdb.python/py-xmethods.exp: Use raw strings when passing
682 arguments to SimpleXMethodMatcher.
684 2019-08-22 Tom de Vries <tdevries@suse.de>
686 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
689 2019-08-21 Pedro Alves <palves@redhat.com>
691 * gdb.base/with.exp: Test "with" with no arguments.
693 2019-08-21 Tom de Vries <tdevries@suse.de>
695 * gdb.base/gdb-caching-proc.exp: Sort files.
697 2019-08-20 Tom de Vries <tdevries@suse.de>
699 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
702 2019-08-16 Tom de Vries <tdevries@suse.de>
704 * gdb.base/compare-sections.exp ("after run to main"): Allow
705 mismatched read-only sections for PIE executables.
707 2019-08-16 Tom Tromey <tom@tromey.com>
709 * lib/tuiterm.exp (_csi_Z): New proc.
710 * gdb.tui/basic.exp: Update window positions.
711 * gdb.tui/empty.exp: Update window positions.
713 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
715 * gdb.base/examine-backward.exp: Correct regexp for
716 "examine 3 bytes backward from ${address_zero}".
718 2019-08-15 Tom Tromey <tom@tromey.com>
720 * gdb.tui/empty.exp: Enable resizing tests.
722 2019-08-15 Tom Tromey <tromey@adacore.com>
724 * gdb.ada/char_enum.exp: Add regression tests.
725 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
727 (Char, Gchar): Update.
728 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
730 2019-08-15 Christian Biesinger <cbiesinger@google.com>
732 * gdb.python/python.exp: Expect a leading underscore on
733 GdbOutput{,Error}File.
735 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
737 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
740 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
742 * gdb.base/batch-preserve-term-settings.exp
743 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
745 2019-08-15 Christian Biesinger <cbiesinger@google.com>
747 * lib/gdb.exp: When running on a mingw target, replace
750 2019-08-14 Alan Hayward <alan.hayward@arm.com>
752 * gdb.arch/aarch64-prologue.c: New test.
753 * gdb.arch/aarch64-prologue.exp: New file.
755 2019-08-13 Tom de Vries <tdevries@suse.de>
757 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
760 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
762 * gdb.python/py-completion.exp: Download the .py file to the host
763 and use its host pathname. Conditionalize tests that use
764 tab completion and manipulate files on the build machine.
765 * gdb.python/py-events.exp: Download the .py file to the host
766 and use its host pathname.
767 * gdb.python/py-evsignal.exp: Likewise.
768 * gdb.python/py-evthreads.exp: Likewise.
769 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
771 * gdb.python/py-framefilter.exp: Download the .py file to the right
772 place on the host. Match Windows pathname syntax.
773 * gdb.python/py-mi-var-info-path-expression.exp: Download the
774 .py file to the host and use its host pathname.
775 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
776 * gdb.python/py-objfile.exp: Expect a host pathname, not a
777 build pathname. Skip symlink test on Windows host. Add missing
778 newline at end of file.
779 * gdb.python/py-pp-maint.exp: Download the .py file to the host
780 and use its host pathname.
781 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
782 * gdb.python/py-section-script.exp: Use host location of binfile
783 on safe-path. Use correct path separator on Windows host.
784 Reorder alternatives in gdb_test_multiple to prevent matching
785 the wrong alternative on success.
786 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
788 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
790 * gdb.gdb/selftest.exp (test_with_self): Update test to now
791 expect the GDB inferior to no longer immediately stop after
792 being resumed with "signal SIGINT".
794 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
796 * gdb.linespec/break-ask.exp: Generalize regexps to match
797 Windows pathnames too.
799 2019-08-08 Tom de Vries <tdevries@suse.de>
802 * lib/tuiterm.exp (_accept): Fix CSI regexp.
804 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
806 * gdb.base/style.exp: Update tests for help doc new invariants.
807 * gdb.base/help.exp: Likewise.
809 2019-08-06 Tom Tromey <tom@tromey.com>
811 * gdb.base/style.exp: Add disassemble test.
812 * gdb.base/style.c (some_called_function): New function.
815 2019-08-05 Christian Biesinger <cbiesinger@google.com>
817 * gdb.python/py-block.exp: Test dictionary access on blocks.
819 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
822 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
823 -list-thread-groups --available test when running under
826 2019-08-05 Tom de Vries <tdevries@suse.de>
829 * lib/gdb.exp (with_read1_timeout_factor): New proc.
830 * gdb.base/help.exp: Use with_read1_timeout_factor.
831 * gdb.base/info-macros.exp: Same.
832 * gdb.cp/nested-types.exp: Same.
834 2019-08-05 Tom de Vries <tdevries@suse.de>
836 * lib/gdb.exp (version_at_least): Factor out of ...
837 (tcl_version_at_least): ... here.
838 (gdb_compile): Fail if pie results in non-PIE executable.
839 (readelf_version, readelf_prints_pie): New proc.
840 (exec_is_pie): Return -1 if unknown.
842 2019-08-05 Tom de Vries <tdevries@suse.de>
844 * lib/gdb.exp (tcl_version_at_least): Fix typo.
846 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
848 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
850 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
852 * lib/completion-support.exp (test_gdb_complete_none): Skip
853 tab completion tests if no readline support.
854 (test_gdb_complete_unique_re): Likewise.
855 (test_gdb_complete_multiple): Likewise.
857 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
859 * gdb.base/info_sources.exp: New file.
860 * gdb.base/info_sources.c: New file.
861 * gdb.base/info_sources_base.c: New file.
863 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
865 * gdb.base/batch-exit-status.exp: Call test_exit_status with
867 (test_exit_status): Add prefix argument.
869 2019-08-01 Tom de Vries <tdevries@suse.de>
872 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
873 calling exp_continue for new thread and thread exited messages.
875 2019-08-01 Tom de Vries <tdevries@suse.de>
878 * gdb.base/structs.exp: Fix check-read1 timeout using
880 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
882 2019-08-01 Tom de Vries <tdevries@suse.de>
885 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
888 2019-08-01 Tom de Vries <tdevries@suse.de>
891 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
893 2019-07-30 Tom Tromey <tromey@adacore.com>
895 * gdb.ada/display_nested.exp: New file.
896 * gdb.ada/display_nested/foo.adb: New file.
897 * gdb.ada/display_nested/pack.adb: New file.
898 * gdb.ada/display_nested/pack.ads: New file.
900 2019-07-30 Christian Biesinger <cbiesinger@google.com>
902 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
904 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
906 2019-07-30 Tom de Vries <tdevries@suse.de>
908 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
911 2019-07-30 Tom de Vries <tdevries@suse.de>
914 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
915 (exec_is_pie): New proc.
917 2019-07-29 Christian Biesinger <cbiesinger@google.com>
919 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
921 2019-07-29 Christian Biesinger <cbiesinger@google.com>
923 * gdb.python/py-objfile.c: Add global and static vars.
924 * gdb.python/py-objfile.exp: Test new functions Objfile.
925 lookup_global_symbol and lookup_static_symbol.
927 2019-07-29 Tom Tromey <tom@tromey.com>
929 * lib/tuiterm.exp (Term::_csi_@): New proc.
930 (Term::_csi_X): Don't move cursor.
932 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
934 * gdb.base/options.exp: Update backtrace - completion to
935 new option -frame-info.
936 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
937 Test new 'set print frame-info'. Test backtrace -frame-info
938 overriding 'set print frame-info'.
939 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
940 Test new 'set print frame-info'.
941 Verify consistency of backtrace with and without filters, with and
943 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
946 2019-07-29 Tom de Vries <tdevries@suse.de>
948 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
951 2019-07-29 Tom de Vries <tdevries@suse.de>
953 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
954 is a substring of the first for "complete non-unique file name".
956 2019-07-29 Tom de Vries <tdevries@suse.de>
958 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
961 2019-07-29 Tom de Vries <tdevries@suse.de>
963 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
964 Pass prompt_regexp parameter to gdb_test_multiple calls.
966 2019-07-29 Tom de Vries <tdevries@suse.de>
968 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
969 print registers" regexps.
971 2019-07-29 Tom de Vries <tdevries@suse.de>
973 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
975 2019-07-29 Tom de Vries <tdevries@suse.de>
978 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
979 (skip_python_tests_prompt): Add prompt_regexp argument to
980 gdb_test_multiple calls.
982 2019-07-27 Tom Tromey <tom@tromey.com>
984 * gdb.tui/main.exp: New file.
986 2019-07-27 Tom Tromey <tom@tromey.com>
988 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
990 * gdb.tui/empty.exp: New file.
992 2019-07-27 Tom Tromey <tom@tromey.com>
994 * lib/tuiterm.exp (spawn): New proc.
995 (Term::resize): New proc.
996 * gdb.tui/resize.exp: New file.
998 2019-07-27 Tom Tromey <tom@tromey.com>
1000 * gdb.tui/list.exp: New file.
1002 2019-07-27 Tom Tromey <tom@tromey.com>
1004 * gdb.tui/regs.exp: New file.
1006 2019-07-27 Tom Tromey <tom@tromey.com>
1008 * gdb.tui/basic.exp: Add "layout split" test.
1010 2019-07-27 Tom Tromey <tom@tromey.com>
1012 * gdb.tui/basic.exp: Add "layout asm" test.
1014 2019-07-27 Tom Tromey <tom@tromey.com>
1016 * lib/tuiterm.exp: New file.
1017 * gdb.tui/basic.exp: New file.
1019 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1021 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1022 Enable tests associated with this flag. Adjust regex
1023 referencing "foo_low" to now refer to "foo_cold" instead.
1025 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1027 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1028 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1029 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1030 foo_cold. Revise comments to match.
1031 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1032 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1033 were wrapped into this proc; Call do_test in loop from outermost
1035 (foo_low): Rename all occurrences to "foo_cold".
1036 (backtrace from baz): New test.
1037 (x2/i foo_cold): New test.
1038 (info line *foo_cold): New test.
1040 2019-07-26 Tom de Vries <tdevries@suse.de>
1042 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1044 2019-07-25 Tom de Vries <tdevries@suse.de>
1047 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1048 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1049 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1050 (skip_libstdcxx_probe_tests): ... here.
1051 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1053 2019-07-24 Tom de Vries <tdevries@suse.de>
1056 * gdb.objc/basicclass.m: Include stdio.h.
1057 * gdb.objc/nondebug.m: Same.
1058 * gdb.objc/objcdecode.m: Same.
1060 2019-07-24 Tom de Vries <tdevries@suse.de>
1063 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1066 2019-07-24 Tom de Vries <tdevries@suse.de>
1069 * gdb.multi/tids.exp: Update error messages for info threads.
1071 2019-07-24 Tom de Vries <tdevries@suse.de>
1073 * gdb.base/info-types.exp: Allow info types to print info for more than
1076 2019-07-23 Tom de Vries <tdevries@suse.de>
1079 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1080 gdb_spawn_with_cmdline_opts.
1082 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1084 * gdb.arch/arm-cmse-sgstubs.c: New test.
1085 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1087 2019-07-23 Tom de Vries <tdevries@suse.de>
1090 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1091 issuing next command.
1093 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1095 * gdb.ada/info_auto_lang.exp: Update expected results.
1096 * gdb.base/info-types.c: Add additional types to check.
1097 * gdb.base/info-types.exp: Update expected results.
1099 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1101 * gdb.base/info-types.c: New file.
1102 * gdb.base/info-types.exp: New file.
1104 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1106 * gdb.arch/riscv-bp-infcall.c: New file.
1107 * gdb.arch/riscv-bp-infcall.exp: New file.
1109 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1111 PR breakpoints/24541
1112 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1114 2019-07-14 Tom de Vries <tdevries@suse.de>
1117 * gdb.objc/basicclass.exp: Fix unterminated string.
1119 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1120 Andrew Burgess <andrew.burgess@embecosm.com>
1122 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1123 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1125 * gdb.fortran/vla-value.exp: Print elements of an array with
1127 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1130 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1132 * gdb.base/options.exp (expect_string): Dequote strings in
1134 (test-string): Test strings with different quoting and reindent.
1136 2019-07-10 Tom Tromey <tromey@adacore.com>
1138 * gdb.ada/mi_ex_cond.exp: Update expected results.
1139 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1140 * gdb.ada/mi_catch_ex.exp: Update expected results.
1141 * gdb.ada/mi_catch_assert.exp: Update expected results.
1142 * gdb.ada/catch_ex.exp (catch_exception_info)
1143 (catch_exception_entry, catch_assert_entry)
1144 (catch_unhandled_entry): Update.
1145 * gdb.ada/catch_assert_if.exp: Update expected results.
1147 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1148 Stephen Roberts <stephen.roberts@arm.com>
1150 * gdb.base/define.exp: Restore original prompt.
1152 2019-07-09 Pedro Alves <palves@redhat.com>
1154 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1155 breakpoints" output.
1156 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1157 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1158 throw" creates breakpoint.
1159 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1160 'type="catchpoint"'.
1162 2019-07-09 Pedro Alves <palves@redhat.com>
1165 * gdb.cp/except-multi-location-lib.cc: New.
1166 * gdb.cp/except-multi-location-main.cc: New.
1167 * gdb.cp/except-multi-location.exp: New.
1169 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1171 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1172 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1173 argument and update callers.
1175 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1177 * gdb.arch/amd64-break-on-asm-line.S: New file.
1178 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1180 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1182 * gdb.base/printcmds.exp: Test printing C string and
1183 C wide string convenience vars without transiting via the inferior.
1184 Also make test names unique.
1186 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1188 PR breakpoints/25011
1189 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1191 2019-07-04 Pedro Alves <palves@redhat.com>
1193 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1194 body returned ok(0), break(3) or continue(4).
1195 * gdb.testsuite/foreach_with_prefix.exp: New file.
1197 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1199 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1201 2019-07-03 Pedro Alves <palves@redhat.com>
1203 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1206 2019-07-03 Pedro Alves <palves@redhat.com>
1209 * gdb.base/shell.exp: Load completion-support.exp.
1210 Adjust expected error output. Add completion tests.
1212 2019-07-03 Pedro Alves <palves@redhat.com>
1214 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1217 2019-07-03 Pedro Alves <palves@redhat.com>
1219 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1220 (expect_integer): Adjust to expect "-string".
1221 (expect_string): New.
1222 (all_options): Expect "-string".
1223 (test-flag, test-boolean): Adjust to expect "-string".
1224 (test-string): New proc.
1225 (top level): Call it.
1227 2019-07-03 Pedro Alves <palves@redhat.com>
1229 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1230 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1231 the expected output in the success.
1233 2019-07-03 Pedro Alves <palves@redhat.com>
1235 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1236 Split one gdb_test_multiple call in two to avoid a race.
1238 2019-07-03 Pedro Alves <palves@redhat.com>
1240 * gdb.base/with.c: New file.
1241 * gdb.base/with.exp: New file.
1243 2019-07-03 Pedro Alves <palves@redhat.com>
1245 * gdb.base/settings.exp: Replace all references to "maint
1246 test-settings set" with references to "maint set test-settings",
1247 and all references to "maint test-settings show" with references
1248 to "maint show test-settings".
1250 2019-07-03 Pedro Alves <palves@redhat.com>
1252 * gdb.base/settings.exp (test-string): Adjust expected out when
1253 testing "maint test-settings show filename"
1255 2019-07-02 Pedro Alves <palves@redhat.com>
1257 * gdb.base/options.exp (test-info-threads): New procedure.
1258 (top level): Call it.
1260 2019-06-28 Tom Tromey <tromey@adacore.com>
1262 * gdb.dwarf2/ada-linkage-name.c: New file.
1263 * gdb.dwarf2/ada-linkage-name.exp: New file.
1265 2019-06-27 Tom Tromey <tromey@adacore.com>
1268 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1270 2019-06-26 Tom de Vries <tdevries@suse.de>
1272 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1274 2019-06-26 Tom de Vries <tdevries@suse.de>
1276 * gdb.base/index-cache.exp: Add back missing debug option.
1278 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1280 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1282 2019-06-25 Tom de Vries <tdevries@suse.de>
1285 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1287 2019-06-24 Tom de Vries <tdevries@suse.de>
1289 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1291 2019-06-24 Tom de Vries <tdevries@suse.de>
1293 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1294 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1295 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1297 2019-06-24 Tom de Vries <tdevries@suse.de>
1299 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1301 2019-06-21 Tom de Vries <tdevries@suse.de>
1303 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1305 2019-06-21 Tom de Vries <tdevries@suse.de>
1309 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1312 2019-06-19 Tom Tromey <tromey@adacore.com>
1314 * gdb.ada/length_cond.exp: Add intro comment.
1316 2019-06-19 Tom Tromey <tromey@adacore.com>
1318 * gdb.ada/length_cond.exp: New file.
1319 * gdb.ada/length_cond/length_cond.adb: New file.
1320 * gdb.ada/length_cond/pck.adb: New file.
1321 * gdb.ada/length_cond/pck.ads: New file.
1323 2019-06-18 Tom de Vries <tdevries@suse.de>
1325 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1327 2019-06-18 Tom Tromey <tromey@adacore.com>
1329 * gdb.base/list0.h: Add comment explaining control character.
1331 2019-06-18 Tom de Vries <tdevries@suse.de>
1333 * boards/fission.exp: Break up long debug_flags line.
1335 2019-06-16 Tom de Vries <tdevries@suse.de>
1338 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1341 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1344 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1345 improve detection of bug gdb/24541.
1347 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1350 * gdb.base/index-cache.exp (uses_readnow,
1351 expecting_index_cache_use): Define global variable.
1352 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1353 expecting_index_cache_use.
1355 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1356 Andrew Burgess <andrew.burgess@embecosm.com>
1358 * gdb.fortran/pointers.f90: New file.
1359 * gdb.fortran/print_type.exp: New file.
1360 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1361 * gdb.fortran/vla-type.exp: Likewise.
1362 * gdb.fortran/vla-value.exp: Likewise.
1363 * gdb.mi/mi-vla-fortran.exp: Likewise.
1365 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1367 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1368 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1369 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1372 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1374 * gdb.base/annota1.exp: Update expected results.
1375 * gdb.cp/annota2.exp: Likewise.
1376 * gdb.cp/annota3.exp: Likewise.
1378 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1380 * gdb.base/style-logging.exp: Remove path from test name.
1382 2019-06-14 Tom Tromey <tromey@adacore.com>
1385 * gdb.base/style-logging.exp: New file.
1387 2019-06-14 Tom Tromey <tromey@adacore.com>
1389 * gdb.base/symfile-warn.exp: New file.
1390 * gdb.base/symfile-warn.c: New file.
1392 2019-06-14 Tom Tromey <tromey@adacore.com>
1394 * gdb.base/annotate-symlink.exp: New file.
1396 2019-06-14 Tom Tromey <tromey@adacore.com>
1398 * gdb.ada/set_wstr.exp: Add reassignment test.
1400 2019-06-14 Tom Tromey <tromey@adacore.com>
1402 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1403 'unchecked_access and 'unrestricted_access as well.
1405 2019-06-14 Tom Tromey <tromey@adacore.com>
1408 * gdb.ada/vla.exp: Update tests.
1409 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1412 2019-06-13 Pedro Alves <palves@redhat.com>
1414 * gdb.base/settings.exp (test-integer): Test junk after
1417 2019-06-13 Pedro Alves <palves@redhat.com>
1419 * gdb.base/options.exp (test-thread-apply): New.
1420 (top level): Call it.
1422 2019-06-13 Pedro Alves <palves@redhat.com>
1424 * gdb.base/options.exp (test-frame-apply): New.
1425 (top level): Test print commands with different "frame apply"
1428 2019-06-13 Pedro Alves <palves@redhat.com>
1430 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1431 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1432 'max_completions' parameter and handle it.
1433 (test_gdb_completion_offers_commands): New.
1435 2019-06-13 Pedro Alves <palves@redhat.com>
1437 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1439 2019-06-13 Pedro Alves <palves@redhat.com>
1441 * gdb.base/options.exp (test-backtrace): New.
1442 (top level): Call it.
1444 2019-06-13 Pedro Alves <palves@redhat.com>
1446 * gdb.guile/scm-frame-args.exp: Use "set print
1447 raw-frame-arguments" instead of "set print raw frame-arguments".
1448 * gdb.python/py-frame-args.exp: Likewise.
1450 2019-06-13 Pedro Alves <palves@redhat.com>
1452 * gdb.compile/compile.exp: Adjust expected output to option
1455 2019-06-13 Pedro Alves <palves@redhat.com>
1457 * gdb.base/options.exp: Build executable.
1458 (test-print): New procedure.
1459 (top level): Call it, once for "print" and another for "compile
1462 2019-06-13 Pedro Alves <palves@redhat.com>
1464 * gdb.base/options.c: New file.
1465 * gdb.base/options.exp: New file.
1467 2019-06-13 Pedro Alves <palves@redhat.com>
1469 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1470 that "o" is ambiguous.
1472 2019-06-13 Pedro Alves <palves@redhat.com>
1474 * gdb.base/settings.c: New file.
1475 * gdb.base/settings.exp: New file.
1477 2019-06-13 Pedro Alves <palves@redhat.com>
1479 * gdb.base/completion.exp: Fix comment typo.
1481 2019-06-13 Pedro Alves <palves@redhat.com>
1483 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1486 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1488 * gdb.fortran/block-data.f: New.
1489 * gdb.fortran/block-data.exp: New.
1491 2019-06-11 Tom de Vries <tdevries@suse.de>
1494 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1497 2019-06-11 Tom de Vries <tdevries@suse.de>
1500 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1502 2019-06-11 Tom de Vries <tdevries@suse.de>
1504 * boards/readnow.exp: New file.
1506 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1508 * gdb.fortran/vla-sizeof.exp: Update expected results.
1510 2019-06-06 Amos Bird <amosbird@gmail.com>
1512 * gdb.base/annota1.exp (thread_switch): Add test for
1513 thread-exited annotation.
1515 2019-06-06 Tom Tromey <tromey@adacore.com>
1517 * gdb.base/maint.exp: Expect command started/finished output.
1519 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1521 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1523 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1525 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1527 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1528 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1529 * gdb.arch/riscv-unwind-long-insn.c: New file.
1530 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1532 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1534 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1536 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1538 * lib/gdb.exp (help_list_trailer): New regexp variable
1539 factorizing the help trailer message.
1540 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1541 arg to allow to better factorize various tests.
1542 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1543 (test_prefix_command_help): Use help_list_trailer.
1544 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1545 * gdb.guile/scm-cmd.exp: Likewise.
1546 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1547 * gdb.base/help.exp: Use test_user_defined_class_help.
1548 * gdb.base/style.exp: Add tests for styling of help and apropos.
1549 * lib/gdb-utils.exp (style): Add title and highlight styles.
1551 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1553 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1555 * gdb.base/default.exp: Update for new convenience variables.
1557 2019-05-29 Tom Tromey <tromey@adacore.com>
1559 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1560 to "break complete ada" test case's regexp.
1562 2019-05-29 Tom Tromey <tromey@adacore.com>
1565 * gdb.cp/constexpr-field.exp: New file.
1566 * gdb.cp/constexpr-field.cc: New file.
1568 2019-05-29 Tom Tromey <tromey@adacore.com>
1570 * gdb.base/finish.exp (finish_no_print): New proc.
1571 (finish_tests): Call it.
1573 2019-05-24 Tom de Vries <tdevries@suse.de>
1575 * gdb.dwarf2/gdb-add-index.exp: New file.
1577 2019-05-22 Tom Tromey <tromey@adacore.com>
1579 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1580 * gdb.base/style.exp: Use "style".
1581 * lib/gdb-utils.exp (style): New proc.
1583 2019-05-22 Tom de Vries <tdevries@suse.de>
1585 * gdb.base/align.exp: Require c++11.
1587 2019-05-22 Tom de Vries <tdevries@suse.de>
1590 * gdb.python/py-mi-var-info-path-expression.exp: Call
1591 mi_skip_python_tests to check if python is supported.
1593 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1595 * gdb.arch/aarch64-pauth.c: New test.
1596 * gdb.arch/aarch64-pauth.exp: New file.
1598 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1600 * README (Re-running Tests Outside The Testsuite): New section.
1602 2019-05-21 Tom de Vries <tdevries@suse.de>
1604 * gdb.arch/amd64-eval.exp: Require c++11.
1605 * gdb.base/max-depth.exp: Same.
1606 * gdb.compile/compile-cplus-array-decay.exp: Same.
1607 * gdb.cp/meth-typedefs.exp: Same.
1608 * gdb.cp/subtypes.exp: Same.
1609 * gdb.cp/temargs.exp: Same.
1611 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1613 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1615 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1618 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1619 * gdb.fortran/printing-types.exp: Add new test.
1620 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1622 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1625 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1627 * README (Running the Testsuite): Change example.
1628 (Testsuite Parameters): Remove TRANSCRIPT.
1629 * lib/gdb.exp: Remove TRANSCRIPT check.
1631 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1633 * README (Testsuite Parameters): Add replay logging to
1635 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1636 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1637 as a comma separated list.
1638 (gdb_debug_init): Override procedure.
1640 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1642 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1643 (gdb_write_cmd_file): New procedure.
1644 * lib/gdbserver-support.exp (gdbserver_start): Call
1645 gdbserver_write_cmd_file.
1646 (gdbserver_write_cmd_file): New procedure.
1648 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1650 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1651 (delete_breakpoints): Likewise.
1652 (gdb_run_cmd): Likewise.
1653 (gdb_start_cmd): Likewise.
1654 (gdb_starti_cmd): Likewise.
1655 (gdb_internal_error_resync): Likewise.
1656 (gdb_test_multiple): Likewise.
1657 (gdb_reinitialize_dir): Likewise.
1658 (default_gdb_exit): Likewise.
1659 (gdb_file_cmd): Mark kill as optional.
1660 (default_gdb_start): Call gdb_stdin_log_init.
1661 (send_gdb): Call gdb_stdin_log_write.
1662 (rerun_to_main): Mark Y as an answer.
1663 (gdb_stdin_log_init): New function.
1664 (gdb_stdin_log_write): Likewise.
1666 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1668 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1669 * gdb.base/debug-expr.exp: Likewise.
1670 * gdb.base/foll-fork.exp: Likewise.
1671 * gdb.base/foll-vfork.exp: Likewise.
1672 * gdb.base/fork-print-inferior-events.exp: Likewise.
1673 * gdb.base/gdb-sigterm.exp: Likewise.
1674 * gdb.base/gdbinit-history.exp: Likewise.
1675 * gdb.base/osabi.exp: Likewise.
1676 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1677 * gdb.base/ui-redirect.exp: Likewise.
1678 * gdb.gdb/unittest.exp: Likewise.
1679 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1680 * gdb.mi/mi-watch.exp: Likewise.
1681 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1682 * gdb.mi/user-selected-context-sync.exp: Likewise.
1683 * gdb.python/python.exp: Disable debug test when debugging.
1684 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1685 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1687 * gdb.threads/stepi-random-signal.exp: Likewise.
1689 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1691 * Makefile.in: Pass through GDB_DEBUG.
1692 * README (Testsuite Parameters): Add GDB_DEBUG.
1693 (gdb,debug): Add board setting.
1694 * lib/gdb.exp (default_gdb_start): Start debugging.
1695 (gdb_debug_enabled): New procedure.
1696 (gdb_debug_init): Likewise.
1698 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1700 * Makefile.in: Pass through GDB_DEBUG.
1701 * README (Testsuite Parameters): Add GDB_DEBUG.
1702 (gdb,debug): Add board setting.
1703 * lib/gdb.exp (default_gdb_start): Start debugging.
1704 (gdb_debug_enabled): New procedure.
1705 (gdb_debug_init): Likewise.
1707 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1709 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1711 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1713 * gdb.base/ui-redirect.exp: Test redirection.
1715 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1717 * gdb.mi/mi-complete.exp: New file.
1718 * gdb.mi/mi-complete.cc: Likewise.
1720 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1722 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1723 indexed and sliced arrays, and pointers to arrays.
1725 2019-05-14 Tom Tromey <tromey@adacore.com>
1727 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1730 2019-05-14 Tom de Vries <tdevries@suse.de>
1732 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1733 selection entry encoding.
1735 2019-05-10 Tom Tromey <tromey@adacore.com>
1737 * gdb.ada/info_exc.exp: Add "complete" test.
1739 2019-05-09 Tom de Vries <tdevries@suse.de>
1741 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1744 2019-05-09 Tom de Vries <tdevries@suse.de>
1746 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1749 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1751 * gdb.ada/frame_arg_lang.exp: New testcase.
1752 * gdb.ada/frame_arg_lang/bla.adb: New file.
1753 * gdb.ada/frame_arg_lang/pck.ads: New file.
1754 * gdb.ada/frame_arg_lang/pck.adb: New file.
1755 * gdb.ada/frame_arg_lang/foo.c: New file.
1757 2019-05-08 Tom Tromey <tromey@adacore.com>
1759 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1761 2019-05-08 Tom Tromey <tromey@adacore.com>
1763 * gdb.base/ptype-offsets.exp: Update tests.
1765 2019-05-08 Tom Tromey <tromey@adacore.com>
1767 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1769 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1772 2019-05-08 Tom Tromey <tromey@adacore.com>
1774 * gdb.ada/vla.exp: New file.
1775 * gdb.ada/vla/vla.adb: New file.
1777 2019-05-07 Tom de Vries <tdevries@suse.de>
1779 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1781 2019-05-07 Tom de Vries <tdevries@suse.de>
1784 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1787 2019-05-07 Tom de Vries <tdevries@suse.de>
1790 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1791 .debug_aranges section.
1793 2019-05-07 Tom de Vries <tdevries@suse.de>
1796 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1798 2019-05-06 Tom de Vries <tdevries@suse.de>
1800 * lib/gdb.exp (exec_has_index_section): New proc.
1801 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1804 2019-05-04 Tom de Vries <tdevries@suse.de>
1806 * boards/cc-with-debug-names.exp: New file.
1808 2019-05-03 Tom Tromey <tromey@adacore.com>
1810 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1811 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1812 * gdb.ada/char_enum.exp: Add test.
1814 2019-05-03 Tom de Vries <tdevries@suse.de>
1816 * boards/cc-with-gdb-index.exp: New file.
1818 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1820 * gdb.rust/simple.exp: Add new test case.
1821 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1822 (main): Initialise an instance of the new struct.
1824 2019-05-01 Tom Tromey <tromey@adacore.com>
1826 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1828 (NPR): New variable.
1829 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1832 2019-05-01 Tom Tromey <tromey@adacore.com>
1834 * gdb.ada/packed_array_assign.exp: Add packed assignment
1837 2019-05-01 Tom de Vries <tdevries@suse.de>
1839 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1841 2019-05-01 Tom de Vries <tdevries@suse.de>
1843 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1845 2019-04-30 Ali Tamur <tamur@google.com>
1847 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1849 2019-04-30 Tom Tromey <tromey@adacore.com>
1851 * lib/ada.exp (find_ada_tool): New proc.
1852 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1853 * gdb.ada/catch_ex_std.exp: New file.
1854 * gdb.ada/catch_ex_std/foo.adb: New file.
1855 * gdb.ada/catch_ex_std/some_package.adb: New file.
1856 * gdb.ada/catch_ex_std/some_package.ads: New file.
1858 2019-04-30 Tom Tromey <tromey@adacore.com>
1861 * gdb.cp/temargs.cc: Add test code from PR.
1863 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1865 * gdb.fortran/vla-datatypes.exp: Update expected results.
1866 * gdb.fortran/vla-ptype.exp: Likewise.
1867 * gdb.fortran/vla-type.exp: Likewise.
1868 * gdb.fortran/vla-value.exp: Likewise.
1870 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1872 * gdb.fortran/ptr-indentation.exp: Update expected results.
1873 * gdb.fortran/ptype-on-functions.exp: Likewise.
1874 * gdb.fortran/vla-ptr-info.exp: Likewise.
1875 * gdb.fortran/vla-value.exp: Likewise.
1877 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1879 * gdb.fortran/ptype-on-functions.exp: New file.
1880 * gdb.fortran/ptype-on-functions.f90: New file.
1882 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1884 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1887 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1889 * gdb.fortran/complex.exp: Expand.
1890 * gdb.fortran/complex.f: Renamed to...
1891 * gdb.fortran/complex.f90: ...this, and extended to add more
1894 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1896 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1899 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1900 Richard Bunt <richard.bunt@arm.com>
1902 * gdb.base/max-depth.c: New file.
1903 * gdb.base/max-depth.exp: New file.
1904 * gdb.python/py-nested-maps.c: New file.
1905 * gdb.python/py-nested-maps.exp: New file.
1906 * gdb.python/py-nested-maps.py: New file.
1907 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1908 (test_all_common): Call test_max_depth.
1909 * gdb.fortran/max-depth.exp: New file.
1910 * gdb.fortran/max-depth.f90: New file.
1911 * gdb.go/max-depth.exp: New file.
1912 * gdb.go/max-depth.go: New file.
1913 * gdb.modula2/max-depth.exp: New file.
1914 * gdb.modula2/max-depth.c: New file.
1915 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1917 2019-04-29 Tom de Vries <tdevries@suse.de>
1919 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1921 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1923 * gdb.base/callexit.exp: Test may-call-functions off.
1925 2019-04-25 Keith Seitz <keiths@redhat.com>
1928 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1929 (another_incomplete_struct, test_incomplete): New definitions.
1930 (main): Use new definitions.
1931 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1934 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1938 * gdb.base/coredump-filter-build-id.exp: New file.
1940 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1942 * Makefile.in: Pass through GDBSERVER_DEBUG.
1943 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1944 (gdbserver,debug): Add board setting.
1945 * gdb.trace/tspeed.exp: Skip when debugging.
1946 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1947 * lib/gdbserver-support.exp: Likewise
1949 2019-04-24 Tom Tromey <tromey@adacore.com>
1951 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1954 2019-04-24 Tom Tromey <tromey@adacore.com>
1956 * gdb.arch/amd64-eval.exp: Test bitfield return.
1957 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1958 (class Foo) <return_bitfields>: New method.
1961 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1963 * gdb.cp/many-args.cc: New file.
1964 * gdb.cp/many-args.exp: New file.
1966 2019-04-23 Tom de Vries <tdevries@suse.de>
1969 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1971 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1973 * gdb.trace/backtrace.exp: Use nopie flag.
1974 * gdb.trace/circ.exp: Likewise.
1975 * gdb.trace/collection.exp: Likewise.
1976 * gdb.trace/ftrace.exp: Likewise.
1977 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1978 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1979 * gdb.trace/qtro.exp: Likewise.
1980 * gdb.trace/read-memory.exp: Likewise.
1981 * gdb.trace/report.exp: Likewise.
1982 * gdb.trace/tfile.exp: Likewise.
1983 * gdb.trace/tfind.exp: Likewise.
1984 * gdb.trace/unavailable.exp: Likewise.
1986 2019-04-22 Pedro Alves <palves@redhat.com>
1988 * gdb.base/solib-probes-nosharedlibrary.c,
1989 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1991 2019-04-19 Tom Tromey <tromey@adacore.com>
1993 * gdb.ada/ptype_union.c: New file.
1994 * gdb.ada/ptype_union.exp: New file.
1996 2019-04-19 Tom Tromey <tromey@adacore.com>
1999 * gdb.base/list0.h (foo): Add a control-l character.
2001 2019-04-18 Tom de Vries <tdevries@suse.de>
2004 * boards/local-board.exp: Set sysroot to "".
2006 2019-04-18 Tom de Vries <tdevries@suse.de>
2007 Pedro Alves <palves@redhat.com>
2010 * gdb.threads/vfork-follow-child-exec.c: New file.
2011 * gdb.threads/vfork-follow-child-exec.exp: New file.
2012 * gdb.threads/vfork-follow-child-exit.c: New file.
2013 * gdb.threads/vfork-follow-child-exit.exp: New file.
2015 2019-04-15 Leszek Swirski <leszeks@google.com>
2017 * gdb.arch/amd64-eval.cc: New file.
2018 * gdb.arch/amd64-eval.exp: New file.
2020 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2022 * gdb.server/sysroot.c: New test.
2023 * gdb.server/sysroot.exp: New file.
2024 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2027 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2029 * gdb.base/align.exp: Extend test to cover structures containing
2032 2019-04-11 Tom de Vries <tdevries@suse.de>
2034 * boards/cc-with-dwz-m.exp: New file.
2035 * boards/cc-with-dwz.exp: New file.
2036 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2038 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2040 * gdb.base/start-cpp.exp: New file.
2041 * gdb.base/start-cpp.cc: New file.
2043 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2045 * gdb.python/py-thrhandle.exp: Adjust tests to call
2046 thread_from_handle instead of thread_from_thread_handle.
2048 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2050 * gdb.python/py-thrhandle.exp: Add tests for
2051 gdb.InferiorThread.handle.
2053 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2055 * gdb.python/py-function.exp: Check calling helper function from
2057 * lib/gdb.exp (gdb_supported_languages): New proc.
2059 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2061 * gdb.base/complex-parts.c: New file.
2062 * gdb.base/complex-parts.exp: New file.
2064 2019-04-01 Tom Tromey <tromey@adacore.com>
2067 * gdb.dwarf2/dw2-ranges-main.c: New file.
2068 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2069 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2071 2019-03-30 Simon Marchi <simark@simark.ca>
2073 * gdb.base/default.exp: Add values for $_gdb_major and
2076 2019-03-29 Tom Tromey <tromey@adacore.com>
2078 * gdb.base/help.exp: Tighten apropos regexp.
2080 2019-03-29 Keith Seitz <keiths@redhat.com>
2082 * gdb.fortran/array-bounds.exp: New file.
2083 * gdb.fortran/array-bounds.f90: New file.
2085 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2087 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2089 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2091 * gdb.multi/hello.c (main): Increase alarm timer.
2093 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2095 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2096 factor when no hardware watchpoint support.
2098 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2099 Pedro Alves <palves@redhat.com>
2101 * boards/local-board.exp: set sysroot to /.
2103 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2105 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2108 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2110 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2112 (make_container): Initialise new field.
2113 * gdb.python/py-prettyprint.exp: Add new tests.
2114 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2115 <display_hint>: New method.
2117 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2119 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2120 gdb_continue_to_breakpoint more throughout this test.
2121 (run_lang_tests) Supply unique test names, and use
2124 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2126 * gdb.base/finish-pretty.exp: Update expected results.
2127 * gdb.base/pretty-print.c: New file.
2128 * gdb.base/pretty-print.exp: New file.
2130 2019-03-25 Pedro Alves <palves@redhat.com>
2132 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2133 move comments outside list. Append '-i "" eof' section.
2135 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2138 * README: Add pie options.
2139 * gdb.base/break-interp.exp: Ensure pie is disabled.
2140 * gdb.base/dump.exp: Likewise.
2141 * lib/gdb.exp (gdb_compile): Add pie option.
2143 2019-03-19 Tom Tromey <tromey@adacore.com>
2145 * gdb.mi/mi2-cli-display.c: New file.
2146 * gdb.mi/mi2-cli-display.exp: New file.
2148 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2149 Tom Tromey <tromey@adacore.com>
2151 * gdb.ada/ptype_array/pck.adb: New file.
2152 * gdb.ada/ptype_array/pck.ads: New file.
2153 * gdb.ada/ptype_array/foo.adb: New file.
2154 * gdb.ada/ptype_array.exp: New file.
2156 2019-03-14 Tom Tromey <tromey@adacore.com>
2158 * gdb.base/style.exp: Add "set style sources" test.
2160 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2162 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2163 * mi-breakpoint-multiple-locations.exp: ... this.
2164 (make_breakpoints_pattern): New proc.
2165 (do_test): Add mi_version parameter, test -break-insert,
2166 -break-info and =breakpoint-created.
2168 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2170 * config/default.exp: Remove 'load_lib gdb.exp'.
2171 * config/monitor.exp: Likewise.
2172 * config/sid.exp: Likewise.
2173 * config/sim.exp: Likewise.
2174 * config/slite.exp: Likewise.
2175 * config/unix.exp: Likewise.
2176 * gdb.base/default.exp: Remove unhelpful comment.
2178 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2180 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2182 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2184 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2186 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2188 * gdb.fortran/type-kinds.exp: Update expected results.
2190 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2192 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2194 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2196 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2198 (test_basic_parsing_of_type_kinds): Expand types tested.
2199 (test_parsing_invalid_type_kinds): New function.
2201 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2203 * gdb.fortran/intrinsics.exp: New file.
2204 * gdb.fortran/intrinsics.f90: New file.
2205 * gdb.fortran/type-kinds.exp: New file.
2207 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2209 * gdb.fortran/dot-ops.exp: New file.
2211 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2213 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2214 Check upper and lower case logical literals.
2216 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2218 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2219 Remove duplicate tests.
2221 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2223 * lib/gdb.exp (builtin_cd): rename of cd.
2224 (cd): Override builtin.
2226 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2228 * gdb.fortran/function-calls.exp: New file.
2229 * gdb.fortran/function-calls.f90: New test.
2231 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2233 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2234 on user program standard output.
2235 * gdb.fortran/short-circuit-argument-list.f90: Record function
2238 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2240 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2243 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2246 * gdb.base/interrupt-daemon-attach.c,
2247 gdb.base/interrupt-daemon-attach.exp: New test.
2249 2019-02-27 Pedro Alves <palves@redhat.com>
2251 * gdb.base/page.exp: Add tests for "set width/height -1".
2253 2019-02-27 Pedro Alves <palves@redhat.com>
2255 * gdb.base/page.exp: Add tests for "set/show width/height" with
2258 2019-02-27 Tom Tromey <tromey@adacore.com>
2260 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2262 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2265 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2267 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2268 tests for structs with static members.
2270 2019-02-26 Tom Tromey <tromey@adacore.com>
2272 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2273 ValueError, not TypeError.
2275 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2277 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2278 call from main program.
2280 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2282 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2283 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2284 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2285 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2286 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2288 2019-02-22 Keith Seitz <keiths@redhat.com>
2291 * gdb.base/symlink-sourcefile.c: New file.
2292 * gdb.base/symlink-sourcefile.exp: New file.
2294 2019-02-20 Tom Tromey <tom@tromey.com>
2296 * gdb.base/info_qt.exp: Update.
2298 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2300 * gdb.base/source.exp: Move "error in sourced script" code to
2302 * gdb.base/source-error.gdb: Move contents to
2303 source-error-1.gdb. Add new code to source source-error-1.gdb.
2304 * gdb.base/source-error-1.gdb: New file, from previous
2307 2019-02-17 Tom Tromey <tom@tromey.com>
2309 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2311 * gdb.base/style.c (SOME_MACRO): New macro.
2313 2019-02-17 Tom Tromey <tom@tromey.com>
2315 * gdb.base/style.exp: Add line-wrapping tests.
2316 * gdb.base/page.exp: Add test for quitting during pagination.
2318 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2320 * gdb.ada/big_packed_array: New testcase.
2321 * gdb.ada/homonym.exp: Fix incorrect expected output for
2322 "break <homonym__get_value>" test.
2324 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2326 PR breakpoints/21870
2327 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2328 and prepare_for_testing. Add comment.
2329 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2330 redundant cleanup call. Clean up comment.
2332 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2334 PR breakpoints/21870
2335 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2336 * gdb.arch/aarch64-dbreg-contents.c: New file.
2338 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2340 * gdb.ada/mi_ref_changeable: New testcase.
2342 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2344 * gdb.base/attach.exp: Add double attach test.
2346 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2348 * lib/gdb.exp (default_gdb_start): Don't match pagination
2350 (gdb_init): Set stty_init.
2352 2019-01-27 Tom Tromey <tom@tromey.com>
2354 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2357 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2359 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2361 (struct struct_static_02_02): Likewise.
2362 (struct struct_static_02_03): Likewise.
2363 (struct struct_static_02_04): Likewise.
2364 (struct struct_static_04_01): Likewise.
2365 (struct struct_static_04_02): Likewise.
2366 (struct struct_static_04_03): Likewise.
2367 (struct struct_static_04_04): Likewise.
2368 (struct struct_static_06_01): Likewise.
2369 (struct struct_static_06_02): Likewise.
2370 (struct struct_static_06_03): Likewise.
2371 (struct struct_static_06_04): Likewise.
2372 (cmp_struct_static_02_01): Likewise.
2373 (cmp_struct_static_02_02): Likewise.
2374 (cmp_struct_static_02_03): Likewise.
2375 (cmp_struct_static_02_04): Likewise.
2376 (cmp_struct_static_04_01): Likewise.
2377 (cmp_struct_static_04_02): Likewise.
2378 (cmp_struct_static_04_03): Likewise.
2379 (cmp_struct_static_04_04): Likewise.
2380 (cmp_struct_static_06_01): Likewise.
2381 (cmp_struct_static_06_02): Likewise.
2382 (cmp_struct_static_06_03): Likewise.
2383 (cmp_struct_static_06_04): Likewise.
2384 (call_all): Test new structs.
2385 * gdb.base/infcall-nested-structs.exp: Likewise.
2387 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2388 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2390 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2391 * gdb.base/stack-protector.c: New test.
2392 * gdb.base/stack-protector.exp: New file.
2393 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2394 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2396 (gdb_compile): Remove stack protector for GCC and prevent
2399 2019-01-16 Keith Seitz <keiths@redhat.com>
2402 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2404 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2406 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2408 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2410 * gdb.arch/powerpc-vector-regs.c: New file.
2411 * gdb.arch/powerpc-vector-regs.exp: New file.
2413 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2415 * gdb.arch/altivec-regs.exp: Fix the list passed to
2416 gdb_expect_list when testing "info vector".
2418 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2420 * gdb.base/style.exp: Don't include path in testname.
2422 2019-01-10 Keith Seitz <keiths@redhat.com>
2426 * gdb.dwarf2/multidictionary.exp: New file.
2428 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2430 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2431 (test_gnuv3_style_demangling): ... this.
2432 (test_lucid_style_demangling): Remove.
2433 (test_arm_style_demangling): Remove.
2434 (test_hp_style_demangling): Remove.
2435 (do_tests): Remove calls to the above.
2437 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2439 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2442 2019-01-06 Tom Tromey <tom@tromey.com>
2445 * gdb.dwarf2/typedef-void-finish.exp: New file.
2447 2018-12-28 Tom Tromey <tom@tromey.com>
2448 Simon Marchi <simark@simark.ca>
2450 * gdb.base/jit-exec.exp: New file.
2451 * gdb.base/jit-exec.c: New file.
2452 * gdb.base/jit-execd.c: New file.
2454 2018-12-28 Tom Tromey <tom@tromey.com>
2456 * gdb.base/style.exp: Update test to check for address styling.
2458 2018-12-28 Tom Tromey <tom@tromey.com>
2460 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2463 2018-12-28 Tom Tromey <tom@tromey.com>
2465 * gdb.base/style.exp: Add test for version number styling.
2467 2018-12-28 Tom Tromey <tom@tromey.com>
2469 * gdb.base/style.exp: Add test for print_address_symbolic.
2471 2018-12-28 Tom Tromey <tom@tromey.com>
2473 * gdb.base/style.exp: Add test for breakpoint setting.
2475 2018-12-28 Tom Tromey <tom@tromey.com>
2477 * gdb.base/style.exp: Add test for variable names.
2479 2018-12-28 Tom Tromey <tom@tromey.com>
2481 * gdb.base/style.exp: New file.
2482 * gdb.base/style.c: New file.
2484 2018-12-28 Tom Tromey <tom@tromey.com>
2486 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2488 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2489 the TERM environment variable.
2491 2018-12-27 Tom Tromey <tom@tromey.com>
2493 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2496 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2498 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2499 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2501 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2503 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2504 Filename a.adb changed to bp_fun_addr.adb.
2505 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2507 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2509 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2510 non-PIE executables.
2511 * README: Mention the gdb,nopie_flag board setting.
2512 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2514 * gdb.arch/amd64-entry-value.exp: Likewise.
2515 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2516 * gdb.arch/i386-float.exp: Likewise.
2517 * gdb.arch/i386-signal.exp: Likewise.
2518 * gdb.mi/mi-reg-undefined.exp: Likewise.
2520 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2523 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2525 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2527 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2528 Update order of results accordingly.
2530 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2532 * gdb.base/annota1.exp: Update a test regexp.
2534 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2536 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2538 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2540 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2541 (reuse_time): Initialize to REUSE_TIME_CAP.
2542 (check_rc): New function.
2543 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2544 Check pthread_create rc.
2545 (spawner_thread_func): Check pthread_create and pthread_join rc.
2547 2018-12-08 Pedro Alves <palves@redhat.com>
2549 * gdb.base/list.exp (test_forward_search): Rename to ...
2550 (test_forward_reverse_search): ... this. Also test reverse-search
2551 and the forward-search alias.
2553 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2555 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2556 local timeout variable before return, and remove all local timeout
2558 (gdb_load): Likewise.
2560 2018-12-01 Tom de Vries <tdevries@suse.de>
2562 * gdb.base/gdb-caching-proc.exp: New file.
2564 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2566 * Makefile.in (TIMESTAMP): New variable.
2567 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2569 (check-single-racy): Likewise.
2570 (check/%.exp): Likewise.
2571 (check-racy/%.exp): Likewise.
2572 (workers/%.worker): Likewise.
2573 (build-perf): Likewise.
2574 (check-perf): Likewise.
2575 * README: Describe new "TS" and "TS_FORMAT" variables.
2576 * print-ts.py: New file.
2578 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2581 * gdb.python/python.exp: Test command repetition after
2584 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2586 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2587 is correctly aligned.
2589 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2591 * gdb.ada/info_auto_lang.exp: New testcase.
2592 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2593 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2594 * gdb.ada/info_auto_lang/some_c.c: New file.
2596 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2598 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2599 FUNC_lang language syntax.
2601 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2603 * gdb.base/info_minsym.c: New file.
2604 * gdb.base/info_minsym.exp: New file.
2606 2018-11-19 Tom Tromey <tom@tromey.com>
2609 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2610 * gdb.rust/expr.exp: Update expected output. Change one test.
2612 2018-11-19 Tom Tromey <tom@tromey.com>
2614 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2616 2018-11-19 Pedro Alves <palves@redhat.com>
2618 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2619 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2620 see the expected warning.
2622 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2625 * gdb.cp/infcall-nodebug-lib.c: New test.
2626 * gdb.cp/infcall-nodebug-main.c: New test.
2627 * gdb.cp/infcall-nodebug.exp: New file.
2629 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2631 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2634 2018-11-09 Tom de Vries <tdevries@suse.de>
2636 * gdb.base/msym-lang.c: New test.
2637 * gdb.base/msym-lang.exp: New file.
2638 * gdb.base/msym-lang-main.c: New test.
2640 2018-11-08 Tom Tromey <tom@tromey.com>
2644 * gdb.base/warning.exp: New file.
2646 2018-11-08 Jan Beulich <jbeulich@suse.com>
2648 * testsuite/gdb.arch/i386-avx512.c,
2649 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2651 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2653 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2656 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2658 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2659 * gdb.dwarf2/missing-type-name.exp: New file.
2661 2018-11-06 Tom de Vries <tdevries@suse.de>
2663 * gdb.base/many-headers.c: New test.
2664 * gdb.base/many-headers.exp: New file.
2666 2018-11-06 Jim Wilson <jimw@sifive.com>
2668 * gdb.base/code_elim.exp: For riscv, set additional_flags
2669 to include -msmall-data-limit=0.
2671 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2673 * gdb.ada/watch_minus_l: New testcase.
2675 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2677 * gdb.arch/aix-sighandle.c: New file.
2678 * gdb.arch/aix-sighandle.exp: New file.
2680 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2682 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2683 registers being unions.
2685 2018-10-31 Tom de Vries <tdevries@suse.de>
2687 * lib/valgrind.exp: New file.
2688 (vgdb_start, vgdb_stop): New procs, factored out of ...
2689 * gdb.base/valgrind-bt.exp: ... here, ...
2690 * gdb.base/valgrind-disp-step.exp: ... here and ...
2691 * gdb.base/valgrind-infcall.exp: ... here.
2693 2018-10-31 Tom de Vries <tdevries@suse.de>
2695 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2697 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2699 * gdb.dwarf2/void-type.c: New file.
2700 * gdb.dwarf2/void-type.exp: New file.
2702 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2704 * gdb.base/info_qt.c: New file.
2705 * gdb.base/info_qt.exp: New file.
2707 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2709 * gdb.arch/powerpc-htm-regs.c: New file.
2710 * gdb.arch/powerpc-htm-regs.exp: New file.
2712 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2714 * gdb.arch/powerpc-tar.c: New file.
2715 * gdb.arch/powerpc-tar.exp: New file.
2717 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2719 * gdb.arch/powerpc-ppr-dscr.c: New file.
2720 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2722 2018-10-25 Tom de Vries <tdevries@suse.de>
2724 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2726 2018-10-24 Tom de Vries <tdevries@suse.de>
2728 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2729 longer exists error.
2731 2018-10-24 Tom de Vries <tdevries@suse.de>
2733 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2735 2018-10-24 Tom de Vries <tdevries@suse.de>
2737 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2738 --db-attach in valgrind.
2740 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2742 * gdb.arch/riscv-reg-aliases.c: New file.
2743 * gdb.arch/riscv-reg-aliases.exp: New file.
2745 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2747 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2749 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2751 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2753 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2755 * gdb.cp/ovldbreak.exp: Fix regexps.
2757 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2759 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2761 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2764 * gdb.base/restore.exp: New test to check if "restore" with an
2765 invalid file doesn't segfault.
2767 2018-10-18 Tom de Vries <tdevries@suse.de>
2769 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2770 * gdb.ada/excep_handle.exp: Same.
2771 * gdb.ada/mi_string_access.exp: Same.
2772 * gdb.ada/mi_var_union.exp: Same.
2773 * gdb.arch/arc-analyze-prologue.exp: Same.
2774 * gdb.arch/arc-decode-insn.exp: Same.
2775 * gdb.base/readnever.exp: Same.
2776 * gdb.fortran/printing-types.exp: Same.
2777 * gdb.guile/scm-lazy-string.exp: Same.
2779 2018-10-16 Tom de Vries <tdevries@suse.de>
2782 * gdb.base/catch-follow-exec.c: Add copyright notice.
2783 * gdb.base/catch-follow-exec.exp: Rewrite to use
2784 gdb_spawn_with_cmdline_opts. Require gdb-native.
2786 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2788 * gdb.trace/actions-changed.exp: Check for arch support.
2789 * gdb.trace/actions.exp: Likewise.
2790 * gdb.trace/ax.exp: Likewise.
2791 * gdb.trace/backtrace.exp: Likewise.
2792 * gdb.trace/change-loc.exp: Likewise.
2793 * gdb.trace/deltrace.exp: Likewise.
2794 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2795 * gdb.trace/ftrace.exp: Likewise.
2796 * gdb.trace/infotrace.exp: Check for arch support.
2797 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2798 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2799 * gdb.trace/mi-tsv-changed.exp: Likewise.
2800 * gdb.trace/packetlen.exp: Likewise.
2801 * gdb.trace/passc-dyn.exp: Likewise.
2802 * gdb.trace/passcount.exp: Likewise.
2803 * gdb.trace/pending.exp: Likewise.
2804 * gdb.trace/range-stepping.exp: Check for shlib support.
2805 * gdb.trace/report.exp: Check for arch support.
2806 * gdb.trace/save-trace.exp: Likewise.
2807 * gdb.trace/signal.exp: Check for signal support.
2808 * gdb.trace/tfind.exp: Check for arch support.
2809 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2810 * gdb.trace/trace-common.h: Add comment.
2811 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2812 * gdb.trace/trace-enable-disable.exp: Likewise.
2813 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2814 * gdb.trace/tracecmd.exp: Check for arch support.
2815 * gdb.trace/tspeed.exp: Check for shlib and target support.
2816 * gdb.trace/tstatus.exp: Check for arch support.
2817 * gdb.trace/tsv.exp: Likewise.
2818 * gdb.trace/while-dyn.exp: Likewise.
2819 * gdb.trace/while-stepping.exp: Likewise.
2820 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2822 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2824 * gdb.trace/tspeed.exp: Remove nowarnings.
2825 (prepare_for_trace_test): Declare "global ipalib".
2826 * gdb.trace/tspeed.c: Include unistd.h.
2827 (main): Remove superfluous printf argument.
2829 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2831 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2832 directory prefix on the filename.
2834 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2836 * gdb.gdb/unittest.exp: Update expected message informing that
2837 selftests have been disabled.
2838 * gdb.server/unittest.exp: Likewise.
2840 2018-10-09 Tom de Vries <tdevries@suse.de>
2842 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2845 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2848 * gdb.cp/virtbase2.cc: New file.
2849 * gdb.cp/virtbase2.exp: New file.
2851 2018-10-06 Tom Tromey <tom@tromey.com>
2854 * gdb.python/py-inferior.exp: Add architecture test.
2856 2018-10-06 Tom Tromey <tom@tromey.com>
2858 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2859 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2861 2018-10-06 Tom Tromey <tom@tromey.com>
2863 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2864 of a "throw" catchpoint.
2866 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2868 * gdb.base/info-proc.exp: Update string expected from "help info
2871 2018-10-04 Tom Tromey <tom@tromey.com>
2873 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2874 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2875 (test_initial_complaints, test_empty_complaints): Update.
2876 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2878 2018-10-04 Tom Tromey <tom@tromey.com>
2881 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2882 * lib/gdb.exp (gdb_file_cmd): Update.
2883 * gdb.stabs/weird.exp (print_weird_var): Update.
2884 * gdb.server/solib-list.exp: Update.
2885 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2886 * gdb.mi/mi-cli.exp: Update.
2887 * gdb.linespec/linespec.exp: Update.
2888 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2889 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2890 * gdb.cp/cp-relocate.exp: Update.
2891 * gdb.base/sym-file.exp: Update.
2892 * gdb.base/relocate.exp: Update.
2893 * gdb.base/readnever.exp: Update.
2894 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2895 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2896 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2897 * gdb.base/code_elim.exp: Update.
2898 * gdb.base/break-unload-file.exp (test_break): Update.
2899 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2900 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2902 * gdb.base/attach.exp (do_attach_tests): Update.
2903 * gdb.base/sepdebug.exp: Update.
2904 * gdb.python/py-section-script.exp: Update.
2906 2018-10-04 Tom Tromey <tom@tromey.com>
2909 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2910 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2913 2018-10-04 Tom Tromey <tom@tromey.com>
2915 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2916 set width and height to 0.
2917 (test_command_line_attach_run): Use -quiet.
2919 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2921 * lib/gdb.exp (skip_ifunc_tests): New.
2922 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2923 other compile failures.
2924 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2926 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2928 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2929 is_amd64_regs_target.
2931 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2933 * gdb.arch/aarch64-sighandler-regs.c: New test.
2934 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2935 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2937 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2939 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2942 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2944 * gdb.base/frame-selection.exp: New file.
2945 * gdb.base/frame-selection.c: New file.
2947 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2949 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2953 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2955 * gdb.base/large-frame-1.c: New file.
2956 * gdb.base/large-frame-2.c: New file.
2957 * gdb.base/large-frame.exp: New file.
2958 * gdb.base/large-frame.h: New file.
2960 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2963 * gdb.base/write_mem.exp: New test.
2964 * gdb.base/write_mem.c: Likewise.
2966 2018-09-23 Tom Tromey <tom@tromey.com>
2969 * gdb.python/py-parameter.exp: Add test for parameter that throws
2972 2018-09-23 Tom Tromey <tom@tromey.com>
2975 * gdb.python/py-template.exp (test_template_arg): Add test for
2976 negative template argument number.
2978 2018-09-23 Tom Tromey <tom@tromey.com>
2981 * gdb.python/python.exp: Add test for post_event error.
2983 2018-09-23 Tom Tromey <tom@tromey.com>
2986 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2987 convert pointers to int and long.
2989 2018-09-23 Tom Tromey <tom@tromey.com>
2992 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2993 signed-ness conversion tests.
2995 2018-09-23 Tom Tromey <tom@tromey.com>
2998 * gdb.python/py-value.exp (test_float_conversion): New proc.
3001 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3003 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3005 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3007 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3009 * gdb.base/utf8-identifiers.exp: Likewise.
3010 * gdb.cp/cpcompletion.exp: Likewise.
3011 * gdb.linespec/cpcompletion.exp: Likewise.
3012 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3013 * gdb.linespec/cpls-ops.exp: Likewise.
3015 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3016 Chris January <chris.january@arm.com>
3018 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3019 * gdb.fortran/short-circuit-argument-list.exp: New file.
3020 * gdb.fortran/short-circuit-argument-list.f90: New test.
3022 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3024 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3025 "arch=" keyword when executing "-stack-list-frames".
3027 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3029 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3030 "arch=" keyword when executing "-stack-list-frames".
3032 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3034 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3037 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3040 * gdb.python/python.exp: Test gdb.execute("show commands").
3042 2018-09-16 Tom Tromey <tom@tromey.com>
3044 * gdb.base/new-ui.exp (do_execution_tests): Update.
3045 * gdb.base/dbx.exp (test_breakpoints): Update.
3047 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3049 * lib/gdb.exp (gdb_simple_compile): Add proc.
3050 (is_elf_target): Use gdb_simple_compile.
3051 (skip_altivec_tests): Likewise.
3052 (skip_vsx_tests): Likewise.
3053 (skip_tsx_tests): Likewise.
3054 (skip_btrace_tests): Likewise.
3055 (skip_btrace_pt_tests): Likewise.
3056 (gdb_can_simple_compile): Likewise.
3057 (gdb_has_argv0): Likewise.
3058 (gdb_target_symbol_prefix): Likewise.
3059 (target_supports_scheduler_locking): Likewise.
3061 2018-09-13 Tom Tromey <tom@tromey.com>
3063 * Makefile.in (TAGS): Recognize proc_with_prefix and
3066 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3068 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3071 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3073 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3074 and a few other Inferior properties when the Inferior is no
3077 2018-09-13 Tom Tromey <tom@tromey.com>
3080 * gdb.rust/simple.exp: Add test for enum field access error.
3082 2018-09-13 Tom Tromey <tom@tromey.com>
3085 * gdb.rust/simple.rs (EmptyEnum): New type.
3087 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3089 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3091 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3092 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3093 * gdb.python/py-symtab.exp: Update test printing an objfile.
3095 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3097 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3100 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3102 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3103 (support_complex_tests): Use gdb_can_simple_compile.
3104 (is_ilp32_target): Likewise.
3105 (is_lp64_target): Likewise.
3106 (is_64_target): Likewise.
3107 (is_amd64_regs_target): Likewise.
3108 (is_aarch32_target): Likewise.
3109 (gdb_int128_helper): Likewise.
3111 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3113 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3115 2018-09-10 Jerome Guitton <guitton@adacore.com>
3117 * gdb.ada/same_component_name: Add test for case of tagged record
3118 with variable-length fields.
3120 2018-09-10 Xavier Roirand <roirand@adacore.com>
3122 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3123 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3124 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3125 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3127 2018-09-10 Xavier Roirand <roirand@adacore.com>
3129 * gdb.ada/mi_string_access.exp: New testcase.
3130 * gdb.ada/mi_string_access/bar.adb: New file.
3131 * gdb.ada/mi_string_access/pck.adb: New file.
3132 * gdb.ada/mi_string_access/pck.asd: New file.
3134 2018-09-10 Xavier Roirand <roirand@adacore.com>
3136 * gdb.ada/mi_var_union.exp: New testcase.
3137 * gdb.ada/mi_var_union/bar.adb: New file.
3138 * gdb.ada/mi_var_union/pck.adb: New file.
3139 * gdb.ada/mi_var_union/pck.asd: New file.
3141 2018-09-08 Tom Tromey <tom@tromey.com>
3143 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3145 2018-09-08 Tom Tromey <tom@tromey.com>
3148 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3149 (register_pretty_printers): Register new printer.
3150 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3152 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3153 (an_int_type3): New global.
3155 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3157 * gdb.ada/expr_with_funcall: New testcase.
3159 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3161 * gdb.ada/packed_array_assign: New testcase.
3163 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3165 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3166 names, and add test prefixes to make test names unique.
3168 2018-09-05 Tom de Vries <tdevries@suse.de>
3170 * gdb.dwarf2/varval.exp: Add test.
3172 2018-09-04 Gary Benson <gbenson@redhat.com>
3174 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3175 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3177 2018-08-31 Tom Tromey <tom@tromey.com>
3179 * gdb.rust/simple.rs: Rename second variable "v".
3181 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3183 * gdb.base/funcargs.c (use_a): New function.
3184 (recurse): Call use_a.
3186 2018-08-29 Keith Seitz <keiths@redhat.com>
3188 * gdb.compile/compile-cplus-anonymous.cc: New file.
3189 * gdb.compile/compile-cplus-anonymous.exp: New file.
3190 * gdb.compile/compile-cplus-array-decay.cc: New file.
3191 * gdb.compile/compile-cplus-array-decay.exp: New file.
3192 * gdb.compile/compile-cplus-inherit.cc: New file.
3193 * gdb.compile/compile-cplus-inherit.exp: New file.
3194 * gdb.compile/compile-cplus-member.cc: New file.
3195 * gdb.compile/compile-cplus-member.exp: New file.
3196 * gdb.compile/compile-cplus-method.cc: New file.
3197 * gdb.compile/compile-cplus-method.exp: New file.
3198 * gdb.compile/compile-cplus-mod.c: "New" file.
3199 * gdb.compile/compile-cplus-namespace.cc: New file.
3200 * gdb.compile/compile-cplus-namespace.exp: New file.
3201 * gdb.compile/compile-cplus-nested.cc: New file.
3202 * gdb.compile/compile-cplus-nested.exp: New file.
3203 * gdb.compile/compile-cplus-print.c: "New" file.
3204 * gdb.compile/compile-cplus-print.exp: "New" file.
3205 * gdb.compile/compile-cplus-virtual.cc: New file.
3206 * gdb.compile/compile-cplus-virtual.exp: New file.
3207 * gdb.compile/compile-cplus.c: "New" file.
3208 * gdb.compile/compile-cplus.exp: "New" file.
3209 * lib/compile-support.exp: New file.
3211 2018-08-16 Gary Benson <gbenson@redhat.com>
3214 * gdb.base/batch-exit-status.exp: New file.
3215 * gdb.base/batch-exit-status.good-commands: Likewise.
3216 * gdb.base/batch-exit-status.bad-commands: Likewise.
3218 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3220 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3221 (struct struct02): Likewise.
3222 (struct struct03): Likewise.
3223 (struct struct04): Likewise.
3224 (struct struct_01_01): New struct.
3225 (struct struct_01_02): Likewise.
3226 (struct struct_01_03): Likewise.
3227 (struct struct_01_04): Likewise.
3228 (struct struct_02_01): Likewise.
3229 (struct struct_02_02): Likewise.
3230 (struct struct_02_03): Likewise.
3231 (struct struct_02_04): Likewise.
3232 (struct struct_04_01): Likewise.
3233 (struct struct_04_02): Likewise.
3234 (struct struct_04_03): Likewise.
3235 (struct struct_04_04): Likewise.
3236 (struct struct_05_01): Likewise.
3237 (struct struct_05_02): Likewise.
3238 (struct struct_05_03): Likewise.
3239 (struct struct_05_04): Likewise.
3240 (cmp_struct01): Remove function.
3241 (cmp_struct02): Likewise.
3242 (cmp_struct03): Likewise.
3243 (cmp_struct04): Likewise.
3244 (cmp_struct_01_01): Add Function.
3245 (cmp_struct_01_02): Likewise.
3246 (cmp_struct_01_03): Likewise.
3247 (cmp_struct_01_04): Likewise.
3248 (cmp_struct_02_01): Likewise.
3249 (cmp_struct_02_02): Likewise.
3250 (cmp_struct_02_03): Likewise.
3251 (cmp_struct_02_04): Likewise.
3252 (cmp_struct_04_01): Likewise.
3253 (cmp_struct_04_02): Likewise.
3254 (cmp_struct_04_03): Likewise.
3255 (cmp_struct_04_04): Likewise.
3256 (cmp_struct_05_01): Likewise.
3257 (cmp_struct_05_02): Likewise.
3258 (cmp_struct_05_03): Likewise.
3259 (cmp_struct_05_04): Likewise.
3260 (call_all): Add new structs.
3261 * gdb.base/infcall-nested-structs.exp: Likewise.
3263 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3265 * gdb.python/py-framefilter-mi.exp: Update regexp to
3266 check for "arch" field in frame output.
3268 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3270 * gdb.dwarf2/dw2-ranges-func.c: New file.
3271 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3273 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3275 * gdb.base/term.exp: Compare terminal settings with values from
3277 * gdb.base/term.c: Get and set terminal settings.
3279 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3281 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3282 accommodate new "arch" field in frame output.
3283 * gdb.mi/mi-return.exp: Likewise.
3284 * gdb.mi/mi-stack.exp: Likewise.
3285 * gdb.mi/mi-syn-frame.exp: Likewise.
3286 * gdb.mi/user-selected-context-sync.exp: Likewise.
3288 2018-08-19 Michael Spang <spang@google.com>
3291 * gdb.base/gcore-tls-pie.c: New file.
3292 * gdb.base/gcore-tls-pie.exp: New file.
3294 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3296 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3297 * gdb.dwarf2/varval.c: New file.
3298 * gdb.dwarf2/varval.exp: New file.
3300 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3303 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3305 2018-08-16 Keith Seitz <keiths@redhat.com>
3307 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3308 tests expected to pass.
3310 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3312 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3313 -data-disassemble -a.
3314 (test_disassembly_bogus_args): Likewise.
3316 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3318 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3320 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3322 * gdb.base/vla-optimized-out.exp: Add new test.
3324 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3326 * gdb.base/vla-optimized-out-o3.exp: Delete.
3327 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3328 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3331 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3334 * gdb.server/extended-remote-restart.c: New file.
3335 * gdb.server/extended-remote-restart.exp: New file.
3337 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3339 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3340 "set variable index = 42".
3342 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3344 * boards/index-cache-gdb.exp: New file.
3345 * gdb.dwarf2/index-cache.exp: New file.
3346 * gdb.dwarf2/index-cache.c: New file.
3347 * gdb.base/maint.exp: Check if we are using the index cache.
3349 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3351 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3354 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3356 * dg-extract-results.sh: Move to toplevel contrib.
3357 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3358 * Makefile.in (check-parallel-racy): Likewise.
3360 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3362 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3363 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3364 tests if the target supports scheduler locking.
3366 2018-08-04 Tom de Vries <tdevries@suse.de>
3368 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3370 2018-08-02 Tom Tromey <tom@tromey.com>
3373 * gdb.cp/temargs.exp: Test "info address" of a template
3376 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3378 * gdb.python/py-mi-var-info-path-expression.c: New file.
3379 * gdb.python/py-mi-var-info-path-expression.py: New file.
3380 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3382 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3384 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3385 error after "cannot resolve name" string.
3387 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3389 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3391 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3393 2018-07-28 Tom de Vries <tdevries@suse.de>
3395 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3397 2018-07-26 Tom de Vries <tdevries@suse.de>
3399 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3401 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3403 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3406 2018-07-26 Tom de Vries <tdevries@suse.de>
3408 PR breakpoints/23366
3409 * gdb.base/catch-follow-exec.c: New test.
3410 * gdb.base/catch-follow-exec.exp: New file.
3412 2018-07-25 Tom de Vries <tdevries@suse.de>
3414 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3415 vla-optimized-out.c.
3417 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3419 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3420 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3422 2018-07-20 Tom de Vries <tdevries@suse.de>
3424 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3426 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3428 2018-07-19 Tom de Vries <tdevries@suse.de>
3430 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3433 2018-07-18 Tom de Vries <tdevries@suse.de>
3435 * gdb.base/vla-optimized-out.c: New test.
3436 * gdb.base/vla-optimized-out.exp: New file.
3438 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3440 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3441 message "No address associated with hostname" when gdbserver
3442 cannot resolve the hostname.
3444 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3446 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3447 Add some test prefixes to make tests unique.
3449 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3451 * gdb.base/frameapply.c: New file.
3452 * gdb.base/frameapply.exp: New file.
3454 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3456 * gdb.base/skip.exp: Update expected error message.
3458 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3459 Jan Kratochvil <jan.kratochvil@redhat.com>
3460 Paul Fertser <fercerpav@gmail.com>
3461 Tsutomu Seki <sekiriki@gmail.com>
3463 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3465 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3467 * boards/native-gdbserver.exp: Likewise.
3468 * gdb.server/run-without-local-binary.exp: Improve regexp used
3469 for detecting when a remote debugging connection succeeds.
3470 * gdb.server/server-connect.exp: New file.
3471 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3472 Do not prefix the port number with ":".
3473 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3474 support for detecting and using it. Add '$debughost_gdbserver'
3475 to the list of arguments used to start gdbserver. Handle case
3476 when gdbserver cannot resolve a network name.
3478 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3481 * gdb.base/ptype-offsets.cc (struct static_member): New
3483 (main) <stmember>: New variable.
3484 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3485 with a static member in it.
3487 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3489 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3490 watchpoints enabled and disabled.
3492 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3494 * gdb.base/examine-backward.exp: Still run tests around address
3495 0x0, even if address 0x0 is not readable. Update the pattern for
3496 matching address 0x0 in expected output.
3498 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3500 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3503 2018-07-04 Tom de Vries <tdevries@suse.de>
3505 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3507 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3510 * gdb.arch/mips-disassembler-options.exp: New test.
3511 * gdb.arch/mips-disassembler-options.s: New test source.
3513 2018-06-29 Pedro Alves <palves@redhat.com>
3515 * gdb.threads/names.exp: Adjust expected "info threads" output.
3517 2018-06-29 Pedro Alves <palves@redhat.com>
3519 * gdb.opt/inline-break.exp (line number, address): Add "info
3522 2018-06-29 Pedro Alves <palves@redhat.com>
3524 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3525 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3526 number and address and running to them.
3528 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3530 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3532 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3534 * lib/compiler.c: Remove executable permission flag.
3536 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3538 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3540 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3542 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3544 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3546 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3548 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3549 address argument is omitted.
3551 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3553 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3555 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3558 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3559 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3561 2018-06-26 Tom Tromey <tom@tromey.com>
3564 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3565 * gdb.rust/simple.rs (struct SimpleLayout): New.
3567 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3569 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3570 "info registers" output.
3572 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3574 * gdb.base/watchpoint-hw-attach.c: New test.
3575 * gdb.base/watchpoint-hw-attach.exp: New file.
3577 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3579 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3581 * boards/dwarf4-gdb-index.exp: Likewise.
3582 * boards/fission-dwp.exp: Likewise.
3584 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3586 * gdb.base/float128.exp: Add comment and improved fail message
3587 to the failure case of "print large128" test.
3589 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3591 * configure.ac: Remove AC_PREREQ.
3592 * configure: Re-generate.
3594 2018-06-19 Pedro Alves <palves@redhat.com>
3596 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3597 (func_extern_caller): New.
3598 (main): Call func_extern_caller.
3599 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3602 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3605 * gdb.cp/typedef-base.cc: New file.
3606 * gdb.cp/typedef-base.exp: New file.
3608 2018-06-18 Tom de Vries <tdevries@suse.de>
3610 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3612 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3613 Richard Bunt <Richard.Bunt@arm.com>
3615 * gdb.threads/attach-slow-waitpid.c: New file.
3616 * gdb.threads/attach-slow-waitpid.exp: New file.
3617 * gdb.threads/slow-waitpid.c: New file.
3619 2018-06-14 Pedro Alves <palves@redhat.com>
3621 * gdb.base/fork-running-state.c: Include <errno.h>.
3622 (exit_if_relative_exits): New.
3623 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3625 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3628 2018-06-14 Tom de Vries <tdevries@suse.de>
3631 * gdb.base/finish-pretty.c: New test.
3632 * gdb.base/finish-pretty.exp: New file.
3634 2018-06-14 Pedro Alves <palves@redhat.com>
3636 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3637 gdb's expected startup output.
3639 2018-06-14 Pedro Alves <palves@redhat.com>
3641 * lib/selftest-support.exp (selftest_setup): Remove inlined
3644 2018-06-14 Tom de Vries <tdevries@suse.de>
3646 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3647 matching of breakpoint printing.
3649 2018-06-13 Tom de Vries <tdevries@suse.de>
3652 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3653 (fork_child): ... here, and ...
3654 (fork_parent): ... here.
3656 2018-06-12 Tom de Vries <tdevries@suse.de>
3658 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3660 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3661 Stephen Roberts <stephen.roberts@arm.com>
3663 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3664 rewrite test to describe action performed, rather than possible
3667 2018-06-08 Gary Benson <gbenson@redhat.com>
3669 * gdb.threads/check-libthread-db.exp: New file.
3670 * gdb.threads/check-libthread-db.c: Likewise.
3672 2018-06-05 Tom Tromey <tom@tromey.com>
3674 * gdb.base/default.exp: Update expected "show version" output.
3676 2018-06-05 Tom Tromey <tom@tromey.com>
3679 * gdb.cp/static-print-quit.exp: Update.
3680 * lib/gdb.exp (pagination_prompt): Update.
3681 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3682 * gdb.python/python.exp: Update.
3684 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3686 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3688 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3690 * gdb.ada/bp_fun_addr: New testcase.
3692 2018-06-01 Tom Tromey <tom@tromey.com>
3694 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3696 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3697 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3698 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3699 * gdb.base/maint.exp (maint_pass_if): Update.
3701 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3703 * gdb.base/endian.exp: New test.
3704 * gdb.base/endian.c: New test source.
3706 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3709 * gdb.base/bt-selected-frame.c: New file.
3710 * gdb.base/bt-selected-frame.exp: New file.
3711 * lib/gdb.exp (get_current_frame_number): New function.
3713 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3714 Pedro Alves <palves@redhat.com>
3716 * gdb.threads/tls-core.c: Include <stdlib.h>
3717 (thread_proc): Call `abort'.
3718 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3719 (tls_core_test): New procedure, bits factored out from ...
3720 (top level): ... here. Test both native cores and gcore cores.
3722 2018-05-23 Tom Tromey <tom@tromey.com>
3724 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3726 2018-05-23 Tom Tromey <tom@tromey.com>
3728 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3730 (test_short_complaints): Likewise.
3731 (test_empty_complaints): Likewise.
3732 (test_initial_complaints): Update.
3734 2018-05-23 Tom Tromey <tom@tromey.com>
3736 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3738 2018-05-23 Tom Tromey <tom@tromey.com>
3740 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3741 (test_short_complaints): Update.
3743 2018-05-22 Pedro Alves <palves@redhat.com>
3745 * gdb.base/remote.exp: Only gdb_start after compiling the
3746 testcase. Issue "disconnect" before testing "set remote" command
3747 defaults. Issue clean_restart before running to main.
3749 2018-05-22 Pedro Alves <palves@redhat.com>
3751 * gdb.base/remote.exp: Adjust expected output of "show remote
3752 memory-write-packet-size". Add tests for "set remote
3753 memory-write-packet-size 0" and "set remote
3754 memory-write-packet-size fixed/limit".
3756 2018-05-22 Pedro Alves <palves@redhat.com>
3759 * gdb.base/utf8-identifiers.c: New file.
3760 * gdb.base/utf8-identifiers.exp: New file.
3762 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3764 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3766 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3768 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3770 2018-05-18 Tom Tromey <tom@tromey.com>
3772 * gdb.base/ptype-offsets.exp: Update.
3774 2018-05-17 Keith Seitz <keiths@redhat.com>
3776 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3777 in expected breakpoint stop locations.
3778 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3779 move to proper scope to test variable values.
3780 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3781 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3783 (main): Call not_inline_func3.
3784 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3785 inline_func1, inline_func2, and inline_func3. Test that when each
3786 breakpoint is hit, GDB properly reports both the stop location
3787 and the backtrace. Repeat tests for temporary breakpoints.
3789 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3791 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3792 rather then trying to access it in determining whether the PID
3793 of `gdbserver' could have been retrieved.
3795 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3797 * gdb.arch/amd64-init-x87-values.S: New file.
3798 * gdb.arch/amd64-init-x87-values.exp: New file.
3800 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3802 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3804 2018-05-04 Tom Tromey <tom@tromey.com>
3807 * gdb.python/python.exp: Test multi-line execute.
3809 2018-05-04 Tom Tromey <tom@tromey.com>
3812 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3814 2018-05-04 Tom Tromey <tom@tromey.com>
3817 * gdb.base/define.exp: Test defining a user command inside a user
3819 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3821 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3822 Pedro Alves <palves@redhat.com>
3824 PR breakpoints/19806 and support for PR external/20207.
3825 * gdb.base/watchpoint-unaligned.c: New file.
3826 * gdb.base/watchpoint-unaligned.exp: New file.
3828 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3830 * gdb.base/maint.exp: Make test names unique, use
3831 test_prefix_command_help to test 'help maint info', and remove
3832 repeated test of 'help maint'.
3834 2018-05-04 Tom Tromey <tom@tromey.com>
3837 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3840 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3842 * gdb.base/maint.exp: Process output from 'maint print registers'
3845 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3847 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3850 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3852 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3855 2018-05-02 Pedro Alves <palves@redhat.com>
3857 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3858 to_log_command renames.
3859 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3861 2018-05-02 Tom Tromey <tom@tromey.com>
3863 * gdb.python/py-parameter.exp: Set test message.
3865 2018-05-02 Tom Tromey <tom@tromey.com>
3868 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3869 PARAM_ZUINTEGER_UNLIMITED tests.
3871 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3874 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3877 2018-04-30 Tom Tromey <tom@tromey.com>
3879 * gdb.python/py-type.exp: Check align attribute.
3880 * gdb.python/py-type.c: New "aligncheck" global.
3882 2018-04-30 Tom Tromey <tom@tromey.com>
3885 * gdb.dwarf2/dw2-align.exp: New file.
3886 * gdb.cp/align.exp: New file.
3887 * gdb.base/align.exp: New file.
3888 * lib/gdb.exp (gdb_int128_helper): New proc.
3889 (has_int128_c, has_int128_cxx): New caching procs.
3891 2018-04-27 Tom Tromey <tom@tromey.com>
3894 * gdb.rust/simple.exp: Add inclusive range tests.
3896 2018-04-26 Pedro Alves <palves@redhat.com>
3898 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3899 ifunc breakpoint locations correctly of ifunc breakpoints set
3900 while the program resolves the ifunc.
3902 2018-04-26 Pedro Alves <palves@redhat.com>
3904 * gdb.base/gnu-ifunc-final.c: New file.
3905 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3906 * gdb.base/gnu-ifunc.exp (executable): Delete.
3907 (staticexecutable): Adjust.
3908 (lib_opts, exec_opts): Delete.
3909 (make_binsuffix, build, set-break): New procedures.
3910 (misc_tests): New, with tests factored out from the top level.
3911 (top level): Test different combinations of ifunc resolver name,
3912 resolver with and with debug info, and ifunc target with and
3913 without debug info. Wrap static tests with with_target_prefix.
3915 2018-04-26 Pedro Alves <palves@redhat.com>
3917 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3918 return type" warnings.
3920 2018-04-25 Pedro Alves <palves@redhat.com>
3922 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3924 * gdb.base/kill-after-signal.exp: Likewise.
3925 * gdb.threads/kill.exp: Likewise.
3927 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3928 Sergio Durigan Junior <sergiodj@redhat.com>
3929 Pedro Alves <palves@redhat.com>
3931 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3932 regexps to expect for '[Inferior ... detached]' as well.
3933 * gdb.base/attach.exp: Likewise.
3934 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3935 "gdb_continue_to_end".
3936 (test_catch_syscall_with_wrong_args): Likewise.
3937 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3938 ']'. Don't set 'verbose' on.
3939 * gdb.base/foll-vfork.exp: Likewise.
3940 * gdb.base/fork-print-inferior-events.c: New file.
3941 * gdb.base/fork-print-inferior-events.exp: New file.
3942 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3943 '[Inferior ... has been killed]' message.
3944 * gdb.base/kill-after-signal.exp: Likewise.
3945 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3947 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3949 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3950 regexps to expect for '[Inferior ... detached]' as well.
3951 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3953 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3956 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3958 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3960 * gdb.threads/multiple-successive-infcall.c: New test.
3961 * gdb.threads/multiple-successive-infcall.exp: New file.
3963 2018-04-17 Tom Tromey <tom@tromey.com>
3965 * gdb.rust/simple.rs (Union): New type.
3966 (main): New local "u".
3967 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3969 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3971 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3972 number information in output of "whereis" command.
3973 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3975 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3977 * gdb.ada/info_types.exp: Adjust expected output to the line
3978 numbers now printed by "info var/func/type".
3979 * gdb.base/completion.exp: Likewise.
3980 * gdb.base/included.exp: Likewise.
3981 * gdb.cp/cp-relocate.exp: Likewise.
3982 * gdb.cp/cplusfuncs.exp: Likewise.
3983 * gdb.cp/namespace.exp: Likewise.
3984 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3986 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3988 * gdb.btrace/cpu.exp: New.
3990 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3992 * gdb.base/step-indirect-call-thunk.exp: New.
3993 * gdb.base/step-indirect-call-thunk.c: New.
3994 * gdb.reverse/step-indirect-call-thunk.exp: New.
3995 * gdb.reverse/step-indirect-call-thunk.c: New.
3997 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3999 * gdb.base/pie-fork.c: New file.
4000 * gdb.base/pie-fork.exp: New file.
4002 2018-04-11 Tom Tromey <tom@tromey.com>
4004 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4006 2018-04-10 Pedro Alves <palves@redhat.com>
4008 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4009 exits. Instead loop running forever.
4010 (fork_parent): Run forever too.
4012 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4014 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4015 mi_continue_to_line.
4016 * gdb.mi/mi-stack.c (callee4): Add comment.
4018 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4020 * gdb.mi/mi-stack.exp: Fix indentation.
4022 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4025 * gdb.arch/amd64-osabi.exp: New file.
4027 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4030 * gdb.base/osabi.exp: New file.
4032 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4034 * gdb.cp/static-typedef-print.exp: New file.
4035 * gdb.cp/static-typedef-print.cc: New file.
4037 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4039 * gdb.ada/varsize_limit: New testcase.
4041 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4043 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4045 * gdb.ada/notcplusplus: New testcase.
4047 * gdb.base/c-linkage-name.c: New file.
4048 * gdb.base/c-linkage-name.exp: New testcase.
4050 2018-03-26 Tom Tromey <tom@tromey.com>
4052 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4053 * gdb.python/py-framefilter.py (name_error): New global.
4054 (ErrorInName.function): Use name_error.
4056 2018-03-26 Tom Tromey <tom@tromey.com>
4059 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4061 2018-03-23 Keith Seitz <keiths@redhat.com>
4064 * gdb.cp/subtypes.exp: New file.
4065 * gdb.cp/subtypes.h: New file.
4066 * gdb.cp/subtypes.cc: New file.
4067 * gdb.cp/subtypes-2.cc: New file.
4069 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4071 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4072 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4073 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4074 -nostartfiles when compiling the test. Confirm that all registers
4075 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4077 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4079 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4080 option, syntax was wrong anyway.
4081 * gdb.arch/arm-disp-step.exp: Likewise.
4082 * gdb.arch/sparc64-regs.exp: Likewise.
4083 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4084 option, syntax was wrong anyway, switch to use
4085 prepare_for_testing.
4086 * gdb.arch/i386-disp-step.exp: Likewise.
4088 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4090 * gdb.ada/exec_changed.exp: Replace "target_info exists
4091 use_gdb_stub" by "use_gdb_stub".
4092 * gdb.ada/start.exp: Likewise.
4093 * gdb.base/async-shell.exp: Likewise.
4094 * gdb.base/attach-pie-misread.exp: Likewise.
4095 * gdb.base/attach-wait-input.exp: Likewise.
4096 * gdb.base/break-entry.exp: Likewise.
4097 * gdb.base/break-interp.exp: Likewise.
4098 * gdb.base/dprintf-detach.exp: Likewise.
4099 * gdb.base/nostdlib.exp: Likewise.
4100 * gdb.base/solib-nodir.exp: Likewise.
4101 * gdb.base/statistics.exp: Likewise.
4102 * gdb.base/testenv.exp: Likewise.
4103 * gdb.mi/mi-exec-run.exp: Likewise.
4104 * gdb.mi/mi-start.exp: Likewise.
4105 * gdb.multi/dummy-frame-restore.exp: Likewise.
4106 * gdb.multi/multi-arch-exec.exp: Likewise.
4107 * gdb.multi/multi-arch.exp: Likewise.
4108 * gdb.multi/tids.exp: Likewise.
4109 * gdb.multi/watchpoint-multi.exp: Likewise.
4110 * gdb.python/py-events.exp: Likewise.
4111 * gdb.threads/attach-into-signal.exp: Likewise.
4112 * gdb.threads/attach-stopped.exp: Likewise.
4113 * gdb.threads/threadapply.exp: Likewise.
4114 * lib/selftest-support.exp: Likewise.
4116 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4118 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4120 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4122 * gdb.perf/template-breakpoints.cc: New file.
4123 * gdb.perf/template-breakpoints.exp: New file.
4124 * gdb.perf/template-breakpoints.py: New file.
4126 2018-03-19 Tom Tromey <tom@tromey.com>
4128 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4130 * gdb.rust/simple.exp: Test bare identifier form of struct
4133 2018-03-19 Tom Tromey <tom@tromey.com>
4135 * gdb.gdb/observer.exp: Remove.
4137 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4139 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4140 "qualified" option when setting breakpoints.
4141 * gdb.trace/backtrace.exp: Likewise.
4142 * gdb.trace/circ.exp: Likewise.
4143 * gdb.trace/collection.exp: Likewise.
4144 * gdb.trace/disconnected-tracing.exp: Likewise.
4145 * gdb.trace/ftrace-lock.exp: Likewise.
4146 * gdb.trace/ftrace.exp: Likewise.
4147 * gdb.trace/infotrace.exp: Likewise.
4148 * gdb.trace/packetlen.exp: Likewise.
4149 * gdb.trace/passc-dyn.exp: Likewise.
4150 * gdb.trace/qtro.exp: Likewise.
4151 * gdb.trace/read-memory.exp: Likewise.
4152 * gdb.trace/report.exp: Likewise.
4153 * gdb.trace/signal.exp: Likewise.
4154 * gdb.trace/status-stop.exp: Likewise.
4155 * gdb.trace/strace.exp: Likewise.
4156 * gdb.trace/tfind.exp: Likewise.
4157 * gdb.trace/trace-break.exp: Likewise.
4158 * gdb.trace/trace-condition.exp: Likewise.
4159 * gdb.trace/trace-mt.exp: Likewise.
4160 * gdb.trace/tstatus.exp: Likewise.
4161 * gdb.trace/tsv.exp: Likewise.
4162 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4163 * gdb.trace/unavailable.exp: Likewise.
4164 * gdb.trace/while-dyn.exp: Likewise.
4166 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4168 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4169 that libinproctrace is copied to the target.
4171 2018-03-14 Tom Tromey <tom@tromey.com>
4174 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4176 * gdb.base/wchar.exp: Likewise.
4178 2018-03-14 Tom Tromey <tom@tromey.com>
4181 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4184 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4187 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4188 "target" to remote_exec.
4190 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4193 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4194 ${board}_upload): Remove.
4196 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4198 * gdb.cp/watch-cp.cc: New test.
4199 * gdb.cp/watch-cp.exp: New file.
4201 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4203 * gdb.base/infcall-nested-structs.exp: New file.
4204 * gdb.base/infcall-nested-structs.c: New file.
4205 * gdb.base/float.exp: Add riscv support.
4207 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4209 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4210 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4212 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4214 * gdb.server/abspath.exp: New file.
4215 * lib/gdb.exp (with_cwd): New procedure.
4217 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4219 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4221 (gdb_is_target_remote_prompt): New proc.
4222 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4223 (gdb_is_target_native): Pass prompt parameter to
4226 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4228 * gdb.base/load-command.c: New file.
4229 * gdb.base/load-command.exp: New file.
4230 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4231 (gdb_is_target_1): ...this, and generalize for other targets
4233 (gdb_is_target_remote): Use gdb_is_target_1.
4234 (gdb_is_target_native): use gdb_is_target_1.
4236 2018-02-26 Tom Tromey <tom@tromey.com>
4239 * gdb.python/py-framefilter.exp: Update test.
4241 2018-02-26 Tom Tromey <tom@tromey.com>
4243 * gdb.dwarf2/variant.c: New file.
4244 * gdb.dwarf2/variant.exp: New file.
4246 2018-02-26 Tom Tromey <tom@tromey.com>
4248 * gdb.rust/simple.exp: Accept more possible results in enum test.
4250 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4252 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4255 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4257 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4258 name of a variable: $actual_linejj -> $actual_line.
4260 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4262 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4264 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4266 * gdb.btrace/buffer-size.exp: Do not force BTS.
4268 2018-02-14 Pedro Alves <palves@redhat.com>
4270 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4273 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4275 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4278 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4280 * gdb.cp/m-static.exp: Check type of optimized out static
4283 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4285 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4286 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4288 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4289 Leszek Swirski <leszeks@google.com>
4291 * gdb.python/py-prettyprint.c
4292 (struct to_string_returns_value_inner,
4293 struct to_string_returns_value_wrapper): New.
4294 (main): Add tsrvw variable.
4295 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4296 ToStringReturnsValueWrapper): New classes.
4297 (register_pretty_printers): Register new pretty-printers.
4298 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4299 recursive pretty printer.
4300 * gdb.python/py-mi.exp: Likewise.
4302 2018-02-01 Leszek Swirski <leszeks@google.com>
4304 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4305 functions with the same name as an include file are parsed
4308 2018-02-01 Yao Qi <yao.qi@linaro.org>
4310 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4313 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4315 * gdb.arch/powerpc-prologue-frame.s: New file.
4316 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4317 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4319 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4321 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4323 2018-01-30 Pedro Alves <palves@redhat.com>
4326 * gdb.base/interrupt-daemon.c: New.
4327 * gdb.base/interrupt-daemon.exp: New.
4328 * gdb.multi/multi-term-settings.c: New.
4329 * gdb.multi/multi-term-settings.exp: New.
4331 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4333 * gdb.base/break.exp: Save the location where the breakpoint
4334 on break.c:47 was actually inserted when debugging the version
4335 compiled at -O2 and use it in the expected output of the "info
4336 break" test performed soon after.
4338 2018-01-22 Pedro Alves <palves@redhat.com>
4339 Sergio Durigan Junior <sergiodj@redhat.com>
4341 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4342 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4344 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4346 * gdb.base/break-include.c, gdb.base/break-include.inc,
4347 gdb.base/break-include.exp: New files.
4348 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4349 line number now being the actual line number where the breakpoint
4351 * gdb.mi/mi-break.exp: Likewise.
4352 * gdb.mi/mi-reverse.exp: Likewise.
4353 * gdb.mi/mi-simplerun.exp: Ditto.
4355 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4357 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4359 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4361 2018-01-21 Don Breazeal <donb@codesourcery.com>
4362 Andrew Burgess <andrew.burgess@embecosm.com>
4364 * gdb.mi/basics.c: Add new global.
4365 * gdb.mi/mi-frame-regs.exp: New file.
4366 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4369 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4371 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4372 non-parameter, and on an unknown symbol.
4374 2018-01-19 Tom Tromey <tom@tromey.com>
4376 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4377 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4379 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4381 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4382 setrlimit and chdir to int.
4384 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4386 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4388 (my_tend): Likewise.
4389 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4390 rationale of avoiding FP- and vector instructions.
4392 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4394 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4395 "info reg" with "\[ \t\]*".
4396 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4398 * gdb.arch/s390-multiarch.exp: Ditto.
4399 * gdb.base/pc-fp.exp: Ditto.
4400 * gdb.reverse/i386-precsave.exp: Ditto.
4401 * gdb.reverse/i386-reverse.exp: Ditto.
4402 * gdb.reverse/i387-env-reverse.exp: Ditto.
4403 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4405 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4407 * lib/gdb.exp (gdb_compile): Re-enable use of
4408 universal_compile_options for languages other than Rust.
4410 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4412 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4414 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4417 * gdb.base/solib-vanish.exp: New.
4418 * gdb.base/solib-vanish-main.c: New.
4419 * gdb.base/solib-vanish-lib1.c: New.
4420 * gdb.base/solib-vanish-lib2.c: New.
4422 2018-01-17 Yao Qi <yao.qi@linaro.org>
4424 * gdb.compile/compile.exp: Match the address printed for
4425 frame in the output of command "bt".
4427 2018-01-15 Tom Tromey <tom@tromey.com>
4429 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4432 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4434 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4436 (prepare): Return 0 on error, 1 on success.
4438 2018-01-12 Pedro Alves <palves@redhat.com>
4440 * gdb.base/continue-after-aborted-step-over.c: New.
4441 * gdb.base/continue-after-aborted-step-over.exp: New.
4443 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4445 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4446 options when not creating an executable.
4448 2018-01-11 Pedro Alves <palves@redhat.com>
4451 * gdb.server/stop-reply-no-thread.c: New file.
4452 * gdb.server/stop-reply-no-thread.exp: New file.
4454 2018-01-10 Pedro Alves <palves@redhat.com>
4457 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4458 functions too. Test setting breakpoints and printing C functions
4459 with no debug info too.
4460 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4462 2018-01-10 Pedro Alves <palves@redhat.com>
4465 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4468 2018-01-10 Pedro Alves <palves@redhat.com>
4471 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4473 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4475 * gdb.server/unittest.exp: Match the output in non-development
4478 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4480 * gdb.gdb/unittest.exp: Match output in non-development mode.
4482 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4484 * gdb.ada/access_tagged_param.exp: Relax expected output
4485 for value of "ObjL" in "continue" to pck.inspect breakpoint
4488 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4490 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4491 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4493 2018-01-05 Pedro Alves <palves@redhat.com>
4496 * gdb.base/libsegfault.exp: New.
4498 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4501 * gdb.ada/access_tagged_param.exp: New file.
4502 * gdb.ada/access_tagged_param/foo.adb: New file.
4504 2018-01-05 Pedro Alves <palves@redhat.com>
4507 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4508 exercise lower case too, and to exercise both full matching and
4511 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4513 * gdb.ada/rename_subscript_param: New testcase.
4515 2018-01-05 Jerome Guitton <guitton@adacore.com>
4517 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4519 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4521 * gdb.ada/convvar_comp: New testcase.
4523 2018-01-05 Xavier Roirand <roirand@adacore.com>
4525 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4526 (My_Table): New global variable.
4527 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4529 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4532 * gdb.ada/maint_with_ada: New testcase.
4534 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4537 * gdb.ada/bp_c_mixed_case: New testcase.
4539 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4542 * gdb.ada/complete.exp: Add "complete break ada" test.
4544 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4547 * gdb.ada/info_addr_mixed_case: New testcase.
4549 2018-01-03 Xavier Roirand <roirand@adacore.com>
4551 * gdb.ada/excep_handle.exp: New testcase.
4552 * gdb.ada/excep_handle/foo.adb: New file.
4553 * gdb.ada/excep_handle/pck.ads: New file.
4555 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4557 * gdb.base/step-line.c: Add extra empty line in copyright header.
4558 * gdb.base/step-line.inp: Likewise.
4560 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4562 * gdb.ada/dyn_stride.exp: Add slice test.
4564 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4566 * gdb.ada/dyn_stride: New testcase.
4568 2017-12-27 Stafford Horne <shorne@gmail.com>
4570 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4571 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4573 2017-12-27 Stafford Horne <shorne@gmail.com>
4575 * gdb.base/reggroups.c: New file.
4576 * gdb.base/reggroups.exp: New file.
4578 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4580 * gdb.dwarf2/ada-valprint-error.c: New file.
4581 * gdb.dwarf2/ada-valprint-error.exp: New file.
4583 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4585 * gdb.ada/assign_arr: New testcase.
4587 2017-12-18 Xavier Roirand <roirand@adacore.com>
4589 * gdb.ada/funcall_ptr: New testcase.
4591 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4594 * gdb.base/ptype-offsets.cc: New file.
4595 * gdb.base/ptype-offsets.exp: New file.
4597 2017-12-15 Yao Qi <yao.qi@linaro.org>
4599 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4602 2017-12-15 Xavier Roirand <roirand@adacore.com>
4604 * gdb.ada/same_component_name: New testcase.
4606 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4608 * gdb.ada/str_binop_equal: New testcase.
4610 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4612 * gdb.ada/task_switch_in_core: New testcase.
4614 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4616 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4617 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4618 call test_bkpt_qualified.
4619 (test_bkpt_qualified): New proc.
4621 2017-12-13 Pedro Alves <palves@redhat.com>
4623 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4624 Tighten regexp by matching with an anchor.
4626 2017-12-13 Pedro Alves <palves@redhat.com>
4628 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4629 ("expression with namespace"): New set of tests.
4630 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4631 (Nested::Test_NS::qux): New.
4632 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4633 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4635 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4637 * gdb.base/server-del-break.c: New file.
4638 * gdb.base/server-del-break.exp: New file.
4640 2017-12-12 Stafford Horne <shorne@gmail.com>
4642 * gdb.xml/tdesc-regs.exp: Add or1k support.
4644 2017-12-12 Stafford Horne <shorne@gmail.com>
4646 * gdb.base/bp-permanent.c: Define nop of or1k.
4648 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4650 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4651 output with components being reordered.
4653 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4655 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4656 output with components being reordered.
4658 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4659 Pedro Alves <palves@redhat.com>
4661 * gdb.base/maint.exp (check for .gdb_index): Check also for
4663 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4664 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4665 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4666 (.gdb_index used after symbol reloading): Support also .debug_names.
4667 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4669 2017-12-08 Yao Qi <yao.qi@linaro.org>
4671 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4672 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4674 2017-12-08 Yao Qi <yao.qi@linaro.org>
4676 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4677 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4679 2017-12-08 Yao Qi <yao.qi@linaro.org>
4681 * gdb.arch/aarch64-tagged-pointer.c: New file.
4682 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4684 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4686 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4689 2017-12-07 Keith Seitz <keiths@redhat.com>
4691 PR breakpoints/22569
4692 * gdb.linespec/ls-errs.exp: Change expected result of "break
4693 -source this file has spaces.c -line 3".
4694 Check that an explicit source file followed by whitespace is
4695 identified as an invalid explicit location.
4697 2017-12-07 Keith Seitz <keiths@redhat.com>
4699 * gdb.cp/nested-types.cc: New file.
4700 * gdb.cp/nested-types.exp: New file.
4701 * lib/cp-support.exp: Load data-structures.exp library.
4702 (debug_cp_test_ptype_class): New global.
4703 (cp_ptype_class_verbose, next_line): New procedures.
4704 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4705 Add and document new return value.
4706 Switch the list of lines to a queue.
4707 Add support for new `type' key for nested type definitions.
4708 Add debugging/troubleshooting messages.
4709 * lib/data-structures.exp: New file.
4711 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4713 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4714 with proc_with_prefix, don't use with_test_prefix.
4716 2017-12-07 Tom Tromey <tom@tromey.com>
4718 * gdb.base/break.exp: Add test for empty "commands".
4720 2017-12-07 Yao Qi <yao.qi@linaro.org>
4722 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4723 malloc and catch syscall.
4725 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4727 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4728 tests for explicit locations.
4730 2017-12-06 Pedro Alves <palves@redhat.com>
4732 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4733 force-disabling XML descriptions.
4735 2017-12-04 Pedro Alves <palves@redhat.com>
4738 * gdb.arch/amd64-disp-step-avx.S: New file.
4739 * gdb.arch/amd64-disp-step-avx.exp: New file.
4741 2017-12-03 Pedro Alves <palves@redhat.com>
4743 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4745 (parent_function): Print distinct messages when waitpid fails, or
4746 the child exits with a signal, or the child exits for an unhandled
4748 * gdb.threads/process-dies-while-detaching.exp
4749 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4750 it. Wait for both inferior output and GDB's prompt. Use an
4751 indirect spawn id list.
4752 (do_detach): New parameter 'child_exit'. Use it to compute
4753 expected inferior output.
4754 (test_detach, test_detach_watch, test_detach_killed_outside):
4755 Adjust to pass down the expected child exit kind.
4757 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4758 Sergio Durigan Junior <sergiodj@redhat.com>
4759 Pedro Alves <palves@redhat.com>
4761 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4763 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4765 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4766 to 'symbol-file' and 'add-symbol-file' can be
4767 position-independent.
4769 2017-12-01 Yao Qi <yao.qi@linaro.org>
4771 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4772 the URL in copyright header.
4773 * gdb.arch/aarch64-fp.exp: Likewise.
4774 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4775 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4776 * gdb.base/expand-psymtabs.exp: Likewise.
4777 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4778 * gdb.fortran/common-block.exp: Likewise.
4779 * gdb.fortran/common-block.f90: Likewise.
4780 * gdb.fortran/logical.exp: Likewise.
4781 * gdb.fortran/vla-datatypes.f90: Likewise.
4782 * gdb.fortran/vla-sub.f90: Likewise.
4784 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4786 * gdb.ada/repeat_dyn: New testcase.
4788 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4790 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4791 Update for changed thread numbering.
4792 * gdb.cell/bt.exp: Update for changed GDB output.
4794 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4796 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4797 setting isremote by hand.
4798 * boards/dwarf4-gdb-index.exp: Likewise.
4799 * boards/fission.exp: Likewise.
4800 * boards/stabs.exp: Likewise.
4802 2017-11-30 Pedro Alves <palves@redhat.com>
4804 * gdb.linespec/cpls-ops.exp
4805 (check_explicit_skips_function_argument): Extract the underlying
4806 type of size_t instead of hardcoding it.
4808 2017-11-29 Pedro Alves <palves@redhat.com>
4811 * gdb.linespec/cpls-abi-tag.cc: New file.
4812 * gdb.linespec/cpls-abi-tag.exp: New file.
4814 2017-11-29 Pedro Alves <palves@redhat.com>
4816 * gdb.base/langs.exp: Use -qualified.
4817 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4819 * gdb.cp/namespace.exp: Use -qualified.
4820 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4821 (overload-3, template-overload, template-ret-type, const-overload)
4822 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4824 (test_driver): Call them.
4825 * gdb.cp/save-bp-qualified.cc: New.
4826 * gdb.cp/save-bp-qualified.exp: New.
4827 * gdb.linespec/explicit.exp: Test -qualified.
4828 * lib/completion-support.exp (completion::explicit_opts_list): Add
4830 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4832 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4834 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4836 2017-11-29 Tom Tromey <tom@tromey.com>
4838 * gdb.base/relocate.exp: Update invalid argument test.
4839 Add new tests for invalid arguments.
4841 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4843 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4845 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4847 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4849 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4850 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4851 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4853 * gdb.cp/shadow.cc (B.func): Return 0.
4855 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4857 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4858 expected output in gdb_expect call to allow the exception
4859 message to be present as well. Fix syntax confusion to avoid
4860 TCL thinking that exception_name is an array.
4862 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4864 * gdb.arch/spu-info.c: Include <unistd.h>.
4865 (do_signal_test): Fix broken calls to write.
4866 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4867 Fix checks for empty mailboxes. Update signal tests for corrected
4868 do_signal_test routine. Allow nonzero event status.
4869 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4870 * gdb.cell/arch.exp: Use standard_output_file.
4871 * gdb.cell/break.exp: Likewise.
4872 * gdb.cell/bt.exp: Likewise.
4873 * gdb.cell/core.exp: Likewise.
4874 * gdb.cell/dwarfaddr.exp: Likewise.
4875 * gdb.cell/ea-cache.exp: Likewise.
4876 * gdb.cell/ea-standalone.exp: Likewise.
4877 * gdb.cell/f-regs.exp: Likewise.
4878 * gdb.cell/fork.exp: Likewise.
4879 * gdb.cell/gcore.exp: Likewise.
4880 * gdb.cell/mem-access.exp: Likewise.
4881 * gdb.cell/ptype.exp: Likewise.
4882 * gdb.cell/registers.exp: Likewise.
4883 * gdb.cell/sizeof.exp: Likewise.
4884 * gdb.cell/solib-symbol.exp: Likewise.
4885 * gdb.cell/solib.exp: Likewise.
4887 2017-11-25 Pedro Alves <palves@redhat.com>
4889 * gdb.base/complete-empty.exp: New file.
4890 * gdb.base/completion.exp: Adjust.
4892 2017-11-25 Pedro Alves <palves@redhat.com>
4894 * gdb.linespec/cpls-ops.cc: New file.
4895 * gdb.linespec/cpls-ops.exp: New file.
4896 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4897 factored out from ...
4898 (test_complete_prefix_range): ... this.
4900 2017-11-24 Pedro Alves <palves@redhat.com>
4902 * gdb.linespec/cpcompletion.exp: New file.
4903 * gdb.linespec/cpls-hyphen.cc: New file.
4904 * gdb.linespec/cpls.cc: New file.
4905 * gdb.linespec/cpls2.cc: New file.
4906 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4907 test to use test_gdb_complete_unique. Add label completion,
4908 keyword completion and explicit location completion tests.
4909 * lib/completion-support.exp: New file.
4911 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4913 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4914 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4915 when hitting an exception catchpoint.
4917 2017-11-22 Yao Qi <yao.qi@linaro.org>
4919 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4921 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4923 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4924 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4925 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4927 2017-11-22 Yao Qi <yao.qi@linaro.org>
4929 * gdb.base/info-os.exp: Pass pthreads.
4930 * gdb.multi/multi-attach.exp: Likewise.
4932 2017-11-22 Yao Qi <yao.qi@linaro.org>
4934 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4937 2017-11-22 Yao Qi <yao.qi@linaro.org>
4939 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4940 * gdb.base/break-interp.exp: Likewise.
4941 * gdb.base/jit-attach-pie.exp: Likewise.
4943 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4945 * gdb.base/float128.c (large128): New variable.
4946 * gdb.base/float128.exp: Add test to print largest __float128 value.
4948 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4950 * gdb.arch/vsx-regs.exp: Update register content checks.
4952 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4954 * gdb.arch/ppc-longdouble.exp: New file.
4955 * gdb.arch/ppc-longdouble.c: Likewise.
4957 2017-11-21 Pedro Alves <palves@redhat.com>
4959 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4961 2017-11-20 Pedro Alves <palves@redhat.com>
4963 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4964 (long_double_typedef): New typedefs.
4965 Use DEF on double and long double.
4966 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4968 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4969 and 'long_double_ptr_same_size' locals. Use them to decide
4970 whether cast from array/function to float is valid/invalid.
4972 2017-11-17 Tom Tromey <tom@tromey.com>
4974 * gdb.rust/traits.rs: New file.
4975 * gdb.rust/traits.exp: New file.
4977 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4979 * gdb.ada/minsyms: New testcase.
4981 2017-11-16 Pedro Alves <palves@redhat.com>
4983 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4984 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4986 2017-11-16 Pedro Alves <palves@redhat.com>
4988 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4989 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4991 2017-11-16 Pedro Alves <palves@redhat.com>
4993 * gdb.server/reconnect-ctrl-c.c: New file.
4994 * gdb.server/reconnect-ctrl-c.exp: New file.
4996 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4998 * gdb.python/py-rbreak.exp: New file.
4999 * gdb.python/py-rbreak.c: New file.
5000 * gdb.python/py-rbreak-func2.c: New file.
5002 2017-11-16 Pedro Alves <palves@redhat.com>
5004 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5006 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5009 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5011 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5014 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5016 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5019 2017-11-09 Pedro Alves <palves@redhat.com>
5021 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5022 factored out from ...
5023 (top level): ... here, and adjusted to avoid expecting beyond the
5024 prompt in a single gdb_test_multiple.
5026 2017-11-09 Pedro Alves <palves@redhat.com>
5028 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5030 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5031 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5032 * gdb.server/ext-run.exp ("kill" test): Likewise.
5033 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5035 2017-11-09 Pedro Alves <palves@redhat.com>
5037 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5038 match till end of line.
5040 2017-11-09 Pedro Alves <palves@redhat.com>
5042 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5044 2017-11-09 Pedro Alves <palves@redhat.com>
5046 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5047 New procedures, factored out from ...
5048 (top level): ... here, and adjusted to avoid expecting beyond the
5051 2017-11-09 Pedro Alves <palves@redhat.com>
5053 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5054 output. Fix '?' match.
5056 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5058 * gdb.ada/scoped_watch: New testcase.
5059 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5060 which is actually correct.
5061 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5062 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5064 2017-11-08 Pedro Alves <palves@redhat.com>
5066 * gdb.gdb/complaints.exp (test_initial_complaints)
5067 (test_serial_complaints, test_short_complaints): Call
5068 complaint_internal instead of complaint.
5070 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5072 * gdb.threads/tls-core.c: New file.
5073 * gdb.threads/tls-core.exp: Likewise.
5075 2017-11-08 Pedro Alves <palves@redhat.com>
5077 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5078 (p Exported_Capitalized): New test.
5079 (p exported_capitalized): New test.
5081 2017-11-07 Pedro Alves <palves@redhat.com>
5083 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5085 2017-11-07 Pedro Alves <palves@redhat.com>
5087 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5088 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5089 (disable_invalid, disable_inverted, disable_negative): New
5091 ("bad numbers"): New set of tests.
5093 2017-11-07 Pedro Alves <palves@redhat.com>
5095 * gdb.cp/ena-dis-br-range.exp: Add tests.
5097 2017-11-07 Pedro Alves <palves@redhat.com>
5099 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5101 2017-11-07 Xavier Roirand <roirand@adacore.com>
5102 Pedro Alves <palves@redhat.com>
5104 * gdb.base/ena-dis-br.exp: Add reference to
5105 gdb.cp/ena-dis-br-range.exp.
5106 * gdb.cp/ena-dis-br-range.exp: New file.
5107 * gdb.cp/ena-dis-br-range.cc: New file.
5109 2017-11-06 Pedro Alves <palves@redhat.com>
5111 * gdb.base/attach-non-pgrp-leader.c: New.
5112 * gdb.base/attach-non-pgrp-leader.exp: New.
5114 2017-11-06 Pedro Alves <palves@redhat.com>
5116 * configure.ac: No longer check for termio.h and sgtty.h.
5117 * configure: Regenerate.
5118 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5119 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5120 Remove termio and sgtty code.
5122 2017-11-03 Yao Qi <yao.qi@linaro.org>
5124 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5127 2017-11-03 Yao Qi <yao.qi@linaro.org>
5129 * gdb.python/py-thrhandle.exp: Skip it if python is not
5132 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5134 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5135 as a breakpoint command.
5137 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5140 * gdb.python/py-infthread.exp: Test calling
5141 InferiorThread.inferior () multiple times in a row.
5143 2017-10-27 Keith Seitz <keiths@redhat.com>
5145 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5146 Test "info break" for every inlined function breakpoint.
5148 2017-10-27 Yao Qi <yao.qi@linaro.org>
5150 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5152 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5154 * gdb.cp/classes.exp (test_static_members): Test printing
5156 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5157 (Inner::instance, Outer::instance): New.
5159 2017-10-24 Pedro Alves <palves@redhat.com>
5161 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5162 extra console" test in two stages.
5164 2017-10-24 Pedro Alves <palves@redhat.com>
5166 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5168 2017-10-24 Pedro Alves <palves@redhat.com>
5170 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5173 2017-10-24 Pedro Alves <palves@redhat.com>
5175 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5176 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5178 2017-10-24 Pedro Alves <palves@redhat.com>
5180 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5181 parameter and handle it. Don't output read value in test name.
5183 2017-10-24 Pedro Alves <palves@redhat.com>
5185 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5188 2017-10-24 Pedro Alves <palves@redhat.com>
5190 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5191 include the unstable output directory name in the test's name.
5192 (initial_setup_simple) <'set args'>: Use custom test name.
5194 2017-10-24 Pedro Alves <palves@redhat.com>
5196 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5197 with explicit test name.
5199 2017-10-20 Pedro Alves <palves@redhat.com>
5201 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5202 'wait -i'. Use gdb_assert and remote_close.
5204 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5206 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5207 number from variable rather than hard-coded.
5209 2017-10-19 Pedro Alves <palves@redhat.com>
5211 * gdb.base/long-inferior-output.c: New file.
5212 * gdb.base/long-inferior-output.exp: New file.
5214 2017-11-18 Keith Seitz <keiths@redhat.com>
5216 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5219 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5220 Add additional user-defined conversion operator tests.
5222 2017-10-17 Pedro Alves <palves@redhat.com>
5224 * boards/native-stdio-gdbserver.exp: Load "local-board".
5226 2017-10-17 Pedro Alves <palves@redhat.com>
5228 * gdb.base/quit-live.c: New file.
5229 * gdb.base/quit-live.exp: New file.
5231 2017-10-16 Keith Seitz <keiths@redhat.com>
5233 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5234 (class_with_protected_typedef, class_with_private_typedef)
5235 (struct_with_public_typedef, struct_with_protected_typedef)
5236 (struct_with_private_typedef): New classes/structs.
5237 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5238 typedefs and access specifiers.
5240 2017-10-16 Pedro Alves <palves@redhat.com>
5241 Simon Marchi <simon.marchi@polymtl.ca>
5243 * README (Local vs Remote vs Native): New section.
5244 * boards/local-board.exp: New file, with bits factored out from
5246 * boards/native-extended-gdbserver.exp: ... here. Load
5248 * boards/native-gdbserver.exp: Load "local-board".
5249 (${board}_spawn, ${board}_exec): Delete.
5250 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5252 * boards/stdio-gdbserver-base.exp: ... this new file.
5253 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5254 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5256 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5257 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5258 stdio_gdbserver_command.
5259 (${board}_get_remote_address, ${board}_get_comm_port)
5260 (${board}_download, ${board}_upload): Delete.
5261 (get_target_remote_pipe_cmd): New.
5263 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5265 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5266 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5267 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5268 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5269 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5270 remove with_test_prefix.
5272 2017-10-13 Pedro Alves <palves@redhat.com>
5274 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5275 * gdb.base/annota1.exp: Use it instead of is_remote.
5276 * gdb.base/annota3.exp: Use it instead of is_remote.
5277 * gdb.cp/annota2.exp: Use it instead of is_remote.
5278 * gdb.cp/annota3.exp: Use it instead of is_remote.
5279 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5281 2017-10-13 Pedro Alves <palves@redhat.com>
5283 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5284 (test_num_test_vars, run_and_count_vars, find_env)
5285 (test_set_unset_env, test_inherit_env_var): New procedures.
5286 (top level): Use them.
5288 2017-10-13 Pedro Alves <palves@redhat.com>
5290 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5291 also skip on stub-like targets.
5293 2017-10-13 Pedro Alves <palves@redhat.com>
5296 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5297 (top level): Move some tests to ...
5298 (test_not_found): ... this new procedure.
5299 (top level): Call it.
5301 2017-10-13 Pedro Alves <palves@redhat.com>
5303 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5304 expect different "info terminal" output if testing with a
5307 2017-10-13 Pedro Alves <palves@redhat.com>
5308 Simon Marchi <simon.marchi@polymtl.ca>
5311 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5313 2017-10-13 Pedro Alves <palves@redhat.com>
5315 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5318 2017-10-13 Pedro Alves <palves@redhat.com>
5320 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5323 2017-10-13 Pedro Alves <palves@redhat.com>
5325 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5328 2017-10-13 Pedro Alves <palves@redhat.com>
5330 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5332 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5333 instead of is_remote.
5335 2017-10-13 Pedro Alves <palves@redhat.com>
5337 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5338 (top level): Add comment.
5340 2017-10-13 Pedro Alves <palves@redhat.com>
5342 * gdb.base/remote.exp (top level): Fix comment typo and add
5345 2017-10-13 Pedro Alves <palves@redhat.com>
5346 Simon Marchi <simon.marchi@polymtl.ca>
5348 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5349 calls and add comments. Skip test if use_gdb_stub is set.
5350 (top level): Use "set cwd" command instead of "cd" command.
5352 2017-10-13 Pedro Alves <palves@redhat.com>
5354 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5355 is_remote target check.
5357 2017-10-13 Pedro Alves <palves@redhat.com>
5359 * gdb.base/scope.exp: Use build_executable + clean_restart +
5360 gdb_file_cmd instead of prepare_for_testing and no longer skip
5361 "before run" tests on is_remote target boards. Update comments.
5362 * boards/native-extended-gdbserver.exp
5363 (extended_gdbserver_load_last_file): New, factored out from ...
5364 (gdb_load): ... this. Move further below and add comment.
5365 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5367 2017-10-12 Pedro Alves <palves@redhat.com>
5369 * gdb.base/attach.exp: Remove references to gdb64.
5370 * gdb.base/dbx.exp: Remove references to gdb64.
5372 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5373 Pedro Alves <palves@redhat.com>
5375 * gdb.base/label.exp: Remove is_remote target check.
5377 2017-10-12 Pedro Alves <palves@redhat.com>
5379 * gdb.base/auvx.exp (coredir): Update comment.
5380 (top level) <core_works>: Use "set cwd" command instead of "cd"
5383 2017-10-12 Pedro Alves <palves@redhat.com>
5384 Simon Marchi <simon.marchi@polymtl.ca>
5386 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5389 2017-10-12 Pedro Alves <palves@redhat.com>
5390 Simon Marchi <simon.marchi@polymtl.ca>
5392 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5393 Instead skip if there's any gdb_protocol set.
5395 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5396 Pedro Alves <palves@redhat.com>
5398 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5400 2017-10-12 Pedro Alves <palves@redhat.com>
5401 Simon Marchi <simon.marchi@polymtl.ca>
5403 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5404 instead of on dejagnu remote boards.
5406 2017-10-12 Pedro Alves <palves@redhat.com>
5407 Simon Marchi <simon.marchi@polymtl.ca>
5409 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5410 checks. Use build_executable + clean_restart instead of
5411 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5412 of enabling non-stop after starting gdb.
5414 2017-10-12 Pedro Alves <palves@redhat.com>
5416 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5417 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5418 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5419 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5421 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5423 * gdb.arch/arc-tdesc-cpu.exp: New file.
5424 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5426 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5428 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5430 2017-10-10 Pedro Alves <palves@redhat.com>
5432 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5435 2017-10-10 Pedro Alves <palves@redhat.com>
5437 * lib/selftest-support.exp (selftest_setup): Update for
5438 captured_command_loop's prototype change.
5440 2017-10-09 Pedro Alves <palves@redhat.com>
5442 Test both arch1=>arch2 and arch2=>arch1.
5444 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5445 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5447 (append_arch1_options, append_arch2_options, append_arch_options)
5448 (build_executables): New procedures.
5449 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5451 (top level): Add new 'first_arch' testing axis.
5453 2017-10-09 Pedro Alves <palves@redhat.com>
5455 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5457 (thread_start, all_started): New functions.
5458 (main): Spawn new thread and wait until it is scheduled.
5459 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5461 (do_test): Add 'selected_thread' parameter. Run to all_started
5462 instead of main. Explicitly set the breakpoint at main. Switch
5463 to the SELECTED_THREAD thread.
5464 (top level): Test handling the exec event with either the main
5465 thread or the second thread selected.
5467 2017-10-09 Pedro Alves <palves@redhat.com>
5469 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5470 logic. Move STOP marker after the value checks.
5471 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5474 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5476 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5478 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5480 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5481 integer-to-dfp conversion.
5482 * gdb.base/dfp-test.exp: Likewise.
5484 2017-10-04 Pedro Alves <palves@redhat.com>
5486 * gdb.multi/hangout.c: Include <unistd.h>.
5487 (hangout_loop): New function.
5488 (main): Call alarm. Call hangout_loop in a loop.
5489 * gdb.multi/hello.c: Include <unistd.h>.
5490 (hello_loop): New function.
5491 (main): Call alarm. Call hangout_loop in a loop.
5492 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5493 inferior with the other selected.
5495 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5497 * gdb.mi/list-thread-groups-available.exp: New file.
5498 * gdb.mi/list-thread-groups-available.c: New file.
5500 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5502 * gdb.base/set-cwd.exp: Make it available on
5503 native-extended-gdbserver.
5505 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5507 * gdb.base/set-cwd.c: New file.
5508 * gdb.base/set-cwd.exp: Likewise.
5510 2017-10-02 Tom Tromey <tom@tromey.com>
5513 * gdb.rust/simple.rs (main): New variable "fslice".
5514 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5516 2017-10-02 Tom Tromey <tom@tromey.com>
5518 * gdb.rust/simple.exp: Test ptype of a slice.
5520 2017-10-02 Tom Tromey <tom@tromey.com>
5522 * gdb.rust/simple.exp: Test index of slice.
5524 2017-09-27 Tom Tromey <tom@tromey.com>
5526 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5528 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5529 Pedro Alves <palves@redhat.com>
5531 * gdb.base/compare-sections.exp (get value of read-only section): Read
5533 (corrupt read-only section): Likewise and don't set written if patching
5536 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5538 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5541 2017-09-20 Pedro Alves <palves@redhat.com>
5543 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5544 symbol names in gdb's output.
5545 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5547 2017-09-20 Pedro Alves <palves@redhat.com>
5549 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5551 (test_list_ambiguous_symbol): ... this and add a symbol name
5553 (test_list_ambiguous_function): Reimplement on top of
5554 test_list_ambiguous_symbol and also test listing ambiguous
5556 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5557 (ambiguous_fun): ... this.
5558 (ambiguous_var): New.
5559 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5560 (ambiguous_fun): ... this.
5561 (ambiguous_var): New.
5563 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5565 * gdb.base/starti.c: New file.
5566 * gdb.base/starti.exp: New file.
5567 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5569 2017-09-14 Pedro Alves <palves@redhat.com>
5571 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5572 (top level): Use it instead of runto.
5574 2017-09-11 Tom Tromey <tom@tromey.com>
5576 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5578 2017-09-11 Tom Tromey <tom@tromey.com>
5580 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5581 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5583 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5585 * gdb.fortran/printing-types.exp: New file.
5586 * gdb.fortran/printing-types.exp: New file.
5588 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5590 * gdb.fortran/vla-ptype.exp: Fix typos.
5591 * gdb.fortran/vla-value.exp: Same.
5593 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5595 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5596 * gdb.mi/mi-var-child-f.exp: Likewise.
5597 * gdb.mi/mi-vla-fortran.exp: Likewise.
5599 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5600 Christoph Weinmann <christoph.t.weinmann@intel.com>
5601 Bernhard Heckel <bernhard.heckel@intel.com>
5603 * gdb.fortran/ptr-indentation.f90: New file.
5604 * gdb.fortran/ptr-indentation.exp: New file.
5606 2017-09-05 Tom Tromey <tom@tromey.com>
5609 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5611 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5613 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5615 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5617 * gdb.threads/tls-nodebug-pie.c: New file.
5618 * gdb.threads/tls-nodebug-pie.exp: New file.
5620 2017-09-05 Tom Tromey <tom@tromey.com>
5622 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5625 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5627 * gdb.multi/multi-arch-exec.exp: Test with different
5628 "follow-exec-mode" settings.
5629 (do_test): New procedure.
5631 2017-09-04 Pedro Alves <palves@redhat.com>
5633 * gdb.base/func-static.c (S::method const, S::method volatile)
5634 (S::method volatile const): New methods.
5635 (c_s, v_s, cv_s): New instances.
5636 (main): Call method() on them.
5637 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5638 (cannot_resolve): New procedure.
5639 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5640 print-quote-unquoted columns.
5641 (do_test): Test printing each scope too.
5643 2017-09-04 Pedro Alves <palves@redhat.com>
5645 * gdb.base/local-static.exp: Also test with
5646 class::method::variable wholly quoted.
5647 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5649 2017-09-04 Pedro Alves <palves@redhat.com>
5651 * gdb.base/local-static.c: New.
5652 * gdb.base/local-static.cc: New.
5653 * gdb.base/local-static.exp: New.
5655 2017-09-04 Pedro Alves <palves@redhat.com>
5657 * gdb.asm/asm-source.exp: Add casts to int.
5658 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5659 (dataglobal64_1, dataglobal64_2): New globals.
5660 * gdb.base/nodebug.exp: Test different expressions involving the
5661 new globals, with print, whatis and ptype. Add casts to int.
5662 * gdb.base/solib-display.exp: Add casts to int.
5663 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5664 * gdb.cp/m-static.exp: Add cast to int.
5665 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5666 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5667 tls variable with no debug info without a cast. Test with a cast
5669 * gdb.trace/entry-values.exp: Add casts.
5671 2017-09-04 Pedro Alves <palves@redhat.com>
5673 * gdb.base/nodebug.exp: Test that ptype's error about functions
5674 with unknown return type includes the function name too.
5676 2017-09-04 Pedro Alves <palves@redhat.com>
5678 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5679 return type of munmap in infcall.
5680 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5681 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5682 type of ftell in infcall.
5683 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5684 type of getpid in infcall.
5685 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5687 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5688 Bail on failure to extract the pid.
5689 * gdb.base/nodebug.c: #include <stdint.h>.
5690 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5692 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5693 Change expected output of print/whatis/ptype with functions with
5694 no debug info. Test all supported languages. Call
5695 test_call_promotion.
5696 * gdb.compile/compile.exp: Adjust expected output to expect
5698 * gdb.threads/siginfo-threads.exp: Likewise.
5700 2017-09-04 Pedro Alves <palves@redhat.com>
5702 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5703 "prototypes". Test calling float functions via prototyped and
5704 unprototyped function pointers.
5705 (perform_all_tests): New parameter "prototypes". Pass it down.
5706 (top level): Pass down "prototypes" parameter to
5709 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5711 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5712 Test with nested loops.
5714 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5716 * gdb.base/commands.exp: Call the new procedures.
5717 (loop_break_test, loop_continue_test): New procedures.
5719 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5721 * gdb.base/commands.exp: Call new procedure.
5722 (define_if_without_arg_test): New procedure.
5724 2017-09-04 Pedro Alves <palves@redhat.com>
5726 * gdb.base/list-ambiguous.exp: New file.
5727 * gdb.base/list-ambiguous0.c: New file.
5728 * gdb.base/list-ambiguous1.c: New file.
5729 * gdb.base/list.exp (test_list_range): Adjust expected output.
5731 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5733 * gdb.base/share-env-with-gdbserver.c: New file.
5734 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5736 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5738 * gdb.base/commands.exp (gdbvar_simple_if_test,
5739 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5740 progvar_simple_if_test, progvar_simple_while_test,
5741 progvar_complex_if_while_test, user_defined_command_test,
5742 user_defined_command_args_eval,
5743 user_defined_command_args_stack_test,
5744 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5745 temporary_breakpoint_commands,
5746 gdb_test_no_prompt, redefine_hook_test,
5747 redefine_backtrace_test): Remove "global gdb_prompt".
5749 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5751 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5752 New proc, call it from toplevel.
5754 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5757 * gdb.server/normal.c: New file, copied from gdb.base.
5758 * gdb.server/run-without-local-binary.exp: New file.
5760 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5762 * gdb.arch/sparc64-adi.exp: New file.
5763 * gdb.arch/sparc64-adi.c: New file.
5765 2017-08-22 Pedro Alves <palves@redhat.com>
5767 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5768 (top level): Add "list all overloads" tests.
5770 2017-08-22 Tom Tromey <tom@tromey.com>
5772 * gdb.gdb/xfullpath.exp: Remove.
5774 2017-08-21 Pedro Alves <palves@redhat.com>
5777 * gdb.base/symbol-alias.c: New.
5778 * gdb.base/symbol-alias2.c: New.
5779 * gdb.base/symbol-alias.exp: New.
5781 2017-08-21 Pedro Alves <palves@redhat.com>
5783 * gdb.base/dfp-test.c
5784 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5785 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5786 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5787 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5788 * gdb.base/whatis-ptype-typedefs.c: New.
5789 * gdb.base/whatis-ptype-typedefs.exp: New.
5790 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5791 (an_int, an_int_type, an_int_type2): New globals.
5792 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5793 involving typedefs and cast expressions.
5794 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5795 (lookup_typedefs_function): New.
5796 (typedefs_pretty_printers_dict): New.
5797 (top level): Register lookup_typedefs_function in
5798 gdb.pretty_printers.
5800 2017-08-18 Yao Qi <yao.qi@linaro.org>
5802 * gdb.server/unittest.exp: New.
5804 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5807 * gdb.base/environ.exp: Add test to check if 'unset environment'
5810 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5812 * lib/gdb.exp (universal_compile_options): New caching proc.
5813 (gdb_compile): Suppress GCC's coloring of messages.
5815 2017-08-14 Tom Tromey <tom@tromey.com>
5818 * gdb.base/printcmds.exp (test_radices): New function.
5819 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5820 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5821 * lib/gdb.exp (get_integer_valueof): Use p/d.
5823 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5825 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5828 2017-08-05 Tom Tromey <tom@tromey.com>
5830 * gdb.rust/simple.exp: Allow String to appear in a different
5833 2017-07-26 Yao Qi <yao.qi@linaro.org>
5835 * gdb.gdb/unittest.exp: Invoke command
5836 "maintenance check xml-descriptions".
5838 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5840 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5842 (hex128): Drop erroneous calculation of parameters.
5844 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5846 * gdb.python/py-unwind.exp: Disable stack protection when
5849 2017-07-20 Pedro Alves <palves@redhat.com>
5851 * gdb.base/default.exp (set language): Adjust expected output.
5853 2017-07-20 Pedro Alves <palves@redhat.com>
5855 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5856 (test_minsym): ... this, and make static.
5857 (get_pck__foo__bar__minsym): Rename to ...
5858 (get_test_minsym): ... this.
5859 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5860 symbol names and comments.
5861 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5862 (get_test_minsym): ... this.
5863 (pck__foo__bar__minsym__2): Rename to ...
5864 (test_minsym): ... this.
5867 2017-07-17 Pedro Alves <palves@redhat.com>
5869 * gdb.base/completion.exp: Adjust expected output.
5870 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5871 the completer works.
5873 2017-07-17 Pedro Alves <palves@redhat.com>
5875 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5877 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5879 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5881 2017-07-14 Tom Tromey <tom@tromey.com>
5884 * gdb.rust/simple.exp: Add tests.
5886 2017-07-14 Tom Tromey <tom@tromey.com>
5888 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5890 2017-07-14 Pedro Alves <palves@redhat.com>
5892 * gdb.linespec/base/one/thefile.cc (z1): New function.
5893 * gdb.linespec/base/two/thefile.cc (z2): New function.
5894 * gdb.linespec/linespec.exp: Add tests.
5896 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5898 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5899 to mi_create_breakpoint.
5901 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5903 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5904 mi_create_breakpoint.
5906 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5908 * gdb.dlang/demangle.exp: Update for demangling changes.
5910 2017-07-09 Tom Tromey <tom@tromey.com>
5912 * gdb.dwarf2/shortpiece.exp: New file.
5914 2017-07-06 David Blaikie <dblaikie@gmail.com>
5916 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5917 built from fissiont-multi-cu{1,2}.c.
5918 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5919 except putting 'main' and 'func' in separate CUs in the same DWO file.
5920 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5922 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5925 2017-07-06 Pedro Alves <palves@redhat.com>
5927 * gdb.python/py-unwind.exp: Test flushregs.
5929 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5932 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5933 tests for alias commands and trailing whitespace.
5935 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5938 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5941 2017-06-29 Pedro Alves <palves@redhat.com>
5943 * gdb.base/printcmds.exp: Add tests.
5945 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5948 * gdb.base/reread-readsym.exp: New file.
5949 * gdb.base/reread-readsym.c: New file.
5951 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5953 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5956 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5958 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5960 * gdb.arch/powerpc-power9.s: Likewise.
5962 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5964 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5965 on 32-bit x86 targets. Exploit is_*_target macros where
5968 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5970 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5973 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5975 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5976 located in one or more DWARF pieces.
5978 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5980 * lib/gdb.exp (get_endianness): New proc.
5981 * gdb.arch/aarch64-fp.exp: Use it.
5982 * gdb.arch/altivec-regs.exp: Likewise.
5983 * gdb.arch/e500-regs.exp: Likewise.
5984 * gdb.arch/vsx-regs.exp: Likewise.
5985 * gdb.base/dump.exp: Likewise.
5986 * gdb.base/funcargs.exp: Likewise.
5987 * gdb.base/gnu_vector.exp: Likewise.
5988 * gdb.dwarf2/formdata16.exp: Likewise.
5989 * gdb.dwarf2/implptrpiece.exp: Likewise.
5990 * gdb.dwarf2/nonvar-access.exp: Likewise.
5991 * gdb.python/py-inferior.exp: Likewise.
5992 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5994 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5997 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5998 stack value pieces are taken from the LSB end.
6000 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6002 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6003 variable at nonzero offset.
6005 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6007 * gdb.dwarf2/var-access.c: New file.
6008 * gdb.dwarf2/var-access.exp: New test.
6009 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6011 2017-06-12 Tom Tromey <tom@tromey.com>
6013 * gdb.dwarf2/formdata16.exp: Add tests.
6015 2017-06-12 Tom Tromey <tom@tromey.com>
6017 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6019 2017-06-12 Tom Tromey <tom@tromey.com>
6022 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6023 * gdb.arch/vsx-regs.exp: Update tests.
6024 * gdb.arch/s390-vregs.exp (hex128): New proc.
6026 * gdb.arch/altivec-regs.exp: Update tests.
6028 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6030 * gdb.base/startup-with-shell.c: New file.
6031 * gdb.base/startup-with-shell.exp: Likewise.
6033 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6035 * gdb.server/non-existing-program.exp: Update regex in order to
6036 reflect the fact that gdbserver is now using fork_inferior (with a
6037 shell) to startup the inferior.
6039 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6041 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6042 support function calls from GDB.
6044 2017-05-21 Tom Tromey <tom@tromey.com>
6047 * gdb.rust/unsized.exp: New file.
6048 * gdb.rust/unsized.rs: New file.
6050 2017-05-19 Tom Tromey <tom@tromey.com>
6053 * gdb.rust/watch.exp: New file.
6054 * gdb.rust/watch.rs: New file.
6056 2017-05-18 Tom Tromey <tom@tromey.com>
6058 * gdb.rust/simple.exp: Allow Box to be qualified.
6060 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6062 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6064 2017-05-18 Pedro Alves <palves@redhat.com>
6066 * gdb.base/fileio.c (test_write, test_read, test_close)
6067 (test_fstat): Don't print 'ret' in the fail path.
6069 2017-05-18 Pedro Alves <palves@redhat.com>
6071 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6072 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6073 (test_system, test_rename, test_unlink, test_time): Change
6075 * gdb.base/fileio.exp (stop_msg): Adjust.
6077 2017-05-18 Pedro Alves <palves@redhat.com>
6079 * gdb.base/fileio.c (null_str): New global.
6080 (test_stat): Use it.
6081 * gdb.base/fileio.exp: Remove nowarnings.
6083 2017-05-17 Yao Qi <yao.qi@linaro.org>
6085 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6087 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6089 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6091 (top-level): Invoke test_set_inferior_tty.
6093 2017-05-04 Pedro Alves <palves@redhat.com>
6095 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6096 Add parens to print call for Python 3.
6098 2017-05-03 Keith Seitz <keiths@redhat.com>
6100 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6103 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6105 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6108 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6110 * gdb.python/py-record-btrace.exp: Remove test for
6111 gdb.BtraceInstruction.error.
6113 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6115 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6117 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6119 * gdb.python/py-record-btrace-threads.c: New file.
6120 * gdb.python/py-record-btrace-threads.exp: New file.
6122 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6125 * gdb.base/environ.exp: Make test available in all architectures.
6126 Move bits related to "info program" testing to
6127 gdb.base/info-program.exp. Rewrite tests to use the two new
6128 procedures mentione below.
6129 (test_set_show_env_var) New procedure.
6130 (test_set_show_env_var_equal): Likewise.
6131 * gdb.base/info-program.exp: New file.
6133 2017-04-27 Keith Seitz <keiths@redhat.com>
6135 * gdb.cp/oranking.cc (test15): New function.
6136 (main): Call test15 and declare additional variables for testing.
6137 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6138 "p foo101('abc')" tests.
6139 Add tests for cv qualifier overloads.
6140 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6141 "lvalue reference overload" test.
6142 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6143 "print value of f1 on Child&& in f2" test.
6145 2017-04-19 Pedro Alves <palves@redhat.com>
6147 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6149 (top level): Call it.
6150 * lib/gdb.exp (gdb_define_cmd): New procedure.
6152 2017-04-12 Pedro Alves <palves@redhat.com>
6155 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6156 (wchar): New global.
6157 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6158 (do_test_wide_char, wide_char_types_no_program, top level): Add
6161 2017-04-12 Pedro Alves <palves@redhat.com>
6164 * gdb.cp/wide_char_types.c: New file.
6165 * gdb.cp/wide_char_types.exp: New file.
6167 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6170 * gdb.trace/tsv.exp: Add test for "tsave -r".
6172 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6174 * gdb.dlang/watch-loc.c: New file.
6175 * gdb.dlang/watch-loc.exp: New file.
6177 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6179 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6181 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6183 * gdb.arch/arc-analyze-prologue.S: New file.
6184 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6186 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6188 * gdb.arch/arc-decode-insn.S: New file.
6189 * gdb.arch/arc-decode-insn.exp: Likewise.
6191 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6194 * gdb.arch/sparc64-regs.exp: New file.
6195 * gdb.arch/sparc64-regs.S: Likewise.
6197 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6199 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6200 and memory view on Python 3.
6202 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6203 Keith Seitz <keiths@redhat.com>
6206 * gdb.cp/demangle.exp: Add rvalue reference tests.
6207 * gdb.cp/rvalue-ref-casts.cc: New file.
6208 * gdb.cp/rvalue-ref-casts.exp: New file.
6209 * gdb.cp/rvalue-ref-overload.cc: New file.
6210 * gdb.cp/rvalue-ref-overload.exp: New file.
6211 * gdb.cp/rvalue-ref-params.cc: New file.
6212 * gdb.cp/rvalue-ref-params.exp: New file.
6213 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6214 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6215 * gdb.cp/rvalue-ref-types.cc: New file.
6216 * gdb.cp/rvalue-ref-types.exp: New file.
6217 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6218 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6220 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6222 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6225 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6227 * lib/mi-support.exp (mi_gdb_test): Add additional message
6228 for unexpected output.
6230 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6232 * gdb.base/examine-backward.c (Barrier): New character array
6233 constant, to ensure that TestStrings is preceded by a string
6236 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6238 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6239 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6240 and implicit pointer into such a location.
6242 2017-03-16 Doug Evans <dje@google.com>
6244 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6246 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6248 * gdb.cp/m-static.exp: Fix expectation for prototype of
6249 test5.single_constructor and single_constructor::single_constructor.
6251 2017-03-16 Doug Evans <dje@google.com>
6253 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6254 * gdb.guile/scm-lazy-string.c: New file.
6255 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6256 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6257 for pointer, array, typedef lazy strings.
6259 2017-03-16 Doug Evans <dje@google.com>
6261 PR python/17728, python/18439, python/18779
6262 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6263 * gdb.python/py-lazy-string.c (pointer): New typedef.
6264 (main): New locals ptr, array, typedef_ptr.
6265 * gdb.python/py-value.exp: Move lazy string tests to ...
6266 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6267 array, typedef lazy strings.
6269 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6271 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6272 Add optional 'test' parameter.
6274 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6276 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6277 Skip for versions of DejaGnu < 1.5.
6279 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6281 * lib/gdb.exp (dejagnu_version): New proc.
6282 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6283 Use dejagnu_version.
6285 2017-03-10 Keith Seitz <keiths@redhat.com>
6288 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6289 type from destructor regexps.
6290 Add a branch which actually passes the test.
6291 Adjust "ptype t5i" test names.
6293 2017-03-08 Pedro Alves <palves@redhat.com>
6295 * gdb.base/step-over-exit.exp: Add explicit test message.
6297 2017-03-08 Pedro Alves <palves@redhat.com>
6300 * gdb.threads/interrupt-while-step-over.c: New file.
6301 * gdb.threads/interrupt-while-step-over.exp: New file.
6303 2017-03-08 Pedro Alves <palves@redhat.com>
6305 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6306 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6308 2017-03-08 Pedro Alves <palves@redhat.com>
6310 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6311 PKRU as not supported as a PASS.
6313 2017-03-08 Pedro Alves <palves@redhat.com>
6315 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6316 prefix instead of $binfile1/$binfile2.
6317 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6319 * gdb.python/py-completion.exp: Use "load python file" as test
6320 messages instead of unstable path names.
6322 2017-03-08 Pedro Alves <palves@redhat.com>
6323 Jan Kratochvil <jan.kratochvil@redhat.com>
6326 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6328 (top level): Call it.
6330 2017-03-08 Pedro Alves <palves@redhat.com>
6333 * gdb.tui/tui-nl-filtered-output.exp: New file.
6335 2017-03-08 Pedro Alves <palves@redhat.com>
6337 * gdb.base/completion.exp: Move TUI completion tests to ...
6338 * gdb.tui/completion.exp: ... this new file.
6340 2017-03-08 Pedro Alves <palves@redhat.com>
6342 * gdb.base/tui-disasm-long-lines.c,
6343 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6344 gdb.base/tui-layout.exp: Move to ...
6345 * gdb.tui/: ... this new directory.
6347 2017-03-07 Pedro Alves <palves@redhat.com>
6349 * gdb.base/tui-layout.c: New file.
6350 * gdb.base/tui-layout.exp: New file.
6352 2017-03-07 Pedro Alves <palves@redhat.com>
6354 * gdb.base/tui-layout.c: Rename to ...
6355 * gdb.base/tui-disasm-long-lines.c: ... this.
6356 * gdb.base/tui-layout.exp: Rename to ...
6357 * gdb.base/tui-disasm-long-lines.exp: ... this.
6359 2017-03-07 Pedro Alves <palves@redhat.com>
6361 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6363 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6365 * i386-mpx-call.c: New file.
6366 * i386-mpx-call.exp: New file.
6368 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6370 * gdb.arch/powerpc-power.exp: Delete test.
6371 * gdb.arch/powerpc-power.s: Likewise.
6372 * gdb.disasm/disassembler-options.exp: New test.
6373 * gdb.arch/powerpc-altivec.exp: Likewise.
6374 * gdb.arch/powerpc-altivec.s: Likewise.
6375 * gdb.arch/powerpc-altivec2.exp: Likewise.
6376 * gdb.arch/powerpc-altivec2.s: Likewise.
6377 * gdb.arch/powerpc-altivec3.exp: Likewise.
6378 * gdb.arch/powerpc-altivec3.s: Likewise.
6379 * gdb.arch/powerpc-power7.exp: Likewise.
6380 * gdb.arch/powerpc-power7.s: Likewise.
6381 * gdb.arch/powerpc-power8.exp: Likewise.
6382 * gdb.arch/powerpc-power8.s: Likewise.
6383 * gdb.arch/powerpc-power9.exp: Likewise.
6384 * gdb.arch/powerpc-power9.s: Likewise.
6385 * gdb.arch/powerpc-vsx.exp: Likewise.
6386 * gdb.arch/powerpc-vsx.s: Likewise.
6387 * gdb.arch/powerpc-vsx2.exp: Likewise.
6388 * gdb.arch/powerpc-vsx2.s: Likewise.
6389 * gdb.arch/powerpc-vsx3.exp: Likewise.
6390 * gdb.arch/powerpc-vsx3.s: Likewise.
6391 * gdb.arch/arm-disassembler-options.exp: Likewise.
6392 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6393 * gdb.arch/s390-disassembler-options.exp: Likewise.
6395 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6397 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6398 (check_supported_features): ... this. Changed return type to void.
6399 (supports_rdseed): New static global.
6400 (rdseed): Check supports_rdseed.
6401 (initialize): Call check_supported_features.
6403 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6405 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6406 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6408 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6409 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6411 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6413 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6416 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6418 * gdb.dwarf2/formdata16.c: New file.
6419 * gdb.dwarf2/formdata16.exp: New file.
6420 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6422 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6424 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6425 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6426 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6427 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6430 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6432 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6434 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6437 * gdb.base/maint.exp: Add testcases for when the commands do
6440 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6442 * gdb.cp/chained-calls.exp: Use p instead of P.
6444 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6446 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6447 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6449 2017-02-14 Tom Tromey <tom@tromey.com>
6452 * gdb.python/py-events.exp: Add before_prompt event tests.
6454 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6456 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6458 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6460 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6461 (main): Call my_unique_function_name.
6462 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6463 completion of patterns with a single match.
6464 Add missing -re switches to gdb_test_multiple calls.
6466 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6468 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6469 return if core file is not recognized.
6471 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6473 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6476 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6478 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6481 2017-02-10 Tom Tromey <tom@tromey.com>
6483 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6485 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6488 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6490 2017-02-08 Jerome Guitton <guitton@adacore.com>
6492 * gdb.base/define.exp: Add test for command abbreviations
6495 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6497 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6498 * gdb.reverse/insn-reverse-x86.c: New file.
6500 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6503 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6505 2017-02-03 Tom Tromey <tom@tromey.com>
6508 * gdb.rust/simple.exp: Add new tests.
6510 2017-02-02 Pedro Alves <palves@redhat.com>
6512 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6515 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6517 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6518 taking a 2-byte value out of a 4-byte DWARF implicit value on
6520 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6521 logic. Add test cases for DW_OP_implicit.
6523 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6525 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6527 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6529 * gdb.btrace/enable.exp: Call gdb_exit before
6530 skip_gdbserver_tests.
6532 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6534 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6537 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6539 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6540 the test is skipped.
6541 * gdb.btrace/data.exp: Likewise.
6542 * gdb.btrace/delta.exp: Likewise.
6543 * gdb.btrace/dlopen.exp: Likewise.
6544 * gdb.btrace/enable-running.exp: Likewise.
6545 * gdb.btrace/enable.exp: Likewise.
6546 * gdb.btrace/exception.exp: Likewise.
6547 * gdb.btrace/function_call_history.exp: Likewise.
6548 * gdb.btrace/gcore.exp: Likewise.
6549 * gdb.btrace/instruction_history.exp: Likewise.
6550 * gdb.btrace/multi-thread-step.exp: Likewise.
6551 * gdb.btrace/nohist.exp: Likewise.
6552 * gdb.btrace/non-stop.exp: Likewise.
6553 * gdb.btrace/reconnect.exp: Likewise.
6554 * gdb.btrace/record_goto-step.exp: Likewise.
6555 * gdb.btrace/record_goto.exp: Likewise.
6556 * gdb.btrace/rn-dl-bind.exp: Likewise.
6557 * gdb.btrace/segv.exp: Likewise.
6558 * gdb.btrace/step.exp: Likewise.
6559 * gdb.btrace/stepi.exp: Likewise.
6560 * gdb.btrace/tailcall-only.exp: Likewise.
6561 * gdb.btrace/tailcall.exp: Likewise.
6562 * gdb.btrace/tsx.exp: Likewise.
6563 * gdb.btrace/unknown_functions.exp: Likewise.
6564 * gdb.btrace/vdso.exp: Likewise.
6566 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6568 * gdb.btrace/enable-running.c: New.
6569 * gdb.btrace/enable-running.exp: New.
6571 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6573 * gdb.arch/amd64-gs_base.c: New file.
6574 * gdb.arch/amd64-gs_base.exp: New file.
6576 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6578 * lib/memory.exp: Remove spurious empty newlines.
6580 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6582 * gdb.python/py-bad-printers.exp: Load python file using "source".
6583 * gdb.python/py-events.exp: Likewise.
6584 * gdb.python/py-evsignal.exp: Likewise.
6585 * gdb.python/py-evthreads.exp: Likewise.
6586 * gdb.python/py-frame-args.exp: Likewise.
6587 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6588 * gdb.python/py-framefilter-mi.exp: Likewise.
6589 * gdb.python/py-framefilter.exp: Likewise.
6590 * gdb.python/py-mi.exp: Likewise.
6591 * gdb.python/py-pp-maint.exp: Likewise.
6592 * gdb.python/py-pp-registration.exp: Likewise.
6593 * gdb.python/py-prettyprint.exp: Likewise.
6594 (run_lang_tests): Likewise.
6595 * gdb.python/py-typeprint.exp: Likewise.
6597 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6599 * lib/memory.exp: New file.
6600 * lib/gdb.exp: Load memory.exp.
6601 * gdb.base/memattr.exp (delete_memory): Move proc to
6602 lib/memory.exp and rename to delete_memory_regions.
6603 Replace delete_memory with delete_memory_regions.
6604 Cleanup memory regions before tests.
6605 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6608 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6610 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6612 (initialize): New function conditionally defined.
6613 (testcases): Move within conditional block.
6614 (main): Call initialize.
6615 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6616 of gdb.reverse/insn-reverse.c.
6617 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6618 gdb.reverse/insn-reverse.c.
6620 2017-01-26 Yao Qi <yao.qi@linaro.org>
6622 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6623 disassemble on address 0.
6625 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6626 Yao Qi <yao.qi@linaro.org>
6628 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6629 * gdb.dwarf2/implptr-64bit.S: Remove.
6630 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6631 variables in caller's context. Add DW_OP_implicit_value.
6633 2017-01-25 Yao Qi <yao.qi@linaro.org>
6635 * lib/dwarf.exp (Dwarf::_location): Handle
6636 DW_OP_GNU_implicit_pointer with proper size.
6638 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6640 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6641 and add untested calls.
6643 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6645 * gdb.python/python.exp: Check line number against what GDB thinks
6646 the line number is for func1.
6648 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6650 * gdb.dlang/debug-expr.exp: New file.
6652 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6654 Fix test names for the following files:
6656 * gdb.ada/exec_changed.exp
6657 * gdb.ada/info_types.exp
6658 * gdb.arch/aarch64-atomic-inst.exp
6659 * gdb.arch/aarch64-fp.exp
6660 * gdb.arch/altivec-abi.exp
6661 * gdb.arch/altivec-regs.exp
6662 * gdb.arch/amd64-byte.exp
6663 * gdb.arch/amd64-disp-step.exp
6664 * gdb.arch/amd64-dword.exp
6665 * gdb.arch/amd64-entry-value-inline.exp
6666 * gdb.arch/amd64-entry-value-param.exp
6667 * gdb.arch/amd64-entry-value-paramref.exp
6668 * gdb.arch/amd64-entry-value.exp
6669 * gdb.arch/amd64-i386-address.exp
6670 * gdb.arch/amd64-invalid-stack-middle.exp
6671 * gdb.arch/amd64-invalid-stack-top.exp
6672 * gdb.arch/amd64-optimout-repeat.exp
6673 * gdb.arch/amd64-prologue-skip.exp
6674 * gdb.arch/amd64-prologue-xmm.exp
6675 * gdb.arch/amd64-stap-special-operands.exp
6676 * gdb.arch/amd64-stap-wrong-subexp.exp
6677 * gdb.arch/amd64-tailcall-cxx.exp
6678 * gdb.arch/amd64-tailcall-noret.exp
6679 * gdb.arch/amd64-tailcall-ret.exp
6680 * gdb.arch/amd64-tailcall-self.exp
6681 * gdb.arch/amd64-word.exp
6682 * gdb.arch/arm-bl-branch-dest.exp
6683 * gdb.arch/arm-disp-step.exp
6684 * gdb.arch/arm-neon.exp
6685 * gdb.arch/arm-single-step-kernel-helper.exp
6686 * gdb.arch/avr-flash-qualifier.exp
6687 * gdb.arch/disp-step-insn-reloc.exp
6688 * gdb.arch/e500-abi.exp
6689 * gdb.arch/e500-regs.exp
6690 * gdb.arch/ftrace-insn-reloc.exp
6691 * gdb.arch/i386-avx512.exp
6692 * gdb.arch/i386-bp_permanent.exp
6693 * gdb.arch/i386-byte.exp
6694 * gdb.arch/i386-cfi-notcurrent.exp
6695 * gdb.arch/i386-disp-step.exp
6696 * gdb.arch/i386-dr3-watch.exp
6697 * gdb.arch/i386-float.exp
6698 * gdb.arch/i386-gnu-cfi.exp
6699 * gdb.arch/i386-mpx-map.exp
6700 * gdb.arch/i386-mpx-sigsegv.exp
6701 * gdb.arch/i386-mpx-simple_segv.exp
6702 * gdb.arch/i386-mpx.exp
6703 * gdb.arch/i386-permbkpt.exp
6704 * gdb.arch/i386-prologue.exp
6705 * gdb.arch/i386-signal.exp
6706 * gdb.arch/i386-size-overlap.exp
6707 * gdb.arch/i386-unwind.exp
6708 * gdb.arch/i386-word.exp
6709 * gdb.arch/mips-fcr.exp
6710 * gdb.arch/powerpc-d128-regs.exp
6711 * gdb.arch/powerpc-stackless.exp
6712 * gdb.arch/ppc64-atomic-inst.exp
6713 * gdb.arch/s390-stackless.exp
6714 * gdb.arch/s390-tdbregs.exp
6715 * gdb.arch/s390-vregs.exp
6716 * gdb.arch/sparc-sysstep.exp
6717 * gdb.arch/thumb-bx-pc.exp
6718 * gdb.arch/thumb-singlestep.exp
6719 * gdb.arch/thumb2-it.exp
6720 * gdb.arch/vsx-regs.exp
6721 * gdb.asm/asm-source.exp
6722 * gdb.base/a2-run.exp
6723 * gdb.base/advance.exp
6724 * gdb.base/all-bin.exp
6727 * gdb.base/arithmet.exp
6728 * gdb.base/async-shell.exp
6729 * gdb.base/async.exp
6730 * gdb.base/attach-pie-noexec.exp
6731 * gdb.base/attach-twice.exp
6732 * gdb.base/auto-load.exp
6734 * gdb.base/bitfields.exp
6735 * gdb.base/break-always.exp
6736 * gdb.base/break-caller-line.exp
6737 * gdb.base/break-entry.exp
6738 * gdb.base/break-inline.exp
6739 * gdb.base/break-on-linker-gcd-function.exp
6740 * gdb.base/break-probes.exp
6741 * gdb.base/break.exp
6742 * gdb.base/breakpoint-shadow.exp
6743 * gdb.base/call-ar-st.exp
6744 * gdb.base/call-sc.exp
6745 * gdb.base/call-signal-resume.exp
6746 * gdb.base/call-strs.exp
6747 * gdb.base/callfuncs.exp
6748 * gdb.base/catch-fork-static.exp
6749 * gdb.base/catch-gdb-caused-signals.exp
6750 * gdb.base/catch-load.exp
6751 * gdb.base/catch-signal-fork.exp
6752 * gdb.base/catch-signal.exp
6753 * gdb.base/catch-syscall.exp
6754 * gdb.base/charset.exp
6755 * gdb.base/checkpoint.exp
6756 * gdb.base/chng-syms.exp
6757 * gdb.base/code-expr.exp
6758 * gdb.base/code_elim.exp
6759 * gdb.base/commands.exp
6760 * gdb.base/completion.exp
6761 * gdb.base/complex.exp
6762 * gdb.base/cond-expr.exp
6763 * gdb.base/condbreak.exp
6764 * gdb.base/consecutive.exp
6765 * gdb.base/continue-all-already-running.exp
6766 * gdb.base/coredump-filter.exp
6767 * gdb.base/corefile.exp
6769 * gdb.base/debug-expr.exp
6770 * gdb.base/define.exp
6772 * gdb.base/disabled-location.exp
6773 * gdb.base/disasm-end-cu.exp
6774 * gdb.base/disasm-optim.exp
6775 * gdb.base/display.exp
6776 * gdb.base/duplicate-bp.exp
6777 * gdb.base/ena-dis-br.exp
6778 * gdb.base/ending-run.exp
6779 * gdb.base/enumval.exp
6780 * gdb.base/environ.exp
6781 * gdb.base/eu-strip-infcall.exp
6782 * gdb.base/eval-avoid-side-effects.exp
6783 * gdb.base/eval-skip.exp
6784 * gdb.base/exitsignal.exp
6785 * gdb.base/expand-psymtabs.exp
6786 * gdb.base/filesym.exp
6787 * gdb.base/find-unmapped.exp
6788 * gdb.base/finish.exp
6789 * gdb.base/float.exp
6790 * gdb.base/foll-exec-mode.exp
6791 * gdb.base/foll-exec.exp
6792 * gdb.base/foll-fork.exp
6793 * gdb.base/fortran-sym-case.exp
6794 * gdb.base/freebpcmd.exp
6795 * gdb.base/func-ptr.exp
6796 * gdb.base/func-ptrs.exp
6797 * gdb.base/funcargs.exp
6798 * gdb.base/gcore-buffer-overflow.exp
6799 * gdb.base/gcore-relro-pie.exp
6800 * gdb.base/gcore-relro.exp
6801 * gdb.base/gcore.exp
6802 * gdb.base/gdb1090.exp
6803 * gdb.base/gdb11530.exp
6804 * gdb.base/gdb11531.exp
6805 * gdb.base/gdb1821.exp
6806 * gdb.base/gdbindex-stabs.exp
6807 * gdb.base/gdbvars.exp
6808 * gdb.base/hbreak.exp
6809 * gdb.base/hbreak2.exp
6810 * gdb.base/included.exp
6811 * gdb.base/infcall-input.exp
6812 * gdb.base/inferior-died.exp
6813 * gdb.base/infnan.exp
6814 * gdb.base/info-macros.exp
6815 * gdb.base/info-os.exp
6816 * gdb.base/info-proc.exp
6817 * gdb.base/info-shared.exp
6818 * gdb.base/info-target.exp
6819 * gdb.base/infoline.exp
6820 * gdb.base/interp.exp
6821 * gdb.base/interrupt.exp
6822 * gdb.base/jit-reader.exp
6823 * gdb.base/jit-simple.exp
6824 * gdb.base/kill-after-signal.exp
6825 * gdb.base/kill-detach-inferiors-cmd.exp
6826 * gdb.base/label.exp
6827 * gdb.base/langs.exp
6828 * gdb.base/ldbl_e308.exp
6829 * gdb.base/line-symtabs.exp
6830 * gdb.base/linespecs.exp
6832 * gdb.base/long_long.exp
6833 * gdb.base/longest-types.exp
6834 * gdb.base/maint.exp
6835 * gdb.base/max-value-size.exp
6836 * gdb.base/memattr.exp
6837 * gdb.base/mips_pro.exp
6838 * gdb.base/morestack.exp
6839 * gdb.base/moribund-step.exp
6840 * gdb.base/multi-forks.exp
6841 * gdb.base/nested-addr.exp
6842 * gdb.base/nextoverexit.exp
6843 * gdb.base/noreturn-finish.exp
6844 * gdb.base/noreturn-return.exp
6845 * gdb.base/nostdlib.exp
6846 * gdb.base/offsets.exp
6847 * gdb.base/opaque.exp
6848 * gdb.base/pc-fp.exp
6849 * gdb.base/permissions.exp
6850 * gdb.base/print-symbol-loading.exp
6851 * gdb.base/prologue-include.exp
6852 * gdb.base/psymtab.exp
6853 * gdb.base/ptype.exp
6854 * gdb.base/random-signal.exp
6855 * gdb.base/randomize.exp
6856 * gdb.base/range-stepping.exp
6857 * gdb.base/readline-ask.exp
6858 * gdb.base/recpar.exp
6859 * gdb.base/recurse.exp
6860 * gdb.base/relational.exp
6861 * gdb.base/restore.exp
6862 * gdb.base/return-nodebug.exp
6863 * gdb.base/return.exp
6864 * gdb.base/run-after-attach.exp
6865 * gdb.base/save-bp.exp
6866 * gdb.base/scope.exp
6867 * gdb.base/sect-cmd.exp
6868 * gdb.base/set-lang-auto.exp
6869 * gdb.base/set-noassign.exp
6870 * gdb.base/setvar.exp
6871 * gdb.base/sigall.exp
6872 * gdb.base/sigbpt.exp
6873 * gdb.base/siginfo-addr.exp
6874 * gdb.base/siginfo-infcall.exp
6875 * gdb.base/siginfo-obj.exp
6876 * gdb.base/siginfo.exp
6877 * gdb.base/signals-state-child.exp
6878 * gdb.base/signest.exp
6879 * gdb.base/sigstep.exp
6880 * gdb.base/sizeof.exp
6882 * gdb.base/solib-corrupted.exp
6883 * gdb.base/solib-nodir.exp
6884 * gdb.base/solib-search.exp
6885 * gdb.base/stack-checking.exp
6886 * gdb.base/stale-infcall.exp
6887 * gdb.base/stap-probe.exp
6888 * gdb.base/start.exp
6889 * gdb.base/step-break.exp
6890 * gdb.base/step-bt.exp
6891 * gdb.base/step-line.exp
6892 * gdb.base/step-over-exit.exp
6893 * gdb.base/step-over-syscall.exp
6894 * gdb.base/step-resume-infcall.exp
6895 * gdb.base/step-test.exp
6896 * gdb.base/store.exp
6897 * gdb.base/structs3.exp
6898 * gdb.base/sym-file.exp
6899 * gdb.base/symbol-without-target_section.exp
6901 * gdb.base/testenv.exp
6902 * gdb.base/ui-redirect.exp
6903 * gdb.base/until.exp
6904 * gdb.base/unwindonsignal.exp
6905 * gdb.base/value-double-free.exp
6906 * gdb.base/vla-datatypes.exp
6907 * gdb.base/vla-ptr.exp
6908 * gdb.base/vla-sideeffect.exp
6909 * gdb.base/volatile.exp
6910 * gdb.base/watch-cond-infcall.exp
6911 * gdb.base/watch-cond.exp
6912 * gdb.base/watch-non-mem.exp
6913 * gdb.base/watch-read.exp
6914 * gdb.base/watch-vfork.exp
6915 * gdb.base/watchpoint-cond-gone.exp
6916 * gdb.base/watchpoint-delete.exp
6917 * gdb.base/watchpoint-hw-hit-once.exp
6918 * gdb.base/watchpoint-hw.exp
6919 * gdb.base/watchpoint-stops-at-right-insn.exp
6920 * gdb.base/watchpoints.exp
6921 * gdb.base/wchar.exp
6922 * gdb.base/whatis-exp.exp
6923 * gdb.btrace/buffer-size.exp
6924 * gdb.btrace/data.exp
6925 * gdb.btrace/delta.exp
6926 * gdb.btrace/dlopen.exp
6927 * gdb.btrace/enable.exp
6928 * gdb.btrace/exception.exp
6929 * gdb.btrace/function_call_history.exp
6930 * gdb.btrace/gcore.exp
6931 * gdb.btrace/instruction_history.exp
6932 * gdb.btrace/nohist.exp
6933 * gdb.btrace/reconnect.exp
6934 * gdb.btrace/record_goto-step.exp
6935 * gdb.btrace/record_goto.exp
6936 * gdb.btrace/rn-dl-bind.exp
6937 * gdb.btrace/segv.exp
6938 * gdb.btrace/step.exp
6939 * gdb.btrace/stepi.exp
6940 * gdb.btrace/tailcall-only.exp
6941 * gdb.btrace/tailcall.exp
6942 * gdb.btrace/tsx.exp
6943 * gdb.btrace/unknown_functions.exp
6944 * gdb.btrace/vdso.exp
6945 * gdb.compile/compile-ifunc.exp
6946 * gdb.compile/compile-ops.exp
6947 * gdb.compile/compile-print.exp
6948 * gdb.compile/compile-setjmp.exp
6949 * gdb.cp/abstract-origin.exp
6950 * gdb.cp/ambiguous.exp
6951 * gdb.cp/annota2.exp
6952 * gdb.cp/annota3.exp
6953 * gdb.cp/anon-ns.exp
6954 * gdb.cp/anon-struct.exp
6955 * gdb.cp/anon-union.exp
6956 * gdb.cp/arg-reference.exp
6957 * gdb.cp/baseenum.exp
6959 * gdb.cp/breakpoint.exp
6960 * gdb.cp/bs15503.exp
6963 * gdb.cp/chained-calls.exp
6965 * gdb.cp/classes.exp
6966 * gdb.cp/cmpd-minsyms.exp
6967 * gdb.cp/converts.exp
6968 * gdb.cp/cp-relocate.exp
6969 * gdb.cp/cpcompletion.exp
6970 * gdb.cp/cpexprs.exp
6971 * gdb.cp/cplabel.exp
6972 * gdb.cp/cplusfuncs.exp
6973 * gdb.cp/cpsizeof.exp
6975 * gdb.cp/derivation.exp
6976 * gdb.cp/destrprint.exp
6977 * gdb.cp/dispcxx.exp
6978 * gdb.cp/enum-class.exp
6979 * gdb.cp/exception.exp
6980 * gdb.cp/exceptprint.exp
6981 * gdb.cp/expand-psymtabs-cxx.exp
6982 * gdb.cp/expand-sals.exp
6983 * gdb.cp/extern-c.exp
6984 * gdb.cp/filename.exp
6985 * gdb.cp/formatted-ref.exp
6986 * gdb.cp/fpointer.exp
6987 * gdb.cp/gdb1355.exp
6988 * gdb.cp/gdb2495.exp
6990 * gdb.cp/impl-this.exp
6991 * gdb.cp/infcall-dlopen.exp
6992 * gdb.cp/inherit.exp
6993 * gdb.cp/iostream.exp
6997 * gdb.cp/m-static.exp
6998 * gdb.cp/mb-ctor.exp
6999 * gdb.cp/mb-inline.exp
7000 * gdb.cp/mb-templates.exp
7001 * gdb.cp/member-name.exp
7002 * gdb.cp/member-ptr.exp
7003 * gdb.cp/meth-typedefs.exp
7005 * gdb.cp/method2.exp
7006 * gdb.cp/minsym-fallback.exp
7008 * gdb.cp/namelessclass.exp
7009 * gdb.cp/namespace-enum.exp
7010 * gdb.cp/namespace-nested-import.exp
7011 * gdb.cp/namespace.exp
7012 * gdb.cp/nextoverthrow.exp
7013 * gdb.cp/no-dmgl-verbose.exp
7014 * gdb.cp/non-trivial-retval.exp
7015 * gdb.cp/noparam.exp
7017 * gdb.cp/nsimport.exp
7018 * gdb.cp/nsnested.exp
7019 * gdb.cp/nsnoimports.exp
7020 * gdb.cp/nsrecurs.exp
7021 * gdb.cp/nsstress.exp
7022 * gdb.cp/nsusing.exp
7023 * gdb.cp/operator.exp
7024 * gdb.cp/oranking.exp
7025 * gdb.cp/overload-const.exp
7026 * gdb.cp/overload.exp
7027 * gdb.cp/ovldbreak.exp
7029 * gdb.cp/paren-type.exp
7030 * gdb.cp/parse-lang.exp
7031 * gdb.cp/pass-by-ref.exp
7032 * gdb.cp/pr-1023.exp
7033 * gdb.cp/pr-1210.exp
7035 * gdb.cp/pr10687.exp
7036 * gdb.cp/pr12028.exp
7037 * gdb.cp/pr17132.exp
7038 * gdb.cp/pr17494.exp
7042 * gdb.cp/printmethod.exp
7044 * gdb.cp/psymtab-parameter.exp
7045 * gdb.cp/ptype-cv-cp.exp
7046 * gdb.cp/ptype-flags.exp
7047 * gdb.cp/re-set-overloaded.exp
7048 * gdb.cp/ref-types.exp
7050 * gdb.cp/scope-err.exp
7053 * gdb.cp/static-method.exp
7054 * gdb.cp/static-print-quit.exp
7055 * gdb.cp/temargs.exp
7056 * gdb.cp/templates.exp
7057 * gdb.cp/try_catch.exp
7058 * gdb.cp/typedef-operator.exp
7060 * gdb.cp/userdef.exp
7061 * gdb.cp/using-crash.exp
7062 * gdb.cp/var-tag.exp
7063 * gdb.cp/virtbase.exp
7064 * gdb.cp/virtfunc.exp
7065 * gdb.cp/virtfunc2.exp
7066 * gdb.cp/vla-cxx.exp
7067 * gdb.disasm/t01_mov.exp
7068 * gdb.disasm/t02_mova.exp
7069 * gdb.disasm/t03_add.exp
7070 * gdb.disasm/t04_sub.exp
7071 * gdb.disasm/t05_cmp.exp
7072 * gdb.disasm/t06_ari2.exp
7073 * gdb.disasm/t07_ari3.exp
7074 * gdb.disasm/t08_or.exp
7075 * gdb.disasm/t09_xor.exp
7076 * gdb.disasm/t10_and.exp
7077 * gdb.disasm/t11_logs.exp
7078 * gdb.disasm/t12_bit.exp
7079 * gdb.disasm/t13_otr.exp
7080 * gdb.dlang/circular.exp
7081 * gdb.dwarf2/arr-stride.exp
7082 * gdb.dwarf2/arr-subrange.exp
7083 * gdb.dwarf2/atomic-type.exp
7084 * gdb.dwarf2/bad-regnum.exp
7085 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7086 * gdb.dwarf2/callframecfa.exp
7087 * gdb.dwarf2/clztest.exp
7088 * gdb.dwarf2/corrupt.exp
7089 * gdb.dwarf2/data-loc.exp
7090 * gdb.dwarf2/dup-psym.exp
7091 * gdb.dwarf2/dw2-anon-mptr.exp
7092 * gdb.dwarf2/dw2-anonymous-func.exp
7093 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7094 * gdb.dwarf2/dw2-bad-unresolved.exp
7095 * gdb.dwarf2/dw2-basic.exp
7096 * gdb.dwarf2/dw2-canonicalize-type.exp
7097 * gdb.dwarf2/dw2-case-insensitive.exp
7098 * gdb.dwarf2/dw2-common-block.exp
7099 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7100 * gdb.dwarf2/dw2-compressed.exp
7101 * gdb.dwarf2/dw2-const.exp
7102 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7103 * gdb.dwarf2/dw2-cu-size.exp
7104 * gdb.dwarf2/dw2-dup-frame.exp
7105 * gdb.dwarf2/dw2-entry-value.exp
7106 * gdb.dwarf2/dw2-icycle.exp
7107 * gdb.dwarf2/dw2-ifort-parameter.exp
7108 * gdb.dwarf2/dw2-inline-break.exp
7109 * gdb.dwarf2/dw2-inline-param.exp
7110 * gdb.dwarf2/dw2-intercu.exp
7111 * gdb.dwarf2/dw2-intermix.exp
7112 * gdb.dwarf2/dw2-lexical-block-bare.exp
7113 * gdb.dwarf2/dw2-linkage-name-trust.exp
7114 * gdb.dwarf2/dw2-minsym-in-cu.exp
7115 * gdb.dwarf2/dw2-noloc.exp
7116 * gdb.dwarf2/dw2-op-call.exp
7117 * gdb.dwarf2/dw2-op-out-param.exp
7118 * gdb.dwarf2/dw2-opt-structptr.exp
7119 * gdb.dwarf2/dw2-param-error.exp
7120 * gdb.dwarf2/dw2-producer.exp
7121 * gdb.dwarf2/dw2-ranges-base.exp
7122 * gdb.dwarf2/dw2-ref-missing-frame.exp
7123 * gdb.dwarf2/dw2-reg-undefined.exp
7124 * gdb.dwarf2/dw2-regno-invalid.exp
7125 * gdb.dwarf2/dw2-restore.exp
7126 * gdb.dwarf2/dw2-restrict.exp
7127 * gdb.dwarf2/dw2-single-line-discriminators.exp
7128 * gdb.dwarf2/dw2-strp.exp
7129 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7130 * gdb.dwarf2/dw2-unresolved.exp
7131 * gdb.dwarf2/dw2-var-zero-addr.exp
7132 * gdb.dwarf2/dw4-sig-types.exp
7133 * gdb.dwarf2/dwz.exp
7134 * gdb.dwarf2/dynarr-ptr.exp
7135 * gdb.dwarf2/enum-type.exp
7136 * gdb.dwarf2/gdb-index.exp
7137 * gdb.dwarf2/implptr-64bit.exp
7138 * gdb.dwarf2/implptr-optimized-out.exp
7139 * gdb.dwarf2/implptr.exp
7140 * gdb.dwarf2/implref-array.exp
7141 * gdb.dwarf2/implref-const.exp
7142 * gdb.dwarf2/implref-global.exp
7143 * gdb.dwarf2/implref-struct.exp
7144 * gdb.dwarf2/mac-fileno.exp
7145 * gdb.dwarf2/main-subprogram.exp
7146 * gdb.dwarf2/member-ptr-forwardref.exp
7147 * gdb.dwarf2/method-ptr.exp
7148 * gdb.dwarf2/missing-sig-type.exp
7149 * gdb.dwarf2/nonvar-access.exp
7150 * gdb.dwarf2/opaque-type-lookup.exp
7151 * gdb.dwarf2/pieces-optimized-out.exp
7152 * gdb.dwarf2/pieces.exp
7153 * gdb.dwarf2/pr10770.exp
7154 * gdb.dwarf2/pr13961.exp
7155 * gdb.dwarf2/staticvirtual.exp
7156 * gdb.dwarf2/subrange.exp
7157 * gdb.dwarf2/symtab-producer.exp
7158 * gdb.dwarf2/trace-crash.exp
7159 * gdb.dwarf2/typeddwarf.exp
7160 * gdb.dwarf2/valop.exp
7161 * gdb.dwarf2/watch-notconst.exp
7162 * gdb.fortran/array-element.exp
7163 * gdb.fortran/charset.exp
7164 * gdb.fortran/common-block.exp
7165 * gdb.fortran/complex.exp
7166 * gdb.fortran/derived-type-function.exp
7167 * gdb.fortran/derived-type.exp
7168 * gdb.fortran/logical.exp
7169 * gdb.fortran/module.exp
7170 * gdb.fortran/multi-dim.exp
7171 * gdb.fortran/nested-funcs.exp
7172 * gdb.fortran/print-formatted.exp
7173 * gdb.fortran/subarray.exp
7174 * gdb.fortran/vla-alloc-assoc.exp
7175 * gdb.fortran/vla-datatypes.exp
7176 * gdb.fortran/vla-history.exp
7177 * gdb.fortran/vla-ptr-info.exp
7178 * gdb.fortran/vla-ptype-sub.exp
7179 * gdb.fortran/vla-ptype.exp
7180 * gdb.fortran/vla-sizeof.exp
7181 * gdb.fortran/vla-type.exp
7182 * gdb.fortran/vla-value-sub-arbitrary.exp
7183 * gdb.fortran/vla-value-sub-finish.exp
7184 * gdb.fortran/vla-value-sub.exp
7185 * gdb.fortran/vla-value.exp
7186 * gdb.fortran/whatis_type.exp
7188 * gdb.go/handcall.exp
7190 * gdb.go/integers.exp
7191 * gdb.go/methods.exp
7192 * gdb.go/package.exp
7193 * gdb.go/strings.exp
7196 * gdb.guile/scm-arch.exp
7197 * gdb.guile/scm-block.exp
7198 * gdb.guile/scm-breakpoint.exp
7199 * gdb.guile/scm-cmd.exp
7200 * gdb.guile/scm-disasm.exp
7201 * gdb.guile/scm-equal.exp
7202 * gdb.guile/scm-frame-args.exp
7203 * gdb.guile/scm-frame-inline.exp
7204 * gdb.guile/scm-frame.exp
7205 * gdb.guile/scm-iterator.exp
7206 * gdb.guile/scm-math.exp
7207 * gdb.guile/scm-objfile.exp
7208 * gdb.guile/scm-ports.exp
7209 * gdb.guile/scm-symbol.exp
7210 * gdb.guile/scm-symtab.exp
7211 * gdb.guile/scm-value-cc.exp
7212 * gdb.guile/types-module.exp
7213 * gdb.linespec/break-ask.exp
7214 * gdb.linespec/cpexplicit.exp
7215 * gdb.linespec/explicit.exp
7216 * gdb.linespec/keywords.exp
7217 * gdb.linespec/linespec.exp
7218 * gdb.linespec/ls-dollar.exp
7219 * gdb.linespec/ls-errs.exp
7220 * gdb.linespec/skip-two.exp
7221 * gdb.linespec/thread.exp
7222 * gdb.mi/mi-async.exp
7223 * gdb.mi/mi-basics.exp
7224 * gdb.mi/mi-break.exp
7225 * gdb.mi/mi-catch-load.exp
7227 * gdb.mi/mi-cmd-param-changed.exp
7228 * gdb.mi/mi-console.exp
7229 * gdb.mi/mi-detach.exp
7230 * gdb.mi/mi-disassemble.exp
7231 * gdb.mi/mi-eval.exp
7232 * gdb.mi/mi-file-transfer.exp
7233 * gdb.mi/mi-file.exp
7234 * gdb.mi/mi-fill-memory.exp
7235 * gdb.mi/mi-inheritance-syntax-error.exp
7236 * gdb.mi/mi-linespec-err-cp.exp
7237 * gdb.mi/mi-logging.exp
7238 * gdb.mi/mi-memory-changed.exp
7239 * gdb.mi/mi-read-memory.exp
7240 * gdb.mi/mi-record-changed.exp
7241 * gdb.mi/mi-reg-undefined.exp
7242 * gdb.mi/mi-regs.exp
7243 * gdb.mi/mi-return.exp
7244 * gdb.mi/mi-reverse.exp
7245 * gdb.mi/mi-simplerun.exp
7246 * gdb.mi/mi-solib.exp
7247 * gdb.mi/mi-stack.exp
7248 * gdb.mi/mi-stepi.exp
7249 * gdb.mi/mi-syn-frame.exp
7250 * gdb.mi/mi-until.exp
7251 * gdb.mi/mi-var-block.exp
7252 * gdb.mi/mi-var-child.exp
7253 * gdb.mi/mi-var-cmd.exp
7254 * gdb.mi/mi-var-cp.exp
7255 * gdb.mi/mi-var-display.exp
7256 * gdb.mi/mi-var-invalidate.exp
7257 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7258 * gdb.mi/mi-vla-fortran.exp
7259 * gdb.mi/mi-watch.exp
7260 * gdb.mi/mi2-var-child.exp
7261 * gdb.mi/user-selected-context-sync.exp
7262 * gdb.modula2/unbounded-array.exp
7263 * gdb.multi/dummy-frame-restore.exp
7264 * gdb.multi/multi-arch-exec.exp
7265 * gdb.multi/multi-arch.exp
7266 * gdb.multi/tids.exp
7267 * gdb.multi/watchpoint-multi.exp
7268 * gdb.opencl/callfuncs.exp
7269 * gdb.opencl/convs_casts.exp
7270 * gdb.opencl/datatypes.exp
7271 * gdb.opencl/operators.exp
7272 * gdb.opencl/vec_comps.exp
7273 * gdb.opt/clobbered-registers-O2.exp
7274 * gdb.opt/inline-break.exp
7275 * gdb.opt/inline-bt.exp
7276 * gdb.opt/inline-cmds.exp
7277 * gdb.opt/inline-locals.exp
7278 * gdb.pascal/case-insensitive-symbols.exp
7279 * gdb.pascal/floats.exp
7280 * gdb.pascal/gdb11492.exp
7281 * gdb.python/lib-types.exp
7282 * gdb.python/py-arch.exp
7283 * gdb.python/py-as-string.exp
7284 * gdb.python/py-bad-printers.exp
7285 * gdb.python/py-block.exp
7286 * gdb.python/py-breakpoint-create-fail.exp
7287 * gdb.python/py-breakpoint.exp
7288 * gdb.python/py-caller-is.exp
7289 * gdb.python/py-cmd.exp
7290 * gdb.python/py-explore-cc.exp
7291 * gdb.python/py-explore.exp
7292 * gdb.python/py-finish-breakpoint.exp
7293 * gdb.python/py-finish-breakpoint2.exp
7294 * gdb.python/py-frame-args.exp
7295 * gdb.python/py-frame-inline.exp
7296 * gdb.python/py-frame.exp
7297 * gdb.python/py-framefilter-mi.exp
7298 * gdb.python/py-infthread.exp
7299 * gdb.python/py-lazy-string.exp
7300 * gdb.python/py-linetable.exp
7301 * gdb.python/py-mi-events.exp
7302 * gdb.python/py-mi-objfile.exp
7303 * gdb.python/py-mi.exp
7304 * gdb.python/py-objfile.exp
7305 * gdb.python/py-pp-integral.exp
7306 * gdb.python/py-pp-maint.exp
7307 * gdb.python/py-pp-re-notag.exp
7308 * gdb.python/py-pp-registration.exp
7309 * gdb.python/py-recurse-unwind.exp
7310 * gdb.python/py-strfns.exp
7311 * gdb.python/py-symbol.exp
7312 * gdb.python/py-symtab.exp
7313 * gdb.python/py-sync-interp.exp
7314 * gdb.python/py-typeprint.exp
7315 * gdb.python/py-unwind-maint.exp
7316 * gdb.python/py-unwind.exp
7317 * gdb.python/py-value-cc.exp
7318 * gdb.python/py-xmethods.exp
7319 * gdb.reverse/amd64-tailcall-reverse.exp
7320 * gdb.reverse/break-precsave.exp
7321 * gdb.reverse/break-reverse.exp
7322 * gdb.reverse/consecutive-precsave.exp
7323 * gdb.reverse/consecutive-reverse.exp
7324 * gdb.reverse/finish-precsave.exp
7325 * gdb.reverse/finish-reverse-bkpt.exp
7326 * gdb.reverse/finish-reverse.exp
7327 * gdb.reverse/fstatat-reverse.exp
7328 * gdb.reverse/getresuid-reverse.exp
7329 * gdb.reverse/i386-precsave.exp
7330 * gdb.reverse/i386-reverse.exp
7331 * gdb.reverse/i386-sse-reverse.exp
7332 * gdb.reverse/i387-env-reverse.exp
7333 * gdb.reverse/i387-stack-reverse.exp
7334 * gdb.reverse/insn-reverse.exp
7335 * gdb.reverse/machinestate-precsave.exp
7336 * gdb.reverse/machinestate.exp
7337 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7338 * gdb.reverse/pipe-reverse.exp
7339 * gdb.reverse/readv-reverse.exp
7340 * gdb.reverse/recvmsg-reverse.exp
7341 * gdb.reverse/rerun-prec.exp
7342 * gdb.reverse/s390-mvcle.exp
7343 * gdb.reverse/step-precsave.exp
7344 * gdb.reverse/step-reverse.exp
7345 * gdb.reverse/time-reverse.exp
7346 * gdb.reverse/until-precsave.exp
7347 * gdb.reverse/until-reverse.exp
7348 * gdb.reverse/waitpid-reverse.exp
7349 * gdb.reverse/watch-precsave.exp
7350 * gdb.reverse/watch-reverse.exp
7351 * gdb.rust/generics.exp
7352 * gdb.rust/methods.exp
7353 * gdb.rust/modules.exp
7354 * gdb.rust/simple.exp
7355 * gdb.server/connect-with-no-symbol-file.exp
7356 * gdb.server/ext-attach.exp
7357 * gdb.server/ext-restart.exp
7358 * gdb.server/ext-wrapper.exp
7359 * gdb.server/file-transfer.exp
7360 * gdb.server/server-exec-info.exp
7361 * gdb.server/server-kill.exp
7362 * gdb.server/server-mon.exp
7363 * gdb.server/wrapper.exp
7364 * gdb.stabs/exclfwd.exp
7365 * gdb.stabs/gdb11479.exp
7366 * gdb.threads/clone-new-thread-event.exp
7367 * gdb.threads/corethreads.exp
7368 * gdb.threads/current-lwp-dead.exp
7369 * gdb.threads/dlopen-libpthread.exp
7370 * gdb.threads/gcore-thread.exp
7371 * gdb.threads/sigstep-threads.exp
7372 * gdb.threads/watchpoint-fork.exp
7373 * gdb.trace/actions-changed.exp
7374 * gdb.trace/backtrace.exp
7375 * gdb.trace/change-loc.exp
7376 * gdb.trace/circ.exp
7377 * gdb.trace/collection.exp
7378 * gdb.trace/disconnected-tracing.exp
7379 * gdb.trace/ftrace.exp
7380 * gdb.trace/mi-trace-frame-collected.exp
7381 * gdb.trace/mi-trace-unavailable.exp
7382 * gdb.trace/mi-traceframe-changed.exp
7383 * gdb.trace/mi-tsv-changed.exp
7384 * gdb.trace/no-attach-trace.exp
7385 * gdb.trace/passc-dyn.exp
7386 * gdb.trace/qtro.exp
7387 * gdb.trace/range-stepping.exp
7388 * gdb.trace/read-memory.exp
7389 * gdb.trace/save-trace.exp
7390 * gdb.trace/signal.exp
7391 * gdb.trace/status-stop.exp
7392 * gdb.trace/tfile.exp
7393 * gdb.trace/trace-break.exp
7394 * gdb.trace/trace-buffer-size.exp
7395 * gdb.trace/trace-condition.exp
7396 * gdb.trace/tracefile-pseudo-reg.exp
7397 * gdb.trace/tstatus.exp
7398 * gdb.trace/unavailable.exp
7399 * gdb.trace/while-dyn.exp
7400 * gdb.trace/while-stepping.exp
7402 2016-12-22 Doug Evans <xdje42@gmail.com>
7404 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7407 2016-12-19 Yao Qi <yao.qi@linaro.org>
7409 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7410 (test_with_self): Don't call do_steps_and_nexts, and remove
7411 code about stepping into xmalloc.
7413 2016-12-09 Yao Qi <yao.qi@linaro.org>
7415 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7417 2016-12-09 Yao Qi <yao.qi@linaro.org>
7419 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7421 2016-12-09 Pedro Alves <palves@redhat.com>
7423 * gdb.base/all-architectures-0.exp: New file.
7424 * gdb.base/all-architectures-1.exp: New file.
7425 * gdb.base/all-architectures-2.exp: New file.
7426 * gdb.base/all-architectures-3.exp: New file.
7427 * gdb.base/all-architectures-4.exp: New file.
7428 * gdb.base/all-architectures-5.exp: New file.
7429 * gdb.base/all-architectures-6.exp: New file.
7430 * gdb.base/all-architectures-7.exp: New file.
7431 * gdb.base/all-architectures.exp.in: New file.
7433 2016-12-09 Yao Qi <yao.qi@linaro.org>
7435 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7437 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7439 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7441 Remove useless pattern-matching code.
7443 2016-12-02 Pedro Alves <palves@redhat.com>
7445 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7447 (top level): Call it.
7449 2016-12-02 Pedro Alves <palves@redhat.com>
7451 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7453 (top level): Call it.
7455 2016-12-02 Pedro Alves <palves@redhat.com>
7458 * gdb.base/commands.exp (user_defined_command_args_eval): New
7460 (top level): Call it.
7462 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7464 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7467 2016-12-02 Tom Tromey <tom@tromey.com>
7469 * gdb.dwarf2/main-subprogram.c: New file.
7470 * gdb.dwarf2/main-subprogram.exp: New file.
7472 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7474 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7475 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7476 gdb_test_no_output for a couple of cases.
7477 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7479 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7481 Fix test names and standardize compilation error messages throughout
7482 the following files:
7485 * gdb.arch/alpha-step.exp
7486 * gdb.arch/e500-prologue.exp
7487 * gdb.arch/ftrace-insn-reloc.exp
7488 * gdb.arch/gdb1291.exp
7489 * gdb.arch/gdb1431.exp
7490 * gdb.arch/gdb1558.exp
7491 * gdb.arch/i386-dr3-watch.exp
7492 * gdb.arch/i386-sse-stack-align.exp
7493 * gdb.arch/ia64-breakpoint-shadow.exp
7494 * gdb.arch/pa-nullify.exp
7495 * gdb.arch/powerpc-aix-prologue.exp
7496 * gdb.arch/thumb-bx-pc.exp
7497 * gdb.base/annota1.exp
7498 * gdb.base/annota3.exp
7499 * gdb.base/arrayidx.exp
7500 * gdb.base/assign.exp
7501 * gdb.base/attach.exp
7504 * gdb.base/bfp-test.exp
7505 * gdb.base/bigcore.exp
7506 * gdb.base/bitfields2.exp
7507 * gdb.base/break-fun-addr.exp
7508 * gdb.base/break-probes.exp
7509 * gdb.base/call-rt-st.exp
7510 * gdb.base/callexit.exp
7511 * gdb.base/catch-fork-kill.exp
7512 * gdb.base/charset.exp
7513 * gdb.base/checkpoint.exp
7514 * gdb.base/comprdebug.exp
7515 * gdb.base/constvars.exp
7516 * gdb.base/coredump-filter.exp
7517 * gdb.base/cursal.exp
7518 * gdb.base/cvexpr.exp
7519 * gdb.base/detach.exp
7520 * gdb.base/display.exp
7521 * gdb.base/dmsym.exp
7522 * gdb.base/dprintf-pending.exp
7523 * gdb.base/dso2dso.exp
7524 * gdb.base/dtrace-probe.exp
7526 * gdb.base/enum_cond.exp
7527 * gdb.base/exe-lock.exp
7528 * gdb.base/exec-invalid-sysroot.exp
7529 * gdb.base/execl-update-breakpoints.exp
7530 * gdb.base/exprs.exp
7531 * gdb.base/fileio.exp
7533 * gdb.base/finish.exp
7534 * gdb.base/fixsection.exp
7535 * gdb.base/foll-vfork.exp
7536 * gdb.base/frame-args.exp
7537 * gdb.base/gcore.exp
7538 * gdb.base/gdb1250.exp
7539 * gdb.base/global-var-nested-by-dso.exp
7540 * gdb.base/gnu-ifunc.exp
7541 * gdb.base/hashline1.exp
7542 * gdb.base/hashline2.exp
7543 * gdb.base/hashline3.exp
7544 * gdb.base/hbreak-in-shr-unsupported.exp
7546 * gdb.base/infcall-input.exp
7547 * gdb.base/info-fun.exp
7548 * gdb.base/info-shared.exp
7549 * gdb.base/jit-simple.exp
7550 * gdb.base/jit-so.exp
7553 * gdb.base/label.exp
7554 * gdb.base/lineinc.exp
7555 * gdb.base/logical.exp
7556 * gdb.base/longjmp.exp
7557 * gdb.base/macscp.exp
7558 * gdb.base/miscexprs.exp
7559 * gdb.base/new-ui-echo.exp
7560 * gdb.base/new-ui-pending-input.exp
7561 * gdb.base/new-ui.exp
7562 * gdb.base/nodebug.exp
7563 * gdb.base/nofield.exp
7564 * gdb.base/offsets.exp
7565 * gdb.base/overlays.exp
7566 * gdb.base/pending.exp
7567 * gdb.base/pointers.exp
7568 * gdb.base/pr11022.exp
7569 * gdb.base/printcmds.exp
7570 * gdb.base/prologue.exp
7571 * gdb.base/ptr-typedef.exp
7572 * gdb.base/realname-expand.exp
7573 * gdb.base/relativedebug.exp
7574 * gdb.base/relocate.exp
7575 * gdb.base/remote.exp
7576 * gdb.base/reread.exp
7577 * gdb.base/return2.exp
7578 * gdb.base/savedregs.exp
7580 * gdb.base/sepdebug.exp
7581 * gdb.base/sepsymtab.exp
7582 * gdb.base/set-inferior-tty.exp
7583 * gdb.base/setshow.exp
7584 * gdb.base/shlib-call.exp
7585 * gdb.base/sigaltstack.exp
7586 * gdb.base/siginfo-addr.exp
7587 * gdb.base/signals.exp
7588 * gdb.base/signull.exp
7589 * gdb.base/sigrepeat.exp
7590 * gdb.base/so-impl-ld.exp
7591 * gdb.base/solib-display.exp
7592 * gdb.base/solib-overlap.exp
7593 * gdb.base/solib-search.exp
7594 * gdb.base/solib-symbol.exp
7595 * gdb.base/structs.exp
7596 * gdb.base/structs2.exp
7597 * gdb.base/symtab-search-order.exp
7598 * gdb.base/twice.exp
7599 * gdb.base/unload.exp
7600 * gdb.base/varargs.exp
7601 * gdb.base/watchpoint-solib.exp
7602 * gdb.base/watchpoint.exp
7603 * gdb.base/whatis.exp
7604 * gdb.base/wrong_frame_bt_full.exp
7605 * gdb.btrace/dlopen.exp
7606 * gdb.cell/ea-standalone.exp
7607 * gdb.cell/ea-test.exp
7608 * gdb.cp/dispcxx.exp
7609 * gdb.cp/gdb2384.exp
7610 * gdb.cp/method2.exp
7611 * gdb.cp/nextoverthrow.exp
7612 * gdb.cp/pr10728.exp
7613 * gdb.disasm/am33.exp
7614 * gdb.disasm/h8300s.exp
7615 * gdb.disasm/mn10300.exp
7616 * gdb.disasm/sh3.exp
7617 * gdb.dwarf2/dw2-dir-file-name.exp
7618 * gdb.fortran/complex.exp
7619 * gdb.fortran/library-module.exp
7620 * gdb.guile/scm-pretty-print.exp
7621 * gdb.guile/scm-symbol.exp
7622 * gdb.guile/scm-type.exp
7623 * gdb.guile/scm-value.exp
7624 * gdb.linespec/linespec.exp
7627 * gdb.mi/mi-breakpoint-changed.exp
7628 * gdb.mi/mi-dprintf-pending.exp
7629 * gdb.mi/mi-dprintf.exp
7630 * gdb.mi/mi-exit-code.exp
7631 * gdb.mi/mi-pending.exp
7632 * gdb.mi/mi-solib.exp
7633 * gdb.mi/new-ui-mi-sync.exp
7634 * gdb.mi/pr11022.exp
7635 * gdb.mi/user-selected-context-sync.exp
7636 * gdb.opt/solib-intra-step.exp
7637 * gdb.python/py-events.exp
7638 * gdb.python/py-finish-breakpoint.exp
7639 * gdb.python/py-mi.exp
7640 * gdb.python/py-prettyprint.exp
7641 * gdb.python/py-shared.exp
7642 * gdb.python/py-symbol.exp
7643 * gdb.python/py-template.exp
7644 * gdb.python/py-type.exp
7645 * gdb.python/py-value.exp
7646 * gdb.reverse/solib-precsave.exp
7647 * gdb.reverse/solib-reverse.exp
7648 * gdb.server/solib-list.exp
7649 * gdb.stabs/weird.exp
7650 * gdb.threads/reconnect-signal.exp
7651 * gdb.threads/stepi-random-signal.exp
7652 * gdb.trace/actions.exp
7654 * gdb.trace/backtrace.exp
7655 * gdb.trace/change-loc.exp
7656 * gdb.trace/deltrace.exp
7657 * gdb.trace/ftrace-lock.exp
7658 * gdb.trace/ftrace.exp
7659 * gdb.trace/infotrace.exp
7660 * gdb.trace/mi-tracepoint-changed.exp
7661 * gdb.trace/packetlen.exp
7662 * gdb.trace/passcount.exp
7663 * gdb.trace/pending.exp
7664 * gdb.trace/range-stepping.exp
7665 * gdb.trace/report.exp
7666 * gdb.trace/stap-trace.exp
7667 * gdb.trace/tfind.exp
7668 * gdb.trace/trace-break.exp
7669 * gdb.trace/trace-condition.exp
7670 * gdb.trace/trace-enable-disable.exp
7671 * gdb.trace/trace-mt.exp
7672 * gdb.trace/tracecmd.exp
7673 * gdb.trace/tspeed.exp
7677 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7679 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7680 with gdb_test_no_output.
7681 Use command as test name.
7683 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7685 Fix test names starting with uppercase throughout the files.
7687 * gdb.ada/assign_1.exp
7688 * gdb.ada/boolean_expr.exp
7689 * gdb.base/arrayidx.exp
7691 * gdb.base/gcore-buffer-overflow.exp
7692 * gdb.base/testenv.exp
7693 * gdb.compile/compile.exp
7694 * gdb.python/py-framefilter-invalidarg.exp
7695 * gdb.python/py-framefilter.exp
7697 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7699 Fix test names starting with uppercase throughout the files.
7701 * gdb.ada/array_return.exp
7702 * gdb.ada/expr_delims.exp
7703 * gdb.ada/mi_dyn_arr.exp
7704 * gdb.ada/mi_interface.exp
7705 * gdb.ada/mi_var_array.exp
7706 * gdb.ada/watch_arg.exp
7707 * gdb.arch/alpha-step.exp
7708 * gdb.arch/altivec-regs.exp
7709 * gdb.arch/e500-regs.exp
7710 * gdb.arch/powerpc-d128-regs.exp
7711 * gdb.base/arrayidx.exp
7712 * gdb.base/break.exp
7713 * gdb.base/checkpoint.exp
7714 * gdb.base/debug-expr.exp
7715 * gdb.base/dmsym.exp
7716 * gdb.base/radix.exp
7717 * gdb.base/sepdebug.exp
7718 * gdb.base/testenv.exp
7719 * gdb.base/watch_thread_num.exp
7720 * gdb.base/watchpoint-cond-gone.exp
7721 * gdb.cell/break.exp
7722 * gdb.cell/ea-cache.exp
7723 * gdb.compile/compile.exp
7724 * gdb.cp/gdb2495.exp
7725 * gdb.gdb/selftest.exp
7726 * gdb.gdb/xfullpath.exp
7728 * gdb.go/integers.exp
7729 * gdb.objc/basicclass.exp
7730 * gdb.pascal/hello.exp
7731 * gdb.pascal/integers.exp
7732 * gdb.python/py-breakpoint.exp
7733 * gdb.python/py-cmd.exp
7734 * gdb.python/py-linetable.exp
7735 * gdb.python/py-xmethods.exp
7736 * gdb.python/python.exp
7737 * gdb.reverse/consecutive-precsave.exp
7738 * gdb.reverse/finish-precsave.exp
7739 * gdb.reverse/i386-precsave.exp
7740 * gdb.reverse/machinestate-precsave.exp
7741 * gdb.reverse/sigall-precsave.exp
7742 * gdb.reverse/solib-precsave.exp
7743 * gdb.reverse/step-precsave.exp
7744 * gdb.reverse/until-precsave.exp
7745 * gdb.reverse/watch-precsave.exp
7746 * gdb.threads/leader-exit.exp
7747 * gdb.threads/pthreads.exp
7748 * gdb.threads/wp-replication.exp
7749 * gdb.trace/actions.exp
7750 * gdb.trace/mi-tsv-changed.exp
7753 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7755 Fix test names starting with uppercase throughout the files.
7757 * gdb.arch/i386-bp_permanent.exp
7758 * gdb.arch/i386-gnu-cfi.exp
7759 * gdb.base/disasm-end-cu.exp
7760 * gdb.base/macscp.exp
7761 * gdb.base/pending.exp
7762 * gdb.base/watch_thread_num.exp
7763 * gdb.cp/exception.exp
7764 * gdb.cp/gdb2495.exp
7766 * gdb.python/py-evsignal.exp
7767 * gdb.python/python.exp
7768 * gdb.trace/tracecmd.exp
7770 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7772 Fix test names starting with uppercase throughout the files.
7774 * gdb.base/charset.exp
7776 * gdb.base/multi-forks.exp
7777 * gdb.guile/scm-progspace.exp
7778 * gdb.opencl/datatypes.exp
7779 * gdb.python/py-block.exp
7780 * gdb.python/py-function.exp
7781 * gdb.python/py-symbol.exp
7782 * gdb.python/py-symtab.exp
7783 * gdb.python/py-xmethods.exp
7784 * gdb.reverse/break-precsave.exp
7785 * gdb.reverse/break-reverse.exp
7786 * gdb.reverse/consecutive-precsave.exp
7787 * gdb.reverse/consecutive-reverse.exp
7788 * gdb.reverse/finish-precsave.exp
7789 * gdb.reverse/finish-reverse-bkpt.exp
7790 * gdb.reverse/finish-reverse.exp
7791 * gdb.reverse/fstatat-reverse.exp
7792 * gdb.reverse/getresuid-reverse.exp
7793 * gdb.reverse/i386-precsave.exp
7794 * gdb.reverse/i386-reverse.exp
7795 * gdb.reverse/i386-sse-reverse.exp
7796 * gdb.reverse/i387-stack-reverse.exp
7797 * gdb.reverse/insn-reverse.exp
7798 * gdb.reverse/machinestate-precsave.exp
7799 * gdb.reverse/machinestate.exp
7800 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7801 * gdb.reverse/pipe-reverse.exp
7802 * gdb.reverse/readv-reverse.exp
7803 * gdb.reverse/recvmsg-reverse.exp
7804 * gdb.reverse/rerun-prec.exp
7805 * gdb.reverse/s390-mvcle.exp
7806 * gdb.reverse/sigall-precsave.exp
7807 * gdb.reverse/sigall-reverse.exp
7808 * gdb.reverse/solib-precsave.exp
7809 * gdb.reverse/solib-reverse.exp
7810 * gdb.reverse/step-precsave.exp
7811 * gdb.reverse/step-reverse.exp
7812 * gdb.reverse/time-reverse.exp
7813 * gdb.reverse/until-precsave.exp
7814 * gdb.reverse/until-reverse.exp
7815 * gdb.reverse/waitpid-reverse.exp
7816 * gdb.reverse/watch-precsave.exp
7817 * gdb.reverse/watch-reverse.exp
7819 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7821 Fix test names starting with uppercase throughout the files.
7823 * gdb.arch/i386-mpx-simple_segv.exp
7824 * gdb.arch/i386-mpx.exp
7825 * gdb.arch/i386-permbkpt.exp
7826 * gdb.arch/pa-nullify.exp
7827 * gdb.arch/powerpc-d128-regs.exp
7828 * gdb.arch/vsx-regs.exp
7829 * gdb.base/bfp-test.exp
7830 * gdb.base/break.exp
7831 * gdb.base/breakpoint-shadow.exp
7832 * gdb.base/callfuncs.exp
7833 * gdb.base/charset.exp
7834 * gdb.base/commands.exp
7835 * gdb.base/completion.exp
7836 * gdb.base/dfp-test.exp
7838 * gdb.base/ending-run.exp
7840 * gdb.base/expand-psymtabs.exp
7841 * gdb.base/float128.exp
7842 * gdb.base/floatn.exp
7843 * gdb.base/foll-exec-mode.exp
7844 * gdb.base/gdb1056.exp
7845 * gdb.base/gdb11531.exp
7846 * gdb.base/kill-after-signal.exp
7847 * gdb.base/multi-forks.exp
7848 * gdb.base/overlays.exp
7849 * gdb.base/pending.exp
7850 * gdb.base/sepdebug.exp
7851 * gdb.base/testenv.exp
7852 * gdb.base/valgrind-db-attach.exp
7853 * gdb.base/watch_thread_num.exp
7854 * gdb.base/watchpoint-cond-gone.exp
7855 * gdb.base/watchpoint.exp
7856 * gdb.base/watchpoints.exp
7857 * gdb.cp/arg-reference.exp
7858 * gdb.cp/baseenum.exp
7859 * gdb.cp/operator.exp
7861 * gdb.dwarf2/dw2-op-out-param.exp
7862 * gdb.dwarf2/dw2-reg-undefined.exp
7865 * gdb.go/integers.exp
7866 * gdb.go/methods.exp
7867 * gdb.go/package.exp
7868 * gdb.guile/scm-parameter.exp
7869 * gdb.guile/scm-progspace.exp
7870 * gdb.guile/scm-value.exp
7871 * gdb.mi/mi-pending.exp
7872 * gdb.mi/user-selected-context-sync.exp
7873 * gdb.multi/multi-attach.exp
7874 * gdb.multi/tids.exp
7875 * gdb.opt/clobbered-registers-O2.exp
7876 * gdb.pascal/floats.exp
7877 * gdb.pascal/integers.exp
7878 * gdb.python/py-block.exp
7879 * gdb.python/py-events.exp
7880 * gdb.python/py-parameter.exp
7881 * gdb.python/py-symbol.exp
7882 * gdb.python/py-symtab.exp
7883 * gdb.python/py-type.exp
7884 * gdb.python/py-value.exp
7885 * gdb.python/py-xmethods.exp
7886 * gdb.python/python.exp
7887 * gdb.reverse/break-precsave.exp
7888 * gdb.reverse/consecutive-precsave.exp
7889 * gdb.reverse/finish-precsave.exp
7890 * gdb.reverse/i386-precsave.exp
7891 * gdb.reverse/machinestate-precsave.exp
7892 * gdb.reverse/sigall-precsave.exp
7893 * gdb.reverse/solib-precsave.exp
7894 * gdb.reverse/step-precsave.exp
7895 * gdb.reverse/until-precsave.exp
7896 * gdb.reverse/watch-precsave.exp
7897 * gdb.server/ext-attach.exp
7898 * gdb.server/ext-restart.exp
7899 * gdb.server/ext-run.exp
7900 * gdb.server/ext-wrapper.exp
7901 * gdb.stabs/gdb11479.exp
7902 * gdb.stabs/weird.exp
7903 * gdb.threads/attach-many-short-lived-threads.exp
7904 * gdb.threads/kill.exp
7905 * gdb.threads/watchpoint-fork.exp
7907 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7909 Fix test names starting with uppercase throughout all the files below.
7911 * gdb.ada/array_return.exp
7912 * gdb.ada/catch_ex.exp
7913 * gdb.ada/info_exc.exp
7914 * gdb.ada/mi_catch_ex.exp
7915 * gdb.ada/mi_dyn_arr.exp
7916 * gdb.ada/mi_ex_cond.exp
7917 * gdb.ada/mi_exc_info.exp
7918 * gdb.ada/mi_interface.exp
7919 * gdb.ada/mi_task_arg.exp
7920 * gdb.ada/mi_task_info.exp
7921 * gdb.ada/mi_var_array.exp
7922 * gdb.arch/alpha-step.exp
7923 * gdb.arch/amd64-disp-step.exp
7924 * gdb.arch/arm-disp-step.exp
7925 * gdb.arch/disp-step-insn-reloc.exp
7926 * gdb.arch/e500-prologue.exp
7927 * gdb.arch/ftrace-insn-reloc.exp
7928 * gdb.arch/gdb1558.exp
7929 * gdb.arch/i386-bp_permanent.exp
7930 * gdb.arch/i386-disp-step.exp
7931 * gdb.arch/i386-float.exp
7932 * gdb.arch/i386-gnu-cfi.exp
7933 * gdb.arch/ia64-breakpoint-shadow.exp
7934 * gdb.arch/mips16-thunks.exp
7935 * gdb.arch/pa-nullify.exp
7936 * gdb.arch/powerpc-aix-prologue.exp
7937 * gdb.arch/powerpc-power.exp
7938 * gdb.arch/ppc-dfp.exp
7939 * gdb.arch/s390-tdbregs.exp
7940 * gdb.arch/spu-info.exp
7941 * gdb.arch/spu-ls.exp
7942 * gdb.arch/thumb-bx-pc.exp
7943 * gdb.base/advance.exp
7944 * gdb.base/annota-input-while-running.exp
7945 * gdb.base/arrayidx.exp
7946 * gdb.base/asmlabel.exp
7947 * gdb.base/async.exp
7948 * gdb.base/attach-wait-input.exp
7949 * gdb.base/auto-connect-native-target.exp
7950 * gdb.base/batch-preserve-term-settings.exp
7951 * gdb.base/bfp-test.exp
7952 * gdb.base/bigcore.exp
7953 * gdb.base/bp-permanent.exp
7954 * gdb.base/break-always.exp
7955 * gdb.base/break-fun-addr.exp
7956 * gdb.base/break-idempotent.exp
7957 * gdb.base/break-main-file-remove-fail.exp
7958 * gdb.base/break-probes.exp
7959 * gdb.base/break-unload-file.exp
7960 * gdb.base/break.exp
7961 * gdb.base/call-ar-st.exp
7962 * gdb.base/call-rt-st.exp
7963 * gdb.base/call-sc.exp
7964 * gdb.base/call-signal-resume.exp
7965 * gdb.base/call-strs.exp
7966 * gdb.base/callexit.exp
7967 * gdb.base/callfuncs.exp
7968 * gdb.base/catch-gdb-caused-signals.exp
7969 * gdb.base/catch-signal-siginfo-cond.exp
7970 * gdb.base/catch-syscall.exp
7971 * gdb.base/compare-sections.exp
7972 * gdb.base/cond-eval-mode.exp
7973 * gdb.base/condbreak-call-false.exp
7974 * gdb.base/consecutive-step-over.exp
7975 * gdb.base/cursal.exp
7976 * gdb.base/disabled-location.exp
7977 * gdb.base/disasm-end-cu.exp
7978 * gdb.base/display.exp
7979 * gdb.base/double-prompt-target-event-error.exp
7980 * gdb.base/dprintf-bp-same-addr.exp
7981 * gdb.base/dprintf-detach.exp
7982 * gdb.base/dprintf-next.exp
7983 * gdb.base/dprintf-non-stop.exp
7984 * gdb.base/dprintf-pending.exp
7985 * gdb.base/dso2dso.exp
7986 * gdb.base/ending-run.exp
7987 * gdb.base/enum_cond.exp
7988 * gdb.base/examine-backward.exp
7989 * gdb.base/exe-lock.exp
7990 * gdb.base/exec-invalid-sysroot.exp
7991 * gdb.base/execl-update-breakpoints.exp
7992 * gdb.base/execution-termios.exp
7993 * gdb.base/fileio.exp
7994 * gdb.base/fixsection.exp
7995 * gdb.base/foll-exec-mode.exp
7996 * gdb.base/foll-exec.exp
7997 * gdb.base/fork-running-state.exp
7998 * gdb.base/frame-args.exp
7999 * gdb.base/fullpath-expand.exp
8000 * gdb.base/func-ptr.exp
8001 * gdb.base/gcore-relro-pie.exp
8002 * gdb.base/gdb1090.exp
8003 * gdb.base/gdb1555.exp
8004 * gdb.base/global-var-nested-by-dso.exp
8005 * gdb.base/gnu-ifunc.exp
8006 * gdb.base/hbreak-in-shr-unsupported.exp
8007 * gdb.base/hbreak-unmapped.exp
8008 * gdb.base/hook-stop.exp
8009 * gdb.base/infcall-input.exp
8010 * gdb.base/info-fun.exp
8011 * gdb.base/info-shared.exp
8012 * gdb.base/interrupt-noterm.exp
8013 * gdb.base/jit-so.exp
8015 * gdb.base/line-symtabs.exp
8017 * gdb.base/longjmp.exp
8018 * gdb.base/macscp.exp
8019 * gdb.base/max-value-size.exp
8020 * gdb.base/nodebug.exp
8021 * gdb.base/nofield.exp
8022 * gdb.base/overlays.exp
8023 * gdb.base/paginate-after-ctrl-c-running.exp
8024 * gdb.base/paginate-bg-execution.exp
8025 * gdb.base/paginate-inferior-exit.exp
8026 * gdb.base/pending.exp
8027 * gdb.base/pr11022.exp
8028 * gdb.base/printcmds.exp
8029 * gdb.base/ptr-typedef.exp
8030 * gdb.base/ptype.exp
8031 * gdb.base/randomize.exp
8032 * gdb.base/range-stepping.exp
8033 * gdb.base/realname-expand.exp
8034 * gdb.base/relativedebug.exp
8035 * gdb.base/remote.exp
8036 * gdb.base/savedregs.exp
8037 * gdb.base/sepdebug.exp
8038 * gdb.base/set-noassign.exp
8039 * gdb.base/shlib-call.exp
8040 * gdb.base/shreloc.exp
8041 * gdb.base/sigaltstack.exp
8042 * gdb.base/sigbpt.exp
8043 * gdb.base/siginfo-addr.exp
8044 * gdb.base/siginfo-obj.exp
8045 * gdb.base/siginfo-thread.exp
8046 * gdb.base/signest.exp
8047 * gdb.base/signull.exp
8048 * gdb.base/sigrepeat.exp
8050 * gdb.base/so-impl-ld.exp
8051 * gdb.base/solib-corrupted.exp
8052 * gdb.base/solib-disc.exp
8053 * gdb.base/solib-display.exp
8054 * gdb.base/solib-overlap.exp
8055 * gdb.base/solib-search.exp
8056 * gdb.base/solib-symbol.exp
8057 * gdb.base/source-execution.exp
8058 * gdb.base/sss-bp-on-user-bp-2.exp
8059 * gdb.base/sss-bp-on-user-bp.exp
8060 * gdb.base/stack-checking.exp
8061 * gdb.base/stale-infcall.exp
8062 * gdb.base/step-break.exp
8063 * gdb.base/step-line.exp
8064 * gdb.base/step-over-exit.exp
8065 * gdb.base/step-test.exp
8066 * gdb.base/structs.exp
8067 * gdb.base/sym-file.exp
8068 * gdb.base/symtab-search-order.exp
8070 * gdb.base/type-opaque.exp
8071 * gdb.base/unload.exp
8072 * gdb.base/until-nodebug.exp
8073 * gdb.base/until.exp
8074 * gdb.base/unwindonsignal.exp
8075 * gdb.base/watch-cond.exp
8076 * gdb.base/watch-non-mem.exp
8077 * gdb.base/watch_thread_num.exp
8078 * gdb.base/watchpoint-reuse-slot.exp
8079 * gdb.base/watchpoint-solib.exp
8080 * gdb.base/watchpoint.exp
8081 * gdb.btrace/dlopen.exp
8083 * gdb.cell/break.exp
8087 * gdb.cell/dwarfaddr.exp
8088 * gdb.cell/ea-cache.exp
8089 * gdb.cell/ea-standalone.exp
8090 * gdb.cell/ea-test.exp
8091 * gdb.cell/f-regs.exp
8093 * gdb.cell/gcore.exp
8094 * gdb.cell/mem-access.exp
8095 * gdb.cell/ptype.exp
8096 * gdb.cell/registers.exp
8097 * gdb.cell/sizeof.exp
8098 * gdb.cell/solib-symbol.exp
8099 * gdb.cell/solib.exp
8100 * gdb.compile/compile-tls.exp
8101 * gdb.cp/exception.exp
8102 * gdb.cp/gdb2495.exp
8104 * gdb.cp/mb-inline.exp
8105 * gdb.cp/mb-templates.exp
8106 * gdb.cp/pr10687.exp
8108 * gdb.cp/scope-err.exp
8109 * gdb.cp/templates.exp
8110 * gdb.cp/virtfunc.exp
8111 * gdb.dwarf2/dw2-dir-file-name.exp
8112 * gdb.dwarf2/dw2-single-line-discriminators.exp
8113 * gdb.fortran/complex.exp
8114 * gdb.fortran/library-module.exp
8115 * gdb.guile/guile.exp
8116 * gdb.guile/scm-cmd.exp
8117 * gdb.guile/scm-frame-inline.exp
8118 * gdb.guile/scm-objfile.exp
8119 * gdb.guile/scm-pretty-print.exp
8120 * gdb.guile/scm-symbol.exp
8121 * gdb.guile/scm-type.exp
8122 * gdb.guile/scm-value.exp
8123 * gdb.linespec/keywords.exp
8124 * gdb.linespec/ls-errs.exp
8125 * gdb.linespec/macro-relative.exp
8126 * gdb.linespec/thread.exp
8127 * gdb.mi/mi-breakpoint-changed.exp
8128 * gdb.mi/mi-dprintf-pending.exp
8129 * gdb.mi/mi-fullname-deleted.exp
8130 * gdb.mi/mi-logging.exp
8131 * gdb.mi/mi-pending.exp
8132 * gdb.mi/mi-solib.exp
8133 * gdb.mi/new-ui-mi-sync.exp
8134 * gdb.mi/user-selected-context-sync.exp
8135 * gdb.multi/dummy-frame-restore.exp
8136 * gdb.multi/multi-arch-exec.exp
8137 * gdb.multi/remove-inferiors.exp
8138 * gdb.multi/watchpoint-multi-exit.exp
8139 * gdb.opt/solib-intra-step.exp
8140 * gdb.perf/backtrace.exp
8141 * gdb.perf/single-step.exp
8142 * gdb.perf/skip-command.exp
8143 * gdb.perf/skip-prologue.exp
8144 * gdb.perf/solib.exp
8145 * gdb.python/lib-types.exp
8146 * gdb.python/py-as-string.exp
8147 * gdb.python/py-bad-printers.exp
8148 * gdb.python/py-block.exp
8149 * gdb.python/py-breakpoint.exp
8150 * gdb.python/py-cmd.exp
8151 * gdb.python/py-events.exp
8152 * gdb.python/py-evthreads.exp
8153 * gdb.python/py-finish-breakpoint.exp
8154 * gdb.python/py-finish-breakpoint2.exp
8155 * gdb.python/py-frame-inline.exp
8156 * gdb.python/py-frame.exp
8157 * gdb.python/py-inferior.exp
8158 * gdb.python/py-infthread.exp
8159 * gdb.python/py-mi.exp
8160 * gdb.python/py-objfile.exp
8161 * gdb.python/py-pp-maint.exp
8162 * gdb.python/py-pp-registration.exp
8163 * gdb.python/py-prettyprint.exp
8164 * gdb.python/py-recurse-unwind.exp
8165 * gdb.python/py-shared.exp
8166 * gdb.python/py-symbol.exp
8167 * gdb.python/py-symtab.exp
8168 * gdb.python/py-template.exp
8169 * gdb.python/py-type.exp
8170 * gdb.python/py-unwind-maint.exp
8171 * gdb.python/py-unwind.exp
8172 * gdb.python/py-value.exp
8173 * gdb.python/python.exp
8174 * gdb.reverse/finish-reverse-bkpt.exp
8175 * gdb.reverse/insn-reverse.exp
8176 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8177 * gdb.reverse/solib-precsave.exp
8178 * gdb.reverse/solib-reverse.exp
8179 * gdb.stabs/gdb11479.exp
8180 * gdb.stabs/weird.exp
8181 * gdb.threads/fork-child-threads.exp
8182 * gdb.threads/fork-plus-threads.exp
8183 * gdb.threads/fork-thread-pending.exp
8184 * gdb.threads/forking-threads-plus-breakpoint.exp
8185 * gdb.threads/hand-call-in-threads.exp
8186 * gdb.threads/interrupted-hand-call.exp
8187 * gdb.threads/linux-dp.exp
8188 * gdb.threads/local-watch-wrong-thread.exp
8189 * gdb.threads/next-while-other-thread-longjmps.exp
8190 * gdb.threads/non-ldr-exit.exp
8191 * gdb.threads/pending-step.exp
8192 * gdb.threads/print-threads.exp
8193 * gdb.threads/process-dies-while-detaching.exp
8194 * gdb.threads/process-dies-while-handling-bp.exp
8195 * gdb.threads/pthreads.exp
8196 * gdb.threads/queue-signal.exp
8197 * gdb.threads/reconnect-signal.exp
8198 * gdb.threads/signal-command-handle-nopass.exp
8199 * gdb.threads/signal-command-multiple-signals-pending.exp
8200 * gdb.threads/signal-delivered-right-thread.exp
8201 * gdb.threads/signal-sigtrap.exp
8202 * gdb.threads/sigthread.exp
8203 * gdb.threads/staticthreads.exp
8204 * gdb.threads/stepi-random-signal.exp
8205 * gdb.threads/thread-unwindonsignal.exp
8206 * gdb.threads/thread_check.exp
8207 * gdb.threads/thread_events.exp
8208 * gdb.threads/tid-reuse.exp
8209 * gdb.threads/tls-nodebug.exp
8210 * gdb.threads/tls-shared.exp
8211 * gdb.threads/tls-so_extern.exp
8212 * gdb.threads/tls.exp
8213 * gdb.threads/wp-replication.exp
8214 * gdb.trace/actions-changed.exp
8215 * gdb.trace/actions.exp
8216 * gdb.trace/backtrace.exp
8217 * gdb.trace/change-loc.exp
8218 * gdb.trace/collection.exp
8219 * gdb.trace/deltrace.exp
8220 * gdb.trace/disconnected-tracing.exp
8221 * gdb.trace/entry-values.exp
8222 * gdb.trace/ftrace-lock.exp
8223 * gdb.trace/ftrace.exp
8224 * gdb.trace/infotrace.exp
8225 * gdb.trace/mi-trace-frame-collected.exp
8226 * gdb.trace/mi-trace-unavailable.exp
8227 * gdb.trace/mi-traceframe-changed.exp
8228 * gdb.trace/mi-tracepoint-changed.exp
8229 * gdb.trace/mi-tsv-changed.exp
8230 * gdb.trace/no-attach-trace.exp
8231 * gdb.trace/packetlen.exp
8232 * gdb.trace/passc-dyn.exp
8233 * gdb.trace/passcount.exp
8234 * gdb.trace/pending.exp
8235 * gdb.trace/pr16508.exp
8236 * gdb.trace/qtro.exp
8237 * gdb.trace/range-stepping.exp
8238 * gdb.trace/read-memory.exp
8239 * gdb.trace/report.exp
8240 * gdb.trace/save-trace.exp
8241 * gdb.trace/signal.exp
8242 * gdb.trace/stap-trace.exp
8243 * gdb.trace/status-stop.exp
8244 * gdb.trace/strace.exp
8245 * gdb.trace/tfile.exp
8246 * gdb.trace/tfind.exp
8247 * gdb.trace/trace-break.exp
8248 * gdb.trace/trace-condition.exp
8249 * gdb.trace/trace-enable-disable.exp
8250 * gdb.trace/trace-mt.exp
8251 * gdb.trace/tracecmd.exp
8252 * gdb.trace/tracefile-pseudo-reg.exp
8253 * gdb.trace/tspeed.exp
8254 * gdb.trace/tstatus.exp
8256 * gdb.trace/unavailable.exp
8257 * gdb.trace/while-dyn.exp
8258 * gdb.trace/while-stepping.exp
8261 * lib/mi-support.exp
8264 * lib/prelink-support.exp
8265 * lib/selftest-support.exp
8267 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8269 * Makefile.in: Include disable-implicit-rules.mk.
8271 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8273 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8274 non-byte-aligned bit fields.
8276 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8279 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8280 respects the DW_AT_data_bit_offset attribute.
8282 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8284 * gdb.base/default.exp: Fix output of "set language".
8286 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8288 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8289 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8291 * configure.ac: Remove checks for the make program.
8292 * configure: Re-generate.
8294 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8296 * gdb.python/py-recurse-unwind.c (main): Add loop.
8297 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8298 to read_register() and gdb.parse_and_eval(). Make each code
8299 call a separate case that can be individually tested.
8300 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8301 proc. Call cont_and_backtrace for each of the code paths that
8302 we want to test in the unwinder.
8304 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8306 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8307 the definition of struct S.
8309 2016-11-11 Catherine Moore <clm@codesourcery.com>
8311 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8313 2016-11-09 Pedro Alves <palves@redhat.com>
8315 * gdb.base/commands.exp (runto_or_return): New procedure.
8316 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8317 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8318 (progvar_simple_while_test, progvar_complex_if_while_test)
8319 (if_while_breakpoint_command_test)
8320 (infrun_breakpoint_command_test, breakpoint_command_test)
8321 (user_defined_command_test, watchpoint_command_test)
8322 (test_command_prompt_position, redefine_hook_test)
8323 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8324 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8325 multi_line_input and multi_line. Remove gdb_expect and
8326 gdb_stop_suppressing_tests uses.
8327 * lib/gdb.exp (valnum_re): New global.
8328 (multi_line_input): New procedure.
8330 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8332 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8334 (test_setup): Define with proc_with_prefix.
8335 (test_cli_inferior): Likewise.
8336 (test_cli_thread): Likewise.
8337 (test_cli_frame): Likewise.
8338 (test_cli_select_frame): Likewise.
8339 (test_cli_up_down): Likewise.
8340 (test_mi_thread_select): Likewise.
8341 (test_mi_stack_select_frame): Likewise.
8342 (test_cli_in_mi_inferior): Likewise.
8343 (test_cli_in_mi_thread): Likewise.
8344 (test_cli_in_mi_frame): Likewise.
8345 (top level): Do not use with_test_prefix_procname.
8347 2016-11-09 Pedro Alves <palves@redhat.com>
8349 * gdb.base/commands.exp (gdbvar_simple_if_test)
8350 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8351 (progvar_simple_if_test, progvar_simple_while_test)
8352 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8353 (infrun_breakpoint_command_test, breakpoint_command_test)
8354 (user_defined_command_test, watchpoint_command_test)
8355 (test_command_prompt_position, deprecated_command_test)
8356 (bp_deleted_in_command, temporary_breakpoint_commands)
8357 (stray_arg0_test, source_file_with_indented_comment)
8358 (recursive_source_test, if_commands_test)
8359 (error_clears_commands_left, redefine_hook_test)
8360 (redefine_backtrace_test): Use proc_with_prefix.
8361 * lib/gdb.exp (proc_with_prefix): New proc.
8363 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8365 * gdb.base/tui-layout.c: New file.
8366 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8367 disassembly window contains very long lines.
8369 2016-11-08 Tom Tromey <tom@tromey.com>
8371 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8374 2016-11-08 Tom Tromey <tom@tromey.com>
8376 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8379 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8381 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8383 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8385 * gdb.rust/simple.rs: Add test for univariant enums without
8386 discriminants and for encoded struct-like enums.
8388 2016-10-28 Pedro Alves <palves@redhat.com>
8390 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8391 gdb_test_multiple, tighten regexps and match symtabs and line
8392 tables incrementally.
8394 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8396 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8399 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8401 * gdb.base/exec-invalid-sysroot.exp: New file.
8403 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8405 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8407 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8409 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8411 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8413 * gdb.base/killed-outside.exp: Remove $options from a call to
8414 `prepare_for_testing'.
8416 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8418 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8419 Change test message.
8421 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8423 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8426 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8428 * gdb.trace/mi-trace-save.exp: New file.
8430 2016-10-13 Yao Qi <yao.qi@linaro.org>
8432 * gdb.base/code_elim.exp (get_var_address): Remove.
8433 * gdb.base/relocate.exp: Likewise.
8434 * gdb.base/shreloc.exp: Likewise.
8435 * lib/gdb.exp (get_var_address): New.
8437 2016-10-13 Yao Qi <yao.qi@linaro.org>
8439 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8440 floating point tests if $skip_float_test is false.
8442 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8444 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8445 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8447 Add 1 to argc so we guarantee distinct initial/modified argc values.
8449 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8451 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8453 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8455 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8456 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8457 * gdb.arch/vsx-regs.exp: Likewise.
8459 2016-10-07 Yao Qi <yao.qi@linaro.org>
8461 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8463 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8465 * gdb.python/python.exp: Test decode_line("*0").
8467 2016-10-06 Doug Evans <dje@google.com>
8469 * gdb.python/py-value.exp (test_value_creation): Add test for large
8470 unsigned 64-bit value.
8472 2016-10-06 Tom Tromey <tom@tromey.com>
8474 * gdb.compile/compile.exp: Change java tests to rust.
8475 * gdb.base/setshow.exp: Change java tests to rust.
8476 * gdb.base/default.exp: Remove java from language list.
8477 * README (Examples): Update language example.
8478 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8480 * lib/gdb.exp (skip_java_tests): Remove.
8481 * lib/java.exp: Remove.
8484 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8486 * gdb.arch/mips-fcr.exp: New test.
8487 * gdb.arch/mips-fcr.c: Source for the new test.
8489 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8491 * gdb.base/solib-disc.exp: Use `standard_output_file'
8494 2016-10-06 Pedro Alves <palves@redhat.com>
8496 * gdb.base/jit-simple-dl.c: New file.
8497 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8498 * gdb.base/jit-simple.c: ... this.
8499 * gdb.base/jit-simple.exp (jit_run): Delete.
8500 (build_jit): New proc.
8501 (jit_test_reread): Recompile either the main program or the shared
8502 library, depending on what is being tested. Skip changing address
8503 if caller wants to. Compare before/after addresses. If testing
8504 standalone, explicitly load the binary. Test "maint info
8506 (top level): Add "standalone vs shared lib" and "change address"
8507 vs "same address" axes.
8509 2016-10-06 Pedro Alves <palves@redhat.com>
8511 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8514 (jit_test_reread): Use with_test_prefix. Reload the main binary
8515 explicitly. Compare the before/after addresses of the JIT
8518 2016-08-15 Doug Evans <dje@google.com>
8520 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8521 for single bitfields is bool.
8522 * gdb.xml/tdesc-regs.exp: Ditto.
8524 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8526 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8528 2016-10-05 Yao Qi <yao.qi@linaro.org>
8530 * lib/gdb.exp (support_complex_tests): Return zero if
8531 gdb_skip_float_test return true.
8533 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8534 Simon Marchi <simon.marchi@ericsson.com>
8537 * gdb.mi/user-selected-context-sync.exp: New file.
8538 * gdb.mi/user-selected-context-sync.c: New file.
8540 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8541 Simon Marchi <simon.marchi@ericsson.com>
8544 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8545 =thread-select-event check.
8547 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8549 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8550 the compulsory L operand changes.
8551 * gdb.arch/powerpc-power.s: Likewise.
8553 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8555 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8556 * gdb.base/jit-attach-pie.c: New file.
8557 * gdb.base/jit-attach-pie.exp: New file.
8559 2016-09-28 Pedro Alves <palves@redhat.com>
8561 * gdb.base/infcall-input.c: New file.
8562 * gdb.base/infcall-input.exp: New file.
8564 2016-09-22 Yao Qi <yao.qi@linaro.org>
8566 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8567 (gdb_exit): Rename it to ...
8568 (gdbserver_gdb_exit): ... Close GDBserver.
8569 (gdb_exit): New proc, call gdbserver_gdb_exit.
8570 (mi_gdb_exit): Likewise.
8572 2016-09-22 Yao Qi <yao.qi@linaro.org>
8574 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8576 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8579 2016-09-22 Yao Qi <yao.qi@linaro.org>
8581 * lib/gdbserver-support.exp: Check the existence of
8582 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8584 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8586 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8588 2016-09-21 Tom Tromey <tom@tromey.com>
8591 * gdb.base/quit.exp: New file.
8593 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8595 * .gitignore: New file.
8597 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8599 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8602 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8604 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8606 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8608 * gdb.cp/casts.cc (decltype): Move it ...
8609 (main): ... with its call to ...
8610 * gdb.cp/casts03.cc: ... a new file.
8611 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8613 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8615 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8617 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8619 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8620 and sync up the test with tests in gas/testsuite/gas/ppc.
8621 * gdb.arch/powerpc-power.exp: Likewise.
8623 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8625 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8627 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8628 Jan Kratochvil <jan.kratochvil@redhat.com>
8630 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8631 make m1's definition to be different from m2's. Use 'dummy' as an
8632 argument for probe 'two'.
8634 2016-09-10 Jon Beniston <jon@beniston.com>
8636 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8639 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8641 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8642 variable declaration.
8643 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8644 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8645 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8646 received HWCAP as its argument.
8648 2016-09-06 Pedro Alves <palves@redhat.com>
8650 * gdb.base/new-ui-pending-input.c: New file.
8651 * gdb.base/new-ui-pending-input.exp: New file.
8652 * gdb.exp (clear_gdb_spawn_id): New procedure.
8653 (with_spawn_id): Check whether gdb_spawn_id exists before
8654 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8657 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8659 * gdb.base/float128.c: New file.
8660 * gdb.base/float128.exp: Likewise.
8661 * gdb.base/floatn.c: Likewise.
8662 * gdb.base/floatn.exp: Likewise.
8664 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8666 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8668 2016-09-05 Pedro Alves <palves@redhat.com>
8671 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8672 unwinders are immediately called as side effect of "source" or
8673 "disable unwinder" commands.
8674 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8676 2016-09-02 Yao Qi <yao.qi@linaro.org>
8678 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8679 is true and $type is "float" or "double".
8681 2016-09-02 Yao Qi <yao.qi@linaro.org>
8683 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8685 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8686 * gdb.base/call-rt-st.exp: Likewise.
8687 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8688 return value instead of gdb,skip_float_test.
8689 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8690 (do_function_calls): Use its return value instead of
8691 gdb,skip_float_test.
8692 * gdb.base/finish.exp: Likewise.
8693 * gdb.base/funcargs.exp: Likewise.
8694 * gdb.base/return.exp: Likewise.
8695 * gdb.base/return2.exp: Likewise.
8696 * gdb.base/varargs.exp: Likewise.
8697 * lib/gdb.exp (gdb_skip_float_test): Change it to
8698 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8700 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8702 * gdb.multi/tids.exp: Test "thread apply all".
8704 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8706 * gdb.base/default.exp (tty): Remove.
8708 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8710 * gdb.python/py-recurse-unwind.c: New file.
8711 * gdb.python/py-recurse-unwind.py: New file.
8712 * gdb.python/py-recurse-unwind.exp: New file.
8714 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8716 * gdb.base/set-inferior-tty.exp: New file.
8717 * gdb.base/set-inferior-tty.c: New file.
8719 2016-08-23 Pedro Alves <palves@redhat.com>
8722 * gdb.base/new-ui-echo.c: New file.
8723 * gdb.base/new-ui-echo.exp: New file.
8725 2016-08-23 Yao Qi <yao.qi@linaro.org>
8727 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8729 * gdb.server/connect-without-multi-process.exp (do_test):
8732 2016-08-23 Yao Qi <yao.qi@linaro.org>
8734 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8735 standalone_txt. Delete gdb_txt and standalone_txt on host
8736 and target. Spawn the binary on target. Copy files from
8739 2016-08-22 Pedro Alves <palves@redhat.com>
8742 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8743 with_test_prefix. Factor out bits to ...
8744 (test_no_vdso): ... this new procedure.
8746 2016-08-19 Carl Love <cel@us.ibm.com>
8748 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8749 maintaining separate logic for constructing the output path.
8750 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8751 * gdb.arch/ppc-dfp.exp: Likewise.
8752 * gdb.arch/ppc-fp.exp: Likewise.
8753 * gdb.arch/vsx-regs.exp: Likewise.
8754 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8755 binprefix for generating the additional binary files.
8757 2016-08-19 Pedro Alves <palves@redhat.com>
8759 * gdb.trace/mi-trace-frame-collected.exp
8760 (test_trace_frame_collected): On x32, expect two registers.
8762 2016-08-18 Carl Love <cel@us.ibm.com>
8764 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8765 and sync up the test with tests in gas/testsuite/gas/ppc.
8766 * gdb.arch/powerpc-power.exp: Likewise.
8768 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8770 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8771 expected error message.
8773 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8775 * gdb.multi/remove-inferiors.exp: New file.
8776 * gdb.multi/remove-inferiors.c: New file.
8778 2016-08-12 Yao Qi <yao.qi@linaro.org>
8780 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8783 2016-08-10 Pedro Alves <palves@redhat.com>
8786 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8789 2016-08-09 Pedro Alves <palves@redhat.com>
8790 Simon Marchi <simon.marchi@ericsson.com>
8793 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8794 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8796 2016-08-09 Pedro Alves <palves@redhat.com>
8799 * gdb.mi/mi-cmd-error.exp: New file.
8801 2016-08-09 Pedro Alves <palves@redhat.com>
8804 * gdb.base/signals-state-child.c: New file.
8805 * gdb.base/signals-state-child.exp: New file.
8806 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8808 2016-08-09 Pedro Alves <palves@redhat.com>
8810 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8812 2016-08-03 Tom Tromey <tom@tromey.com>
8815 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8817 2016-08-01 Yao Qi <yao.qi@linaro.org>
8819 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8820 variable mode to "multi-process" if $multi_process is 1, otherwise
8821 set it to "single-process".
8823 2016-08-01 Yao Qi <yao.qi@linaro.org>
8825 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8826 * gdb.cp/cpexprs.exp: Likewise.
8827 * gdb.cp/m-static.exp: Likewise.
8829 2016-07-26 Tom Tromey <tom@tromey.com>
8832 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8835 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8837 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8838 selecting assembly source files.
8839 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8840 assembly source files.
8841 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8842 assembly source files.
8843 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8844 selecting assembly source files.
8846 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8848 * gdb.base/new-ui.exp (do_test_invalid_args): New
8851 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8853 * gdb.btrace/reconnect.c: New file.
8854 * gdb.btrace/reconnect.exp: New file.
8856 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8858 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8859 to test_catch_syscall_group.
8860 (test_catch_syscall_group): New.
8862 2016-07-21 Tom Tromey <tom@tromey.com>
8864 * gdb.rust/simple.rs (main): Use empty struct expression.
8865 * gdb.rust/simple.exp: Add tests for empty struct expression.
8867 2016-07-21 Yao Qi <yao.qi@linaro.org>
8869 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8870 if gdb_skip_xml_test is true on some targets.
8872 2016-07-21 Yao Qi <yao.qi@linaro.org>
8874 * gdb.server/solib-list.exp: Unset last_loaded_file.
8876 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8878 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8879 "step into captured_main (args)".
8881 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8883 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8885 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8887 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8889 2016-07-19 Pedro Alves <palves@redhat.com>
8891 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8892 * gdb.opt/inline-bt.exp: Likewise.
8893 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8894 additional_flags=-Winline.
8895 * gdb.opt/inline-locals.exp: Likewise.
8896 * gdb.opt/inline-markers.c (ATTR): Define.
8897 (inlined_fn): Use it.
8899 2016-07-19 Yao Qi <yao.qi@linaro.org>
8901 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8902 (test_with_self): Remove some code. Remove argument executable.
8903 (top-level): Use do_self_tests.
8905 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8906 Don Breazeal <donb@codesourcery.com>
8908 * gdb.base/maint.exp: Escape paths used in regular expressions.
8909 * gdb.stabs/weird.exp: Likewise.
8911 2016-07-13 Tom Tromey <tom@tromey.com>
8913 PR python/15620, PR python/18620:
8914 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8915 (test_bkpt_events): New procs.
8917 2016-07-13 Tom Tromey <tom@tromey.com>
8920 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8922 (test_watchpoints): Likewise.
8923 (test_bkpt_pending): New proc.
8925 2016-07-13 Tom Tromey <tom@tromey.com>
8928 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8931 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8933 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8934 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8935 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8937 (g): Rename g_end_lbl to g_label.
8938 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8940 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8942 2016-07-12 Tom Tromey <tom@tromey.com>
8945 * gdb.python/py-unwind-maint.exp: Update tests.
8947 2016-07-12 Yao Qi <yao.qi@linaro.org>
8949 * lib/selftest-support.exp (selftest_setup): Match the output
8950 when captured_main is inlined.
8952 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8954 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8956 (print this%a, print this%b, print this): New tests.
8957 * gdb.fortran/derived-types.f90 (this): New object and
8960 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8962 * gdb.ada/arraydim.exp: Remove extra directory level in build
8965 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8967 * lib/ada.exp: Remove extra directory level in build directory.
8968 * gdb.ada/cond_lang.exp: Likewise.
8969 * gdb.ada/exec_changed.exp: Likewise.
8970 * gdb.ada/lang_switch.exp: Likewise.
8972 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8974 * simple.rs: Add test for raw pointer subscripting.
8975 * simple.exp: Add test expectations.
8977 2016-07-05 Yao Qi <yao.qi@linaro.org>
8979 * gdb.mi/mi-reverse.exp: Match =record-started output.
8981 2016-07-01 Pedro Alves <palves@redhat.com>
8983 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8985 (jit_reader_test): Test the jit reader's unwinder.
8986 * gdb.base/jithost.c (jit_function_00_code): New global.
8987 (main): Use memcpy to fill in the mmapped code, instead of poking
8988 bytes manually here.
8989 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8991 (read_debug_info): Save the function's range.
8992 (read_sp): New function.
8993 (unwind_frame): Use it. Also unwind RBP.
8994 (get_frame_id): Use read_sp.
8995 (gdb_init_reader): Use calloc instead of malloc.
8996 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8997 parameter. Use gdb_test_multiple.
8999 2016-07-01 Pedro Alves <palves@redhat.com>
9000 Antoine Tremblay <antoine.tremblay@ericsson.com>
9002 * gdb.threads/process-dies-while-detaching.c: New file.
9003 * gdb.threads/process-dies-while-detaching.exp: New file.
9005 2016-07-01 Pedro Alves <palves@redhat.com>
9007 * gdb.multi/watchpoint-multi-exit.c: New file.
9008 * gdb.multi/watchpoint-multi-exit.exp: New file.
9010 2016-06-30 Pedro Alves <palves@redhat.com>
9012 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9013 unset inferior_spawn_id.
9015 2016-06-30 Pedro Alves <palves@redhat.com>
9017 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9018 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9020 2016-06-29 Yao Qi <yao.qi@linaro.org>
9022 * gdb.base/return.c: Add copyright header.
9024 2016-06-29 Tom Tromey <tom@tromey.com>
9027 * gdb.python/py-framefilter.exp: Add tests for setting priority
9028 and disabling of non-existent frame filter.
9030 2016-06-29 Yao Qi <yao.qi@linaro.org>
9032 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9035 2016-06-28 Yao Qi <yao.qi@linaro.org>
9037 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9038 triplets. Start gdb, execute catch syscall, and continue. Check
9039 gdb's output to determine catch syscall is supported.
9041 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9043 * gdb.rust/simple.rs: Add test for returning unit in a function.
9044 * gdb.rust/simple.exp: Add expectation for functions returning
9047 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9049 * gdb.python/py-breakpoint-create-fail.c,
9050 gdb.python/py-breakpoint-create-fail.exp,
9051 gdb.python/py-breakpoint-create-fail.py: New testcase.
9053 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9056 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9057 * gdb.rust/simple.exp: Add test expectations for new NonZero
9060 2016-06-24 David Taylor <dtaylor@emc.com>
9062 * gdb.base/offsets.exp: New file.
9063 * gdb.base/offsets.c: New file.
9065 2016-06-23 Tom Tromey <tom@tromey.com>
9068 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9069 before any filters are loaded.
9071 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9073 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9074 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9076 * gdb.fortran/derived-type-function.exp: New file.
9077 * gdb.fortran/derived-type-function.f90: New file.
9080 2016-06-21 Pedro Alves <palves@redhat.com>
9082 * gdb.base/new-ui.exp: New file.
9083 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9084 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9085 (with_spawn_id): New procedure.
9087 2016-06-21 Pedro Alves <palves@redhat.com>
9089 * gdb.mi/mi-exec-run.exp: New file.
9091 2016-06-21 Pedro Alves <palves@redhat.com>
9093 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9094 breakpoint command's output on the main UI.
9095 (test_break): New procedure, factored out from calls in the top
9097 (top level): Use foreach_with_prefix to test MI as main UI and as
9100 2016-06-21 Pedro Alves <palves@redhat.com>
9102 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9103 (test_awatch_creation_and_listing)
9104 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9105 Remove 'type' parameter.
9106 (test_watchpoint_all): New parameter mi_mode. Remove
9108 (top level): Use foreach_with_prefix, and add main/separate UI MI
9111 2016-06-21 Pedro Alves <palves@redhat.com>
9113 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9114 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9115 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9116 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9117 (gdb_main_spawn_id, mi_spawn_id): Declare and
9119 (mi_create_inferior_pty): New procedure,
9120 factored out from default_mi_gdb_start.
9121 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9123 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9124 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9125 Use mi_create_inferior_pty.
9126 (mi_gdb_start): Use eval to pass down args list.
9128 2016-06-21 Pedro Alves <palves@redhat.com>
9130 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9131 * gdb.opt/inline-cmds.exp: Add MI tests.
9133 2016-06-21 Pedro Alves <palves@redhat.com>
9135 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9137 2016-06-21 Pedro Alves <palves@redhat.com>
9139 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9140 (top level): Use it instead of mi_execute_to.
9142 2016-06-21 Pedro Alves <palves@redhat.com>
9144 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9145 (cont_handler_str): New.
9146 (signal_stop_handler): Set stop_handler_str instead of printing to
9148 (continue_handler): Set cont_handler_str instead of printing to
9150 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9151 mi_send_resuming_command. Print stop_handler_str and
9152 cont_handler_str instead of expecting the python events print
9155 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9157 * gdb.base/jit-reader.exp: New file.
9158 * gdb.base/jithost.c: New file.
9159 * gdb.base/jithost.h: New file.
9160 * gdb.base/jitreader.c : New file.
9161 * gdb.base/jit-protocol.h: New file.
9163 2016-06-17 Yao Qi <yao.qi@linaro.org>
9165 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9166 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9167 and detach-on-fork. Adjust tests.
9168 (top level): Invoke break_cond_on_syscall with combinations of
9169 syscall, follow-fork-mode and detach-on-fork.
9171 2016-06-17 Yao Qi <yao.qi@linaro.org>
9173 * gdb.base/step-over-exit.c: New.
9174 * gdb.base/step-over-exit.exp: New.
9176 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9178 * gdb.base/float.exp: Add target check for nds32*-*-*.
9179 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9181 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9183 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9184 for unsupported target features.
9185 * gdb.base/call-rt-st.exp: Likewise.
9186 * gdb.base/call-sc.exp: Likewise.
9187 * gdb.base/call-signal-resume.exp: Likewise.
9188 * gdb.base/call-strs.exp: Likewise.
9189 * gdb.base/callexit.exp: Likewise.
9190 * gdb.base/callfuncs.exp: Likewise.
9191 * gdb.base/nodebug.exp: Likewise.
9192 * gdb.base/printcmds.exp: Likewise.
9193 * gdb.base/ptype.exp: Likewise.
9194 * gdb.base/structs.exp: Likewise.
9195 * gdb.base/unwindonsignal.exp: Likewise.
9196 * gdb.cp/gdb2495.exp: Likewise.
9197 * gdb.cp/templates.exp: Likewise.
9198 * gdb.cp/virtfunc.exp: Likewise.
9199 * gdb.threads/hand-call-in-threads.exp: Likewise.
9200 * gdb.threads/interrupted-hand-call.exp: Likewise.
9201 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9203 2016-06-10 Tom Tromey <tom@tromey.com>
9206 * gdb.rust/expr.exp: Add test for integer constant larger than
9209 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9211 * gdb.fortran/nested-funcs.exp: New.
9212 * gdb.fortran/nested-funcs.f90: New.
9214 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9216 * gdb.base/examine-backward.c: New file.
9217 * gdb.base/examine-backward.exp: New file.
9219 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9221 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9224 2016-06-02 Tom Tromey <tom@tromey.com>
9227 * gdb.python/py-shared.exp: Add solib_name test.
9229 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9231 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9233 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9236 * gdb.dwarf2/implref.exp: Rename to...
9237 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9238 * gdb.dwarf2/implref-array.c: New file.
9239 * gdb.dwarf2/implref-array.exp: Likewise.
9240 * gdb.dwarf2/implref-global.c: Likewise.
9241 * gdb.dwarf2/implref-global.exp: Likewise.
9242 * gdb.dwarf2/implref-struct.c: Likewise.
9243 * gdb.dwarf2/implref-struct.exp: Likewise.
9245 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9247 * gdb.trace/trace-condition.exp: Add 64bit tests.
9249 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9251 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9253 (main): Adapt to 8 to 64 bits types.
9254 * gdb.trace/trace-condition.exp: Add new tests.
9256 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9258 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9260 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9262 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9263 Move condition tests...
9264 * gdb.trace/trace-condition.exp: Here.
9266 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9268 * gdb.trace/trace-condition.exp: Add counter-case tests.
9270 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9273 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9274 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9276 2016-05-27 Pedro Alves <palves@redhat.com>
9278 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9280 (top level): Call it, and bail out of DejaGnu is known to be bad.
9282 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9284 * gdb.base/whatis.c: Extend the test case.
9285 * gdb.base/whatis.exp: Add additional tests.
9287 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9289 * gdb.fortran/type.f90: Add pointer variable.
9290 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9292 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9294 * gdb.fortran/vla-type.exp: Fix testcase name.
9296 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9298 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9300 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9302 * gdb.fortran/type.f90: Add nested structures.
9303 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9304 * gdb.fortran/derived-type.exp: Adapt expected output.
9305 * gdb.fortran/vla-type.exp: Adapt expected output.
9307 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9309 * gdb.fortran/whatis_type.exp: Adapt expected output.
9311 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9313 * gdb.fortran/print_type.exp: Fix expected output.
9314 * gdb.fortran/whatis_type.exp: Fix expected output.
9316 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9318 * gdb.fortran/whatis_type.exp: Use multi_line.
9320 2016-05-24 Tom Tromey <tom@tromey.com>
9323 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9324 use value as an index.
9326 2016-05-23 Tom Tromey <tom@tromey.com>
9329 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9332 2016-05-24 Pedro Alves <palves@redhat.com>
9335 * gdb.threads/clone-attach-detach.c: New file.
9336 * gdb.threads/clone-attach-detach.exp: New file.
9338 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9340 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9342 2016-05-23 Tom Tromey <tom@tromey.com>
9344 PR python/19438, PR python/18393:
9345 * gdb.python/py-progspace.exp: Add "dir" test.
9346 * gdb.python/py-objfile.exp: Add "dir" test.
9348 2016-05-23 Yao Qi <yao.qi@linaro.org>
9350 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9351 * gdb.arch/thumb2-it.exp: Likewise.
9353 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9355 * gdb.mi/mi-threads-interrupt.c: New file.
9356 * gdb.mi/mi-threads-interrupt.exp: New file.
9358 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9361 * gdb.mi/mi-async-run.exp: New file.
9362 * gdb.mi/mi-async-run.c: New file.
9364 2016-05-17 Tom Tromey <tom@tromey.com>
9365 Manish Goregaokar <manishsmail@gmail.com>
9367 * lib/rust-support.exp: New file.
9368 * lib/gdb.exp (skip_rust_tests): New proc.
9369 (build_executable_from_specs): Handle rust.
9370 * lib/future.exp (gdb_find_rustc): New proc.
9371 (gdb_default_target_compile): Handle rust.
9372 * gdb.rust/expr.exp: New file.
9373 * gdb.rust/generics.exp: New file.
9374 * gdb.rust/generics.rs: New file.
9375 * gdb.rust/methods.exp: New file.
9376 * gdb.rust/methods.rs: New file.
9377 * gdb.rust/modules.exp: New file.
9378 * gdb.rust/modules.rs: New file.
9379 * gdb.rust/simple.exp: New file.
9380 * gdb.rust/simple.rs: New file.
9382 2016-05-17 Tom Tromey <tom@tromey.com>
9384 * gdb.base/default.exp (set language): Add rust.
9386 2016-05-17 Tom Tromey <tom@tromey.com>
9388 * gdb.gdb/unittest.exp: New file.
9390 2016-05-16 Yao Qi <yao.qi@linaro.org>
9392 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9393 shell_prompt. Update shell_prompt_re.
9395 2016-05-12 Doug Evans <dje@google.com>
9398 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9399 $options when building executable.
9400 * gdb.dwarf2/fission-loclists-pie.S: New file.
9401 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9403 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9405 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9406 of [is_remote target],
9408 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9410 * lib/gdb.exp (use_gdb_stub): New procedure.
9412 2016-05-03 Yunlian Jiang <yunlian@google.com>
9413 Doug Evans <dje@google.com>
9416 * gdb.dwarf2/dwp-sepdebug.c: New file.
9417 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9419 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9421 * gdb.base/detach.exp: Remove is_remote check.
9423 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9425 * gdb.base/annota-input-while-running.exp: Don't check for
9426 [is_remote target]. Enable annotations after running to main.
9427 Remove unused "set test..." line.
9429 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9431 * gdb.trace/trace-enable-disable.exp: New file.
9432 * gdb.trace/trace-enable-disable.c: New file.
9434 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9436 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9437 use it in info sharedlibrary test.
9438 * gdb.trace/ftrace-lock.exp: Likewise.
9439 * gdb.trace/ftrace.exp: Likewise.
9440 * gdb.trace/range-stepping.exp: Likewise.
9441 * gdb.trace/trace-break.exp: Likewise.
9442 * gdb.trace/trace-condition.exp: Likewise.
9443 * gdb.trace/trace-mt.exp: Likewise.
9445 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9447 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9448 (gdb_load_shlib): ... this.
9449 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9451 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9452 * gdb.base/ctxobj.exp: Likewise.
9453 * gdb.base/dprintf-pending.exp: Likewise.
9454 * gdb.base/dso2dso.exp: Likewise.
9455 * gdb.base/fixsection.exp: Likewise.
9456 * gdb.base/gcore-relro.exp: Likewise.
9457 * gdb.base/gdb1555.exp: Likewise.
9458 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9459 * gdb.base/gnu-ifunc.exp: Likewise.
9460 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9461 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9462 * gdb.base/pending.exp: Likewise.
9463 * gdb.base/print-file-var.exp: Likewise.
9464 * gdb.base/print-symbol-loading.exp: Likewise.
9465 * gdb.base/shlib-call.exp: Likewise.
9466 * gdb.base/shreloc.exp: Likewise.
9467 * gdb.base/so-impl-ld.exp: Likewise.
9468 * gdb.base/solib-disc.exp: Likewise.
9469 * gdb.base/solib-nodir.exp: Likewise.
9470 * gdb.base/solib-overlap.exp: Likewise.
9471 * gdb.base/solib-symbol.exp: Likewise.
9472 * gdb.base/solib-weak.exp (do_test): Likewise.
9473 * gdb.base/sym-file.exp: Likewise.
9474 * gdb.base/symtab-search-order.exp: Likewise.
9475 * gdb.base/type-opaque.exp: Likewise.
9476 * gdb.base/unload.exp: Likewise.
9477 * gdb.base/watchpoint-solib.exp: Likewise.
9478 * gdb.compile/compile.exp: Likewise.
9479 * gdb.cp/gdb2384.exp: Likewise.
9480 * gdb.cp/infcall-dlopen.exp: Likewise.
9481 * gdb.cp/re-set-overloaded.exp: Likewise.
9482 * gdb.fortran/library-module.exp: Likewise.
9483 * gdb.opt/solib-intra-step.exp: Likewise.
9484 * gdb.python/py-finish-breakpoint.exp: Likewise.
9485 * gdb.python/py-shared.exp: Likewise.
9486 * gdb.reverse/solib-precsave.exp: Likewise.
9487 * gdb.reverse/solib-reverse.exp: Likewise.
9488 * gdb.server/solib-list.exp: Likewise.
9489 * gdb.threads/dlopen-libpthread.exp: Likewise.
9490 * gdb.threads/tls-shared.exp: Likewise.
9491 * gdb.threads/tls-so_extern.exp: Likewise.
9492 * gdb.trace/change-loc.exp: Likewise.
9493 * gdb.trace/ftrace-lock.exp: Likewise.
9494 * gdb.trace/ftrace.exp: Likewise.
9495 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9496 * gdb.trace/pending.exp: Likewise.
9497 * gdb.trace/range-stepping.exp: Likewise.
9498 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9499 (strace_info_marker): Likewise.
9500 (strace_probe_marker): Likewise.
9501 (strace_trace_on_same_addr): Likewise.
9502 (strace_trace_on_diff_addr): Likewise.
9503 * gdb.trace/trace-break.exp: Likewise.
9504 * gdb.trace/trace-condition.exp: Likewise.
9505 * gdb.trace/trace-mt.exp: Likewise.
9507 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9509 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9510 result of gdb_remote_download.
9511 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9512 * gdb.base/dso2dso.exp: Likewise.
9513 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9514 * gdb.base/print-file-var.exp: Likewise.
9515 * gdb.base/shlib-call.exp: Likewise.
9516 * gdb.base/shreloc.exp: Likewise.
9517 * gdb.base/solib-overlap.exp: Likewise.
9518 * gdb.base/solib-weak.exp (do_test): Likewise.
9519 * gdb.base/unload.exp: Likewise.
9521 2016-04-27 Yao Qi <yao.qi@linaro.org>
9523 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9526 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9528 * vla-type.exp: Print structure from toplevel.
9530 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9532 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9534 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9537 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9539 * gdb.fortran/vla-type.f90: New file.
9540 * gdb.fortran/vla-type.exp: New file.
9542 2016-04-25 Yao Qi <yao.qi@linaro.org>
9544 * gdb.base/branch-to-self.c: New file.
9545 * gdb.base/branch-to-self.exp: New file.
9547 2016-04-22 Yao Qi <yao.qi@linaro.org>
9549 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9552 2016-04-22 Yao Qi <yao.qi@linaro.org>
9554 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9555 * gdb.base/annota3.exp: Likewise.
9557 2016-04-22 Yao Qi <yao.qi@linaro.org>
9559 * gdb.reverse/step-precsave.exp: Do one step and test program
9560 stops in "callee" and do multiple steps until program goes out
9562 * gdb.reverse/step-reverse.exp: Likewise.
9564 2016-04-22 Yao Qi <yao.qi@linaro.org>
9566 * gdb.trace/signal.exp: Also pass if
9567 $tracepoint_hits($i) > $iterations.
9569 2016-04-22 Yao Qi <yao.qi@linaro.org>
9571 * gdb.trace/signal.c: New file.
9572 * gdb.trace/signal.exp: New file.
9574 2016-04-19 Doug Evans <xdje42@gmail.com>
9576 * gdb.base/bad-file.exp: New file.
9578 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9580 * gdb.dwarf2/implref.exp: New file.
9582 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9584 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9585 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9586 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9587 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9588 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9589 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9590 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9591 * lib/fortran.exp (fortran_int4): New procedure.
9592 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9593 (fortran_logical4): Likewise.
9595 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9597 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9599 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9601 * lib/compiler.c: Add Intel specific preprocessor macros.
9602 * lib/compiler.cc: Likewise.
9604 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9606 * gdb.server/connect-with-no-symbol-file.c: New file.
9607 * gdb.server/connect-with-no-symbol-file.exp: New file.
9609 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9611 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9613 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9615 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9616 standard output directory.
9618 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9620 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9622 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9624 * gdb.btrace/instruction_history.c (loop): Add declaration.
9626 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9628 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9630 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9632 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9633 parentheses to print.
9634 (continue_handler): Likewise.
9636 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9638 * gdb.server/solib-list.exp: Remove is_remote check.
9639 Pass shlib= to gdb_compile. Don't link shared library with
9640 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9641 Run binary filename through "readlink -f" on the target.
9643 2016-04-08 Pedro Alves <palves@redhat.com>
9645 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9646 interpreter filename as argument to gdbserver_spawn.
9647 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9648 Return empty if $last_loaded_file does not exist.
9650 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9652 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9653 * gdb.base/jit-main.c: Use exit after usage.
9655 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9657 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9658 GDBHISTSIZE prior to the tests.
9659 * gdb.base/gdbinit-history.exp: Likewise.
9661 2016-04-07 Pedro Alves <palves@redhat.com>
9663 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9664 instead of build_executable. Use gdb_load_shlibs.
9666 2016-04-07 Yao Qi <yao.qi@linaro.org>
9668 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9669 Execute "si" command.
9671 2016-04-07 Yao Qi <yao.qi@linaro.org>
9673 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9674 number instead of the comments on some line.
9676 2016-04-06 Don Breazeal <donb@codesourcery.com>
9678 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9679 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9681 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9683 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9684 standard_output_file. Remove unused binfile variable.
9686 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9688 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9689 * gdb.python/py-mi-objfile.exp: Match "list main" output
9692 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9694 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9697 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9699 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9701 * gdb.trace/ftrace.exp: Likewise.
9702 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9704 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9705 (gdb_load_shlibs): Copy libraries to test directory when testing
9706 natively. Only set solib-search-path if testing remotely.
9707 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9709 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9711 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9712 gdb_download. Use it even if the target is not remote.
9713 * gdb.base/jit.exp (compile_jit_test): Likewise.
9714 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9715 output directory if the destination board is local, otherwise use
9716 the standard remote_download from DejaGnu.
9717 (gdb_download): Remove.
9718 (gdb_load_shlibs): Use gdb_remote_download instead of
9720 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9721 Use gdb_remote_download instead of gdb_download. Use it even if
9722 the target is not remote.
9723 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9724 instead of gdb_download.
9726 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9728 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9729 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9732 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9735 * gdb.base/printcmds.exp: Add artificial arrays tests.
9737 2016-03-31 Pedro Alves <palves@redhat.com>
9740 * gdb.base/jit-main.c: Include unistd.h.
9741 (ATTACH): Define to 0 if not already defined.
9742 (wait_for_gdb, mypid): New globals.
9743 (WAIT_FOR_GDB): New macro.
9744 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9745 some breakpoint locations.
9746 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9748 (one_jit_test): Add REATTACH parameter, and handle it. Use
9749 continue_to_test_location.
9750 (top level): Test attach, and adjusts calls to one_jit_test.
9752 2016-03-31 Pedro Alves <palves@redhat.com>
9755 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9756 BINSUFFIX parameter, and handle it.
9757 (top level): Adjust calls compile_jit_test.
9759 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9762 * gdb.python/py-mi-events-gdb.py: New file.
9763 * gdb.python/py-mi-events.c: New file.
9764 * gdb.python/py-mi-events.exp: New file.
9766 2016-03-30 Yao Qi <yao.qi@linaro.org>
9768 * gdb.reverse/until-precsave.exp: Match function name only.
9769 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9770 Move malloc to a condition block.
9771 * gdb.reverse/until-reverse.exp: Match function name only.
9773 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9775 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9776 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9777 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9778 variable for GPR 0 instead of assuming it is register 0.
9779 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9780 * lib/trace-support.exp: Add s390 registers.
9782 2016-03-29 Yao Qi <yao.qi@linaro.org>
9784 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9786 2016-03-24 Yao Qi <yao.qi@linaro.org>
9788 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9791 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9793 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9794 maintaining separate logic for constructing the output path.
9796 2016-03-16 Don Breazeal <donb@codesourcery.com>
9798 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9799 Retry fork and waitpid on interrupted system call errors.
9800 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9801 Use with_timeout_factor to increase timeout by factor of 10.
9803 2016-03-15 Don Breazeal <donb@codesourcery.com>
9805 * gdb.cp/scope-err.cc: New test program.
9806 * gdb.cp/scope-err.exp: New test script.
9807 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9808 lines and "set breakpoint here" comment.
9809 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9810 Fixed some whitespace and format issues.
9811 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9812 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9814 2016-03-15 Doug Evans <dje@google.com>
9816 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9817 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9818 All callers updated. Add tests for enums, mixed flags register.
9820 2016-03-15 Doug Evans <dje@google.com>
9822 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9823 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9825 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9827 * gdb.base/default.exp: Add $_as_string to the list of expected
9828 convenience functions.
9830 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9832 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9834 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9836 * gdb.python/py-as-string.exp: New file.
9837 * gdb.python/py-as-string.c: New file.
9839 2016-03-09 Pedro Alves <palves@redhat.com>
9841 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9842 signal" -> "Thread NN received signal" output change.
9843 * gdb.threads/ia64-sigill.exp: Likewise.
9844 * gdb.threads/linux-dp.exp: Likewise.
9845 * gdb.threads/manythreads.exp: Likewise.
9846 * gdb.threads/pending-step.exp: Likewise.
9847 * gdb.threads/print-threads.exp: Likewise.
9848 * gdb.threads/sigstep-threads.exp: Likewise.
9849 * gdb.threads/staticthreads.exp: Likewise.
9850 * gdb.threads/tls.exp: Likewise.
9852 2016-03-09 Pedro Alves <palves@redhat.com>
9854 * gdb.base/command-line-input.exp: New file.
9856 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9858 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9859 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9860 * gdb.trace/pending.exp: Accept leading dot before function name.
9861 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9862 * lib/trace-support.exp: Set registers for ppc.
9864 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9866 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9867 use it for disassembly; accept .main in addition to main in backtrace.
9869 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9870 Marcin Kościelnicki <koriakin@0x04.net>
9872 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9873 (gdb_recursion_test_ptr): New global variable.
9874 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9876 (gdb_c_test): Ditto.
9878 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9880 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9883 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9885 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9886 (bar): Add bar_start_lbl label.
9887 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9888 of foo/bar for emitting DWARF and tracing.
9890 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9892 * analyze-racy-logs.py: Set executable bit.
9894 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9896 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9897 (CHECK_TARGET_TMP): Likewise.
9898 (check-single-racy): New rule.
9899 (check-parallel-racy): Likewise.
9900 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9901 (do-check-parallel-racy): New rule.
9902 (check-racy/%.exp): Likewise.
9903 * README (Racy testcases): New section.
9904 * analyze-racy-logs.py: New file.
9906 2016-03-03 Doug Evans <dje@google.com>
9908 * gdb.base/skip.exp: Use with_test_prefix.
9910 2016-03-03 Yao Qi <yao.qi@linaro.org>
9912 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9913 Invoke step_over_syscall "clone" and break_cond_on_syscall
9915 * gdb.base/step-over-clone.c: New file.
9917 2016-03-03 Yao Qi <yao.qi@linaro.org>
9919 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9922 2016-03-03 Yao Qi <yao.qi@linaro.org>
9924 * gdb.base/disp-step-fork.c: Rename to ...
9925 * gdb.base/step-over-fork.c: ... it. New file.
9926 * gdb.base/disp-step-vfork.c: Rename to ...
9927 * gdb.base/step-over-vfork.c: ... it. New file.
9928 * gdb.base/disp-step-syscall.exp: Rename to ...
9929 * gdb.base/step-over-syscall.exp: ... it. New file.
9930 (disp_step_cross_syscall): Rename to ...
9931 (step_over_syscall): ... it.
9933 2016-03-03 Yao Qi <yao.qi@linaro.org>
9935 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9936 If target supports condition evaluation on target, invoke
9937 break_cond_on_syscall for fork and vfork.
9939 2016-03-03 Yao Qi <yao.qi@linaro.org>
9941 * gdb.base/disp-step-syscall.exp: Don't invoke
9942 support_displaced_stepping.
9943 (disp_step_cross_syscall): Test with displaced stepping off and
9946 2016-03-03 Yao Qi <yao.qi@linaro.org>
9948 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9951 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9954 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9956 * gdb.fortran/vla-history.exp: Remove breakpoint.
9958 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9960 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9963 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9965 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9968 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9970 * gdb.mi/vla.f90: Nullify pointer after declaration.
9972 2016-03-01 Pedro Alves <palves@redhat.com>
9974 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9976 2016-03-01 Pedro Alves <palves@redhat.com>
9978 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9979 before anything else.
9980 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9982 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9983 before anything else.
9984 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9986 2016-03-01 Pedro Alves <palves@redhat.com>
9988 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9990 2016-03-01 Yao Qi <yao.qi@linaro.org>
9992 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9993 prepare_for_testing.
9995 2016-03-01 Yao Qi <yao.qi@linaro.org>
9997 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9999 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10001 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10002 manually constructing the output path.
10004 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10006 * gdb.arch/s390-stackless.S: New.
10007 * gdb.arch/s390-stackless.exp: New.
10009 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10011 * gdb.dlang/circular.c: New file.
10012 * gdb.dlang/circular.exp: New file.
10014 2016-02-26 Yao Qi <yao.qi@linaro.org>
10016 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10017 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10018 (testcases): Update.
10020 2016-02-26 Yao Qi <yao.qi@linaro.org>
10022 * gdb.reverse/aarch64.c: Rename to ...
10023 * gdb.reverse/insn-reverse.c: ... it.
10024 * gdb.reverse/aarch64.exp: Rename to ...
10025 * gdb.reverse/insn-reverse.exp: ... it.
10027 2016-02-26 Yao Qi <yao.qi@linaro.org>
10029 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10030 (testcase_ftype): New.
10031 (testcases): New array.
10032 (n_testcases): New.
10033 (main): Call each element in testcases.
10034 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10035 (read_testcase): New.
10036 Do the tests in a loop.
10038 2016-02-25 Yao Qi <yao.qi@linaro.org>
10040 * gdb.base/branches.c: Remove.
10042 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10045 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10047 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10049 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10051 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10053 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10054 change x86_64 call_insn to 'callq'.
10056 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10058 * gdb.trace/tfile-avx.c: Move to...
10059 * gdb.trace/tracefile-pseudo-reg.c: Here.
10060 * gdb.trace/tfile-avx.exp: Move to...
10061 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10063 2016-02-24 Gary Benson <gbenson@redhat.com>
10065 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10068 2016-02-23 Doug Evans <dje@google.com>
10070 * gdb.base/skip.c (test_skip): New function.
10071 (end_test_skip_file_and_function): New function.
10072 (test_skip_file_and_function): New function.
10073 * gdb.base/skip1.c (test_skip): New function.
10074 (skip1_test_skip_file_and_function): New function.
10075 * gdb.base/skip.exp: Add tests for new skip options.
10076 * gdb.base/skip-solib.exp: Update expected output.
10077 * gdb.perf/skip-command.cc: New file.
10078 * gdb.perf/skip-command.exp: New file.
10079 * gdb.perf/skip-command.py: New file.
10081 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10083 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10084 info registers pattern.
10086 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10088 * lib/future.exp: Add D support.
10089 (gdb_find_gdc): New proc.
10090 (gdb_default_target_compile): Add D support.
10092 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10094 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10096 (trace_speed_test): Determine the iteration count for a time
10097 between 15..30 seconds.
10099 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10101 * gdb.arch/i386-mpx-sigsegv.c: New file.
10102 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10103 * gdb.arch/i386-mpx-simple_segv.c: New file.
10104 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10106 2016-02-18 Yao Qi <yao.qi@linaro.org>
10108 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10109 Don't call setup_kfail.
10111 2016-02-18 Yao Qi <yao.qi@linaro.org>
10113 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10114 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10116 2016-02-16 Doug Evans <dje@google.com>
10118 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10119 * gdb.base/skip1.c: Ditto.
10120 * gdb.base/skip.exp: Whitespace cleanup.
10122 2016-02-16 Don Breazeal <donb@codesourcery.com>
10125 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10126 Remove kfail for PR remote/19496.
10128 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10130 * lib/gdb.exp (standard_temp_file): Return a path specific to
10131 the runtest invocation.
10133 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10135 * gdb.trace/save-trace.exp: Change relative path to be in the
10136 standard output directory.
10138 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10140 * gdb.arch/i386-prologue.c: Add missing prototypes.
10142 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10144 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10145 * gdb.arch/i386-prologue.exp: Likewise.
10146 * gdb.arch/i386-size.exp: Likewise.
10148 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10150 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10151 define object file path.
10152 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10154 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10155 standard_output_file to define binfile.
10157 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10159 Fix compatibility with recent gfortran-5.3.1.
10160 * gdb.fortran/vla-history.exp (print vla1 allocated)
10161 (print vla2 allocated, print $2, print $3): Remove
10162 (print $4): Rename to ...
10163 (print $2): ... here.
10164 (print $9): Rename to ...
10165 (print $5): ... here.
10166 (print $10): Rename to ...
10167 (print $6): ... here.
10168 * gdb.fortran/vla.f90: Add pvla initialization.
10170 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10172 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10174 * gdb.fortran/vla-value-sub.exp: Likewise.
10176 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10178 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10180 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10182 * i386-biarch-core.exp: Define corefile using
10183 standard_output_file.
10185 2016-02-12 Yao Qi <yao.qi@linaro.org>
10187 * gdb.arch/arm-single-step-kernel-helper.c: New.
10188 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10190 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10192 * gdb.btrace/tailcall-only.exp: New.
10193 * gdb.btrace/tailcall-only.c: New.
10194 * gdb.btrace/x86_64-tailcall-only.S: New.
10195 * gdb.btrace/i686-tailcall-only.S: New.
10197 2016-02-11 Pedro Alves <palves@redhat.com>
10199 * README (Parallel testing): Add missing double quotes.
10201 2016-02-11 Pedro Alves <palves@redhat.com>
10203 * README (Parallel testing): New section.
10204 (GDB_PARALLEL): Rewrite.
10205 (FORCE_PARALLEL): Document.
10207 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10209 * gdb.trace/tfile-avx.c: New test.
10210 * gdb.trace/tfile-avx.exp: New test.
10212 2016-02-09 Keith Seitz <keiths@redhat.com>
10214 PR breakpoints/19546
10215 * gdb.base/infcall-exec.c: New file.
10216 * gdb.base/infcall-exec2.c: New file.
10217 * gdb.base/infcall-exec.exp: New file.
10219 2016-02-09 Keith Seitz <keiths@redhat.com>
10221 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10222 (toplevel): Call test_bkpt_address.
10224 2016-02-09 Keith Seitz <keiths@redhat.com>
10227 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10228 (toplevel): Call test_bkpt_address.
10230 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10232 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10234 * configure: Regenerate.
10236 2016-02-09 Pedro Alves <palves@redhat.com>
10238 PR breakpoints/19548
10239 * gdb.base/execl-update-breakpoints.c (some_function): New
10242 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10243 Tighten expected GDB output.
10245 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10247 * Makefile.in (ALL_SUBDIRS): Remove.
10248 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10249 (distclean maintainer-clean realclean): Likewise.
10250 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10251 * configure: Regenerate.
10252 * gdb.ada/Makefile.in: Delete.
10253 * gdb.arch/Makefile.in: Likewise.
10254 * gdb.asm/Makefile.in: Likewise.
10255 * gdb.base/Makefile.in: Likewise.
10256 * gdb.btrace/Makefile.in: Likewise.
10257 * gdb.cell/Makefile.in: Likewise.
10258 * gdb.compile/Makefile.in: Likewise.
10259 * gdb.cp/Makefile.in: Likewise.
10260 * gdb.disasm/Makefile.in: Likewise.
10261 * gdb.dlang/Makefile.in: Likewise.
10262 * gdb.dwarf2/Makefile.in: Likewise.
10263 * gdb.fortran/Makefile.in: Likewise.
10264 * gdb.gdb/Makefile.in: Likewise.
10265 * gdb.go/Makefile.in: Likewise.
10266 * gdb.guile/Makefile.in: Likewise.
10267 * gdb.java/Makefile.in: Likewise.
10268 * gdb.linespec/Makefile.in: Likewise.
10269 * gdb.mi/Makefile.in: Likewise.
10270 * gdb.modula2/Makefile.in: Likewise.
10271 * gdb.multi/Makefile.in: Likewise.
10272 * gdb.objc/Makefile.in: Likewise.
10273 * gdb.opencl/Makefile.in: Likewise.
10274 * gdb.opt/Makefile.in: Likewise.
10275 * gdb.pascal/Makefile.in: Likewise.
10276 * gdb.perf/Makefile.in: Likewise.
10277 * gdb.python/Makefile.in: Likewise.
10278 * gdb.reverse/Makefile.in: Likewise.
10279 * gdb.server/Makefile.in: Likewise.
10280 * gdb.stabs/Makefile.in: Likewise.
10281 * gdb.threads/Makefile.in: Likewise.
10282 * gdb.trace/Makefile.in: Likewise.
10283 * gdb.xml/Makefile.in: Likewise.
10284 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10286 (standard_output_file): Remove check for GDB_PARALLEL, always
10287 return path in outputs/$subdir/$testname.
10289 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10291 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10292 (site.exp): Assign abs_srcdir to tcl's srcdir.
10294 2016-02-04 Yao Qi <yao.qi@linaro.org>
10296 * gdb.base/foll-exec-mode.c: Include limits.h.
10297 (main): Add parameters argc and argv. Get directory from
10299 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10301 * gdb.base/foll-exec.c: Include limits.h.
10302 (main): Add parameters argc and argv.
10303 Get directory from argv[0].
10304 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10305 Adjust tests on the number of lines as source code changed.
10306 * gdb.base/foll-vfork-exit.c: Include limits.h.
10307 (main): Add one line of statement before vfork.
10308 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10309 (main): Add parameters argc and argv. Get directory from
10311 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10312 (setup_gdb): Set tbreak to skip some source lines.
10313 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10314 (main): Add parameters argc and argv. Get directory from
10316 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10318 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10319 (main): Add parameters argc and argv. Get directory from
10321 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10324 2016-02-01 Doug Evans <dje@google.com>
10326 * gdb.base/skip.exp: Clean up multiple references to same test name.
10328 2016-02-01 Pedro Alves <palves@redhat.com>
10331 * gdb.threads/forking-threads-plus-breakpoint.exp
10332 (displaced_stepping_supported): New global.
10333 (probe_displaced_stepping_support): New procedure.
10334 (do_test): Add 'displaced' parameter, and use it.
10335 (top level): Check for displaced stepping support. Add displaced
10336 stepping on/off testing axis.
10338 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10340 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10341 pointer. Don't perform further tests on the unassociated pointer
10342 if the first test fails.
10344 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10346 * gdb.base/max-value-size.c: New file.
10347 * gdb.base/max-value-size.exp: New file.
10348 * gdb.base/huge.exp: Disable max-value-size for this test.
10350 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10352 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10354 2016-01-28 Yao Qi <yao.qi@linaro.org>
10356 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10358 2016-01-25 Pedro Alves <palves@redhat.com>
10361 * gdb.base/fork-running-state.c: New file.
10362 * gdb.base/fork-running-state.exp: New file.
10364 2016-01-25 Pedro Alves <palves@redhat.com>
10367 * gdb.base/catch-fork-kill.c: New file.
10368 * gdb.base/catch-fork-kill.exp: New file.
10370 2016-01-25 Pedro Alves <palves@redhat.com>
10372 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10373 Delete, moved to lib/gdb.exp.
10374 * gdb.threads/forking-threads-plus-breakpoint.exp
10375 (foreach_with_prefix): Likewise.
10376 * gdb.threads/process-dies-while-handling-bp.exp
10377 (foreach_with_prefix): Likewise.
10378 * lib/gdb.exp (foreach_with_prefix): New procedure.
10380 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10382 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10383 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10385 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10387 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10390 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10391 Pedro Alves <palves@redhat.com>
10393 Fix testsuite compatibility with Guile.
10394 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10397 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10399 Fix testsuite compatibility with Guile.
10400 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10401 (thread 1): New test for backtrace through signal handler.
10403 2016-01-22 Yao Qi <yao.qi@linaro.org>
10406 * gdb.base/multi-forks.c: Include
10407 ../lib/unbuffer_output.c
10408 (main): Call gdb_unbuffer_output.
10410 2016-01-21 Doug Evans <dje@google.com>
10412 * lib/ada.exp (gdb_compile_ada): Fix typo.
10414 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10416 * gdb.base/break-fun-addr.exp: New file.
10417 * gdb.base/break-fun-addr1.c: New file.
10418 * gdb.base/break-fun-addr2.c: New file.
10420 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10422 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10423 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10426 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10428 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10429 when GDB can not set the vector return value. Add more comments
10432 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10434 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10437 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10439 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10441 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10443 * Makefile.in (check-single): Pass --status to runtest.
10444 (check/%.exp): Likewise.
10446 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10448 * Makefile.in (check-parallel): Propagate return code from make
10451 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10453 * gdb.trace/ftrace.exp: Fix expected message on continue.
10454 * gdb.trace/pending.exp: Fix expected message on continue.
10455 * gdb.trace/trace-break.exp: Fix expected message on continue.
10457 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10459 * lib/gdb.exp (gdb_test): Remove unused global references.
10461 2016-01-18 Pedro Alves <palves@redhat.com>
10463 * gdb.base/async-shell.exp: Adjust expected output.
10464 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10465 * gdb.base/siginfo-thread.exp: Adjust expected output.
10466 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10467 * gdb.java/jnpe.exp: Adjust expected output.
10468 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10469 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10470 * gdb.threads/leader-exit.exp: Adjust expected output.
10471 * gdb.threads/manythreads.exp: Adjust expected output.
10472 * gdb.threads/pthreads.exp: Adjust expected output.
10473 * gdb.threads/schedlock.exp: Adjust expected output.
10474 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10475 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10477 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10479 * gdb.threads/sigthread.exp: Adjust expected output.
10480 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10482 2016-01-18 Yao Qi <yao.qi@linaro.org>
10484 * gdb.guile/scm-section-script.c: Replace @progbits with
10486 * gdb.python/py-section-script.c: Likewise.
10488 2016-01-15 Pedro Alves <palves@redhat.com>
10490 * gdb.multi/tids.exp: Test star wildcard ranges.
10492 2016-01-15 Pedro Alves <palves@redhat.com>
10494 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10495 command from "thread apply" invocation.
10496 (thr_apply_info_thr_invalid): Default the expected output to the
10498 (top level): Add tests that use convenience variables. Add tests
10499 for "thread apply" with a valid TID list, but missing the command.
10501 2016-01-13 Pedro Alves <palves@redhat.com>
10503 * gdb.base/default.exp: Expect $_gthread as well.
10504 * gdb.multi/tids.exp: Test $_gthread.
10505 * gdb.threads/thread-specific.exp: Test $_gthread.
10507 2016-01-13 Pedro Alves <palves@redhat.com>
10509 * gdb.multi/tids.exp: Test "info threads -gid".
10511 2016-01-13 Pedro Alves <palves@redhat.com>
10513 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10515 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10517 2016-01-07 Pedro Alves <palves@redhat.com>
10519 * gdb.base/break.exp: Adjust to output changes.
10520 * gdb.base/hbreak2.exp: Likewise.
10521 * gdb.base/sepdebug.exp: Likewise.
10522 * gdb.base/watch_thread_num.exp: Likewise.
10523 * gdb.linespec/keywords.exp: Likewise.
10524 * gdb.multi/info-threads.exp: Likewise.
10525 * gdb.threads/thread-find.exp: Likewise.
10526 * gdb.multi/tids.c: New file.
10527 * gdb.multi/tids.exp: New file.
10529 2016-01-13 Pedro Alves <palves@redhat.com>
10531 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10533 2016-01-13 Pedro Alves <palves@redhat.com>
10535 * gdb.base/default.exp: Expect $_inferior as well.
10536 * gdb.multi/base.exp: Test $_inferior.
10538 2016-01-13 Pedro Alves <palves@redhat.com>
10540 PR breakpoints/19388
10541 * gdb.base/catch-signal-siginfo-cond.c: New file.
10542 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10544 2016-01-12 Josh Stone <jistone@redhat.com>
10545 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10547 * gdb.base/catch-syscall.c (do_execve): New variable.
10548 (main): Conditionally trigger an execve.
10549 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10550 (test_catch_syscall_execve): New, check entry/return across execve.
10551 (do_syscall_tests): Call test_catch_syscall_execve.
10553 2016-01-12 Pedro Alves <palves@redhat.com>
10555 * gdb.base/random-signal.exp (do_test): New procedure, with body
10556 of testcase moved in.
10558 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10559 Pedro Alves <palves@redhat.com>
10561 * gdb.base/funcargs.exp (finish from indirectly called function):
10562 Reintroduce the case for 'First'.
10564 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10565 Pedro Alves <palves@redhat.com>
10567 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10568 (tcatch_vfork_then_child_follow_exec)
10569 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10572 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10574 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10575 and repeats to unlimited.
10576 * gdb.python/py-value.exp: Likewise.
10577 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10578 and repeats to unlimited.
10580 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10582 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10583 and reordering the functions.
10584 * gdb.multi/hangout.c: Likewise.
10585 * gdb.multi/hello.c: Likewise.
10587 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10589 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10591 (SingleStatisticTestResult.report): Use dict.keys instead of
10594 2016-01-06 Pedro Alves <palves@redhat.com>
10596 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10598 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10600 * gdb.btrace/dlopen.exp: New.
10601 * gdb.btrace/dlopen.c: New.
10602 * gdb.btrace/dlopen-dso.c: New.
10604 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10606 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10607 PATTERN argument is optional.
10609 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10611 * lib/ada.exp (target_compile_ada_from_dir): New function.
10612 (gdb_compile_ada): Reimplement avoiding the use of project files.
10613 * gdb.ada/gnat_ada.gpr: Delete.
10614 * gdb.ada/cond_lang.exp: Adjust test to make path before
10616 * gdb.ada/small_reg_param.exp: Likewise.
10618 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10620 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10622 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10624 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10627 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10629 * gdb.base/break.exp: Remove dead code.
10630 * gdb.base/sepdebug.exp: Likewise.
10632 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10634 * gdb.asm/asm-source.exp: Remove HP-UX references.
10635 * gdb.base/annota1.exp: Likewise.
10636 * gdb.base/annota3.exp: Likewise.
10637 * gdb.base/attach.exp: Likewise.
10638 * gdb.base/bigcore.exp: Likewise.
10639 * gdb.base/break.exp: Likewise.
10640 * gdb.base/call-ar-st.exp: Likewise.
10641 * gdb.base/callfuncs.exp: Likewise.
10642 * gdb.base/catch-fork-static.exp: Likewise.
10643 * gdb.base/display.exp: Likewise.
10644 * gdb.base/foll-exec-mode.exp: Likewise.
10645 * gdb.base/foll-exec.exp: Likewise.
10646 * gdb.base/foll-fork.exp: Likewise.
10647 * gdb.base/foll-vfork.exp: Likewise.
10648 * gdb.base/funcargs.exp: Likewise.
10649 * gdb.base/hbreak2.exp: Likewise.
10650 * gdb.base/inferior-died.exp: Likewise.
10651 * gdb.base/interrupt.exp: Likewise.
10652 * gdb.base/multi-forks.exp: Likewise.
10653 * gdb.base/nodebug.exp: Likewise.
10654 * gdb.base/sepdebug.exp: Likewise.
10655 * gdb.base/solib1.c: Likewise.
10656 * gdb.base/step-test.exp: Likewise.
10657 * gdb.mi/non-stop.c: Likewise.
10658 * gdb.mi/pthreads.c: Likewise.
10659 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10660 * gdb.threads/pthreads.c: Likewise.
10661 * gdb.threads/staticthreads.exp: Likewise.
10662 * lib/future.exp: Likewise.
10663 * lib/gdb.exp: Likewise.
10664 * gdb.base/so-indr-cl.c: Remove.
10665 * gdb.base/so-indr-cl.exp: Likewise.
10666 * gdb.base/solib.c: Likewise.
10667 * gdb.base/solib.exp: Likewise.
10668 * gdb.base/solib2.c: Likewise.
10670 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10672 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10673 * gdb.base/call-ar-st.exp: Likewise.
10674 * gdb.base/callfuncs.exp: Likewise.
10675 * gdb.base/condbreak.exp: Likewise.
10676 * gdb.base/constvars.exp: Likewise.
10677 * gdb.base/hbreak2.exp: Likewise.
10678 * gdb.base/langs.exp: Likewise.
10679 * gdb.base/list.exp: Likewise.
10680 * gdb.base/long_long.exp: Likewise.
10681 * gdb.base/ptype.exp: Likewise.
10682 * gdb.base/scope.exp: Likewise.
10683 * gdb.base/signals.exp: Likewise.
10684 * gdb.base/so-impl-ld.exp: Likewise.
10685 * gdb.base/varargs.exp: Likewise.
10686 * gdb.base/volatile.exp: Likewise.
10687 * gdb.base/whatis.exp: Likewise.
10688 * gdb.cp/cplusfuncs.exp: Likewise.
10689 * gdb.cp/inherit.exp: Likewise.
10690 * gdb.cp/local.exp: Likewise.
10691 * gdb.cp/member-ptr.exp: Likewise.
10692 * gdb.cp/method.exp: Likewise.
10693 * gdb.cp/overload.exp: Likewise.
10694 * gdb.cp/templates.exp: Likewise.
10695 * gdb.stabs/weird.exp: Likewise.
10696 * lib/compiler.c: Likewise.
10697 * lib/compiler.cc: Likewise.
10698 * lib/cp-support.exp: Likewise.
10699 * lib/gdb.exp: Likewise.
10701 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10703 * configure.ac: Remove HP-UX case.
10704 * configure: Regenerate.
10706 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10708 * lib/gdb.exp (gdb_compile): Add function doc.
10710 2015-12-17 Pedro Alves <palves@redhat.com>
10713 * gdb.multi/info-threads.exp: New file.
10715 2015-12-15 Yao Qi <yao.qi@linaro.org>
10717 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10720 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10722 * gdb.base/history-duplicates.exp: Skip if no readline support.
10724 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10726 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10728 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10730 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10732 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10734 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10735 ctrl-C if nointerrupts target property is set.
10736 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10737 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10738 * gdb.base/paginate-bg-execution.exp: Likewise.
10739 * gdb.base/paginate-execution-startup.exp: Likewise.
10740 * gdb.base/random-signal.exp: Likewise.
10741 * gdb.base/range-stepping.exp: Likewise.
10742 * gdb.cp/annota2.exp: Likewise.
10743 * gdb.cp/annota3.exp: Likewise.
10744 * gdb.gdb/selftest.exp: Likewise.
10745 * gdb.threads/continue-pending-status.exp: Likewise.
10746 * gdb.threads/leader-exit.exp: Likewise.
10747 * gdb.threads/manythreads.exp: Likewise.
10748 * gdb.threads/pthreads.exp: Likewise.
10749 * gdb.threads/schedlock.exp: Likewise.
10750 * gdb.threads/sigthread.exp: Likewise.
10752 2015-12-11 Don Breazeal <donb@codesourcery.com>
10754 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10756 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10757 * gdb.base/foll-exec.exp (main): Enable for target remote.
10758 * gdb.base/foll-fork.exp (main): Likewise.
10759 * gdb.base/foll-vfork.exp (main): Likewise.
10760 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10761 (proc continue_to_exit_bp_loc): Use clean_restart.
10762 * gdb.base/pie-execl.exp (main): Disable for target remote.
10763 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10764 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10765 * gdb.threads/execl.exp (main): Likewise.
10766 * gdb.threads/fork-child-threads.exp (main): Likewise.
10767 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10769 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10771 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10772 pid.tid style ptids, instead of just tid.
10773 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10774 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10775 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10776 ptids, instead of just tid.
10778 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10780 * gdb.base/list.exp (test_list_forward): Add end of file error
10782 (test_repeat_list_command): Add end of file error test.
10783 (test_list_backwards): Add beginning of file error test.
10785 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10787 * gdb.base/list.exp (test_list_invalid_args): New function,
10788 defined, and called.
10790 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10792 * gdb.base/list.exp (test_list): Make test names unique.
10794 2015-12-11 Yao Qi <yao.qi@linaro.org>
10796 * gdb.base/coremaker2.c: Remove.
10798 2015-12-10 Pedro Alves <palves@redhat.com>
10800 * gdb.multi/base.exp: Remove stale "spaces" references.
10802 2015-12-10 Pedro Alves <palves@redhat.com>
10804 * gdb.multi/base.exp: Don't use nowarnings.
10805 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10806 * gdb.multi/hangout.c: Include stdio.h.
10807 * gdb.multi/hello.c: Include stdlib.h.
10808 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10809 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10810 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10812 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10814 * gdb.dwarf2/dw2-ranges-base.c: New file.
10815 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10816 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10817 support additional line table, and debug ranges generation.
10818 (Dwarf::ranges): New function, generate .debug_ranges.
10819 (Dwarf::lines): Support generating simple line table programs.
10820 (Dwarf::assemble): Initialise new namespace variables.
10822 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10824 * gdb.base/async.exp (proc test_background): Add case for
10825 asynchronous execution not supported.
10827 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10829 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10830 format and change test names to make them unique.
10832 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10833 Pedro Alves <pedro@redhat.com>
10836 Add checking of floatformats setup on x86_64 hosts.
10837 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10838 (smallval, bigval): New labels/constants.
10839 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10840 float" after loading bigval and smallval.
10842 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10844 * gdb.ada/fun_overload_menu.exp: New testcase.
10845 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10847 2015-12-04 Josh Stone <jistone@redhat.com>
10849 * gdb.base/catch-fork-static.exp: New.
10851 2015-12-03 Yao Qi <yao.qi@linaro.org>
10853 * gdb.base/sizeof.c: Don't include stdio.h and
10854 ../lib/unbuffer_output.c.
10855 (main): New variable 'size' and 'value'. Remove printf and
10856 gdb_unbuffer_output. Assign return value to size and value.
10857 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10859 (check_sizeof): Check the result by printing variable 'size'.
10860 (check_valueof): Check the result by printing variable 'value'.
10862 2015-12-01 Yao Qi <yao.qi@linaro.org>
10864 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10865 for aarch64*-*-linux* target.
10867 2015-11-30 Pedro Alves <palves@redhat.com>
10869 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10871 2015-11-30 Pedro Alves <palves@redhat.com>
10873 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10874 Handle non-stop mode vCont replies.
10876 2015-11-30 Pedro Alves <palves@redhat.com>
10878 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10879 prepare_for_testing. Start gdb with "set non-stop on" appended to
10880 GDBFLAGS. Lax expected stop output.
10882 2015-11-27 Yao Qi <yao.qi@linaro.org>
10884 * gdb.arch/arm-neon.exp: New.
10885 * gdb.arch/arm-neon.c: New.
10887 2015-11-27 Yao Qi <yao.qi@linaro.org>
10889 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10891 2015-11-27 Yao Qi <yao.qi@linaro.org>
10893 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10894 frames-invalid annotation.
10896 2015-11-27 Yao Qi <yao.qi@linaro.org>
10898 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10900 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10902 * gdb.threads/names.exp: New file.
10903 * gdb.threads/names.c: New file.
10904 * README: Mention gdb,no_thread_names.
10906 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10909 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10912 2015-11-24 Pedro Alves <palves@redhat.com>
10915 * gdb.base/display.exp: Expect displays to be sorted in ascending
10916 order. Use multi_line.
10917 * gdb.base/solib-display.exp: Likewise.
10919 2015-11-24 Pedro Alves <palves@redhat.com>
10922 * gdb.base/display.exp: Expect displays to be sorted in ascending
10923 order. Use multi_line.
10924 * gdb.base/solib-display.exp: Likewise.
10926 2015-11-24 Pedro Alves <palves@redhat.com>
10929 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10930 threads in ascending order.
10931 * gdb.base/foll-fork.exp: Likewise.
10932 * gdb.base/foll-vfork.exp: Likewise.
10933 * gdb.base/multi-forks.exp: Likewise.
10934 * gdb.mi/mi-nonstop.exp: Likewise.
10935 * gdb.mi/mi-nsintrall.exp: Likewise.
10936 * gdb.multi/base.exp: Likewise.
10937 * gdb.multi/multi-arch.exp: Likewise.
10938 * gdb.python/py-inferior.exp: Likewise.
10939 * gdb.threads/break-while-running.exp: Likewise.
10940 * gdb.threads/execl.exp: Likewise.
10941 * gdb.threads/gcore-thread.exp: Likewise.
10942 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10943 * gdb.threads/kill.exp: Likewise.
10944 * gdb.threads/linux-dp.exp: Likewise.
10945 * gdb.threads/multiple-step-overs.exp: Likewise.
10946 * gdb.threads/next-bp-other-thread.exp: Likewise.
10947 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10948 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10949 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10950 * gdb.threads/thread-find.exp: Likewise.
10951 * gdb.threads/tls.exp: Likewise.
10952 * lib/mi-support.exp (mi_reverse_list): Delete.
10953 (mi_check_thread_states): No longer reverse list.
10955 2015-11-24 Pedro Alves <palves@redhat.com>
10957 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10960 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10962 * gdb.trace/actions.c: Include trace-common.h.
10963 (main): Add a location for a fast tracepoint.
10964 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10965 the normal tracepoints.
10966 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10968 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10970 * save-trace.exp: Factor out code to these...
10971 (gdb_save_tracepoints): New.
10972 (gdb_load_tracepoints): New.
10973 (do_save_load_test): New.
10975 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10977 * gdb.base/asmlabel.exp: New test.
10978 * gdb.base/asmlabel.c: New test case.
10980 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10982 * gdb.base/wrong_frame_bt_full-main.c: New file.
10983 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10984 * gdb.base/wrong_frame_bt_full.exp: New file.
10986 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10988 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10990 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10992 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10993 pstate register when comparing registers values in
10994 sparc64-*-linux-gnu targets to avoid spurious differences.
10996 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10998 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11000 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11002 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11003 as type argument to gdb_compile.
11004 * gdb.base/nested-subp2.exp: Likewise.
11005 * gdb.base/nested-subp3.exp: Likewise.
11007 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11009 * lib/dwarf.exp (_note): Fix left shift of negative value.
11010 * gdb.trace/trace-condition.exp: Likewise.
11012 2015-11-13 Yao Qi <yao.qi@linaro.org>
11014 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11015 comments about d10v.
11016 (test_scalar_returns): Likewise.
11017 * gdb.base/d10v.ld: Remove.
11018 * gdb.base/overlays.exp: Remove the target triplet checking for
11020 * gdb.base/structs.exp (test_struct_returns): Remove the
11021 comments about d10v.
11022 (test_struct_calls): Likewise.
11024 2015-11-13 Yao Qi <yao.qi@linaro.org>
11026 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11027 * gdb.base/gnu_vector.c: Don't include stdio.h.
11028 (main): Don't print res and call add_some_intvecs.
11030 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11032 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11035 (func4): Use FAST_TRACEPOINT_LABEL.
11036 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11039 (thread_function): Use FAST_TRACEPOINT_LABEL.
11040 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11042 (marker): Use FAST_TRACEPOINT_LABEL.
11043 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11044 (pendfunc1): Remove.
11045 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11046 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11048 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11049 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11052 (marker): Use FAST_TRACEPOINT_LABEL.
11053 * gdb.trace/trace-common.h: New header.
11054 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11057 (marker): Use FAST_TRACEPOINT_LABEL.
11058 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11060 (thread_function): Use FAST_TRACEPOINT_LABEL.
11062 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11064 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11066 * gdb.trace/change-loc.exp: Use global pcreg definition.
11067 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11068 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11070 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11071 * gdb.trace/pending.exp: Likewise.
11072 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11073 * gdb.trace/trace-break.exp: Likewise.
11074 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11076 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11077 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11079 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11081 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11083 * gdb.ada/fin_fun_out: New testcase.
11085 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11087 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11088 value associated with DW_AT_byte_size.
11089 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11090 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11093 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11095 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11096 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11098 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11099 gdb.dwarf2/dw2-canonicalize-type.exp,
11100 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11101 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11102 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11103 provided by gdb_target_symbol_prefix_flags_asm.
11104 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11105 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11106 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11107 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11108 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11109 macros where needed). Use this macro for symbols which require
11110 the prefix provided by SYMBOL_PREFIX.
11112 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11114 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11116 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11117 representing expressions, of more than one list element.
11118 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11119 to prepend linker symbol prefix to f.
11120 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11121 table_1 and table_2.
11122 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11123 Likewise, for f and g.
11124 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11126 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11128 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11129 table_1_ptr and table_2_ptr.
11131 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11132 Joel Brobecker <brobecker@adacore.com>
11134 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11136 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11138 * gdb.reverse/s390-mvcle.c: New test.
11139 * gdb.reverse/s390-mvcle.exp: New file.
11140 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11142 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11144 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11146 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11148 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11150 * gdb.reverse/getresuid-reverse.exp: Likewise.
11151 * gdb.reverse/pipe-reverse.exp: Likewise.
11152 * gdb.reverse/readv-reverse.exp: Likewise.
11153 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11154 * gdb.reverse/time-reverse.exp: Likewise.
11155 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11157 2015-10-30 Yao Qi <yao.qi@linaro.org>
11159 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11160 (empty_cycle): Remove.
11161 (main): Don't call empty_cycle. Don't use watch_count_done.
11162 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11163 empty_cycle. Rewrite the code counting HW watchpoints.
11165 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11167 * gdb.reverse/fstatat-reverse.c: New test.
11168 * gdb.reverse/fstatat-reverse.exp: New file.
11169 * gdb.reverse/getresuid-reverse.c: New test.
11170 * gdb.reverse/getresuid-reverse.exp: New file.
11171 * gdb.reverse/pipe-reverse.c: New test.
11172 * gdb.reverse/pipe-reverse.exp: New file.
11173 * gdb.reverse/readv-reverse.c: New test.
11174 * gdb.reverse/readv-reverse.exp: New file.
11175 * gdb.reverse/recvmsg-reverse.c: New test.
11176 * gdb.reverse/recvmsg-reverse.exp: New file.
11177 * gdb.reverse/time-reverse.c: New test.
11178 * gdb.reverse/time-reverse.exp: New file.
11179 * gdb.reverse/waitpid-reverse.c: New test.
11180 * gdb.reverse/waitpid-reverse.exp: New file.
11182 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11184 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11186 2015-10-26 Doug Evans <dje@google.com>
11189 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11190 * gdb.dwarf2/bad-regnum.c: New file.
11191 * gdb.dwarf2/bad-regnum.exp: New file.
11193 2015-10-26 Doug Evans <dje@google.com>
11196 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11199 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11201 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11202 for a change by "Mention language in compile error message".
11204 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11207 * gdb.python/py-type.c (C::a_method): New.
11208 (C::a_const_method): New.
11209 (C::a_static_method): New.
11211 * gdb.python/py-type.exp (test_fields): Test getting fields
11212 from function and method.
11214 2015-10-21 Keven Boell <keven.boell@intel.com>
11216 * gdb.fortran/vla-alloc-assoc.exp: New file.
11217 * gdb.fortran/vla-datatypes.exp: New file.
11218 * gdb.fortran/vla-datatypes.f90: New file.
11219 * gdb.fortran/vla-history.exp: New file.
11220 * gdb.fortran/vla-ptype-sub.exp: New file.
11221 * gdb.fortran/vla-ptype.exp: New file.
11222 * gdb.fortran/vla-sizeof.exp: New file.
11223 * gdb.fortran/vla-sub.f90: New file.
11224 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11225 * gdb.fortran/vla-value-sub-finish.exp: New file.
11226 * gdb.fortran/vla-value-sub.exp: New file.
11227 * gdb.fortran/vla-value.exp: New file.
11228 * gdb.fortran/vla-ptr-info.exp: New file.
11229 * gdb.mi/mi-vla-fortran.exp: New file.
11230 * gdb.mi/vla.f90: New file.
11232 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11234 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11235 of hardwired timeout value.
11237 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11238 Pedro Alves <palves@redhat.com>
11240 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11241 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11243 2015-10-19 Josh Stone <jistone@redhat.com>
11245 * gdb.base/catch-syscall.c: Include <sched.h>.
11246 (unknown_syscall): New variable.
11247 (main): Trigger a vfork and an unknown syscall.
11248 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11249 (unknown_syscall_number): Likewise.
11250 (check_call_to_syscall): Accept an optional syscall pattern.
11251 (check_return_from_syscall): Likewise.
11252 (check_continue): Likewise.
11253 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11254 (test_catch_syscall_skipping_return): New test toggling off 'catch
11255 syscall' to step over the syscall return, then toggling back on.
11256 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11257 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11258 (do_syscall_tests): Call test_catch_syscall_without_args and
11259 test_catch_syscall_mid_vfork.
11260 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11261 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11263 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11265 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11266 print g_vE): Add new pass patterns.
11267 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11268 print various symbol names for vptr fields.
11270 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11272 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11275 2015-10-12 Yao Qi <yao.qi@linaro.org>
11277 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11279 2015-10-12 Yao Qi <yao.qi@linaro.org>
11281 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11282 is aarch64*-*-linux*.
11284 2015-10-12 Yao Qi <yao.qi@linaro.org>
11286 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11287 (can_relocate_bcond_true): ... it.
11288 (can_relocate_bcond_false): New function.
11290 (can_relocate_bl): Likewise.
11291 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11294 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11296 * gdb.base/nested-addr.c: New file.
11297 * gdb.base/nested-addr.exp: New testcase.
11299 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11301 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11302 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11303 its output. Ignore the output of "record goto begin" and instead
11304 check that GDB is replaying.
11306 2015-10-09 Pedro Alves <palves@redhat.com>
11308 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11309 (top level): Use it in the run with no args test.
11311 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11313 * gdb.dlang/properties.exp: New file.
11315 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11317 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11318 whether or not address 0x1000 is mapped on the target.
11320 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11322 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11325 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11327 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11328 instruction-history test.
11330 2015-09-28 Doug Evans <dje@google.com>
11332 * gdb.base/gcore.c (array_func): Add reference to static_array.
11334 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11336 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11339 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11341 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11342 short or char as base type.
11344 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11346 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11347 to allow any size enum.
11349 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11351 * gdb.ada/array_ptr_renaming.exp: New testcase.
11352 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11353 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11355 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11357 * gdb.trace/ftrace-lock.c: New file.
11358 * gdb.trace/ftrace-lock.exp: New file.
11360 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11362 * gdb.arch/insn-reloc.c: New file.
11363 * gdb.arch/ftrace-insn-reloc.exp: New file.
11365 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11367 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11369 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11370 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11371 * gdb.trace/range-stepping.c: Likewise.
11372 * gdb.trace/trace-break.c: Likewise.
11373 * gdb.trace/trace-mt.c (thread_function): Likewise.
11374 * gdb.trace/ftrace.c (marker): Likewise.
11375 * gdb.trace/trace-condition.c (marker): Likewise.
11376 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11377 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11380 2015-09-18 Doug Evans <xdje42@gmail.com>
11382 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11383 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11385 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11387 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11390 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11392 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11393 the pending breakpoint. Remove timeout override for "Run till
11394 MI pending breakpoint on pendfunc3 on thread 2" test.
11396 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11398 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11401 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11403 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11404 in breakpoint filename pattern.
11406 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11408 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11410 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11412 * gdb.linespec/explicit.exp: Check for readline support for
11413 tab-completion tests. Fix obvious typo.
11415 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11417 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11420 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11422 * gdb.btrace/non-stop.c: New.
11423 * gdb.btrace/non-stop.exp: New.
11425 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11426 Yao Qi <yao.qi@linaro.org>
11428 * gdb.trace/trace-condition.c: New file.
11429 * gdb.trace/trace-condition.exp: New file.
11431 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11433 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11434 for testing bytecode compilation.
11436 2015-09-16 Pedro Alves <palves@redhat.com>
11437 Sandra Loosemore <sandra@codesourcery.com>
11439 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11440 (SECONDS): Redefine.
11441 (main): Call pthread_kill and alarm early.
11442 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11444 (test): If the target can't hardware step and doesn't support
11445 displaced stepping, increase the timeout.
11447 2015-09-16 Pedro Alves <palves@redhat.com>
11449 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11450 (enable_debug): New procedures.
11451 (test): Use them. Bail out if waiting for threads fails.
11452 (top level): Bail out if a test fails.
11454 2015-09-16 Yao Qi <yao.qi@linaro.org>
11456 * gdb.asm/asm-source.exp: Set asm-arch for
11457 aarch64*-*-* target.
11458 * gdb.asm/aarch64.inc: New file.
11460 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11462 * gdb.ada/array_of_variable_length.exp: New testcase.
11463 * gdb.ada/array_of_variable_length/foo.adb: New file.
11464 * gdb.ada/array_of_variable_length/pck.adb: New file.
11465 * gdb.ada/array_of_variable_length/pck.ads: New file.
11467 2015-09-15 Doug Evans <dje@google.com>
11469 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11470 of function static local variable.
11472 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11474 * gdb.threads/tls-so_extern.exp: New test file.
11475 * gdb.threads/tls-so_extern.c: New test file.
11476 * gdb.threads/tls-so_extern_main.c: New test file.
11478 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11480 * gdb.opt/solib-intra-step-lib.c: New file.
11481 * gdb.opt/solib-intra-step-main.c: New file.
11482 * gdb.opt/solib-intra-step.exp: New file.
11484 2015-09-15 Pedro Alves <palves@redhat.com>
11486 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11487 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11489 2015-09-14 Pedro Alves <palves@redhat.com>
11491 * gdb.base/hook-stop-continue.c: Delete.
11492 * gdb.base/hook-stop-continue.exp: Delete.
11493 * gdb.base/hook-stop-frame.c: Delete.
11494 * gdb.base/hook-stop-frame.exp: Delete.
11495 * gdb.base/hook-stop.c: New file.
11496 * gdb.base/hook-stop.exp: New file.
11498 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11500 * gdb.ada/access_to_packed_array.exp: New testcase.
11501 * gdb.ada/access_to_packed_array/foo.adb: New file.
11502 * gdb.ada/access_to_packed_array/pack.adb: New file.
11503 * gdb.ada/access_to_packed_array/pack.ads: New file.
11505 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11507 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11510 2015-09-11 Don Breazeal <donb@codesourcery.com>
11512 * gdb.base/foll-exec.c: Add copyright header. Fix
11514 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11515 (do_exec_tests): Use clean_restart in place of zap_session,
11516 and for test initialization. Fix formatting issues. Use
11517 fail in place of perror.
11518 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11519 an expect statement to match an expression with output from
11520 the program under debug.
11521 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11522 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11523 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11524 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11525 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11527 2015-09-09 Doug Evans <dje@google.com>
11529 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11531 2015-09-09 Doug Evans <dje@google.com>
11533 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11535 2015-09-09 Doug Evans <dje@google.com>
11537 * gdb.base/savedregs.exp: Fix typo.
11539 2015-09-09 Pedro Alves <palves@redhat.com>
11541 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11543 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11545 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11546 command actually switches threads. Give up on remaining
11547 tests if target fails to stop at breakpoint.
11549 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11551 * gdb.ada/funcall_char.exp: New testcase.
11552 * gdb.ada/funcall_char/foo.adb: New file.
11554 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11556 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11557 expected outputs. Add two testcases for completing ambiguous
11559 * gdb.ada/complete/aux_pck.adb: New file.
11560 * gdb.ada/complete/aux_pck.ads: New file.
11561 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11562 Ambiguous_Func functions.
11563 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11564 * gdb.ada/complete/pck.adb: Likewise.
11566 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11568 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11569 failures to run the test program under GDB.
11571 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11573 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11576 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11578 * gdb.base/run-after-attach.exp: New test file.
11579 * gdb.base/run-after-attach.c: New test file.
11581 2015-08-26 Don Breazeal <donb@codesourcery.com>
11583 * gdb.base/foll-exec-2.c: New test program.
11584 * gdb.base/foll-exec-2.exp: New test.
11586 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11588 * gdb.base/nested-subp1.exp: New file.
11589 * gdb.base/nested-subp1.c: New file.
11590 * gdb.base/nested-subp2.exp: New file.
11591 * gdb.base/nested-subp2.c: New file.
11592 * gdb.base/nested-subp3.exp: New file.
11593 * gdb.base/nested-subp3.c: New file.
11595 2015-08-24 Pedro Alves <palves@redhat.com>
11597 * gdb.server/connect-without-multi-process.c: New file.
11598 * gdb.server/connect-without-multi-process.exp: New file.
11600 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11602 * gdb.opt/inline-markers.c: Make z int.
11604 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11606 * gdb.opt/inline-markers.c: Make z volatile.
11608 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11610 * gdb.opt/inline-bt.c: New volatile global z.
11611 * gdb.opt/inline-cmds.c: Likewise.
11612 * gdb.opt/inline-locals.c: Likewise.
11613 * gdb.opt/inline-markers.c: New extern global z.
11615 (inline_fn): Likewise.
11617 2015-08-24 Pedro Alves <palves@redhat.com>
11619 * config/m32r-stub.exp: Remove file.
11620 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11621 * gdb.base/call-rt-st.exp: Likewise.
11622 * gdb.base/call-strs.exp: Likewise.
11623 * gdb.base/default.exp: Remove references to h8300-*-hms and
11625 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11627 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11629 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11630 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11631 and "return" use KFAIL when GDB can not read/write the vector
11634 2015-08-21 Gary Benson <gbenson@redhat.com>
11636 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11638 2015-08-20 Pedro Alves <palves@redhat.com>
11640 * gdb.server/solib-list.exp: No longer expect an interior stop in
11643 2015-08-20 Pedro Alves <palves@redhat.com>
11645 * gdb.server/connect-stopped-target.c: New file.
11646 * gdb.server/connect-stopped-target.exp: New file.
11648 2015-08-20 Pedro Alves <palves@redhat.com>
11650 * gdb.dwarf2/comp-unit-lang.exp: New file.
11651 * gdb.dwarf2/comp-unit-lang.c: New file.
11653 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11655 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11656 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11658 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11660 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11661 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11663 2015-08-18 Doug Evans <dje@google.com>
11664 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11666 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11667 skip_python_tests. New arg prompt_regexp.
11668 (skip_python_tests): New function.
11669 * lib/mi-support.exp (mi_skip_python_tests): New function.
11670 * gdb.python/py-mi-objfile-gdb.py: New file.
11671 * gdb.python/py-mi-objfile.c: New file.
11672 * gdb.python/py-mi-objfile.exp: New file.
11674 2015-08-17 Keith Seitz <keiths@redhat.com>
11676 * gdb.linespec/explicit.exp: Move strace test from here ...
11677 * gdb.trace/strace.exp: ... to here.
11679 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11681 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11682 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11684 2015-08-14 Doug Evans <xdje42@gmail.com>
11686 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11687 inferior before selecting a new file.
11689 2015-08-14 Doug Evans <xdje42@gmail.com>
11691 * gdb.mi/mi-disassemble.exp: Update.
11692 * gdb.base/disasm-optim.S: New file.
11693 * gdb.base/disasm-optim.c: New file.
11694 * gdb.base/disasm-optim.h: New file.
11695 * gdb.base/disasm-optim.exp: New file.
11697 2015-08-14 Keith Seitz <keiths@redhat.com>
11699 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11702 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11704 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11706 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11708 * gdb.ada/fun_renaming.exp: New testcase.
11709 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11710 * gdb.ada/fun_renaming/pack.adb: New file.
11711 * gdb.ada/fun_renaming/pack.ads: New file.
11713 2015-08-12 Keith Seitz <keiths@redhat.com>
11715 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11716 gdb_get_line_number.
11718 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11720 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11721 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11722 gdb.base/dso2dso.exp: New files.
11724 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11725 Pedro Alves <palves@redhat.com>
11726 Keith Seitz <keiths@redhat.com>
11728 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11731 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11733 * gdb.base/gdbhistsize-history.exp
11734 (test_histsize_history_setting): Use save_vars.
11735 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11737 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11738 * gdb.base/readline.exp: Use save_vars.
11740 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11742 * lib/gdb.exp (save_vars): New proc.
11744 2015-08-11 Keith Seitz <keiths@redhat.com>
11746 * gdb.base/help.exp: Update help_breakpoint_text.
11748 2015-08-11 Keith Seitz <keiths@redhat.com>
11750 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11751 (at toplevel): Call test_explicit_breakpoints.
11752 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11754 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11755 breakpoint conditions, "-cond".
11757 2015-08-11 Keith Seitz <keiths@redhat.com>
11759 * gdb.linespec/3explicit.c: New file.
11760 * gdb.linespec/cpexplicit.cc: New file.
11761 * gdb.linespec/cpexplicit.exp: New file.
11762 * gdb.linespec/explicit.c: New file.
11763 * gdb.linespec/explicit.exp: New file.
11764 * gdb.linespec/explicit2.c: New file.
11765 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11766 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11767 before using in the matching pattern.
11768 Clarify that `prefix' is a regular expression.
11770 2015-08-11 Keith Seitz <keiths@redhat.com>
11772 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11774 Add tests for missing ",FMT" and ",".
11776 2015-08-10 Doug Evans <dje@google.com>
11777 Keith Seitz <keiths@redhat.com>
11780 * gdb.base/completion.exp: Add location completer tests.
11782 2015-08-07 Pedro Alves <palves@redhat.com>
11784 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11786 (top level): Run do_test with and without displaced stepping.
11788 2015-08-07 Pedro Alves <palves@redhat.com>
11790 * gdb.base/valgrind-disp-step.c: New file.
11791 * gdb.base/valgrind-disp-step.exp: New file.
11793 2015-08-07 Pedro Alves <palves@redhat.com>
11795 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11797 (main): Add alarm. Run an infinite loop instead of calling
11799 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11801 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11803 (main): Add alarm. Run an infinite loop instead of calling
11805 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11808 2015-08-07 Pedro Alves <palves@redhat.com>
11810 * gdb.base/checkpoint-ns.exp: New file.
11811 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11814 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11816 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11817 * gdb.btrace/instruction_history.exp: Update.
11818 * gdb.btrace/tsx.exp: New.
11819 * gdb.btrace/tsx.c: New.
11821 2015-08-06 Pedro Alves <palves@redhat.com>
11823 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11825 * gdb.reverse/until-precsave.exp: Bump timeouts.
11827 2015-08-06 Pedro Alves <palves@redhat.com>
11829 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11831 2015-08-06 Pedro Alves <palves@redhat.com>
11834 * gdb.threads/process-dies-while-handling-bp.c: New file.
11835 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11837 2015-08-06 Pedro Alves <palves@redhat.com>
11839 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11840 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11842 2015-08-05 Pedro Alves <palves@redhat.com>
11844 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11845 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11847 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11849 * gdb.base/bp-permanent.exp: Report test as unsupported if
11850 the target cannot stop at the permanent breakpoint.
11852 2015-08-03 Doug Evans <dje@google.com>
11854 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11857 2015-08-03 Doug Evans <dje@google.com>
11859 * Makefile.in (workers/%.worker, build-perf): New rule.
11860 (GDB_PERFTEST_MODE): New variable.
11861 (check-perf): Use it.
11862 (clean): Clean up gdb.perf parallel build subdirs.
11863 * lib/build-piece.exp: New file.
11864 * lib/gdb.exp (make_gdb_parallel_path): New function
11865 (standard_output_file, standard_temp_file): Call it.
11866 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11868 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11870 2015-08-03 Doug Evans <dje@google.com>
11872 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11873 (LOG_FILE_NAME): New global.
11874 (TextReporter.__init__): Initialize self.txt_sum.
11875 (TextReporter.report): Add support for multiple data-points.
11876 Move report to perftest.sum, put raw data in perftest.log.
11877 (TextReporter.start): Open sum and log files.
11878 (TextReporter.end): Close sum and log files.
11879 * gdb.perf/lib/perftest/testresult.py
11880 (SingleStatisticTestResult.record): Handle multiple data-points.
11882 2015-07-31 Pedro Alves <palves@redhat.com>
11884 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11885 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11886 kill_wait_spawned_process instead of explicit "kill -9".
11887 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11888 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11889 kill_wait_spawned_process.
11890 * gdb.base/attach-twice.exp: Likewise.
11891 * gdb.base/attach.exp: Likewise.
11892 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11894 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11895 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11896 kill_wait_spawned_process.
11897 * gdb.base/valgrind-infcall.exp: Likewise.
11898 * gdb.multi/multi-attach.exp: Likewise.
11899 * gdb.python/py-prompt.exp: Likewise.
11900 * gdb.python/py-sync-interp.exp: Likewise.
11901 * gdb.server/ext-attach.exp: Likewise.
11902 * gdb.threads/attach-into-signal.exp (corefunc): Use
11903 spawn_wait_for_attach, spawn_id_get_pid and
11904 kill_wait_spawned_process.
11905 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11906 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11907 spawn_id_get_pid and kill_wait_spawned_process.
11908 * gdb.threads/attach-stopped.exp (corefunc): Use
11909 spawn_wait_for_attach, spawn_id_get_pid and
11910 kill_wait_spawned_process.
11911 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11912 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11913 kill_wait_spawned_process instead of explicit "kill -9".
11914 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11915 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11916 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11917 processes. Don't map cygwin/windows pids here. Now returns a
11920 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11922 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11923 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11926 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11928 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11930 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11933 2014-05-21 Mark Wielaard <mjw@redhat.com>
11935 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11937 2015-07-30 Pedro Alves <palves@redhat.com>
11939 * linux-low.c (handle_extended_wait): Set the child's last
11940 reported status to TARGET_WAITKIND_STOPPED.
11942 2015-07-30 Pedro Alves <palves@redhat.com>
11945 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11946 only shows inferior 1.
11948 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11949 Pedro Alves <palves@redhat.com>
11952 * gdb.threads/fork-plus-threads.c: New file.
11953 * gdb.threads/fork-plus-threads.exp: New file.
11955 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11957 * gdb.base/batch-preserve-term-settings.exp
11958 (test_terminal_settings_preserved_after_cli_exit): Use
11961 2015-07-29 Pedro Alves <palves@redhat.com>
11962 Don Breazeal <donb@codesourcery.com>
11964 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11965 output from both inferior_spawn_id and gdb_spawn_id.
11967 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11969 * gdb.threads/attach-into-signal.exp (corefunc): Use
11970 with_test_prefix on nested loops, uniquefying the test messages.
11972 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11974 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11977 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11979 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11981 (test_terminal_settings_preserved_after_sigterm): New test.
11983 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11985 * gdb.base/batch-preserve-term-settings.exp
11986 (test_terminal_settings_preserved_after_cli_exit): New test.
11988 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11990 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11991 manipulation of saved_gdbflags.
11992 (test_terminal_settings_preserved): Remove global declaration of
11993 the unused variable pagination_prompt. Remove manipulation of
11994 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11997 2015-07-29 Pedro Alves <palves@redhat.com>
11999 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12001 2015-07-29 Pedro Alves <palves@redhat.com>
12003 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12006 2015-07-29 Pedro Alves <palves@redhat.com>
12008 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12009 (main): Call gdb_unbuffer_output.
12010 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12011 (main): Call gdb_unbuffer_output.
12012 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12013 (main): Call gdb_unbuffer_output.
12014 * gdb.base/call-strs.exp: Adjust to step over the
12015 gdb_unbuffer_output call.
12016 * gdb.base/catch-gdb-caused-signals.c: Include
12017 "../lib/unbuffer_output.c".
12018 (main): Call gdb_unbuffer_output.
12019 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12020 (main): Call gdb_unbuffer_output.
12021 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12022 (main): Call gdb_unbuffer_output.
12023 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12024 (main): Call gdb_unbuffer_output.
12025 * gdb.base/shlib-call.exp: Adjust to step over the
12026 gdb_unbuffer_output call.
12027 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12028 (main): Call gdb_unbuffer_output.
12029 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12030 (main): Call gdb_unbuffer_output.
12031 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12032 (main): Rename to ...
12034 (main): Reimplement.
12035 * gdb.base/varargs.exp: Run to test instead of to main.
12036 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12037 (main): Call gdb_unbuffer_output.
12039 2015-07-29 Pedro Alves <palves@redhat.com>
12041 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12042 factore out from mi_continue_dprintf. For call-style dprintfs,
12043 expect dprintf output out of $inferior_spawn_id.
12044 (mi_continue_dprintf): Use mi_expect_dprintf.
12045 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12046 (main): Call gdb_unbuffer_output.
12048 2015-07-29 Pedro Alves <palves@redhat.com>
12050 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12051 (default_mi_gdb_start): Set inferior_spawn_id instead of
12052 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12054 (mi_gdb_test): Always expect inferior output from both
12055 $inferior_spawn_id and $gdb_spawn_id.
12057 2015-07-29 Pedro Alves <palves@redhat.com>
12059 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12060 send_inferior and $inferior_spawn_id.
12062 2015-07-29 Pedro Alves <palves@redhat.com>
12064 * gdb.gdb/complaints.exp (test_initial_complaints)
12065 (test_serial_complaints, test_short_complaints): Use
12067 (test_empty_complaint): Handle $inferior_spawn_id !=
12070 2015-07-29 Pedro Alves <palves@redhat.com>
12072 * gdb.base/varargs.exp: Use gdb_test_stdio.
12074 2015-07-29 Pedro Alves <palves@redhat.com>
12076 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12078 2015-07-29 Pedro Alves <palves@redhat.com>
12080 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12082 2015-07-29 Pedro Alves <palves@redhat.com>
12084 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12085 parameter into two new parameters, "inf_result" and "gdb_result".
12086 Expect inferior output and gdb output from $inferior_spawn_id and
12087 $gdb_spawn_id, respectively. Adjust all callers.
12089 2015-07-29 Pedro Alves <palves@redhat.com>
12091 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12092 of gdb_test_sequence.
12094 2015-07-29 Pedro Alves <palves@redhat.com>
12096 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12097 (saw_spurious_output): Expect inferior output from
12098 $inferior_spawn_id. Use gdb_test_stdio.
12100 2015-07-29 Pedro Alves <palves@redhat.com>
12102 * gdb.base/dprintf.exp: Use standard_testfile. Change
12103 prepare_for_testing call.
12104 (srcfile): Don't set.
12105 (restart): New procedure.
12106 (test_dprintf): New procecure, use to continue over dprintfs.
12107 (test_call, test_agent): New procedures, tests moved here.
12108 Restart gdb and recreate dprintfs. Adjust expected output.
12110 2015-07-29 Pedro Alves <palves@redhat.com>
12112 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12114 2015-07-29 Pedro Alves <palves@redhat.com>
12116 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12118 2015-07-29 Pedro Alves <palves@redhat.com>
12120 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12123 2015-07-29 Pedro Alves <palves@redhat.com>
12125 * lib/gdb.exp (gdb_test_stdio): New procedure.
12127 2015-07-29 Pedro Alves <palves@redhat.com>
12129 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12131 2015-07-29 Pedro Alves <palves@redhat.com>
12133 * gdb.base/call-signal-resume.exp: Remove check for
12134 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12135 * gdb.base/unwindonsignal.exp: Likewise.
12136 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12137 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12139 2015-07-29 Pedro Alves <palves@redhat.com>
12141 * gdb.base/siginfo-addr.c (pass): New function.
12142 (handler): Call it iff si_addr is correct.
12143 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12144 Set a breakpoint at "pass" and continue to it.
12146 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12148 * gdb.python/py-objfile.exp: Make some tests have unique names.
12149 * gdb.python/py-pp-registration.exp: Likewise.
12151 2015-07-28 Pedro Alves <palves@redhat.com>
12153 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12155 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12157 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12159 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12161 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12163 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12165 * gdb.base/gdb-sigterm-2.exp: New test.
12167 2015-07-25 Doug Evans <xdje42@gmail.com>
12170 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12171 (workers/%.worker, build-perf): New rule.
12172 (GDB_PERFTEST_MODE): New variable.
12173 (check-perf): Use it.
12174 (clean): Clean up gdb.perf parallel build subdirs.
12175 * lib/build-piece.exp: New file.
12176 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12177 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12179 (standard_temp_file): Ditto.
12180 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12183 2015-07-24 Doug Evans <dje@google.com>
12185 * gdb.perf/lib/perftest/utils.py: New file.
12186 * gdb.perf/gm-hello.cc: New file.
12187 * gdb.perf/gm-pervasive-typedef.cc: New file.
12188 * gdb.perf/gm-pervasive-typedef.h: New file.
12189 * gdb.perf/gm-std.cc: New file.
12190 * gdb.perf/gm-std.h: New file.
12191 * gdb.perf/gm-use-cerr.cc: New file.
12192 * gdb.perf/gm-utils.h: New file.
12193 * gdb.perf/gmonster-null-lookup.py: New file.
12194 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12195 * gdb.perf/gmonster-print-cerr.py: New file.
12196 * gdb.perf/gmonster-ptype-string.py: New file.
12197 * gdb.perf/gmonster-runto-main.py: New file.
12198 * gdb.perf/gmonster-select-file.py: New file.
12199 * gdb.perf/gmonster1-null-lookup.exp: New file.
12200 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12201 * gdb.perf/gmonster1-print-cerr.exp: New file.
12202 * gdb.perf/gmonster1-ptype-string.exp: New file.
12203 * gdb.perf/gmonster1-runto-main.exp: New file.
12204 * gdb.perf/gmonster1-select-file.exp: New file.
12205 * gdb.perf/gmonster1.cc: New file.
12206 * gdb.perf/gmonster1.exp: New file.
12207 * gdb.perf/gmonster2-null-lookup.exp: New file.
12208 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12209 * gdb.perf/gmonster2-print-cerr.exp: New file.
12210 * gdb.perf/gmonster2-ptype-string.exp: New file.
12211 * gdb.perf/gmonster2-runto-main.exp: New file.
12212 * gdb.perf/gmonster2-select-file.exp: New file.
12213 * gdb.perf/gmonster2.cc: New file.
12214 * gdb.perf/gmonster2.exp: New file.
12216 2015-07-24 Doug Evans <dje@google.com>
12218 * gdb.perf/README: New file.
12219 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12220 * lib/gen-perf-test.exp: New file.
12222 2015-07-24 Doug Evans <dje@google.com>
12224 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12225 (PerfTest::startup): New function.
12226 (PerfTest::run): Return result of calling body.
12227 (PerfTest::assemble): Rewrite.
12228 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12229 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12230 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12231 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12232 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12234 2015-07-24 Doug Evans <dje@google.com>
12236 * lib/gdb.exp (clean_restart): Make executable optional.
12238 2015-07-24 Doug Evans <dje@google.com>
12240 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12241 compiler_info references.
12242 * gdb.cp/temargs.exp: Ditto.
12243 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12244 (get_compiler_info): Early exit if already computed. Set compiler_info
12245 to "unknown" if there was a problem.
12246 (test_compiler_info): Add function comment. Call get_compiler_info.
12248 2015-07-24 Doug Evans <dje@google.com>
12250 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12251 (workers/%.worker, build-perf): New rule.
12252 (GDB_PERFTEST_MODE): New variable.
12253 (check-perf): Use it.
12254 (clean): Clean up gdb.perf parallel build subdirs.
12255 * lib/build-piece.exp: New file.
12256 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12257 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12259 (standard_temp_file): Ditto.
12260 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12263 2015-07-24 Doug Evans <dje@google.com>
12265 * lib/future.exp (gdb_default_target_compile): New option
12267 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12270 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12272 * gdb.base/catch-syscall.exp: Call gdb_exit before
12275 2015-07-24 Pedro Alves <palves@redhat.com>
12277 * gdb.python/py-events.exp: Accept output between the stop event
12279 * gdb.python/py-evsignal.exp: Likewise.
12280 * gdb.python/py-evthreads.exp: Likewise.
12282 2015-07-24 Pedro Alves <palves@redhat.com>
12285 * gdb.threads/non-ldr-exit.c: New file.
12286 * gdb.threads/non-ldr-exit.exp: New file.
12288 2015-07-24 Yao Qi <yao.qi@linaro.org>
12290 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12291 restarting process.
12293 2015-07-24 Yao Qi <yao.qi@linaro.org>
12295 * gdb.server/ext-restart.exp: New file.
12297 2015-07-24 Yao Qi <yao.qi@linaro.org>
12299 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12301 * gdb.server/ext-wrapper.exp: New file.
12303 2015-07-23 Doug Evans <dje@google.com>
12305 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12306 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12308 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12310 * gdb.ada/var_arr_typedef.exp: New testcase.
12311 * gdb.ada/var_arr_typedef/pack.adb: New file.
12312 * gdb.ada/var_arr_typedef/pack.ads: New file.
12313 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12315 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12317 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12319 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12321 * gdb.arch/i386-biarch-core.exp: Replace istarget
12322 by "complete set gnutarget". Remove expectation for the "core-file"
12325 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12327 Revert the previous commit:
12328 Tests for validate symbol file using build-id.
12330 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12332 Tests for validate symbol file using build-id.
12333 * gdb.base/solib-mismatch-lib.c: New file.
12334 * gdb.base/solib-mismatch-libmod.c: New file.
12335 * gdb.base/solib-mismatch.c: New file.
12336 * gdb.base/solib-mismatch.exp: New file.
12338 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12340 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12342 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12343 * gdb.base/siginfo.exp: Likewise.
12344 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12346 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12348 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12350 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12352 * gdb.trace/range-stepping.exp: Check that the target supports
12355 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12357 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12359 2015-07-14 Pedro Alves <palves@redhat.com>
12361 * gdb.base/killed-outside.exp: New file.
12362 * gdb.base/killed-outside.c: New file.
12364 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12366 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12368 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12370 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12372 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12373 infcall tests instead of setting up for KFAIL.
12375 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12377 * gdb.btrace/record_goto-step.exp: New.
12379 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12382 * gdb.compile/compile.c (struct struct_type): Add volatile to
12384 * gdb.compile/compile.exp
12385 (compile code struct_object.selffield = &struct_object): Skip further
12386 struct_object tests if this one xfails.
12388 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12391 * gdb.trace/ax.exp: Add test.
12393 2015-07-07 Yao Qi <yao.qi@linaro.org>
12395 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12396 instead of istarget "aarch64*-*-*".
12397 * gdb.arch/aarch64-fp.exp: Likewise.
12398 * gdb.base/float.exp: Likewise.
12399 * gdb.reverse/aarch64.exp: Likewise.
12400 * lib/gdb.exp (is_aarch64_target): New proc.
12402 2015-07-07 Yao Qi <yao.qi@linaro.org>
12404 * lib/gdb.exp (is_aarch32_target): New proc.
12405 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12406 instead of "istarget "arm*-*-*"".
12407 * gdb.arch/arm-disp-step.exp: Likewise.
12408 * gdb.arch/thumb-bx-pc.exp: Likewise.
12409 * gdb.arch/thumb-prologue.exp: Likewise.
12410 * gdb.arch/thumb-singlestep.exp: Likewise.
12411 * gdb.base/disp-step-syscall.exp: Likewise.
12412 * gdb.base/float.exp: Likewise.
12414 2015-07-07 Yao Qi <yao.qi@linaro.org>
12416 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12417 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12419 2015-07-07 Yao Qi <yao.qi@linaro.org>
12421 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12422 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12424 * gdb.multi/multi-arch.exp: Likewise.
12426 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12428 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12431 2015-07-07 Yao Qi <yao.qi@linaro.org>
12433 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12435 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12437 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12438 '[' and ']' characters.
12440 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12442 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12444 2015-06-29 Pedro Alves <palves@redhat.com>
12447 * gdb.threads/hand-call-new-thread.c: New file.
12448 * gdb.threads/hand-call-new-thread.c: New file.
12450 2015-06-26 Keith Seitz <keiths@redhat.com>
12451 Doug Evans <dje@google.com>
12454 * gdb.cp/var-tag-2.cc: New file.
12455 * gdb.cp/var-tag-3.cc: New file.
12456 * gdb.cp/var-tag-4.cc: New file.
12457 * gdb.cp/var-tag.cc: New file.
12458 * gdb.cp/var-tag.exp: New file.
12460 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12462 * gdb.base/history-duplicates.exp: New test.
12464 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12466 * gdb.base/completion.exp: Test the completion of the "focus"
12469 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12471 * gdb.arch/amd64-prologue-skip.S: New file.
12472 * gdb.arch/amd64-prologue-skip.exp: New file.
12474 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12476 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12477 is_address_zero_readable check.
12479 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12481 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12482 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12484 2015-06-24 Yao Qi <yao.qi@linaro.org>
12486 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12489 2015-06-24 Yao Qi <yao.qi@linaro.org>
12491 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12492 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12493 * gdb.base/siginfo-thread.exp: Likewise.
12495 2015-06-22 Yao Qi <yao.qi@linaro.org>
12497 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12499 2015-06-22 Yao Qi <yao.qi@linaro.org>
12501 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12503 (skip_hw_watchpoint_tests): Likewise.
12505 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12507 * gdb.base/gdbinit-history.exp: Test the interaction between
12508 setting GDBHISTSIZE and setting the history size via .gdbinit.
12510 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12513 * gdb.base/gdbhistsize-history.exp: New test.
12515 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12517 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12519 * gdb.base/readline.exp: Likewise.
12521 2015-06-17 Yao Qi <yao.qi@linaro.org>
12523 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12526 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12528 * gdb.base/gdbinit-history.exp: Add test case to check that
12529 an unlimited history file does not get truncated on exit.
12531 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12533 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12534 (VECTOR): New macro. Use it...
12535 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12536 ...for these typedefs.
12537 (int8, char1, int1, double1): New typedefs.
12538 (struct just_int2, struct two_int2): New structures.
12539 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12540 (add_structvecs, add_singlevecs): New functions.
12541 (main): Call add_some_intvecs twice.
12542 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12543 the compile and exit upon failure. Try compiling for the "native"
12544 architecture. Test inferior function calls with vector arguments
12545 and vector return value handling with "finish" and "return".
12547 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12549 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12550 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12552 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12554 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12556 PR breakpoints/16465
12557 * gdb.mi/mi-dprintf-pending.c: New file.
12558 * gdb.mi/mi-dprintf-pending.exp: New test.
12559 * gdb.mi/mi-dprintf-pendshr.c: New file.
12561 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12562 Mircea Gherzan <mircea.gherzan@intel.com>
12564 * gdb.arch/i386-mpx-map.c: New file.
12565 * gdb.arch/i386-mpx-map.exp: New File.
12567 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12569 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12570 * gdb.arch/i386-mpx.exp: Indentation fixed.
12572 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12574 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12575 function and improved indentation.
12576 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12577 gdb_test_multiple. Added additional tests to skip the test.
12579 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12581 * gdb.arch/i386-avx512.c: Change path in include file.
12582 * gdb.arch/i386-avx512.exp: Change include dir path
12584 * gdb.arch/i386-mpx.c: Change path in include file.
12585 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12588 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12590 * gdb.compile/compile-print.exp (compile print *vararray@3)
12591 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12593 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12595 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12596 (do not keep jit in memory): ... this.
12597 (expect 5): Change it to ...
12598 (expect no 5): ... this.
12600 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12603 * gdb.mi/mi-detach.exp: New file.
12605 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12608 * gdb.arch/amd64-tailcall-self.S: New file.
12609 * gdb.arch/amd64-tailcall-self.c: New file.
12610 * gdb.arch/amd64-tailcall-self.exp: New file.
12612 2015-05-28 Don Breazeal <donb@codesourcery.com>
12614 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12615 tests for remote targets by checking is_target_gdbserver.
12617 2015-05-27 Doug Evans <dje@google.com>
12619 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12620 * gdb.dwarf2/opaque-type-lookup.c: New file.
12621 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12623 2015-05-26 Doug Evans <dje@google.com>
12625 * gdb.cp/iostream.cc: New file.
12626 * gdb.cp/iostream.exp: New file.
12628 2015-05-26 Doug Evans <dje@google.com>
12630 * gdb.dwarf2/dw2-op-call.exp: Update.
12631 * gdb.dwarf2/dw4-sig-types.exp: Update.
12632 * gdb.dwarf2/implptr.exp: Update.
12633 * gdb.mi/mi-cmd-param-changed.exp: Update.
12635 2015-05-26 Doug Evans <dje@google.com>
12637 * gdb.python/py-lazy-string.c: New file.
12638 * gdb.python/py-lazy-string.exp: New file.
12639 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12640 (main): Update. Add estring3.
12641 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12642 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12644 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12645 Yao Qi <yao.qi@linaro.org>
12647 * gdb.reverse/aarch64.c: New.
12648 * gdb.reverse/aarch64.exp: New.
12650 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12652 * lib/gdb.exp (supports_process_record): Return true for
12654 (supports_reverse): Likewise.
12656 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12658 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12659 Use with_test_prefix.
12661 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12663 * gdb.base/completion.exp: Add test for completion of layout
12666 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12668 * lib/gdb.exp (skip_tui_tests): New proc.
12669 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12671 2015-05-19 Pedro Alves <palves@redhat.com>
12673 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12674 Save the whole env array instead of just HOME. Unset HISTSIZE in
12675 the environment while testing. Restore whole environment
12678 2015-05-16 Doug Evans <xdje42@gmail.com>
12680 * gdb.guile/scm-ports.c: New file.
12681 * gdb.guile/scm-ports.exp: Add memory port tests.
12683 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12685 * gdb.compile/compile-print.c: New file.
12686 * gdb.compile/compile-print.exp: New file.
12688 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12690 * gdb.compile/compile-ops.exp: Cast param to void.
12691 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12692 (compile code struct_object.selffield = &struct_object): Add xfail.
12694 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12696 * gdb.ada/arr_enum_with_gap: New testcase.
12698 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12700 * gdb.ada/byte_packed_arr: New testcase.
12702 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12704 * gdb.ada/pckd_neg: New testcase.
12706 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12709 * gdb.base/gdbinit-history.exp: New test.
12710 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12711 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12713 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12715 * gdb.python/py-xmethods.cc: Enhance test case.
12716 * gdb.python/py-xmethods.exp: New tests.
12717 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12719 (B_indexoper): Likewise.
12720 (global_dm_list) : Add new xmethod worker functions.
12722 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12724 * gdb.base/coredump-filter.exp: Correctly unset
12725 "coredump_var_addr" array.
12727 2015-05-08 Pedro Alves <palves@redhat.com>
12729 * gdb.server/non-existing-program.exp: Unset spawn_id.
12731 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12734 * gdb.python/py-xmethods.exp: Add tests.
12736 2015-05-08 Yao Qi <yao.qi@linaro.org>
12739 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12740 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12741 function set_coredump_filter, and remove remote_exec call.
12742 Remove argument ipid. Callers update.
12743 (top level): Don't get inferior's PID.
12745 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12747 * gdb.base/watch_thread_num.exp: Skip test on targets without
12748 access watchpoints.
12750 2015-05-06 Pedro Alves <palves@redhat.com>
12753 * gdb.server/non-existing-program.exp: New file.
12755 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12757 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12759 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12761 * gdb.ada/out_of_line_in_inlined: New testcase.
12763 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12765 * gdb.ada/var_rec_arr: New testcase.
12767 2015-04-30 Yao Qi <yao.qi@linaro.org>
12769 * gdb.base/break-idempotent.exp: If
12770 skip_hw_watchpoint_multi_tests returns true, skip the tests
12771 on "rwatch" and "awatch".
12773 2015-04-30 Yao Qi <yao.qi@linaro.org>
12775 * gdb.base/relativedebug.exp: Invoke gdb command
12776 "info sharedlibrary", and if libc.so doesn't have debug info,
12779 2015-04-29 Doug Evans <dje@google.com>
12781 * gdb.python/py-xmethods.exp: Add ptype tests.
12782 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12783 get_result_type method.
12785 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12787 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12788 the target does not support hardware watchpoints.
12790 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12792 * gdb.base/break-always.exp: Abort testing if writing to memory
12795 2015-04-28 Doug Evans <dje@google.com>
12797 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12798 * gdb.python/py-pp-registration.exp: ... here. New file.
12799 * gdb.python/py-pp-registration.c: New file.
12800 * gdb.python/py-pp-registration.py: New file.
12802 2015-04-28 Doug Evans <dje@google.com>
12804 * gdb.python/py-bad-printers.c: New file.
12805 * gdb.python/py-bad-printers.py: New file.
12806 * gdb.python/py-bad-printers.exp: New file.
12808 2015-04-28 Sasha Smundak <asmundak@google.com>
12810 * gdb.python/py-type.exp: New test.
12812 2015-04-28 Andy Wingo <wingo@igalia.com>
12814 * gdb.python/py-parameter.exp:
12815 * gdb.guile/scm-parameter.exp: Escape the path that we are
12816 matching against, as it might contain characters that are special
12817 to regular expressions.
12819 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12821 * gdb.ada/rec_comp: New testcase.
12823 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12825 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12828 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12830 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12831 new tests for verilog output.
12833 2015-04-24 Yao Qi <yao.qi@linaro.org>
12835 * boards/remote-gdbserver-on-localhost.exp: New file.
12837 2015-04-23 Pedro Alves <palves@redhat.com>
12839 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12840 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12841 "end of file", remove $inferior_spawn_id from the indirect list.
12843 2015-04-23 Pedro Alves <palves@redhat.com>
12845 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12847 2015-04-23 Pedro Alves <palves@redhat.com>
12849 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12850 on $any_spawn_id instead of only on $gdb_spawn_id.
12852 2015-04-21 Pierre Muller <muller@sourceware.org>
12855 * lib/pascal.exp (gpc_compile): Add new option "class".
12856 (fpc_compile): Likewise.
12857 * gdb.pascal/case-insensitive-symbols.pas: New file.
12858 * gdb.pascal/case-insensitive-symbols.exp: New file.
12860 2015-04-20 Gary Benson <gbenson@redhat.com>
12862 * gdb.base/attach.exp: Fix three extended remote failures.
12864 2015-04-17 Gary Benson <gbenson@redhat.com>
12866 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12867 the main executable over the remote protocol.
12869 2015-04-16 Pedro Alves <palves@redhat.com>
12871 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12872 a new gdbserver if gdbserver_reconnect_p is set.
12874 2015-04-16 Pedro Alves <palves@redhat.com>
12876 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12877 is set, don't exit gdbserver.
12879 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12881 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12882 appropriate .insn, such that an older assembler can be used.
12883 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12884 the z/Architecture instruction set on 31-bit targets as well.
12886 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12888 * gdb.go/handcall.exp: Remove all logic related to the first
12889 breakpoint and rely on go_runto_main instead.
12890 * gdb.go/strings.exp: Likewise.
12891 * gdb.go/unsafe.exp: Likewise.
12892 * gdb.go/hello.exp: Likewise. Also rename the remaining
12893 breakpoint marker to "breakpoint 1".
12894 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12895 * gdb.go/strings.go: Likewise.
12896 * gdb.go/unsafe.go: Likewise.
12897 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12898 "set breakpoint 2 here" and rename the remaining breakpoint marker
12901 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12903 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12904 if itertools.imap is not present.
12905 * gdb.python/py-objfile.exp: Add parentheses.
12906 * gdb.python/py-type.exp: Same.
12907 * gdb.python/py-unwind-maint.py: Same.
12909 2015-04-15 Yao Qi <yao.qi@linaro.org>
12911 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12912 of ":$ptr_size" and set its form explicitly.
12914 2015-04-15 Pedro Alves <palves@redhat.com>
12915 Yao Qi <yao.qi@linaro.org>
12917 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12918 timeout by factor of 4.
12919 (test_regular_watch): Likewise.
12920 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12921 * gdb.reverse/sigall-reverse.exp: Likewise.
12922 * gdb.reverse/until-precsave.exp: Likewise.
12923 * lib/gdb.exp (with_timeout_factor): New proc.
12924 (gdb_expect): Move some code to ...
12925 (get_largest_timeout): ... here. New procedure.
12927 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12929 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12931 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12933 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12934 to write to the .text section.
12936 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12938 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12939 Handle the case of targets that do not provide PID information.
12941 2015-04-13 Yao Qi <yao.qi@linaro.org>
12943 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12944 and use expect instead of gdb_expect.
12946 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12948 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12949 "coredump_var_addr" to avoid naming conflict with other testcases.
12951 2015-04-10 Pedro Alves <palves@redhat.com>
12953 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12954 gdb_test_sequence and gdb_assert.
12956 2015-04-10 Pedro Alves <palves@redhat.com>
12958 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12959 test messages that don't include the breakpoint address.
12961 2015-04-10 Yao Qi <yao.qi@linaro.org>
12963 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12964 false for some offset and width combinations which aren't
12965 supported by linux kernel.
12967 2015-04-10 Pedro Alves <palves@redhat.com>
12969 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12970 procedure, factored out from ...
12971 (top level): ... here. Add "set displaced-stepping" testing axis.
12972 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12973 parameter "displaced". Use it.
12974 (top level): Use foreach and add "set displaced-stepping" testing
12977 2015-04-10 Pedro Alves <palves@redhat.com>
12979 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12981 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12982 both the address of the instruction that triggers the watchpoint
12983 and the address of the instruction immediately after, and use
12984 those addresses for the test. Fix comment.
12986 2015-04-10 Pedro Alves <palves@redhat.com>
12988 * gdb.base/sigstep.exp (breakpoint_to_handler)
12989 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12990 Test "backtrace" in handler.
12991 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12992 (top level): Add new "displaced" test axis to
12993 breakpoint_to_handler, breakpoint_to_handler_entry and
12994 breakpoint_over_handler.
12996 2015-04-10 Pedro Alves <palves@redhat.com>
12999 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13001 2015-04-10 Yao Qi <yao.qi@linaro.org>
13003 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13004 (test_add_rn_pc): New function.
13005 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13006 (top level): Invoke test_add_rn_pc.
13008 2015-04-10 Pedro Alves <palves@redhat.com>
13011 * gdb.base/step-over-no-symbols.exp: New file.
13013 2015-04-09 Andy Wingo <wingo@igalia.com>
13015 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13016 after the Python tests.
13018 2015-04-08 Keith Seitz <keiths@redhat.com>
13021 * gdb.python/py-completion.exp: New tests for completion.
13022 * gdb.python/py-completion.py (CompleteLimit1): New class.
13023 (CompleteLimit2): Likewise.
13024 (CompleteLimit3): Likewise.
13025 (CompleteLimit4): Likewise.
13026 (CompleteLimit5): Likewise.
13027 (CompleteLimit6): Likewise.
13028 (CompleteLimit7): Likewise.
13030 2015-04-08 Pedro Alves <palves@redhat.com>
13034 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13036 (main): Install it as SIGUSR1 handler.
13037 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13038 parameter. Always use "setup" as prefix. Toggle "set
13039 displaced-stepping" off/on depending on global. Don't switch to
13041 (top level): Add displaced stepping "off/on" test axis. Update
13042 "setup" calls. Wrap each subtest with with_test_prefix. Test
13043 continuing with a queued signal in each thread.
13045 2015-04-08 Pedro Alves <palves@redhat.com>
13047 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13048 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13049 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13050 Return early if running to main fails.
13051 * gdb.trace/while-stepping.exp: Likewise.
13053 2015-04-07 Pedro Alves <palves@redhat.com>
13055 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13056 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13057 interact with inferior program.
13059 2015-04-07 Pedro Alves <palves@redhat.com>
13061 * lib/gdb.exp (inferior_spawn_id): New global.
13062 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13063 spawn id after processing the user code.
13064 (default_gdb_start): Set inferior_spawn_id.
13065 (send_inferior): New procedure.
13066 * lib/gdbserver-support.exp (gdbserver_start): Set
13068 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13070 2015-04-07 Pedro Alves <palves@redhat.com>
13072 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13073 * lib/gdbserver-support.exp (gdbserver_start): Make
13074 $server_spawn_id global.
13075 (gdbserver_start): Don't wait for gdbserver's spawn id with
13077 (close_gdbserver): New procedure.
13078 (gdb_exit): Rename the default version and reimplement.
13080 2015-04-07 Pedro Alves <palves@redhat.com>
13082 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13083 append the substituted item, not the original item.
13085 2015-04-07 Pedro Alves <palves@redhat.com>
13087 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13090 2015-04-07 Pedro Alves <palves@redhat.com>
13092 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13093 output appearing once only.
13095 2015-04-07 Pedro Alves <palves@redhat.com>
13097 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13098 that doesn't expect anything. Return early if running to main
13101 2015-04-07 Yao Qi <yao.qi@linaro.org>
13103 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13104 (child_function): Call alarm.
13105 (main): Move call to alarm into the loop.
13106 * gdb.threads/non-stop-fair-events.exp: Build program with
13107 -DTIMEOUT=$timeout.
13109 2015-04-06 Doug Evans <xdje42@gmail.com>
13111 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13112 Fix dest parameter to board_info.
13113 (fpc_compile): Ditto.
13114 (gdb_compile_pascal): Rename dest arg to destfile.
13116 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13118 * gdb.ada/funcall_ref.exp: New file.
13119 * gdb.ada/funcall_ref/foo.adb: New file.
13121 2015-04-02 Yao Qi <yao.qi@linaro.org>
13123 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13126 2015-04-02 Gary Benson <gbenson@redhat.com>
13128 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13130 2015-04-01 Sasha Smundak <asmundak@google.com>
13132 * gdb.python/py-unwind-maint.c: New file.
13133 * gdb.python/py-unwind-maint.exp: New test.
13134 * gdb.python/py-unwind-maint.py: New file.
13135 * gdb.python/py-unwind.c: New file.
13136 * gdb.python/py-unwind.exp: New test.
13137 * gdb.python/py-unwind.py: New test.
13139 2015-04-01 Pedro Alves <palves@redhat.com>
13141 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13142 to fail instead of non-existent $test.
13144 2015-04-01 Pedro Alves <palves@redhat.com>
13146 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13147 GDBFLAGS if not empty.
13149 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13151 * gdb.ada/complete.exp: Remove "multi_line".
13152 * gdb.ada/info_exc.exp: Remove "multi_line".
13153 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13154 * gdb.ada/ptype_field.exp: Remove "multi_line".
13155 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13156 * gdb.ada/tagged.exp: Remove "multi_line".
13157 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13159 * gdb.btrace/delta.exp: Likewise.
13160 * gdb.btrace/exception.exp: Likewise.
13161 * gdb.btrace/function_call_history.exp: Likewise.
13162 * gdb.btrace/instruction_history.exp: Likewise.
13163 * gdb.btrace/nohist.exp: Likewise.
13164 * gdb.btrace/record_goto.exp: Likewise.
13165 * gdb.btrace/segv.exp: Likewise.
13166 * gdb.btrace/stepi.exp: Likewise.
13167 * gdb.btrace/tailcall.exp: Likewise.
13168 * gdb.btrace/unknown_functions.exp: Likewise.
13169 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13170 * lib/gdb.exp: Add the "multi_line" helper.
13172 2015-04-01 Pedro Alves <palves@redhat.com>
13174 * gdb.threads/tid-reuse.c: New file.
13175 * gdb.threads/tid-reuse.exp: New file.
13177 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13180 * gdb.base/coredump-filter.c: New file.
13181 * gdb.base/coredump-filter.exp: Likewise.
13183 2015-03-27 Petr Machata <pmachata@redhat.com>
13185 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13186 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13187 (Dwarf::assemble): Initialize them.
13188 (Dwarf::lines): New function.
13190 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13192 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13193 SYMBOL_PREFIX for x86_64-*-cygwin.
13195 2015-03-26 Andy Wingo <wingo@igalia.com>
13198 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13199 const_value but not a location.
13200 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13201 location defined in non-main CUs are visible.
13203 2015-03-26 Yao Qi <yao.qi@linaro.org>
13206 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13207 Add a line number entry for the same line.
13208 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13209 Add a line number entry for the same line.
13211 2015-03-26 Yao Qi <yao.qi@linaro.org>
13213 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13215 (func): Likewise. Add .Lfunc_1 label.
13216 Use .Lfunc_1 label.
13217 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13220 Use .Lfunc_1 label.
13222 2015-03-26 Yao Qi <yao.qi@linaro.org>
13224 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13225 Call gdb_compile instead to compile each .s files without debug
13228 2015-03-26 Yao Qi <yao.qi@linaro.org>
13230 * gdb.base/savedregs.exp (process_saved_regs): Make
13231 "Saved registers:" optional in the pattern.
13233 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13235 * gdb.btrace/next.exp: Merged into step.exp.
13236 * gdb.btrace/finish.exp: Merged into step.exp.
13237 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13238 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13239 "record goto" and checking the exact replay position.
13240 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13241 check for "Recording format" in "info record" output.
13242 * gdb.btrace/record_goto.exp: Choose test file based on target.
13243 * gdb.btrace/x86-record_goto.S: Renamed into ...
13244 * gdb.btrace/x86_64-record_goto.S: ... this.
13245 * gdb.btrace/i686-record_goto.S: New.
13246 * gdb.btrace/x86-tailcall.S: Renamed into ...
13247 * gdb.btrace/x86_64-tailcall.S: ... this.
13248 * gdb.btrace/i686-tailcall.S: New.
13249 * gdb.btrace/x86-tailcall.c: Renamed into ...
13250 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13251 separate statements. Update test.
13252 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13253 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13254 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13255 * gdb.btrace/tailcall.exp: Choose test file based on target.
13256 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13258 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13260 * gdb.btrace/exception.exp: Increase BTS buffer size.
13262 2015-03-24 Pedro Alves <palves@redhat.com>
13264 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13266 2015-03-24 Pedro Alves <palves@redhat.com>
13268 * gdb.threads/schedlock.exp (test_step): No longer expect that
13269 "set scheduler-locking step" with "next" over a function call runs
13272 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13274 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13276 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13278 PR breakpoints/16466
13279 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13280 * gdb.mi/mi-pending.c (thread_func): New function.
13281 (int main): Add threading support required.
13282 * gdb.mi/mi-pending.exp: Add tests for this issue.
13283 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13284 (pendfunc2): Remove stdio dependency.
13285 * gdb.mi/mi-pendshr2.c: New file.
13287 2015-03-23 Keith Seitz <keiths@redhat.com>
13289 * gdb.linespec/keywords.c: New file.
13290 * gdb.linespec/keywords.exp: New file.
13292 2015-03-23 Keith Seitz <keiths@redhat.com>
13295 * gdb.dwarf2/staticvirtual.exp: New test.
13297 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13299 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13300 * README: Remove HP-UX and gdb.hp.
13302 * configure: Regenerate.
13303 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13304 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13305 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13306 gdb.hp/gdb.defects/Makefile.
13307 * gdb.hp/Makefile.in: File deleted.
13308 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13309 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13310 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13311 * gdb.hp/gdb.aCC/run.c: File deleted.
13312 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13313 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13314 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13315 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13316 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13317 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13318 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13319 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13320 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13321 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13322 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13323 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13324 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13325 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13326 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13327 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13328 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13329 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13330 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13331 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13332 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13333 * gdb.hp/gdb.compat/average.c: File deleted.
13334 * gdb.hp/gdb.compat/sum.c: File deleted.
13335 * gdb.hp/gdb.compat/xdb.c: File deleted.
13336 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13337 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13338 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13339 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13340 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13341 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13342 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13343 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13344 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13345 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13346 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13347 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13348 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13349 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13350 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13351 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13352 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13353 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13354 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13355 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13356 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13357 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13358 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13359 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13360 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13361 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13362 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13363 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13364 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13365 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13366 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13367 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13368 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13369 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13370 * gdb.hp/tools/odump: File deleted.
13372 2015-03-19 Pedro Alves <palves@redhat.com>
13374 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13375 (saw_thread_3): New globals.
13376 (top level): Increment them when an event for the corresponding
13378 (no thread starvation): New test.
13380 2015-03-19 Pedro Alves <palves@redhat.com>
13382 * gdb.threads/continue-pending-status.c: New file.
13383 * gdb.threads/continue-pending-status.exp: New file.
13385 2015-03-18 Pedro Alves <palves@redhat.com>
13387 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13388 Use gdb_is_target_remote instead of is_remote. Use
13389 gdb_test_multiple instead of gdb_expect. Exit early if
13390 gdb_test_multiple hits its internal matches. Tighten stepi tests
13391 expected output. Fail on exit with any signal, instead of just
13394 2015-03-18 Yao Qi <yao.qi@linaro.org>
13397 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13399 * gdb.base/catch-syscall.exp: Don't skip it on
13400 aarch64*-*-linux* target. Remove elements in all_syscalls.
13401 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13403 (setup_all_syscalls): New proc.
13405 2015-03-16 Yao Qi <yao.qi@linaro.org>
13407 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13408 (top level): Skip tests if valid_addr_p returns false for
13411 2015-03-11 Andy Wingo <wingo@igalia.com>
13413 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13415 2015-03-11 Yao Qi <yao.qi@linaro.org>
13417 * gdb.base/catch-syscall.exp: Fix typo in comments.
13419 2015-03-11 Yao Qi <yao.qi@linaro.org>
13421 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13423 2015-03-09 Pedro Alves <palves@redhat.com>
13425 * dg-extract-results.py: Delete.
13427 2015-03-09 Pedro Alves <palves@redhat.com>
13429 Merge dg-extract-results.sh from GCC upstream (r218843).
13431 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13432 * dg-extract-results.sh: Use --text with grep to avoid issues with
13433 binary files. Fall back to cat -v, if that doesn't work.
13435 2015-03-05 Pedro Alves <palves@redhat.com>
13437 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13439 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13441 * lib/mi-support.exp (mi_expect_interrupt): Accept
13442 alternative event for when in all-stop mode.
13444 2015-03-04 Pedro Alves <palves@redhat.com>
13446 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13448 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13450 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13452 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13454 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13455 regexps for GDB's current line display, accept a hex address
13456 preceding the line number.
13458 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13460 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13461 the 'arch1' variable for "s390*-linux*" targets.
13463 2015-03-04 Pedro Alves <palves@redhat.com>
13465 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13466 (main): Pass missing retval argument to pthread_join call.
13468 2015-03-02 Pedro Alves <palves@redhat.com>
13470 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13471 (top level): Call do_test with non-stop as well.
13473 2015-03-02 Pedro Alves <palves@redhat.com>
13475 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13478 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13480 * gdb.arch/s390-vregs.exp: New test.
13481 * gdb.arch/s390-vregs.S: New file.
13483 2015-02-27 Pedro Alves <palves@redhat.com>
13485 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13486 call to catch_command_errors.
13487 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13488 catch_command_errors.
13490 2015-02-27 Pedro Alves <palves@redhat.com>
13492 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13493 "true" for boolean result.
13494 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13497 2015-02-27 Pedro Alves <palves@redhat.com>
13499 * lib/unbuffer_output.c: New file.
13500 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13501 (main): Call gdb_unbuffer_output.
13503 2015-02-27 Yao Qi <yao.qi@linaro.org>
13505 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13508 2015-02-26 Doug Evans <dje@google.com>
13510 * gdb.cp/class2.cc (Dbase, D): New classes.
13511 (main): New local delta.
13512 * gdb.cp/class2.exp: Test printing delta.
13513 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13514 (dynbar): New global.
13515 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13517 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13519 * gdb.compile/compile-ifunc.c: New file.
13520 * gdb.compile/compile-ifunc.exp: New file.
13522 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13524 * gdb.base/structs.exp: Check for correct struct on finish.
13526 2015-02-26 Yao Qi <yao.qi@linaro.org>
13528 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13531 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13533 * gdb.arch/cordic.ko.bz2: New file.
13534 * gdb.arch/cordic.ko.debug.bz2: New file.
13535 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13537 2015-02-25 Yao Qi <yao.qi@linaro.org>
13539 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13540 aarch64*-*-* target.
13542 2015-02-23 Pedro Alves <palves@redhat.com>
13544 * lib/gdb.exp (delete_breakpoints): Rewrite using
13547 2015-02-23 Pedro Alves <palves@redhat.com>
13549 * gdb.base/info-os.c: Include stdlib.h.
13551 2015-02-22 Doug Evans <xdje42@gmail.com>
13554 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13555 is read after symbols have been re-read.
13556 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13557 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13559 2015-02-21 Doug Evans <dje@google.com>
13561 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13563 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13566 * gdb.arch/i386-biarch-core.core.bz2: New file.
13567 * gdb.arch/i386-biarch-core.exp: New file.
13569 2015-02-21 Pedro Alves <palves@redhat.com>
13571 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13574 2015-02-20 Pedro Alves <palves@redhat.com>
13576 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13579 2015-02-20 Pedro Alves <palves@redhat.com>
13581 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13583 2015-02-20 Pedro Alves <palves@redhat.com>
13585 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13586 clean_restart before gdb_target_supports_trace.
13588 2015-02-20 Pedro Alves <palves@redhat.com>
13591 * gdb.threads/clone-thread_db.c: New file.
13592 * gdb.threads/clone-thread_db.exp: New file.
13594 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13596 PR breakpoints/16812
13597 * gdb.base/catch-gdb-caused-signals.c: New file.
13598 * gdb.base/catch-gdb-caused-signals.exp: New file.
13600 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13602 * configure: Regenerated.
13603 * configure.ac: Use GDB_AC_TRANSFORM.
13604 * aclocal.m4: sinclude ../transform.m4.
13606 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13608 * lib/dtrace.exp: New file.
13609 * gdb.base/dtrace-probe.exp: Likewise.
13610 * gdb.base/dtrace-probe.d: Likewise.
13611 * gdb.base/dtrace-probe.c: Likewise.
13612 * lib/pdtrace.in: Likewise.
13613 * configure.ac: Output variables with the transformed names of
13614 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13615 * configure: Regenerated.
13617 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13619 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13620 expected message when trying to access $_probe_* convenience
13621 variables while not on a probe.
13623 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13625 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13627 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13629 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13630 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13632 2015-02-10 Doug Evans <xdje42@gmail.com>
13634 * lib/gdb.exp (gdb_load): Always return a result.
13636 2015-02-10 Pedro Alves <palves@redhat.com>
13638 * gdb.threads/signal-sigtrap.c: New file.
13639 * gdb.threads/signal-sigtrap.exp: New file.
13641 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13643 * gdb.trace/no-attach-trace.c: New file.
13644 * gdb.trace/no-attach-trace.exp: New file.
13646 2015-02-09 Mark Wielaard <mjw@redhat.com>
13648 * gdb.dwarf2/atomic.c: New file.
13649 * gdb.dwarf2/atomic-type.exp: Likewise.
13651 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13653 * gdb.btrace/buffer-size.exp: Update "info record" output.
13654 * gdb.btrace/delta.exp: Update "info record" output.
13655 * gdb.btrace/enable.exp: Update "info record" output.
13656 * gdb.btrace/finish.exp: Update "info record" output.
13657 * gdb.btrace/instruction_history.exp: Update "info record" output.
13658 * gdb.btrace/next.exp: Update "info record" output.
13659 * gdb.btrace/nexti.exp: Update "info record" output.
13660 * gdb.btrace/step.exp: Update "info record" output.
13661 * gdb.btrace/stepi.exp: Update "info record" output.
13662 * gdb.btrace/nohist.exp: Update "info record" output.
13664 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13666 * gdb.btrace/buffer-size: New.
13668 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13670 * gdb.btrace/delta.exp: Update "info record" output.
13671 * gdb.btrace/enable.exp: Update "info record" output.
13672 * gdb.btrace/finish.exp: Update "info record" output.
13673 * gdb.btrace/instruction_history.exp: Update "info record" output.
13674 * gdb.btrace/next.exp: Update "info record" output.
13675 * gdb.btrace/nexti.exp: Update "info record" output.
13676 * gdb.btrace/step.exp: Update "info record" output.
13677 * gdb.btrace/stepi.exp: Update "info record" output.
13678 * gdb.btrace/nohist.exp: Update "info record" output.
13680 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13683 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13685 2015-02-06 Pedro Alves <palves@redhat.com>
13687 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13689 (seconds_left, again): New globals.
13690 (main): Wait seconds_left in a 1-second sleep loop instead of
13691 sleeping 180 seconds. If 'again' is set, reset the seconds
13693 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13694 'again' in the inferior before detaching. Print the seconds left.
13695 (options): New global.
13696 (top level): Build program with -DTIMEOUT=$timeout.
13698 2015-02-06 Pedro Alves <palves@redhat.com>
13700 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13701 determine how many seconds to pass to 'alarm'.
13702 * gdb.base/gdb-sigterm.exp (top level): Build program with
13703 -DTIMEOUT=$timeout.
13704 (do_test): Return success/failure indication. Add more verbose
13705 logging. Don't fail if 200 single steps are seen. Instead, fail
13706 when the test times out.
13707 (passes): New global.
13708 (top level): Break the testing loop if testing fails on any
13709 iteration. Use gdb_assert.
13711 2015-02-04 Don Breazeal <donb@codesourcery.com>
13713 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13714 and initialize them.
13715 (ipc_cleanup): New function.
13716 (main): Don't declare shmid, semid, and msqid. Add a call to
13717 atexit so that we call ipc_cleanup on exit.
13719 2015-02-04 Pedro Alves <palves@redhat.com>
13721 * boards/native-extended-gdbserver.exp: Remove any target variant
13722 specifications from the board name before clearing the isremote
13723 flag from board_info.
13725 2015-01-31 Doug Evans <xdje42@gmail.com>
13727 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13729 2015-01-31 Gary Benson <gbenson@redhat.com>
13731 * gdb.base/completion.exp: Disable completion limiting for
13732 existing tests. Add new tests to check completion limiting.
13733 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13735 2015-01-31 Doug Evans <xdje42@gmail.com>
13737 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13739 2015-01-31 Doug Evans <xdje42@gmail.com>
13741 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13742 entries. Duplicate file section script entries.
13743 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13744 inlined entries. Add test for safe-path rejection.
13745 * gdb.python/py-section-script.c: Add duplicate inlined section script
13746 entries. Duplicate file section script entries.
13747 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13748 inlined entries. Add test for safe-path rejection.
13750 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13752 * gdb.ada/disc_arr_bound: New testcase.
13754 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13756 * gdb.ada/mi_var_array: New testcase.
13758 2015-01-27 Doug Evans <dje@google.com>
13760 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13761 Add test for objfile.filename, objfile.username after objfile
13764 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13766 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13767 the second test to print the name attribute of value
13768 returned by the call to gdb.lookup_type, and adjust
13769 the expected output accordingly.
13771 2015-01-25 Mark Wielaard <mjw@redhat.com>
13773 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13774 * gdb.base/disp-step-fork.c: Include unistd.h.
13775 * gdb.base/siginfo-obj.c: Include stdio.h.
13776 * gdb.base/siginfo-thread.c: Likewise.
13777 * gdb.mi/non-stop.c: Include unistd.h.
13778 * gdb.mi/nsthrexec.c: Include stdio.h.
13779 * gdb.mi/pthreads.c: Include unistd.h.
13780 * gdb.modula2/unbounded1.c (main): Declare returns int.
13781 * gdb.reverse/consecutive-reverse.c: Likewise.
13782 * gdb.threads/create-fail.c: Include unistd.h.
13783 * gdb.threads/killed.c: Likewise.
13784 * gdb.threads/linux-dp.c: Likewise.
13785 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13786 * gdb.threads/non-ldr-exc-2.c: Likewise.
13787 * gdb.threads/non-ldr-exc-3.c: Likewise.
13788 * gdb.threads/non-ldr-exc-4.c: Likewise.
13789 * gdb.threads/pthreads.c: Include unistd.h.
13790 (main): Declare returns int.
13791 * gdb.threads/tls-main.c (foo): New declaration.
13792 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13794 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13796 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13797 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13799 2015-01-15 Mark Wielaard <mjw@redhat.com>
13801 * gdb.base/noreturn-return.c: New file.
13802 * gdb.base/noreturn-return.exp: New file.
13803 * gdb.base/noreturn-finish.c: New file.
13804 * gdb.base/noreturn-finish.exp: New file.
13806 2015-01-23 Pedro Alves <palves@redhat.com>
13808 * gdb.threads/continue-pending-after-query.c: New file.
13809 * gdb.threads/continue-pending-after-query.exp: New file.
13811 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13812 Simon Marchi <simon.marchi@ericsson.com>
13814 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13815 * gdb.base/valgrind-db-attach.exp: Same.
13816 * gdb.base/valgrind-infcall.exp: Same.
13817 * lib/mi-support.exp (default_mi_gdb_start): Same.
13818 * lib/prompt.exp (default_prompt_gdb_start): Same.
13819 * lib/gdb.exp (default_gdb_spawn): Same.
13820 (gdb_interact): New.
13823 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13825 * gdb.compile/compile.exp (pointer to jit function): New test.
13827 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13829 * lib/gdb.exp (supports_process_record): Return true for
13831 (supports_reverse): Likewise.
13833 2015-01-15 Don Breazeal <donb@codesourcery.com>
13835 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13836 instead of checking whether the target board is remote and
13837 use spawn_wait_for_attach instead of exec/sleep.
13838 * gdb.base/attach-twice.exp: Likewise.
13840 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13842 * gdb.ada/var_arr_attrs: New testcase.
13844 2015-01-14 Pedro Alves <palves@redhat.com>
13845 Joel Brobecker <brobecker@adacore.com>
13848 * gdb.base/bp-cmds-execution-x-script.c: New file.
13849 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13850 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13852 2015-01-14 Pedro Alves <palves@redhat.com>
13855 * gdb.base/batch-preserve-term-settings.c: New file.
13856 * gdb.base/batch-preserve-term-settings.exp: New file.
13858 2015-01-13 Doug Evans <dje@google.com>
13860 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13863 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13865 * Makefile.in (clean mostlyclean): Do not delete *.py.
13867 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13869 * gdb.python/py-lookup-type.exp: New file.
13871 2015-01-12 Pedro Alves <palves@redhat.com>
13873 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13874 restore GDBFLAGS before returning.
13876 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13878 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13879 is_amd64_regs_target and is_x86_like_target.
13881 2015-01-11 Doug Evans <xdje42@gmail.com>
13883 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13884 is given without an explicit form.
13885 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13887 * gdb.dwarf/corrupt.exp: Ditto.
13888 * gdb.dwarf2/enum-type.exp: Ditto.
13889 * gdb.trace/entry-values.exp: Ditto.
13890 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13892 2015-01-11 Doug Evans <xdje42@gmail.com>
13895 * gdb.base/maint.exp: Remove references to "maint demangle".
13896 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13897 Add tests for explicitly specifying language to demangle.
13898 * gdb.dlang/demangle.exp: Ditto.
13900 2015-01-09 Pedro Alves <palves@redhat.com>
13902 * gdb.threads/non-stop-fair-events.c: New file.
13903 * gdb.threads/non-stop-fair-events.exp: New file.
13905 2015-01-09 Pedro Alves <palves@redhat.com>
13907 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13908 the global scope. Set a breakpoint after all threads are started
13909 rather than stepping over two source lines. Expect the prompt.
13910 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13913 (main): Use threads_started_barrier to wait for all threads to
13914 start. Main thread no longer calls thread_function. Exit after
13916 (loop): New function.
13917 (thread_function): Wait on threads_started_barrier barrier. Call
13918 'loop' at each iteration.
13919 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13920 threads have started, instead of hardcoding number of "next"
13921 steps. Use an access watchpoint instead of a write watchpoint.
13923 2015-01-09 Pedro Alves <palves@redhat.com>
13925 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13926 (thread_func): Wait on barrier.
13927 (main): Wait for all threads to start before stopping GDB.
13928 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13930 (thread1_func, thread2_func): Wait on barrier.
13931 (main): Wait for all threads to start before stopping GDB.
13932 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13934 (thread1_func, thread2_func): Wait on barrier.
13935 (main): Wait for all threads to start before stopping GDB.
13937 2015-01-09 Pedro Alves <palves@redhat.com>
13939 * gdb.threads/attach-many-short-lived-threads.c: New file.
13940 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13942 2014-01-09 Pedro Alves <palves@redhat.com>
13944 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13945 instead of to thread 2.
13946 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13947 Add barrier around each pthread_create call instead of around all
13949 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13950 Set a break on thread_function and have the child threads hit it
13953 2015-01-09 Pedro Alves <palves@redhat.com>
13955 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13956 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13958 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13959 checking whether the target board is remote.
13960 * gdb.multi/multi-attach.exp: Likewise.
13961 * gdb.python/py-sync-interp.exp: Likewise.
13962 * gdb.server/ext-attach.exp: Likewise.
13963 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13964 tests that need to attach, instead of checking whether the target
13965 board is remote at the top of the file.
13967 2015-01-08 Yao Qi <yao@codesourcery.com>
13969 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13971 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13973 Fix testcase compilation.
13974 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13976 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13978 * gdb.python/py-type.exp: Add a couple test about empty
13979 array creation, and negative-length array creation.
13981 2015-01-02 Doug Evans <xdje42@gmail.com>
13983 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13985 2015-01-02 Doug Evans <dje@google.com>
13987 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13989 2014-12-29 Yao Qi <yao@codesourcery.com>
13991 * gdb.trace/entry-values.exp: Update comments. Rename variable
13992 bar_call_foo to returned_from_foo.
13994 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13997 * gdb.linespec/break-asm-file.c: New file.
13998 * gdb.linespec/break-asm-file.exp: New file.
13999 * gdb.linespec/break-asm-file0.s: New file.
14000 * gdb.linespec/break-asm-file1.s: New file.
14002 2014-12-18 Nigel Stephens <nigel@mips.com>
14003 Maciej W. Rozycki <macro@codesourcery.com>
14005 * gdb.base/float.exp: Handle the new output from "info float" on
14008 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14010 Fix MinGW compilation.
14011 * gdb.compile/compile-ops.exp: Update untested message if
14012 !skip_compile_feature_tests.
14013 * gdb.compile/compile-setjmp.exp: Likewise.
14014 * gdb.compile/compile-tls.exp: Likewise.
14015 * gdb.compile/compile.exp: Likewise.
14016 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14017 supported on this host".
14019 2014-12-16 Doug Evans <xdje42@gmail.com>
14021 * boards/stabs.exp: New file.
14023 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14025 * gdb.base/completion.exp: Adjust to format changes of "maint
14026 print user-registers".
14028 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14031 * gdb.arch/aarch64-fp.c: New file.
14032 * gdb.arch/aarch64-fp.exp: New file.
14034 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14036 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14037 r210637, r210913, r211666, r215400, r215817).
14039 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14040 * dg-extract-results.py: New file.
14041 * dg-extract-results.sh: Use it if the environment seems
14044 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14046 * dg-extract-results.py (parse_run): Handle warnings that
14047 are printed before a test harness is run.
14049 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14051 * dg-extract-results.py (Named): Remove __cmp__ method.
14052 (output_variation): Use a key to sort variation.harnesses.
14054 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14056 * dg-extract-results.py: For Python 3, force sys.stdout to
14057 handle surrogate escape sequences.
14058 (safe_open): New function.
14059 (output_segment, main): Use it.
14061 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14063 * dg-extract-results.py (Prog.result_re): Include options
14066 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14068 * dg-extract-results.py (output_variation): Always sort if
14071 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14073 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14074 as long as we get pagination notifications.
14076 2014-12-15 Jason Merrill <jason@redhat.com>
14078 * Makefile.in (check-gdb.%): Restore.
14079 * README: Mention it.
14081 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14083 * gdb.ada/str_uninit: New testcase.
14085 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14088 * gdb.base/vla-stub-define.c: New file.
14089 * gdb.base/vla-stub.c: New file.
14090 * gdb.base/vla-stub.exp: New file.
14092 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14093 Jan Kratochvil <jan.kratochvil@redhat.com>
14094 Tom Tromey <tromey@redhat.com>
14096 * configure.ac: Add gdb.compile/.
14097 * configure: Regenerate.
14098 * gdb.compile/Makefile.in: New file.
14099 * gdb.compile/compile-ops.exp: New file.
14100 * gdb.compile/compile-ops.c: New file.
14101 * gdb.compile/compile-tls.c: New file.
14102 * gdb.compile/compile-tls.exp: New file.
14103 * gdb.compile/compile-constvar.S: New file.
14104 * gdb.compile/compile-constvar.c: New file.
14105 * gdb.compile/compile-mod.c: New file.
14106 * gdb.compile/compile-nodebug.c: New file.
14107 * gdb.compile/compile-setjmp-mod.c: New file.
14108 * gdb.compile/compile-setjmp.c: New file.
14109 * gdb.compile/compile-setjmp.exp: New file.
14110 * gdb.compile/compile-shlib.c: New file.
14111 * gdb.compile/compile.c: New file.
14112 * gdb.compile/compile.exp: New file.
14113 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14115 2014-12-12 Tom Tromey <tromey@redhat.com>
14117 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14118 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14120 2014-12-12 Doug Evans <dje@google.com>
14122 * lib/gdb-python.exp (get_python_valueof): New function.
14123 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14125 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14127 * gdb.base/completion.exp: Add test for completion of "info
14130 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14132 * gdb.base/func-ptrs.c: New file.
14133 * gdb.base/func-ptrs.exp: New file.
14135 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14137 PR breakpoints/17012
14138 * gdb.base/dprintf-detach.c: New file.
14139 * gdb.base/dprintf-detach.exp: New file.
14141 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14143 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14144 * lib/gdb.exp (target_is_gdbserver): New procedure.
14146 2014-12-08 Doug Evans <dje@google.com>
14148 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14150 2014-12-05 Yao Qi <yao@codesourcery.com>
14152 * gdb.guile/scm-error.exp: Remove the third argument to
14153 gdb_remote_download.
14154 * gdb.guile/scm-frame-args.exp: Likewise.
14155 * gdb.guile/scm-section-script.exp: Likewise.
14157 2014-12-05 Yao Qi <yao@codesourcery.com>
14159 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14161 2014-12-04 Doug Evans <dje@google.com>
14163 * gdb.python/py-objfile.exp: Add tests for
14164 objfile.add_separate_debug_file.
14166 2014-12-04 Doug Evans <dje@google.com>
14168 * lib/gdb.exp (get_build_id): New function.
14169 (build_id_debug_filename_get): Rewrite to use it.
14170 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14172 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14174 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14175 `method(long)', not just 0x0.
14176 * gdb.cp/nsalias.exp: Align code labels to 4.
14177 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14178 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14179 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14180 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14181 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14182 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14184 2014-12-02 Doug Evans <dje@google.com>
14187 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14188 * gdb.cp/anon-ns2.cc: ... here. New file.
14189 * gdb.cp/anon-ns.exp: Update.
14191 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14193 * gdb.python/py-events.py (inferior_call_handler): New.
14194 (register_changed_handler, memory_changed_handler): New.
14195 (test_events.invoke): Register new handlers.
14196 * gdb.python/py-events.exp: Add tests for inferior call,
14197 memory_changed and register_changed events.
14199 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14201 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14202 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14203 if the linker doesn't understand this.
14205 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14207 * gdb.python/python.exp: Change expected reply to help().
14209 2014-12-01 Yao Qi <yao@codesourcery.com>
14211 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14212 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14213 * configure: Re-generated.
14215 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14217 * gdb.cp/chained-calls.cc: New file.
14218 * gdb.cp/chained-calls.exp: New file.
14219 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14221 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14223 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14224 * gdb.dwarf2/symtab-producer.exp: Same.
14225 * gdb.gdb/python-interrupts.exp: Same.
14226 * gdb.gdb/python-selftest.exp: Same.
14227 * gdb.python/py-linetable.exp: Same.
14228 * gdb.python/py-type.exp: Same.
14229 * gdb.python/py-value-cc.exp: Same.
14230 * gdb.python/py-value.exp: Same.
14232 2014-11-28 Yao Qi <yao@codesourcery.com>
14234 * gdb.base/break-probes.exp: Match library name prefixed with
14237 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14239 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14240 test expected output. Add parentheses for the call to print.
14241 Remove L suffix from integers.
14243 2014-11-26 Doug Evans <dje@google.com>
14245 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14247 2014-11-22 Yao Qi <yao@codesourcery.com>
14249 * gdb.trace/entry-values.c: Remove asms.
14250 (foo): Add foo_label.
14251 (bar): Add bar_label.
14252 * gdb.trace/entry-values.exp: Remove code computing foo's
14253 length and bar's length.
14254 (Dwarf::assemble): Invoke function_range for bar and use
14255 MACRO_AT_func for foo.
14257 2014-11-22 Yao Qi <yao@codesourcery.com>
14259 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14260 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14261 Use .Lgcc43_procstart instead of gcc43.
14263 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14265 * gdb.ada/n_arr_bound: New testcase.
14267 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14269 PR breakpoints/10737
14270 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14271 test_catch_syscall_multi_arch.
14272 (test_catch_syscall_multi_arch): New function.
14274 2014-11-20 Doug Evans <xdje42@gmail.com>
14276 * gdb.base/maint.exp: Update expected output.
14278 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14280 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14281 4-byte instruction on S390.
14283 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14285 * gdb.ada/arr_arr: New testcase.
14287 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14289 * gdb.ada/pkd_arr_elem: New Testcase.
14291 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14293 * gdb.reverse/break-precsave: Expect completion message for
14295 * gdb.reverse/consecutive-precsave.exp: Likewise.
14296 * gdb.reverse/finish-precsave.exp: Likewise.
14297 * gdb.reverse/i386-precsave.exp: Likewise.
14298 * gdb.reverse/machinestate-precsave.exp: Likewise.
14299 * gdb.reverse/sigall-precsave.exp: Likewise.
14300 * gdb.reverse/solib-precsave.exp: Likewise.
14301 * gdb.reverse/step-precsave.exp: Likewise.
14302 * gdb.reverse/until-precsave.exp: Likewise.
14303 * gdb.reverse/watch-precsave.exp: Likewise.
14305 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14307 * gdb.base/bp-permanent.c: Include unistd.h.
14308 * gdb.python/py-framefilter-mi.c (main): Add return type.
14309 * gdb.python/py-framefilter.c (main): Likewise.
14310 * gdb.trace/actions-changed.c (main): Likewise.
14312 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14314 * gdb.mi/until.c: Add eye-catchers.
14315 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14318 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14320 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14321 function header variants in break1.c.
14322 * gdb.base/ena-dis-br.exp: Likewise.
14323 * gdb.base/hbreak2.exp: Likewise.
14324 * gdb.reverse/until-precsave.exp: Drop references to removed
14325 non-prototype function header variants in ur1.c.
14326 * gdb.reverse/until-reverse.exp: Likewise.
14328 2014-11-17 Petr Machata <pmachata@redhat.com>
14330 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14331 ${_cu_offset_size} bytes abbrev offset.
14333 2014-11-15 Doug Evans <xdje42@gmail.com>
14336 * gdb.base/line-symtabs.exp: New file.
14337 * gdb.base/line-symtabs.c: New file.
14338 * gdb.base/line-symtabs.h: New file.
14340 2014-11-14 Yao Qi <yao@codesourcery.com>
14342 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14343 (func): Add label func_label.
14344 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14345 Replace low_pc and high_pc with MACRO_AT_range.
14346 Replace name, low_pc and high_pc with MACRO_AT_func.
14348 2014-11-14 Yao Qi <yao@codesourcery.com>
14350 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14351 Replace name, low_pc and high_pc with MACRO_AT_func.
14353 2014-11-14 Yao Qi <yao@codesourcery.com>
14355 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14356 produce debug information.
14357 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14359 2014-11-14 Yao Qi <yao@codesourcery.com>
14361 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14362 object and get function length.
14363 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14364 with MACRO_AT_func.
14365 (top-level): Replace gdb_compile and clean_restart with
14366 prepare_for_testing.
14367 * gdb.dwarf2/main.c (main): Add label main_label.
14369 2014-11-14 Yao Qi <yao@codesourcery.com>
14371 * lib/dwarf.exp (function_range): New procedure.
14372 (Dwarf::_handle_macro_at_func): New procedure.
14373 (Dwarf::_handle_macro_at_range): New procedure.
14374 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14376 2014-11-14 Yao Qi <yao@codesourcery.com>
14378 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14379 (_handle_attribute): New procedure.
14381 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14383 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14384 * gdb.base/call-sc.c (zed): Likewise.
14385 * gdb.base/checkpoint.c (main): Likewise.
14386 * gdb.base/dump.c (main): Likewise.
14387 * gdb.base/gcore.c (main): Likewise.
14388 * gdb.base/huge.c (main): Likewise.
14389 * gdb.base/multi-forks.c (main): Likewise.
14390 * gdb.base/pr10179-a.c (main): Likewise.
14391 * gdb.base/savedregs.c (main): Likewise.
14392 * gdb.base/sigaltstack.c (main): Likewise.
14393 * gdb.base/siginfo.c (main): Likewise.
14394 * gdb.base/structs.c (zed): Likewise.
14395 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14396 * gdb.mi/mi-syn-frame.c (main): Likewise.
14397 * gdb.mi/until.c (foo, main): Likewise.
14398 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14399 * gdb.base/solib-weak.c (foo): Declare.
14400 * gdb.base/attach-twice.c: Include stdio.h.
14401 * gdb.base/weaklib1.c: Likewise.
14402 * gdb.base/weaklib2.c: Likewise.
14403 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14404 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14406 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14407 * gdb.mi/mi-exit-code.c: Likewise.
14408 * gdb.base/break-interp-lib.c: Include string.h.
14409 * gdb.base/coremaker.c: Likewise.
14410 * gdb.base/testenv.c: Likewise.
14411 * gdb.python/py-finish-breakpoint.c: Likewise.
14412 * gdb.base/inferior-died.c: Include sys/wait.h.
14413 * gdb.base/fileio.c: Include time.h.
14414 * gdb.base/async-shell.c: Include unistd.h.
14415 * gdb.base/dprintf-non-stop.c: Likewise.
14416 * gdb.base/info-os.c: Likewise.
14417 * gdb.mi/mi-console.c: Likewise.
14418 * gdb.mi/watch-nonstop.c: Likewise.
14419 * gdb.python/py-events.c: Likewise.
14420 * gdb.base/async.c (baz): Move up before its invocation.
14421 * gdb.base/code_elim2.c (my_global_func): Likewise.
14422 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14423 * gdb.base/advance.c (func2): Likewise.
14425 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14427 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14429 * gdb.base/annota3.c: Likewise.
14430 * gdb.base/async.c: Likewise.
14431 * gdb.base/average.c: Likewise.
14432 * gdb.base/call-ar-st.c: Likewise.
14433 * gdb.base/call-rt-st.c: Likewise.
14434 * gdb.base/call-sc.c: Likewise.
14435 * gdb.base/call-strs.c: Likewise.
14436 * gdb.base/ending-run.c: Likewise.
14437 * gdb.base/execd-prog.c: Likewise.
14438 * gdb.base/exprs.c: Likewise.
14439 * gdb.base/foll-exec.c: Likewise.
14440 * gdb.base/foll-fork.c: Likewise.
14441 * gdb.base/foll-vfork.c: Likewise.
14442 * gdb.base/funcargs.c: Likewise.
14443 * gdb.base/gcore.c: Likewise.
14444 * gdb.base/jump.c: Likewise.
14445 * gdb.base/langs0.c: Likewise.
14446 * gdb.base/langs1.c: Likewise.
14447 * gdb.base/langs2.c: Likewise.
14448 * gdb.base/mips_pro.c: Likewise.
14449 * gdb.base/nodebug.c: Likewise.
14450 * gdb.base/opaque0.c: Likewise.
14451 * gdb.base/opaque1.c: Likewise.
14452 * gdb.base/recurse.c: Likewise.
14453 * gdb.base/run.c: Likewise.
14454 * gdb.base/scope0.c: Likewise.
14455 * gdb.base/scope1.c: Likewise.
14456 * gdb.base/setshow.c: Likewise.
14457 * gdb.base/setvar.c: Likewise.
14458 * gdb.base/shmain.c: Likewise.
14459 * gdb.base/shr1.c: Likewise.
14460 * gdb.base/shr2.c: Likewise.
14461 * gdb.base/sigall.c: Likewise.
14462 * gdb.base/signals.c: Likewise.
14463 * gdb.base/so-indr-cl.c: Likewise.
14464 * gdb.base/solib2.c: Likewise.
14465 * gdb.base/structs.c: Likewise.
14466 * gdb.base/sum.c: Likewise.
14467 * gdb.base/vforked-prog.c: Likewise.
14468 * gdb.base/watchpoint.c: Likewise.
14469 * gdb.reverse/shr2.c: Likewise.
14470 * gdb.reverse/until-reverse.c: Likewise.
14471 * gdb.reverse/ur1.c: Likewise.
14472 * gdb.reverse/watch-reverse.c: Likewise.
14474 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14476 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14478 * gdb.base/sepdebug.exp: Drop references to removed code.
14480 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14482 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14483 variant. Preserve original line numbering.
14484 * gdb.base/list1.c: Likewise.
14486 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14488 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14490 * gdb.base/break1.c: Likewise.
14491 * gdb.base/break.exp: Drop references to removed code.
14493 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14495 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14498 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14500 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14502 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14504 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14505 logic into perform_all_tests() and invoke it with and without
14506 function header prototypes.
14507 (do_function_calls): Remove conditional XFAIL for PR 5318.
14508 (rerun_and_prepare): Remove duplicate code.
14509 (perform_all_tests): New. Main logic moved here.
14511 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14513 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14514 code guarded by #ifdef NO_PROTOTYPES.
14515 (t_double_many_args): Likewise.
14516 (DEF_FUNC_MANY_ARGS_1): Likewise.
14517 (DEF_FUNC_VALUES_1): Likewise.
14518 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14519 guarded by #ifdef PROTOTYPES.
14521 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14523 * gdb.mi/mi-console.c: Add eye-catcher.
14524 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14525 instead of literal line number.
14527 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14529 * gdb.base/shr2.c: Add eye-catcher.
14530 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14533 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14535 * gdb.base/jump.c: Add eye-catchers.
14536 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14539 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14541 * gdb.base/execd-prog.c: Add eye-catchers.
14542 * gdb.base/foll-exec.c: Likewise.
14543 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14546 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14548 * gdb.base/ending-run.c: Add eye-catchers.
14549 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14550 literal line numbers.
14552 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14554 * gdb.base/call-rt-st.c: Add eye-catchers.
14555 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14556 literal line numbers.
14558 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14560 * gdb.base/call-ar-st.c: Add eye-catchers.
14561 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14562 literal line numbers.
14564 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14566 * gdb.base/average.c: Add eye-catchers.
14567 * gdb.base/sum.c: Likewise.
14568 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14569 regexps dynamically.
14571 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14573 * gdb.base/solib1.c: Add eye-catchers.
14574 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14575 literal line numbers.
14577 2014-11-12 Pedro Alves <palves@redhat.com>
14579 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14582 2014-11-12 Pedro Alves <palves@redhat.com>
14584 * gdb.arch/i386-bp_permanent.c: New file.
14585 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14586 (srcfile): Set to i386-bp_permanent.c.
14587 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14588 that stepi does not execute the 'leave' instruction, instead of
14589 testing it does execute.
14590 * gdb.base/bp-permanent.c: New file.
14591 * gdb.base/bp-permanent.exp: New file.
14593 2014-11-10 Doug Evans <xdje42@gmail.com>
14596 * gdb.base/symtab-search-order.exp: New file.
14597 * gdb.base/symtab-search-order.c: New file.
14598 * gdb.base/symtab-search-order-1.c: New file.
14599 * gdb.base/symtab-search-order-shlib-1.c: New file.
14601 2014-11-07 Pedro Alves <palves@redhat.com>
14604 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14607 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14610 * gdb.cp/pr17494.cc: New file.
14611 * gdb.cp/pr17494.exp: New file.
14613 2014-11-02 Yao Qi <yao@codesourcery.com>
14615 * gdb.python/python.exp: Get working directory and match the
14616 output of "set extended-prompt \\w " with it.
14618 2014-10-30 Doug Evans <dje@google.com>
14620 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14622 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14625 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14627 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14628 * gdb.base/realname-expand.exp: Likewise.
14629 * gdb.linespec/macro-relative.exp: Likewise.
14631 2014-10-29 Pedro Alves <palves@redhat.com>
14634 * gdb.threads/schedlock.c (some_function): New function.
14635 (call_function): New global.
14636 (MAYBE_CALL_SOME_FUNCTION): New macro.
14637 (thread_function): Call it.
14638 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14639 and use it instead of a global counter. Adjust all callers.
14640 (get_current_thread): Use "find current thread" for test message
14641 here rather than having all callers pass down the same string.
14642 (goto_loop): New procedure, factored out from ...
14643 (my_continue): ... this.
14644 (step_ten_loops): Change parameter from test message to command to
14646 (list_count): Delete global.
14647 (check_result): New procedure, factored out from duplicate top
14649 (continue tests): Wrap in with_test_prefix.
14650 (test_step): New procedure, factored out from duplicate top level
14652 (top level): Test "step" in combination with all scheduler-locking
14653 modes. Test "next" in combination with all scheduler-locking
14654 modes, and in combination with stepping over a function call or
14656 * gdb.threads/next-bp-other-thread.c: New file.
14657 * gdb.threads/next-bp-other-thread.exp: New file.
14659 2014-10-29 Pedro Alves <palves@redhat.com>
14662 * gdb.python/python.exp: Test a multi-line command that spawns
14663 interactive Python.
14664 * gdb.base/multi-line-starts-subshell.exp: New file.
14666 2014-10-29 Yao Qi <yao@codesourcery.com>
14668 * gdb.base/fileio.exp: Make directories on host.
14670 2014-10-29 Yao Qi <yao@codesourcery.com>
14672 * gdb.base/fileio.c (test_write): Close the file.
14674 2014-10-28 Pedro Alves <palves@redhat.com>
14677 * gdb.base/sigstep.c (no_handler): New global.
14678 (main): If 'no_handler is true, set the signal handlers to
14680 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14681 with_sw_watch and no_handler parameters. Handle them.
14682 (top level) <stepping over handler when stopped at a breakpoint
14683 test>: Add a test axis for testing with a software watchpoint, and
14684 another for testing with the signal handler set to SIG_IGN.
14685 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14686 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14688 2014-10-28 Pedro Alves <palves@redhat.com>
14691 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14692 * gdb.base/sigstep.exp (other_handler_location): New global.
14693 (advance): Support stepping into the signal handler, and running
14694 commands while in the handler.
14695 (in_handler_map): New global.
14696 (top level): In the advance test, add combinations for getting
14697 into the handler with stepping commands, and for running commands
14698 in the handler. Add comment descripting the advancei tests.
14700 2014-10-28 Pedro Alves <palves@redhat.com>
14702 * gdb.base/sigstep.exp: Use build_executable instead of
14703 prepare_for_testing.
14704 (top level): Move code that starts GDB, runs to main and creates a
14706 (restart): ... this new procedure.
14707 (top level): Move backtrace from signal handler test to ...
14708 (validate_backtrace): ... this new procedure.
14709 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14710 with_test_prefix. Always restart GDB.
14711 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14712 with_test_prefix. Always restart GDB. No need to delete
14713 breakpoints after the test.
14714 (test_skip_handler): Remove prefix parameter.
14715 (skip_over_handler, breakpoint_to_handler)
14716 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14717 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14718 restart GDB. No need to delete breakpoints after the test.
14719 (top level): Use foreach to call the test procedures with
14720 different commands.
14722 2014-10-28 Pedro Alves <palves@redhat.com>
14724 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14725 instead of GNATS numbers.
14726 * gdb.base/sigbpt.exp: Likewise.
14727 * gdb.base/siginfo.exp: Likewise.
14728 * gdb.base/sigstep.exp: Likewise.
14730 2014-10-27 Pedro Alves <palves@redhat.com>
14732 * gdb.base/sigstep.c (dummy): New global.
14733 (main): Issue a couple writes to the new global.
14734 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14736 (skip_over_handler): Use test_skip_handler.
14737 (top level): Call skip_over_handler for stepi and nexti too.
14738 (breakpoint_over_handler): Use test_skip_handler.
14739 (top level): Call breakpoint_over_handler for stepi and nexti too.
14741 2014-10-27 Yao Qi <yao@codesourcery.com>
14743 * gdb.trace/tfile.c (adjust_function_address)
14744 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14745 function descriptor.
14747 2014-10-24 Don Breazeal <donb@codesourcery.com>
14749 * gdb.base/foll-fork.exp (test_follow_fork,
14750 catch_fork_child_follow): Check for updated fork messages emitted
14752 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14753 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14754 vfork_and_exec_child_follow_through_step): Check for updated vfork
14755 messages emitted from infrun.c.
14757 2014-10-24 Pedro Alves <palves@redhat.com>
14759 * gdb.base/corefile.exp: Remove references to ultrix.
14760 * gdb.base/interrupt.exp: Likewise.
14761 * gdb.base/whatis.exp: Likewise.
14762 * gdb.gdb/selftest.exp: Likewise.
14763 * gdb.threads/manythreads.exp: Likewise.
14764 * gdb.threads/print-threads.exp: Likewise.
14765 * gdb.threads/pthreads.exp:: Likewise.
14766 * gdb.threads/schedlock.exp: Likewise.
14768 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14770 * gdb.cp/non-trivial-retval.cc: Add a test case.
14771 * gdb.cp/non-trivial-retval.exp: Add a test.
14773 2014-10-20 Yao Qi <yao@codesourcery.com>
14775 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14776 * gdb.python/py-objfile-script-gdb.py: New file.
14777 * gdb.python/py-objfile-script.exp: Update reference to
14778 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14779 of remote_download. Remove the dest file.
14781 2014-10-20 Yao Qi <yao@codesourcery.com>
14783 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14784 * gdb.base/step-line.exp: Likewise.
14785 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14786 * gdb.dwarf2/dw2-basic.exp: Likewise.
14787 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14788 * gdb.dwarf2/dw2-filename.exp: Likewise.
14789 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14790 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14791 * gdb.dwarf2/dw2-producer.exp: Likewise.
14792 * gdb.dwarf2/mac-fileno.exp: Likewise.
14793 * gdb.python/py-frame-args.exp: Likewise.
14794 * gdb.python/py-framefilter.exp: Likewise.
14795 * gdb.python/py-mi.exp: Likewise.
14796 * gdb.python/py-objfile-script.exp: Likewise
14797 * gdb.python/py-pp-integral.exp: Likewise.
14798 * gdb.python/py-pp-re-notag.exp: Likewise.
14799 * gdb.python/py-prettyprint.exp: Likewise.
14800 * gdb.python/py-section-script.exp: Likewise.
14801 * gdb.python/py-typeprint.exp: Likewise.
14802 * gdb.python/py-xmethods.exp: Likewise.
14803 * gdb.stabs/weird.exp: Likewise.
14804 * gdb.xml/tdesc-regs.exp: Likewise.
14806 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14808 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14809 (out_cu): Use addr_len for the size of addresses.
14810 (out_line): Likewise. Size DW_LNE_set_address instruction
14811 according to addr_len.
14812 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14813 (FUNC): Add START_INSNS to definition.
14815 2014-10-18 Yao Qi <yao@codesourcery.com>
14817 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14818 gdb_has_argv0 return true.
14819 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14820 check [target_info exists noargs], check [gdb_has_argv0]
14822 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14823 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14826 2014-10-17 Doug Evans <dje@google.com>
14828 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14830 * gdb.python/py-events.py: Add clear_objfiles event.
14832 2014-10-17 Doug Evans <dje@google.com>
14834 * gdb.python/py-objfile.exp: Test progspace attribute.
14836 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14838 * gdb.guile/scm-breakpoint.exp: Do not assume any
14839 directory separators when matching source file paths.
14840 * gdb.python/py-breakpoint.exp: Likewise.
14841 * gdb.reverse/break-precsave.exp: Likewise.
14842 * gdb.reverse/break-reverse.exp: Likewise.
14843 * gdb.reverse/consecutive-precsave.exp: Likewise.
14844 * gdb.reverse/finish-precsave.exp: Likewise.
14845 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14846 * gdb.reverse/finish-reverse.exp: Likewise.
14847 * gdb.reverse/i386-precsave.exp: Likewise.
14848 * gdb.reverse/i387-env-reverse.exp: Likewise.
14849 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14850 * gdb.reverse/machinestate-precsave.exp: Likewise.
14851 * gdb.reverse/machinestate.exp: Likewise.
14852 * gdb.reverse/sigall-precsave.exp: Likewise.
14853 * gdb.reverse/solib-precsave.exp: Likewise.
14854 * gdb.reverse/step-precsave.exp: Likewise.
14855 * gdb.reverse/until-precsave.exp: Likewise.
14856 * gdb.reverse/watch-precsave.exp: Likewise.
14857 * gdb.reverse/watch-reverse.exp: Likewise.
14859 2014-10-17 Yao Qi <yao@codesourcery.com>
14861 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14862 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14864 2014-10-17 Pedro Alves <palves@redhat.com>
14867 * gdb.base/bg-execution-repeat.c: New file.
14868 * gdb.base/bg-execution-repeat.exp: New file.
14870 2014-10-17 Pedro Alves <palves@redhat.com>
14873 * gdb.base/continue-all-already-running.c: New file.
14874 * gdb.base/continue-all-already-running.exp: New file.
14876 2014-10-17 Pedro Alves <palves@redhat.com>
14879 * gdb.base/annota-input-while-running.c: New file.
14880 * gdb.base/annota-input-while-running.exp: New file.
14882 2014-10-17 Pedro Alves <palves@redhat.com>
14884 * gdb.base/callfuncs.exp: emove references to osf.
14885 * gdb.base/sigall.exp: Likewise.
14886 * gdb.gdb/selftest.exp: Likewise.
14887 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14888 * gdb.mi/non-stop.c: Likewise.
14889 * gdb.mi/pthreads.c: Likewise.
14890 * gdb.reverse/sigall-precsave.exp: Likewise.
14891 * gdb.reverse/sigall-reverse.exp: Likewise.
14892 * gdb.threads/pthreads.c: Likewise.
14893 * gdb.threads/pthreads.exp: Likewise.
14895 2014-10-17 Yao Qi <yao@codesourcery.com>
14897 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14898 check 'target_info exists noargs'.
14899 (test_command_prompt_position): Likewise.
14900 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14902 (progvar_simple_while_test): Likewise.
14903 (progvar_complex_if_while_test): Likewise.
14904 (if_while_breakpoint_command_test): Likewise.
14905 (infrun_breakpoint_command_test): Likewise.
14906 (breakpoint_command_test): Likewise.
14907 (watchpoint_command_test): Likewise.
14908 (bp_deleted_in_command_test): Likewise.
14909 (temporary_breakpoint_commands): Likewise.
14911 2014-10-16 Yao Qi <yao@codesourcery.com>
14913 * gdb.base/remotetimeout.exp: Remove noargs checking.
14915 2014-10-15 Pedro Alves <palves@redhat.com>
14917 PR breakpoints/9649
14918 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14919 * gdb.base/breakpoint-in-ro-region.exp
14920 (probe_target_hardware_step): New procedure.
14921 (top level): Probe hardware stepping and hardware breakpoint
14922 support. Test stepping through a read-only region, with both
14923 "breakpoint auto-hw" on and off and both "always-inserted" on and
14926 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14928 * gdb.dlang/demangle.exp: Update for demangling changes.
14930 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14932 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14933 * gdb.cp/non-trivial-retval.exp: Add new tests.
14935 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14939 * gdb.cp/non-trivial-retval.cc: New file.
14940 * gdb.cp/non-trivial-retval.exp: New file.
14942 2014-10-15 Yao Qi <yao@codesourcery.com>
14944 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14947 2014-10-15 Yao Qi <yao@codesourcery.com>
14949 * gdb.python/py-symbol.exp: Match file base name if host is
14950 remote, otherwise match file name with dir name.
14951 * gdb.python/py-symtab.exp: Likewise.
14952 * gdb.python/python.exp: Likewise.
14954 2014-10-15 Yao Qi <yao@codesourcery.com>
14956 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14958 * gdb.python/py-symtab.exp: Likewise.
14959 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14962 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14964 * gdb.ada/addr_arith: New testcase.
14966 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14968 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14969 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14970 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14971 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14973 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14975 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14976 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14977 * gdb.arch/stap-eval-lang-ada.exp: New file.
14979 2014-10-14 Yao Qi <yao@codesourcery.com>
14981 * gdb.mi/mi-var-child.c (nothing1): New function.
14982 (nothing2): New function.
14983 (do_children_tests): Set function pointers by nothing1 and
14985 * gdb.mi/mi-var-child.exp: Step over new added statements.
14986 Update test to match the new output.
14987 * gdb.mi/var-cmd.c (nothing1): New function.
14988 (nothing2): New function.
14989 (do_children_tests): Set function pointers by nothing1 and
14991 * gdb.mi/mi-var-display.exp: Update test to match output.
14992 Step to the line specified by $line_dct_nothing.
14993 Increase the number of lines to step.
14995 2014-10-14 Yao Qi <yao@codesourcery.com>
14997 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14999 * gdb.mi/mi2-var-child.exp: Likewise.
15001 2014-10-13 Doug Evans <dje@google.com>
15003 * gdb.python/py-objfile.exp: Change name of file name test.
15005 2014-10-13 Doug Evans <dje@google.com>
15007 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15008 from the start of the CU.
15010 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15011 Yao Qi <yao@codesourcery.com>
15013 Fix "save breakpoints" for "catch" command.
15014 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15015 Remove -nonewline. Match also the added "main" line.
15017 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15019 Fix "save breakpoints" for "disable $bpnum" command.
15020 * gdb.base/save-bp.c (main): Add label.
15021 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15023 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15025 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15027 2014-10-11 Yao Qi <yao@codesourcery.com>
15029 * gdb.server/server-kill.exp: Execute command
15030 "set remote trace-status-packet on" before "tstatus".
15032 2014-10-11 Yao Qi <yao@codesourcery.com>
15034 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15035 (main): Call getppid.
15036 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15037 and continue to it. Read variable "server_pid".
15039 2014-10-11 Yao Qi <yao@codesourcery.com>
15041 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15043 2014-10-11 Yao Qi <yao@codesourcery.com>
15045 * gdb.threads/thread-find.exp: Don't execute command
15047 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15048 * gdb.threads/linux-dp.exp: Don't check the condition
15049 $threads_created equals to zero.
15051 2014-10-10 Pedro Alves <palves@redhat.com>
15053 * gdb.base/bigcore.exp: Remove references to IRIX.
15054 * gdb.base/funcargs.exp: Likewise.
15055 * gdb.base/interrupt.exp: Likewise.
15056 * gdb.base/mips_pro.exp: Likewise.
15057 * gdb.base/nodebug.exp: Likewise.
15058 * gdb.base/setvar.exp: Likewise.
15059 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15061 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15062 Pedro Alves <palves@redhat.com>
15065 * gdb.base/vdso-warning.c: New file.
15066 * gdb.base/vdso-warning.exp: New file.
15068 2014-10-02 Doug Evans <dje@google.com>
15070 * gdb.base/structs.c (main): Don't run forever.
15072 2014-10-02 Pedro Alves <palves@redhat.com>
15074 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15075 (top level) <stop threads 1, stop threads 2>: Use it.
15077 2014-10-02 Pedro Alves <palves@redhat.com>
15079 * gdb.threads/break-while-running.exp (test): Add new
15080 'update_thread_list' argument. Skip "info threads" if false.
15081 (top level): Add new 'update_thread_list' axis.
15083 2014-10-02 Pedro Alves <palves@redhat.com>
15085 PR breakpoints/17431
15086 * gdb.base/execl-update-breakpoints.c: New file.
15087 * gdb.base/execl-update-breakpoints.exp: New file.
15089 2014-10-01 Pedro Alves <palves@redhat.com>
15091 * gdb.base/breakpoint-in-ro-region.c: New file.
15092 * gdb.base/breakpoint-in-ro-region.exp: New file.
15094 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15096 * gdb.mi/mi-exit-code.exp: New file.
15097 * gdb.mi/mi-exit-code.c: New file.
15099 2014-09-30 Yao Qi <yao@codesourcery.com>
15101 * lib/prelink-support.exp (build_executable_own_libs): Error if
15102 the target isn't native.
15104 2014-09-30 Yao Qi <yao@codesourcery.com>
15106 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15109 2014-09-22 Pedro Alves <palves@redhat.com>
15111 * gdb.threads/break-while-running.exp: New file.
15112 * gdb.threads/break-while-running.c: New file.
15114 2014-09-19 Yao Qi <yao@codesourcery.com>
15116 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15117 Invoke test. Restart GDB with --readnow and invoke test again.
15119 2014-09-19 Yao Qi <yao@codesourcery.com>
15121 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15122 proc set_breakpoint_on_gcd_function. Invoke
15123 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15124 invoke set_breakpoint_on_gcd_function again.
15126 2014-09-18 Doug Evans <dje@google.com>
15128 * gdb.dwarf2/symtab-producer.exp: New file.
15130 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15132 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15133 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15134 * gdb.base/global-var-nested-by-dso.c: Likewise.
15135 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15137 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15138 Pedro Alves <palves@redhat.com>
15140 * gdb.base/watch-bitfields.exp: Pass string other than test file
15141 name to prepare_for_testing.
15142 (watch): New procedure.
15143 (expect_watchpoint): Use with_test_prefix.
15144 (top level): Factor out tests to ...
15145 (test_watch_location, test_regular_watch): ... these new
15146 procedures, and use with_test_prefix and gdb_continue_to_end.
15148 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15150 PR breakpoints/12526
15151 * gdb.base/watch-bitfields.exp: New file.
15152 * gdb.base/watch-bitfields.c: New file.
15154 2014-09-16 Pedro Alves <palves@redhat.com>
15156 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15157 software and hardware addresses, not software address against
15160 2014-09-16 Pedro Alves <palves@redhat.com>
15162 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15163 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15165 2014-09-16 Pedro Alves <palves@redhat.com>
15167 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15169 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15170 "*-*-vxworks*" throughout.
15171 * gdb.base/break.exp: Likewise.
15172 * gdb.base/default.exp: Likewise.
15173 * gdb.base/scope.exp: Likewise.
15174 * gdb.base/sepdebug.exp: Likewise.
15175 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15177 * gdb.base/run.c: Likewise.
15178 * gdb.base/sepdebug.c: Likewise.
15179 * gdb.hp/gdb.aCC/run.c: Likewise.
15180 * gdb.reverse/until-reverse.c: Likewise.
15181 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15183 2014-09-16 Yao Qi <yao@codesourcery.com>
15185 * boards/local-remote-host-native.exp: New file.
15187 2014-09-14 Doug Evans <xdje42@gmail.com>
15189 * gdb.threads/queue-signal.c (thread_count): New variable.
15190 (thread_count_mutex, thread_count_condvar): New variables.
15191 (incr_thread_count, wait_all_threads_running): New functions.
15192 (main): Wait for all threads to be in their thread functions.
15194 2014-09-13 Doug Evans <xdje42@gmail.com>
15196 * gdb.threads/queue-signal.c: New file.
15197 * gdb.threads/queue-signal.exp: New file.
15199 2014-09-13 Doug Evans <xdje42@gmail.com>
15201 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15202 be consistent with what default_gdb_init uses.
15203 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15204 the plain text of the prompt. Add some logging printfs.
15205 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15207 2014-09-12 Pedro Alves <palves@redhat.com>
15209 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15210 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15211 * gdb.arch/i386-size-overlap.exp: Likewise.
15212 * gdb.arch/i386-size.exp: Likewise.
15213 * gdb.arch/i386-unwind.exp: Likewise.
15214 * gdb.base/a2-run.exp: Likewise.
15215 * gdb.base/break.exp: Likewise.
15216 * gdb.base/charset.exp: Likewise.
15217 * gdb.base/chng-syms.exp: Likewise.
15218 * gdb.base/commands.exp: Likewise.
15219 * gdb.base/dbx.exp: Likewise.
15220 * gdb.base/find.exp: Likewise.
15221 * gdb.base/funcargs.exp: Likewise.
15222 * gdb.base/jit-simple.exp: Likewise.
15223 * gdb.base/reread.exp: Likewise.
15224 * gdb.base/sepdebug.exp: Likewise.
15225 * gdb.base/step-bt.exp: Likewise.
15226 * gdb.cp/mb-inline.exp: Likewise.
15227 * gdb.cp/mb-templates.exp: Likewise.
15228 * gdb.objc/basicclass.exp: Likewise.
15229 * gdb.threads/killed.exp: Likewise.
15231 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15234 * gdb.arch/powerpc-stackless.S: New file.
15235 * gdb.arch/powerpc-stackless.exp: New file.
15237 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15239 * gdb.base/attach.c: Include unistd.h.
15240 (main): Call alarm. Add label postloop.
15241 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15242 gdb_breakpoint, gdb_continue_to_breakpoint.
15243 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15245 2014-09-11 Pedro Alves <palves@redhat.com>
15248 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15249 * gdb.base/attach.exp (test_command_line_attach_run): New
15251 (top level): Call it.
15253 2014-09-11 Pedro Alves <palves@redhat.com>
15255 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15256 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15257 (do_command_attach_tests): Use spawn_wait_for_attach.
15258 * gdb.base/solib-overlap.exp: Likewise.
15259 * gdb.multi/multi-attach.exp: Likewise.
15260 * gdb.python/py-prompt.exp: Likewise.
15261 * gdb.python/py-sync-interp.exp: Likewise.
15262 * gdb.server/ext-attach.exp: Likewise.
15264 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15266 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15267 command in testcase. Simplify testcase.
15269 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15271 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15273 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15275 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15277 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15279 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15281 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15283 * gdb.dwarf2/dynarr-ptr.c: New file.
15284 * gdb.dwarf2/dynarr-ptr.exp: New file.
15286 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15288 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15289 of 30 rather than hardcoding 120 for a slow test case. Take the
15290 `gdb,timeout' target setting into account for this calculation.
15291 Don't extend the timeout for the test cases that don't need it.
15293 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15295 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15296 a factor of 2 for a slow test case. Take the `gdb,timeout'
15297 target setting into account for this calculation.
15298 * gdb.reverse/until-precsave.exp: Increase the timeout by
15299 a factor of 15 and 3 respectively rather than adding 120
15300 for a pair of slow test cases. Take the `gdb,timeout'
15301 target setting into account for this calculation.
15303 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15305 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15306 timeout, don't pass one down to gdb_expect.
15307 (gdb_expect): Rework timeout selection.
15309 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15311 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15312 exception on timeout.
15313 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15314 (gdbserver_start_extended): Catch any `gdbserver_start' error
15316 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15317 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15318 `gdbserver_gdb_load' error exceptions.
15320 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15322 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15323 120 on waiting for the TCP socket to open.
15325 2014-09-09 Doug Evans <xdje42@gmail.com>
15327 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15328 _caller_matches, _any_caller_is, _any_caller_matches.
15330 2014-09-09 Doug Evans <xdje42@gmail.com>
15332 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15334 2014-09-09 Yao Qi <yao@codesourcery.com>
15336 * gdb.mi/mi-var-display.exp: Set print symbol off.
15338 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15341 * gdb.base/commands.exp: Add tests to verify user-defined
15342 commands with empty bodies.
15343 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15344 python commands in `show user command`.
15345 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15346 scheme commands in `show user command`.
15348 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15351 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15352 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15353 * gdb.python/py-framefilter-invalidarg.exp: New file.
15354 * gdb.python/py-framefilter-invalidarg.py: New file.
15356 2014-09-06 Doug Evans <xdje42@gmail.com>
15359 * gdb.python/py-caller-is.c: New file.
15360 * gdb.python/py-caller-is.exp: New file.
15362 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15365 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15366 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15368 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15371 * gdb.fortran/print-formatted.exp: New file.
15372 * gdb.fortran/print-formatted.f90: Likewise.
15374 2014-09-03 Sasha Smundak <asmundak@google.com>
15376 * gdb.python/py-frame.exp: Test Frame.read_register.
15378 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15381 * gdb.python/py-completion.exp: New file.
15382 * gdb.python/py-completion.py: Likewise.
15384 2014-08-28 Doug Evans <dje@google.com>
15386 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15387 eax,etc. are live with values set by gdb and thus the compiler can't
15389 * gdb.arch/i386-pseudo.c (main): Ditto.
15391 2014-08-27 Doug Evans <dje@google.com>
15393 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15395 2014-08-25 Doug Evans <dje@google.com>
15397 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15400 2014-08-25 Doug Evans <dje@google.com>
15402 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15404 2014-08-24 Yao Qi <yao@codesourcery.com>
15406 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15408 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15410 2014-08-22 Doug Evans <dje@google.com>
15413 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15414 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15415 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15417 2014-08-22 Yao Qi <yao@codesourcery.com>
15419 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15420 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15421 * gdb.python/python.exp: Likewise. Use .py file on the host
15422 instead of the build.
15424 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15426 * gdb.threads/gcore-stale-thread.c: New file.
15427 * gdb.threads/gcore-stale-thread.exp: New file.
15429 2014-08-21 Pedro Alves <palves@redhat.com>
15431 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15432 * gdb.base/gcore-relro-pie.exp: Likewise.
15433 * gdb.base/gcore-relro.exp: Likewise.
15434 * gdb.base/gcore.exp: Likewise.
15435 * gdb.base/print-symbol-loading.exp: Likewise.
15436 * gdb.threads/gcore-thread.exp: Likewise.
15437 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15439 2014-08-20 Pedro Alves <palves@redhat.com>
15440 Jan Kratochvil <jan.kratochvil@redhat.com>
15442 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15444 (EXPECT): Handle READ1 being set.
15445 (all): Depend on EXTRA_RULES.
15446 (check-read1, expect-read1, read1.so, read1): New rules.
15447 * README (Testsuite Parameters): Document the READ1 make variable.
15448 (Race detection): New section.
15449 * configure: Regenerate.
15450 * configure.ac: If build==host==target, and running under a
15451 GNU/glibc system, add read1 to the extra Makefile rules.
15452 (EXTRA_RULES): AC_SUBST it.
15453 * lib/read1.c: New file.
15455 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15457 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15458 the handling of variables declared as a typedef to an array
15459 which a DW_AT_data_location attribute.
15461 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15462 Pedro Alves <palves@redhat.com>
15466 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15469 2014-08-19 Pedro Alves <palves@redhat.com>
15471 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15473 2014-08-19 Yao Qi <yao@codesourcery.com>
15475 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15478 2014-08-18 David Blaikie <dblaikie@gmail.com>
15480 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15482 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15484 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15485 attribute in array range.
15487 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15489 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15491 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15494 * gdb.cp/pr17132.cc: New file.
15495 * gdb.cp/pr17132.exp: New file.
15497 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15499 * gdb.python/py-xmethods.py (A_getarrayind)
15500 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15501 Use 'print' with function call syntax.
15502 (E_method_matcher.match): Fix tab vs space indentation mixup.
15504 2014-08-15 Yao Qi <yao@codesourcery.com>
15506 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15509 2014-08-15 Yao Qi <yao@codesourcery.com>
15511 * gdb.cp/casts.exp: Set print symbol off.
15512 * gdb.cp/class2.exp: Likewise.
15513 * gdb.cp/overload.exp: Likewise.
15514 * gdb.cp/templates.exp: Likewise.
15516 2014-08-11 Doug Evans <dje@google.com>
15518 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15519 (test_load_shlib): Update.
15521 2014-08-09 Yao Qi <yao@codesourcery.com>
15523 * gdb.base/display.exp: Invoke is_address_zero_readable.
15524 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15525 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15526 * gdb.base/hbreak-unmapped.exp: Return if
15527 is_address_zero_readable returns true.
15528 * gdb.base/signest.exp: Likewise.
15529 * gdb.base/signull.exp: Likewise.
15530 * gdb.base/sigbpt.exp: Likewise.
15531 * gdb.guile/scm-disasm.exp: Do the test if
15532 is_address_zero_readable returns false.
15533 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15534 * gdb.python/py-arch.exp: Likewise.
15535 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15536 * lib/gdb.exp (is_address_zero_readable): New proc.
15538 2014-08-09 Yao Qi <yao@codesourcery.com>
15541 * gdb.mi/mi-var-display.exp: Make test messages unique.
15543 2014-08-04 Tom Tromey <tromey@redhat.com>
15545 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15548 2014-08-04 Tom Tromey <tromey@redhat.com>
15550 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15553 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15555 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15556 inner_vla_struct_object_size.
15557 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15560 2014-07-30 Pedro Alves <palves@redhat.com>
15562 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15565 2014-07-29 Yao Qi <yao@codesourcery.com>
15568 * gdb.base/until-nodebug.exp: New.
15570 2014-07-28 Doug Evans <xdje42@gmail.com>
15573 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15574 previously existing parameter, and previously ambiguously spelled
15577 2014-07-28 Will Newton <will.newton@linaro.org>
15579 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15581 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15582 Doug Evans <xdje42@gmail.com>
15585 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15587 2014-07-25 Pedro Alves <palves@redhat.com>
15589 * gdb.threads/signal-command-handle-nopass.c: New file.
15590 * gdb.threads/signal-command-handle-nopass.exp: New file.
15591 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15592 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15593 * gdb.threads/signal-delivered-right-thread.c: New file.
15594 * gdb.threads/signal-delivered-right-thread.exp: New file.
15596 2014-07-25 Pedro Alves <palves@redhat.com>
15598 * gdb.base/double-prompt-target-event-error.exp
15599 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15601 (cancel_pagination_in_target_event): Rework double prompt
15603 * gdb.base/paginate-after-ctrl-c-running.exp
15604 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15606 * gdb.base/paginate-bg-execution.exp
15607 (test_bg_execution_pagination_return)
15608 (test_bg_execution_pagination_cancel): Remove '-notransfer
15610 * gdb.base/paginate-execution-startup.exp
15611 (test_fg_execution_pagination_return)
15612 (test_fg_execution_pagination_cancel): Remove '-notransfer
15614 * gdb.base/paginate-inferior-exit.exp
15615 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15617 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15618 * lib/gdb.exp (pagination_prompt): Run text through
15620 (gdb_test_multiple): Match $pagination_prompt instead of
15622 (string_to_regexp): Move to lib/gdb-utils.exp.
15624 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15626 * gdb.arch/amd64-entry-value-paramref.S: New file.
15627 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15628 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15629 * gdb.arch/amd64-optimout-repeat.S: New file.
15630 * gdb.arch/amd64-optimout-repeat.c: New file.
15631 * gdb.arch/amd64-optimout-repeat.exp: New file.
15633 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15636 * gdb.base/statistics.exp: New file.
15638 2014-07-17 Doug Evans <dje@google.com>
15641 * gdb.base/maint.exp: Update testing of per-command stats.
15643 2014-07-16 Pedro Alves <palves@redhat.com>
15645 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15646 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15647 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15648 (tfile_write_buf): New functions.
15649 (add_memory_block): Rewrite using the above.
15650 (adjust_function_address): New function.
15651 (FUNCTION_ADDRESS): New macro.
15652 (write_basic_trace_file): Remove short_x local, and use
15653 tfile_write_16. Change type of func_addr local to unsigned long
15654 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15655 here. Cast argument of add_memory_block to char pointer.
15656 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15657 (main): Remove parameters.
15658 * gdb.trace/tfile.exp: Remove nowarnings.
15660 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15662 * gdb.base/debug-expr.exp: Test string evaluation with
15663 "debug expression" on.
15665 2014-07-15 Pedro Alves <palves@redhat.com>
15667 * gdb.base/reread.exp: Use clean_restart.
15669 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15671 * gdb.arch/avr-flash-qualifer.c: New.
15672 * gdb.arch/avr-flash-qualifer.exp: New.
15674 2014-07-14 Pedro Alves <palves@redhat.com>
15676 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15677 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15679 2014-07-14 Pedro Alves <palves@redhat.com>
15681 * gdb.base/double-prompt-target-event-error.c: New file.
15682 * gdb.base/double-prompt-target-event-error.exp: New file.
15684 2014-07-14 Pedro Alves <palves@redhat.com>
15687 * gdb.base/paginate-inferior-exit.c: New file.
15688 * gdb.base/paginate-inferior-exit.exp: New file.
15690 2014-07-14 Pedro Alves <palves@redhat.com>
15693 * gdb.base/paginate-bg-execution.c: New file.
15694 * gdb.base/paginate-bg-execution.exp: New file.
15696 2014-07-14 Pedro Alves <palves@redhat.com>
15699 * gdb.base/paginate-execution-startup.c: New file.
15700 * gdb.base/paginate-execution-startup.exp: New file.
15701 * lib/gdb.exp (pagination_prompt): New global.
15702 (default_gdb_spawn): New procedure, factored out from
15704 (default_gdb_start): Adjust to call default_gdb_spawn.
15705 (gdb_spawn): New procedure.
15707 2014-07-14 Pedro Alves <palves@redhat.com>
15709 * lib/gdb.exp (gdb_assert): New procedure.
15710 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15712 2014-07-14 Pedro Alves <palves@redhat.com>
15714 * gdb.base/execution-termios.c: New file.
15715 * gdb.base/execution-termios.exp: New file.
15717 2014-07-14 Tom Tromey <tromey@redhat.com>
15719 * gdb.cp/vla-cxx.cc: New file.
15720 * gdb.cp/vla-cxx.exp: New file.
15722 2014-07-14 Tom Tromey <tromey@redhat.com>
15724 * gdb.reverse/rerun-prec.c: New file.
15725 * gdb.reverse/rerun-prec.exp: New file.
15727 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15728 Maciej W. Rozycki <macro@codesourcery.com>
15730 * lib/gdb-utils.exp: New file.
15731 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15732 inline `gdb_init_command' processing.
15733 (gdb_start_cmd): Likewise.
15734 * lib/mi-support.exp (mi_run_cmd): Likewise.
15735 * README: Document `gdb_init_command' and `gdb_init_commands'.
15737 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15739 Fix false FAIL running under a very long directory name.
15740 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15741 and "set print elements 10000". Twice.
15743 2014-07-11 Yao Qi <yao@codesourcery.com>
15745 * gdb.base/exprs.exp: "set print symbol off".
15747 2014-07-11 Pedro Alves <palves@redhat.com>
15749 * gdb.threads/kill.c: New file.
15750 * gdb.threads/kill.exp: New file.
15752 2014-07-10 Yao Qi <yao@codesourcery.com>
15754 * gdb.trace/tfile.c (write_basic_trace_file)
15755 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15756 address written to trace file.
15758 2014-07-09 Pedro Alves <palves@redhat.com>
15760 * gdb.base/attach-wait-input.exp: New file.
15761 * gdb.base/attach-wait-input.c: New file.
15763 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15765 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15766 setting up test structures.
15767 (main): Call new test function.
15768 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15769 test function, continue into test function and walk test
15772 2014-07-02 Yao Qi <yao@codesourcery.com>
15774 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15775 'bar_start' at the beginning of functions 'foo' and 'bar'
15777 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15778 instead of 'foo' and 'bar'.
15780 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15782 * gdb.btrace/segv.exp: New.
15783 * gdb.btrace/segv.c: New.
15785 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15787 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15790 2014-06-30 Mark Wielaard <mjw@redhat.com>
15792 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15793 vulture, vilify, villar): New volatile array constants.
15794 (vindictive, vegetation): New const volatile array constants.
15795 * gdb.base/volatile.exp: Test volatile and const volatile array
15798 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15800 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15801 target lacks support for awatch, rwatch, or hbreak.
15803 2014-06-27 Yao Qi <yao@codesourcery.com>
15805 * gdb.multi/dummy-frame-restore.exp: New.
15806 * gdb.multi/dummy-frame-restore.c: New.
15808 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15810 * gdb.btrace/gcore.exp: New.
15812 2014-06-23 Pedro Alves <palves@redhat.com>
15814 * gdb.base/watchpoint-reuse-slot.c: New file.
15815 * gdb.base/watchpoint-reuse-slot.exp: New file.
15817 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15819 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15820 progspace's filename in 'info', 'enable' and 'disable' command
15823 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15825 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15826 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15827 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15829 2014-06-20 Gary Benson <gbenson@redhat.com>
15831 * gdb.arch/i386-avx.exp: Fix include file location.
15832 * gdb.arch/i386-sse.exp: Likewise.
15834 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15836 * gdb.dlang/expression.exp: New file.
15838 2014-06-19 Pedro Alves <palves@redhat.com>
15840 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15842 (top level): ... here. Iterate running tests under different
15843 scheduler-locking settings.
15845 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15847 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15848 to DW_FORM_addr and use non-zero addresses.
15850 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15853 * gdb.python/py-xmethods.cc: Add global function call counters and
15854 increment them in their respective functions. Remove "cout"
15856 * gdb.python/py-xmethods.exp: Make tests check the global function
15857 call counters instead of depending on inferior IO.
15859 2014-06-18 Don Breazeal <donb@codesourcery.com>
15861 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15863 (explicit_fork_parent_follow): Deleted procedure.
15864 (explicit_fork_child_follow): Deleted procedure.
15865 (test_follow_fork): New procedure.
15866 (do_fork_tests): Replace calls to deleted procedures with
15867 calls to test_follow_fork and reset GDB for subsequent
15870 2014-06-17 Yao Qi <yao@codesourcery.com>
15872 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15875 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15877 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15878 Initialize ptr and S explicitly.
15879 (skip_type_update_when_not_use_rtti_test): Likewise.
15881 2014-06-16 Keith Seitz <keiths@redhat.com>
15884 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15885 the inferior is started.
15887 2014-06-16 Pedro Alves <palves@redhat.com>
15889 * gdb.base/break-main-file-remove-fail.c: New file.
15890 * gdb.base/break-main-file-remove-fail.exp: New file.
15891 * gdb.base/break-unload-file.exp: Use build_executable instead of
15892 prepare_for_testing.
15893 (test_break): New parameter "initial_load". Handle it.
15894 (top level): Add initial_load cmdline/file axis.
15896 2014-06-12 Tom Tromey <tromey@redhat.com>
15898 * gdb.base/completion.exp: Don't use directory name in test.
15900 2014-06-09 Gary Benson <gbenson@redhat.com>
15902 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15903 separate the always-available ANSI-standard signals from the
15904 signals that require checking.
15906 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15910 2014-06-07 Keith Seitz <keiths@redhat.com>
15914 * gdb.cp/var-tag.cc: New file.
15915 * gdb.cp/var-tag.exp: New file.
15916 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15917 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15918 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15919 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15921 2014-06-06 Doug Evans <xdje42@gmail.com>
15923 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15925 2014-06-06 Pedro Alves <palves@redhat.com>
15927 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15928 in target debug output instead of looking at RSP packets,
15929 disabling the test on any target that uses hardware stepping.
15932 2014-06-06 Pedro Alves <palves@redhat.com>
15934 * gdb.base/break-unload-file.exp: Fix typo.
15936 2014-06-06 Yao Qi <yao@codesourcery.com>
15938 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15939 from "jit_function" to "^jit_function".
15941 2014-06-06 Yao Qi <yao@codesourcery.com>
15943 * gdb.base/async.c (foo): Add one statement.
15944 * gdb.base/async.exp: Get the next instruction address and
15945 match the output of "nexti" by instruction address. Match
15946 the hex address in the output of "finish".
15948 2014-06-06 Gary Benson <gbenson@redhat.com>
15950 * gdb.base/call-signals.c: Remove preprocessor conditionals
15951 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15952 SIGSEGV and SIGTERM.
15953 * gdb.base/sigall.c: Likewise.
15954 * gdb.base/unwindonsignal.c: Likewise.
15955 * gdb.reverse/sigall-reverse.c: Likewise.
15957 2014-06-06 Yao Qi <yao@codesourcery.com>
15959 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15960 readable, skip the test.
15962 2014-06-06 Yao Qi <yao@codesourcery.com>
15964 * gdb.threads/staticthreads.c (thread_function): Move the line
15965 setting breakpoint on forward.
15966 * gdb.threads/staticthreads.exp: Update comments.
15968 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15970 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15971 "history-append! type error".
15973 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15975 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15976 erroneous dprintf expected input.
15978 2014-06-04 Doug Evans <xdje42@gmail.com>
15980 * gdb.guile/scm-generics.exp: Delete.
15982 2014-06-04 Doug Evans <xdje42@gmail.com>
15984 * gdb.guile/scm-breakpoint.exp: Update.
15985 Add tests for breakpoint registration.
15987 2014-06-04 Tom Tromey <tromey@redhat.com>
15989 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15991 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15992 inner_vla_struct, vla_union types. Initialize objects of those
15993 types and compute their sizes.
15995 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15996 Hui Zhu <hui@codesourcery.com>
15998 * gdb.base/fileio.exp: Add test for shell not available as well as
16000 * gdb.base/fileio.c (test_system): Check for shell twice.
16002 2014-06-04 Yao Qi <yao@codesourcery.com>
16004 * gdb.base/auto-connect-native-target.exp: Remove redundant
16005 space from the regexp pattern.
16007 2014-06-04 Yao Qi <yao@codesourcery.com>
16009 * gdb.base/default.exp: Replace "child" with "native" in
16012 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16014 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16015 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16016 * gdb.python/py-xmethods.py: Python script supporting the
16017 new testcase and tests.
16019 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16020 Pedro Alves <palves@redhat.com>
16022 PR breakpoints/17000
16023 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16024 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16026 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16028 * gdb.base/subst.exp: Add tests to verify partial path matching
16031 2014-06-03 Pedro Alves <palves@redhat.com>
16033 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16034 target that doesn't use software single-stepping.
16036 2014-06-03 Pedro Alves <palves@redhat.com>
16038 PR breakpoints/17000
16039 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16040 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16042 2014-06-02 Doug Evans <xdje42@gmail.com>
16044 * gdb.guile/scm-parameter.exp: New file.
16046 2014-06-02 Doug Evans <xdje42@gmail.com>
16048 * gdb.guile/scm-cmd.c: New file.
16049 * gdb.guile/scm-cmd.exp: New file.
16051 2014-06-02 Doug Evans <xdje42@gmail.com>
16053 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16054 pretty-printer lookup.
16055 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16056 (make-pp_s-printer): Call it.
16057 (make-pretty-printer-from-dict): New function.
16058 (lookup-pretty-printer-maker-from-dict): New function.
16059 (*pretty-printer*): Simplify.
16060 (make-objfile-pp_s-printer): New function.
16061 (install-objfile-pretty-printers!): New function.
16062 (make-progspace-pp_s-printer): New function.
16063 (install-progspace-pretty-printers!): New function.
16064 * gdb.guile/scm-progspace.c: New file.
16065 * gdb.guile/scm-progspace.exp: New file.
16067 2014-06-02 Pedro Alves <palves@redhat.com>
16069 * gdb.base/dprintf-bp-same-addr.c: New file.
16070 * gdb.base/dprintf-bp-same-addr.exp: New file.
16072 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16074 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16075 * gdb.arch/powerpc-power.s: Likewise.
16077 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16079 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16081 2014-06-01 Yao Qi <yao@codesourcery.com>
16083 * gdb.base/watchpoint.exp (test_watch_location): Check null
16084 pointer can be dereferenced. If not, do the test, otherwise
16087 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16089 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16091 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16093 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16095 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16096 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16097 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16098 * gdb.arch/amd64-invalid-stack-top.c: New file.
16099 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16101 2014-05-30 Pedro Alves <palves@redhat.com>
16103 PR breakpoints/17000
16104 * gdb.base/sss-bp-on-user-bp.c: New file.
16105 * gdb.base/sss-bp-on-user-bp.exp: New file.
16107 2014-05-30 David Blaikie <dblaikie@gmail.com>
16109 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16110 gnu_inline semantics via attribute.
16111 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16112 source explicitly specifies the required semantics.
16114 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16116 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16118 2014-05-29 Pedro Alves <palves@redhat.com>
16119 Tom Tromey <tromey@redhat.com>
16121 * gdb.base/async-shell.exp: Don't enable target-async.
16122 * gdb.base/async.exp
16123 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16125 (top level): Don't test with "target-async".
16126 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16127 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16128 * gdb.base/inferior-died.exp: Don't enable target-async.
16129 * gdb.base/interrupt-noterm.exp: Likewise.
16130 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16131 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16132 * gdb.mi/mi-nonstop.exp: Likewise.
16133 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16134 * gdb.mi/mi-nsintrall.exp: Likewise.
16135 * gdb.mi/mi-nsmoribund.exp: Likewise.
16136 * gdb.mi/mi-nsthrexec.exp: Likewise.
16137 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16138 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16139 * gdb.python/py-evsignal.exp: Don't enable target-async.
16140 * gdb.python/py-evthreads.exp: Likewise.
16141 * gdb.python/py-prompt.exp: Likewise.
16142 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16143 * gdb.server/solib-list.exp: Don't enable target-async.
16144 * gdb.threads/thread-specific-bp.exp: Likewise.
16145 * lib/mi-support.exp: Adjust to use mi-async.
16147 2014-05-29 Pedro Alves <palves@redhat.com>
16150 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16151 reason, even in sync mode.
16153 2014-05-29 Pedro Alves <palves@redhat.com>
16154 Hui Zhu <hui@codesourcery.com>
16157 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16158 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16159 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16160 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16162 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16164 * config/monitor.exp (gdb_target_monitor): Replace use of
16165 "set remotebaud" by "set serial baud".
16167 2014-05-26 Andy Wingo <wingo@igalia.com>
16169 * gdb.guile/scm-breakpoint.exp:
16170 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16171 properties instead of gdb-object-properties.
16173 2014-05-26 Yao Qi <yao@codesourcery.com>
16175 * gdb.server/no-thread-db.exp: Specify source file name
16176 explicitly when setting a breakpoint.
16178 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16180 * gdb.btrace/vdso.c: New.
16181 * gdb.btrace/vdso.exp: New.
16183 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16185 * gdb.base/gcore.exp (capture_command_output): Move ...
16186 * lib/gdb.exp (capture_command_output): ... here.
16188 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16190 * gdb.btrace/data.exp: Test memory access during btrace replay.
16192 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16194 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16196 2014-05-21 Pedro Alves <palves@redhat.com>
16199 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16200 (top level): Test that output related to execution commands is
16201 sent to the console with CLI commands, but not with MI commands.
16202 Test that breakpoint events are always mirrored to the console.
16203 Also expect the new source line to be output after a "next" in
16204 async mode too. Make it a pass/fail test.
16205 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16207 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16209 2014-05-21 Pedro Alves <palves@redhat.com>
16211 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16212 Use them to test variations of "list" after reaching a breakpoint.
16213 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16214 Test "list" with listsize 10 after reaching a breakpoint.
16215 * gdb.python/python.exp (decode_line current location line
16216 number): Adjust expected line number.
16218 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16220 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16221 behavior for $args, pass it directly to "run".
16223 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16225 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16228 2014-05-21 Pedro Alves <palves@redhat.com>
16230 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16231 auto-connect-native-target off".
16232 * gdb.base/auto-connect-native-target.c: New file.
16233 * gdb.base/auto-connect-native-target.exp: New file.
16235 2014-05-21 Pedro Alves <palves@redhat.com>
16237 * gdb.base/default.exp: Test "target native" instead of "target
16240 2014-05-21 Mark Wielaard <mjw@redhat.com>
16242 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16244 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16246 Fix TLS access for -static -pthread.
16247 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16248 <HAVE_TLS> (thread_function, main): Initialize it.
16249 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16251 <$have_tls != "">: Check TLSVAR.
16253 2014-05-21 Pedro Alves <palves@redhat.com>
16255 * gdb.base/dcache-line-read-error.c: New.
16256 * gdb.base/dcache-line-read-error.exp: New.
16258 2014-05-20 Pedro Alves <palves@redhat.com>
16260 * gdb.base/compare-sections.c: New file.
16261 * gdb.base/compare-sections.exp: New file.
16263 2014-05-20 Pedro Alves <palves@redhat.com>
16265 * gdb.base/break-idempotent.c: New file.
16266 * gdb.base/break-idempotent.exp: New file.
16268 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16270 * gdb.btrace/nohist.exp: New.
16272 2014-05-20 Yao Qi <yao@codesourcery.com>
16274 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16275 gdb.reverse directory and gdb_reverse_timeout exists in board
16277 * README: Document gdb_reverse_timeout.
16279 2014-05-20 Yao Qi <yao@codesourcery.com>
16281 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16282 'test_file_name'. Treat args as a string instead of a list.
16283 (gdb_init): Rename argument 'args' by 'test_file_name'.
16285 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16287 * gdb.arch/powerpc-power.exp: New file.
16288 * gdb.arch/powerpc-power.s: New file.
16290 2014-05-16 Doug Evans <dje@google.com>
16292 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16293 * gdb.base/completion.exp: Check that all expected files exist
16294 before doing file completion.
16296 2014-05-16 Doug Evans <dje@google.com>
16298 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16300 (do_syscall_tests_without_xml): Update.
16302 2014-05-16 Pedro Alves <palves@redhat.com>
16304 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16305 instead of "unknown output after running".
16307 2014-05-16 Yao Qi <yao@codesourcery.com>
16309 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16310 file1.txt from host at the end.
16311 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16313 2014-05-15 Doug Evans <dje@google.com>
16315 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16316 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16317 loading file. Add test for TU lookup.
16319 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16321 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16322 calling "-exec-arguments" or "set args" before running the
16325 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16327 * lib/mi-support.exp (mi_expect_stop): Expect message for
16328 inferiors that exit with non-zero exit code.
16330 2014-05-14 Yao Qi <yao@codesourcery.com>
16332 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16333 match absolute path on remote host.
16334 (test_file_list_exec_source_files): Remove "/" from the
16337 2014-05-14 Yao Qi <yao@codesourcery.com>
16339 * boards/local-remote-host-notty.exp (${board}_file): New
16342 2014-05-07 Kyle McMartin <kyle@redhat.com>
16344 Pushed by Joel Brobecker <brobecker@adacore.com>.
16345 * gdb.arch/aarch64-atomic-inst.c: New file.
16346 * gdb.arch/aarch64-atomic-inst.exp: New file.
16348 2014-05-07 Yao Qi <yao@codesourcery.com>
16350 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16351 in current context" too.
16353 2014-05-05 Keith Seitz <keiths@redhat.com>
16355 * gdb.linespec/ls-dollar.exp: Add test for linespec
16356 file:convenience_variable.
16358 2014-05-05 Yao Qi <yao@codesourcery.com>
16360 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16361 traceframes into tfile and ctf trace files. Read data from
16362 trace file and test collected data.
16363 (gdb_collect_locals_test): Likewise.
16364 (gdb_unavailable_registers_test): Likewise.
16365 (gdb_unavailable_floats): Likewise.
16366 (gdb_collect_globals_test): Likewise.
16367 (top-level): Append "ctf" to trace_file_targets if GDB
16370 2014-05-05 Yao Qi <yao@codesourcery.com>
16372 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16374 (gdb_collect_args_test_1): ... it. New proc.
16375 (gdb_collect_locals_test): Move some code to ...
16376 (gdb_collect_locals_test_1): ... it. New proc.
16377 (gdb_unavailable_registers_test): Move some code to ...
16378 (gdb_unavailable_registers_test_1): ... it. New proc.
16379 (gdb_unavailable_floats): Move some code to ...
16380 (gdb_unavailable_floats_1): ... it. New proc.
16382 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16384 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16385 probes to test for bitness recognition.
16386 * gdb.arch/amd64-stap-optional-prefix.exp
16387 (test_probe_value_without_reg): New procedure.
16388 Add code to test for different kinds of bitness.
16390 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16392 PR breakpoints/16889
16393 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16394 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16396 2014-05-01 Pedro Alves <palves@redhat.com>
16398 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16399 gdb_file_cmd if no file is specified.
16400 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16401 last_loaded_file to set the remote exec-file.
16403 2014-05-01 Pedro Alves <palves@redhat.com>
16405 * boards/local-remote-host.exp: New file.
16407 2014-05-01 Pedro Alves <palves@redhat.com>
16409 * boards/local-remote-host.exp: Rename to ...
16410 * boards/local-remote-host-notty.exp: ... this.
16412 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16414 * gdb.ada/dyn_arrayidx: New testcase.
16416 2014-04-26 Yao Qi <yao@codesourcery.com>
16418 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16419 and compute the length of function main. Save it in
16421 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16422 (top-level): Use gdb_compile to compile objects into
16423 executable and restart GDB. Remove invocation to
16424 prepare_for_testing.
16426 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16427 Pedro Alves <palves@redhat.com>
16430 * gdb.multi/multi-attach.c: New file.
16431 * gdb.multi/multi-attach.exp: New file.
16433 2014-04-25 Pedro Alves <palves@redhat.com>
16435 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16437 (top level): Test that "set remote conditional-breakpoints-packet
16438 off" works as intended.
16439 * gdb.base/dprintf.exp: Test that "set remote
16440 breakpoint-commands-packet off" works as intended.
16441 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16443 (top level): Call it.
16444 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16445 remote fast-tracepoints-packet off" works as intended.
16446 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16447 * lib/gdb.exp (gdb_is_target_remote): ... here.
16449 2014-04-24 David Blaikie <dblaikie@gmail.com>
16451 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16452 ensure clang would not discard them.
16453 * gdb.base/gdbvars.c: Ditto.
16454 * gdb.base/memattr.c: Ditto.
16455 * gdb.base/whatis.c: Ditto.
16456 * gdb.python/py-prettyprint.c: Ditto.
16457 * gdb.trace/actions.c: Ditto.
16458 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16459 ensure clang would not discard it.
16461 2014-04-24 David Blaikie <dblaikie@gmail.com>
16463 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16464 clang to emit the full definition of type required by the test
16465 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16467 2014-04-24 David Blaikie <dblaikie@gmail.com>
16469 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16470 coax Clang into emitting the definition of the type.
16471 * gdb.cp/pr10728-x.h (y): Ditto.
16472 * gdb.cp/pr10728-y.cc (y): Ditto.
16474 2014-04-24 David Blaikie <dblaikie@gmail.com>
16476 * gdb.base/label.exp: XFAIL label related tests under Clang.
16477 * gdb.cp/cplabel.exp: Ditto.
16478 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16479 under Clang those using labels.
16481 2014-04-25 Yao Qi <yao@codesourcery.com>
16483 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16485 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16486 partial_label and double_label.
16488 2014-04-24 David Blaikie <dblaikie@gmail.com>
16490 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16492 2014-04-24 David Blaikie <dblaikie@gmail.com>
16494 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16495 of the function to work across GCC and Clang.
16496 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16497 pointer types (const void ** const V void **).
16499 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16500 Walfred Tedeschi <walfred.tedeschi@intel.com>
16502 * Makefile.in (EXECUTABLES): Added i386-avx512.
16503 * gdb.arch/i386-avx512.c: New file.
16504 * gdb.arch/i386-avx512.exp: Likewise.
16506 2014-04-23 Keith Seitz <keiths@redhat.com>
16508 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16509 (mi_make_breakpoint_table): New procedure.
16510 (mi_create_breakpoint): Use mi_make_breakpoint
16511 and return the result.
16512 (mi_make_breakpoint): New procedure.
16513 (mi_build_kv_pairs): New procedure.
16515 * gdb.mi/mi-break.exp: Remove unused globals,
16516 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16517 All callers updated.
16518 * gdb.mi/mi-dprintf.exp: Use variable to track command
16520 Update all callers of mi_create_breakpoint and use
16521 mi_make_breakpoint_table.
16522 Remove any unused global variables.
16523 * gdb.mi/mi-nonstop.exp: Likewise.
16524 * gdb.mi/mi-nsintrall.exp: Likewise.
16525 * gdb.mi/mi-nsmoribund.exp: Likewise.
16526 * gdb.mi/mi-nsthrexec.exp: Likewise.
16527 * gdb.mi/mi-reverse.exp: Likewise.
16528 * gdb.mi/mi-simplerun.exp: Likewise.
16529 * gdb.mi/mi-stepn.exp: Likewise.
16530 * gdb.mi/mi-syn-frame.exp: Likewise.
16531 * gdb.mi/mi-until.exp: Likewise.
16532 * gdb.mi/mi-var-cp.exp: Likewise.
16533 * gdb.mi/mi-var-display.exp: Likewise.
16534 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16535 * gdb.mi/mi2-var-child.exp: Likewise.
16536 * gdb.mi/mi-vla-c99.exp: Likewise.
16537 * lib/mi-support.exp: Likewise.
16539 From Ian Lance Taylor <iant@cygnus.com>:
16540 * lib/gdb.exp (parse_args): New procedure.
16542 2014-04-23 Pedro Alves <palves@redhat.com>
16544 * gdb.base/break-unload-file.c: New file.
16545 * gdb.base/break-unload-file.exp: New file.
16546 * gdb.base/sym-file-lib.c (baz): New function.
16547 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16549 (load): Store the segment's mapped size.
16550 (unload): New function.
16551 (unload_shlib): New function.
16552 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16553 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16554 set a breakpoint at baz, and call it.
16555 * gdb.base/sym-file.exp: New tests for stale breakpoint
16558 2014-04-23 Pedro Alves <palves@redhat.com>
16560 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16561 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16562 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16563 * gdb.base/hbreak-unmapped.c: New file.
16564 * gdb.base/hbreak-unmapped.exp: New file.
16565 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16566 * lib/gdb.exp (gdb_is_target_remote): ... here.
16568 2014-04-22 Pedro Alves <palves@redhat.com>
16570 * gdb.base/consecutive-step-over.c: New file.
16571 * gdb.base/consecutive-step-over.exp: New file.
16573 2014-04-22 Pedro Alves <palves@redhat.com>
16575 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16576 instead of send_gdb/gdb_expect.
16578 2014-04-22 Yao Qi <yao@codesourcery.com>
16580 * lib/trace-support.exp (generate_tracefile): New procedure.
16581 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16583 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16584 if generate_tracefile returns 1.
16586 2014-04-18 Tom Tromey <palves@redhat.com>
16587 Pedro alves <tromey@redhat.com>
16590 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16591 with a backtrace limit.
16592 * gdb.python/py-frame-inline.exp: Test running to an inline
16593 function with a backtrace limit, and printing the newest frame.
16594 * gdb.python/py-frame-inline.c (main): Call f.
16596 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16598 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16600 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16602 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16603 Drop prefix from unsupported source file path.
16605 2014-04-17 Yao Qi <yao@codesourcery.com>
16607 * lib/gdb.exp (with_target_charset): New proc.
16608 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16609 with_target_charset.
16610 (test_print_strings): Likewise.
16611 (test_repeat_bytes): Likewise.
16612 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16615 2014-04-16 Keith Seitz <keiths@redhat.com>
16618 * gdb.dwarf2/corrupt.c: New file.
16619 * gdb.dwarf2/corrupt.exp: New file.
16621 2014-04-16 Keith Seitz <keiths@redhat.com>
16624 * gdb.cp/namelessclass.cc: New file.
16625 * gdb.cp/namelessclass.exp: New file.
16626 * gdb.cp/namelessclass.S: New file.
16628 2014-04-16 Doug Evans <dje@google.com>
16630 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16632 (gdbserver_default_get_comm_port): New function.
16633 (gdbserver_start): Check if board file provided
16634 "gdbserver,get_comm_port" and use it if so.
16635 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16636 (gdb,socketport): Set to "stdio".
16637 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16638 (stdio_gdbserver_template): Delete.
16639 (${board}_get_remote_address): Update.
16640 (${board}_build_remote_cmd): Delete.
16641 (${board}_get_comm_port): New function.
16642 (${board}_spawn): Update.
16643 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16645 (${board}_get_remote_address): Update.
16646 (${board}_get_comm_port): New function.
16648 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16650 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16651 appearing in any order.
16653 2014-04-15 Doug Evans <dje@google.com>
16655 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16656 uninitialized value of "description".
16658 2014-04-15 Keith Seitz <keiths@redhat.com>
16660 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16661 Remove unused globals.
16662 (test_running_the_program): Likewise.
16663 (test_controlled_execution): Likewise.
16664 (test_controlling_breakpoints): Likewise.
16665 (test_program_termination): Likewise.
16667 2014-04-15 Keith Seitz <keiths@redhat.com>
16669 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16671 (test_rbreak_creation_and_listing): Likewise.
16672 (test_ignore_count): Likewise.
16673 (test_error): Likewise.
16675 2014-04-15 Pedro Alves <palves@redhat.com>
16677 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16678 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16680 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16681 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16682 to sym-file-loader.c.
16683 (struct library): Forward declare.
16684 (load_shlib, lookup_function): Change prototypes.
16685 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16686 (translate_offset): Remove declarations.
16687 (get_text_addr): New declaration.
16688 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16689 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16691 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16692 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16693 here from sym-file-loader.h.
16694 (struct library): New structure.
16695 (load_shlib, lookup_function): Change prototypes and adjust to
16696 work with a struct library.
16697 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16698 (translate_offset): Make static.
16699 (get_text_addr): New function.
16700 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16702 2014-04-15 Pedro Alves <palves@redhat.com>
16704 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16706 2014-04-15 Pedro Alves <palves@redhat.com>
16708 * gdb.base/sym-file-loader.c: Include <limits.h>.
16709 (SELF_LINK): New define.
16710 (get_origin): New function.
16711 (load_shlib): Use it.
16712 * gdb.base/sym-file.exp: Don't early return if the target is
16713 remote. Use runto_main, and issue fail is that fails. Use
16715 (shlib_name): Delete.
16716 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16718 2014-04-15 Pedro Alves <palves@redhat.com>
16720 * gdb.base/sym-file.exp: Remove regex characters from test
16721 message. Don't refer to breakpoint numbers in test messages.
16723 2014-04-14 Keith Seitz <keiths@redhat.com>
16726 * gdb.cp/var-tag.cc: New file.
16727 * gdb.cp/var-tag.exp: New file.
16728 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16729 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16730 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16731 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16733 2014-04-14 Tom Tromey <tromey@redhat.com>
16735 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16736 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16738 * gdb.cp/enum-class.exp: New file.
16739 * gdb.cp/enum-class.cc: New file.
16741 2014-04-14 Tom Tromey <tromey@redhat.com>
16743 * gdb.dwarf2/enum-type.exp: New file.
16745 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16747 * gdb.mi/mi-vla-c99.exp: New file.
16748 * gdb.mi/vla.c: New file.
16750 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16752 * gdb.base/vla-datatypes.c: New file.
16753 * gdb.base/vla-datatypes.exp: New file.
16755 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16757 * gdb.base/vla-ptr.c: New file.
16758 * gdb.base/vla-ptr.exp: New file.
16760 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16762 * gdb.dwarf2/count.exp: New file.
16764 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16766 * gdb.base/vla-sideeffect.c: New file.
16767 * gdb.base/vla-sideeffect.exp: New file.
16769 2014-04-14 David Blaikie <dblaikie@gmail.com>
16771 * gdb.mi/non-stop.c: Add return value for non-void function return
16773 * gdb.threads/staticthreads.c: Ditto.
16775 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16776 Doug Evans <xdje42@gmail.com>
16778 * gdb.guile/scm-value.c: Improve test case.
16779 * gdb.guile/scm-value.exp: Add new test.
16781 2014-04-11 David Blaikie <dblaikie@gmail.com>
16783 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16784 override Clang's default.
16786 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16788 Revert the following changes (regressions):
16790 * gdb.base/vla-sideeffect.c: New file.
16791 * gdb.base/vla-sideeffect.exp: New file.
16793 * gdb.dwarf2/count.exp: New file.
16795 * gdb.base/vla-multi.c: New file.
16796 * gdb.base/vla-multi.exp: New file.
16798 * gdb.base/vla-ptr.c: New file.
16799 * gdb.base/vla-ptr.exp: New file.
16801 * gdb.base/vla-datatypes.c: New file.
16802 * gdb.base/vla-datatypes.exp: New file.
16804 * gdb.mi/mi-vla-c99.exp: New file.
16805 * gdb.mi/vla.c: New file.
16807 2014-04-11 Keith Seitz <keiths@redhat.com>
16810 * gdb.cp/cpsizeof.exp: New file.
16811 * gdb.cp/cpsizeof.cc: New file.
16813 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16815 * gdb.mi/mi-vla-c99.exp: New file.
16816 * gdb.mi/vla.c: New file.
16818 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16820 * gdb.base/vla-datatypes.c: New file.
16821 * gdb.base/vla-datatypes.exp: New file.
16823 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16825 * gdb.base/vla-ptr.c: New file.
16826 * gdb.base/vla-ptr.exp: New file.
16828 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16830 * gdb.base/vla-multi.c: New file.
16831 * gdb.base/vla-multi.exp: New file.
16833 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16835 * gdb.dwarf2/count.exp: New file.
16837 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16839 * gdb.base/vla-sideeffect.c: New file.
16840 * gdb.base/vla-sideeffect.exp: New file.
16842 2014-04-11 Yao Qi <yao@codesourcery.com>
16844 * gdb.base/completion.exp: Check file exists before running tests
16845 on file completion.
16847 2014-04-10 Pedro Alves <palves@redhat.com>
16849 * gdb.base/cond-eval-mode.c: New file.
16850 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16851 prepare_for_testing to build the new file. Check result of
16853 (test_break, test_watch): New procedures.
16854 (top level): Use them.
16856 2014-04-08 Pierre Muller <muller@sourceware.org>
16858 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16859 Ctrl-V use for mingw hosts.
16861 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16863 * gdb.python/py-value.c: Improve test case.
16864 * gdb.python/py-value.exp: Add new test.
16866 2014-04-07 David Blaikie <dblaikie@gmail.com>
16868 * lib/compiler.c: Identify the clang compiler.
16869 * lib/compiler.cc: Ditto.
16871 2014-04-03 Yao Qi <yao@codesourcery.com>
16873 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16875 2014-04-01 Anton Blanchard <anton@samba.org>
16877 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16880 2014-04-01 Anton Blanchard <anton@samba.org>
16882 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16883 prepare_for_testing.
16885 2014-04-01 Anton Blanchard <anton@samba.org>
16887 * gdb.arch/ppc64-atomic-inst.c: Remove.
16888 * gdb.arch/ppc64-atomic-inst.S: New file.
16889 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16891 2014-03-31 Doug Evans <dje@google.com>
16893 * gdb.base/print-symbol-loading-lib.c: New file.
16894 * gdb.base/print-symbol-loading-main.c: New file.
16895 * gdb.base/print-symbol-loading.exp: New file.
16897 2014-03-31 Yao Qi <yao@codesourcery.com>
16899 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16901 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16903 * gdb.ada/mi_dyn_arr: New testcase.
16905 2014-03-27 Doug Evans <dje@google.com>
16907 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16909 2014-03-27 Yao Qi <yao@codesourcery.com>
16911 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16912 if target is nios2-*-*.
16914 2014-03-26 Yao Qi <yao@codesourcery.com>
16916 * lib/gdb.exp (readline_is_used): New proc.
16917 * gdb.base/completion.exp: Move tests on command complete up.
16918 Skip the rest of tests if readline is not used.
16919 * gdb.ada/complete.exp: Skp the test if readline is not
16921 * gdb.base/filesym.exp: Likewise.
16922 * gdb.base/macscp.exp: Likewise.
16923 * gdb.base/readline-ask.exp: Likewise.
16924 * gdb.base/readline.exp: Likewise.
16925 * gdb.python/py-cmd.exp: Likewise.
16926 * gdb.trace/tfile.exp: Likewise.
16928 2014-03-26 Yao Qi <yao@codesourcery.com>
16930 * gdb.base/macscp.exp: Fix code format issues.
16932 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16934 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16935 * gdb.asm/powerpc64le.inc: New file.
16937 2014-03-25 Pedro Alves <palves@redhat.com>
16938 Doug Evans <dje@google.com>
16940 * gdb.base/source-execution.c: New file.
16941 * gdb.base/source-execution.exp: New file.
16942 * gdb.base/source-execution.gdb: New file.
16944 2014-03-24 Doug Evans <dje@google.com>
16946 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16949 2014-03-24 Hui Zhu <hui@codesourcery.com>
16950 Pedro Alves <palves@redhat.com>
16952 PR breakpoints/16101
16953 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16954 test pass/fail messages. Detect missing support for dprintf when
16955 breakpoints are actually inserted.
16956 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16957 breakpoints are actually inserted.
16958 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16961 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16963 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16965 2014-03-22 Doug Evans <xdje42@gmail.com>
16967 * gdb.python/python.exp (python not supported): Verify multi-line
16968 python command issues an error.
16969 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16970 guile command issues an error.
16972 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16974 * gdb.threads/thread-specific.exp: Handle the lack of usable
16975 $this_breakpoint and $this_thread.
16977 2014-03-21 Hui Zhu <hui@codesourcery.com>
16979 * gdb.base/attach.exp (do_command_attach_tests): New.
16981 2014-03-20 Tom Tromey <tromey@redhat.com>
16982 Pedro Alves <palves@redhat.com>
16985 * gdb.base/condbreak-call-false.c: New file.
16986 * gdb.base/condbreak-call-false.exp: New file.
16988 2014-03-20 Pedro Alves <palves@redhat.com>
16990 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16992 (block_signals, unblock_signals): Delete.
16993 (child_function_2, main): Remove references to deleted variable
16996 2014-03-20 Pedro Alves <palves@redhat.com>
16998 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16999 Use pthread_kill to signal thread 2.
17000 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17001 Adjust to make the test send itself a signal rather than using the
17002 host's "kill" command.
17004 2014-03-20 Pedro Alves <palves@redhat.com>
17006 * gdb.threads/multiple-step-overs.c: New file.
17007 * gdb.threads/multiple-step-overs.exp: New file.
17008 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17009 Adjust expected infrun debug output.
17011 2014-03-20 Pedro Alves <palves@redhat.com>
17013 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17014 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17016 2014-03-20 Pedro Alves <palves@redhat.com>
17018 PR breakpoints/7143
17019 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17020 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17021 of gdb_test_multiple.
17022 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17023 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17025 2014-03-20 Pedro Alves <palves@redhat.com>
17027 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17028 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17030 2014-03-19 Pedro Alves <palves@redhat.com>
17032 * gdb.base/async.exp: Remove early return.
17034 2014-03-19 Pedro Alves <palves@redhat.com>
17036 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17038 2014-03-19 Pedro Alves <palves@redhat.com>
17040 * gdb.base/async.exp (test_background): Expect \r\n after
17041 "completed." in the fail pattern.
17043 2014-03-19 Pedro Alves <palves@redhat.com>
17045 * gdb.base/async.exp (test_background): New procedure.
17046 Use it for all background execution command tests.
17048 2014-03-19 Pedro Alves <palves@redhat.com>
17050 * gdb.base/async.exp: Use prepare_for_testing.
17052 2014-03-19 Pedro Alves <palves@redhat.com>
17054 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17057 2014-03-19 Pedro Alves <palves@redhat.com>
17059 * gdb.base/async.c (main): Add "jump here" and "until here" line
17061 * gdb.base/async.exp (jump_here): New global.
17062 (jump& test): Use it.
17063 (until_here): New global.
17064 (until& test): Use it.
17066 2014-03-19 Pedro Alves <palves@redhat.com>
17068 * gdb.base/async.exp: Don't frob gdb_protocol.
17070 2014-03-18 Doug Evans <xdje42@gmail.com>
17072 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17073 Fix spelling of exec-done-display.
17075 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17078 * gdb.base/gdb-sigterm.c: New file.
17079 * gdb.base/gdb-sigterm.exp: New file.
17081 2014-03-18 Pedro Alves <palves@redhat.com>
17084 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17085 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17088 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17090 * gdb.ada/pckd_arr_ren: New testcase.
17092 2014-03-13 Doug Evans <xdje42@gmail.com>
17095 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17096 collect after discarding symbols.
17098 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17099 Doug Evans <xdje42@gmail.com>
17101 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17102 to history survives a gc.
17104 2014-03-13 Pedro Alves <palves@redhat.com>
17106 * gdb.base/default.exp: Don't test "target procfs".
17108 2014-03-13 Pedro Alves <palves@redhat.com>
17110 * gdb.base/default.exp: Update "target child" and "target procfs"
17111 tests to not expect "Unix".
17113 2014-03-12 Tom Tromey <tromey@redhat.com>
17115 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17116 New procs. Add target-async tests.
17117 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17118 Add target-async tests.
17120 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17122 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17123 'func_start' and 'func_end' for the beginning and end of the
17124 function code, respectively.
17125 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17126 'func_end' instead of 'func' and 'main'.
17128 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17130 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17131 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17132 generate the debug info assembler source.
17134 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17136 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17137 * gdb.dwarf2/arr-subrange.exp: Likewise.
17138 * gdb.dwarf2/dwz.exp: Likewise.
17139 * gdb.dwarf2/method-ptr.exp: Likewise.
17140 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17141 * gdb.dwarf2/subrange.exp: Likewise.
17142 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17143 * gdb.dwarf2/implptrpiece.exp: Likewise.
17144 * gdb.dwarf2/nostaticblock.exp: Likewise.
17146 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17148 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17149 directory to absolute path name arguments.
17151 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17153 * gdb.ada/tagged_access: New testcase.
17155 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17157 * gdb.btrace/data.exp: Update expected output.
17159 2014-03-06 Yao Qi <yao@codesourcery.com>
17161 * gdb.trace/pr16508.exp: New file.
17163 2014-03-05 Pedro Alves <palves@redhat.com>
17166 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17168 (top level): Adjust to use it. Add tests that exercise breakpoint
17169 interaction with the code-cache.
17171 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17173 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17174 test for 'history-append!'.
17176 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17178 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17179 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17180 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17181 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17182 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17183 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17185 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17187 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17188 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17189 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17191 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17193 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17195 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17197 * gdb.dwarf2/arr-stride.c: New file.
17198 * gdb.dwarf2/arr-stride.exp: New file.
17200 2014-02-26 Pedro Alves <palves@redhat.com>
17202 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17203 that won't ever trigger. Make sure that GDB reports the correct
17204 breakpoint that caused the stop.
17206 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17209 * gdb.base/auto-load-script: New file.
17210 * gdb.base/auto-load.c: New file.
17211 * gdb.base/auto-load.exp: New file.
17214 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17216 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17218 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17219 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17221 2014-02-24 Doug Evans <dje@google.com>
17223 * lib/gdb.exp (run_on_host): Log error output if program fails.
17225 2014-02-21 Pedro Alves <palves@redhat.com>
17227 * gdb.threads/step-after-sr-lock.c: Rename to ...
17228 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17229 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17230 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17233 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17236 * gdb.arch/amd64-stap-special-operands.exp: New file.
17237 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17238 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17239 * gdb.arch/amd64-stap-triplet.S: Likewise.
17240 * gdb.arch/amd64-stap-triplet.c: Likewise.
17242 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17244 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17245 in .section pseudo-op.
17247 2014-02-20 lin zuojian <manjian2006@gmail.com>
17248 Joel Brobecker <brobecker@adacore.com>
17249 Doug Evans <xdje42@gmail.com>
17252 * gdb.dwarf2/dw2-icycle.S: New file.
17253 * gdb.dwarf2/dw2-icycle.c: New file.
17254 * gdb.dwarf2/dw2-icycle.exp: New file.
17256 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17258 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17259 operations on gdb.Value objects.
17260 * gdb.python/py-value-cc.exp: Add new test to test operations on
17263 2014-02-18 Doug Evans <dje@google.com>
17265 * Makefile.in (TESTS): New variable.
17266 (expanded_tests, expanded_tests_or_none): New variables
17267 (check-single): Pass $(expanded_tests_or_none) to runtest.
17268 (check-parallel): Only run tests in $(TESTS) if non-empty.
17269 (check/no-matching-tests-found): New rule.
17270 * README: Document TESTS makefile variable.
17272 2014-02-18 Doug Evans <dje@google.com>
17274 * Makefile.in (check-parallel): rm -rf outputs temp.
17276 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17278 Fix "ERROR: no fileid for" in the testsuite.
17279 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17281 2014-02-12 Doug Evans <dje@google.com>
17283 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17284 (MISCELLANEOUS): New variable.
17285 (clean): rm -rf $(MISCELLANEOUS).
17286 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17287 dwp live in the same directory as symlinks, with each symlink pointed
17288 to a differently named file in a different directory.
17290 2014-02-11 Doug Evans <dje@google.com>
17292 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17293 of Tcl file commands.
17295 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17297 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17298 "kill -SIGUSR1 -1".
17300 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17302 * gdb.ada/tick_length_array_enum_idx: New testcase.
17304 2014-02-10 Doug Evans <xdje42@gmail.com>
17306 * configure.ac (AC_OUTPUT): Add gdb.guile.
17307 * configure: Regenerate.
17308 * lib/gdb-guile.exp: New file.
17309 * lib/gdb.exp (get_target_charset): New function.
17310 * gdb.base/help.exp: Update expected output from "apropos apropos".
17311 * gdb.guile/Makefile.in: New file.
17312 * gdb.guile/guile.exp: New file.
17313 * gdb.guile/scm-arch.c: New file.
17314 * gdb.guile/scm-arch.exp: New file.
17315 * gdb.guile/scm-block.c: New file.
17316 * gdb.guile/scm-block.exp: New file.
17317 * gdb.guile/scm-breakpoint.c: New file.
17318 * gdb.guile/scm-breakpoint.exp: New file.
17319 * gdb.guile/scm-disasm.c: New file.
17320 * gdb.guile/scm-disasm.exp: New file.
17321 * gdb.guile/scm-equal.c: New file.
17322 * gdb.guile/scm-equal.exp: New file.
17323 * gdb.guile/scm-error.exp: New file.
17324 * gdb.guile/scm-error.scm: New file.
17325 * gdb.guile/scm-frame-args.c: New file.
17326 * gdb.guile/scm-frame-args.exp: New file.
17327 * gdb.guile/scm-frame-args.scm: New file.
17328 * gdb.guile/scm-frame-inline.c: New file.
17329 * gdb.guile/scm-frame-inline.exp: New file.
17330 * gdb.guile/scm-frame.c: New file.
17331 * gdb.guile/scm-frame.exp: New file.
17332 * gdb.guile/scm-generics.exp: New file.
17333 * gdb.guile/scm-gsmob.exp: New file.
17334 * gdb.guile/scm-iterator.c: New file.
17335 * gdb.guile/scm-iterator.exp: New file.
17336 * gdb.guile/scm-math.c: New file.
17337 * gdb.guile/scm-math.exp: New file.
17338 * gdb.guile/scm-objfile-script-gdb.in: New file.
17339 * gdb.guile/scm-objfile-script.c: New file.
17340 * gdb.guile/scm-objfile-script.exp: New file.
17341 * gdb.guile/scm-objfile.c: New file.
17342 * gdb.guile/scm-objfile.exp: New file.
17343 * gdb.guile/scm-ports.exp: New file.
17344 * gdb.guile/scm-pretty-print.c: New file.
17345 * gdb.guile/scm-pretty-print.exp: New file.
17346 * gdb.guile/scm-pretty-print.scm: New file.
17347 * gdb.guile/scm-section-script.c: New file.
17348 * gdb.guile/scm-section-script.exp: New file.
17349 * gdb.guile/scm-section-script.scm: New file.
17350 * gdb.guile/scm-symbol.c: New file.
17351 * gdb.guile/scm-symbol.exp: New file.
17352 * gdb.guile/scm-symtab-2.c: New file.
17353 * gdb.guile/scm-symtab.c: New file.
17354 * gdb.guile/scm-symtab.exp: New file.
17355 * gdb.guile/scm-type.c: New file.
17356 * gdb.guile/scm-type.exp: New file.
17357 * gdb.guile/scm-value-cc.cc: New file.
17358 * gdb.guile/scm-value-cc.exp: New file.
17359 * gdb.guile/scm-value.c: New file.
17360 * gdb.guile/scm-value.exp: New file.
17361 * gdb.guile/source2.scm: New file.
17362 * gdb.guile/types-module.cc: New file.
17363 * gdb.guile/types-module.exp: New file.
17365 2014-02-10 Yao Qi <yao@codesourcery.com>
17368 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17369 * configure: Regenerated.
17370 * Makefile.in: New file.
17372 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17374 * gdb.python/py-framefilter.exp: Fix typo.
17376 2014-02-08 Yao Qi <yao@codesourcery.com>
17378 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17379 that no =breakpoint-modified is emitted when breakpoints are
17380 modified through MI commands.
17382 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17383 Pedro Alves <palves@redhat.com>
17385 * gdb.threads/step-after-sr-lock.c: New file.
17386 * gdb.threads/step-after-sr-lock.exp: New file.
17388 2014-02-07 Pedro Alves <palves@redhat.com>
17390 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17392 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17394 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17395 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17397 2014-02-06 Doug Evans <xdje42@gmail.com>
17399 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17402 * gdb.gdb/python-interrupts.exp: New file.
17404 2014-02-05 Yao Qi <yao@codesourcery.com>
17406 * gdb.trace/report.exp (use_collected_data): Test the output
17407 of "info threads" and "info inferiors".
17409 2014-02-05 Yao Qi <yao@codesourcery.com>
17413 2013-05-24 Yao Qi <yao@codesourcery.com>
17415 * gdb.trace/tfile.exp: Test inferior and thread.
17417 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17419 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17421 * gdb.base/step-bt.c: Call hello via function pointer to make
17422 sure its first instruction is executed on powerpc64le-linux.
17424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17426 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17428 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17430 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17431 of the test patterns for use on little-endian systems.
17433 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17435 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17436 (decimal_vector): Fix for little-endian.
17438 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17440 * gdb.arch/sparc-sysstep.exp: New file.
17441 * gdb.arch/sparc-sysstep.c: Likewise.
17443 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17445 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17447 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17449 2014-01-23 Tom Tromey <tromey@redhat.com>
17451 * gdb.ada/array_char_idx: New testcase.
17453 2014-01-23 Tom Tromey <tromey@redhat.com>
17456 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17457 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17460 2014-01-23 Tom Tromey <tromey@redhat.com>
17463 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17464 string from an inferior frame.
17465 * gdb.python/py-framefilter-mi.exp: Update.
17467 2014-01-22 Doug Evans <dje@google.com>
17469 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17471 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17473 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17475 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17477 * gdb.trace/entry-values.exp: Remove excess space character from
17478 regex patterns. Handle s390 call instruction.
17480 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17482 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17483 define "*_start" label. Make "name" static.
17484 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17485 ${name} by references to ${name}_start.
17487 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17489 * gdb.base/info-macros.exp: Remove "debug" from the compile
17492 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17494 * gdb.dlang/demangle.exp: New file.
17496 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17498 * gdb.dlang/primitive-types.exp: New file.
17500 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17502 * configure.ac: Create gdb.dlang/Makefile.
17503 * configure: Regenerate.
17504 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17505 * gdb.dlang/Makefile.in: New file.
17506 * lib/d-support.exp: New file.
17507 * lib/gdb.exp (skip_d_tests): New proc.
17509 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17511 * gdb.btrace/delta.exp: Check reverse stepi.
17512 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17513 * gdb.btrace/finish.exp: New.
17514 * gdb.btrace/next.exp: New.
17515 * gdb.btrace/nexti.exp: New.
17516 * gdb.btrace/record_goto.c: Add comments.
17517 * gdb.btrace/step.exp: New.
17518 * gdb.btrace/stepi.exp: New.
17519 * gdb.btrace/multi-thread-step.c: New.
17520 * gdb.btrace/multi-thread-step.exp: New.
17521 * gdb.btrace/rn-dl-bind.c: New.
17522 * gdb.btrace/rn-dl-bind.exp: New.
17523 * gdb.btrace/data.c: New.
17524 * gdb.btrace/data.exp: New.
17525 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17527 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17529 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17530 * gdb.btrace/exception.exp: Update.
17531 * gdb.btrace/instruction_history.exp: Update.
17532 * gdb.btrace/record_goto.exp: Update.
17533 * gdb.btrace/tailcall.exp: Update.
17534 * gdb.btrace/unknown_functions.exp: Update.
17535 * gdb.btrace/delta.exp: New.
17537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17539 * gdb.btrace/record_goto.exp: Add backtrace test.
17540 * gdb.btrace/tailcall.exp: Add backtrace test.
17542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17544 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17545 * gdb.btrace/record_goto.c: New.
17546 * gdb.btrace/record_goto.exp: New.
17547 * gdb.btrace/x86-record_goto.S: New.
17549 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17551 * gdb.btrace/function_call_history.exp: Update tests.
17552 * gdb.btrace/instruction_history.exp: Update tests.
17554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17556 * gdb.btrace/function_call_history.exp: Fix expected field
17557 order for "record function-call-history".
17558 Add new tests for "record function-call-history /c".
17559 * gdb.btrace/exception.cc: New.
17560 * gdb.btrace/exception.exp: New.
17561 * gdb.btrace/tailcall.exp: New.
17562 * gdb.btrace/x86-tailcall.S: New.
17563 * gdb.btrace/x86-tailcall.c: New.
17564 * gdb.btrace/unknown_functions.c: New.
17565 * gdb.btrace/unknown_functions.exp: New.
17566 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17570 * gdb.btrace/instruction_history.exp: Update.
17571 * gdb.btrace/function_call_history.exp: Update.
17573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17575 * gdb.btrace/function_call_history.exp: Fix expected function
17577 * gdb.btrace/instruction_history.exp: Initialize traced.
17578 Remove traced_functions.
17580 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17582 * gdb.btrace/function_call_history.exp: Update
17583 * gdb.btrace/instruction_history.exp: Update.
17585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17587 * gdb.btrace/enable.exp: Update expected text.
17589 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17591 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17594 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17596 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17598 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17600 * lib/gdb.exp (supports_process_record): Return true for
17601 arm*-linux*. (supports_reverse): Likewise.
17603 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17607 * gdb.python/py-type.c: Enhance test case.
17608 * gdb.python/py-value-cc.cc: Likewise
17609 * gdb.python/py-type.exp: Add new tests.
17610 * gdb.python/py-value-cc.exp: Likewise
17612 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17613 Pedro Alves <palves@redhat.com>
17615 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17616 Make "name" extern.
17617 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17618 references to ${name}_start by references to ${name}.
17620 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17622 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17624 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17626 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17628 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17629 Pedro Alves <palves@redhat.com>
17631 * gdb.mi/mi-info-os.exp: Connect to the target with
17632 mi_gdb_target_load.
17634 2014-01-08 Pedro Alves <palves@redhat.com>
17636 * gdb.threads/reconnect-signal.c: New file.
17637 * gdb.threads/reconnect-signal.exp: New file.
17639 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17641 * gdb.base/source-dir.exp: New file.
17643 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17645 * gdb.ada/mi_interface: New testcase.
17647 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17649 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17650 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17651 gdb.ada/pp-rec-component/pck.ads: New files.
17653 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17655 * gdb.python/py-pp-integral.c: New file.
17656 * gdb.python/py-pp-integral.py: New file.
17657 * gdb.python/py-pp-integral.exp: New file.
17659 For older changes see ChangeLog-1993-2013.
17661 ;; Local Variables:
17662 ;; mode: change-log
17665 ;; version-control: never
17668 Copyright 2014-2019 Free Software Foundation, Inc.
17669 Copying and distribution of this file, with or without modification,
17670 are permitted provided the copyright notice and this notice are preserved.