1 2020-01-10 Pedro Alves <palves@redhat.com>
3 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4 disconnect before reconnecting.
6 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
7 Pedro Alves <palves@redhat.com>
9 * gdb.server/connect-without-multi-process.exp: Also test
12 2020-01-10 Pedro Alves <palves@redhat.com>
14 * gdb.base/remote-exec-file.exp: New file.
16 2020-01-10 Pedro Alves <palves@redhat.com>
18 * gdb.base/fork-running-state.exp (do_test): Adjust expected
20 * gdb.threads/async.c: New.
21 * gdb.threads/async.exp: New.
22 * gdb.multi/tids-gid-reset.c: New.
23 * gdb.multi/tids-gid-reset.exp: New.
25 2020-01-10 George Barrett <bob@bob131.so>
27 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
28 to help in finding the image relocation offset.
29 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
31 (stap_test_no_debuginfo): Likewise.
32 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
34 (stap_test): Add null semaphore relocation test.
36 2020-01-10 George Barrett <bob@bob131.so>
38 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
39 * gdb.base/stap-probe.exp: Likewise.
40 (stap_test): Pass argument as an additional flag.
41 (stap_test_no_debuginfo): Likewise.
42 (stap_test): Check `info probes stap' output for semaphore
43 addresses if the test binary is supposed to have them.
45 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
47 * gdb.tui/basic.exp: Add more scrolling tests.
49 2020-01-09 Tom Tromey <tom@tromey.com>
52 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
54 (Term::command, Term::resize): Update.
55 * gdb.tui/basic.exp: Add scrolling test.
57 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
59 * gdb.tui/tui-layout-asm.exp: New file.
61 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
63 * lib/tuiterm.exp (Term::check_box_contents): New proc.
65 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
67 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
68 (Term::enter_tui): Use Term::prepare_for_tui.
70 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
72 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
75 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
77 * gdb.base/skip.exp: Fix race condition in test.
79 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
81 * gdb.base/backtrace.c: New file.
82 * gdb.base/backtrace.exp: New file.
84 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
86 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
88 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
90 * gdb.base/style.exp: Test that warnings are styled.
92 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
94 * gdb.base/line65535.exp: New file.
95 * gdb.base/line65535.c: New file.
97 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
99 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
100 * lib/gnat_debug_info_test.adb: New file.
101 * gdb.ada/ptype_tagged_param.exp: Use
102 gnat_runtime_has_debug_info, expect a different output if
103 runtime does not have debug info.
105 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
107 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
108 (another) quote in test name.
110 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
112 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
113 Add quote in test name.
115 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
117 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
119 * gdb.cp/pass-by-ref.exp: Extend with more cases.
120 * gdb.cp/pass-by-ref-2.cc: New file.
121 * gdb.cp/pass-by-ref-2.exp: New file.
123 2019-12-20 Tom Tromey <tom@tromey.com>
125 * gdb.tui/list-before.exp: New file.
127 2019-12-20 Tom Tromey <tom@tromey.com>
129 * gdb.tui/list.exp: Check for source on initial listing.
131 2019-12-11 Tom Tromey <tromey@adacore.com>
133 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
136 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
138 * gdb.base/default.exp: Update value of $_gdb_major.
140 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
142 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
144 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
146 * gdb.base/skip.exp: Whitespace fix.
148 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
150 * gdb.base/skip-inline.c: New file.
151 * gdb.base/skip-inline.exp: New file.
153 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
155 * gdb.base/jit-reader.exp (jit_reader_test): Rename
156 jit_function_00 to jit_function_stack_mangle.
157 * gdb.base/jithost.c (jit_function_t): Rename to...
158 (jit_function_stack_mangle_t): ... this.
159 (jit_function_add_t): New typedef.
160 (jit_function_00_code): Rename to...
161 (jit_function_stack_mangle_code): ... this, make static.
162 (jit_function_add_code): New.
163 (main): Generate "add" function and call it. Adjust to changes
165 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
166 (struct jithost_abi) <begin, end>: Remove fields.
167 <object, function_stack_mangle, function_add>: New fields.
168 * gdb.base/jitreader.c (struct reader_state) <code_begin,
169 code_end>: Remove fields.
170 <func_stack_mangle>: New field.
171 (read_debug_info): Adjust to renaming, create block for "add"
173 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
175 2019-12-11 Tom Tromey <tom@tromey.com>
177 * gdb.tui/resize.exp: Fix regexp.
178 * gdb.tui/regs.exp: Fix regexps.
179 * gdb.tui/main.exp: Fix regexp.
181 2019-12-11 Tom Tromey <tom@tromey.com>
183 * gdb.tui/resize.exp: Update.
184 * gdb.tui/empty.exp (layouts): Update.
186 2019-12-11 Tom Tromey <tom@tromey.com>
188 * gdb.tui/regs.exp: Update.
189 * gdb.tui/empty.exp (layouts): Update.
190 * gdb.tui/basic.exp: Update.
191 * lib/tuiterm.exp (_check_box): Don't check bottom border.
193 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
195 * gdb.base/options.exp: Add -raw-values in the print completion list.
196 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
198 2019-12-10 Kevin Buettner <kevinb@redhat.com>
200 * gdb.threads/omp-par-scope.c: New file.
201 * gdb/threads/omp-par-scope.exp: New file.
203 2019-12-10 Kevin Buettner <kevinb@redhat.com>
205 * lib/gdb.exp (support_nested_function_tests): New proc.
207 2019-12-10 Kevin Buettner <kevinb@redhat.com>
209 * lib/gdb.exp (gdb_compile_openmp): New proc.
210 (build_executable_from_specs): Add an "openmp" option.
211 (gdb_compile_pthreads): Add non-executable case.
213 2019-12-10 Tom Tromey <tromey@adacore.com>
215 * gdb.ada/unchecked_union.exp: New file.
216 * gdb.ada/unchecked_union/pck.adb: New file.
217 * gdb.ada/unchecked_union/pck.ads: New file.
218 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
219 * gdb-utils.exp (string_to_regexp): Also quote "?".
221 2019-12-10 George Barrett <bob@bob131.so>
223 Test scripted probe breakpoints.
224 * gdb.guile/scm-breakpoint.c (main): Add probe point.
225 * gdb.python/py-breakpoint.c (main): Likewise.
226 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
228 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
230 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
232 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
234 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
237 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
239 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
242 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
244 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
245 broken version of GCC.
247 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
249 * gdb.fortran/info-modules.exp: Rewrite to make use of new
250 sym-info-cmds library.
251 * gdb.fortran/info-types.exp: Likewise.
252 * lib/sym-info-cmds.exp: New file.
254 2019-12-08 Tom de Vries <tdevries@suse.de>
256 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
258 2019-12-07 Keith Seitz <keiths@redhat.com>
260 * gdb.base/corefile-buildid-shlib-shr.c: New file.
261 * gdb.base/corefile-buildid-shlib.c: New file.
262 * gdb.base/corefile-buildid.c: New file.
263 * gdb.base/corefile-buildid.exp: New file.
265 2019-12-06 Tom de Vries <tdevries@suse.de>
267 * gdb.dwarf2/varval.exp: Add decl before def test.
269 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
271 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
273 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
275 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
276 CV and reference conversion for overload resolution.
277 * gdb.cp/rvalue-ref-overload.exp: Test it.
279 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
281 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
282 * gdb.base/frameapply.exp: Test faas without command.
284 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
286 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
288 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
291 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
293 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
294 casting to type with no kind specified.
295 (test_basic_parsing_of_type_kinds): Additional tests for types
296 with no kind specified, and add tests for single/double
297 precision/complex types.
299 2019-12-04 Tom Tromey <tromey@adacore.com>
301 * gdb.base/endianity.c (struct other) <x>: New field.
302 (main): Initialize it.
303 * gdb.base/endianity.exp: Update.
305 2019-12-04 Tom Tromey <tromey@adacore.com>
307 * gdb.ada/scalar_storage/storage.adb: New file.
308 * gdb.ada/scalar_storage/pck.adb: New file.
309 * gdb.ada/scalar_storage/pck.ads: New file.
310 * gdb.ada/scalar_storage.exp: New file.
312 2019-12-04 Tom Tromey <tromey@adacore.com>
314 * gdb.base/endianity.c (struct otherendian) <f>: New field.
315 (main): Initialize it.
316 * gdb.base/endianity.exp: Update.
318 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
320 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
322 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
324 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
325 -symbol-info-module-functions and -symbol-info-module-variables.
327 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
329 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
331 2019-12-01 Richard Bunt <richard.bunt@arm.com>
332 Andrew Burgess <andrew.burgess@embecosm.com>
334 * gdb.fortran/derived-type-striding.exp: New file.
335 * gdb.fortran/derived-type-striding.f90: New file.
336 * gdb.fortran/array-slices.exp: New file.
337 * gdb.fortran/array-slices.f90: New file.
339 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
341 * gdb.base/define.exp: Test . in command names.
342 * gdb.base/setshow.exp: Update test, as . is now part of
345 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
347 * gdb.base/define-prefix.exp: New file.
349 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
351 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
353 (skip_btrace_pt_tests): Likewise.
355 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
357 * gdb.fortran/info-modules.exp: Compile source files in correct
360 2019-11-27 Kevin Buettner <kevinb@redhat.com>
362 * gdb.dwarf2/imported-unit.exp: New file.
363 * gdb.dwarf2/imported-unit.c: New file.
365 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
367 * gdb.mi/mi-fortran-modules-2.f90: New file.
368 * gdb.mi/mi-fortran-modules.exp: New file.
369 * gdb.mi/mi-fortran-modules.f90: New file.
371 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
373 * gdb.mi/mi-sym-info-1.c: New file.
374 * gdb.mi/mi-sym-info-2.c: New file.
375 * gdb.mi/mi-sym-info.exp: New file.
377 2019-11-22 Tom Tromey <tromey@adacore.com>
379 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
380 * gdb.ada/tasks/foo.adb: Add another stopping location.
382 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
384 * gdb.base/endianity.c: New test.
385 * gdb.base/endianity.exp: New file.
387 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
389 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
391 2019-11-21 Tom de Vries <tdevries@suse.de>
394 * gdb.base/ui-redirect.exp: Test output of user-defined command.
396 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
398 * gdb.python/py-progspace.exp: Add missing parentheses on some
401 2019-11-19 Tom Tromey <tom@tromey.com>
403 * gdb.tui/winheight.exp: New file.
405 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
407 * gdb.base/ctf-whatis.c: Delete.
408 * gdb.base/ctf-whatis.exp: Delete.
409 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
411 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
413 * gdb.base/ctf-cvexpr.exp: Delete.
414 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
416 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
418 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
419 the compiler. Clean up header comment a little.
420 * gdb.base/ctf-ptype.exp: Likewise.
421 * gdb.base/ctf-whatis.exp: Likewise.
422 * lib/gdb.exp (skip_ctf_tests): New proc.
424 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
426 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
427 * gdb.tui/corefile-run.exp: New file.
429 2019-11-14 Tom Tromey <tromey@adacore.com>
431 * gdb.base/gdbvars.exp (test_convenience_variables): Add
434 2019-11-12 Tom Tromey <tom@tromey.com>
436 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
437 after any command. Expect prompt after WAIT_FOR is seen.
438 (enter_tui): Enable resize messages.
439 (command): Expect command in output.
440 (get_line): Avoid error when cursor appears to be off-screen.
441 (dump_screen): Include screen size in title.
442 (_do_resize): New proc, from "resize".
443 (resize): Rewrite. Do resize in two steps.
444 * gdb.tui/empty.exp (layouts): Fix entries.
445 (check_boxes): Remove xfail.
446 (check_text): Dump screen on failure.
448 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
450 * gdb.python/py-symbol.exp: Add test for
451 gdb.lookup_static_symbols.
453 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
455 * gdb.python/py-symbol.c: Declare and call function from new
457 * gdb.python/py-symbol.exp: Compile both source files, and add new
458 tests for gdb.lookup_static_symbol.
459 * gdb.python/py-symbol-2.c: New file.
461 2019-11-02 Tom de Vries <tdevries@suse.de>
463 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
464 * gdb.base/anon.exp: Same.
465 * gdb.base/auto-connect-native-target.exp: Same.
466 * gdb.base/call-ar-st.exp: Same.
467 * gdb.base/catch-syscall.exp: Same.
468 * gdb.base/commands.exp: Same.
469 * gdb.base/default.exp: Same.
470 * gdb.base/display.exp: Same.
471 * gdb.base/float.exp: Same.
472 * gdb.base/foll-fork.exp: Same.
473 * gdb.base/help.exp: Same.
474 * gdb.base/info-macros.exp: Same.
475 * gdb.base/info-proc.exp: Same.
476 * gdb.base/info-target.exp: Same.
477 * gdb.base/long_long.exp: Same.
478 * gdb.base/macscp.exp: Same.
479 * gdb.base/memattr.exp: Same.
480 * gdb.base/nofield.exp: Same.
481 * gdb.base/pointers.exp: Same.
482 * gdb.base/printcmds.exp: Same.
483 * gdb.base/ptype.exp: Same.
484 * gdb.base/restore.exp: Same.
485 * gdb.base/return.exp: Same.
486 * gdb.base/scope.exp: Same.
487 * gdb.base/set-noassign.exp: Same.
488 * gdb.base/setshow.exp: Same.
489 * gdb.base/shlib-call.exp: Same.
490 * gdb.base/signals.exp: Same.
491 * gdb.base/sigstep.exp: Same.
492 * gdb.base/skip.exp: Same.
493 * gdb.base/solib-symbol.exp: Same.
494 * gdb.base/stap-probe.exp: Same.
495 * gdb.base/step-line.exp: Same.
496 * gdb.base/step-test.exp: Same.
497 * gdb.base/style.exp: Same.
498 * gdb.base/varargs.exp: Same.
499 * gdb.base/vla-datatypes.exp: Same.
500 * gdb.base/vla-ptr.exp: Same.
501 * gdb.base/vla-sideeffect.exp: Same.
502 * gdb.base/volatile.exp: Same.
503 * gdb.base/watch-cond-infcall.exp: Same.
504 * gdb.base/watchpoint.exp: Same.
506 2019-11-02 Tom de Vries <tdevries@suse.de>
508 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
509 * gdb.cp/cpexprs.exp: Same.
510 * gdb.cp/except-multi-location.exp: Same.
511 * gdb.cp/exceptprint.exp: Same.
512 * gdb.cp/gdb2384.exp: Same.
513 * gdb.cp/inherit.exp: Same.
514 * gdb.cp/m-static.exp: Same.
515 * gdb.cp/meth-typedefs.exp: Same.
516 * gdb.cp/misc.exp: Same.
517 * gdb.cp/namespace.exp: Same.
518 * gdb.cp/non-trivial-retval.exp: Same.
519 * gdb.cp/overload.exp: Same.
520 * gdb.cp/pr17132.exp: Same.
521 * gdb.cp/re-set-overloaded.exp: Same.
522 * gdb.cp/rvalue-ref-types.exp: Same.
523 * gdb.cp/templates.exp: Same.
525 2019-11-01 Luis Machado <luis.machado@linaro.org>
529 * gdb.arch/pr25124.S: New file.
530 * gdb.arch/pr25124.exp: New file.
532 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
534 * gdb.fortran/info-modules.exp: Update expected results, and add
535 additional tests for 'info module functinos', and 'info module
537 * gdb.fortran/info-types.exp: Update expected results.
538 * gdb.fortran/info-types.f90: Extend testcase with additional
539 module variables and functions.
541 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
543 * gdb.fortran/info-modules.exp: New file.
544 * gdb.fortran/info-types.exp: Build with new file.
545 * gdb.fortran/info-types.f90: Include and use new module.
546 * gdb.fortran/info-types-2.f90: New file.
548 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
550 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
551 * gdb.base/settings.exp: Test all settings types using
552 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
553 that now verifies that the value of "maint show" is the same as
554 returned by the settings functions. Test the type of the
555 maintenance settings.
556 * gdb.base/default.exp: Update show_conv_list.
558 2019-10-31 Tom de Vries <tdevries@suse.de>
560 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
562 * gdb.arch/amd64-disp-step.exp: Same.
563 * gdb.asm/asm-source.exp: Same.
564 * gdb.btrace/buffer-size.exp: Same.
565 * gdb.btrace/cpu.exp: Same.
566 * gdb.btrace/enable.exp: Same.
567 * gdb.dwarf2/count.exp: Same.
568 * gdb.dwarf2/dw2-ranges-func.exp: Same.
569 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
570 * gdb.fortran/vla-datatypes.exp: Same.
571 * gdb.fortran/vla-history.exp: Same.
572 * gdb.fortran/vla-ptype.exp: Same.
573 * gdb.fortran/vla-value.exp: Same.
574 * gdb.fortran/whatis_type.exp: Same.
575 * gdb.guile/guile.exp: Same.
576 * gdb.multi/tids.exp: Same.
577 * gdb.python/py-finish-breakpoint.exp: Same.
578 * gdb.python/py-framefilter.exp: Same.
579 * gdb.python/py-pp-registration.exp: Same.
580 * gdb.python/py-xmethods.exp: Same.
581 * gdb.python/python.exp: Same.
582 * gdb.server/connect-with-no-symbol-file.exp: Same.
583 * gdb.server/no-thread-db.exp: Same.
584 * gdb.server/run-without-local-binary.exp: Same.
585 * gdb.stabs/weird.exp: Same.
586 * gdb.threads/attach-many-short-lived-threads.exp: Same.
587 * gdb.threads/thread-find.exp: Same.
588 * gdb.threads/tls-shared.exp: Same.
589 * gdb.threads/tls.exp: Same.
590 * gdb.threads/wp-replication.exp: Same.
591 * gdb.trace/ax.exp: Same.
592 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
594 2019-10-31 Tom de Vries <tdevries@suse.de>
596 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
597 * gdb.ada/array_subscript_addr.exp: Same.
598 * gdb.ada/arrayidx.exp: Same.
599 * gdb.ada/arrayparam.exp: Same.
600 * gdb.ada/arrayptr.exp: Same.
601 * gdb.ada/boolean_expr.exp: Same.
602 * gdb.ada/call_pn.exp: Same.
603 * gdb.ada/complete.exp: Same.
604 * gdb.ada/fixed_cmp.exp: Same.
605 * gdb.ada/fun_addr.exp: Same.
606 * gdb.ada/funcall_param.exp: Same.
607 * gdb.ada/interface.exp: Same.
608 * gdb.ada/mod_from_name.exp: Same.
609 * gdb.ada/null_array.exp: Same.
610 * gdb.ada/packed_array.exp: Same.
611 * gdb.ada/packed_tagged.exp: Same.
612 * gdb.ada/print_chars.exp: Same.
613 * gdb.ada/print_pc.exp: Same.
614 * gdb.ada/ptype_arith_binop.exp: Same.
615 * gdb.ada/ptype_field.exp: Same.
616 * gdb.ada/ptype_tagged_param.exp: Same.
617 * gdb.ada/rec_return.exp: Same.
618 * gdb.ada/ref_tick_size.exp: Same.
619 * gdb.ada/str_ref_cmp.exp: Same.
620 * gdb.ada/taft_type.exp: Same.
621 * gdb.ada/tagged.exp: Same.
622 * gdb.ada/type_coercion.exp: Same.
623 * gdb.ada/uninitialized_vars.exp: Same.
625 2019-10-30 Tom de Vries <tdevries@suse.de>
627 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
629 2019-10-26 Tom de Vries <tdevries@suse.de>
631 * gdb.base/bigcore.c: Fix typos in comments.
632 * gdb.base/ctf-ptype.c: Same.
633 * gdb.base/long_long.c: Same.
634 * gdb.dwarf2/dw2-op-out-param.S: Same.
635 * gdb.python/py-evthreads.c: Same.
636 * gdb.reverse/i387-stack-reverse.c: Same.
637 * gdb.trace/tfile.c: Same.
638 * lib/compiler.c: Same.
639 * lib/compiler.cc: Same.
641 2019-10-25 Tom de Vries <tdevries@suse.de>
643 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
644 gdb_test_multiple calls.
645 * gdb.reverse/sigall-reverse.exp: Same.
646 * gdb.reverse/solib-precsave.exp: Same.
647 * gdb.reverse/solib-reverse.exp: Same.
648 * gdb.reverse/until-precsave.exp: Same.
649 * gdb.reverse/until-reverse.exp: Same.
651 2019-10-24 Tom de Vries <tdevries@suse.de>
653 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
654 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
655 kfail using -wrap pattern flag and convenience variable
658 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
660 * gdb.python/py-progspace.exp: Add tests for the
661 Progspace.block_for_pc method.
663 2019-10-23 Tom Tromey <tom@tromey.com>
665 * configure: Rebuild.
666 * aclocal.m4: Use m4_include, not sinclude.
668 2019-10-21 Tom de Vries <tdevries@suse.de>
670 * gdb.base/infcall-nested-structs.c: Add
671 __attribute__((noinline,noclone)) to all functions.
672 (call_all): Add missing variable initialization. Simplify return value.
673 (breakpt): Increment volatile variable, to prevent call from being
675 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
677 2019-10-17 Tom de Vries <tdevries@suse.de>
679 * gdb.fortran/module.exp: Allow info variables to print info for files
680 other than module.f90.
682 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
684 * gdb.fortran/module.exp: Extend with 'info variables' test.
686 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
688 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
691 2019-10-16 Tom de Vries <tdevries@suse.de>
694 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
696 2019-10-16 Tom de Vries <tdevries@suse.de>
699 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
700 Add KFAIL for PR tdep/25096.
702 2019-10-16 Tom de Vries <tdevries@suse.de>
705 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
707 2019-10-16 Tom de Vries <tdevries@suse.de>
709 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
712 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
714 * gdb.mi/list-thread-groups-available.exp: Read entries one by
715 one instead of increasing timeout.
717 2019-10-13 Tom de Vries <tdevries@suse.de>
720 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
721 * gdb.reverse/sigall-reverse.exp: Same.
722 * gdb.reverse/solib-precsave.exp: Same.
723 * gdb.reverse/solib-reverse.exp: Same.
724 * gdb.reverse/step-precsave.exp: Same.
725 * gdb.reverse/until-precsave.exp: Same.
726 * gdb.reverse/until-reverse.exp: Same.
727 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
729 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
731 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
732 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
733 (cmp_struct_05_01, cmp_struct_static_02_01)
734 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
737 2019-10-10 Tom de Vries <tdevries@suse.de>
740 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
743 2019-10-09 Tom de Vries <tdevries@suse.de>
746 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
748 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
750 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
751 exceptions due to missing debug information.
753 2019-10-07 Tom de Vries <tdevries@suse.de>
755 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
757 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
759 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
760 * gdb.base/annota1.exp: Update to use gdb_test_name.
762 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
764 * gdb.base/ctf-whatis.exp: New file.
765 * gdb.base/ctf-whatis.c: New file.
766 * gdb.base/ctf-ptype.exp: New file.
767 * gdb.base/ctf-ptype.c: New file.
768 * gdb.base/ctf-constvars.exp: New file.
769 * gdb.base/ctf-constvars.c: New file.
770 * gdb.base/ctf-cvexpr.exp: New file.
772 2019-10-04 Tom de Vries <tdevries@suse.de>
774 * gdb.cp/local-static.c (main): Move declaration of int i out of the
777 2019-10-03 Tom Tromey <tom@tromey.com>
780 * gdb.rust/simple.rs (Union2): New type.
782 * gdb.rust/simple.exp: Add test.
784 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
786 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
787 nested function prefix.
789 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
790 Richard Bunt <richard.bunt@arm.com>
791 Andrew Burgess <andrew.burgess@embecosm.com>
793 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
795 * gdb.fortran/nested-funcs.f90: Update expected results.
796 * gdb.fortran/nested-funcs-2.exp: New file.
797 * gdb.fortran/nested-funcs-2.f90: New file.
799 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
801 * gdb.python/py-parameter.exp: Make test names unique.
802 * gdb.python/py-template.exp: Likewise.
803 * gdb.python/py-value.exp: Likewise.
805 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
807 * gdb.base/break-interp.exp: Reduce test name duplication.
808 * gdb.base/call-sc.exp: Likewise.
809 * gdb.base/callfuncs.exp: Likewise.
810 * gdb.base/charset.exp: Likewise.
811 * gdb.base/dump.exp: Likewise.
812 * gdb.base/ena-dis-br.exp: Likewise.
813 * gdb.base/relational.exp: Likewise.
814 * gdb.base/step-over-syscall.exp: Likewise.
815 * gdb.base/structs.exp: Likewise.
817 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
819 * gdb.linespec/explicit.exp: Make test names unique.
820 * gdb.linespec/ls-errs.exp: Likewise.
822 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
824 * gdb.reverse/break-precsave.exp: Make test names unique.
825 * gdb.reverse/break-reverse.exp: Likewise.
826 * gdb.reverse/finish-precsave.exp: Likewise.
827 * gdb.reverse/finish-reverse.exp: Likewise.
828 * gdb.reverse/machinestate-precsave.exp: Likewise.
829 * gdb.reverse/machinestate.exp: Likewise.
830 * gdb.reverse/readv-reverse.exp: Likewise.
831 * gdb.reverse/recvmsg-reverse.exp: Likewise.
832 * gdb.reverse/sigall-precsave.exp: Likewise.
833 * gdb.reverse/sigall-reverse.exp: Likewise.
834 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
835 * gdb.reverse/watch-precsave.exp: Likewise.
836 * gdb.reverse/watch-reverse.exp: Likewise.
838 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
840 * gdb.threads/stop-with-handle.c: New file.
841 * gdb.threads/stop-with-handle.exp: New file.
843 2019-10-03 Tom de Vries <tdevries@suse.de>
846 * gdb.base/list-missing-source.exp: Allowing the "Compilation
847 directory" line to be missing.
849 2019-10-03 Tom de Vries <tdevries@suse.de>
852 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
855 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
857 * gdb.python/py-format-string.c (string.h): New include.
858 (main): Fill a_struct_with_union.the_union.an_int with bytes of
859 the same value, for endianness-independence.
860 * gdb.python/py-format-string.exp (default_regexp_dict)
861 (test_pretty_structs, test_format): Adjust expected output to the
862 changed initialization.
864 2019-10-02 Tom Tromey <tromey@adacore.com>
866 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
868 2019-10-02 Pedro Alves <palves@redhat.com>
869 Andrew Burgess <andrew.burgess@embecosm.com>
871 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
873 (this_version_id) Use ATTRIBUTE_VISIBILITY.
874 (get_version_1): Print this_version_id and its address.
875 Add extern "C" wrappers around interface functions.
876 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
878 (this_version_id) Use ATTRIBUTE_VISIBILITY.
879 (get_version_2): Print this_version_id and its address.
880 Add extern "C" wrappers around interface functions.
881 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
882 <stddef.h> and "print-file-var.h".
883 Add extern "C" wrappers around interface functions.
884 [VERSION_ID_MAIN] (this_version_id): Define.
885 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
886 * gdb.base/print-file-var.h: Add some #defines to simplify setting
887 up extern "C" blocks.
888 * gdb.base/print-file-var.exp (test): New, factored out from top
890 (top level): Test all combinations of attribute hidden or not,
891 dlopen or not, and this_version_id symbol in main file or not.
892 Compile tests as both C++ and C, make test names unique.
894 2019-10-01 Tom Tromey <tom@tromey.com>
896 * gdb.base/style.exp: Test "show logging filename".
898 2019-10-01 Tom Tromey <tom@tromey.com>
900 * lib/gdb-utils.exp (style): Handle "metadata" argument.
901 * gdb.base/style.exp: Add metadata style test.
903 2019-10-01 Tom Tromey <tom@tromey.com>
905 * gdb.base/style.exp: Test "pwd".
907 2019-10-01 Tom Tromey <tom@tromey.com>
909 * gdb.base/style.exp: Update tests.
911 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
913 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
915 (s1): Initialize fields 'four' and 'six' instead of 'three' and
916 'five'. Use an all-ones bit pattern for each.
917 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
918 to its changed values.
920 2019-09-30 Tom Tromey <tromey@adacore.com>
922 * gdb.rust/traits.rs: Disable all warnings.
924 2019-09-29 Tom de Vries <tdevries@suse.de>
926 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
928 2019-09-29 Tom de Vries <tdevries@suse.de>
930 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
932 2019-09-27 Tom de Vries <tdevries@suse.de>
934 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
936 2019-09-27 Tom de Vries <tdevries@suse.de>
939 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
941 2019-09-26 Tom Tromey <tromey@adacore.com>
943 * gdb.ada/py_taft.exp: New file.
944 * gdb.ada/py_taft/main.adb: New file.
945 * gdb.ada/py_taft/pkg.adb: New file.
946 * gdb.ada/py_taft/pkg.ads: New file.
948 2019-09-24 Tom de Vries <tdevries@suse.de>
951 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
953 2019-09-22 Tom de Vries <tdevries@suse.de>
955 * gdb.base/restore.exp: Allow register variables to be optimized out at
958 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
960 * gdb.arch/spu-info.exp: Remove file.
961 * gdb.arch/spu-info.c: Remove file.
962 * gdb.arch/spu-ls.exp: Remove file.
963 * gdb.arch/spu-ls.c: Remove file.
965 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
966 * gdb.asm/spu.inc: Remove file.
968 * gdb.base/dump.exp: Remove support for spu*-*-*.
969 * gdb.base/stack-checking.exp: Likewise.
970 * gdb.base/overlays.exp: Likewise.
971 * gdb.base/ovlymgr.c: Likewise.
972 * gdb.base/spu.ld: Remove file.
974 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
975 * gdb.cp/cpexprs.exp: Likewise.
976 * gdb.cp/exception.exp: Likewise.
977 * gdb.cp/gdb2495.exp: Likewise.
978 * gdb.cp/mb-templates.exp: Likewise.
979 * gdb.cp/pr9167.exp: Likewise.
980 * gdb.cp/userdef.exp: Likewise.
982 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
984 * gdb.cell: Remove directory.
985 * lib/cell.exp: Remove file.
987 2019-09-19 Tom de Vries <tdevries@suse.de>
989 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
991 2019-09-19 Tom de Vries <tdevries@suse.de>
993 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
995 2019-09-19 Tom de Vries <tdevries@suse.de>
997 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
998 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
999 (gdb_target_cmd): ... here.
1000 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1003 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1005 * gdb.base/source-dir.exp: Avoid having directory names in test
1008 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1010 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1013 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1015 * gdb.base/list-missing-source.exp: New file.
1017 2019-09-14 Tom de Vries <tdevries@suse.de>
1020 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1021 * lib/ada.exp (gnatmake_version_at_least): New proc.
1023 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1025 * gdb.base/maint.exp: Use exec_has_index_section.
1027 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1029 * gdb.base/maint.exp: Add test for 'maint info sections'.
1031 2019-09-12 Tom de Vries <tdevries@suse.de>
1033 * gdb.base/store.exp: Allow register variables to be optimized out at
1036 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1038 * gdb.ada/rdv_wait.exp: Update to new task names.
1039 * gdb.base/task_switch_in_core.exp: Likewise.
1040 * gdb.base/info_sources_base.c: Likewise.
1042 2019-09-10 Tom Tromey <tromey@adacore.com>
1044 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1046 2019-09-10 Tom Tromey <tromey@adacore.com>
1048 * gdb.ada/dgopt.exp: New file.
1049 * gdb.ada/dgopt/x.adb: New file.
1051 2019-09-08 Tom Tromey <tom@tromey.com>
1053 * gdb.tui/resize.exp: Remove setup_xfail.
1054 * gdb.tui/regs.exp: Remove setup_xfail.
1055 * gdb.tui/basic.exp: Remove setup_xfail.
1057 2019-09-06 David Blaikie <dblaikie@gmail.com>
1059 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1060 * gdb.cp/cplabel.exp: Ditto.
1061 * gdb.linespec/ls-errs.exp: Ditto.
1063 2019-09-05 Tom de Vries <tdevries@suse.de>
1065 * lib/gdb.exp (cmp_file_string): New proc.
1066 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1067 runto_main. Verify save breakpoints output.
1069 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1071 * gdb.base/info-var.exp: Test info variables without running
1072 to main, to avoid expect's buffer overflow.
1074 2019-09-03 Tom Tromey <tromey@adacore.com>
1076 * gdb.ada/bias.exp: New file.
1077 * gdb.ada/bias/bias.adb: New file.
1078 * gdb.ada/print_chars.exp: Add regression test.
1079 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1082 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1084 * gdb.base/argv0-symlink.exp: Run only on native target
1087 2019-08-29 Tom de Vries <tdevries@suse.de>
1089 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1091 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1093 2019-08-28 Tom de Vries <tdevries@suse.de>
1095 * gdb.base/info-var.exp: Allow info variables to print info for files
1096 other than info-var-f1.c and info-var-f2.c.
1098 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1100 * gdb.fortran/info-types.exp: Add module.
1101 * gdb.fortran/info-types.f90: Update expected results.
1103 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1105 * gdb.fortran/info-types.exp: New file.
1106 * gdb.fortran/info-types.f90: New file.
1107 * lib/fortran.exp (fortran_character1): New proc.
1109 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1111 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1112 functions'. Reindent as needed.
1113 * gdb.base/info-var-f1.c: New file.
1114 * gdb.base/info-var-f2.c: New file.
1115 * gdb.base/info-var.exp: New file.
1116 * gdb.base/info-var.h: New file.
1118 2019-08-26 Tom de Vries <tdevries@suse.de>
1121 * gdb.cp/no-libstdcxx-probe.exp: New test.
1123 2019-08-26 Tom de Vries <tdevries@suse.de>
1125 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1126 * tests need to be skipped.
1127 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1128 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1129 mi_skip_libstdcxx_probe_tests.
1131 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1133 * gdb.python/py-xmethods.exp: Use raw strings when passing
1134 arguments to SimpleXMethodMatcher.
1136 2019-08-22 Tom de Vries <tdevries@suse.de>
1138 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1141 2019-08-21 Pedro Alves <palves@redhat.com>
1143 * gdb.base/with.exp: Test "with" with no arguments.
1145 2019-08-21 Tom de Vries <tdevries@suse.de>
1147 * gdb.base/gdb-caching-proc.exp: Sort files.
1149 2019-08-20 Tom de Vries <tdevries@suse.de>
1151 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1154 2019-08-16 Tom de Vries <tdevries@suse.de>
1156 * gdb.base/compare-sections.exp ("after run to main"): Allow
1157 mismatched read-only sections for PIE executables.
1159 2019-08-16 Tom Tromey <tom@tromey.com>
1161 * lib/tuiterm.exp (_csi_Z): New proc.
1162 * gdb.tui/basic.exp: Update window positions.
1163 * gdb.tui/empty.exp: Update window positions.
1165 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1167 * gdb.base/examine-backward.exp: Correct regexp for
1168 "examine 3 bytes backward from ${address_zero}".
1170 2019-08-15 Tom Tromey <tom@tromey.com>
1172 * gdb.tui/empty.exp: Enable resizing tests.
1174 2019-08-15 Tom Tromey <tromey@adacore.com>
1176 * gdb.ada/char_enum.exp: Add regression tests.
1177 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1179 (Char, Gchar): Update.
1180 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1182 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1184 * gdb.python/python.exp: Expect a leading underscore on
1185 GdbOutput{,Error}File.
1187 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1189 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1192 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1194 * gdb.base/batch-preserve-term-settings.exp
1195 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1197 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1199 * lib/gdb.exp: When running on a mingw target, replace
1202 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1204 * gdb.arch/aarch64-prologue.c: New test.
1205 * gdb.arch/aarch64-prologue.exp: New file.
1207 2019-08-13 Tom de Vries <tdevries@suse.de>
1209 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1212 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1214 * gdb.python/py-completion.exp: Download the .py file to the host
1215 and use its host pathname. Conditionalize tests that use
1216 tab completion and manipulate files on the build machine.
1217 * gdb.python/py-events.exp: Download the .py file to the host
1218 and use its host pathname.
1219 * gdb.python/py-evsignal.exp: Likewise.
1220 * gdb.python/py-evthreads.exp: Likewise.
1221 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1223 * gdb.python/py-framefilter.exp: Download the .py file to the right
1224 place on the host. Match Windows pathname syntax.
1225 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1226 .py file to the host and use its host pathname.
1227 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1228 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1229 build pathname. Skip symlink test on Windows host. Add missing
1230 newline at end of file.
1231 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1232 and use its host pathname.
1233 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1234 * gdb.python/py-section-script.exp: Use host location of binfile
1235 on safe-path. Use correct path separator on Windows host.
1236 Reorder alternatives in gdb_test_multiple to prevent matching
1237 the wrong alternative on success.
1238 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1240 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1242 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1243 expect the GDB inferior to no longer immediately stop after
1244 being resumed with "signal SIGINT".
1246 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1248 * gdb.linespec/break-ask.exp: Generalize regexps to match
1249 Windows pathnames too.
1251 2019-08-08 Tom de Vries <tdevries@suse.de>
1254 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1256 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1258 * gdb.base/style.exp: Update tests for help doc new invariants.
1259 * gdb.base/help.exp: Likewise.
1261 2019-08-06 Tom Tromey <tom@tromey.com>
1263 * gdb.base/style.exp: Add disassemble test.
1264 * gdb.base/style.c (some_called_function): New function.
1267 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1269 * gdb.python/py-block.exp: Test dictionary access on blocks.
1271 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1274 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1275 -list-thread-groups --available test when running under
1278 2019-08-05 Tom de Vries <tdevries@suse.de>
1281 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1282 * gdb.base/help.exp: Use with_read1_timeout_factor.
1283 * gdb.base/info-macros.exp: Same.
1284 * gdb.cp/nested-types.exp: Same.
1286 2019-08-05 Tom de Vries <tdevries@suse.de>
1288 * lib/gdb.exp (version_at_least): Factor out of ...
1289 (tcl_version_at_least): ... here.
1290 (gdb_compile): Fail if pie results in non-PIE executable.
1291 (readelf_version, readelf_prints_pie): New proc.
1292 (exec_is_pie): Return -1 if unknown.
1294 2019-08-05 Tom de Vries <tdevries@suse.de>
1296 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1298 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1300 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1302 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1304 * lib/completion-support.exp (test_gdb_complete_none): Skip
1305 tab completion tests if no readline support.
1306 (test_gdb_complete_unique_re): Likewise.
1307 (test_gdb_complete_multiple): Likewise.
1309 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1311 * gdb.base/info_sources.exp: New file.
1312 * gdb.base/info_sources.c: New file.
1313 * gdb.base/info_sources_base.c: New file.
1315 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1317 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1319 (test_exit_status): Add prefix argument.
1321 2019-08-01 Tom de Vries <tdevries@suse.de>
1324 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1325 calling exp_continue for new thread and thread exited messages.
1327 2019-08-01 Tom de Vries <tdevries@suse.de>
1330 * gdb.base/structs.exp: Fix check-read1 timeout using
1332 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1334 2019-08-01 Tom de Vries <tdevries@suse.de>
1337 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1340 2019-08-01 Tom de Vries <tdevries@suse.de>
1343 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1345 2019-07-30 Tom Tromey <tromey@adacore.com>
1347 * gdb.ada/display_nested.exp: New file.
1348 * gdb.ada/display_nested/foo.adb: New file.
1349 * gdb.ada/display_nested/pack.adb: New file.
1350 * gdb.ada/display_nested/pack.ads: New file.
1352 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1354 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1356 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1358 2019-07-30 Tom de Vries <tdevries@suse.de>
1360 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1363 2019-07-30 Tom de Vries <tdevries@suse.de>
1366 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1367 (exec_is_pie): New proc.
1369 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1371 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1373 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1375 * gdb.python/py-objfile.c: Add global and static vars.
1376 * gdb.python/py-objfile.exp: Test new functions Objfile.
1377 lookup_global_symbol and lookup_static_symbol.
1379 2019-07-29 Tom Tromey <tom@tromey.com>
1381 * lib/tuiterm.exp (Term::_csi_@): New proc.
1382 (Term::_csi_X): Don't move cursor.
1384 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1386 * gdb.base/options.exp: Update backtrace - completion to
1387 new option -frame-info.
1388 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1389 Test new 'set print frame-info'. Test backtrace -frame-info
1390 overriding 'set print frame-info'.
1391 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1392 Test new 'set print frame-info'.
1393 Verify consistency of backtrace with and without filters, with and
1394 without -no-filters.
1395 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1398 2019-07-29 Tom de Vries <tdevries@suse.de>
1400 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1403 2019-07-29 Tom de Vries <tdevries@suse.de>
1405 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1406 is a substring of the first for "complete non-unique file name".
1408 2019-07-29 Tom de Vries <tdevries@suse.de>
1410 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1413 2019-07-29 Tom de Vries <tdevries@suse.de>
1415 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1416 Pass prompt_regexp parameter to gdb_test_multiple calls.
1418 2019-07-29 Tom de Vries <tdevries@suse.de>
1420 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1421 print registers" regexps.
1423 2019-07-29 Tom de Vries <tdevries@suse.de>
1425 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1427 2019-07-29 Tom de Vries <tdevries@suse.de>
1430 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1431 (skip_python_tests_prompt): Add prompt_regexp argument to
1432 gdb_test_multiple calls.
1434 2019-07-27 Tom Tromey <tom@tromey.com>
1436 * gdb.tui/main.exp: New file.
1438 2019-07-27 Tom Tromey <tom@tromey.com>
1440 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1442 * gdb.tui/empty.exp: New file.
1444 2019-07-27 Tom Tromey <tom@tromey.com>
1446 * lib/tuiterm.exp (spawn): New proc.
1447 (Term::resize): New proc.
1448 * gdb.tui/resize.exp: New file.
1450 2019-07-27 Tom Tromey <tom@tromey.com>
1452 * gdb.tui/list.exp: New file.
1454 2019-07-27 Tom Tromey <tom@tromey.com>
1456 * gdb.tui/regs.exp: New file.
1458 2019-07-27 Tom Tromey <tom@tromey.com>
1460 * gdb.tui/basic.exp: Add "layout split" test.
1462 2019-07-27 Tom Tromey <tom@tromey.com>
1464 * gdb.tui/basic.exp: Add "layout asm" test.
1466 2019-07-27 Tom Tromey <tom@tromey.com>
1468 * lib/tuiterm.exp: New file.
1469 * gdb.tui/basic.exp: New file.
1471 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1473 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1474 Enable tests associated with this flag. Adjust regex
1475 referencing "foo_low" to now refer to "foo_cold" instead.
1477 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1479 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1480 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1481 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1482 foo_cold. Revise comments to match.
1483 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1484 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1485 were wrapped into this proc; Call do_test in loop from outermost
1487 (foo_low): Rename all occurrences to "foo_cold".
1488 (backtrace from baz): New test.
1489 (x2/i foo_cold): New test.
1490 (info line *foo_cold): New test.
1492 2019-07-26 Tom de Vries <tdevries@suse.de>
1494 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1496 2019-07-25 Tom de Vries <tdevries@suse.de>
1499 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1500 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1501 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1502 (skip_libstdcxx_probe_tests): ... here.
1503 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1505 2019-07-24 Tom de Vries <tdevries@suse.de>
1508 * gdb.objc/basicclass.m: Include stdio.h.
1509 * gdb.objc/nondebug.m: Same.
1510 * gdb.objc/objcdecode.m: Same.
1512 2019-07-24 Tom de Vries <tdevries@suse.de>
1515 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1518 2019-07-24 Tom de Vries <tdevries@suse.de>
1521 * gdb.multi/tids.exp: Update error messages for info threads.
1523 2019-07-24 Tom de Vries <tdevries@suse.de>
1525 * gdb.base/info-types.exp: Allow info types to print info for more than
1528 2019-07-23 Tom de Vries <tdevries@suse.de>
1531 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1532 gdb_spawn_with_cmdline_opts.
1534 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1536 * gdb.arch/arm-cmse-sgstubs.c: New test.
1537 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1539 2019-07-23 Tom de Vries <tdevries@suse.de>
1542 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1543 issuing next command.
1545 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1547 * gdb.ada/info_auto_lang.exp: Update expected results.
1548 * gdb.base/info-types.c: Add additional types to check.
1549 * gdb.base/info-types.exp: Update expected results.
1551 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1553 * gdb.base/info-types.c: New file.
1554 * gdb.base/info-types.exp: New file.
1556 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1558 * gdb.arch/riscv-bp-infcall.c: New file.
1559 * gdb.arch/riscv-bp-infcall.exp: New file.
1561 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1563 PR breakpoints/24541
1564 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1566 2019-07-14 Tom de Vries <tdevries@suse.de>
1569 * gdb.objc/basicclass.exp: Fix unterminated string.
1571 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1572 Andrew Burgess <andrew.burgess@embecosm.com>
1574 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1575 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1577 * gdb.fortran/vla-value.exp: Print elements of an array with
1579 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1582 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1584 * gdb.base/options.exp (expect_string): Dequote strings in
1586 (test-string): Test strings with different quoting and reindent.
1588 2019-07-10 Tom Tromey <tromey@adacore.com>
1590 * gdb.ada/mi_ex_cond.exp: Update expected results.
1591 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1592 * gdb.ada/mi_catch_ex.exp: Update expected results.
1593 * gdb.ada/mi_catch_assert.exp: Update expected results.
1594 * gdb.ada/catch_ex.exp (catch_exception_info)
1595 (catch_exception_entry, catch_assert_entry)
1596 (catch_unhandled_entry): Update.
1597 * gdb.ada/catch_assert_if.exp: Update expected results.
1599 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1600 Stephen Roberts <stephen.roberts@arm.com>
1602 * gdb.base/define.exp: Restore original prompt.
1604 2019-07-09 Pedro Alves <palves@redhat.com>
1606 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1607 breakpoints" output.
1608 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1609 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1610 throw" creates breakpoint.
1611 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1612 'type="catchpoint"'.
1614 2019-07-09 Pedro Alves <palves@redhat.com>
1617 * gdb.cp/except-multi-location-lib.cc: New.
1618 * gdb.cp/except-multi-location-main.cc: New.
1619 * gdb.cp/except-multi-location.exp: New.
1621 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1623 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1624 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1625 argument and update callers.
1627 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1629 * gdb.arch/amd64-break-on-asm-line.S: New file.
1630 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1632 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1634 * gdb.base/printcmds.exp: Test printing C string and
1635 C wide string convenience vars without transiting via the inferior.
1636 Also make test names unique.
1638 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1640 PR breakpoints/25011
1641 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1643 2019-07-04 Pedro Alves <palves@redhat.com>
1645 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1646 body returned ok(0), break(3) or continue(4).
1647 * gdb.testsuite/foreach_with_prefix.exp: New file.
1649 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1651 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1653 2019-07-03 Pedro Alves <palves@redhat.com>
1655 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1658 2019-07-03 Pedro Alves <palves@redhat.com>
1661 * gdb.base/shell.exp: Load completion-support.exp.
1662 Adjust expected error output. Add completion tests.
1664 2019-07-03 Pedro Alves <palves@redhat.com>
1666 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1669 2019-07-03 Pedro Alves <palves@redhat.com>
1671 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1672 (expect_integer): Adjust to expect "-string".
1673 (expect_string): New.
1674 (all_options): Expect "-string".
1675 (test-flag, test-boolean): Adjust to expect "-string".
1676 (test-string): New proc.
1677 (top level): Call it.
1679 2019-07-03 Pedro Alves <palves@redhat.com>
1681 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1682 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1683 the expected output in the success.
1685 2019-07-03 Pedro Alves <palves@redhat.com>
1687 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1688 Split one gdb_test_multiple call in two to avoid a race.
1690 2019-07-03 Pedro Alves <palves@redhat.com>
1692 * gdb.base/with.c: New file.
1693 * gdb.base/with.exp: New file.
1695 2019-07-03 Pedro Alves <palves@redhat.com>
1697 * gdb.base/settings.exp: Replace all references to "maint
1698 test-settings set" with references to "maint set test-settings",
1699 and all references to "maint test-settings show" with references
1700 to "maint show test-settings".
1702 2019-07-03 Pedro Alves <palves@redhat.com>
1704 * gdb.base/settings.exp (test-string): Adjust expected out when
1705 testing "maint test-settings show filename"
1707 2019-07-02 Pedro Alves <palves@redhat.com>
1709 * gdb.base/options.exp (test-info-threads): New procedure.
1710 (top level): Call it.
1712 2019-06-28 Tom Tromey <tromey@adacore.com>
1714 * gdb.dwarf2/ada-linkage-name.c: New file.
1715 * gdb.dwarf2/ada-linkage-name.exp: New file.
1717 2019-06-27 Tom Tromey <tromey@adacore.com>
1720 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1722 2019-06-26 Tom de Vries <tdevries@suse.de>
1724 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1726 2019-06-26 Tom de Vries <tdevries@suse.de>
1728 * gdb.base/index-cache.exp: Add back missing debug option.
1730 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1732 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1734 2019-06-25 Tom de Vries <tdevries@suse.de>
1737 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1739 2019-06-24 Tom de Vries <tdevries@suse.de>
1741 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1743 2019-06-24 Tom de Vries <tdevries@suse.de>
1745 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1746 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1747 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1749 2019-06-24 Tom de Vries <tdevries@suse.de>
1751 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1753 2019-06-21 Tom de Vries <tdevries@suse.de>
1755 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1757 2019-06-21 Tom de Vries <tdevries@suse.de>
1761 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1764 2019-06-19 Tom Tromey <tromey@adacore.com>
1766 * gdb.ada/length_cond.exp: Add intro comment.
1768 2019-06-19 Tom Tromey <tromey@adacore.com>
1770 * gdb.ada/length_cond.exp: New file.
1771 * gdb.ada/length_cond/length_cond.adb: New file.
1772 * gdb.ada/length_cond/pck.adb: New file.
1773 * gdb.ada/length_cond/pck.ads: New file.
1775 2019-06-18 Tom de Vries <tdevries@suse.de>
1777 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1779 2019-06-18 Tom Tromey <tromey@adacore.com>
1781 * gdb.base/list0.h: Add comment explaining control character.
1783 2019-06-18 Tom de Vries <tdevries@suse.de>
1785 * boards/fission.exp: Break up long debug_flags line.
1787 2019-06-16 Tom de Vries <tdevries@suse.de>
1790 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1793 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1796 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1797 improve detection of bug gdb/24541.
1799 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1802 * gdb.base/index-cache.exp (uses_readnow,
1803 expecting_index_cache_use): Define global variable.
1804 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1805 expecting_index_cache_use.
1807 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1808 Andrew Burgess <andrew.burgess@embecosm.com>
1810 * gdb.fortran/pointers.f90: New file.
1811 * gdb.fortran/print_type.exp: New file.
1812 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1813 * gdb.fortran/vla-type.exp: Likewise.
1814 * gdb.fortran/vla-value.exp: Likewise.
1815 * gdb.mi/mi-vla-fortran.exp: Likewise.
1817 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1819 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1820 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1821 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1824 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1826 * gdb.base/annota1.exp: Update expected results.
1827 * gdb.cp/annota2.exp: Likewise.
1828 * gdb.cp/annota3.exp: Likewise.
1830 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1832 * gdb.base/style-logging.exp: Remove path from test name.
1834 2019-06-14 Tom Tromey <tromey@adacore.com>
1837 * gdb.base/style-logging.exp: New file.
1839 2019-06-14 Tom Tromey <tromey@adacore.com>
1841 * gdb.base/symfile-warn.exp: New file.
1842 * gdb.base/symfile-warn.c: New file.
1844 2019-06-14 Tom Tromey <tromey@adacore.com>
1846 * gdb.base/annotate-symlink.exp: New file.
1848 2019-06-14 Tom Tromey <tromey@adacore.com>
1850 * gdb.ada/set_wstr.exp: Add reassignment test.
1852 2019-06-14 Tom Tromey <tromey@adacore.com>
1854 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1855 'unchecked_access and 'unrestricted_access as well.
1857 2019-06-14 Tom Tromey <tromey@adacore.com>
1860 * gdb.ada/vla.exp: Update tests.
1861 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1864 2019-06-13 Pedro Alves <palves@redhat.com>
1866 * gdb.base/settings.exp (test-integer): Test junk after
1869 2019-06-13 Pedro Alves <palves@redhat.com>
1871 * gdb.base/options.exp (test-thread-apply): New.
1872 (top level): Call it.
1874 2019-06-13 Pedro Alves <palves@redhat.com>
1876 * gdb.base/options.exp (test-frame-apply): New.
1877 (top level): Test print commands with different "frame apply"
1880 2019-06-13 Pedro Alves <palves@redhat.com>
1882 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1883 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1884 'max_completions' parameter and handle it.
1885 (test_gdb_completion_offers_commands): New.
1887 2019-06-13 Pedro Alves <palves@redhat.com>
1889 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1891 2019-06-13 Pedro Alves <palves@redhat.com>
1893 * gdb.base/options.exp (test-backtrace): New.
1894 (top level): Call it.
1896 2019-06-13 Pedro Alves <palves@redhat.com>
1898 * gdb.guile/scm-frame-args.exp: Use "set print
1899 raw-frame-arguments" instead of "set print raw frame-arguments".
1900 * gdb.python/py-frame-args.exp: Likewise.
1902 2019-06-13 Pedro Alves <palves@redhat.com>
1904 * gdb.compile/compile.exp: Adjust expected output to option
1907 2019-06-13 Pedro Alves <palves@redhat.com>
1909 * gdb.base/options.exp: Build executable.
1910 (test-print): New procedure.
1911 (top level): Call it, once for "print" and another for "compile
1914 2019-06-13 Pedro Alves <palves@redhat.com>
1916 * gdb.base/options.c: New file.
1917 * gdb.base/options.exp: New file.
1919 2019-06-13 Pedro Alves <palves@redhat.com>
1921 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1922 that "o" is ambiguous.
1924 2019-06-13 Pedro Alves <palves@redhat.com>
1926 * gdb.base/settings.c: New file.
1927 * gdb.base/settings.exp: New file.
1929 2019-06-13 Pedro Alves <palves@redhat.com>
1931 * gdb.base/completion.exp: Fix comment typo.
1933 2019-06-13 Pedro Alves <palves@redhat.com>
1935 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1938 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1940 * gdb.fortran/block-data.f: New.
1941 * gdb.fortran/block-data.exp: New.
1943 2019-06-11 Tom de Vries <tdevries@suse.de>
1946 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1949 2019-06-11 Tom de Vries <tdevries@suse.de>
1952 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1954 2019-06-11 Tom de Vries <tdevries@suse.de>
1956 * boards/readnow.exp: New file.
1958 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1960 * gdb.fortran/vla-sizeof.exp: Update expected results.
1962 2019-06-06 Amos Bird <amosbird@gmail.com>
1964 * gdb.base/annota1.exp (thread_switch): Add test for
1965 thread-exited annotation.
1967 2019-06-06 Tom Tromey <tromey@adacore.com>
1969 * gdb.base/maint.exp: Expect command started/finished output.
1971 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1973 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1975 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1977 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1979 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1980 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1981 * gdb.arch/riscv-unwind-long-insn.c: New file.
1982 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1984 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1986 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1988 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1990 * lib/gdb.exp (help_list_trailer): New regexp variable
1991 factorizing the help trailer message.
1992 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1993 arg to allow to better factorize various tests.
1994 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1995 (test_prefix_command_help): Use help_list_trailer.
1996 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1997 * gdb.guile/scm-cmd.exp: Likewise.
1998 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1999 * gdb.base/help.exp: Use test_user_defined_class_help.
2000 * gdb.base/style.exp: Add tests for styling of help and apropos.
2001 * lib/gdb-utils.exp (style): Add title and highlight styles.
2003 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2005 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2007 * gdb.base/default.exp: Update for new convenience variables.
2009 2019-05-29 Tom Tromey <tromey@adacore.com>
2011 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2012 to "break complete ada" test case's regexp.
2014 2019-05-29 Tom Tromey <tromey@adacore.com>
2017 * gdb.cp/constexpr-field.exp: New file.
2018 * gdb.cp/constexpr-field.cc: New file.
2020 2019-05-29 Tom Tromey <tromey@adacore.com>
2022 * gdb.base/finish.exp (finish_no_print): New proc.
2023 (finish_tests): Call it.
2025 2019-05-24 Tom de Vries <tdevries@suse.de>
2027 * gdb.dwarf2/gdb-add-index.exp: New file.
2029 2019-05-22 Tom Tromey <tromey@adacore.com>
2031 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2032 * gdb.base/style.exp: Use "style".
2033 * lib/gdb-utils.exp (style): New proc.
2035 2019-05-22 Tom de Vries <tdevries@suse.de>
2037 * gdb.base/align.exp: Require c++11.
2039 2019-05-22 Tom de Vries <tdevries@suse.de>
2042 * gdb.python/py-mi-var-info-path-expression.exp: Call
2043 mi_skip_python_tests to check if python is supported.
2045 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2047 * gdb.arch/aarch64-pauth.c: New test.
2048 * gdb.arch/aarch64-pauth.exp: New file.
2050 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2052 * README (Re-running Tests Outside The Testsuite): New section.
2054 2019-05-21 Tom de Vries <tdevries@suse.de>
2056 * gdb.arch/amd64-eval.exp: Require c++11.
2057 * gdb.base/max-depth.exp: Same.
2058 * gdb.compile/compile-cplus-array-decay.exp: Same.
2059 * gdb.cp/meth-typedefs.exp: Same.
2060 * gdb.cp/subtypes.exp: Same.
2061 * gdb.cp/temargs.exp: Same.
2063 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2065 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2067 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2070 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2071 * gdb.fortran/printing-types.exp: Add new test.
2072 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2074 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2077 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2079 * README (Running the Testsuite): Change example.
2080 (Testsuite Parameters): Remove TRANSCRIPT.
2081 * lib/gdb.exp: Remove TRANSCRIPT check.
2083 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2085 * README (Testsuite Parameters): Add replay logging to
2087 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2088 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2089 as a comma separated list.
2090 (gdb_debug_init): Override procedure.
2092 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2094 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2095 (gdb_write_cmd_file): New procedure.
2096 * lib/gdbserver-support.exp (gdbserver_start): Call
2097 gdbserver_write_cmd_file.
2098 (gdbserver_write_cmd_file): New procedure.
2100 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2102 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2103 (delete_breakpoints): Likewise.
2104 (gdb_run_cmd): Likewise.
2105 (gdb_start_cmd): Likewise.
2106 (gdb_starti_cmd): Likewise.
2107 (gdb_internal_error_resync): Likewise.
2108 (gdb_test_multiple): Likewise.
2109 (gdb_reinitialize_dir): Likewise.
2110 (default_gdb_exit): Likewise.
2111 (gdb_file_cmd): Mark kill as optional.
2112 (default_gdb_start): Call gdb_stdin_log_init.
2113 (send_gdb): Call gdb_stdin_log_write.
2114 (rerun_to_main): Mark Y as an answer.
2115 (gdb_stdin_log_init): New function.
2116 (gdb_stdin_log_write): Likewise.
2118 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2120 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2121 * gdb.base/debug-expr.exp: Likewise.
2122 * gdb.base/foll-fork.exp: Likewise.
2123 * gdb.base/foll-vfork.exp: Likewise.
2124 * gdb.base/fork-print-inferior-events.exp: Likewise.
2125 * gdb.base/gdb-sigterm.exp: Likewise.
2126 * gdb.base/gdbinit-history.exp: Likewise.
2127 * gdb.base/osabi.exp: Likewise.
2128 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2129 * gdb.base/ui-redirect.exp: Likewise.
2130 * gdb.gdb/unittest.exp: Likewise.
2131 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2132 * gdb.mi/mi-watch.exp: Likewise.
2133 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2134 * gdb.mi/user-selected-context-sync.exp: Likewise.
2135 * gdb.python/python.exp: Disable debug test when debugging.
2136 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2137 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2139 * gdb.threads/stepi-random-signal.exp: Likewise.
2141 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2143 * Makefile.in: Pass through GDB_DEBUG.
2144 * README (Testsuite Parameters): Add GDB_DEBUG.
2145 (gdb,debug): Add board setting.
2146 * lib/gdb.exp (default_gdb_start): Start debugging.
2147 (gdb_debug_enabled): New procedure.
2148 (gdb_debug_init): Likewise.
2150 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2152 * Makefile.in: Pass through GDB_DEBUG.
2153 * README (Testsuite Parameters): Add GDB_DEBUG.
2154 (gdb,debug): Add board setting.
2155 * lib/gdb.exp (default_gdb_start): Start debugging.
2156 (gdb_debug_enabled): New procedure.
2157 (gdb_debug_init): Likewise.
2159 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2161 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2163 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2165 * gdb.base/ui-redirect.exp: Test redirection.
2167 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2169 * gdb.mi/mi-complete.exp: New file.
2170 * gdb.mi/mi-complete.cc: Likewise.
2172 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2174 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2175 indexed and sliced arrays, and pointers to arrays.
2177 2019-05-14 Tom Tromey <tromey@adacore.com>
2179 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2182 2019-05-14 Tom de Vries <tdevries@suse.de>
2184 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2185 selection entry encoding.
2187 2019-05-10 Tom Tromey <tromey@adacore.com>
2189 * gdb.ada/info_exc.exp: Add "complete" test.
2191 2019-05-09 Tom de Vries <tdevries@suse.de>
2193 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2196 2019-05-09 Tom de Vries <tdevries@suse.de>
2198 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2201 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2203 * gdb.ada/frame_arg_lang.exp: New testcase.
2204 * gdb.ada/frame_arg_lang/bla.adb: New file.
2205 * gdb.ada/frame_arg_lang/pck.ads: New file.
2206 * gdb.ada/frame_arg_lang/pck.adb: New file.
2207 * gdb.ada/frame_arg_lang/foo.c: New file.
2209 2019-05-08 Tom Tromey <tromey@adacore.com>
2211 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2213 2019-05-08 Tom Tromey <tromey@adacore.com>
2215 * gdb.base/ptype-offsets.exp: Update tests.
2217 2019-05-08 Tom Tromey <tromey@adacore.com>
2219 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2221 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2224 2019-05-08 Tom Tromey <tromey@adacore.com>
2226 * gdb.ada/vla.exp: New file.
2227 * gdb.ada/vla/vla.adb: New file.
2229 2019-05-07 Tom de Vries <tdevries@suse.de>
2231 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2233 2019-05-07 Tom de Vries <tdevries@suse.de>
2236 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2239 2019-05-07 Tom de Vries <tdevries@suse.de>
2242 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2243 .debug_aranges section.
2245 2019-05-07 Tom de Vries <tdevries@suse.de>
2248 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2250 2019-05-06 Tom de Vries <tdevries@suse.de>
2252 * lib/gdb.exp (exec_has_index_section): New proc.
2253 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2256 2019-05-04 Tom de Vries <tdevries@suse.de>
2258 * boards/cc-with-debug-names.exp: New file.
2260 2019-05-03 Tom Tromey <tromey@adacore.com>
2262 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2263 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2264 * gdb.ada/char_enum.exp: Add test.
2266 2019-05-03 Tom de Vries <tdevries@suse.de>
2268 * boards/cc-with-gdb-index.exp: New file.
2270 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2272 * gdb.rust/simple.exp: Add new test case.
2273 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2274 (main): Initialise an instance of the new struct.
2276 2019-05-01 Tom Tromey <tromey@adacore.com>
2278 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2280 (NPR): New variable.
2281 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2284 2019-05-01 Tom Tromey <tromey@adacore.com>
2286 * gdb.ada/packed_array_assign.exp: Add packed assignment
2289 2019-05-01 Tom de Vries <tdevries@suse.de>
2291 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2293 2019-05-01 Tom de Vries <tdevries@suse.de>
2295 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2297 2019-04-30 Ali Tamur <tamur@google.com>
2299 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2301 2019-04-30 Tom Tromey <tromey@adacore.com>
2303 * lib/ada.exp (find_ada_tool): New proc.
2304 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2305 * gdb.ada/catch_ex_std.exp: New file.
2306 * gdb.ada/catch_ex_std/foo.adb: New file.
2307 * gdb.ada/catch_ex_std/some_package.adb: New file.
2308 * gdb.ada/catch_ex_std/some_package.ads: New file.
2310 2019-04-30 Tom Tromey <tromey@adacore.com>
2313 * gdb.cp/temargs.cc: Add test code from PR.
2315 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2317 * gdb.fortran/vla-datatypes.exp: Update expected results.
2318 * gdb.fortran/vla-ptype.exp: Likewise.
2319 * gdb.fortran/vla-type.exp: Likewise.
2320 * gdb.fortran/vla-value.exp: Likewise.
2322 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2324 * gdb.fortran/ptr-indentation.exp: Update expected results.
2325 * gdb.fortran/ptype-on-functions.exp: Likewise.
2326 * gdb.fortran/vla-ptr-info.exp: Likewise.
2327 * gdb.fortran/vla-value.exp: Likewise.
2329 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2331 * gdb.fortran/ptype-on-functions.exp: New file.
2332 * gdb.fortran/ptype-on-functions.f90: New file.
2334 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2336 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2339 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2341 * gdb.fortran/complex.exp: Expand.
2342 * gdb.fortran/complex.f: Renamed to...
2343 * gdb.fortran/complex.f90: ...this, and extended to add more
2346 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2348 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2351 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2352 Richard Bunt <richard.bunt@arm.com>
2354 * gdb.base/max-depth.c: New file.
2355 * gdb.base/max-depth.exp: New file.
2356 * gdb.python/py-nested-maps.c: New file.
2357 * gdb.python/py-nested-maps.exp: New file.
2358 * gdb.python/py-nested-maps.py: New file.
2359 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2360 (test_all_common): Call test_max_depth.
2361 * gdb.fortran/max-depth.exp: New file.
2362 * gdb.fortran/max-depth.f90: New file.
2363 * gdb.go/max-depth.exp: New file.
2364 * gdb.go/max-depth.go: New file.
2365 * gdb.modula2/max-depth.exp: New file.
2366 * gdb.modula2/max-depth.c: New file.
2367 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2369 2019-04-29 Tom de Vries <tdevries@suse.de>
2371 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2373 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2375 * gdb.base/callexit.exp: Test may-call-functions off.
2377 2019-04-25 Keith Seitz <keiths@redhat.com>
2380 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2381 (another_incomplete_struct, test_incomplete): New definitions.
2382 (main): Use new definitions.
2383 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2386 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2390 * gdb.base/coredump-filter-build-id.exp: New file.
2392 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2394 * Makefile.in: Pass through GDBSERVER_DEBUG.
2395 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2396 (gdbserver,debug): Add board setting.
2397 * gdb.trace/tspeed.exp: Skip when debugging.
2398 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2399 * lib/gdbserver-support.exp: Likewise
2401 2019-04-24 Tom Tromey <tromey@adacore.com>
2403 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2406 2019-04-24 Tom Tromey <tromey@adacore.com>
2408 * gdb.arch/amd64-eval.exp: Test bitfield return.
2409 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2410 (class Foo) <return_bitfields>: New method.
2413 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2415 * gdb.cp/many-args.cc: New file.
2416 * gdb.cp/many-args.exp: New file.
2418 2019-04-23 Tom de Vries <tdevries@suse.de>
2421 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2423 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2425 * gdb.trace/backtrace.exp: Use nopie flag.
2426 * gdb.trace/circ.exp: Likewise.
2427 * gdb.trace/collection.exp: Likewise.
2428 * gdb.trace/ftrace.exp: Likewise.
2429 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2430 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2431 * gdb.trace/qtro.exp: Likewise.
2432 * gdb.trace/read-memory.exp: Likewise.
2433 * gdb.trace/report.exp: Likewise.
2434 * gdb.trace/tfile.exp: Likewise.
2435 * gdb.trace/tfind.exp: Likewise.
2436 * gdb.trace/unavailable.exp: Likewise.
2438 2019-04-22 Pedro Alves <palves@redhat.com>
2440 * gdb.base/solib-probes-nosharedlibrary.c,
2441 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2443 2019-04-19 Tom Tromey <tromey@adacore.com>
2445 * gdb.ada/ptype_union.c: New file.
2446 * gdb.ada/ptype_union.exp: New file.
2448 2019-04-19 Tom Tromey <tromey@adacore.com>
2451 * gdb.base/list0.h (foo): Add a control-l character.
2453 2019-04-18 Tom de Vries <tdevries@suse.de>
2456 * boards/local-board.exp: Set sysroot to "".
2458 2019-04-18 Tom de Vries <tdevries@suse.de>
2459 Pedro Alves <palves@redhat.com>
2462 * gdb.threads/vfork-follow-child-exec.c: New file.
2463 * gdb.threads/vfork-follow-child-exec.exp: New file.
2464 * gdb.threads/vfork-follow-child-exit.c: New file.
2465 * gdb.threads/vfork-follow-child-exit.exp: New file.
2467 2019-04-15 Leszek Swirski <leszeks@google.com>
2469 * gdb.arch/amd64-eval.cc: New file.
2470 * gdb.arch/amd64-eval.exp: New file.
2472 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2474 * gdb.server/sysroot.c: New test.
2475 * gdb.server/sysroot.exp: New file.
2476 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2479 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2481 * gdb.base/align.exp: Extend test to cover structures containing
2484 2019-04-11 Tom de Vries <tdevries@suse.de>
2486 * boards/cc-with-dwz-m.exp: New file.
2487 * boards/cc-with-dwz.exp: New file.
2488 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2490 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2492 * gdb.base/start-cpp.exp: New file.
2493 * gdb.base/start-cpp.cc: New file.
2495 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2497 * gdb.python/py-thrhandle.exp: Adjust tests to call
2498 thread_from_handle instead of thread_from_thread_handle.
2500 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2502 * gdb.python/py-thrhandle.exp: Add tests for
2503 gdb.InferiorThread.handle.
2505 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2507 * gdb.python/py-function.exp: Check calling helper function from
2509 * lib/gdb.exp (gdb_supported_languages): New proc.
2511 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2513 * gdb.base/complex-parts.c: New file.
2514 * gdb.base/complex-parts.exp: New file.
2516 2019-04-01 Tom Tromey <tromey@adacore.com>
2519 * gdb.dwarf2/dw2-ranges-main.c: New file.
2520 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2521 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2523 2019-03-30 Simon Marchi <simark@simark.ca>
2525 * gdb.base/default.exp: Add values for $_gdb_major and
2528 2019-03-29 Tom Tromey <tromey@adacore.com>
2530 * gdb.base/help.exp: Tighten apropos regexp.
2532 2019-03-29 Keith Seitz <keiths@redhat.com>
2534 * gdb.fortran/array-bounds.exp: New file.
2535 * gdb.fortran/array-bounds.f90: New file.
2537 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2539 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2541 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2543 * gdb.multi/hello.c (main): Increase alarm timer.
2545 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2547 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2548 factor when no hardware watchpoint support.
2550 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2551 Pedro Alves <palves@redhat.com>
2553 * boards/local-board.exp: set sysroot to /.
2555 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2557 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2560 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2562 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2564 (make_container): Initialise new field.
2565 * gdb.python/py-prettyprint.exp: Add new tests.
2566 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2567 <display_hint>: New method.
2569 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2571 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2572 gdb_continue_to_breakpoint more throughout this test.
2573 (run_lang_tests) Supply unique test names, and use
2576 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2578 * gdb.base/finish-pretty.exp: Update expected results.
2579 * gdb.base/pretty-print.c: New file.
2580 * gdb.base/pretty-print.exp: New file.
2582 2019-03-25 Pedro Alves <palves@redhat.com>
2584 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2585 move comments outside list. Append '-i "" eof' section.
2587 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2590 * README: Add pie options.
2591 * gdb.base/break-interp.exp: Ensure pie is disabled.
2592 * gdb.base/dump.exp: Likewise.
2593 * lib/gdb.exp (gdb_compile): Add pie option.
2595 2019-03-19 Tom Tromey <tromey@adacore.com>
2597 * gdb.mi/mi2-cli-display.c: New file.
2598 * gdb.mi/mi2-cli-display.exp: New file.
2600 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2601 Tom Tromey <tromey@adacore.com>
2603 * gdb.ada/ptype_array/pck.adb: New file.
2604 * gdb.ada/ptype_array/pck.ads: New file.
2605 * gdb.ada/ptype_array/foo.adb: New file.
2606 * gdb.ada/ptype_array.exp: New file.
2608 2019-03-14 Tom Tromey <tromey@adacore.com>
2610 * gdb.base/style.exp: Add "set style sources" test.
2612 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2614 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2615 * mi-breakpoint-multiple-locations.exp: ... this.
2616 (make_breakpoints_pattern): New proc.
2617 (do_test): Add mi_version parameter, test -break-insert,
2618 -break-info and =breakpoint-created.
2620 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2622 * config/default.exp: Remove 'load_lib gdb.exp'.
2623 * config/monitor.exp: Likewise.
2624 * config/sid.exp: Likewise.
2625 * config/sim.exp: Likewise.
2626 * config/slite.exp: Likewise.
2627 * config/unix.exp: Likewise.
2628 * gdb.base/default.exp: Remove unhelpful comment.
2630 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2632 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2634 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2636 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2638 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2640 * gdb.fortran/type-kinds.exp: Update expected results.
2642 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2644 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2646 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2648 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2650 (test_basic_parsing_of_type_kinds): Expand types tested.
2651 (test_parsing_invalid_type_kinds): New function.
2653 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2655 * gdb.fortran/intrinsics.exp: New file.
2656 * gdb.fortran/intrinsics.f90: New file.
2657 * gdb.fortran/type-kinds.exp: New file.
2659 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2661 * gdb.fortran/dot-ops.exp: New file.
2663 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2665 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2666 Check upper and lower case logical literals.
2668 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2670 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2671 Remove duplicate tests.
2673 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2675 * lib/gdb.exp (builtin_cd): rename of cd.
2676 (cd): Override builtin.
2678 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2680 * gdb.fortran/function-calls.exp: New file.
2681 * gdb.fortran/function-calls.f90: New test.
2683 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2685 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2686 on user program standard output.
2687 * gdb.fortran/short-circuit-argument-list.f90: Record function
2690 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2692 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2695 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2698 * gdb.base/interrupt-daemon-attach.c,
2699 gdb.base/interrupt-daemon-attach.exp: New test.
2701 2019-02-27 Pedro Alves <palves@redhat.com>
2703 * gdb.base/page.exp: Add tests for "set width/height -1".
2705 2019-02-27 Pedro Alves <palves@redhat.com>
2707 * gdb.base/page.exp: Add tests for "set/show width/height" with
2710 2019-02-27 Tom Tromey <tromey@adacore.com>
2712 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2714 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2717 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2719 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2720 tests for structs with static members.
2722 2019-02-26 Tom Tromey <tromey@adacore.com>
2724 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2725 ValueError, not TypeError.
2727 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2729 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2730 call from main program.
2732 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2734 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2735 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2736 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2737 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2738 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2740 2019-02-22 Keith Seitz <keiths@redhat.com>
2743 * gdb.base/symlink-sourcefile.c: New file.
2744 * gdb.base/symlink-sourcefile.exp: New file.
2746 2019-02-20 Tom Tromey <tom@tromey.com>
2748 * gdb.base/info_qt.exp: Update.
2750 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2752 * gdb.base/source.exp: Move "error in sourced script" code to
2754 * gdb.base/source-error.gdb: Move contents to
2755 source-error-1.gdb. Add new code to source source-error-1.gdb.
2756 * gdb.base/source-error-1.gdb: New file, from previous
2759 2019-02-17 Tom Tromey <tom@tromey.com>
2761 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2763 * gdb.base/style.c (SOME_MACRO): New macro.
2765 2019-02-17 Tom Tromey <tom@tromey.com>
2767 * gdb.base/style.exp: Add line-wrapping tests.
2768 * gdb.base/page.exp: Add test for quitting during pagination.
2770 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2772 * gdb.ada/big_packed_array: New testcase.
2773 * gdb.ada/homonym.exp: Fix incorrect expected output for
2774 "break <homonym__get_value>" test.
2776 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2778 PR breakpoints/21870
2779 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2780 and prepare_for_testing. Add comment.
2781 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2782 redundant cleanup call. Clean up comment.
2784 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2786 PR breakpoints/21870
2787 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2788 * gdb.arch/aarch64-dbreg-contents.c: New file.
2790 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2792 * gdb.ada/mi_ref_changeable: New testcase.
2794 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2796 * gdb.base/attach.exp: Add double attach test.
2798 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2800 * lib/gdb.exp (default_gdb_start): Don't match pagination
2802 (gdb_init): Set stty_init.
2804 2019-01-27 Tom Tromey <tom@tromey.com>
2806 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2809 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2811 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2813 (struct struct_static_02_02): Likewise.
2814 (struct struct_static_02_03): Likewise.
2815 (struct struct_static_02_04): Likewise.
2816 (struct struct_static_04_01): Likewise.
2817 (struct struct_static_04_02): Likewise.
2818 (struct struct_static_04_03): Likewise.
2819 (struct struct_static_04_04): Likewise.
2820 (struct struct_static_06_01): Likewise.
2821 (struct struct_static_06_02): Likewise.
2822 (struct struct_static_06_03): Likewise.
2823 (struct struct_static_06_04): Likewise.
2824 (cmp_struct_static_02_01): Likewise.
2825 (cmp_struct_static_02_02): Likewise.
2826 (cmp_struct_static_02_03): Likewise.
2827 (cmp_struct_static_02_04): Likewise.
2828 (cmp_struct_static_04_01): Likewise.
2829 (cmp_struct_static_04_02): Likewise.
2830 (cmp_struct_static_04_03): Likewise.
2831 (cmp_struct_static_04_04): Likewise.
2832 (cmp_struct_static_06_01): Likewise.
2833 (cmp_struct_static_06_02): Likewise.
2834 (cmp_struct_static_06_03): Likewise.
2835 (cmp_struct_static_06_04): Likewise.
2836 (call_all): Test new structs.
2837 * gdb.base/infcall-nested-structs.exp: Likewise.
2839 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2840 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2842 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2843 * gdb.base/stack-protector.c: New test.
2844 * gdb.base/stack-protector.exp: New file.
2845 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2846 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2848 (gdb_compile): Remove stack protector for GCC and prevent
2851 2019-01-16 Keith Seitz <keiths@redhat.com>
2854 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2856 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2858 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2860 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2862 * gdb.arch/powerpc-vector-regs.c: New file.
2863 * gdb.arch/powerpc-vector-regs.exp: New file.
2865 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2867 * gdb.arch/altivec-regs.exp: Fix the list passed to
2868 gdb_expect_list when testing "info vector".
2870 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2872 * gdb.base/style.exp: Don't include path in testname.
2874 2019-01-10 Keith Seitz <keiths@redhat.com>
2878 * gdb.dwarf2/multidictionary.exp: New file.
2880 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2882 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2883 (test_gnuv3_style_demangling): ... this.
2884 (test_lucid_style_demangling): Remove.
2885 (test_arm_style_demangling): Remove.
2886 (test_hp_style_demangling): Remove.
2887 (do_tests): Remove calls to the above.
2889 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2891 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2894 2019-01-06 Tom Tromey <tom@tromey.com>
2897 * gdb.dwarf2/typedef-void-finish.exp: New file.
2899 2018-12-28 Tom Tromey <tom@tromey.com>
2900 Simon Marchi <simark@simark.ca>
2902 * gdb.base/jit-exec.exp: New file.
2903 * gdb.base/jit-exec.c: New file.
2904 * gdb.base/jit-execd.c: New file.
2906 2018-12-28 Tom Tromey <tom@tromey.com>
2908 * gdb.base/style.exp: Update test to check for address styling.
2910 2018-12-28 Tom Tromey <tom@tromey.com>
2912 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2915 2018-12-28 Tom Tromey <tom@tromey.com>
2917 * gdb.base/style.exp: Add test for version number styling.
2919 2018-12-28 Tom Tromey <tom@tromey.com>
2921 * gdb.base/style.exp: Add test for print_address_symbolic.
2923 2018-12-28 Tom Tromey <tom@tromey.com>
2925 * gdb.base/style.exp: Add test for breakpoint setting.
2927 2018-12-28 Tom Tromey <tom@tromey.com>
2929 * gdb.base/style.exp: Add test for variable names.
2931 2018-12-28 Tom Tromey <tom@tromey.com>
2933 * gdb.base/style.exp: New file.
2934 * gdb.base/style.c: New file.
2936 2018-12-28 Tom Tromey <tom@tromey.com>
2938 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2940 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2941 the TERM environment variable.
2943 2018-12-27 Tom Tromey <tom@tromey.com>
2945 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2948 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2950 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2951 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2953 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2955 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2956 Filename a.adb changed to bp_fun_addr.adb.
2957 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2959 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2961 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2962 non-PIE executables.
2963 * README: Mention the gdb,nopie_flag board setting.
2964 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2966 * gdb.arch/amd64-entry-value.exp: Likewise.
2967 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2968 * gdb.arch/i386-float.exp: Likewise.
2969 * gdb.arch/i386-signal.exp: Likewise.
2970 * gdb.mi/mi-reg-undefined.exp: Likewise.
2972 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2975 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2977 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2979 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2980 Update order of results accordingly.
2982 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2984 * gdb.base/annota1.exp: Update a test regexp.
2986 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2988 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2990 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2992 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2993 (reuse_time): Initialize to REUSE_TIME_CAP.
2994 (check_rc): New function.
2995 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2996 Check pthread_create rc.
2997 (spawner_thread_func): Check pthread_create and pthread_join rc.
2999 2018-12-08 Pedro Alves <palves@redhat.com>
3001 * gdb.base/list.exp (test_forward_search): Rename to ...
3002 (test_forward_reverse_search): ... this. Also test reverse-search
3003 and the forward-search alias.
3005 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3007 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3008 local timeout variable before return, and remove all local timeout
3010 (gdb_load): Likewise.
3012 2018-12-01 Tom de Vries <tdevries@suse.de>
3014 * gdb.base/gdb-caching-proc.exp: New file.
3016 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3018 * Makefile.in (TIMESTAMP): New variable.
3019 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3021 (check-single-racy): Likewise.
3022 (check/%.exp): Likewise.
3023 (check-racy/%.exp): Likewise.
3024 (workers/%.worker): Likewise.
3025 (build-perf): Likewise.
3026 (check-perf): Likewise.
3027 * README: Describe new "TS" and "TS_FORMAT" variables.
3028 * print-ts.py: New file.
3030 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3033 * gdb.python/python.exp: Test command repetition after
3036 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3038 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3039 is correctly aligned.
3041 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3043 * gdb.ada/info_auto_lang.exp: New testcase.
3044 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3045 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3046 * gdb.ada/info_auto_lang/some_c.c: New file.
3048 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3050 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3051 FUNC_lang language syntax.
3053 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3055 * gdb.base/info_minsym.c: New file.
3056 * gdb.base/info_minsym.exp: New file.
3058 2018-11-19 Tom Tromey <tom@tromey.com>
3061 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3062 * gdb.rust/expr.exp: Update expected output. Change one test.
3064 2018-11-19 Tom Tromey <tom@tromey.com>
3066 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3068 2018-11-19 Pedro Alves <palves@redhat.com>
3070 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3071 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3072 see the expected warning.
3074 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3077 * gdb.cp/infcall-nodebug-lib.c: New test.
3078 * gdb.cp/infcall-nodebug-main.c: New test.
3079 * gdb.cp/infcall-nodebug.exp: New file.
3081 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3083 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3086 2018-11-09 Tom de Vries <tdevries@suse.de>
3088 * gdb.base/msym-lang.c: New test.
3089 * gdb.base/msym-lang.exp: New file.
3090 * gdb.base/msym-lang-main.c: New test.
3092 2018-11-08 Tom Tromey <tom@tromey.com>
3096 * gdb.base/warning.exp: New file.
3098 2018-11-08 Jan Beulich <jbeulich@suse.com>
3100 * testsuite/gdb.arch/i386-avx512.c,
3101 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3103 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3105 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3108 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3110 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3111 * gdb.dwarf2/missing-type-name.exp: New file.
3113 2018-11-06 Tom de Vries <tdevries@suse.de>
3115 * gdb.base/many-headers.c: New test.
3116 * gdb.base/many-headers.exp: New file.
3118 2018-11-06 Jim Wilson <jimw@sifive.com>
3120 * gdb.base/code_elim.exp: For riscv, set additional_flags
3121 to include -msmall-data-limit=0.
3123 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3125 * gdb.ada/watch_minus_l: New testcase.
3127 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3129 * gdb.arch/aix-sighandle.c: New file.
3130 * gdb.arch/aix-sighandle.exp: New file.
3132 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3134 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3135 registers being unions.
3137 2018-10-31 Tom de Vries <tdevries@suse.de>
3139 * lib/valgrind.exp: New file.
3140 (vgdb_start, vgdb_stop): New procs, factored out of ...
3141 * gdb.base/valgrind-bt.exp: ... here, ...
3142 * gdb.base/valgrind-disp-step.exp: ... here and ...
3143 * gdb.base/valgrind-infcall.exp: ... here.
3145 2018-10-31 Tom de Vries <tdevries@suse.de>
3147 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3149 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3151 * gdb.dwarf2/void-type.c: New file.
3152 * gdb.dwarf2/void-type.exp: New file.
3154 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3156 * gdb.base/info_qt.c: New file.
3157 * gdb.base/info_qt.exp: New file.
3159 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3161 * gdb.arch/powerpc-htm-regs.c: New file.
3162 * gdb.arch/powerpc-htm-regs.exp: New file.
3164 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3166 * gdb.arch/powerpc-tar.c: New file.
3167 * gdb.arch/powerpc-tar.exp: New file.
3169 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3171 * gdb.arch/powerpc-ppr-dscr.c: New file.
3172 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3174 2018-10-25 Tom de Vries <tdevries@suse.de>
3176 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3178 2018-10-24 Tom de Vries <tdevries@suse.de>
3180 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3181 longer exists error.
3183 2018-10-24 Tom de Vries <tdevries@suse.de>
3185 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3187 2018-10-24 Tom de Vries <tdevries@suse.de>
3189 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3190 --db-attach in valgrind.
3192 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3194 * gdb.arch/riscv-reg-aliases.c: New file.
3195 * gdb.arch/riscv-reg-aliases.exp: New file.
3197 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3199 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3201 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3203 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3205 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3207 * gdb.cp/ovldbreak.exp: Fix regexps.
3209 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3211 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3213 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3216 * gdb.base/restore.exp: New test to check if "restore" with an
3217 invalid file doesn't segfault.
3219 2018-10-18 Tom de Vries <tdevries@suse.de>
3221 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3222 * gdb.ada/excep_handle.exp: Same.
3223 * gdb.ada/mi_string_access.exp: Same.
3224 * gdb.ada/mi_var_union.exp: Same.
3225 * gdb.arch/arc-analyze-prologue.exp: Same.
3226 * gdb.arch/arc-decode-insn.exp: Same.
3227 * gdb.base/readnever.exp: Same.
3228 * gdb.fortran/printing-types.exp: Same.
3229 * gdb.guile/scm-lazy-string.exp: Same.
3231 2018-10-16 Tom de Vries <tdevries@suse.de>
3234 * gdb.base/catch-follow-exec.c: Add copyright notice.
3235 * gdb.base/catch-follow-exec.exp: Rewrite to use
3236 gdb_spawn_with_cmdline_opts. Require gdb-native.
3238 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3240 * gdb.trace/actions-changed.exp: Check for arch support.
3241 * gdb.trace/actions.exp: Likewise.
3242 * gdb.trace/ax.exp: Likewise.
3243 * gdb.trace/backtrace.exp: Likewise.
3244 * gdb.trace/change-loc.exp: Likewise.
3245 * gdb.trace/deltrace.exp: Likewise.
3246 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3247 * gdb.trace/ftrace.exp: Likewise.
3248 * gdb.trace/infotrace.exp: Check for arch support.
3249 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3250 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3251 * gdb.trace/mi-tsv-changed.exp: Likewise.
3252 * gdb.trace/packetlen.exp: Likewise.
3253 * gdb.trace/passc-dyn.exp: Likewise.
3254 * gdb.trace/passcount.exp: Likewise.
3255 * gdb.trace/pending.exp: Likewise.
3256 * gdb.trace/range-stepping.exp: Check for shlib support.
3257 * gdb.trace/report.exp: Check for arch support.
3258 * gdb.trace/save-trace.exp: Likewise.
3259 * gdb.trace/signal.exp: Check for signal support.
3260 * gdb.trace/tfind.exp: Check for arch support.
3261 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3262 * gdb.trace/trace-common.h: Add comment.
3263 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3264 * gdb.trace/trace-enable-disable.exp: Likewise.
3265 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3266 * gdb.trace/tracecmd.exp: Check for arch support.
3267 * gdb.trace/tspeed.exp: Check for shlib and target support.
3268 * gdb.trace/tstatus.exp: Check for arch support.
3269 * gdb.trace/tsv.exp: Likewise.
3270 * gdb.trace/while-dyn.exp: Likewise.
3271 * gdb.trace/while-stepping.exp: Likewise.
3272 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3274 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3276 * gdb.trace/tspeed.exp: Remove nowarnings.
3277 (prepare_for_trace_test): Declare "global ipalib".
3278 * gdb.trace/tspeed.c: Include unistd.h.
3279 (main): Remove superfluous printf argument.
3281 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3283 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3284 directory prefix on the filename.
3286 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3288 * gdb.gdb/unittest.exp: Update expected message informing that
3289 selftests have been disabled.
3290 * gdb.server/unittest.exp: Likewise.
3292 2018-10-09 Tom de Vries <tdevries@suse.de>
3294 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3297 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3300 * gdb.cp/virtbase2.cc: New file.
3301 * gdb.cp/virtbase2.exp: New file.
3303 2018-10-06 Tom Tromey <tom@tromey.com>
3306 * gdb.python/py-inferior.exp: Add architecture test.
3308 2018-10-06 Tom Tromey <tom@tromey.com>
3310 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3311 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3313 2018-10-06 Tom Tromey <tom@tromey.com>
3315 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3316 of a "throw" catchpoint.
3318 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3320 * gdb.base/info-proc.exp: Update string expected from "help info
3323 2018-10-04 Tom Tromey <tom@tromey.com>
3325 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3326 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3327 (test_initial_complaints, test_empty_complaints): Update.
3328 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3330 2018-10-04 Tom Tromey <tom@tromey.com>
3333 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3334 * lib/gdb.exp (gdb_file_cmd): Update.
3335 * gdb.stabs/weird.exp (print_weird_var): Update.
3336 * gdb.server/solib-list.exp: Update.
3337 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3338 * gdb.mi/mi-cli.exp: Update.
3339 * gdb.linespec/linespec.exp: Update.
3340 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3341 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3342 * gdb.cp/cp-relocate.exp: Update.
3343 * gdb.base/sym-file.exp: Update.
3344 * gdb.base/relocate.exp: Update.
3345 * gdb.base/readnever.exp: Update.
3346 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3347 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3348 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3349 * gdb.base/code_elim.exp: Update.
3350 * gdb.base/break-unload-file.exp (test_break): Update.
3351 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3352 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3354 * gdb.base/attach.exp (do_attach_tests): Update.
3355 * gdb.base/sepdebug.exp: Update.
3356 * gdb.python/py-section-script.exp: Update.
3358 2018-10-04 Tom Tromey <tom@tromey.com>
3361 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3362 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3365 2018-10-04 Tom Tromey <tom@tromey.com>
3367 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3368 set width and height to 0.
3369 (test_command_line_attach_run): Use -quiet.
3371 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3373 * lib/gdb.exp (skip_ifunc_tests): New.
3374 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3375 other compile failures.
3376 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3378 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3380 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3381 is_amd64_regs_target.
3383 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3385 * gdb.arch/aarch64-sighandler-regs.c: New test.
3386 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3387 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3389 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3391 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3394 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3396 * gdb.base/frame-selection.exp: New file.
3397 * gdb.base/frame-selection.c: New file.
3399 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3401 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3405 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3407 * gdb.base/large-frame-1.c: New file.
3408 * gdb.base/large-frame-2.c: New file.
3409 * gdb.base/large-frame.exp: New file.
3410 * gdb.base/large-frame.h: New file.
3412 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3415 * gdb.base/write_mem.exp: New test.
3416 * gdb.base/write_mem.c: Likewise.
3418 2018-09-23 Tom Tromey <tom@tromey.com>
3421 * gdb.python/py-parameter.exp: Add test for parameter that throws
3424 2018-09-23 Tom Tromey <tom@tromey.com>
3427 * gdb.python/py-template.exp (test_template_arg): Add test for
3428 negative template argument number.
3430 2018-09-23 Tom Tromey <tom@tromey.com>
3433 * gdb.python/python.exp: Add test for post_event error.
3435 2018-09-23 Tom Tromey <tom@tromey.com>
3438 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3439 convert pointers to int and long.
3441 2018-09-23 Tom Tromey <tom@tromey.com>
3444 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3445 signed-ness conversion tests.
3447 2018-09-23 Tom Tromey <tom@tromey.com>
3450 * gdb.python/py-value.exp (test_float_conversion): New proc.
3453 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3455 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3457 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3459 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3461 * gdb.base/utf8-identifiers.exp: Likewise.
3462 * gdb.cp/cpcompletion.exp: Likewise.
3463 * gdb.linespec/cpcompletion.exp: Likewise.
3464 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3465 * gdb.linespec/cpls-ops.exp: Likewise.
3467 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3468 Chris January <chris.january@arm.com>
3470 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3471 * gdb.fortran/short-circuit-argument-list.exp: New file.
3472 * gdb.fortran/short-circuit-argument-list.f90: New test.
3474 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3476 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3477 "arch=" keyword when executing "-stack-list-frames".
3479 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3481 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3482 "arch=" keyword when executing "-stack-list-frames".
3484 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3486 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3489 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3492 * gdb.python/python.exp: Test gdb.execute("show commands").
3494 2018-09-16 Tom Tromey <tom@tromey.com>
3496 * gdb.base/new-ui.exp (do_execution_tests): Update.
3497 * gdb.base/dbx.exp (test_breakpoints): Update.
3499 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3501 * lib/gdb.exp (gdb_simple_compile): Add proc.
3502 (is_elf_target): Use gdb_simple_compile.
3503 (skip_altivec_tests): Likewise.
3504 (skip_vsx_tests): Likewise.
3505 (skip_tsx_tests): Likewise.
3506 (skip_btrace_tests): Likewise.
3507 (skip_btrace_pt_tests): Likewise.
3508 (gdb_can_simple_compile): Likewise.
3509 (gdb_has_argv0): Likewise.
3510 (gdb_target_symbol_prefix): Likewise.
3511 (target_supports_scheduler_locking): Likewise.
3513 2018-09-13 Tom Tromey <tom@tromey.com>
3515 * Makefile.in (TAGS): Recognize proc_with_prefix and
3518 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3520 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3523 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3525 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3526 and a few other Inferior properties when the Inferior is no
3529 2018-09-13 Tom Tromey <tom@tromey.com>
3532 * gdb.rust/simple.exp: Add test for enum field access error.
3534 2018-09-13 Tom Tromey <tom@tromey.com>
3537 * gdb.rust/simple.rs (EmptyEnum): New type.
3539 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3541 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3543 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3544 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3545 * gdb.python/py-symtab.exp: Update test printing an objfile.
3547 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3549 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3552 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3554 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3555 (support_complex_tests): Use gdb_can_simple_compile.
3556 (is_ilp32_target): Likewise.
3557 (is_lp64_target): Likewise.
3558 (is_64_target): Likewise.
3559 (is_amd64_regs_target): Likewise.
3560 (is_aarch32_target): Likewise.
3561 (gdb_int128_helper): Likewise.
3563 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3565 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3567 2018-09-10 Jerome Guitton <guitton@adacore.com>
3569 * gdb.ada/same_component_name: Add test for case of tagged record
3570 with variable-length fields.
3572 2018-09-10 Xavier Roirand <roirand@adacore.com>
3574 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3575 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3576 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3577 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3579 2018-09-10 Xavier Roirand <roirand@adacore.com>
3581 * gdb.ada/mi_string_access.exp: New testcase.
3582 * gdb.ada/mi_string_access/bar.adb: New file.
3583 * gdb.ada/mi_string_access/pck.adb: New file.
3584 * gdb.ada/mi_string_access/pck.asd: New file.
3586 2018-09-10 Xavier Roirand <roirand@adacore.com>
3588 * gdb.ada/mi_var_union.exp: New testcase.
3589 * gdb.ada/mi_var_union/bar.adb: New file.
3590 * gdb.ada/mi_var_union/pck.adb: New file.
3591 * gdb.ada/mi_var_union/pck.asd: New file.
3593 2018-09-08 Tom Tromey <tom@tromey.com>
3595 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3597 2018-09-08 Tom Tromey <tom@tromey.com>
3600 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3601 (register_pretty_printers): Register new printer.
3602 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3604 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3605 (an_int_type3): New global.
3607 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3609 * gdb.ada/expr_with_funcall: New testcase.
3611 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3613 * gdb.ada/packed_array_assign: New testcase.
3615 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3617 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3618 names, and add test prefixes to make test names unique.
3620 2018-09-05 Tom de Vries <tdevries@suse.de>
3622 * gdb.dwarf2/varval.exp: Add test.
3624 2018-09-04 Gary Benson <gbenson@redhat.com>
3626 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3627 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3629 2018-08-31 Tom Tromey <tom@tromey.com>
3631 * gdb.rust/simple.rs: Rename second variable "v".
3633 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3635 * gdb.base/funcargs.c (use_a): New function.
3636 (recurse): Call use_a.
3638 2018-08-29 Keith Seitz <keiths@redhat.com>
3640 * gdb.compile/compile-cplus-anonymous.cc: New file.
3641 * gdb.compile/compile-cplus-anonymous.exp: New file.
3642 * gdb.compile/compile-cplus-array-decay.cc: New file.
3643 * gdb.compile/compile-cplus-array-decay.exp: New file.
3644 * gdb.compile/compile-cplus-inherit.cc: New file.
3645 * gdb.compile/compile-cplus-inherit.exp: New file.
3646 * gdb.compile/compile-cplus-member.cc: New file.
3647 * gdb.compile/compile-cplus-member.exp: New file.
3648 * gdb.compile/compile-cplus-method.cc: New file.
3649 * gdb.compile/compile-cplus-method.exp: New file.
3650 * gdb.compile/compile-cplus-mod.c: "New" file.
3651 * gdb.compile/compile-cplus-namespace.cc: New file.
3652 * gdb.compile/compile-cplus-namespace.exp: New file.
3653 * gdb.compile/compile-cplus-nested.cc: New file.
3654 * gdb.compile/compile-cplus-nested.exp: New file.
3655 * gdb.compile/compile-cplus-print.c: "New" file.
3656 * gdb.compile/compile-cplus-print.exp: "New" file.
3657 * gdb.compile/compile-cplus-virtual.cc: New file.
3658 * gdb.compile/compile-cplus-virtual.exp: New file.
3659 * gdb.compile/compile-cplus.c: "New" file.
3660 * gdb.compile/compile-cplus.exp: "New" file.
3661 * lib/compile-support.exp: New file.
3663 2018-08-16 Gary Benson <gbenson@redhat.com>
3666 * gdb.base/batch-exit-status.exp: New file.
3667 * gdb.base/batch-exit-status.good-commands: Likewise.
3668 * gdb.base/batch-exit-status.bad-commands: Likewise.
3670 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3672 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3673 (struct struct02): Likewise.
3674 (struct struct03): Likewise.
3675 (struct struct04): Likewise.
3676 (struct struct_01_01): New struct.
3677 (struct struct_01_02): Likewise.
3678 (struct struct_01_03): Likewise.
3679 (struct struct_01_04): Likewise.
3680 (struct struct_02_01): Likewise.
3681 (struct struct_02_02): Likewise.
3682 (struct struct_02_03): Likewise.
3683 (struct struct_02_04): Likewise.
3684 (struct struct_04_01): Likewise.
3685 (struct struct_04_02): Likewise.
3686 (struct struct_04_03): Likewise.
3687 (struct struct_04_04): Likewise.
3688 (struct struct_05_01): Likewise.
3689 (struct struct_05_02): Likewise.
3690 (struct struct_05_03): Likewise.
3691 (struct struct_05_04): Likewise.
3692 (cmp_struct01): Remove function.
3693 (cmp_struct02): Likewise.
3694 (cmp_struct03): Likewise.
3695 (cmp_struct04): Likewise.
3696 (cmp_struct_01_01): Add Function.
3697 (cmp_struct_01_02): Likewise.
3698 (cmp_struct_01_03): Likewise.
3699 (cmp_struct_01_04): Likewise.
3700 (cmp_struct_02_01): Likewise.
3701 (cmp_struct_02_02): Likewise.
3702 (cmp_struct_02_03): Likewise.
3703 (cmp_struct_02_04): Likewise.
3704 (cmp_struct_04_01): Likewise.
3705 (cmp_struct_04_02): Likewise.
3706 (cmp_struct_04_03): Likewise.
3707 (cmp_struct_04_04): Likewise.
3708 (cmp_struct_05_01): Likewise.
3709 (cmp_struct_05_02): Likewise.
3710 (cmp_struct_05_03): Likewise.
3711 (cmp_struct_05_04): Likewise.
3712 (call_all): Add new structs.
3713 * gdb.base/infcall-nested-structs.exp: Likewise.
3715 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3717 * gdb.python/py-framefilter-mi.exp: Update regexp to
3718 check for "arch" field in frame output.
3720 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3722 * gdb.dwarf2/dw2-ranges-func.c: New file.
3723 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3725 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3727 * gdb.base/term.exp: Compare terminal settings with values from
3729 * gdb.base/term.c: Get and set terminal settings.
3731 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3733 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3734 accommodate new "arch" field in frame output.
3735 * gdb.mi/mi-return.exp: Likewise.
3736 * gdb.mi/mi-stack.exp: Likewise.
3737 * gdb.mi/mi-syn-frame.exp: Likewise.
3738 * gdb.mi/user-selected-context-sync.exp: Likewise.
3740 2018-08-19 Michael Spang <spang@google.com>
3743 * gdb.base/gcore-tls-pie.c: New file.
3744 * gdb.base/gcore-tls-pie.exp: New file.
3746 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3748 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3749 * gdb.dwarf2/varval.c: New file.
3750 * gdb.dwarf2/varval.exp: New file.
3752 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3755 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3757 2018-08-16 Keith Seitz <keiths@redhat.com>
3759 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3760 tests expected to pass.
3762 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3764 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3765 -data-disassemble -a.
3766 (test_disassembly_bogus_args): Likewise.
3768 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3770 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3772 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3774 * gdb.base/vla-optimized-out.exp: Add new test.
3776 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3778 * gdb.base/vla-optimized-out-o3.exp: Delete.
3779 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3780 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3783 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3786 * gdb.server/extended-remote-restart.c: New file.
3787 * gdb.server/extended-remote-restart.exp: New file.
3789 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3791 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3792 "set variable index = 42".
3794 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3796 * boards/index-cache-gdb.exp: New file.
3797 * gdb.dwarf2/index-cache.exp: New file.
3798 * gdb.dwarf2/index-cache.c: New file.
3799 * gdb.base/maint.exp: Check if we are using the index cache.
3801 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3803 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3806 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3808 * dg-extract-results.sh: Move to toplevel contrib.
3809 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3810 * Makefile.in (check-parallel-racy): Likewise.
3812 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3814 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3815 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3816 tests if the target supports scheduler locking.
3818 2018-08-04 Tom de Vries <tdevries@suse.de>
3820 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3822 2018-08-02 Tom Tromey <tom@tromey.com>
3825 * gdb.cp/temargs.exp: Test "info address" of a template
3828 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3830 * gdb.python/py-mi-var-info-path-expression.c: New file.
3831 * gdb.python/py-mi-var-info-path-expression.py: New file.
3832 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3834 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3836 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3837 error after "cannot resolve name" string.
3839 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3841 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3843 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3845 2018-07-28 Tom de Vries <tdevries@suse.de>
3847 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3849 2018-07-26 Tom de Vries <tdevries@suse.de>
3851 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3853 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3855 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3858 2018-07-26 Tom de Vries <tdevries@suse.de>
3860 PR breakpoints/23366
3861 * gdb.base/catch-follow-exec.c: New test.
3862 * gdb.base/catch-follow-exec.exp: New file.
3864 2018-07-25 Tom de Vries <tdevries@suse.de>
3866 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3867 vla-optimized-out.c.
3869 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3871 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3872 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3874 2018-07-20 Tom de Vries <tdevries@suse.de>
3876 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3878 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3880 2018-07-19 Tom de Vries <tdevries@suse.de>
3882 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3885 2018-07-18 Tom de Vries <tdevries@suse.de>
3887 * gdb.base/vla-optimized-out.c: New test.
3888 * gdb.base/vla-optimized-out.exp: New file.
3890 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3892 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3893 message "No address associated with hostname" when gdbserver
3894 cannot resolve the hostname.
3896 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3898 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3899 Add some test prefixes to make tests unique.
3901 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3903 * gdb.base/frameapply.c: New file.
3904 * gdb.base/frameapply.exp: New file.
3906 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3908 * gdb.base/skip.exp: Update expected error message.
3910 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3911 Jan Kratochvil <jan.kratochvil@redhat.com>
3912 Paul Fertser <fercerpav@gmail.com>
3913 Tsutomu Seki <sekiriki@gmail.com>
3915 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3917 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3919 * boards/native-gdbserver.exp: Likewise.
3920 * gdb.server/run-without-local-binary.exp: Improve regexp used
3921 for detecting when a remote debugging connection succeeds.
3922 * gdb.server/server-connect.exp: New file.
3923 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3924 Do not prefix the port number with ":".
3925 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3926 support for detecting and using it. Add '$debughost_gdbserver'
3927 to the list of arguments used to start gdbserver. Handle case
3928 when gdbserver cannot resolve a network name.
3930 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3933 * gdb.base/ptype-offsets.cc (struct static_member): New
3935 (main) <stmember>: New variable.
3936 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3937 with a static member in it.
3939 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3941 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3942 watchpoints enabled and disabled.
3944 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3946 * gdb.base/examine-backward.exp: Still run tests around address
3947 0x0, even if address 0x0 is not readable. Update the pattern for
3948 matching address 0x0 in expected output.
3950 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3952 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3955 2018-07-04 Tom de Vries <tdevries@suse.de>
3957 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3959 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3962 * gdb.arch/mips-disassembler-options.exp: New test.
3963 * gdb.arch/mips-disassembler-options.s: New test source.
3965 2018-06-29 Pedro Alves <palves@redhat.com>
3967 * gdb.threads/names.exp: Adjust expected "info threads" output.
3969 2018-06-29 Pedro Alves <palves@redhat.com>
3971 * gdb.opt/inline-break.exp (line number, address): Add "info
3974 2018-06-29 Pedro Alves <palves@redhat.com>
3976 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3977 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3978 number and address and running to them.
3980 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3982 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3984 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3986 * lib/compiler.c: Remove executable permission flag.
3988 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3990 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3992 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3994 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3996 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3998 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4000 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4001 address argument is omitted.
4003 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4005 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4007 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4010 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4011 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4013 2018-06-26 Tom Tromey <tom@tromey.com>
4016 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4017 * gdb.rust/simple.rs (struct SimpleLayout): New.
4019 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4021 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4022 "info registers" output.
4024 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4026 * gdb.base/watchpoint-hw-attach.c: New test.
4027 * gdb.base/watchpoint-hw-attach.exp: New file.
4029 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4031 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4033 * boards/dwarf4-gdb-index.exp: Likewise.
4034 * boards/fission-dwp.exp: Likewise.
4036 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4038 * gdb.base/float128.exp: Add comment and improved fail message
4039 to the failure case of "print large128" test.
4041 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4043 * configure.ac: Remove AC_PREREQ.
4044 * configure: Re-generate.
4046 2018-06-19 Pedro Alves <palves@redhat.com>
4048 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4049 (func_extern_caller): New.
4050 (main): Call func_extern_caller.
4051 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4054 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4057 * gdb.cp/typedef-base.cc: New file.
4058 * gdb.cp/typedef-base.exp: New file.
4060 2018-06-18 Tom de Vries <tdevries@suse.de>
4062 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4064 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4065 Richard Bunt <Richard.Bunt@arm.com>
4067 * gdb.threads/attach-slow-waitpid.c: New file.
4068 * gdb.threads/attach-slow-waitpid.exp: New file.
4069 * gdb.threads/slow-waitpid.c: New file.
4071 2018-06-14 Pedro Alves <palves@redhat.com>
4073 * gdb.base/fork-running-state.c: Include <errno.h>.
4074 (exit_if_relative_exits): New.
4075 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4077 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4080 2018-06-14 Tom de Vries <tdevries@suse.de>
4083 * gdb.base/finish-pretty.c: New test.
4084 * gdb.base/finish-pretty.exp: New file.
4086 2018-06-14 Pedro Alves <palves@redhat.com>
4088 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4089 gdb's expected startup output.
4091 2018-06-14 Pedro Alves <palves@redhat.com>
4093 * lib/selftest-support.exp (selftest_setup): Remove inlined
4096 2018-06-14 Tom de Vries <tdevries@suse.de>
4098 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4099 matching of breakpoint printing.
4101 2018-06-13 Tom de Vries <tdevries@suse.de>
4104 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4105 (fork_child): ... here, and ...
4106 (fork_parent): ... here.
4108 2018-06-12 Tom de Vries <tdevries@suse.de>
4110 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4112 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4113 Stephen Roberts <stephen.roberts@arm.com>
4115 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4116 rewrite test to describe action performed, rather than possible
4119 2018-06-08 Gary Benson <gbenson@redhat.com>
4121 * gdb.threads/check-libthread-db.exp: New file.
4122 * gdb.threads/check-libthread-db.c: Likewise.
4124 2018-06-05 Tom Tromey <tom@tromey.com>
4126 * gdb.base/default.exp: Update expected "show version" output.
4128 2018-06-05 Tom Tromey <tom@tromey.com>
4131 * gdb.cp/static-print-quit.exp: Update.
4132 * lib/gdb.exp (pagination_prompt): Update.
4133 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4134 * gdb.python/python.exp: Update.
4136 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4138 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4140 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4142 * gdb.ada/bp_fun_addr: New testcase.
4144 2018-06-01 Tom Tromey <tom@tromey.com>
4146 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4148 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4149 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4150 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4151 * gdb.base/maint.exp (maint_pass_if): Update.
4153 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4155 * gdb.base/endian.exp: New test.
4156 * gdb.base/endian.c: New test source.
4158 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4161 * gdb.base/bt-selected-frame.c: New file.
4162 * gdb.base/bt-selected-frame.exp: New file.
4163 * lib/gdb.exp (get_current_frame_number): New function.
4165 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4166 Pedro Alves <palves@redhat.com>
4168 * gdb.threads/tls-core.c: Include <stdlib.h>
4169 (thread_proc): Call `abort'.
4170 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4171 (tls_core_test): New procedure, bits factored out from ...
4172 (top level): ... here. Test both native cores and gcore cores.
4174 2018-05-23 Tom Tromey <tom@tromey.com>
4176 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4178 2018-05-23 Tom Tromey <tom@tromey.com>
4180 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4182 (test_short_complaints): Likewise.
4183 (test_empty_complaints): Likewise.
4184 (test_initial_complaints): Update.
4186 2018-05-23 Tom Tromey <tom@tromey.com>
4188 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4190 2018-05-23 Tom Tromey <tom@tromey.com>
4192 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4193 (test_short_complaints): Update.
4195 2018-05-22 Pedro Alves <palves@redhat.com>
4197 * gdb.base/remote.exp: Only gdb_start after compiling the
4198 testcase. Issue "disconnect" before testing "set remote" command
4199 defaults. Issue clean_restart before running to main.
4201 2018-05-22 Pedro Alves <palves@redhat.com>
4203 * gdb.base/remote.exp: Adjust expected output of "show remote
4204 memory-write-packet-size". Add tests for "set remote
4205 memory-write-packet-size 0" and "set remote
4206 memory-write-packet-size fixed/limit".
4208 2018-05-22 Pedro Alves <palves@redhat.com>
4211 * gdb.base/utf8-identifiers.c: New file.
4212 * gdb.base/utf8-identifiers.exp: New file.
4214 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4216 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4218 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4220 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4222 2018-05-18 Tom Tromey <tom@tromey.com>
4224 * gdb.base/ptype-offsets.exp: Update.
4226 2018-05-17 Keith Seitz <keiths@redhat.com>
4228 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4229 in expected breakpoint stop locations.
4230 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4231 move to proper scope to test variable values.
4232 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4233 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4235 (main): Call not_inline_func3.
4236 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4237 inline_func1, inline_func2, and inline_func3. Test that when each
4238 breakpoint is hit, GDB properly reports both the stop location
4239 and the backtrace. Repeat tests for temporary breakpoints.
4241 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4243 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4244 rather then trying to access it in determining whether the PID
4245 of `gdbserver' could have been retrieved.
4247 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4249 * gdb.arch/amd64-init-x87-values.S: New file.
4250 * gdb.arch/amd64-init-x87-values.exp: New file.
4252 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4254 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4256 2018-05-04 Tom Tromey <tom@tromey.com>
4259 * gdb.python/python.exp: Test multi-line execute.
4261 2018-05-04 Tom Tromey <tom@tromey.com>
4264 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4266 2018-05-04 Tom Tromey <tom@tromey.com>
4269 * gdb.base/define.exp: Test defining a user command inside a user
4271 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4273 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4274 Pedro Alves <palves@redhat.com>
4276 PR breakpoints/19806 and support for PR external/20207.
4277 * gdb.base/watchpoint-unaligned.c: New file.
4278 * gdb.base/watchpoint-unaligned.exp: New file.
4280 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4282 * gdb.base/maint.exp: Make test names unique, use
4283 test_prefix_command_help to test 'help maint info', and remove
4284 repeated test of 'help maint'.
4286 2018-05-04 Tom Tromey <tom@tromey.com>
4289 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4292 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4294 * gdb.base/maint.exp: Process output from 'maint print registers'
4297 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4299 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4302 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4304 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4307 2018-05-02 Pedro Alves <palves@redhat.com>
4309 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4310 to_log_command renames.
4311 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4313 2018-05-02 Tom Tromey <tom@tromey.com>
4315 * gdb.python/py-parameter.exp: Set test message.
4317 2018-05-02 Tom Tromey <tom@tromey.com>
4320 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4321 PARAM_ZUINTEGER_UNLIMITED tests.
4323 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4326 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4329 2018-04-30 Tom Tromey <tom@tromey.com>
4331 * gdb.python/py-type.exp: Check align attribute.
4332 * gdb.python/py-type.c: New "aligncheck" global.
4334 2018-04-30 Tom Tromey <tom@tromey.com>
4337 * gdb.dwarf2/dw2-align.exp: New file.
4338 * gdb.cp/align.exp: New file.
4339 * gdb.base/align.exp: New file.
4340 * lib/gdb.exp (gdb_int128_helper): New proc.
4341 (has_int128_c, has_int128_cxx): New caching procs.
4343 2018-04-27 Tom Tromey <tom@tromey.com>
4346 * gdb.rust/simple.exp: Add inclusive range tests.
4348 2018-04-26 Pedro Alves <palves@redhat.com>
4350 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4351 ifunc breakpoint locations correctly of ifunc breakpoints set
4352 while the program resolves the ifunc.
4354 2018-04-26 Pedro Alves <palves@redhat.com>
4356 * gdb.base/gnu-ifunc-final.c: New file.
4357 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4358 * gdb.base/gnu-ifunc.exp (executable): Delete.
4359 (staticexecutable): Adjust.
4360 (lib_opts, exec_opts): Delete.
4361 (make_binsuffix, build, set-break): New procedures.
4362 (misc_tests): New, with tests factored out from the top level.
4363 (top level): Test different combinations of ifunc resolver name,
4364 resolver with and with debug info, and ifunc target with and
4365 without debug info. Wrap static tests with with_target_prefix.
4367 2018-04-26 Pedro Alves <palves@redhat.com>
4369 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4370 return type" warnings.
4372 2018-04-25 Pedro Alves <palves@redhat.com>
4374 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4376 * gdb.base/kill-after-signal.exp: Likewise.
4377 * gdb.threads/kill.exp: Likewise.
4379 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4380 Sergio Durigan Junior <sergiodj@redhat.com>
4381 Pedro Alves <palves@redhat.com>
4383 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4384 regexps to expect for '[Inferior ... detached]' as well.
4385 * gdb.base/attach.exp: Likewise.
4386 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4387 "gdb_continue_to_end".
4388 (test_catch_syscall_with_wrong_args): Likewise.
4389 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4390 ']'. Don't set 'verbose' on.
4391 * gdb.base/foll-vfork.exp: Likewise.
4392 * gdb.base/fork-print-inferior-events.c: New file.
4393 * gdb.base/fork-print-inferior-events.exp: New file.
4394 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4395 '[Inferior ... has been killed]' message.
4396 * gdb.base/kill-after-signal.exp: Likewise.
4397 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4399 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4401 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4402 regexps to expect for '[Inferior ... detached]' as well.
4403 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4405 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4408 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4410 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4412 * gdb.threads/multiple-successive-infcall.c: New test.
4413 * gdb.threads/multiple-successive-infcall.exp: New file.
4415 2018-04-17 Tom Tromey <tom@tromey.com>
4417 * gdb.rust/simple.rs (Union): New type.
4418 (main): New local "u".
4419 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4421 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4423 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4424 number information in output of "whereis" command.
4425 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4427 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4429 * gdb.ada/info_types.exp: Adjust expected output to the line
4430 numbers now printed by "info var/func/type".
4431 * gdb.base/completion.exp: Likewise.
4432 * gdb.base/included.exp: Likewise.
4433 * gdb.cp/cp-relocate.exp: Likewise.
4434 * gdb.cp/cplusfuncs.exp: Likewise.
4435 * gdb.cp/namespace.exp: Likewise.
4436 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4438 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4440 * gdb.btrace/cpu.exp: New.
4442 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4444 * gdb.base/step-indirect-call-thunk.exp: New.
4445 * gdb.base/step-indirect-call-thunk.c: New.
4446 * gdb.reverse/step-indirect-call-thunk.exp: New.
4447 * gdb.reverse/step-indirect-call-thunk.c: New.
4449 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4451 * gdb.base/pie-fork.c: New file.
4452 * gdb.base/pie-fork.exp: New file.
4454 2018-04-11 Tom Tromey <tom@tromey.com>
4456 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4458 2018-04-10 Pedro Alves <palves@redhat.com>
4460 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4461 exits. Instead loop running forever.
4462 (fork_parent): Run forever too.
4464 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4466 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4467 mi_continue_to_line.
4468 * gdb.mi/mi-stack.c (callee4): Add comment.
4470 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4472 * gdb.mi/mi-stack.exp: Fix indentation.
4474 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4477 * gdb.arch/amd64-osabi.exp: New file.
4479 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4482 * gdb.base/osabi.exp: New file.
4484 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4486 * gdb.cp/static-typedef-print.exp: New file.
4487 * gdb.cp/static-typedef-print.cc: New file.
4489 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4491 * gdb.ada/varsize_limit: New testcase.
4493 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4495 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4497 * gdb.ada/notcplusplus: New testcase.
4499 * gdb.base/c-linkage-name.c: New file.
4500 * gdb.base/c-linkage-name.exp: New testcase.
4502 2018-03-26 Tom Tromey <tom@tromey.com>
4504 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4505 * gdb.python/py-framefilter.py (name_error): New global.
4506 (ErrorInName.function): Use name_error.
4508 2018-03-26 Tom Tromey <tom@tromey.com>
4511 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4513 2018-03-23 Keith Seitz <keiths@redhat.com>
4516 * gdb.cp/subtypes.exp: New file.
4517 * gdb.cp/subtypes.h: New file.
4518 * gdb.cp/subtypes.cc: New file.
4519 * gdb.cp/subtypes-2.cc: New file.
4521 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4523 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4524 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4525 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4526 -nostartfiles when compiling the test. Confirm that all registers
4527 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4529 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4531 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4532 option, syntax was wrong anyway.
4533 * gdb.arch/arm-disp-step.exp: Likewise.
4534 * gdb.arch/sparc64-regs.exp: Likewise.
4535 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4536 option, syntax was wrong anyway, switch to use
4537 prepare_for_testing.
4538 * gdb.arch/i386-disp-step.exp: Likewise.
4540 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4542 * gdb.ada/exec_changed.exp: Replace "target_info exists
4543 use_gdb_stub" by "use_gdb_stub".
4544 * gdb.ada/start.exp: Likewise.
4545 * gdb.base/async-shell.exp: Likewise.
4546 * gdb.base/attach-pie-misread.exp: Likewise.
4547 * gdb.base/attach-wait-input.exp: Likewise.
4548 * gdb.base/break-entry.exp: Likewise.
4549 * gdb.base/break-interp.exp: Likewise.
4550 * gdb.base/dprintf-detach.exp: Likewise.
4551 * gdb.base/nostdlib.exp: Likewise.
4552 * gdb.base/solib-nodir.exp: Likewise.
4553 * gdb.base/statistics.exp: Likewise.
4554 * gdb.base/testenv.exp: Likewise.
4555 * gdb.mi/mi-exec-run.exp: Likewise.
4556 * gdb.mi/mi-start.exp: Likewise.
4557 * gdb.multi/dummy-frame-restore.exp: Likewise.
4558 * gdb.multi/multi-arch-exec.exp: Likewise.
4559 * gdb.multi/multi-arch.exp: Likewise.
4560 * gdb.multi/tids.exp: Likewise.
4561 * gdb.multi/watchpoint-multi.exp: Likewise.
4562 * gdb.python/py-events.exp: Likewise.
4563 * gdb.threads/attach-into-signal.exp: Likewise.
4564 * gdb.threads/attach-stopped.exp: Likewise.
4565 * gdb.threads/threadapply.exp: Likewise.
4566 * lib/selftest-support.exp: Likewise.
4568 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4570 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4572 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4574 * gdb.perf/template-breakpoints.cc: New file.
4575 * gdb.perf/template-breakpoints.exp: New file.
4576 * gdb.perf/template-breakpoints.py: New file.
4578 2018-03-19 Tom Tromey <tom@tromey.com>
4580 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4582 * gdb.rust/simple.exp: Test bare identifier form of struct
4585 2018-03-19 Tom Tromey <tom@tromey.com>
4587 * gdb.gdb/observer.exp: Remove.
4589 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4591 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4592 "qualified" option when setting breakpoints.
4593 * gdb.trace/backtrace.exp: Likewise.
4594 * gdb.trace/circ.exp: Likewise.
4595 * gdb.trace/collection.exp: Likewise.
4596 * gdb.trace/disconnected-tracing.exp: Likewise.
4597 * gdb.trace/ftrace-lock.exp: Likewise.
4598 * gdb.trace/ftrace.exp: Likewise.
4599 * gdb.trace/infotrace.exp: Likewise.
4600 * gdb.trace/packetlen.exp: Likewise.
4601 * gdb.trace/passc-dyn.exp: Likewise.
4602 * gdb.trace/qtro.exp: Likewise.
4603 * gdb.trace/read-memory.exp: Likewise.
4604 * gdb.trace/report.exp: Likewise.
4605 * gdb.trace/signal.exp: Likewise.
4606 * gdb.trace/status-stop.exp: Likewise.
4607 * gdb.trace/strace.exp: Likewise.
4608 * gdb.trace/tfind.exp: Likewise.
4609 * gdb.trace/trace-break.exp: Likewise.
4610 * gdb.trace/trace-condition.exp: Likewise.
4611 * gdb.trace/trace-mt.exp: Likewise.
4612 * gdb.trace/tstatus.exp: Likewise.
4613 * gdb.trace/tsv.exp: Likewise.
4614 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4615 * gdb.trace/unavailable.exp: Likewise.
4616 * gdb.trace/while-dyn.exp: Likewise.
4618 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4621 that libinproctrace is copied to the target.
4623 2018-03-14 Tom Tromey <tom@tromey.com>
4626 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4628 * gdb.base/wchar.exp: Likewise.
4630 2018-03-14 Tom Tromey <tom@tromey.com>
4633 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4636 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4639 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4640 "target" to remote_exec.
4642 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4645 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4646 ${board}_upload): Remove.
4648 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4650 * gdb.cp/watch-cp.cc: New test.
4651 * gdb.cp/watch-cp.exp: New file.
4653 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4655 * gdb.base/infcall-nested-structs.exp: New file.
4656 * gdb.base/infcall-nested-structs.c: New file.
4657 * gdb.base/float.exp: Add riscv support.
4659 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4661 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4662 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4664 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4666 * gdb.server/abspath.exp: New file.
4667 * lib/gdb.exp (with_cwd): New procedure.
4669 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4671 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4673 (gdb_is_target_remote_prompt): New proc.
4674 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4675 (gdb_is_target_native): Pass prompt parameter to
4678 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4680 * gdb.base/load-command.c: New file.
4681 * gdb.base/load-command.exp: New file.
4682 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4683 (gdb_is_target_1): ...this, and generalize for other targets
4685 (gdb_is_target_remote): Use gdb_is_target_1.
4686 (gdb_is_target_native): use gdb_is_target_1.
4688 2018-02-26 Tom Tromey <tom@tromey.com>
4691 * gdb.python/py-framefilter.exp: Update test.
4693 2018-02-26 Tom Tromey <tom@tromey.com>
4695 * gdb.dwarf2/variant.c: New file.
4696 * gdb.dwarf2/variant.exp: New file.
4698 2018-02-26 Tom Tromey <tom@tromey.com>
4700 * gdb.rust/simple.exp: Accept more possible results in enum test.
4702 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4704 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4707 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4709 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4710 name of a variable: $actual_linejj -> $actual_line.
4712 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4714 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4716 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4718 * gdb.btrace/buffer-size.exp: Do not force BTS.
4720 2018-02-14 Pedro Alves <palves@redhat.com>
4722 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4725 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4727 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4730 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4732 * gdb.cp/m-static.exp: Check type of optimized out static
4735 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4737 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4738 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4740 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4741 Leszek Swirski <leszeks@google.com>
4743 * gdb.python/py-prettyprint.c
4744 (struct to_string_returns_value_inner,
4745 struct to_string_returns_value_wrapper): New.
4746 (main): Add tsrvw variable.
4747 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4748 ToStringReturnsValueWrapper): New classes.
4749 (register_pretty_printers): Register new pretty-printers.
4750 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4751 recursive pretty printer.
4752 * gdb.python/py-mi.exp: Likewise.
4754 2018-02-01 Leszek Swirski <leszeks@google.com>
4756 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4757 functions with the same name as an include file are parsed
4760 2018-02-01 Yao Qi <yao.qi@linaro.org>
4762 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4765 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4767 * gdb.arch/powerpc-prologue-frame.s: New file.
4768 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4769 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4771 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4773 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4775 2018-01-30 Pedro Alves <palves@redhat.com>
4778 * gdb.base/interrupt-daemon.c: New.
4779 * gdb.base/interrupt-daemon.exp: New.
4780 * gdb.multi/multi-term-settings.c: New.
4781 * gdb.multi/multi-term-settings.exp: New.
4783 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4785 * gdb.base/break.exp: Save the location where the breakpoint
4786 on break.c:47 was actually inserted when debugging the version
4787 compiled at -O2 and use it in the expected output of the "info
4788 break" test performed soon after.
4790 2018-01-22 Pedro Alves <palves@redhat.com>
4791 Sergio Durigan Junior <sergiodj@redhat.com>
4793 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4794 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4796 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4798 * gdb.base/break-include.c, gdb.base/break-include.inc,
4799 gdb.base/break-include.exp: New files.
4800 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4801 line number now being the actual line number where the breakpoint
4803 * gdb.mi/mi-break.exp: Likewise.
4804 * gdb.mi/mi-reverse.exp: Likewise.
4805 * gdb.mi/mi-simplerun.exp: Ditto.
4807 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4809 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4811 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4813 2018-01-21 Don Breazeal <donb@codesourcery.com>
4814 Andrew Burgess <andrew.burgess@embecosm.com>
4816 * gdb.mi/basics.c: Add new global.
4817 * gdb.mi/mi-frame-regs.exp: New file.
4818 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4821 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4823 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4824 non-parameter, and on an unknown symbol.
4826 2018-01-19 Tom Tromey <tom@tromey.com>
4828 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4829 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4831 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4833 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4834 setrlimit and chdir to int.
4836 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4838 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4840 (my_tend): Likewise.
4841 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4842 rationale of avoiding FP- and vector instructions.
4844 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4846 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4847 "info reg" with "\[ \t\]*".
4848 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4850 * gdb.arch/s390-multiarch.exp: Ditto.
4851 * gdb.base/pc-fp.exp: Ditto.
4852 * gdb.reverse/i386-precsave.exp: Ditto.
4853 * gdb.reverse/i386-reverse.exp: Ditto.
4854 * gdb.reverse/i387-env-reverse.exp: Ditto.
4855 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4857 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4859 * lib/gdb.exp (gdb_compile): Re-enable use of
4860 universal_compile_options for languages other than Rust.
4862 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4864 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4866 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4869 * gdb.base/solib-vanish.exp: New.
4870 * gdb.base/solib-vanish-main.c: New.
4871 * gdb.base/solib-vanish-lib1.c: New.
4872 * gdb.base/solib-vanish-lib2.c: New.
4874 2018-01-17 Yao Qi <yao.qi@linaro.org>
4876 * gdb.compile/compile.exp: Match the address printed for
4877 frame in the output of command "bt".
4879 2018-01-15 Tom Tromey <tom@tromey.com>
4881 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4884 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4886 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4888 (prepare): Return 0 on error, 1 on success.
4890 2018-01-12 Pedro Alves <palves@redhat.com>
4892 * gdb.base/continue-after-aborted-step-over.c: New.
4893 * gdb.base/continue-after-aborted-step-over.exp: New.
4895 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4897 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4898 options when not creating an executable.
4900 2018-01-11 Pedro Alves <palves@redhat.com>
4903 * gdb.server/stop-reply-no-thread.c: New file.
4904 * gdb.server/stop-reply-no-thread.exp: New file.
4906 2018-01-10 Pedro Alves <palves@redhat.com>
4909 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4910 functions too. Test setting breakpoints and printing C functions
4911 with no debug info too.
4912 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4914 2018-01-10 Pedro Alves <palves@redhat.com>
4917 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4920 2018-01-10 Pedro Alves <palves@redhat.com>
4923 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4925 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4927 * gdb.server/unittest.exp: Match the output in non-development
4930 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4932 * gdb.gdb/unittest.exp: Match output in non-development mode.
4934 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4936 * gdb.ada/access_tagged_param.exp: Relax expected output
4937 for value of "ObjL" in "continue" to pck.inspect breakpoint
4940 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4942 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4943 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4945 2018-01-05 Pedro Alves <palves@redhat.com>
4948 * gdb.base/libsegfault.exp: New.
4950 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4953 * gdb.ada/access_tagged_param.exp: New file.
4954 * gdb.ada/access_tagged_param/foo.adb: New file.
4956 2018-01-05 Pedro Alves <palves@redhat.com>
4959 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4960 exercise lower case too, and to exercise both full matching and
4963 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4965 * gdb.ada/rename_subscript_param: New testcase.
4967 2018-01-05 Jerome Guitton <guitton@adacore.com>
4969 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4971 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4973 * gdb.ada/convvar_comp: New testcase.
4975 2018-01-05 Xavier Roirand <roirand@adacore.com>
4977 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4978 (My_Table): New global variable.
4979 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4981 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4984 * gdb.ada/maint_with_ada: New testcase.
4986 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4989 * gdb.ada/bp_c_mixed_case: New testcase.
4991 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4994 * gdb.ada/complete.exp: Add "complete break ada" test.
4996 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4999 * gdb.ada/info_addr_mixed_case: New testcase.
5001 2018-01-03 Xavier Roirand <roirand@adacore.com>
5003 * gdb.ada/excep_handle.exp: New testcase.
5004 * gdb.ada/excep_handle/foo.adb: New file.
5005 * gdb.ada/excep_handle/pck.ads: New file.
5007 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5009 * gdb.base/step-line.c: Add extra empty line in copyright header.
5010 * gdb.base/step-line.inp: Likewise.
5012 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5014 * gdb.ada/dyn_stride.exp: Add slice test.
5016 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5018 * gdb.ada/dyn_stride: New testcase.
5020 2017-12-27 Stafford Horne <shorne@gmail.com>
5022 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5023 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5025 2017-12-27 Stafford Horne <shorne@gmail.com>
5027 * gdb.base/reggroups.c: New file.
5028 * gdb.base/reggroups.exp: New file.
5030 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5032 * gdb.dwarf2/ada-valprint-error.c: New file.
5033 * gdb.dwarf2/ada-valprint-error.exp: New file.
5035 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5037 * gdb.ada/assign_arr: New testcase.
5039 2017-12-18 Xavier Roirand <roirand@adacore.com>
5041 * gdb.ada/funcall_ptr: New testcase.
5043 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5046 * gdb.base/ptype-offsets.cc: New file.
5047 * gdb.base/ptype-offsets.exp: New file.
5049 2017-12-15 Yao Qi <yao.qi@linaro.org>
5051 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5054 2017-12-15 Xavier Roirand <roirand@adacore.com>
5056 * gdb.ada/same_component_name: New testcase.
5058 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5060 * gdb.ada/str_binop_equal: New testcase.
5062 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5064 * gdb.ada/task_switch_in_core: New testcase.
5066 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5068 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5069 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5070 call test_bkpt_qualified.
5071 (test_bkpt_qualified): New proc.
5073 2017-12-13 Pedro Alves <palves@redhat.com>
5075 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5076 Tighten regexp by matching with an anchor.
5078 2017-12-13 Pedro Alves <palves@redhat.com>
5080 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5081 ("expression with namespace"): New set of tests.
5082 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5083 (Nested::Test_NS::qux): New.
5084 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5085 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5087 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5089 * gdb.base/server-del-break.c: New file.
5090 * gdb.base/server-del-break.exp: New file.
5092 2017-12-12 Stafford Horne <shorne@gmail.com>
5094 * gdb.xml/tdesc-regs.exp: Add or1k support.
5096 2017-12-12 Stafford Horne <shorne@gmail.com>
5098 * gdb.base/bp-permanent.c: Define nop of or1k.
5100 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5102 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5103 output with components being reordered.
5105 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5107 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5108 output with components being reordered.
5110 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5111 Pedro Alves <palves@redhat.com>
5113 * gdb.base/maint.exp (check for .gdb_index): Check also for
5115 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5116 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5117 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5118 (.gdb_index used after symbol reloading): Support also .debug_names.
5119 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5121 2017-12-08 Yao Qi <yao.qi@linaro.org>
5123 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5124 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5126 2017-12-08 Yao Qi <yao.qi@linaro.org>
5128 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5129 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5131 2017-12-08 Yao Qi <yao.qi@linaro.org>
5133 * gdb.arch/aarch64-tagged-pointer.c: New file.
5134 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5136 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5138 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5141 2017-12-07 Keith Seitz <keiths@redhat.com>
5143 PR breakpoints/22569
5144 * gdb.linespec/ls-errs.exp: Change expected result of "break
5145 -source this file has spaces.c -line 3".
5146 Check that an explicit source file followed by whitespace is
5147 identified as an invalid explicit location.
5149 2017-12-07 Keith Seitz <keiths@redhat.com>
5151 * gdb.cp/nested-types.cc: New file.
5152 * gdb.cp/nested-types.exp: New file.
5153 * lib/cp-support.exp: Load data-structures.exp library.
5154 (debug_cp_test_ptype_class): New global.
5155 (cp_ptype_class_verbose, next_line): New procedures.
5156 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5157 Add and document new return value.
5158 Switch the list of lines to a queue.
5159 Add support for new `type' key for nested type definitions.
5160 Add debugging/troubleshooting messages.
5161 * lib/data-structures.exp: New file.
5163 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5165 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5166 with proc_with_prefix, don't use with_test_prefix.
5168 2017-12-07 Tom Tromey <tom@tromey.com>
5170 * gdb.base/break.exp: Add test for empty "commands".
5172 2017-12-07 Yao Qi <yao.qi@linaro.org>
5174 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5175 malloc and catch syscall.
5177 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5179 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5180 tests for explicit locations.
5182 2017-12-06 Pedro Alves <palves@redhat.com>
5184 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5185 force-disabling XML descriptions.
5187 2017-12-04 Pedro Alves <palves@redhat.com>
5190 * gdb.arch/amd64-disp-step-avx.S: New file.
5191 * gdb.arch/amd64-disp-step-avx.exp: New file.
5193 2017-12-03 Pedro Alves <palves@redhat.com>
5195 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5197 (parent_function): Print distinct messages when waitpid fails, or
5198 the child exits with a signal, or the child exits for an unhandled
5200 * gdb.threads/process-dies-while-detaching.exp
5201 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5202 it. Wait for both inferior output and GDB's prompt. Use an
5203 indirect spawn id list.
5204 (do_detach): New parameter 'child_exit'. Use it to compute
5205 expected inferior output.
5206 (test_detach, test_detach_watch, test_detach_killed_outside):
5207 Adjust to pass down the expected child exit kind.
5209 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5210 Sergio Durigan Junior <sergiodj@redhat.com>
5211 Pedro Alves <palves@redhat.com>
5213 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5215 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5217 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5218 to 'symbol-file' and 'add-symbol-file' can be
5219 position-independent.
5221 2017-12-01 Yao Qi <yao.qi@linaro.org>
5223 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5224 the URL in copyright header.
5225 * gdb.arch/aarch64-fp.exp: Likewise.
5226 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5227 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5228 * gdb.base/expand-psymtabs.exp: Likewise.
5229 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5230 * gdb.fortran/common-block.exp: Likewise.
5231 * gdb.fortran/common-block.f90: Likewise.
5232 * gdb.fortran/logical.exp: Likewise.
5233 * gdb.fortran/vla-datatypes.f90: Likewise.
5234 * gdb.fortran/vla-sub.f90: Likewise.
5236 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5238 * gdb.ada/repeat_dyn: New testcase.
5240 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5242 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5243 Update for changed thread numbering.
5244 * gdb.cell/bt.exp: Update for changed GDB output.
5246 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5248 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5249 setting isremote by hand.
5250 * boards/dwarf4-gdb-index.exp: Likewise.
5251 * boards/fission.exp: Likewise.
5252 * boards/stabs.exp: Likewise.
5254 2017-11-30 Pedro Alves <palves@redhat.com>
5256 * gdb.linespec/cpls-ops.exp
5257 (check_explicit_skips_function_argument): Extract the underlying
5258 type of size_t instead of hardcoding it.
5260 2017-11-29 Pedro Alves <palves@redhat.com>
5263 * gdb.linespec/cpls-abi-tag.cc: New file.
5264 * gdb.linespec/cpls-abi-tag.exp: New file.
5266 2017-11-29 Pedro Alves <palves@redhat.com>
5268 * gdb.base/langs.exp: Use -qualified.
5269 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5271 * gdb.cp/namespace.exp: Use -qualified.
5272 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5273 (overload-3, template-overload, template-ret-type, const-overload)
5274 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5276 (test_driver): Call them.
5277 * gdb.cp/save-bp-qualified.cc: New.
5278 * gdb.cp/save-bp-qualified.exp: New.
5279 * gdb.linespec/explicit.exp: Test -qualified.
5280 * lib/completion-support.exp (completion::explicit_opts_list): Add
5282 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5284 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5286 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5288 2017-11-29 Tom Tromey <tom@tromey.com>
5290 * gdb.base/relocate.exp: Update invalid argument test.
5291 Add new tests for invalid arguments.
5293 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5295 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5297 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5299 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5301 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5302 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5303 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5305 * gdb.cp/shadow.cc (B.func): Return 0.
5307 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5309 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5310 expected output in gdb_expect call to allow the exception
5311 message to be present as well. Fix syntax confusion to avoid
5312 TCL thinking that exception_name is an array.
5314 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5316 * gdb.arch/spu-info.c: Include <unistd.h>.
5317 (do_signal_test): Fix broken calls to write.
5318 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5319 Fix checks for empty mailboxes. Update signal tests for corrected
5320 do_signal_test routine. Allow nonzero event status.
5321 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5322 * gdb.cell/arch.exp: Use standard_output_file.
5323 * gdb.cell/break.exp: Likewise.
5324 * gdb.cell/bt.exp: Likewise.
5325 * gdb.cell/core.exp: Likewise.
5326 * gdb.cell/dwarfaddr.exp: Likewise.
5327 * gdb.cell/ea-cache.exp: Likewise.
5328 * gdb.cell/ea-standalone.exp: Likewise.
5329 * gdb.cell/f-regs.exp: Likewise.
5330 * gdb.cell/fork.exp: Likewise.
5331 * gdb.cell/gcore.exp: Likewise.
5332 * gdb.cell/mem-access.exp: Likewise.
5333 * gdb.cell/ptype.exp: Likewise.
5334 * gdb.cell/registers.exp: Likewise.
5335 * gdb.cell/sizeof.exp: Likewise.
5336 * gdb.cell/solib-symbol.exp: Likewise.
5337 * gdb.cell/solib.exp: Likewise.
5339 2017-11-25 Pedro Alves <palves@redhat.com>
5341 * gdb.base/complete-empty.exp: New file.
5342 * gdb.base/completion.exp: Adjust.
5344 2017-11-25 Pedro Alves <palves@redhat.com>
5346 * gdb.linespec/cpls-ops.cc: New file.
5347 * gdb.linespec/cpls-ops.exp: New file.
5348 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5349 factored out from ...
5350 (test_complete_prefix_range): ... this.
5352 2017-11-24 Pedro Alves <palves@redhat.com>
5354 * gdb.linespec/cpcompletion.exp: New file.
5355 * gdb.linespec/cpls-hyphen.cc: New file.
5356 * gdb.linespec/cpls.cc: New file.
5357 * gdb.linespec/cpls2.cc: New file.
5358 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5359 test to use test_gdb_complete_unique. Add label completion,
5360 keyword completion and explicit location completion tests.
5361 * lib/completion-support.exp: New file.
5363 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5365 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5366 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5367 when hitting an exception catchpoint.
5369 2017-11-22 Yao Qi <yao.qi@linaro.org>
5371 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5373 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5375 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5376 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5377 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5379 2017-11-22 Yao Qi <yao.qi@linaro.org>
5381 * gdb.base/info-os.exp: Pass pthreads.
5382 * gdb.multi/multi-attach.exp: Likewise.
5384 2017-11-22 Yao Qi <yao.qi@linaro.org>
5386 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5389 2017-11-22 Yao Qi <yao.qi@linaro.org>
5391 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5392 * gdb.base/break-interp.exp: Likewise.
5393 * gdb.base/jit-attach-pie.exp: Likewise.
5395 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5397 * gdb.base/float128.c (large128): New variable.
5398 * gdb.base/float128.exp: Add test to print largest __float128 value.
5400 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5402 * gdb.arch/vsx-regs.exp: Update register content checks.
5404 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5406 * gdb.arch/ppc-longdouble.exp: New file.
5407 * gdb.arch/ppc-longdouble.c: Likewise.
5409 2017-11-21 Pedro Alves <palves@redhat.com>
5411 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5413 2017-11-20 Pedro Alves <palves@redhat.com>
5415 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5416 (long_double_typedef): New typedefs.
5417 Use DEF on double and long double.
5418 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5420 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5421 and 'long_double_ptr_same_size' locals. Use them to decide
5422 whether cast from array/function to float is valid/invalid.
5424 2017-11-17 Tom Tromey <tom@tromey.com>
5426 * gdb.rust/traits.rs: New file.
5427 * gdb.rust/traits.exp: New file.
5429 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5431 * gdb.ada/minsyms: New testcase.
5433 2017-11-16 Pedro Alves <palves@redhat.com>
5435 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5436 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5438 2017-11-16 Pedro Alves <palves@redhat.com>
5440 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5441 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5443 2017-11-16 Pedro Alves <palves@redhat.com>
5445 * gdb.server/reconnect-ctrl-c.c: New file.
5446 * gdb.server/reconnect-ctrl-c.exp: New file.
5448 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5450 * gdb.python/py-rbreak.exp: New file.
5451 * gdb.python/py-rbreak.c: New file.
5452 * gdb.python/py-rbreak-func2.c: New file.
5454 2017-11-16 Pedro Alves <palves@redhat.com>
5456 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5458 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5461 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5463 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5466 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5468 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5471 2017-11-09 Pedro Alves <palves@redhat.com>
5473 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5474 factored out from ...
5475 (top level): ... here, and adjusted to avoid expecting beyond the
5476 prompt in a single gdb_test_multiple.
5478 2017-11-09 Pedro Alves <palves@redhat.com>
5480 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5482 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5483 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5484 * gdb.server/ext-run.exp ("kill" test): Likewise.
5485 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5487 2017-11-09 Pedro Alves <palves@redhat.com>
5489 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5490 match till end of line.
5492 2017-11-09 Pedro Alves <palves@redhat.com>
5494 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5496 2017-11-09 Pedro Alves <palves@redhat.com>
5498 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5499 New procedures, factored out from ...
5500 (top level): ... here, and adjusted to avoid expecting beyond the
5503 2017-11-09 Pedro Alves <palves@redhat.com>
5505 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5506 output. Fix '?' match.
5508 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5510 * gdb.ada/scoped_watch: New testcase.
5511 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5512 which is actually correct.
5513 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5514 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5516 2017-11-08 Pedro Alves <palves@redhat.com>
5518 * gdb.gdb/complaints.exp (test_initial_complaints)
5519 (test_serial_complaints, test_short_complaints): Call
5520 complaint_internal instead of complaint.
5522 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5524 * gdb.threads/tls-core.c: New file.
5525 * gdb.threads/tls-core.exp: Likewise.
5527 2017-11-08 Pedro Alves <palves@redhat.com>
5529 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5530 (p Exported_Capitalized): New test.
5531 (p exported_capitalized): New test.
5533 2017-11-07 Pedro Alves <palves@redhat.com>
5535 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5537 2017-11-07 Pedro Alves <palves@redhat.com>
5539 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5540 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5541 (disable_invalid, disable_inverted, disable_negative): New
5543 ("bad numbers"): New set of tests.
5545 2017-11-07 Pedro Alves <palves@redhat.com>
5547 * gdb.cp/ena-dis-br-range.exp: Add tests.
5549 2017-11-07 Pedro Alves <palves@redhat.com>
5551 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5553 2017-11-07 Xavier Roirand <roirand@adacore.com>
5554 Pedro Alves <palves@redhat.com>
5556 * gdb.base/ena-dis-br.exp: Add reference to
5557 gdb.cp/ena-dis-br-range.exp.
5558 * gdb.cp/ena-dis-br-range.exp: New file.
5559 * gdb.cp/ena-dis-br-range.cc: New file.
5561 2017-11-06 Pedro Alves <palves@redhat.com>
5563 * gdb.base/attach-non-pgrp-leader.c: New.
5564 * gdb.base/attach-non-pgrp-leader.exp: New.
5566 2017-11-06 Pedro Alves <palves@redhat.com>
5568 * configure.ac: No longer check for termio.h and sgtty.h.
5569 * configure: Regenerate.
5570 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5571 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5572 Remove termio and sgtty code.
5574 2017-11-03 Yao Qi <yao.qi@linaro.org>
5576 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5579 2017-11-03 Yao Qi <yao.qi@linaro.org>
5581 * gdb.python/py-thrhandle.exp: Skip it if python is not
5584 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5586 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5587 as a breakpoint command.
5589 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5592 * gdb.python/py-infthread.exp: Test calling
5593 InferiorThread.inferior () multiple times in a row.
5595 2017-10-27 Keith Seitz <keiths@redhat.com>
5597 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5598 Test "info break" for every inlined function breakpoint.
5600 2017-10-27 Yao Qi <yao.qi@linaro.org>
5602 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5604 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5606 * gdb.cp/classes.exp (test_static_members): Test printing
5608 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5609 (Inner::instance, Outer::instance): New.
5611 2017-10-24 Pedro Alves <palves@redhat.com>
5613 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5614 extra console" test in two stages.
5616 2017-10-24 Pedro Alves <palves@redhat.com>
5618 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5620 2017-10-24 Pedro Alves <palves@redhat.com>
5622 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5625 2017-10-24 Pedro Alves <palves@redhat.com>
5627 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5628 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5630 2017-10-24 Pedro Alves <palves@redhat.com>
5632 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5633 parameter and handle it. Don't output read value in test name.
5635 2017-10-24 Pedro Alves <palves@redhat.com>
5637 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5640 2017-10-24 Pedro Alves <palves@redhat.com>
5642 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5643 include the unstable output directory name in the test's name.
5644 (initial_setup_simple) <'set args'>: Use custom test name.
5646 2017-10-24 Pedro Alves <palves@redhat.com>
5648 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5649 with explicit test name.
5651 2017-10-20 Pedro Alves <palves@redhat.com>
5653 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5654 'wait -i'. Use gdb_assert and remote_close.
5656 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5658 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5659 number from variable rather than hard-coded.
5661 2017-10-19 Pedro Alves <palves@redhat.com>
5663 * gdb.base/long-inferior-output.c: New file.
5664 * gdb.base/long-inferior-output.exp: New file.
5666 2017-11-18 Keith Seitz <keiths@redhat.com>
5668 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5671 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5672 Add additional user-defined conversion operator tests.
5674 2017-10-17 Pedro Alves <palves@redhat.com>
5676 * boards/native-stdio-gdbserver.exp: Load "local-board".
5678 2017-10-17 Pedro Alves <palves@redhat.com>
5680 * gdb.base/quit-live.c: New file.
5681 * gdb.base/quit-live.exp: New file.
5683 2017-10-16 Keith Seitz <keiths@redhat.com>
5685 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5686 (class_with_protected_typedef, class_with_private_typedef)
5687 (struct_with_public_typedef, struct_with_protected_typedef)
5688 (struct_with_private_typedef): New classes/structs.
5689 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5690 typedefs and access specifiers.
5692 2017-10-16 Pedro Alves <palves@redhat.com>
5693 Simon Marchi <simon.marchi@polymtl.ca>
5695 * README (Local vs Remote vs Native): New section.
5696 * boards/local-board.exp: New file, with bits factored out from
5698 * boards/native-extended-gdbserver.exp: ... here. Load
5700 * boards/native-gdbserver.exp: Load "local-board".
5701 (${board}_spawn, ${board}_exec): Delete.
5702 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5704 * boards/stdio-gdbserver-base.exp: ... this new file.
5705 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5706 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5708 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5709 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5710 stdio_gdbserver_command.
5711 (${board}_get_remote_address, ${board}_get_comm_port)
5712 (${board}_download, ${board}_upload): Delete.
5713 (get_target_remote_pipe_cmd): New.
5715 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5717 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5718 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5719 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5720 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5721 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5722 remove with_test_prefix.
5724 2017-10-13 Pedro Alves <palves@redhat.com>
5726 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5727 * gdb.base/annota1.exp: Use it instead of is_remote.
5728 * gdb.base/annota3.exp: Use it instead of is_remote.
5729 * gdb.cp/annota2.exp: Use it instead of is_remote.
5730 * gdb.cp/annota3.exp: Use it instead of is_remote.
5731 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5733 2017-10-13 Pedro Alves <palves@redhat.com>
5735 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5736 (test_num_test_vars, run_and_count_vars, find_env)
5737 (test_set_unset_env, test_inherit_env_var): New procedures.
5738 (top level): Use them.
5740 2017-10-13 Pedro Alves <palves@redhat.com>
5742 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5743 also skip on stub-like targets.
5745 2017-10-13 Pedro Alves <palves@redhat.com>
5748 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5749 (top level): Move some tests to ...
5750 (test_not_found): ... this new procedure.
5751 (top level): Call it.
5753 2017-10-13 Pedro Alves <palves@redhat.com>
5755 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5756 expect different "info terminal" output if testing with a
5759 2017-10-13 Pedro Alves <palves@redhat.com>
5760 Simon Marchi <simon.marchi@polymtl.ca>
5763 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5765 2017-10-13 Pedro Alves <palves@redhat.com>
5767 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5770 2017-10-13 Pedro Alves <palves@redhat.com>
5772 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5775 2017-10-13 Pedro Alves <palves@redhat.com>
5777 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5780 2017-10-13 Pedro Alves <palves@redhat.com>
5782 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5784 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5785 instead of is_remote.
5787 2017-10-13 Pedro Alves <palves@redhat.com>
5789 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5790 (top level): Add comment.
5792 2017-10-13 Pedro Alves <palves@redhat.com>
5794 * gdb.base/remote.exp (top level): Fix comment typo and add
5797 2017-10-13 Pedro Alves <palves@redhat.com>
5798 Simon Marchi <simon.marchi@polymtl.ca>
5800 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5801 calls and add comments. Skip test if use_gdb_stub is set.
5802 (top level): Use "set cwd" command instead of "cd" command.
5804 2017-10-13 Pedro Alves <palves@redhat.com>
5806 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5807 is_remote target check.
5809 2017-10-13 Pedro Alves <palves@redhat.com>
5811 * gdb.base/scope.exp: Use build_executable + clean_restart +
5812 gdb_file_cmd instead of prepare_for_testing and no longer skip
5813 "before run" tests on is_remote target boards. Update comments.
5814 * boards/native-extended-gdbserver.exp
5815 (extended_gdbserver_load_last_file): New, factored out from ...
5816 (gdb_load): ... this. Move further below and add comment.
5817 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5819 2017-10-12 Pedro Alves <palves@redhat.com>
5821 * gdb.base/attach.exp: Remove references to gdb64.
5822 * gdb.base/dbx.exp: Remove references to gdb64.
5824 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5825 Pedro Alves <palves@redhat.com>
5827 * gdb.base/label.exp: Remove is_remote target check.
5829 2017-10-12 Pedro Alves <palves@redhat.com>
5831 * gdb.base/auvx.exp (coredir): Update comment.
5832 (top level) <core_works>: Use "set cwd" command instead of "cd"
5835 2017-10-12 Pedro Alves <palves@redhat.com>
5836 Simon Marchi <simon.marchi@polymtl.ca>
5838 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5841 2017-10-12 Pedro Alves <palves@redhat.com>
5842 Simon Marchi <simon.marchi@polymtl.ca>
5844 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5845 Instead skip if there's any gdb_protocol set.
5847 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5848 Pedro Alves <palves@redhat.com>
5850 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5852 2017-10-12 Pedro Alves <palves@redhat.com>
5853 Simon Marchi <simon.marchi@polymtl.ca>
5855 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5856 instead of on dejagnu remote boards.
5858 2017-10-12 Pedro Alves <palves@redhat.com>
5859 Simon Marchi <simon.marchi@polymtl.ca>
5861 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5862 checks. Use build_executable + clean_restart instead of
5863 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5864 of enabling non-stop after starting gdb.
5866 2017-10-12 Pedro Alves <palves@redhat.com>
5868 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5869 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5870 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5871 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5873 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5875 * gdb.arch/arc-tdesc-cpu.exp: New file.
5876 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5878 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5880 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5882 2017-10-10 Pedro Alves <palves@redhat.com>
5884 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5887 2017-10-10 Pedro Alves <palves@redhat.com>
5889 * lib/selftest-support.exp (selftest_setup): Update for
5890 captured_command_loop's prototype change.
5892 2017-10-09 Pedro Alves <palves@redhat.com>
5894 Test both arch1=>arch2 and arch2=>arch1.
5896 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5897 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5899 (append_arch1_options, append_arch2_options, append_arch_options)
5900 (build_executables): New procedures.
5901 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5903 (top level): Add new 'first_arch' testing axis.
5905 2017-10-09 Pedro Alves <palves@redhat.com>
5907 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5909 (thread_start, all_started): New functions.
5910 (main): Spawn new thread and wait until it is scheduled.
5911 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5913 (do_test): Add 'selected_thread' parameter. Run to all_started
5914 instead of main. Explicitly set the breakpoint at main. Switch
5915 to the SELECTED_THREAD thread.
5916 (top level): Test handling the exec event with either the main
5917 thread or the second thread selected.
5919 2017-10-09 Pedro Alves <palves@redhat.com>
5921 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5922 logic. Move STOP marker after the value checks.
5923 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5926 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5928 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5930 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5932 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5933 integer-to-dfp conversion.
5934 * gdb.base/dfp-test.exp: Likewise.
5936 2017-10-04 Pedro Alves <palves@redhat.com>
5938 * gdb.multi/hangout.c: Include <unistd.h>.
5939 (hangout_loop): New function.
5940 (main): Call alarm. Call hangout_loop in a loop.
5941 * gdb.multi/hello.c: Include <unistd.h>.
5942 (hello_loop): New function.
5943 (main): Call alarm. Call hangout_loop in a loop.
5944 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5945 inferior with the other selected.
5947 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5949 * gdb.mi/list-thread-groups-available.exp: New file.
5950 * gdb.mi/list-thread-groups-available.c: New file.
5952 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5954 * gdb.base/set-cwd.exp: Make it available on
5955 native-extended-gdbserver.
5957 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5959 * gdb.base/set-cwd.c: New file.
5960 * gdb.base/set-cwd.exp: Likewise.
5962 2017-10-02 Tom Tromey <tom@tromey.com>
5965 * gdb.rust/simple.rs (main): New variable "fslice".
5966 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5968 2017-10-02 Tom Tromey <tom@tromey.com>
5970 * gdb.rust/simple.exp: Test ptype of a slice.
5972 2017-10-02 Tom Tromey <tom@tromey.com>
5974 * gdb.rust/simple.exp: Test index of slice.
5976 2017-09-27 Tom Tromey <tom@tromey.com>
5978 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5980 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5981 Pedro Alves <palves@redhat.com>
5983 * gdb.base/compare-sections.exp (get value of read-only section): Read
5985 (corrupt read-only section): Likewise and don't set written if patching
5988 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5990 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5993 2017-09-20 Pedro Alves <palves@redhat.com>
5995 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5996 symbol names in gdb's output.
5997 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5999 2017-09-20 Pedro Alves <palves@redhat.com>
6001 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6003 (test_list_ambiguous_symbol): ... this and add a symbol name
6005 (test_list_ambiguous_function): Reimplement on top of
6006 test_list_ambiguous_symbol and also test listing ambiguous
6008 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6009 (ambiguous_fun): ... this.
6010 (ambiguous_var): New.
6011 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6012 (ambiguous_fun): ... this.
6013 (ambiguous_var): New.
6015 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6017 * gdb.base/starti.c: New file.
6018 * gdb.base/starti.exp: New file.
6019 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6021 2017-09-14 Pedro Alves <palves@redhat.com>
6023 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6024 (top level): Use it instead of runto.
6026 2017-09-11 Tom Tromey <tom@tromey.com>
6028 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6030 2017-09-11 Tom Tromey <tom@tromey.com>
6032 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6033 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6035 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6037 * gdb.fortran/printing-types.exp: New file.
6038 * gdb.fortran/printing-types.exp: New file.
6040 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6042 * gdb.fortran/vla-ptype.exp: Fix typos.
6043 * gdb.fortran/vla-value.exp: Same.
6045 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6047 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6048 * gdb.mi/mi-var-child-f.exp: Likewise.
6049 * gdb.mi/mi-vla-fortran.exp: Likewise.
6051 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6052 Christoph Weinmann <christoph.t.weinmann@intel.com>
6053 Bernhard Heckel <bernhard.heckel@intel.com>
6055 * gdb.fortran/ptr-indentation.f90: New file.
6056 * gdb.fortran/ptr-indentation.exp: New file.
6058 2017-09-05 Tom Tromey <tom@tromey.com>
6061 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6063 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6065 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6067 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6069 * gdb.threads/tls-nodebug-pie.c: New file.
6070 * gdb.threads/tls-nodebug-pie.exp: New file.
6072 2017-09-05 Tom Tromey <tom@tromey.com>
6074 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6077 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6079 * gdb.multi/multi-arch-exec.exp: Test with different
6080 "follow-exec-mode" settings.
6081 (do_test): New procedure.
6083 2017-09-04 Pedro Alves <palves@redhat.com>
6085 * gdb.base/func-static.c (S::method const, S::method volatile)
6086 (S::method volatile const): New methods.
6087 (c_s, v_s, cv_s): New instances.
6088 (main): Call method() on them.
6089 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6090 (cannot_resolve): New procedure.
6091 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6092 print-quote-unquoted columns.
6093 (do_test): Test printing each scope too.
6095 2017-09-04 Pedro Alves <palves@redhat.com>
6097 * gdb.base/local-static.exp: Also test with
6098 class::method::variable wholly quoted.
6099 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6101 2017-09-04 Pedro Alves <palves@redhat.com>
6103 * gdb.base/local-static.c: New.
6104 * gdb.base/local-static.cc: New.
6105 * gdb.base/local-static.exp: New.
6107 2017-09-04 Pedro Alves <palves@redhat.com>
6109 * gdb.asm/asm-source.exp: Add casts to int.
6110 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6111 (dataglobal64_1, dataglobal64_2): New globals.
6112 * gdb.base/nodebug.exp: Test different expressions involving the
6113 new globals, with print, whatis and ptype. Add casts to int.
6114 * gdb.base/solib-display.exp: Add casts to int.
6115 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6116 * gdb.cp/m-static.exp: Add cast to int.
6117 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6118 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6119 tls variable with no debug info without a cast. Test with a cast
6121 * gdb.trace/entry-values.exp: Add casts.
6123 2017-09-04 Pedro Alves <palves@redhat.com>
6125 * gdb.base/nodebug.exp: Test that ptype's error about functions
6126 with unknown return type includes the function name too.
6128 2017-09-04 Pedro Alves <palves@redhat.com>
6130 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6131 return type of munmap in infcall.
6132 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6133 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6134 type of ftell in infcall.
6135 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6136 type of getpid in infcall.
6137 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6139 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6140 Bail on failure to extract the pid.
6141 * gdb.base/nodebug.c: #include <stdint.h>.
6142 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6144 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6145 Change expected output of print/whatis/ptype with functions with
6146 no debug info. Test all supported languages. Call
6147 test_call_promotion.
6148 * gdb.compile/compile.exp: Adjust expected output to expect
6150 * gdb.threads/siginfo-threads.exp: Likewise.
6152 2017-09-04 Pedro Alves <palves@redhat.com>
6154 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6155 "prototypes". Test calling float functions via prototyped and
6156 unprototyped function pointers.
6157 (perform_all_tests): New parameter "prototypes". Pass it down.
6158 (top level): Pass down "prototypes" parameter to
6161 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6163 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6164 Test with nested loops.
6166 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6168 * gdb.base/commands.exp: Call the new procedures.
6169 (loop_break_test, loop_continue_test): New procedures.
6171 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6173 * gdb.base/commands.exp: Call new procedure.
6174 (define_if_without_arg_test): New procedure.
6176 2017-09-04 Pedro Alves <palves@redhat.com>
6178 * gdb.base/list-ambiguous.exp: New file.
6179 * gdb.base/list-ambiguous0.c: New file.
6180 * gdb.base/list-ambiguous1.c: New file.
6181 * gdb.base/list.exp (test_list_range): Adjust expected output.
6183 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6185 * gdb.base/share-env-with-gdbserver.c: New file.
6186 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6188 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6190 * gdb.base/commands.exp (gdbvar_simple_if_test,
6191 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6192 progvar_simple_if_test, progvar_simple_while_test,
6193 progvar_complex_if_while_test, user_defined_command_test,
6194 user_defined_command_args_eval,
6195 user_defined_command_args_stack_test,
6196 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6197 temporary_breakpoint_commands,
6198 gdb_test_no_prompt, redefine_hook_test,
6199 redefine_backtrace_test): Remove "global gdb_prompt".
6201 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6203 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6204 New proc, call it from toplevel.
6206 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6209 * gdb.server/normal.c: New file, copied from gdb.base.
6210 * gdb.server/run-without-local-binary.exp: New file.
6212 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6214 * gdb.arch/sparc64-adi.exp: New file.
6215 * gdb.arch/sparc64-adi.c: New file.
6217 2017-08-22 Pedro Alves <palves@redhat.com>
6219 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6220 (top level): Add "list all overloads" tests.
6222 2017-08-22 Tom Tromey <tom@tromey.com>
6224 * gdb.gdb/xfullpath.exp: Remove.
6226 2017-08-21 Pedro Alves <palves@redhat.com>
6229 * gdb.base/symbol-alias.c: New.
6230 * gdb.base/symbol-alias2.c: New.
6231 * gdb.base/symbol-alias.exp: New.
6233 2017-08-21 Pedro Alves <palves@redhat.com>
6235 * gdb.base/dfp-test.c
6236 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6237 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6238 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6239 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6240 * gdb.base/whatis-ptype-typedefs.c: New.
6241 * gdb.base/whatis-ptype-typedefs.exp: New.
6242 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6243 (an_int, an_int_type, an_int_type2): New globals.
6244 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6245 involving typedefs and cast expressions.
6246 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6247 (lookup_typedefs_function): New.
6248 (typedefs_pretty_printers_dict): New.
6249 (top level): Register lookup_typedefs_function in
6250 gdb.pretty_printers.
6252 2017-08-18 Yao Qi <yao.qi@linaro.org>
6254 * gdb.server/unittest.exp: New.
6256 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6259 * gdb.base/environ.exp: Add test to check if 'unset environment'
6262 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6264 * lib/gdb.exp (universal_compile_options): New caching proc.
6265 (gdb_compile): Suppress GCC's coloring of messages.
6267 2017-08-14 Tom Tromey <tom@tromey.com>
6270 * gdb.base/printcmds.exp (test_radices): New function.
6271 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6272 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6273 * lib/gdb.exp (get_integer_valueof): Use p/d.
6275 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6277 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6280 2017-08-05 Tom Tromey <tom@tromey.com>
6282 * gdb.rust/simple.exp: Allow String to appear in a different
6285 2017-07-26 Yao Qi <yao.qi@linaro.org>
6287 * gdb.gdb/unittest.exp: Invoke command
6288 "maintenance check xml-descriptions".
6290 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6292 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6294 (hex128): Drop erroneous calculation of parameters.
6296 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6298 * gdb.python/py-unwind.exp: Disable stack protection when
6301 2017-07-20 Pedro Alves <palves@redhat.com>
6303 * gdb.base/default.exp (set language): Adjust expected output.
6305 2017-07-20 Pedro Alves <palves@redhat.com>
6307 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6308 (test_minsym): ... this, and make static.
6309 (get_pck__foo__bar__minsym): Rename to ...
6310 (get_test_minsym): ... this.
6311 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6312 symbol names and comments.
6313 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6314 (get_test_minsym): ... this.
6315 (pck__foo__bar__minsym__2): Rename to ...
6316 (test_minsym): ... this.
6319 2017-07-17 Pedro Alves <palves@redhat.com>
6321 * gdb.base/completion.exp: Adjust expected output.
6322 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6323 the completer works.
6325 2017-07-17 Pedro Alves <palves@redhat.com>
6327 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6329 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6331 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6333 2017-07-14 Tom Tromey <tom@tromey.com>
6336 * gdb.rust/simple.exp: Add tests.
6338 2017-07-14 Tom Tromey <tom@tromey.com>
6340 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6342 2017-07-14 Pedro Alves <palves@redhat.com>
6344 * gdb.linespec/base/one/thefile.cc (z1): New function.
6345 * gdb.linespec/base/two/thefile.cc (z2): New function.
6346 * gdb.linespec/linespec.exp: Add tests.
6348 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6350 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6351 to mi_create_breakpoint.
6353 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6355 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6356 mi_create_breakpoint.
6358 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6360 * gdb.dlang/demangle.exp: Update for demangling changes.
6362 2017-07-09 Tom Tromey <tom@tromey.com>
6364 * gdb.dwarf2/shortpiece.exp: New file.
6366 2017-07-06 David Blaikie <dblaikie@gmail.com>
6368 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6369 built from fissiont-multi-cu{1,2}.c.
6370 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6371 except putting 'main' and 'func' in separate CUs in the same DWO file.
6372 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6374 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6377 2017-07-06 Pedro Alves <palves@redhat.com>
6379 * gdb.python/py-unwind.exp: Test flushregs.
6381 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6384 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6385 tests for alias commands and trailing whitespace.
6387 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6390 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6393 2017-06-29 Pedro Alves <palves@redhat.com>
6395 * gdb.base/printcmds.exp: Add tests.
6397 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6400 * gdb.base/reread-readsym.exp: New file.
6401 * gdb.base/reread-readsym.c: New file.
6403 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6405 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6408 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6410 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6412 * gdb.arch/powerpc-power9.s: Likewise.
6414 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6416 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6417 on 32-bit x86 targets. Exploit is_*_target macros where
6420 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6422 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6425 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6427 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6428 located in one or more DWARF pieces.
6430 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6432 * lib/gdb.exp (get_endianness): New proc.
6433 * gdb.arch/aarch64-fp.exp: Use it.
6434 * gdb.arch/altivec-regs.exp: Likewise.
6435 * gdb.arch/e500-regs.exp: Likewise.
6436 * gdb.arch/vsx-regs.exp: Likewise.
6437 * gdb.base/dump.exp: Likewise.
6438 * gdb.base/funcargs.exp: Likewise.
6439 * gdb.base/gnu_vector.exp: Likewise.
6440 * gdb.dwarf2/formdata16.exp: Likewise.
6441 * gdb.dwarf2/implptrpiece.exp: Likewise.
6442 * gdb.dwarf2/nonvar-access.exp: Likewise.
6443 * gdb.python/py-inferior.exp: Likewise.
6444 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6446 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6449 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6450 stack value pieces are taken from the LSB end.
6452 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6454 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6455 variable at nonzero offset.
6457 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6459 * gdb.dwarf2/var-access.c: New file.
6460 * gdb.dwarf2/var-access.exp: New test.
6461 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6463 2017-06-12 Tom Tromey <tom@tromey.com>
6465 * gdb.dwarf2/formdata16.exp: Add tests.
6467 2017-06-12 Tom Tromey <tom@tromey.com>
6469 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6471 2017-06-12 Tom Tromey <tom@tromey.com>
6474 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6475 * gdb.arch/vsx-regs.exp: Update tests.
6476 * gdb.arch/s390-vregs.exp (hex128): New proc.
6478 * gdb.arch/altivec-regs.exp: Update tests.
6480 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6482 * gdb.base/startup-with-shell.c: New file.
6483 * gdb.base/startup-with-shell.exp: Likewise.
6485 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6487 * gdb.server/non-existing-program.exp: Update regex in order to
6488 reflect the fact that gdbserver is now using fork_inferior (with a
6489 shell) to startup the inferior.
6491 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6493 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6494 support function calls from GDB.
6496 2017-05-21 Tom Tromey <tom@tromey.com>
6499 * gdb.rust/unsized.exp: New file.
6500 * gdb.rust/unsized.rs: New file.
6502 2017-05-19 Tom Tromey <tom@tromey.com>
6505 * gdb.rust/watch.exp: New file.
6506 * gdb.rust/watch.rs: New file.
6508 2017-05-18 Tom Tromey <tom@tromey.com>
6510 * gdb.rust/simple.exp: Allow Box to be qualified.
6512 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6514 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6516 2017-05-18 Pedro Alves <palves@redhat.com>
6518 * gdb.base/fileio.c (test_write, test_read, test_close)
6519 (test_fstat): Don't print 'ret' in the fail path.
6521 2017-05-18 Pedro Alves <palves@redhat.com>
6523 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6524 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6525 (test_system, test_rename, test_unlink, test_time): Change
6527 * gdb.base/fileio.exp (stop_msg): Adjust.
6529 2017-05-18 Pedro Alves <palves@redhat.com>
6531 * gdb.base/fileio.c (null_str): New global.
6532 (test_stat): Use it.
6533 * gdb.base/fileio.exp: Remove nowarnings.
6535 2017-05-17 Yao Qi <yao.qi@linaro.org>
6537 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6539 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6541 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6543 (top-level): Invoke test_set_inferior_tty.
6545 2017-05-04 Pedro Alves <palves@redhat.com>
6547 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6548 Add parens to print call for Python 3.
6550 2017-05-03 Keith Seitz <keiths@redhat.com>
6552 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6555 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6557 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6560 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6562 * gdb.python/py-record-btrace.exp: Remove test for
6563 gdb.BtraceInstruction.error.
6565 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6567 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6569 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6571 * gdb.python/py-record-btrace-threads.c: New file.
6572 * gdb.python/py-record-btrace-threads.exp: New file.
6574 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6577 * gdb.base/environ.exp: Make test available in all architectures.
6578 Move bits related to "info program" testing to
6579 gdb.base/info-program.exp. Rewrite tests to use the two new
6580 procedures mentione below.
6581 (test_set_show_env_var) New procedure.
6582 (test_set_show_env_var_equal): Likewise.
6583 * gdb.base/info-program.exp: New file.
6585 2017-04-27 Keith Seitz <keiths@redhat.com>
6587 * gdb.cp/oranking.cc (test15): New function.
6588 (main): Call test15 and declare additional variables for testing.
6589 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6590 "p foo101('abc')" tests.
6591 Add tests for cv qualifier overloads.
6592 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6593 "lvalue reference overload" test.
6594 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6595 "print value of f1 on Child&& in f2" test.
6597 2017-04-19 Pedro Alves <palves@redhat.com>
6599 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6601 (top level): Call it.
6602 * lib/gdb.exp (gdb_define_cmd): New procedure.
6604 2017-04-12 Pedro Alves <palves@redhat.com>
6607 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6608 (wchar): New global.
6609 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6610 (do_test_wide_char, wide_char_types_no_program, top level): Add
6613 2017-04-12 Pedro Alves <palves@redhat.com>
6616 * gdb.cp/wide_char_types.c: New file.
6617 * gdb.cp/wide_char_types.exp: New file.
6619 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6622 * gdb.trace/tsv.exp: Add test for "tsave -r".
6624 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6626 * gdb.dlang/watch-loc.c: New file.
6627 * gdb.dlang/watch-loc.exp: New file.
6629 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6631 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6633 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6635 * gdb.arch/arc-analyze-prologue.S: New file.
6636 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6638 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6640 * gdb.arch/arc-decode-insn.S: New file.
6641 * gdb.arch/arc-decode-insn.exp: Likewise.
6643 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6646 * gdb.arch/sparc64-regs.exp: New file.
6647 * gdb.arch/sparc64-regs.S: Likewise.
6649 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6651 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6652 and memory view on Python 3.
6654 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6655 Keith Seitz <keiths@redhat.com>
6658 * gdb.cp/demangle.exp: Add rvalue reference tests.
6659 * gdb.cp/rvalue-ref-casts.cc: New file.
6660 * gdb.cp/rvalue-ref-casts.exp: New file.
6661 * gdb.cp/rvalue-ref-overload.cc: New file.
6662 * gdb.cp/rvalue-ref-overload.exp: New file.
6663 * gdb.cp/rvalue-ref-params.cc: New file.
6664 * gdb.cp/rvalue-ref-params.exp: New file.
6665 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6666 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6667 * gdb.cp/rvalue-ref-types.cc: New file.
6668 * gdb.cp/rvalue-ref-types.exp: New file.
6669 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6670 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6672 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6674 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6677 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6679 * lib/mi-support.exp (mi_gdb_test): Add additional message
6680 for unexpected output.
6682 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6684 * gdb.base/examine-backward.c (Barrier): New character array
6685 constant, to ensure that TestStrings is preceded by a string
6688 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6690 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6691 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6692 and implicit pointer into such a location.
6694 2017-03-16 Doug Evans <dje@google.com>
6696 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6698 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6700 * gdb.cp/m-static.exp: Fix expectation for prototype of
6701 test5.single_constructor and single_constructor::single_constructor.
6703 2017-03-16 Doug Evans <dje@google.com>
6705 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6706 * gdb.guile/scm-lazy-string.c: New file.
6707 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6708 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6709 for pointer, array, typedef lazy strings.
6711 2017-03-16 Doug Evans <dje@google.com>
6713 PR python/17728, python/18439, python/18779
6714 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6715 * gdb.python/py-lazy-string.c (pointer): New typedef.
6716 (main): New locals ptr, array, typedef_ptr.
6717 * gdb.python/py-value.exp: Move lazy string tests to ...
6718 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6719 array, typedef lazy strings.
6721 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6723 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6724 Add optional 'test' parameter.
6726 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6728 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6729 Skip for versions of DejaGnu < 1.5.
6731 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6733 * lib/gdb.exp (dejagnu_version): New proc.
6734 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6735 Use dejagnu_version.
6737 2017-03-10 Keith Seitz <keiths@redhat.com>
6740 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6741 type from destructor regexps.
6742 Add a branch which actually passes the test.
6743 Adjust "ptype t5i" test names.
6745 2017-03-08 Pedro Alves <palves@redhat.com>
6747 * gdb.base/step-over-exit.exp: Add explicit test message.
6749 2017-03-08 Pedro Alves <palves@redhat.com>
6752 * gdb.threads/interrupt-while-step-over.c: New file.
6753 * gdb.threads/interrupt-while-step-over.exp: New file.
6755 2017-03-08 Pedro Alves <palves@redhat.com>
6757 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6758 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6760 2017-03-08 Pedro Alves <palves@redhat.com>
6762 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6763 PKRU as not supported as a PASS.
6765 2017-03-08 Pedro Alves <palves@redhat.com>
6767 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6768 prefix instead of $binfile1/$binfile2.
6769 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6771 * gdb.python/py-completion.exp: Use "load python file" as test
6772 messages instead of unstable path names.
6774 2017-03-08 Pedro Alves <palves@redhat.com>
6775 Jan Kratochvil <jan.kratochvil@redhat.com>
6778 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6780 (top level): Call it.
6782 2017-03-08 Pedro Alves <palves@redhat.com>
6785 * gdb.tui/tui-nl-filtered-output.exp: New file.
6787 2017-03-08 Pedro Alves <palves@redhat.com>
6789 * gdb.base/completion.exp: Move TUI completion tests to ...
6790 * gdb.tui/completion.exp: ... this new file.
6792 2017-03-08 Pedro Alves <palves@redhat.com>
6794 * gdb.base/tui-disasm-long-lines.c,
6795 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6796 gdb.base/tui-layout.exp: Move to ...
6797 * gdb.tui/: ... this new directory.
6799 2017-03-07 Pedro Alves <palves@redhat.com>
6801 * gdb.base/tui-layout.c: New file.
6802 * gdb.base/tui-layout.exp: New file.
6804 2017-03-07 Pedro Alves <palves@redhat.com>
6806 * gdb.base/tui-layout.c: Rename to ...
6807 * gdb.base/tui-disasm-long-lines.c: ... this.
6808 * gdb.base/tui-layout.exp: Rename to ...
6809 * gdb.base/tui-disasm-long-lines.exp: ... this.
6811 2017-03-07 Pedro Alves <palves@redhat.com>
6813 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6815 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6817 * i386-mpx-call.c: New file.
6818 * i386-mpx-call.exp: New file.
6820 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6822 * gdb.arch/powerpc-power.exp: Delete test.
6823 * gdb.arch/powerpc-power.s: Likewise.
6824 * gdb.disasm/disassembler-options.exp: New test.
6825 * gdb.arch/powerpc-altivec.exp: Likewise.
6826 * gdb.arch/powerpc-altivec.s: Likewise.
6827 * gdb.arch/powerpc-altivec2.exp: Likewise.
6828 * gdb.arch/powerpc-altivec2.s: Likewise.
6829 * gdb.arch/powerpc-altivec3.exp: Likewise.
6830 * gdb.arch/powerpc-altivec3.s: Likewise.
6831 * gdb.arch/powerpc-power7.exp: Likewise.
6832 * gdb.arch/powerpc-power7.s: Likewise.
6833 * gdb.arch/powerpc-power8.exp: Likewise.
6834 * gdb.arch/powerpc-power8.s: Likewise.
6835 * gdb.arch/powerpc-power9.exp: Likewise.
6836 * gdb.arch/powerpc-power9.s: Likewise.
6837 * gdb.arch/powerpc-vsx.exp: Likewise.
6838 * gdb.arch/powerpc-vsx.s: Likewise.
6839 * gdb.arch/powerpc-vsx2.exp: Likewise.
6840 * gdb.arch/powerpc-vsx2.s: Likewise.
6841 * gdb.arch/powerpc-vsx3.exp: Likewise.
6842 * gdb.arch/powerpc-vsx3.s: Likewise.
6843 * gdb.arch/arm-disassembler-options.exp: Likewise.
6844 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6845 * gdb.arch/s390-disassembler-options.exp: Likewise.
6847 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6849 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6850 (check_supported_features): ... this. Changed return type to void.
6851 (supports_rdseed): New static global.
6852 (rdseed): Check supports_rdseed.
6853 (initialize): Call check_supported_features.
6855 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6857 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6858 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6860 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6861 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6863 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6865 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6868 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6870 * gdb.dwarf2/formdata16.c: New file.
6871 * gdb.dwarf2/formdata16.exp: New file.
6872 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6874 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6876 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6877 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6878 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6879 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6882 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6884 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6886 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6889 * gdb.base/maint.exp: Add testcases for when the commands do
6892 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6894 * gdb.cp/chained-calls.exp: Use p instead of P.
6896 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6898 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6899 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6901 2017-02-14 Tom Tromey <tom@tromey.com>
6904 * gdb.python/py-events.exp: Add before_prompt event tests.
6906 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6908 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6910 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6912 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6913 (main): Call my_unique_function_name.
6914 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6915 completion of patterns with a single match.
6916 Add missing -re switches to gdb_test_multiple calls.
6918 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6920 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6921 return if core file is not recognized.
6923 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6925 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6928 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6930 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6933 2017-02-10 Tom Tromey <tom@tromey.com>
6935 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6937 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6940 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6942 2017-02-08 Jerome Guitton <guitton@adacore.com>
6944 * gdb.base/define.exp: Add test for command abbreviations
6947 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6949 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6950 * gdb.reverse/insn-reverse-x86.c: New file.
6952 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6955 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6957 2017-02-03 Tom Tromey <tom@tromey.com>
6960 * gdb.rust/simple.exp: Add new tests.
6962 2017-02-02 Pedro Alves <palves@redhat.com>
6964 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6967 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6969 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6970 taking a 2-byte value out of a 4-byte DWARF implicit value on
6972 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6973 logic. Add test cases for DW_OP_implicit.
6975 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6977 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6979 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6981 * gdb.btrace/enable.exp: Call gdb_exit before
6982 skip_gdbserver_tests.
6984 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6986 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6989 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6991 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6992 the test is skipped.
6993 * gdb.btrace/data.exp: Likewise.
6994 * gdb.btrace/delta.exp: Likewise.
6995 * gdb.btrace/dlopen.exp: Likewise.
6996 * gdb.btrace/enable-running.exp: Likewise.
6997 * gdb.btrace/enable.exp: Likewise.
6998 * gdb.btrace/exception.exp: Likewise.
6999 * gdb.btrace/function_call_history.exp: Likewise.
7000 * gdb.btrace/gcore.exp: Likewise.
7001 * gdb.btrace/instruction_history.exp: Likewise.
7002 * gdb.btrace/multi-thread-step.exp: Likewise.
7003 * gdb.btrace/nohist.exp: Likewise.
7004 * gdb.btrace/non-stop.exp: Likewise.
7005 * gdb.btrace/reconnect.exp: Likewise.
7006 * gdb.btrace/record_goto-step.exp: Likewise.
7007 * gdb.btrace/record_goto.exp: Likewise.
7008 * gdb.btrace/rn-dl-bind.exp: Likewise.
7009 * gdb.btrace/segv.exp: Likewise.
7010 * gdb.btrace/step.exp: Likewise.
7011 * gdb.btrace/stepi.exp: Likewise.
7012 * gdb.btrace/tailcall-only.exp: Likewise.
7013 * gdb.btrace/tailcall.exp: Likewise.
7014 * gdb.btrace/tsx.exp: Likewise.
7015 * gdb.btrace/unknown_functions.exp: Likewise.
7016 * gdb.btrace/vdso.exp: Likewise.
7018 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7020 * gdb.btrace/enable-running.c: New.
7021 * gdb.btrace/enable-running.exp: New.
7023 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7025 * gdb.arch/amd64-gs_base.c: New file.
7026 * gdb.arch/amd64-gs_base.exp: New file.
7028 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7030 * lib/memory.exp: Remove spurious empty newlines.
7032 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7034 * gdb.python/py-bad-printers.exp: Load python file using "source".
7035 * gdb.python/py-events.exp: Likewise.
7036 * gdb.python/py-evsignal.exp: Likewise.
7037 * gdb.python/py-evthreads.exp: Likewise.
7038 * gdb.python/py-frame-args.exp: Likewise.
7039 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7040 * gdb.python/py-framefilter-mi.exp: Likewise.
7041 * gdb.python/py-framefilter.exp: Likewise.
7042 * gdb.python/py-mi.exp: Likewise.
7043 * gdb.python/py-pp-maint.exp: Likewise.
7044 * gdb.python/py-pp-registration.exp: Likewise.
7045 * gdb.python/py-prettyprint.exp: Likewise.
7046 (run_lang_tests): Likewise.
7047 * gdb.python/py-typeprint.exp: Likewise.
7049 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7051 * lib/memory.exp: New file.
7052 * lib/gdb.exp: Load memory.exp.
7053 * gdb.base/memattr.exp (delete_memory): Move proc to
7054 lib/memory.exp and rename to delete_memory_regions.
7055 Replace delete_memory with delete_memory_regions.
7056 Cleanup memory regions before tests.
7057 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7060 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7062 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7064 (initialize): New function conditionally defined.
7065 (testcases): Move within conditional block.
7066 (main): Call initialize.
7067 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7068 of gdb.reverse/insn-reverse.c.
7069 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7070 gdb.reverse/insn-reverse.c.
7072 2017-01-26 Yao Qi <yao.qi@linaro.org>
7074 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7075 disassemble on address 0.
7077 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7078 Yao Qi <yao.qi@linaro.org>
7080 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7081 * gdb.dwarf2/implptr-64bit.S: Remove.
7082 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7083 variables in caller's context. Add DW_OP_implicit_value.
7085 2017-01-25 Yao Qi <yao.qi@linaro.org>
7087 * lib/dwarf.exp (Dwarf::_location): Handle
7088 DW_OP_GNU_implicit_pointer with proper size.
7090 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7092 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7093 and add untested calls.
7095 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7097 * gdb.python/python.exp: Check line number against what GDB thinks
7098 the line number is for func1.
7100 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7102 * gdb.dlang/debug-expr.exp: New file.
7104 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7106 Fix test names for the following files:
7108 * gdb.ada/exec_changed.exp
7109 * gdb.ada/info_types.exp
7110 * gdb.arch/aarch64-atomic-inst.exp
7111 * gdb.arch/aarch64-fp.exp
7112 * gdb.arch/altivec-abi.exp
7113 * gdb.arch/altivec-regs.exp
7114 * gdb.arch/amd64-byte.exp
7115 * gdb.arch/amd64-disp-step.exp
7116 * gdb.arch/amd64-dword.exp
7117 * gdb.arch/amd64-entry-value-inline.exp
7118 * gdb.arch/amd64-entry-value-param.exp
7119 * gdb.arch/amd64-entry-value-paramref.exp
7120 * gdb.arch/amd64-entry-value.exp
7121 * gdb.arch/amd64-i386-address.exp
7122 * gdb.arch/amd64-invalid-stack-middle.exp
7123 * gdb.arch/amd64-invalid-stack-top.exp
7124 * gdb.arch/amd64-optimout-repeat.exp
7125 * gdb.arch/amd64-prologue-skip.exp
7126 * gdb.arch/amd64-prologue-xmm.exp
7127 * gdb.arch/amd64-stap-special-operands.exp
7128 * gdb.arch/amd64-stap-wrong-subexp.exp
7129 * gdb.arch/amd64-tailcall-cxx.exp
7130 * gdb.arch/amd64-tailcall-noret.exp
7131 * gdb.arch/amd64-tailcall-ret.exp
7132 * gdb.arch/amd64-tailcall-self.exp
7133 * gdb.arch/amd64-word.exp
7134 * gdb.arch/arm-bl-branch-dest.exp
7135 * gdb.arch/arm-disp-step.exp
7136 * gdb.arch/arm-neon.exp
7137 * gdb.arch/arm-single-step-kernel-helper.exp
7138 * gdb.arch/avr-flash-qualifier.exp
7139 * gdb.arch/disp-step-insn-reloc.exp
7140 * gdb.arch/e500-abi.exp
7141 * gdb.arch/e500-regs.exp
7142 * gdb.arch/ftrace-insn-reloc.exp
7143 * gdb.arch/i386-avx512.exp
7144 * gdb.arch/i386-bp_permanent.exp
7145 * gdb.arch/i386-byte.exp
7146 * gdb.arch/i386-cfi-notcurrent.exp
7147 * gdb.arch/i386-disp-step.exp
7148 * gdb.arch/i386-dr3-watch.exp
7149 * gdb.arch/i386-float.exp
7150 * gdb.arch/i386-gnu-cfi.exp
7151 * gdb.arch/i386-mpx-map.exp
7152 * gdb.arch/i386-mpx-sigsegv.exp
7153 * gdb.arch/i386-mpx-simple_segv.exp
7154 * gdb.arch/i386-mpx.exp
7155 * gdb.arch/i386-permbkpt.exp
7156 * gdb.arch/i386-prologue.exp
7157 * gdb.arch/i386-signal.exp
7158 * gdb.arch/i386-size-overlap.exp
7159 * gdb.arch/i386-unwind.exp
7160 * gdb.arch/i386-word.exp
7161 * gdb.arch/mips-fcr.exp
7162 * gdb.arch/powerpc-d128-regs.exp
7163 * gdb.arch/powerpc-stackless.exp
7164 * gdb.arch/ppc64-atomic-inst.exp
7165 * gdb.arch/s390-stackless.exp
7166 * gdb.arch/s390-tdbregs.exp
7167 * gdb.arch/s390-vregs.exp
7168 * gdb.arch/sparc-sysstep.exp
7169 * gdb.arch/thumb-bx-pc.exp
7170 * gdb.arch/thumb-singlestep.exp
7171 * gdb.arch/thumb2-it.exp
7172 * gdb.arch/vsx-regs.exp
7173 * gdb.asm/asm-source.exp
7174 * gdb.base/a2-run.exp
7175 * gdb.base/advance.exp
7176 * gdb.base/all-bin.exp
7179 * gdb.base/arithmet.exp
7180 * gdb.base/async-shell.exp
7181 * gdb.base/async.exp
7182 * gdb.base/attach-pie-noexec.exp
7183 * gdb.base/attach-twice.exp
7184 * gdb.base/auto-load.exp
7186 * gdb.base/bitfields.exp
7187 * gdb.base/break-always.exp
7188 * gdb.base/break-caller-line.exp
7189 * gdb.base/break-entry.exp
7190 * gdb.base/break-inline.exp
7191 * gdb.base/break-on-linker-gcd-function.exp
7192 * gdb.base/break-probes.exp
7193 * gdb.base/break.exp
7194 * gdb.base/breakpoint-shadow.exp
7195 * gdb.base/call-ar-st.exp
7196 * gdb.base/call-sc.exp
7197 * gdb.base/call-signal-resume.exp
7198 * gdb.base/call-strs.exp
7199 * gdb.base/callfuncs.exp
7200 * gdb.base/catch-fork-static.exp
7201 * gdb.base/catch-gdb-caused-signals.exp
7202 * gdb.base/catch-load.exp
7203 * gdb.base/catch-signal-fork.exp
7204 * gdb.base/catch-signal.exp
7205 * gdb.base/catch-syscall.exp
7206 * gdb.base/charset.exp
7207 * gdb.base/checkpoint.exp
7208 * gdb.base/chng-syms.exp
7209 * gdb.base/code-expr.exp
7210 * gdb.base/code_elim.exp
7211 * gdb.base/commands.exp
7212 * gdb.base/completion.exp
7213 * gdb.base/complex.exp
7214 * gdb.base/cond-expr.exp
7215 * gdb.base/condbreak.exp
7216 * gdb.base/consecutive.exp
7217 * gdb.base/continue-all-already-running.exp
7218 * gdb.base/coredump-filter.exp
7219 * gdb.base/corefile.exp
7221 * gdb.base/debug-expr.exp
7222 * gdb.base/define.exp
7224 * gdb.base/disabled-location.exp
7225 * gdb.base/disasm-end-cu.exp
7226 * gdb.base/disasm-optim.exp
7227 * gdb.base/display.exp
7228 * gdb.base/duplicate-bp.exp
7229 * gdb.base/ena-dis-br.exp
7230 * gdb.base/ending-run.exp
7231 * gdb.base/enumval.exp
7232 * gdb.base/environ.exp
7233 * gdb.base/eu-strip-infcall.exp
7234 * gdb.base/eval-avoid-side-effects.exp
7235 * gdb.base/eval-skip.exp
7236 * gdb.base/exitsignal.exp
7237 * gdb.base/expand-psymtabs.exp
7238 * gdb.base/filesym.exp
7239 * gdb.base/find-unmapped.exp
7240 * gdb.base/finish.exp
7241 * gdb.base/float.exp
7242 * gdb.base/foll-exec-mode.exp
7243 * gdb.base/foll-exec.exp
7244 * gdb.base/foll-fork.exp
7245 * gdb.base/fortran-sym-case.exp
7246 * gdb.base/freebpcmd.exp
7247 * gdb.base/func-ptr.exp
7248 * gdb.base/func-ptrs.exp
7249 * gdb.base/funcargs.exp
7250 * gdb.base/gcore-buffer-overflow.exp
7251 * gdb.base/gcore-relro-pie.exp
7252 * gdb.base/gcore-relro.exp
7253 * gdb.base/gcore.exp
7254 * gdb.base/gdb1090.exp
7255 * gdb.base/gdb11530.exp
7256 * gdb.base/gdb11531.exp
7257 * gdb.base/gdb1821.exp
7258 * gdb.base/gdbindex-stabs.exp
7259 * gdb.base/gdbvars.exp
7260 * gdb.base/hbreak.exp
7261 * gdb.base/hbreak2.exp
7262 * gdb.base/included.exp
7263 * gdb.base/infcall-input.exp
7264 * gdb.base/inferior-died.exp
7265 * gdb.base/infnan.exp
7266 * gdb.base/info-macros.exp
7267 * gdb.base/info-os.exp
7268 * gdb.base/info-proc.exp
7269 * gdb.base/info-shared.exp
7270 * gdb.base/info-target.exp
7271 * gdb.base/infoline.exp
7272 * gdb.base/interp.exp
7273 * gdb.base/interrupt.exp
7274 * gdb.base/jit-reader.exp
7275 * gdb.base/jit-simple.exp
7276 * gdb.base/kill-after-signal.exp
7277 * gdb.base/kill-detach-inferiors-cmd.exp
7278 * gdb.base/label.exp
7279 * gdb.base/langs.exp
7280 * gdb.base/ldbl_e308.exp
7281 * gdb.base/line-symtabs.exp
7282 * gdb.base/linespecs.exp
7284 * gdb.base/long_long.exp
7285 * gdb.base/longest-types.exp
7286 * gdb.base/maint.exp
7287 * gdb.base/max-value-size.exp
7288 * gdb.base/memattr.exp
7289 * gdb.base/mips_pro.exp
7290 * gdb.base/morestack.exp
7291 * gdb.base/moribund-step.exp
7292 * gdb.base/multi-forks.exp
7293 * gdb.base/nested-addr.exp
7294 * gdb.base/nextoverexit.exp
7295 * gdb.base/noreturn-finish.exp
7296 * gdb.base/noreturn-return.exp
7297 * gdb.base/nostdlib.exp
7298 * gdb.base/offsets.exp
7299 * gdb.base/opaque.exp
7300 * gdb.base/pc-fp.exp
7301 * gdb.base/permissions.exp
7302 * gdb.base/print-symbol-loading.exp
7303 * gdb.base/prologue-include.exp
7304 * gdb.base/psymtab.exp
7305 * gdb.base/ptype.exp
7306 * gdb.base/random-signal.exp
7307 * gdb.base/randomize.exp
7308 * gdb.base/range-stepping.exp
7309 * gdb.base/readline-ask.exp
7310 * gdb.base/recpar.exp
7311 * gdb.base/recurse.exp
7312 * gdb.base/relational.exp
7313 * gdb.base/restore.exp
7314 * gdb.base/return-nodebug.exp
7315 * gdb.base/return.exp
7316 * gdb.base/run-after-attach.exp
7317 * gdb.base/save-bp.exp
7318 * gdb.base/scope.exp
7319 * gdb.base/sect-cmd.exp
7320 * gdb.base/set-lang-auto.exp
7321 * gdb.base/set-noassign.exp
7322 * gdb.base/setvar.exp
7323 * gdb.base/sigall.exp
7324 * gdb.base/sigbpt.exp
7325 * gdb.base/siginfo-addr.exp
7326 * gdb.base/siginfo-infcall.exp
7327 * gdb.base/siginfo-obj.exp
7328 * gdb.base/siginfo.exp
7329 * gdb.base/signals-state-child.exp
7330 * gdb.base/signest.exp
7331 * gdb.base/sigstep.exp
7332 * gdb.base/sizeof.exp
7334 * gdb.base/solib-corrupted.exp
7335 * gdb.base/solib-nodir.exp
7336 * gdb.base/solib-search.exp
7337 * gdb.base/stack-checking.exp
7338 * gdb.base/stale-infcall.exp
7339 * gdb.base/stap-probe.exp
7340 * gdb.base/start.exp
7341 * gdb.base/step-break.exp
7342 * gdb.base/step-bt.exp
7343 * gdb.base/step-line.exp
7344 * gdb.base/step-over-exit.exp
7345 * gdb.base/step-over-syscall.exp
7346 * gdb.base/step-resume-infcall.exp
7347 * gdb.base/step-test.exp
7348 * gdb.base/store.exp
7349 * gdb.base/structs3.exp
7350 * gdb.base/sym-file.exp
7351 * gdb.base/symbol-without-target_section.exp
7353 * gdb.base/testenv.exp
7354 * gdb.base/ui-redirect.exp
7355 * gdb.base/until.exp
7356 * gdb.base/unwindonsignal.exp
7357 * gdb.base/value-double-free.exp
7358 * gdb.base/vla-datatypes.exp
7359 * gdb.base/vla-ptr.exp
7360 * gdb.base/vla-sideeffect.exp
7361 * gdb.base/volatile.exp
7362 * gdb.base/watch-cond-infcall.exp
7363 * gdb.base/watch-cond.exp
7364 * gdb.base/watch-non-mem.exp
7365 * gdb.base/watch-read.exp
7366 * gdb.base/watch-vfork.exp
7367 * gdb.base/watchpoint-cond-gone.exp
7368 * gdb.base/watchpoint-delete.exp
7369 * gdb.base/watchpoint-hw-hit-once.exp
7370 * gdb.base/watchpoint-hw.exp
7371 * gdb.base/watchpoint-stops-at-right-insn.exp
7372 * gdb.base/watchpoints.exp
7373 * gdb.base/wchar.exp
7374 * gdb.base/whatis-exp.exp
7375 * gdb.btrace/buffer-size.exp
7376 * gdb.btrace/data.exp
7377 * gdb.btrace/delta.exp
7378 * gdb.btrace/dlopen.exp
7379 * gdb.btrace/enable.exp
7380 * gdb.btrace/exception.exp
7381 * gdb.btrace/function_call_history.exp
7382 * gdb.btrace/gcore.exp
7383 * gdb.btrace/instruction_history.exp
7384 * gdb.btrace/nohist.exp
7385 * gdb.btrace/reconnect.exp
7386 * gdb.btrace/record_goto-step.exp
7387 * gdb.btrace/record_goto.exp
7388 * gdb.btrace/rn-dl-bind.exp
7389 * gdb.btrace/segv.exp
7390 * gdb.btrace/step.exp
7391 * gdb.btrace/stepi.exp
7392 * gdb.btrace/tailcall-only.exp
7393 * gdb.btrace/tailcall.exp
7394 * gdb.btrace/tsx.exp
7395 * gdb.btrace/unknown_functions.exp
7396 * gdb.btrace/vdso.exp
7397 * gdb.compile/compile-ifunc.exp
7398 * gdb.compile/compile-ops.exp
7399 * gdb.compile/compile-print.exp
7400 * gdb.compile/compile-setjmp.exp
7401 * gdb.cp/abstract-origin.exp
7402 * gdb.cp/ambiguous.exp
7403 * gdb.cp/annota2.exp
7404 * gdb.cp/annota3.exp
7405 * gdb.cp/anon-ns.exp
7406 * gdb.cp/anon-struct.exp
7407 * gdb.cp/anon-union.exp
7408 * gdb.cp/arg-reference.exp
7409 * gdb.cp/baseenum.exp
7411 * gdb.cp/breakpoint.exp
7412 * gdb.cp/bs15503.exp
7415 * gdb.cp/chained-calls.exp
7417 * gdb.cp/classes.exp
7418 * gdb.cp/cmpd-minsyms.exp
7419 * gdb.cp/converts.exp
7420 * gdb.cp/cp-relocate.exp
7421 * gdb.cp/cpcompletion.exp
7422 * gdb.cp/cpexprs.exp
7423 * gdb.cp/cplabel.exp
7424 * gdb.cp/cplusfuncs.exp
7425 * gdb.cp/cpsizeof.exp
7427 * gdb.cp/derivation.exp
7428 * gdb.cp/destrprint.exp
7429 * gdb.cp/dispcxx.exp
7430 * gdb.cp/enum-class.exp
7431 * gdb.cp/exception.exp
7432 * gdb.cp/exceptprint.exp
7433 * gdb.cp/expand-psymtabs-cxx.exp
7434 * gdb.cp/expand-sals.exp
7435 * gdb.cp/extern-c.exp
7436 * gdb.cp/filename.exp
7437 * gdb.cp/formatted-ref.exp
7438 * gdb.cp/fpointer.exp
7439 * gdb.cp/gdb1355.exp
7440 * gdb.cp/gdb2495.exp
7442 * gdb.cp/impl-this.exp
7443 * gdb.cp/infcall-dlopen.exp
7444 * gdb.cp/inherit.exp
7445 * gdb.cp/iostream.exp
7449 * gdb.cp/m-static.exp
7450 * gdb.cp/mb-ctor.exp
7451 * gdb.cp/mb-inline.exp
7452 * gdb.cp/mb-templates.exp
7453 * gdb.cp/member-name.exp
7454 * gdb.cp/member-ptr.exp
7455 * gdb.cp/meth-typedefs.exp
7457 * gdb.cp/method2.exp
7458 * gdb.cp/minsym-fallback.exp
7460 * gdb.cp/namelessclass.exp
7461 * gdb.cp/namespace-enum.exp
7462 * gdb.cp/namespace-nested-import.exp
7463 * gdb.cp/namespace.exp
7464 * gdb.cp/nextoverthrow.exp
7465 * gdb.cp/no-dmgl-verbose.exp
7466 * gdb.cp/non-trivial-retval.exp
7467 * gdb.cp/noparam.exp
7469 * gdb.cp/nsimport.exp
7470 * gdb.cp/nsnested.exp
7471 * gdb.cp/nsnoimports.exp
7472 * gdb.cp/nsrecurs.exp
7473 * gdb.cp/nsstress.exp
7474 * gdb.cp/nsusing.exp
7475 * gdb.cp/operator.exp
7476 * gdb.cp/oranking.exp
7477 * gdb.cp/overload-const.exp
7478 * gdb.cp/overload.exp
7479 * gdb.cp/ovldbreak.exp
7481 * gdb.cp/paren-type.exp
7482 * gdb.cp/parse-lang.exp
7483 * gdb.cp/pass-by-ref.exp
7484 * gdb.cp/pr-1023.exp
7485 * gdb.cp/pr-1210.exp
7487 * gdb.cp/pr10687.exp
7488 * gdb.cp/pr12028.exp
7489 * gdb.cp/pr17132.exp
7490 * gdb.cp/pr17494.exp
7494 * gdb.cp/printmethod.exp
7496 * gdb.cp/psymtab-parameter.exp
7497 * gdb.cp/ptype-cv-cp.exp
7498 * gdb.cp/ptype-flags.exp
7499 * gdb.cp/re-set-overloaded.exp
7500 * gdb.cp/ref-types.exp
7502 * gdb.cp/scope-err.exp
7505 * gdb.cp/static-method.exp
7506 * gdb.cp/static-print-quit.exp
7507 * gdb.cp/temargs.exp
7508 * gdb.cp/templates.exp
7509 * gdb.cp/try_catch.exp
7510 * gdb.cp/typedef-operator.exp
7512 * gdb.cp/userdef.exp
7513 * gdb.cp/using-crash.exp
7514 * gdb.cp/var-tag.exp
7515 * gdb.cp/virtbase.exp
7516 * gdb.cp/virtfunc.exp
7517 * gdb.cp/virtfunc2.exp
7518 * gdb.cp/vla-cxx.exp
7519 * gdb.disasm/t01_mov.exp
7520 * gdb.disasm/t02_mova.exp
7521 * gdb.disasm/t03_add.exp
7522 * gdb.disasm/t04_sub.exp
7523 * gdb.disasm/t05_cmp.exp
7524 * gdb.disasm/t06_ari2.exp
7525 * gdb.disasm/t07_ari3.exp
7526 * gdb.disasm/t08_or.exp
7527 * gdb.disasm/t09_xor.exp
7528 * gdb.disasm/t10_and.exp
7529 * gdb.disasm/t11_logs.exp
7530 * gdb.disasm/t12_bit.exp
7531 * gdb.disasm/t13_otr.exp
7532 * gdb.dlang/circular.exp
7533 * gdb.dwarf2/arr-stride.exp
7534 * gdb.dwarf2/arr-subrange.exp
7535 * gdb.dwarf2/atomic-type.exp
7536 * gdb.dwarf2/bad-regnum.exp
7537 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7538 * gdb.dwarf2/callframecfa.exp
7539 * gdb.dwarf2/clztest.exp
7540 * gdb.dwarf2/corrupt.exp
7541 * gdb.dwarf2/data-loc.exp
7542 * gdb.dwarf2/dup-psym.exp
7543 * gdb.dwarf2/dw2-anon-mptr.exp
7544 * gdb.dwarf2/dw2-anonymous-func.exp
7545 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7546 * gdb.dwarf2/dw2-bad-unresolved.exp
7547 * gdb.dwarf2/dw2-basic.exp
7548 * gdb.dwarf2/dw2-canonicalize-type.exp
7549 * gdb.dwarf2/dw2-case-insensitive.exp
7550 * gdb.dwarf2/dw2-common-block.exp
7551 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7552 * gdb.dwarf2/dw2-compressed.exp
7553 * gdb.dwarf2/dw2-const.exp
7554 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7555 * gdb.dwarf2/dw2-cu-size.exp
7556 * gdb.dwarf2/dw2-dup-frame.exp
7557 * gdb.dwarf2/dw2-entry-value.exp
7558 * gdb.dwarf2/dw2-icycle.exp
7559 * gdb.dwarf2/dw2-ifort-parameter.exp
7560 * gdb.dwarf2/dw2-inline-break.exp
7561 * gdb.dwarf2/dw2-inline-param.exp
7562 * gdb.dwarf2/dw2-intercu.exp
7563 * gdb.dwarf2/dw2-intermix.exp
7564 * gdb.dwarf2/dw2-lexical-block-bare.exp
7565 * gdb.dwarf2/dw2-linkage-name-trust.exp
7566 * gdb.dwarf2/dw2-minsym-in-cu.exp
7567 * gdb.dwarf2/dw2-noloc.exp
7568 * gdb.dwarf2/dw2-op-call.exp
7569 * gdb.dwarf2/dw2-op-out-param.exp
7570 * gdb.dwarf2/dw2-opt-structptr.exp
7571 * gdb.dwarf2/dw2-param-error.exp
7572 * gdb.dwarf2/dw2-producer.exp
7573 * gdb.dwarf2/dw2-ranges-base.exp
7574 * gdb.dwarf2/dw2-ref-missing-frame.exp
7575 * gdb.dwarf2/dw2-reg-undefined.exp
7576 * gdb.dwarf2/dw2-regno-invalid.exp
7577 * gdb.dwarf2/dw2-restore.exp
7578 * gdb.dwarf2/dw2-restrict.exp
7579 * gdb.dwarf2/dw2-single-line-discriminators.exp
7580 * gdb.dwarf2/dw2-strp.exp
7581 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7582 * gdb.dwarf2/dw2-unresolved.exp
7583 * gdb.dwarf2/dw2-var-zero-addr.exp
7584 * gdb.dwarf2/dw4-sig-types.exp
7585 * gdb.dwarf2/dwz.exp
7586 * gdb.dwarf2/dynarr-ptr.exp
7587 * gdb.dwarf2/enum-type.exp
7588 * gdb.dwarf2/gdb-index.exp
7589 * gdb.dwarf2/implptr-64bit.exp
7590 * gdb.dwarf2/implptr-optimized-out.exp
7591 * gdb.dwarf2/implptr.exp
7592 * gdb.dwarf2/implref-array.exp
7593 * gdb.dwarf2/implref-const.exp
7594 * gdb.dwarf2/implref-global.exp
7595 * gdb.dwarf2/implref-struct.exp
7596 * gdb.dwarf2/mac-fileno.exp
7597 * gdb.dwarf2/main-subprogram.exp
7598 * gdb.dwarf2/member-ptr-forwardref.exp
7599 * gdb.dwarf2/method-ptr.exp
7600 * gdb.dwarf2/missing-sig-type.exp
7601 * gdb.dwarf2/nonvar-access.exp
7602 * gdb.dwarf2/opaque-type-lookup.exp
7603 * gdb.dwarf2/pieces-optimized-out.exp
7604 * gdb.dwarf2/pieces.exp
7605 * gdb.dwarf2/pr10770.exp
7606 * gdb.dwarf2/pr13961.exp
7607 * gdb.dwarf2/staticvirtual.exp
7608 * gdb.dwarf2/subrange.exp
7609 * gdb.dwarf2/symtab-producer.exp
7610 * gdb.dwarf2/trace-crash.exp
7611 * gdb.dwarf2/typeddwarf.exp
7612 * gdb.dwarf2/valop.exp
7613 * gdb.dwarf2/watch-notconst.exp
7614 * gdb.fortran/array-element.exp
7615 * gdb.fortran/charset.exp
7616 * gdb.fortran/common-block.exp
7617 * gdb.fortran/complex.exp
7618 * gdb.fortran/derived-type-function.exp
7619 * gdb.fortran/derived-type.exp
7620 * gdb.fortran/logical.exp
7621 * gdb.fortran/module.exp
7622 * gdb.fortran/multi-dim.exp
7623 * gdb.fortran/nested-funcs.exp
7624 * gdb.fortran/print-formatted.exp
7625 * gdb.fortran/subarray.exp
7626 * gdb.fortran/vla-alloc-assoc.exp
7627 * gdb.fortran/vla-datatypes.exp
7628 * gdb.fortran/vla-history.exp
7629 * gdb.fortran/vla-ptr-info.exp
7630 * gdb.fortran/vla-ptype-sub.exp
7631 * gdb.fortran/vla-ptype.exp
7632 * gdb.fortran/vla-sizeof.exp
7633 * gdb.fortran/vla-type.exp
7634 * gdb.fortran/vla-value-sub-arbitrary.exp
7635 * gdb.fortran/vla-value-sub-finish.exp
7636 * gdb.fortran/vla-value-sub.exp
7637 * gdb.fortran/vla-value.exp
7638 * gdb.fortran/whatis_type.exp
7640 * gdb.go/handcall.exp
7642 * gdb.go/integers.exp
7643 * gdb.go/methods.exp
7644 * gdb.go/package.exp
7645 * gdb.go/strings.exp
7648 * gdb.guile/scm-arch.exp
7649 * gdb.guile/scm-block.exp
7650 * gdb.guile/scm-breakpoint.exp
7651 * gdb.guile/scm-cmd.exp
7652 * gdb.guile/scm-disasm.exp
7653 * gdb.guile/scm-equal.exp
7654 * gdb.guile/scm-frame-args.exp
7655 * gdb.guile/scm-frame-inline.exp
7656 * gdb.guile/scm-frame.exp
7657 * gdb.guile/scm-iterator.exp
7658 * gdb.guile/scm-math.exp
7659 * gdb.guile/scm-objfile.exp
7660 * gdb.guile/scm-ports.exp
7661 * gdb.guile/scm-symbol.exp
7662 * gdb.guile/scm-symtab.exp
7663 * gdb.guile/scm-value-cc.exp
7664 * gdb.guile/types-module.exp
7665 * gdb.linespec/break-ask.exp
7666 * gdb.linespec/cpexplicit.exp
7667 * gdb.linespec/explicit.exp
7668 * gdb.linespec/keywords.exp
7669 * gdb.linespec/linespec.exp
7670 * gdb.linespec/ls-dollar.exp
7671 * gdb.linespec/ls-errs.exp
7672 * gdb.linespec/skip-two.exp
7673 * gdb.linespec/thread.exp
7674 * gdb.mi/mi-async.exp
7675 * gdb.mi/mi-basics.exp
7676 * gdb.mi/mi-break.exp
7677 * gdb.mi/mi-catch-load.exp
7679 * gdb.mi/mi-cmd-param-changed.exp
7680 * gdb.mi/mi-console.exp
7681 * gdb.mi/mi-detach.exp
7682 * gdb.mi/mi-disassemble.exp
7683 * gdb.mi/mi-eval.exp
7684 * gdb.mi/mi-file-transfer.exp
7685 * gdb.mi/mi-file.exp
7686 * gdb.mi/mi-fill-memory.exp
7687 * gdb.mi/mi-inheritance-syntax-error.exp
7688 * gdb.mi/mi-linespec-err-cp.exp
7689 * gdb.mi/mi-logging.exp
7690 * gdb.mi/mi-memory-changed.exp
7691 * gdb.mi/mi-read-memory.exp
7692 * gdb.mi/mi-record-changed.exp
7693 * gdb.mi/mi-reg-undefined.exp
7694 * gdb.mi/mi-regs.exp
7695 * gdb.mi/mi-return.exp
7696 * gdb.mi/mi-reverse.exp
7697 * gdb.mi/mi-simplerun.exp
7698 * gdb.mi/mi-solib.exp
7699 * gdb.mi/mi-stack.exp
7700 * gdb.mi/mi-stepi.exp
7701 * gdb.mi/mi-syn-frame.exp
7702 * gdb.mi/mi-until.exp
7703 * gdb.mi/mi-var-block.exp
7704 * gdb.mi/mi-var-child.exp
7705 * gdb.mi/mi-var-cmd.exp
7706 * gdb.mi/mi-var-cp.exp
7707 * gdb.mi/mi-var-display.exp
7708 * gdb.mi/mi-var-invalidate.exp
7709 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7710 * gdb.mi/mi-vla-fortran.exp
7711 * gdb.mi/mi-watch.exp
7712 * gdb.mi/mi2-var-child.exp
7713 * gdb.mi/user-selected-context-sync.exp
7714 * gdb.modula2/unbounded-array.exp
7715 * gdb.multi/dummy-frame-restore.exp
7716 * gdb.multi/multi-arch-exec.exp
7717 * gdb.multi/multi-arch.exp
7718 * gdb.multi/tids.exp
7719 * gdb.multi/watchpoint-multi.exp
7720 * gdb.opencl/callfuncs.exp
7721 * gdb.opencl/convs_casts.exp
7722 * gdb.opencl/datatypes.exp
7723 * gdb.opencl/operators.exp
7724 * gdb.opencl/vec_comps.exp
7725 * gdb.opt/clobbered-registers-O2.exp
7726 * gdb.opt/inline-break.exp
7727 * gdb.opt/inline-bt.exp
7728 * gdb.opt/inline-cmds.exp
7729 * gdb.opt/inline-locals.exp
7730 * gdb.pascal/case-insensitive-symbols.exp
7731 * gdb.pascal/floats.exp
7732 * gdb.pascal/gdb11492.exp
7733 * gdb.python/lib-types.exp
7734 * gdb.python/py-arch.exp
7735 * gdb.python/py-as-string.exp
7736 * gdb.python/py-bad-printers.exp
7737 * gdb.python/py-block.exp
7738 * gdb.python/py-breakpoint-create-fail.exp
7739 * gdb.python/py-breakpoint.exp
7740 * gdb.python/py-caller-is.exp
7741 * gdb.python/py-cmd.exp
7742 * gdb.python/py-explore-cc.exp
7743 * gdb.python/py-explore.exp
7744 * gdb.python/py-finish-breakpoint.exp
7745 * gdb.python/py-finish-breakpoint2.exp
7746 * gdb.python/py-frame-args.exp
7747 * gdb.python/py-frame-inline.exp
7748 * gdb.python/py-frame.exp
7749 * gdb.python/py-framefilter-mi.exp
7750 * gdb.python/py-infthread.exp
7751 * gdb.python/py-lazy-string.exp
7752 * gdb.python/py-linetable.exp
7753 * gdb.python/py-mi-events.exp
7754 * gdb.python/py-mi-objfile.exp
7755 * gdb.python/py-mi.exp
7756 * gdb.python/py-objfile.exp
7757 * gdb.python/py-pp-integral.exp
7758 * gdb.python/py-pp-maint.exp
7759 * gdb.python/py-pp-re-notag.exp
7760 * gdb.python/py-pp-registration.exp
7761 * gdb.python/py-recurse-unwind.exp
7762 * gdb.python/py-strfns.exp
7763 * gdb.python/py-symbol.exp
7764 * gdb.python/py-symtab.exp
7765 * gdb.python/py-sync-interp.exp
7766 * gdb.python/py-typeprint.exp
7767 * gdb.python/py-unwind-maint.exp
7768 * gdb.python/py-unwind.exp
7769 * gdb.python/py-value-cc.exp
7770 * gdb.python/py-xmethods.exp
7771 * gdb.reverse/amd64-tailcall-reverse.exp
7772 * gdb.reverse/break-precsave.exp
7773 * gdb.reverse/break-reverse.exp
7774 * gdb.reverse/consecutive-precsave.exp
7775 * gdb.reverse/consecutive-reverse.exp
7776 * gdb.reverse/finish-precsave.exp
7777 * gdb.reverse/finish-reverse-bkpt.exp
7778 * gdb.reverse/finish-reverse.exp
7779 * gdb.reverse/fstatat-reverse.exp
7780 * gdb.reverse/getresuid-reverse.exp
7781 * gdb.reverse/i386-precsave.exp
7782 * gdb.reverse/i386-reverse.exp
7783 * gdb.reverse/i386-sse-reverse.exp
7784 * gdb.reverse/i387-env-reverse.exp
7785 * gdb.reverse/i387-stack-reverse.exp
7786 * gdb.reverse/insn-reverse.exp
7787 * gdb.reverse/machinestate-precsave.exp
7788 * gdb.reverse/machinestate.exp
7789 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7790 * gdb.reverse/pipe-reverse.exp
7791 * gdb.reverse/readv-reverse.exp
7792 * gdb.reverse/recvmsg-reverse.exp
7793 * gdb.reverse/rerun-prec.exp
7794 * gdb.reverse/s390-mvcle.exp
7795 * gdb.reverse/step-precsave.exp
7796 * gdb.reverse/step-reverse.exp
7797 * gdb.reverse/time-reverse.exp
7798 * gdb.reverse/until-precsave.exp
7799 * gdb.reverse/until-reverse.exp
7800 * gdb.reverse/waitpid-reverse.exp
7801 * gdb.reverse/watch-precsave.exp
7802 * gdb.reverse/watch-reverse.exp
7803 * gdb.rust/generics.exp
7804 * gdb.rust/methods.exp
7805 * gdb.rust/modules.exp
7806 * gdb.rust/simple.exp
7807 * gdb.server/connect-with-no-symbol-file.exp
7808 * gdb.server/ext-attach.exp
7809 * gdb.server/ext-restart.exp
7810 * gdb.server/ext-wrapper.exp
7811 * gdb.server/file-transfer.exp
7812 * gdb.server/server-exec-info.exp
7813 * gdb.server/server-kill.exp
7814 * gdb.server/server-mon.exp
7815 * gdb.server/wrapper.exp
7816 * gdb.stabs/exclfwd.exp
7817 * gdb.stabs/gdb11479.exp
7818 * gdb.threads/clone-new-thread-event.exp
7819 * gdb.threads/corethreads.exp
7820 * gdb.threads/current-lwp-dead.exp
7821 * gdb.threads/dlopen-libpthread.exp
7822 * gdb.threads/gcore-thread.exp
7823 * gdb.threads/sigstep-threads.exp
7824 * gdb.threads/watchpoint-fork.exp
7825 * gdb.trace/actions-changed.exp
7826 * gdb.trace/backtrace.exp
7827 * gdb.trace/change-loc.exp
7828 * gdb.trace/circ.exp
7829 * gdb.trace/collection.exp
7830 * gdb.trace/disconnected-tracing.exp
7831 * gdb.trace/ftrace.exp
7832 * gdb.trace/mi-trace-frame-collected.exp
7833 * gdb.trace/mi-trace-unavailable.exp
7834 * gdb.trace/mi-traceframe-changed.exp
7835 * gdb.trace/mi-tsv-changed.exp
7836 * gdb.trace/no-attach-trace.exp
7837 * gdb.trace/passc-dyn.exp
7838 * gdb.trace/qtro.exp
7839 * gdb.trace/range-stepping.exp
7840 * gdb.trace/read-memory.exp
7841 * gdb.trace/save-trace.exp
7842 * gdb.trace/signal.exp
7843 * gdb.trace/status-stop.exp
7844 * gdb.trace/tfile.exp
7845 * gdb.trace/trace-break.exp
7846 * gdb.trace/trace-buffer-size.exp
7847 * gdb.trace/trace-condition.exp
7848 * gdb.trace/tracefile-pseudo-reg.exp
7849 * gdb.trace/tstatus.exp
7850 * gdb.trace/unavailable.exp
7851 * gdb.trace/while-dyn.exp
7852 * gdb.trace/while-stepping.exp
7854 2016-12-22 Doug Evans <xdje42@gmail.com>
7856 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7859 2016-12-19 Yao Qi <yao.qi@linaro.org>
7861 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7862 (test_with_self): Don't call do_steps_and_nexts, and remove
7863 code about stepping into xmalloc.
7865 2016-12-09 Yao Qi <yao.qi@linaro.org>
7867 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7869 2016-12-09 Yao Qi <yao.qi@linaro.org>
7871 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7873 2016-12-09 Pedro Alves <palves@redhat.com>
7875 * gdb.base/all-architectures-0.exp: New file.
7876 * gdb.base/all-architectures-1.exp: New file.
7877 * gdb.base/all-architectures-2.exp: New file.
7878 * gdb.base/all-architectures-3.exp: New file.
7879 * gdb.base/all-architectures-4.exp: New file.
7880 * gdb.base/all-architectures-5.exp: New file.
7881 * gdb.base/all-architectures-6.exp: New file.
7882 * gdb.base/all-architectures-7.exp: New file.
7883 * gdb.base/all-architectures.exp.in: New file.
7885 2016-12-09 Yao Qi <yao.qi@linaro.org>
7887 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7889 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7891 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7893 Remove useless pattern-matching code.
7895 2016-12-02 Pedro Alves <palves@redhat.com>
7897 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7899 (top level): Call it.
7901 2016-12-02 Pedro Alves <palves@redhat.com>
7903 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7905 (top level): Call it.
7907 2016-12-02 Pedro Alves <palves@redhat.com>
7910 * gdb.base/commands.exp (user_defined_command_args_eval): New
7912 (top level): Call it.
7914 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7916 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7919 2016-12-02 Tom Tromey <tom@tromey.com>
7921 * gdb.dwarf2/main-subprogram.c: New file.
7922 * gdb.dwarf2/main-subprogram.exp: New file.
7924 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7926 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7927 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7928 gdb_test_no_output for a couple of cases.
7929 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7931 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7933 Fix test names and standardize compilation error messages throughout
7934 the following files:
7937 * gdb.arch/alpha-step.exp
7938 * gdb.arch/e500-prologue.exp
7939 * gdb.arch/ftrace-insn-reloc.exp
7940 * gdb.arch/gdb1291.exp
7941 * gdb.arch/gdb1431.exp
7942 * gdb.arch/gdb1558.exp
7943 * gdb.arch/i386-dr3-watch.exp
7944 * gdb.arch/i386-sse-stack-align.exp
7945 * gdb.arch/ia64-breakpoint-shadow.exp
7946 * gdb.arch/pa-nullify.exp
7947 * gdb.arch/powerpc-aix-prologue.exp
7948 * gdb.arch/thumb-bx-pc.exp
7949 * gdb.base/annota1.exp
7950 * gdb.base/annota3.exp
7951 * gdb.base/arrayidx.exp
7952 * gdb.base/assign.exp
7953 * gdb.base/attach.exp
7956 * gdb.base/bfp-test.exp
7957 * gdb.base/bigcore.exp
7958 * gdb.base/bitfields2.exp
7959 * gdb.base/break-fun-addr.exp
7960 * gdb.base/break-probes.exp
7961 * gdb.base/call-rt-st.exp
7962 * gdb.base/callexit.exp
7963 * gdb.base/catch-fork-kill.exp
7964 * gdb.base/charset.exp
7965 * gdb.base/checkpoint.exp
7966 * gdb.base/comprdebug.exp
7967 * gdb.base/constvars.exp
7968 * gdb.base/coredump-filter.exp
7969 * gdb.base/cursal.exp
7970 * gdb.base/cvexpr.exp
7971 * gdb.base/detach.exp
7972 * gdb.base/display.exp
7973 * gdb.base/dmsym.exp
7974 * gdb.base/dprintf-pending.exp
7975 * gdb.base/dso2dso.exp
7976 * gdb.base/dtrace-probe.exp
7978 * gdb.base/enum_cond.exp
7979 * gdb.base/exe-lock.exp
7980 * gdb.base/exec-invalid-sysroot.exp
7981 * gdb.base/execl-update-breakpoints.exp
7982 * gdb.base/exprs.exp
7983 * gdb.base/fileio.exp
7985 * gdb.base/finish.exp
7986 * gdb.base/fixsection.exp
7987 * gdb.base/foll-vfork.exp
7988 * gdb.base/frame-args.exp
7989 * gdb.base/gcore.exp
7990 * gdb.base/gdb1250.exp
7991 * gdb.base/global-var-nested-by-dso.exp
7992 * gdb.base/gnu-ifunc.exp
7993 * gdb.base/hashline1.exp
7994 * gdb.base/hashline2.exp
7995 * gdb.base/hashline3.exp
7996 * gdb.base/hbreak-in-shr-unsupported.exp
7998 * gdb.base/infcall-input.exp
7999 * gdb.base/info-fun.exp
8000 * gdb.base/info-shared.exp
8001 * gdb.base/jit-simple.exp
8002 * gdb.base/jit-so.exp
8005 * gdb.base/label.exp
8006 * gdb.base/lineinc.exp
8007 * gdb.base/logical.exp
8008 * gdb.base/longjmp.exp
8009 * gdb.base/macscp.exp
8010 * gdb.base/miscexprs.exp
8011 * gdb.base/new-ui-echo.exp
8012 * gdb.base/new-ui-pending-input.exp
8013 * gdb.base/new-ui.exp
8014 * gdb.base/nodebug.exp
8015 * gdb.base/nofield.exp
8016 * gdb.base/offsets.exp
8017 * gdb.base/overlays.exp
8018 * gdb.base/pending.exp
8019 * gdb.base/pointers.exp
8020 * gdb.base/pr11022.exp
8021 * gdb.base/printcmds.exp
8022 * gdb.base/prologue.exp
8023 * gdb.base/ptr-typedef.exp
8024 * gdb.base/realname-expand.exp
8025 * gdb.base/relativedebug.exp
8026 * gdb.base/relocate.exp
8027 * gdb.base/remote.exp
8028 * gdb.base/reread.exp
8029 * gdb.base/return2.exp
8030 * gdb.base/savedregs.exp
8032 * gdb.base/sepdebug.exp
8033 * gdb.base/sepsymtab.exp
8034 * gdb.base/set-inferior-tty.exp
8035 * gdb.base/setshow.exp
8036 * gdb.base/shlib-call.exp
8037 * gdb.base/sigaltstack.exp
8038 * gdb.base/siginfo-addr.exp
8039 * gdb.base/signals.exp
8040 * gdb.base/signull.exp
8041 * gdb.base/sigrepeat.exp
8042 * gdb.base/so-impl-ld.exp
8043 * gdb.base/solib-display.exp
8044 * gdb.base/solib-overlap.exp
8045 * gdb.base/solib-search.exp
8046 * gdb.base/solib-symbol.exp
8047 * gdb.base/structs.exp
8048 * gdb.base/structs2.exp
8049 * gdb.base/symtab-search-order.exp
8050 * gdb.base/twice.exp
8051 * gdb.base/unload.exp
8052 * gdb.base/varargs.exp
8053 * gdb.base/watchpoint-solib.exp
8054 * gdb.base/watchpoint.exp
8055 * gdb.base/whatis.exp
8056 * gdb.base/wrong_frame_bt_full.exp
8057 * gdb.btrace/dlopen.exp
8058 * gdb.cell/ea-standalone.exp
8059 * gdb.cell/ea-test.exp
8060 * gdb.cp/dispcxx.exp
8061 * gdb.cp/gdb2384.exp
8062 * gdb.cp/method2.exp
8063 * gdb.cp/nextoverthrow.exp
8064 * gdb.cp/pr10728.exp
8065 * gdb.disasm/am33.exp
8066 * gdb.disasm/h8300s.exp
8067 * gdb.disasm/mn10300.exp
8068 * gdb.disasm/sh3.exp
8069 * gdb.dwarf2/dw2-dir-file-name.exp
8070 * gdb.fortran/complex.exp
8071 * gdb.fortran/library-module.exp
8072 * gdb.guile/scm-pretty-print.exp
8073 * gdb.guile/scm-symbol.exp
8074 * gdb.guile/scm-type.exp
8075 * gdb.guile/scm-value.exp
8076 * gdb.linespec/linespec.exp
8079 * gdb.mi/mi-breakpoint-changed.exp
8080 * gdb.mi/mi-dprintf-pending.exp
8081 * gdb.mi/mi-dprintf.exp
8082 * gdb.mi/mi-exit-code.exp
8083 * gdb.mi/mi-pending.exp
8084 * gdb.mi/mi-solib.exp
8085 * gdb.mi/new-ui-mi-sync.exp
8086 * gdb.mi/pr11022.exp
8087 * gdb.mi/user-selected-context-sync.exp
8088 * gdb.opt/solib-intra-step.exp
8089 * gdb.python/py-events.exp
8090 * gdb.python/py-finish-breakpoint.exp
8091 * gdb.python/py-mi.exp
8092 * gdb.python/py-prettyprint.exp
8093 * gdb.python/py-shared.exp
8094 * gdb.python/py-symbol.exp
8095 * gdb.python/py-template.exp
8096 * gdb.python/py-type.exp
8097 * gdb.python/py-value.exp
8098 * gdb.reverse/solib-precsave.exp
8099 * gdb.reverse/solib-reverse.exp
8100 * gdb.server/solib-list.exp
8101 * gdb.stabs/weird.exp
8102 * gdb.threads/reconnect-signal.exp
8103 * gdb.threads/stepi-random-signal.exp
8104 * gdb.trace/actions.exp
8106 * gdb.trace/backtrace.exp
8107 * gdb.trace/change-loc.exp
8108 * gdb.trace/deltrace.exp
8109 * gdb.trace/ftrace-lock.exp
8110 * gdb.trace/ftrace.exp
8111 * gdb.trace/infotrace.exp
8112 * gdb.trace/mi-tracepoint-changed.exp
8113 * gdb.trace/packetlen.exp
8114 * gdb.trace/passcount.exp
8115 * gdb.trace/pending.exp
8116 * gdb.trace/range-stepping.exp
8117 * gdb.trace/report.exp
8118 * gdb.trace/stap-trace.exp
8119 * gdb.trace/tfind.exp
8120 * gdb.trace/trace-break.exp
8121 * gdb.trace/trace-condition.exp
8122 * gdb.trace/trace-enable-disable.exp
8123 * gdb.trace/trace-mt.exp
8124 * gdb.trace/tracecmd.exp
8125 * gdb.trace/tspeed.exp
8129 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8131 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8132 with gdb_test_no_output.
8133 Use command as test name.
8135 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8137 Fix test names starting with uppercase throughout the files.
8139 * gdb.ada/assign_1.exp
8140 * gdb.ada/boolean_expr.exp
8141 * gdb.base/arrayidx.exp
8143 * gdb.base/gcore-buffer-overflow.exp
8144 * gdb.base/testenv.exp
8145 * gdb.compile/compile.exp
8146 * gdb.python/py-framefilter-invalidarg.exp
8147 * gdb.python/py-framefilter.exp
8149 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8151 Fix test names starting with uppercase throughout the files.
8153 * gdb.ada/array_return.exp
8154 * gdb.ada/expr_delims.exp
8155 * gdb.ada/mi_dyn_arr.exp
8156 * gdb.ada/mi_interface.exp
8157 * gdb.ada/mi_var_array.exp
8158 * gdb.ada/watch_arg.exp
8159 * gdb.arch/alpha-step.exp
8160 * gdb.arch/altivec-regs.exp
8161 * gdb.arch/e500-regs.exp
8162 * gdb.arch/powerpc-d128-regs.exp
8163 * gdb.base/arrayidx.exp
8164 * gdb.base/break.exp
8165 * gdb.base/checkpoint.exp
8166 * gdb.base/debug-expr.exp
8167 * gdb.base/dmsym.exp
8168 * gdb.base/radix.exp
8169 * gdb.base/sepdebug.exp
8170 * gdb.base/testenv.exp
8171 * gdb.base/watch_thread_num.exp
8172 * gdb.base/watchpoint-cond-gone.exp
8173 * gdb.cell/break.exp
8174 * gdb.cell/ea-cache.exp
8175 * gdb.compile/compile.exp
8176 * gdb.cp/gdb2495.exp
8177 * gdb.gdb/selftest.exp
8178 * gdb.gdb/xfullpath.exp
8180 * gdb.go/integers.exp
8181 * gdb.objc/basicclass.exp
8182 * gdb.pascal/hello.exp
8183 * gdb.pascal/integers.exp
8184 * gdb.python/py-breakpoint.exp
8185 * gdb.python/py-cmd.exp
8186 * gdb.python/py-linetable.exp
8187 * gdb.python/py-xmethods.exp
8188 * gdb.python/python.exp
8189 * gdb.reverse/consecutive-precsave.exp
8190 * gdb.reverse/finish-precsave.exp
8191 * gdb.reverse/i386-precsave.exp
8192 * gdb.reverse/machinestate-precsave.exp
8193 * gdb.reverse/sigall-precsave.exp
8194 * gdb.reverse/solib-precsave.exp
8195 * gdb.reverse/step-precsave.exp
8196 * gdb.reverse/until-precsave.exp
8197 * gdb.reverse/watch-precsave.exp
8198 * gdb.threads/leader-exit.exp
8199 * gdb.threads/pthreads.exp
8200 * gdb.threads/wp-replication.exp
8201 * gdb.trace/actions.exp
8202 * gdb.trace/mi-tsv-changed.exp
8205 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8207 Fix test names starting with uppercase throughout the files.
8209 * gdb.arch/i386-bp_permanent.exp
8210 * gdb.arch/i386-gnu-cfi.exp
8211 * gdb.base/disasm-end-cu.exp
8212 * gdb.base/macscp.exp
8213 * gdb.base/pending.exp
8214 * gdb.base/watch_thread_num.exp
8215 * gdb.cp/exception.exp
8216 * gdb.cp/gdb2495.exp
8218 * gdb.python/py-evsignal.exp
8219 * gdb.python/python.exp
8220 * gdb.trace/tracecmd.exp
8222 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8224 Fix test names starting with uppercase throughout the files.
8226 * gdb.base/charset.exp
8228 * gdb.base/multi-forks.exp
8229 * gdb.guile/scm-progspace.exp
8230 * gdb.opencl/datatypes.exp
8231 * gdb.python/py-block.exp
8232 * gdb.python/py-function.exp
8233 * gdb.python/py-symbol.exp
8234 * gdb.python/py-symtab.exp
8235 * gdb.python/py-xmethods.exp
8236 * gdb.reverse/break-precsave.exp
8237 * gdb.reverse/break-reverse.exp
8238 * gdb.reverse/consecutive-precsave.exp
8239 * gdb.reverse/consecutive-reverse.exp
8240 * gdb.reverse/finish-precsave.exp
8241 * gdb.reverse/finish-reverse-bkpt.exp
8242 * gdb.reverse/finish-reverse.exp
8243 * gdb.reverse/fstatat-reverse.exp
8244 * gdb.reverse/getresuid-reverse.exp
8245 * gdb.reverse/i386-precsave.exp
8246 * gdb.reverse/i386-reverse.exp
8247 * gdb.reverse/i386-sse-reverse.exp
8248 * gdb.reverse/i387-stack-reverse.exp
8249 * gdb.reverse/insn-reverse.exp
8250 * gdb.reverse/machinestate-precsave.exp
8251 * gdb.reverse/machinestate.exp
8252 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8253 * gdb.reverse/pipe-reverse.exp
8254 * gdb.reverse/readv-reverse.exp
8255 * gdb.reverse/recvmsg-reverse.exp
8256 * gdb.reverse/rerun-prec.exp
8257 * gdb.reverse/s390-mvcle.exp
8258 * gdb.reverse/sigall-precsave.exp
8259 * gdb.reverse/sigall-reverse.exp
8260 * gdb.reverse/solib-precsave.exp
8261 * gdb.reverse/solib-reverse.exp
8262 * gdb.reverse/step-precsave.exp
8263 * gdb.reverse/step-reverse.exp
8264 * gdb.reverse/time-reverse.exp
8265 * gdb.reverse/until-precsave.exp
8266 * gdb.reverse/until-reverse.exp
8267 * gdb.reverse/waitpid-reverse.exp
8268 * gdb.reverse/watch-precsave.exp
8269 * gdb.reverse/watch-reverse.exp
8271 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8273 Fix test names starting with uppercase throughout the files.
8275 * gdb.arch/i386-mpx-simple_segv.exp
8276 * gdb.arch/i386-mpx.exp
8277 * gdb.arch/i386-permbkpt.exp
8278 * gdb.arch/pa-nullify.exp
8279 * gdb.arch/powerpc-d128-regs.exp
8280 * gdb.arch/vsx-regs.exp
8281 * gdb.base/bfp-test.exp
8282 * gdb.base/break.exp
8283 * gdb.base/breakpoint-shadow.exp
8284 * gdb.base/callfuncs.exp
8285 * gdb.base/charset.exp
8286 * gdb.base/commands.exp
8287 * gdb.base/completion.exp
8288 * gdb.base/dfp-test.exp
8290 * gdb.base/ending-run.exp
8292 * gdb.base/expand-psymtabs.exp
8293 * gdb.base/float128.exp
8294 * gdb.base/floatn.exp
8295 * gdb.base/foll-exec-mode.exp
8296 * gdb.base/gdb1056.exp
8297 * gdb.base/gdb11531.exp
8298 * gdb.base/kill-after-signal.exp
8299 * gdb.base/multi-forks.exp
8300 * gdb.base/overlays.exp
8301 * gdb.base/pending.exp
8302 * gdb.base/sepdebug.exp
8303 * gdb.base/testenv.exp
8304 * gdb.base/valgrind-db-attach.exp
8305 * gdb.base/watch_thread_num.exp
8306 * gdb.base/watchpoint-cond-gone.exp
8307 * gdb.base/watchpoint.exp
8308 * gdb.base/watchpoints.exp
8309 * gdb.cp/arg-reference.exp
8310 * gdb.cp/baseenum.exp
8311 * gdb.cp/operator.exp
8313 * gdb.dwarf2/dw2-op-out-param.exp
8314 * gdb.dwarf2/dw2-reg-undefined.exp
8317 * gdb.go/integers.exp
8318 * gdb.go/methods.exp
8319 * gdb.go/package.exp
8320 * gdb.guile/scm-parameter.exp
8321 * gdb.guile/scm-progspace.exp
8322 * gdb.guile/scm-value.exp
8323 * gdb.mi/mi-pending.exp
8324 * gdb.mi/user-selected-context-sync.exp
8325 * gdb.multi/multi-attach.exp
8326 * gdb.multi/tids.exp
8327 * gdb.opt/clobbered-registers-O2.exp
8328 * gdb.pascal/floats.exp
8329 * gdb.pascal/integers.exp
8330 * gdb.python/py-block.exp
8331 * gdb.python/py-events.exp
8332 * gdb.python/py-parameter.exp
8333 * gdb.python/py-symbol.exp
8334 * gdb.python/py-symtab.exp
8335 * gdb.python/py-type.exp
8336 * gdb.python/py-value.exp
8337 * gdb.python/py-xmethods.exp
8338 * gdb.python/python.exp
8339 * gdb.reverse/break-precsave.exp
8340 * gdb.reverse/consecutive-precsave.exp
8341 * gdb.reverse/finish-precsave.exp
8342 * gdb.reverse/i386-precsave.exp
8343 * gdb.reverse/machinestate-precsave.exp
8344 * gdb.reverse/sigall-precsave.exp
8345 * gdb.reverse/solib-precsave.exp
8346 * gdb.reverse/step-precsave.exp
8347 * gdb.reverse/until-precsave.exp
8348 * gdb.reverse/watch-precsave.exp
8349 * gdb.server/ext-attach.exp
8350 * gdb.server/ext-restart.exp
8351 * gdb.server/ext-run.exp
8352 * gdb.server/ext-wrapper.exp
8353 * gdb.stabs/gdb11479.exp
8354 * gdb.stabs/weird.exp
8355 * gdb.threads/attach-many-short-lived-threads.exp
8356 * gdb.threads/kill.exp
8357 * gdb.threads/watchpoint-fork.exp
8359 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8361 Fix test names starting with uppercase throughout all the files below.
8363 * gdb.ada/array_return.exp
8364 * gdb.ada/catch_ex.exp
8365 * gdb.ada/info_exc.exp
8366 * gdb.ada/mi_catch_ex.exp
8367 * gdb.ada/mi_dyn_arr.exp
8368 * gdb.ada/mi_ex_cond.exp
8369 * gdb.ada/mi_exc_info.exp
8370 * gdb.ada/mi_interface.exp
8371 * gdb.ada/mi_task_arg.exp
8372 * gdb.ada/mi_task_info.exp
8373 * gdb.ada/mi_var_array.exp
8374 * gdb.arch/alpha-step.exp
8375 * gdb.arch/amd64-disp-step.exp
8376 * gdb.arch/arm-disp-step.exp
8377 * gdb.arch/disp-step-insn-reloc.exp
8378 * gdb.arch/e500-prologue.exp
8379 * gdb.arch/ftrace-insn-reloc.exp
8380 * gdb.arch/gdb1558.exp
8381 * gdb.arch/i386-bp_permanent.exp
8382 * gdb.arch/i386-disp-step.exp
8383 * gdb.arch/i386-float.exp
8384 * gdb.arch/i386-gnu-cfi.exp
8385 * gdb.arch/ia64-breakpoint-shadow.exp
8386 * gdb.arch/mips16-thunks.exp
8387 * gdb.arch/pa-nullify.exp
8388 * gdb.arch/powerpc-aix-prologue.exp
8389 * gdb.arch/powerpc-power.exp
8390 * gdb.arch/ppc-dfp.exp
8391 * gdb.arch/s390-tdbregs.exp
8392 * gdb.arch/spu-info.exp
8393 * gdb.arch/spu-ls.exp
8394 * gdb.arch/thumb-bx-pc.exp
8395 * gdb.base/advance.exp
8396 * gdb.base/annota-input-while-running.exp
8397 * gdb.base/arrayidx.exp
8398 * gdb.base/asmlabel.exp
8399 * gdb.base/async.exp
8400 * gdb.base/attach-wait-input.exp
8401 * gdb.base/auto-connect-native-target.exp
8402 * gdb.base/batch-preserve-term-settings.exp
8403 * gdb.base/bfp-test.exp
8404 * gdb.base/bigcore.exp
8405 * gdb.base/bp-permanent.exp
8406 * gdb.base/break-always.exp
8407 * gdb.base/break-fun-addr.exp
8408 * gdb.base/break-idempotent.exp
8409 * gdb.base/break-main-file-remove-fail.exp
8410 * gdb.base/break-probes.exp
8411 * gdb.base/break-unload-file.exp
8412 * gdb.base/break.exp
8413 * gdb.base/call-ar-st.exp
8414 * gdb.base/call-rt-st.exp
8415 * gdb.base/call-sc.exp
8416 * gdb.base/call-signal-resume.exp
8417 * gdb.base/call-strs.exp
8418 * gdb.base/callexit.exp
8419 * gdb.base/callfuncs.exp
8420 * gdb.base/catch-gdb-caused-signals.exp
8421 * gdb.base/catch-signal-siginfo-cond.exp
8422 * gdb.base/catch-syscall.exp
8423 * gdb.base/compare-sections.exp
8424 * gdb.base/cond-eval-mode.exp
8425 * gdb.base/condbreak-call-false.exp
8426 * gdb.base/consecutive-step-over.exp
8427 * gdb.base/cursal.exp
8428 * gdb.base/disabled-location.exp
8429 * gdb.base/disasm-end-cu.exp
8430 * gdb.base/display.exp
8431 * gdb.base/double-prompt-target-event-error.exp
8432 * gdb.base/dprintf-bp-same-addr.exp
8433 * gdb.base/dprintf-detach.exp
8434 * gdb.base/dprintf-next.exp
8435 * gdb.base/dprintf-non-stop.exp
8436 * gdb.base/dprintf-pending.exp
8437 * gdb.base/dso2dso.exp
8438 * gdb.base/ending-run.exp
8439 * gdb.base/enum_cond.exp
8440 * gdb.base/examine-backward.exp
8441 * gdb.base/exe-lock.exp
8442 * gdb.base/exec-invalid-sysroot.exp
8443 * gdb.base/execl-update-breakpoints.exp
8444 * gdb.base/execution-termios.exp
8445 * gdb.base/fileio.exp
8446 * gdb.base/fixsection.exp
8447 * gdb.base/foll-exec-mode.exp
8448 * gdb.base/foll-exec.exp
8449 * gdb.base/fork-running-state.exp
8450 * gdb.base/frame-args.exp
8451 * gdb.base/fullpath-expand.exp
8452 * gdb.base/func-ptr.exp
8453 * gdb.base/gcore-relro-pie.exp
8454 * gdb.base/gdb1090.exp
8455 * gdb.base/gdb1555.exp
8456 * gdb.base/global-var-nested-by-dso.exp
8457 * gdb.base/gnu-ifunc.exp
8458 * gdb.base/hbreak-in-shr-unsupported.exp
8459 * gdb.base/hbreak-unmapped.exp
8460 * gdb.base/hook-stop.exp
8461 * gdb.base/infcall-input.exp
8462 * gdb.base/info-fun.exp
8463 * gdb.base/info-shared.exp
8464 * gdb.base/interrupt-noterm.exp
8465 * gdb.base/jit-so.exp
8467 * gdb.base/line-symtabs.exp
8469 * gdb.base/longjmp.exp
8470 * gdb.base/macscp.exp
8471 * gdb.base/max-value-size.exp
8472 * gdb.base/nodebug.exp
8473 * gdb.base/nofield.exp
8474 * gdb.base/overlays.exp
8475 * gdb.base/paginate-after-ctrl-c-running.exp
8476 * gdb.base/paginate-bg-execution.exp
8477 * gdb.base/paginate-inferior-exit.exp
8478 * gdb.base/pending.exp
8479 * gdb.base/pr11022.exp
8480 * gdb.base/printcmds.exp
8481 * gdb.base/ptr-typedef.exp
8482 * gdb.base/ptype.exp
8483 * gdb.base/randomize.exp
8484 * gdb.base/range-stepping.exp
8485 * gdb.base/realname-expand.exp
8486 * gdb.base/relativedebug.exp
8487 * gdb.base/remote.exp
8488 * gdb.base/savedregs.exp
8489 * gdb.base/sepdebug.exp
8490 * gdb.base/set-noassign.exp
8491 * gdb.base/shlib-call.exp
8492 * gdb.base/shreloc.exp
8493 * gdb.base/sigaltstack.exp
8494 * gdb.base/sigbpt.exp
8495 * gdb.base/siginfo-addr.exp
8496 * gdb.base/siginfo-obj.exp
8497 * gdb.base/siginfo-thread.exp
8498 * gdb.base/signest.exp
8499 * gdb.base/signull.exp
8500 * gdb.base/sigrepeat.exp
8502 * gdb.base/so-impl-ld.exp
8503 * gdb.base/solib-corrupted.exp
8504 * gdb.base/solib-disc.exp
8505 * gdb.base/solib-display.exp
8506 * gdb.base/solib-overlap.exp
8507 * gdb.base/solib-search.exp
8508 * gdb.base/solib-symbol.exp
8509 * gdb.base/source-execution.exp
8510 * gdb.base/sss-bp-on-user-bp-2.exp
8511 * gdb.base/sss-bp-on-user-bp.exp
8512 * gdb.base/stack-checking.exp
8513 * gdb.base/stale-infcall.exp
8514 * gdb.base/step-break.exp
8515 * gdb.base/step-line.exp
8516 * gdb.base/step-over-exit.exp
8517 * gdb.base/step-test.exp
8518 * gdb.base/structs.exp
8519 * gdb.base/sym-file.exp
8520 * gdb.base/symtab-search-order.exp
8522 * gdb.base/type-opaque.exp
8523 * gdb.base/unload.exp
8524 * gdb.base/until-nodebug.exp
8525 * gdb.base/until.exp
8526 * gdb.base/unwindonsignal.exp
8527 * gdb.base/watch-cond.exp
8528 * gdb.base/watch-non-mem.exp
8529 * gdb.base/watch_thread_num.exp
8530 * gdb.base/watchpoint-reuse-slot.exp
8531 * gdb.base/watchpoint-solib.exp
8532 * gdb.base/watchpoint.exp
8533 * gdb.btrace/dlopen.exp
8535 * gdb.cell/break.exp
8539 * gdb.cell/dwarfaddr.exp
8540 * gdb.cell/ea-cache.exp
8541 * gdb.cell/ea-standalone.exp
8542 * gdb.cell/ea-test.exp
8543 * gdb.cell/f-regs.exp
8545 * gdb.cell/gcore.exp
8546 * gdb.cell/mem-access.exp
8547 * gdb.cell/ptype.exp
8548 * gdb.cell/registers.exp
8549 * gdb.cell/sizeof.exp
8550 * gdb.cell/solib-symbol.exp
8551 * gdb.cell/solib.exp
8552 * gdb.compile/compile-tls.exp
8553 * gdb.cp/exception.exp
8554 * gdb.cp/gdb2495.exp
8556 * gdb.cp/mb-inline.exp
8557 * gdb.cp/mb-templates.exp
8558 * gdb.cp/pr10687.exp
8560 * gdb.cp/scope-err.exp
8561 * gdb.cp/templates.exp
8562 * gdb.cp/virtfunc.exp
8563 * gdb.dwarf2/dw2-dir-file-name.exp
8564 * gdb.dwarf2/dw2-single-line-discriminators.exp
8565 * gdb.fortran/complex.exp
8566 * gdb.fortran/library-module.exp
8567 * gdb.guile/guile.exp
8568 * gdb.guile/scm-cmd.exp
8569 * gdb.guile/scm-frame-inline.exp
8570 * gdb.guile/scm-objfile.exp
8571 * gdb.guile/scm-pretty-print.exp
8572 * gdb.guile/scm-symbol.exp
8573 * gdb.guile/scm-type.exp
8574 * gdb.guile/scm-value.exp
8575 * gdb.linespec/keywords.exp
8576 * gdb.linespec/ls-errs.exp
8577 * gdb.linespec/macro-relative.exp
8578 * gdb.linespec/thread.exp
8579 * gdb.mi/mi-breakpoint-changed.exp
8580 * gdb.mi/mi-dprintf-pending.exp
8581 * gdb.mi/mi-fullname-deleted.exp
8582 * gdb.mi/mi-logging.exp
8583 * gdb.mi/mi-pending.exp
8584 * gdb.mi/mi-solib.exp
8585 * gdb.mi/new-ui-mi-sync.exp
8586 * gdb.mi/user-selected-context-sync.exp
8587 * gdb.multi/dummy-frame-restore.exp
8588 * gdb.multi/multi-arch-exec.exp
8589 * gdb.multi/remove-inferiors.exp
8590 * gdb.multi/watchpoint-multi-exit.exp
8591 * gdb.opt/solib-intra-step.exp
8592 * gdb.perf/backtrace.exp
8593 * gdb.perf/single-step.exp
8594 * gdb.perf/skip-command.exp
8595 * gdb.perf/skip-prologue.exp
8596 * gdb.perf/solib.exp
8597 * gdb.python/lib-types.exp
8598 * gdb.python/py-as-string.exp
8599 * gdb.python/py-bad-printers.exp
8600 * gdb.python/py-block.exp
8601 * gdb.python/py-breakpoint.exp
8602 * gdb.python/py-cmd.exp
8603 * gdb.python/py-events.exp
8604 * gdb.python/py-evthreads.exp
8605 * gdb.python/py-finish-breakpoint.exp
8606 * gdb.python/py-finish-breakpoint2.exp
8607 * gdb.python/py-frame-inline.exp
8608 * gdb.python/py-frame.exp
8609 * gdb.python/py-inferior.exp
8610 * gdb.python/py-infthread.exp
8611 * gdb.python/py-mi.exp
8612 * gdb.python/py-objfile.exp
8613 * gdb.python/py-pp-maint.exp
8614 * gdb.python/py-pp-registration.exp
8615 * gdb.python/py-prettyprint.exp
8616 * gdb.python/py-recurse-unwind.exp
8617 * gdb.python/py-shared.exp
8618 * gdb.python/py-symbol.exp
8619 * gdb.python/py-symtab.exp
8620 * gdb.python/py-template.exp
8621 * gdb.python/py-type.exp
8622 * gdb.python/py-unwind-maint.exp
8623 * gdb.python/py-unwind.exp
8624 * gdb.python/py-value.exp
8625 * gdb.python/python.exp
8626 * gdb.reverse/finish-reverse-bkpt.exp
8627 * gdb.reverse/insn-reverse.exp
8628 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8629 * gdb.reverse/solib-precsave.exp
8630 * gdb.reverse/solib-reverse.exp
8631 * gdb.stabs/gdb11479.exp
8632 * gdb.stabs/weird.exp
8633 * gdb.threads/fork-child-threads.exp
8634 * gdb.threads/fork-plus-threads.exp
8635 * gdb.threads/fork-thread-pending.exp
8636 * gdb.threads/forking-threads-plus-breakpoint.exp
8637 * gdb.threads/hand-call-in-threads.exp
8638 * gdb.threads/interrupted-hand-call.exp
8639 * gdb.threads/linux-dp.exp
8640 * gdb.threads/local-watch-wrong-thread.exp
8641 * gdb.threads/next-while-other-thread-longjmps.exp
8642 * gdb.threads/non-ldr-exit.exp
8643 * gdb.threads/pending-step.exp
8644 * gdb.threads/print-threads.exp
8645 * gdb.threads/process-dies-while-detaching.exp
8646 * gdb.threads/process-dies-while-handling-bp.exp
8647 * gdb.threads/pthreads.exp
8648 * gdb.threads/queue-signal.exp
8649 * gdb.threads/reconnect-signal.exp
8650 * gdb.threads/signal-command-handle-nopass.exp
8651 * gdb.threads/signal-command-multiple-signals-pending.exp
8652 * gdb.threads/signal-delivered-right-thread.exp
8653 * gdb.threads/signal-sigtrap.exp
8654 * gdb.threads/sigthread.exp
8655 * gdb.threads/staticthreads.exp
8656 * gdb.threads/stepi-random-signal.exp
8657 * gdb.threads/thread-unwindonsignal.exp
8658 * gdb.threads/thread_check.exp
8659 * gdb.threads/thread_events.exp
8660 * gdb.threads/tid-reuse.exp
8661 * gdb.threads/tls-nodebug.exp
8662 * gdb.threads/tls-shared.exp
8663 * gdb.threads/tls-so_extern.exp
8664 * gdb.threads/tls.exp
8665 * gdb.threads/wp-replication.exp
8666 * gdb.trace/actions-changed.exp
8667 * gdb.trace/actions.exp
8668 * gdb.trace/backtrace.exp
8669 * gdb.trace/change-loc.exp
8670 * gdb.trace/collection.exp
8671 * gdb.trace/deltrace.exp
8672 * gdb.trace/disconnected-tracing.exp
8673 * gdb.trace/entry-values.exp
8674 * gdb.trace/ftrace-lock.exp
8675 * gdb.trace/ftrace.exp
8676 * gdb.trace/infotrace.exp
8677 * gdb.trace/mi-trace-frame-collected.exp
8678 * gdb.trace/mi-trace-unavailable.exp
8679 * gdb.trace/mi-traceframe-changed.exp
8680 * gdb.trace/mi-tracepoint-changed.exp
8681 * gdb.trace/mi-tsv-changed.exp
8682 * gdb.trace/no-attach-trace.exp
8683 * gdb.trace/packetlen.exp
8684 * gdb.trace/passc-dyn.exp
8685 * gdb.trace/passcount.exp
8686 * gdb.trace/pending.exp
8687 * gdb.trace/pr16508.exp
8688 * gdb.trace/qtro.exp
8689 * gdb.trace/range-stepping.exp
8690 * gdb.trace/read-memory.exp
8691 * gdb.trace/report.exp
8692 * gdb.trace/save-trace.exp
8693 * gdb.trace/signal.exp
8694 * gdb.trace/stap-trace.exp
8695 * gdb.trace/status-stop.exp
8696 * gdb.trace/strace.exp
8697 * gdb.trace/tfile.exp
8698 * gdb.trace/tfind.exp
8699 * gdb.trace/trace-break.exp
8700 * gdb.trace/trace-condition.exp
8701 * gdb.trace/trace-enable-disable.exp
8702 * gdb.trace/trace-mt.exp
8703 * gdb.trace/tracecmd.exp
8704 * gdb.trace/tracefile-pseudo-reg.exp
8705 * gdb.trace/tspeed.exp
8706 * gdb.trace/tstatus.exp
8708 * gdb.trace/unavailable.exp
8709 * gdb.trace/while-dyn.exp
8710 * gdb.trace/while-stepping.exp
8713 * lib/mi-support.exp
8716 * lib/prelink-support.exp
8717 * lib/selftest-support.exp
8719 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8721 * Makefile.in: Include disable-implicit-rules.mk.
8723 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8725 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8726 non-byte-aligned bit fields.
8728 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8731 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8732 respects the DW_AT_data_bit_offset attribute.
8734 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8736 * gdb.base/default.exp: Fix output of "set language".
8738 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8740 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8741 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8743 * configure.ac: Remove checks for the make program.
8744 * configure: Re-generate.
8746 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8748 * gdb.python/py-recurse-unwind.c (main): Add loop.
8749 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8750 to read_register() and gdb.parse_and_eval(). Make each code
8751 call a separate case that can be individually tested.
8752 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8753 proc. Call cont_and_backtrace for each of the code paths that
8754 we want to test in the unwinder.
8756 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8758 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8759 the definition of struct S.
8761 2016-11-11 Catherine Moore <clm@codesourcery.com>
8763 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8765 2016-11-09 Pedro Alves <palves@redhat.com>
8767 * gdb.base/commands.exp (runto_or_return): New procedure.
8768 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8769 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8770 (progvar_simple_while_test, progvar_complex_if_while_test)
8771 (if_while_breakpoint_command_test)
8772 (infrun_breakpoint_command_test, breakpoint_command_test)
8773 (user_defined_command_test, watchpoint_command_test)
8774 (test_command_prompt_position, redefine_hook_test)
8775 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8776 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8777 multi_line_input and multi_line. Remove gdb_expect and
8778 gdb_stop_suppressing_tests uses.
8779 * lib/gdb.exp (valnum_re): New global.
8780 (multi_line_input): New procedure.
8782 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8784 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8786 (test_setup): Define with proc_with_prefix.
8787 (test_cli_inferior): Likewise.
8788 (test_cli_thread): Likewise.
8789 (test_cli_frame): Likewise.
8790 (test_cli_select_frame): Likewise.
8791 (test_cli_up_down): Likewise.
8792 (test_mi_thread_select): Likewise.
8793 (test_mi_stack_select_frame): Likewise.
8794 (test_cli_in_mi_inferior): Likewise.
8795 (test_cli_in_mi_thread): Likewise.
8796 (test_cli_in_mi_frame): Likewise.
8797 (top level): Do not use with_test_prefix_procname.
8799 2016-11-09 Pedro Alves <palves@redhat.com>
8801 * gdb.base/commands.exp (gdbvar_simple_if_test)
8802 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8803 (progvar_simple_if_test, progvar_simple_while_test)
8804 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8805 (infrun_breakpoint_command_test, breakpoint_command_test)
8806 (user_defined_command_test, watchpoint_command_test)
8807 (test_command_prompt_position, deprecated_command_test)
8808 (bp_deleted_in_command, temporary_breakpoint_commands)
8809 (stray_arg0_test, source_file_with_indented_comment)
8810 (recursive_source_test, if_commands_test)
8811 (error_clears_commands_left, redefine_hook_test)
8812 (redefine_backtrace_test): Use proc_with_prefix.
8813 * lib/gdb.exp (proc_with_prefix): New proc.
8815 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8817 * gdb.base/tui-layout.c: New file.
8818 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8819 disassembly window contains very long lines.
8821 2016-11-08 Tom Tromey <tom@tromey.com>
8823 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8826 2016-11-08 Tom Tromey <tom@tromey.com>
8828 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8831 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8833 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8835 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8837 * gdb.rust/simple.rs: Add test for univariant enums without
8838 discriminants and for encoded struct-like enums.
8840 2016-10-28 Pedro Alves <palves@redhat.com>
8842 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8843 gdb_test_multiple, tighten regexps and match symtabs and line
8844 tables incrementally.
8846 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8848 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8851 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8853 * gdb.base/exec-invalid-sysroot.exp: New file.
8855 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8857 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8859 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8861 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8863 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8865 * gdb.base/killed-outside.exp: Remove $options from a call to
8866 `prepare_for_testing'.
8868 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8870 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8871 Change test message.
8873 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8875 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8878 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8880 * gdb.trace/mi-trace-save.exp: New file.
8882 2016-10-13 Yao Qi <yao.qi@linaro.org>
8884 * gdb.base/code_elim.exp (get_var_address): Remove.
8885 * gdb.base/relocate.exp: Likewise.
8886 * gdb.base/shreloc.exp: Likewise.
8887 * lib/gdb.exp (get_var_address): New.
8889 2016-10-13 Yao Qi <yao.qi@linaro.org>
8891 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8892 floating point tests if $skip_float_test is false.
8894 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8896 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8897 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8899 Add 1 to argc so we guarantee distinct initial/modified argc values.
8901 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8903 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8905 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8907 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8908 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8909 * gdb.arch/vsx-regs.exp: Likewise.
8911 2016-10-07 Yao Qi <yao.qi@linaro.org>
8913 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8915 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8917 * gdb.python/python.exp: Test decode_line("*0").
8919 2016-10-06 Doug Evans <dje@google.com>
8921 * gdb.python/py-value.exp (test_value_creation): Add test for large
8922 unsigned 64-bit value.
8924 2016-10-06 Tom Tromey <tom@tromey.com>
8926 * gdb.compile/compile.exp: Change java tests to rust.
8927 * gdb.base/setshow.exp: Change java tests to rust.
8928 * gdb.base/default.exp: Remove java from language list.
8929 * README (Examples): Update language example.
8930 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8932 * lib/gdb.exp (skip_java_tests): Remove.
8933 * lib/java.exp: Remove.
8936 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8938 * gdb.arch/mips-fcr.exp: New test.
8939 * gdb.arch/mips-fcr.c: Source for the new test.
8941 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8943 * gdb.base/solib-disc.exp: Use `standard_output_file'
8946 2016-10-06 Pedro Alves <palves@redhat.com>
8948 * gdb.base/jit-simple-dl.c: New file.
8949 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8950 * gdb.base/jit-simple.c: ... this.
8951 * gdb.base/jit-simple.exp (jit_run): Delete.
8952 (build_jit): New proc.
8953 (jit_test_reread): Recompile either the main program or the shared
8954 library, depending on what is being tested. Skip changing address
8955 if caller wants to. Compare before/after addresses. If testing
8956 standalone, explicitly load the binary. Test "maint info
8958 (top level): Add "standalone vs shared lib" and "change address"
8959 vs "same address" axes.
8961 2016-10-06 Pedro Alves <palves@redhat.com>
8963 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8966 (jit_test_reread): Use with_test_prefix. Reload the main binary
8967 explicitly. Compare the before/after addresses of the JIT
8970 2016-08-15 Doug Evans <dje@google.com>
8972 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8973 for single bitfields is bool.
8974 * gdb.xml/tdesc-regs.exp: Ditto.
8976 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8978 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8980 2016-10-05 Yao Qi <yao.qi@linaro.org>
8982 * lib/gdb.exp (support_complex_tests): Return zero if
8983 gdb_skip_float_test return true.
8985 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8986 Simon Marchi <simon.marchi@ericsson.com>
8989 * gdb.mi/user-selected-context-sync.exp: New file.
8990 * gdb.mi/user-selected-context-sync.c: New file.
8992 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8993 Simon Marchi <simon.marchi@ericsson.com>
8996 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8997 =thread-select-event check.
8999 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9001 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9002 the compulsory L operand changes.
9003 * gdb.arch/powerpc-power.s: Likewise.
9005 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9007 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9008 * gdb.base/jit-attach-pie.c: New file.
9009 * gdb.base/jit-attach-pie.exp: New file.
9011 2016-09-28 Pedro Alves <palves@redhat.com>
9013 * gdb.base/infcall-input.c: New file.
9014 * gdb.base/infcall-input.exp: New file.
9016 2016-09-22 Yao Qi <yao.qi@linaro.org>
9018 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9019 (gdb_exit): Rename it to ...
9020 (gdbserver_gdb_exit): ... Close GDBserver.
9021 (gdb_exit): New proc, call gdbserver_gdb_exit.
9022 (mi_gdb_exit): Likewise.
9024 2016-09-22 Yao Qi <yao.qi@linaro.org>
9026 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9028 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9031 2016-09-22 Yao Qi <yao.qi@linaro.org>
9033 * lib/gdbserver-support.exp: Check the existence of
9034 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9036 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9038 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9040 2016-09-21 Tom Tromey <tom@tromey.com>
9043 * gdb.base/quit.exp: New file.
9045 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9047 * .gitignore: New file.
9049 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9051 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9054 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9056 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9058 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9060 * gdb.cp/casts.cc (decltype): Move it ...
9061 (main): ... with its call to ...
9062 * gdb.cp/casts03.cc: ... a new file.
9063 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9065 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9067 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9069 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9071 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9072 and sync up the test with tests in gas/testsuite/gas/ppc.
9073 * gdb.arch/powerpc-power.exp: Likewise.
9075 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9077 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9079 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9080 Jan Kratochvil <jan.kratochvil@redhat.com>
9082 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9083 make m1's definition to be different from m2's. Use 'dummy' as an
9084 argument for probe 'two'.
9086 2016-09-10 Jon Beniston <jon@beniston.com>
9088 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9091 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9093 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9094 variable declaration.
9095 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9096 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9097 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9098 received HWCAP as its argument.
9100 2016-09-06 Pedro Alves <palves@redhat.com>
9102 * gdb.base/new-ui-pending-input.c: New file.
9103 * gdb.base/new-ui-pending-input.exp: New file.
9104 * gdb.exp (clear_gdb_spawn_id): New procedure.
9105 (with_spawn_id): Check whether gdb_spawn_id exists before
9106 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9109 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9111 * gdb.base/float128.c: New file.
9112 * gdb.base/float128.exp: Likewise.
9113 * gdb.base/floatn.c: Likewise.
9114 * gdb.base/floatn.exp: Likewise.
9116 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9118 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9120 2016-09-05 Pedro Alves <palves@redhat.com>
9123 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9124 unwinders are immediately called as side effect of "source" or
9125 "disable unwinder" commands.
9126 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9128 2016-09-02 Yao Qi <yao.qi@linaro.org>
9130 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9131 is true and $type is "float" or "double".
9133 2016-09-02 Yao Qi <yao.qi@linaro.org>
9135 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9137 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9138 * gdb.base/call-rt-st.exp: Likewise.
9139 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9140 return value instead of gdb,skip_float_test.
9141 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9142 (do_function_calls): Use its return value instead of
9143 gdb,skip_float_test.
9144 * gdb.base/finish.exp: Likewise.
9145 * gdb.base/funcargs.exp: Likewise.
9146 * gdb.base/return.exp: Likewise.
9147 * gdb.base/return2.exp: Likewise.
9148 * gdb.base/varargs.exp: Likewise.
9149 * lib/gdb.exp (gdb_skip_float_test): Change it to
9150 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9152 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9154 * gdb.multi/tids.exp: Test "thread apply all".
9156 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9158 * gdb.base/default.exp (tty): Remove.
9160 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9162 * gdb.python/py-recurse-unwind.c: New file.
9163 * gdb.python/py-recurse-unwind.py: New file.
9164 * gdb.python/py-recurse-unwind.exp: New file.
9166 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9168 * gdb.base/set-inferior-tty.exp: New file.
9169 * gdb.base/set-inferior-tty.c: New file.
9171 2016-08-23 Pedro Alves <palves@redhat.com>
9174 * gdb.base/new-ui-echo.c: New file.
9175 * gdb.base/new-ui-echo.exp: New file.
9177 2016-08-23 Yao Qi <yao.qi@linaro.org>
9179 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9181 * gdb.server/connect-without-multi-process.exp (do_test):
9184 2016-08-23 Yao Qi <yao.qi@linaro.org>
9186 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9187 standalone_txt. Delete gdb_txt and standalone_txt on host
9188 and target. Spawn the binary on target. Copy files from
9191 2016-08-22 Pedro Alves <palves@redhat.com>
9194 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9195 with_test_prefix. Factor out bits to ...
9196 (test_no_vdso): ... this new procedure.
9198 2016-08-19 Carl Love <cel@us.ibm.com>
9200 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9201 maintaining separate logic for constructing the output path.
9202 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9203 * gdb.arch/ppc-dfp.exp: Likewise.
9204 * gdb.arch/ppc-fp.exp: Likewise.
9205 * gdb.arch/vsx-regs.exp: Likewise.
9206 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9207 binprefix for generating the additional binary files.
9209 2016-08-19 Pedro Alves <palves@redhat.com>
9211 * gdb.trace/mi-trace-frame-collected.exp
9212 (test_trace_frame_collected): On x32, expect two registers.
9214 2016-08-18 Carl Love <cel@us.ibm.com>
9216 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9217 and sync up the test with tests in gas/testsuite/gas/ppc.
9218 * gdb.arch/powerpc-power.exp: Likewise.
9220 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9222 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9223 expected error message.
9225 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9227 * gdb.multi/remove-inferiors.exp: New file.
9228 * gdb.multi/remove-inferiors.c: New file.
9230 2016-08-12 Yao Qi <yao.qi@linaro.org>
9232 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9235 2016-08-10 Pedro Alves <palves@redhat.com>
9238 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9241 2016-08-09 Pedro Alves <palves@redhat.com>
9242 Simon Marchi <simon.marchi@ericsson.com>
9245 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9246 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9248 2016-08-09 Pedro Alves <palves@redhat.com>
9251 * gdb.mi/mi-cmd-error.exp: New file.
9253 2016-08-09 Pedro Alves <palves@redhat.com>
9256 * gdb.base/signals-state-child.c: New file.
9257 * gdb.base/signals-state-child.exp: New file.
9258 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9260 2016-08-09 Pedro Alves <palves@redhat.com>
9262 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9264 2016-08-03 Tom Tromey <tom@tromey.com>
9267 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9269 2016-08-01 Yao Qi <yao.qi@linaro.org>
9271 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9272 variable mode to "multi-process" if $multi_process is 1, otherwise
9273 set it to "single-process".
9275 2016-08-01 Yao Qi <yao.qi@linaro.org>
9277 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9278 * gdb.cp/cpexprs.exp: Likewise.
9279 * gdb.cp/m-static.exp: Likewise.
9281 2016-07-26 Tom Tromey <tom@tromey.com>
9284 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9287 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9289 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9290 selecting assembly source files.
9291 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9292 assembly source files.
9293 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9294 assembly source files.
9295 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9296 selecting assembly source files.
9298 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9300 * gdb.base/new-ui.exp (do_test_invalid_args): New
9303 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9305 * gdb.btrace/reconnect.c: New file.
9306 * gdb.btrace/reconnect.exp: New file.
9308 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9310 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9311 to test_catch_syscall_group.
9312 (test_catch_syscall_group): New.
9314 2016-07-21 Tom Tromey <tom@tromey.com>
9316 * gdb.rust/simple.rs (main): Use empty struct expression.
9317 * gdb.rust/simple.exp: Add tests for empty struct expression.
9319 2016-07-21 Yao Qi <yao.qi@linaro.org>
9321 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9322 if gdb_skip_xml_test is true on some targets.
9324 2016-07-21 Yao Qi <yao.qi@linaro.org>
9326 * gdb.server/solib-list.exp: Unset last_loaded_file.
9328 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9330 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9331 "step into captured_main (args)".
9333 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9335 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9337 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9339 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9341 2016-07-19 Pedro Alves <palves@redhat.com>
9343 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9344 * gdb.opt/inline-bt.exp: Likewise.
9345 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9346 additional_flags=-Winline.
9347 * gdb.opt/inline-locals.exp: Likewise.
9348 * gdb.opt/inline-markers.c (ATTR): Define.
9349 (inlined_fn): Use it.
9351 2016-07-19 Yao Qi <yao.qi@linaro.org>
9353 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9354 (test_with_self): Remove some code. Remove argument executable.
9355 (top-level): Use do_self_tests.
9357 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9358 Don Breazeal <donb@codesourcery.com>
9360 * gdb.base/maint.exp: Escape paths used in regular expressions.
9361 * gdb.stabs/weird.exp: Likewise.
9363 2016-07-13 Tom Tromey <tom@tromey.com>
9365 PR python/15620, PR python/18620:
9366 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9367 (test_bkpt_events): New procs.
9369 2016-07-13 Tom Tromey <tom@tromey.com>
9372 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9374 (test_watchpoints): Likewise.
9375 (test_bkpt_pending): New proc.
9377 2016-07-13 Tom Tromey <tom@tromey.com>
9380 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9383 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9385 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9386 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9387 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9389 (g): Rename g_end_lbl to g_label.
9390 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9392 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9394 2016-07-12 Tom Tromey <tom@tromey.com>
9397 * gdb.python/py-unwind-maint.exp: Update tests.
9399 2016-07-12 Yao Qi <yao.qi@linaro.org>
9401 * lib/selftest-support.exp (selftest_setup): Match the output
9402 when captured_main is inlined.
9404 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9406 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9408 (print this%a, print this%b, print this): New tests.
9409 * gdb.fortran/derived-types.f90 (this): New object and
9412 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9414 * gdb.ada/arraydim.exp: Remove extra directory level in build
9417 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9419 * lib/ada.exp: Remove extra directory level in build directory.
9420 * gdb.ada/cond_lang.exp: Likewise.
9421 * gdb.ada/exec_changed.exp: Likewise.
9422 * gdb.ada/lang_switch.exp: Likewise.
9424 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9426 * simple.rs: Add test for raw pointer subscripting.
9427 * simple.exp: Add test expectations.
9429 2016-07-05 Yao Qi <yao.qi@linaro.org>
9431 * gdb.mi/mi-reverse.exp: Match =record-started output.
9433 2016-07-01 Pedro Alves <palves@redhat.com>
9435 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9437 (jit_reader_test): Test the jit reader's unwinder.
9438 * gdb.base/jithost.c (jit_function_00_code): New global.
9439 (main): Use memcpy to fill in the mmapped code, instead of poking
9440 bytes manually here.
9441 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9443 (read_debug_info): Save the function's range.
9444 (read_sp): New function.
9445 (unwind_frame): Use it. Also unwind RBP.
9446 (get_frame_id): Use read_sp.
9447 (gdb_init_reader): Use calloc instead of malloc.
9448 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9449 parameter. Use gdb_test_multiple.
9451 2016-07-01 Pedro Alves <palves@redhat.com>
9452 Antoine Tremblay <antoine.tremblay@ericsson.com>
9454 * gdb.threads/process-dies-while-detaching.c: New file.
9455 * gdb.threads/process-dies-while-detaching.exp: New file.
9457 2016-07-01 Pedro Alves <palves@redhat.com>
9459 * gdb.multi/watchpoint-multi-exit.c: New file.
9460 * gdb.multi/watchpoint-multi-exit.exp: New file.
9462 2016-06-30 Pedro Alves <palves@redhat.com>
9464 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9465 unset inferior_spawn_id.
9467 2016-06-30 Pedro Alves <palves@redhat.com>
9469 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9470 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9472 2016-06-29 Yao Qi <yao.qi@linaro.org>
9474 * gdb.base/return.c: Add copyright header.
9476 2016-06-29 Tom Tromey <tom@tromey.com>
9479 * gdb.python/py-framefilter.exp: Add tests for setting priority
9480 and disabling of non-existent frame filter.
9482 2016-06-29 Yao Qi <yao.qi@linaro.org>
9484 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9487 2016-06-28 Yao Qi <yao.qi@linaro.org>
9489 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9490 triplets. Start gdb, execute catch syscall, and continue. Check
9491 gdb's output to determine catch syscall is supported.
9493 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9495 * gdb.rust/simple.rs: Add test for returning unit in a function.
9496 * gdb.rust/simple.exp: Add expectation for functions returning
9499 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9501 * gdb.python/py-breakpoint-create-fail.c,
9502 gdb.python/py-breakpoint-create-fail.exp,
9503 gdb.python/py-breakpoint-create-fail.py: New testcase.
9505 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9508 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9509 * gdb.rust/simple.exp: Add test expectations for new NonZero
9512 2016-06-24 David Taylor <dtaylor@emc.com>
9514 * gdb.base/offsets.exp: New file.
9515 * gdb.base/offsets.c: New file.
9517 2016-06-23 Tom Tromey <tom@tromey.com>
9520 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9521 before any filters are loaded.
9523 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9525 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9526 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9528 * gdb.fortran/derived-type-function.exp: New file.
9529 * gdb.fortran/derived-type-function.f90: New file.
9532 2016-06-21 Pedro Alves <palves@redhat.com>
9534 * gdb.base/new-ui.exp: New file.
9535 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9536 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9537 (with_spawn_id): New procedure.
9539 2016-06-21 Pedro Alves <palves@redhat.com>
9541 * gdb.mi/mi-exec-run.exp: New file.
9543 2016-06-21 Pedro Alves <palves@redhat.com>
9545 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9546 breakpoint command's output on the main UI.
9547 (test_break): New procedure, factored out from calls in the top
9549 (top level): Use foreach_with_prefix to test MI as main UI and as
9552 2016-06-21 Pedro Alves <palves@redhat.com>
9554 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9555 (test_awatch_creation_and_listing)
9556 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9557 Remove 'type' parameter.
9558 (test_watchpoint_all): New parameter mi_mode. Remove
9560 (top level): Use foreach_with_prefix, and add main/separate UI MI
9563 2016-06-21 Pedro Alves <palves@redhat.com>
9565 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9566 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9567 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9568 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9569 (gdb_main_spawn_id, mi_spawn_id): Declare and
9571 (mi_create_inferior_pty): New procedure,
9572 factored out from default_mi_gdb_start.
9573 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9575 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9576 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9577 Use mi_create_inferior_pty.
9578 (mi_gdb_start): Use eval to pass down args list.
9580 2016-06-21 Pedro Alves <palves@redhat.com>
9582 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9583 * gdb.opt/inline-cmds.exp: Add MI tests.
9585 2016-06-21 Pedro Alves <palves@redhat.com>
9587 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9589 2016-06-21 Pedro Alves <palves@redhat.com>
9591 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9592 (top level): Use it instead of mi_execute_to.
9594 2016-06-21 Pedro Alves <palves@redhat.com>
9596 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9597 (cont_handler_str): New.
9598 (signal_stop_handler): Set stop_handler_str instead of printing to
9600 (continue_handler): Set cont_handler_str instead of printing to
9602 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9603 mi_send_resuming_command. Print stop_handler_str and
9604 cont_handler_str instead of expecting the python events print
9607 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9609 * gdb.base/jit-reader.exp: New file.
9610 * gdb.base/jithost.c: New file.
9611 * gdb.base/jithost.h: New file.
9612 * gdb.base/jitreader.c : New file.
9613 * gdb.base/jit-protocol.h: New file.
9615 2016-06-17 Yao Qi <yao.qi@linaro.org>
9617 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9618 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9619 and detach-on-fork. Adjust tests.
9620 (top level): Invoke break_cond_on_syscall with combinations of
9621 syscall, follow-fork-mode and detach-on-fork.
9623 2016-06-17 Yao Qi <yao.qi@linaro.org>
9625 * gdb.base/step-over-exit.c: New.
9626 * gdb.base/step-over-exit.exp: New.
9628 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9630 * gdb.base/float.exp: Add target check for nds32*-*-*.
9631 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9633 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9635 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9636 for unsupported target features.
9637 * gdb.base/call-rt-st.exp: Likewise.
9638 * gdb.base/call-sc.exp: Likewise.
9639 * gdb.base/call-signal-resume.exp: Likewise.
9640 * gdb.base/call-strs.exp: Likewise.
9641 * gdb.base/callexit.exp: Likewise.
9642 * gdb.base/callfuncs.exp: Likewise.
9643 * gdb.base/nodebug.exp: Likewise.
9644 * gdb.base/printcmds.exp: Likewise.
9645 * gdb.base/ptype.exp: Likewise.
9646 * gdb.base/structs.exp: Likewise.
9647 * gdb.base/unwindonsignal.exp: Likewise.
9648 * gdb.cp/gdb2495.exp: Likewise.
9649 * gdb.cp/templates.exp: Likewise.
9650 * gdb.cp/virtfunc.exp: Likewise.
9651 * gdb.threads/hand-call-in-threads.exp: Likewise.
9652 * gdb.threads/interrupted-hand-call.exp: Likewise.
9653 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9655 2016-06-10 Tom Tromey <tom@tromey.com>
9658 * gdb.rust/expr.exp: Add test for integer constant larger than
9661 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9663 * gdb.fortran/nested-funcs.exp: New.
9664 * gdb.fortran/nested-funcs.f90: New.
9666 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9668 * gdb.base/examine-backward.c: New file.
9669 * gdb.base/examine-backward.exp: New file.
9671 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9673 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9676 2016-06-02 Tom Tromey <tom@tromey.com>
9679 * gdb.python/py-shared.exp: Add solib_name test.
9681 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9683 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9685 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9688 * gdb.dwarf2/implref.exp: Rename to...
9689 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9690 * gdb.dwarf2/implref-array.c: New file.
9691 * gdb.dwarf2/implref-array.exp: Likewise.
9692 * gdb.dwarf2/implref-global.c: Likewise.
9693 * gdb.dwarf2/implref-global.exp: Likewise.
9694 * gdb.dwarf2/implref-struct.c: Likewise.
9695 * gdb.dwarf2/implref-struct.exp: Likewise.
9697 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9699 * gdb.trace/trace-condition.exp: Add 64bit tests.
9701 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9703 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9705 (main): Adapt to 8 to 64 bits types.
9706 * gdb.trace/trace-condition.exp: Add new tests.
9708 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9710 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9712 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9714 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9715 Move condition tests...
9716 * gdb.trace/trace-condition.exp: Here.
9718 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9720 * gdb.trace/trace-condition.exp: Add counter-case tests.
9722 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9725 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9726 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9728 2016-05-27 Pedro Alves <palves@redhat.com>
9730 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9732 (top level): Call it, and bail out of DejaGnu is known to be bad.
9734 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9736 * gdb.base/whatis.c: Extend the test case.
9737 * gdb.base/whatis.exp: Add additional tests.
9739 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9741 * gdb.fortran/type.f90: Add pointer variable.
9742 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9744 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9746 * gdb.fortran/vla-type.exp: Fix testcase name.
9748 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9750 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9752 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9754 * gdb.fortran/type.f90: Add nested structures.
9755 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9756 * gdb.fortran/derived-type.exp: Adapt expected output.
9757 * gdb.fortran/vla-type.exp: Adapt expected output.
9759 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9761 * gdb.fortran/whatis_type.exp: Adapt expected output.
9763 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9765 * gdb.fortran/print_type.exp: Fix expected output.
9766 * gdb.fortran/whatis_type.exp: Fix expected output.
9768 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9770 * gdb.fortran/whatis_type.exp: Use multi_line.
9772 2016-05-24 Tom Tromey <tom@tromey.com>
9775 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9776 use value as an index.
9778 2016-05-23 Tom Tromey <tom@tromey.com>
9781 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9784 2016-05-24 Pedro Alves <palves@redhat.com>
9787 * gdb.threads/clone-attach-detach.c: New file.
9788 * gdb.threads/clone-attach-detach.exp: New file.
9790 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9792 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9794 2016-05-23 Tom Tromey <tom@tromey.com>
9796 PR python/19438, PR python/18393:
9797 * gdb.python/py-progspace.exp: Add "dir" test.
9798 * gdb.python/py-objfile.exp: Add "dir" test.
9800 2016-05-23 Yao Qi <yao.qi@linaro.org>
9802 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9803 * gdb.arch/thumb2-it.exp: Likewise.
9805 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9807 * gdb.mi/mi-threads-interrupt.c: New file.
9808 * gdb.mi/mi-threads-interrupt.exp: New file.
9810 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9813 * gdb.mi/mi-async-run.exp: New file.
9814 * gdb.mi/mi-async-run.c: New file.
9816 2016-05-17 Tom Tromey <tom@tromey.com>
9817 Manish Goregaokar <manishsmail@gmail.com>
9819 * lib/rust-support.exp: New file.
9820 * lib/gdb.exp (skip_rust_tests): New proc.
9821 (build_executable_from_specs): Handle rust.
9822 * lib/future.exp (gdb_find_rustc): New proc.
9823 (gdb_default_target_compile): Handle rust.
9824 * gdb.rust/expr.exp: New file.
9825 * gdb.rust/generics.exp: New file.
9826 * gdb.rust/generics.rs: New file.
9827 * gdb.rust/methods.exp: New file.
9828 * gdb.rust/methods.rs: New file.
9829 * gdb.rust/modules.exp: New file.
9830 * gdb.rust/modules.rs: New file.
9831 * gdb.rust/simple.exp: New file.
9832 * gdb.rust/simple.rs: New file.
9834 2016-05-17 Tom Tromey <tom@tromey.com>
9836 * gdb.base/default.exp (set language): Add rust.
9838 2016-05-17 Tom Tromey <tom@tromey.com>
9840 * gdb.gdb/unittest.exp: New file.
9842 2016-05-16 Yao Qi <yao.qi@linaro.org>
9844 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9845 shell_prompt. Update shell_prompt_re.
9847 2016-05-12 Doug Evans <dje@google.com>
9850 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9851 $options when building executable.
9852 * gdb.dwarf2/fission-loclists-pie.S: New file.
9853 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9855 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9857 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9858 of [is_remote target],
9860 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9862 * lib/gdb.exp (use_gdb_stub): New procedure.
9864 2016-05-03 Yunlian Jiang <yunlian@google.com>
9865 Doug Evans <dje@google.com>
9868 * gdb.dwarf2/dwp-sepdebug.c: New file.
9869 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9871 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9873 * gdb.base/detach.exp: Remove is_remote check.
9875 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9877 * gdb.base/annota-input-while-running.exp: Don't check for
9878 [is_remote target]. Enable annotations after running to main.
9879 Remove unused "set test..." line.
9881 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9883 * gdb.trace/trace-enable-disable.exp: New file.
9884 * gdb.trace/trace-enable-disable.c: New file.
9886 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9888 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9889 use it in info sharedlibrary test.
9890 * gdb.trace/ftrace-lock.exp: Likewise.
9891 * gdb.trace/ftrace.exp: Likewise.
9892 * gdb.trace/range-stepping.exp: Likewise.
9893 * gdb.trace/trace-break.exp: Likewise.
9894 * gdb.trace/trace-condition.exp: Likewise.
9895 * gdb.trace/trace-mt.exp: Likewise.
9897 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9899 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9900 (gdb_load_shlib): ... this.
9901 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9903 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9904 * gdb.base/ctxobj.exp: Likewise.
9905 * gdb.base/dprintf-pending.exp: Likewise.
9906 * gdb.base/dso2dso.exp: Likewise.
9907 * gdb.base/fixsection.exp: Likewise.
9908 * gdb.base/gcore-relro.exp: Likewise.
9909 * gdb.base/gdb1555.exp: Likewise.
9910 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9911 * gdb.base/gnu-ifunc.exp: Likewise.
9912 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9913 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9914 * gdb.base/pending.exp: Likewise.
9915 * gdb.base/print-file-var.exp: Likewise.
9916 * gdb.base/print-symbol-loading.exp: Likewise.
9917 * gdb.base/shlib-call.exp: Likewise.
9918 * gdb.base/shreloc.exp: Likewise.
9919 * gdb.base/so-impl-ld.exp: Likewise.
9920 * gdb.base/solib-disc.exp: Likewise.
9921 * gdb.base/solib-nodir.exp: Likewise.
9922 * gdb.base/solib-overlap.exp: Likewise.
9923 * gdb.base/solib-symbol.exp: Likewise.
9924 * gdb.base/solib-weak.exp (do_test): Likewise.
9925 * gdb.base/sym-file.exp: Likewise.
9926 * gdb.base/symtab-search-order.exp: Likewise.
9927 * gdb.base/type-opaque.exp: Likewise.
9928 * gdb.base/unload.exp: Likewise.
9929 * gdb.base/watchpoint-solib.exp: Likewise.
9930 * gdb.compile/compile.exp: Likewise.
9931 * gdb.cp/gdb2384.exp: Likewise.
9932 * gdb.cp/infcall-dlopen.exp: Likewise.
9933 * gdb.cp/re-set-overloaded.exp: Likewise.
9934 * gdb.fortran/library-module.exp: Likewise.
9935 * gdb.opt/solib-intra-step.exp: Likewise.
9936 * gdb.python/py-finish-breakpoint.exp: Likewise.
9937 * gdb.python/py-shared.exp: Likewise.
9938 * gdb.reverse/solib-precsave.exp: Likewise.
9939 * gdb.reverse/solib-reverse.exp: Likewise.
9940 * gdb.server/solib-list.exp: Likewise.
9941 * gdb.threads/dlopen-libpthread.exp: Likewise.
9942 * gdb.threads/tls-shared.exp: Likewise.
9943 * gdb.threads/tls-so_extern.exp: Likewise.
9944 * gdb.trace/change-loc.exp: Likewise.
9945 * gdb.trace/ftrace-lock.exp: Likewise.
9946 * gdb.trace/ftrace.exp: Likewise.
9947 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9948 * gdb.trace/pending.exp: Likewise.
9949 * gdb.trace/range-stepping.exp: Likewise.
9950 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9951 (strace_info_marker): Likewise.
9952 (strace_probe_marker): Likewise.
9953 (strace_trace_on_same_addr): Likewise.
9954 (strace_trace_on_diff_addr): Likewise.
9955 * gdb.trace/trace-break.exp: Likewise.
9956 * gdb.trace/trace-condition.exp: Likewise.
9957 * gdb.trace/trace-mt.exp: Likewise.
9959 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9961 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9962 result of gdb_remote_download.
9963 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9964 * gdb.base/dso2dso.exp: Likewise.
9965 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9966 * gdb.base/print-file-var.exp: Likewise.
9967 * gdb.base/shlib-call.exp: Likewise.
9968 * gdb.base/shreloc.exp: Likewise.
9969 * gdb.base/solib-overlap.exp: Likewise.
9970 * gdb.base/solib-weak.exp (do_test): Likewise.
9971 * gdb.base/unload.exp: Likewise.
9973 2016-04-27 Yao Qi <yao.qi@linaro.org>
9975 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9978 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9980 * vla-type.exp: Print structure from toplevel.
9982 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9984 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9986 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9989 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9991 * gdb.fortran/vla-type.f90: New file.
9992 * gdb.fortran/vla-type.exp: New file.
9994 2016-04-25 Yao Qi <yao.qi@linaro.org>
9996 * gdb.base/branch-to-self.c: New file.
9997 * gdb.base/branch-to-self.exp: New file.
9999 2016-04-22 Yao Qi <yao.qi@linaro.org>
10001 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10004 2016-04-22 Yao Qi <yao.qi@linaro.org>
10006 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10007 * gdb.base/annota3.exp: Likewise.
10009 2016-04-22 Yao Qi <yao.qi@linaro.org>
10011 * gdb.reverse/step-precsave.exp: Do one step and test program
10012 stops in "callee" and do multiple steps until program goes out
10014 * gdb.reverse/step-reverse.exp: Likewise.
10016 2016-04-22 Yao Qi <yao.qi@linaro.org>
10018 * gdb.trace/signal.exp: Also pass if
10019 $tracepoint_hits($i) > $iterations.
10021 2016-04-22 Yao Qi <yao.qi@linaro.org>
10023 * gdb.trace/signal.c: New file.
10024 * gdb.trace/signal.exp: New file.
10026 2016-04-19 Doug Evans <xdje42@gmail.com>
10028 * gdb.base/bad-file.exp: New file.
10030 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10032 * gdb.dwarf2/implref.exp: New file.
10034 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10036 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10037 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10038 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10039 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10040 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10041 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10042 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10043 * lib/fortran.exp (fortran_int4): New procedure.
10044 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10045 (fortran_logical4): Likewise.
10047 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10049 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10051 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10053 * lib/compiler.c: Add Intel specific preprocessor macros.
10054 * lib/compiler.cc: Likewise.
10056 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10058 * gdb.server/connect-with-no-symbol-file.c: New file.
10059 * gdb.server/connect-with-no-symbol-file.exp: New file.
10061 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10063 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10065 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10067 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10068 standard output directory.
10070 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10072 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10074 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10076 * gdb.btrace/instruction_history.c (loop): Add declaration.
10078 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10080 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10082 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10084 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10085 parentheses to print.
10086 (continue_handler): Likewise.
10088 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10090 * gdb.server/solib-list.exp: Remove is_remote check.
10091 Pass shlib= to gdb_compile. Don't link shared library with
10092 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10093 Run binary filename through "readlink -f" on the target.
10095 2016-04-08 Pedro Alves <palves@redhat.com>
10097 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10098 interpreter filename as argument to gdbserver_spawn.
10099 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10100 Return empty if $last_loaded_file does not exist.
10102 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10104 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10105 * gdb.base/jit-main.c: Use exit after usage.
10107 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10109 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10110 GDBHISTSIZE prior to the tests.
10111 * gdb.base/gdbinit-history.exp: Likewise.
10113 2016-04-07 Pedro Alves <palves@redhat.com>
10115 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10116 instead of build_executable. Use gdb_load_shlibs.
10118 2016-04-07 Yao Qi <yao.qi@linaro.org>
10120 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10121 Execute "si" command.
10123 2016-04-07 Yao Qi <yao.qi@linaro.org>
10125 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10126 number instead of the comments on some line.
10128 2016-04-06 Don Breazeal <donb@codesourcery.com>
10130 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10131 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10133 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10135 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10136 standard_output_file. Remove unused binfile variable.
10138 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10140 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10141 * gdb.python/py-mi-objfile.exp: Match "list main" output
10144 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10146 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10149 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10151 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10153 * gdb.trace/ftrace.exp: Likewise.
10154 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10156 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10157 (gdb_load_shlibs): Copy libraries to test directory when testing
10158 natively. Only set solib-search-path if testing remotely.
10159 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10161 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10163 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10164 gdb_download. Use it even if the target is not remote.
10165 * gdb.base/jit.exp (compile_jit_test): Likewise.
10166 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10167 output directory if the destination board is local, otherwise use
10168 the standard remote_download from DejaGnu.
10169 (gdb_download): Remove.
10170 (gdb_load_shlibs): Use gdb_remote_download instead of
10172 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10173 Use gdb_remote_download instead of gdb_download. Use it even if
10174 the target is not remote.
10175 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10176 instead of gdb_download.
10178 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10180 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10181 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10184 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10187 * gdb.base/printcmds.exp: Add artificial arrays tests.
10189 2016-03-31 Pedro Alves <palves@redhat.com>
10192 * gdb.base/jit-main.c: Include unistd.h.
10193 (ATTACH): Define to 0 if not already defined.
10194 (wait_for_gdb, mypid): New globals.
10195 (WAIT_FOR_GDB): New macro.
10196 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10197 some breakpoint locations.
10198 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10200 (one_jit_test): Add REATTACH parameter, and handle it. Use
10201 continue_to_test_location.
10202 (top level): Test attach, and adjusts calls to one_jit_test.
10204 2016-03-31 Pedro Alves <palves@redhat.com>
10207 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10208 BINSUFFIX parameter, and handle it.
10209 (top level): Adjust calls compile_jit_test.
10211 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10214 * gdb.python/py-mi-events-gdb.py: New file.
10215 * gdb.python/py-mi-events.c: New file.
10216 * gdb.python/py-mi-events.exp: New file.
10218 2016-03-30 Yao Qi <yao.qi@linaro.org>
10220 * gdb.reverse/until-precsave.exp: Match function name only.
10221 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10222 Move malloc to a condition block.
10223 * gdb.reverse/until-reverse.exp: Match function name only.
10225 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10227 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10228 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10229 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10230 variable for GPR 0 instead of assuming it is register 0.
10231 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10232 * lib/trace-support.exp: Add s390 registers.
10234 2016-03-29 Yao Qi <yao.qi@linaro.org>
10236 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10238 2016-03-24 Yao Qi <yao.qi@linaro.org>
10240 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10243 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10245 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10246 maintaining separate logic for constructing the output path.
10248 2016-03-16 Don Breazeal <donb@codesourcery.com>
10250 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10251 Retry fork and waitpid on interrupted system call errors.
10252 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10253 Use with_timeout_factor to increase timeout by factor of 10.
10255 2016-03-15 Don Breazeal <donb@codesourcery.com>
10257 * gdb.cp/scope-err.cc: New test program.
10258 * gdb.cp/scope-err.exp: New test script.
10259 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10260 lines and "set breakpoint here" comment.
10261 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10262 Fixed some whitespace and format issues.
10263 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10264 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10266 2016-03-15 Doug Evans <dje@google.com>
10268 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10269 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10270 All callers updated. Add tests for enums, mixed flags register.
10272 2016-03-15 Doug Evans <dje@google.com>
10274 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10275 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10277 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10279 * gdb.base/default.exp: Add $_as_string to the list of expected
10280 convenience functions.
10282 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10284 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10286 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10288 * gdb.python/py-as-string.exp: New file.
10289 * gdb.python/py-as-string.c: New file.
10291 2016-03-09 Pedro Alves <palves@redhat.com>
10293 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10294 signal" -> "Thread NN received signal" output change.
10295 * gdb.threads/ia64-sigill.exp: Likewise.
10296 * gdb.threads/linux-dp.exp: Likewise.
10297 * gdb.threads/manythreads.exp: Likewise.
10298 * gdb.threads/pending-step.exp: Likewise.
10299 * gdb.threads/print-threads.exp: Likewise.
10300 * gdb.threads/sigstep-threads.exp: Likewise.
10301 * gdb.threads/staticthreads.exp: Likewise.
10302 * gdb.threads/tls.exp: Likewise.
10304 2016-03-09 Pedro Alves <palves@redhat.com>
10306 * gdb.base/command-line-input.exp: New file.
10308 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10310 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10311 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10312 * gdb.trace/pending.exp: Accept leading dot before function name.
10313 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10314 * lib/trace-support.exp: Set registers for ppc.
10316 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10318 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10319 use it for disassembly; accept .main in addition to main in backtrace.
10321 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10322 Marcin Kościelnicki <koriakin@0x04.net>
10324 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10325 (gdb_recursion_test_ptr): New global variable.
10326 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10327 gdb_recursion_test.
10328 (gdb_c_test): Ditto.
10330 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10332 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10335 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10337 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10338 (bar): Add bar_start_lbl label.
10339 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10340 of foo/bar for emitting DWARF and tracing.
10342 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10344 * analyze-racy-logs.py: Set executable bit.
10346 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10348 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10349 (CHECK_TARGET_TMP): Likewise.
10350 (check-single-racy): New rule.
10351 (check-parallel-racy): Likewise.
10352 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10353 (do-check-parallel-racy): New rule.
10354 (check-racy/%.exp): Likewise.
10355 * README (Racy testcases): New section.
10356 * analyze-racy-logs.py: New file.
10358 2016-03-03 Doug Evans <dje@google.com>
10360 * gdb.base/skip.exp: Use with_test_prefix.
10362 2016-03-03 Yao Qi <yao.qi@linaro.org>
10364 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10365 Invoke step_over_syscall "clone" and break_cond_on_syscall
10367 * gdb.base/step-over-clone.c: New file.
10369 2016-03-03 Yao Qi <yao.qi@linaro.org>
10371 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10374 2016-03-03 Yao Qi <yao.qi@linaro.org>
10376 * gdb.base/disp-step-fork.c: Rename to ...
10377 * gdb.base/step-over-fork.c: ... it. New file.
10378 * gdb.base/disp-step-vfork.c: Rename to ...
10379 * gdb.base/step-over-vfork.c: ... it. New file.
10380 * gdb.base/disp-step-syscall.exp: Rename to ...
10381 * gdb.base/step-over-syscall.exp: ... it. New file.
10382 (disp_step_cross_syscall): Rename to ...
10383 (step_over_syscall): ... it.
10385 2016-03-03 Yao Qi <yao.qi@linaro.org>
10387 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10388 If target supports condition evaluation on target, invoke
10389 break_cond_on_syscall for fork and vfork.
10391 2016-03-03 Yao Qi <yao.qi@linaro.org>
10393 * gdb.base/disp-step-syscall.exp: Don't invoke
10394 support_displaced_stepping.
10395 (disp_step_cross_syscall): Test with displaced stepping off and
10398 2016-03-03 Yao Qi <yao.qi@linaro.org>
10400 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10403 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10406 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10408 * gdb.fortran/vla-history.exp: Remove breakpoint.
10410 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10412 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10415 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10417 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10420 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10422 * gdb.mi/vla.f90: Nullify pointer after declaration.
10424 2016-03-01 Pedro Alves <palves@redhat.com>
10426 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10428 2016-03-01 Pedro Alves <palves@redhat.com>
10430 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10431 before anything else.
10432 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10434 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10435 before anything else.
10436 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10438 2016-03-01 Pedro Alves <palves@redhat.com>
10440 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10442 2016-03-01 Yao Qi <yao.qi@linaro.org>
10444 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10445 prepare_for_testing.
10447 2016-03-01 Yao Qi <yao.qi@linaro.org>
10449 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10451 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10453 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10454 manually constructing the output path.
10456 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10458 * gdb.arch/s390-stackless.S: New.
10459 * gdb.arch/s390-stackless.exp: New.
10461 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10463 * gdb.dlang/circular.c: New file.
10464 * gdb.dlang/circular.exp: New file.
10466 2016-02-26 Yao Qi <yao.qi@linaro.org>
10468 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10469 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10470 (testcases): Update.
10472 2016-02-26 Yao Qi <yao.qi@linaro.org>
10474 * gdb.reverse/aarch64.c: Rename to ...
10475 * gdb.reverse/insn-reverse.c: ... it.
10476 * gdb.reverse/aarch64.exp: Rename to ...
10477 * gdb.reverse/insn-reverse.exp: ... it.
10479 2016-02-26 Yao Qi <yao.qi@linaro.org>
10481 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10482 (testcase_ftype): New.
10483 (testcases): New array.
10484 (n_testcases): New.
10485 (main): Call each element in testcases.
10486 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10487 (read_testcase): New.
10488 Do the tests in a loop.
10490 2016-02-25 Yao Qi <yao.qi@linaro.org>
10492 * gdb.base/branches.c: Remove.
10494 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10497 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10499 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10501 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10503 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10505 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10506 change x86_64 call_insn to 'callq'.
10508 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10510 * gdb.trace/tfile-avx.c: Move to...
10511 * gdb.trace/tracefile-pseudo-reg.c: Here.
10512 * gdb.trace/tfile-avx.exp: Move to...
10513 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10515 2016-02-24 Gary Benson <gbenson@redhat.com>
10517 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10520 2016-02-23 Doug Evans <dje@google.com>
10522 * gdb.base/skip.c (test_skip): New function.
10523 (end_test_skip_file_and_function): New function.
10524 (test_skip_file_and_function): New function.
10525 * gdb.base/skip1.c (test_skip): New function.
10526 (skip1_test_skip_file_and_function): New function.
10527 * gdb.base/skip.exp: Add tests for new skip options.
10528 * gdb.base/skip-solib.exp: Update expected output.
10529 * gdb.perf/skip-command.cc: New file.
10530 * gdb.perf/skip-command.exp: New file.
10531 * gdb.perf/skip-command.py: New file.
10533 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10535 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10536 info registers pattern.
10538 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10540 * lib/future.exp: Add D support.
10541 (gdb_find_gdc): New proc.
10542 (gdb_default_target_compile): Add D support.
10544 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10546 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10548 (trace_speed_test): Determine the iteration count for a time
10549 between 15..30 seconds.
10551 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10553 * gdb.arch/i386-mpx-sigsegv.c: New file.
10554 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10555 * gdb.arch/i386-mpx-simple_segv.c: New file.
10556 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10558 2016-02-18 Yao Qi <yao.qi@linaro.org>
10560 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10561 Don't call setup_kfail.
10563 2016-02-18 Yao Qi <yao.qi@linaro.org>
10565 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10566 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10568 2016-02-16 Doug Evans <dje@google.com>
10570 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10571 * gdb.base/skip1.c: Ditto.
10572 * gdb.base/skip.exp: Whitespace cleanup.
10574 2016-02-16 Don Breazeal <donb@codesourcery.com>
10577 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10578 Remove kfail for PR remote/19496.
10580 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10582 * lib/gdb.exp (standard_temp_file): Return a path specific to
10583 the runtest invocation.
10585 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10587 * gdb.trace/save-trace.exp: Change relative path to be in the
10588 standard output directory.
10590 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10592 * gdb.arch/i386-prologue.c: Add missing prototypes.
10594 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10596 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10597 * gdb.arch/i386-prologue.exp: Likewise.
10598 * gdb.arch/i386-size.exp: Likewise.
10600 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10602 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10603 define object file path.
10604 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10606 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10607 standard_output_file to define binfile.
10609 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10611 Fix compatibility with recent gfortran-5.3.1.
10612 * gdb.fortran/vla-history.exp (print vla1 allocated)
10613 (print vla2 allocated, print $2, print $3): Remove
10614 (print $4): Rename to ...
10615 (print $2): ... here.
10616 (print $9): Rename to ...
10617 (print $5): ... here.
10618 (print $10): Rename to ...
10619 (print $6): ... here.
10620 * gdb.fortran/vla.f90: Add pvla initialization.
10622 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10624 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10626 * gdb.fortran/vla-value-sub.exp: Likewise.
10628 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10630 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10632 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10634 * i386-biarch-core.exp: Define corefile using
10635 standard_output_file.
10637 2016-02-12 Yao Qi <yao.qi@linaro.org>
10639 * gdb.arch/arm-single-step-kernel-helper.c: New.
10640 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10642 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10644 * gdb.btrace/tailcall-only.exp: New.
10645 * gdb.btrace/tailcall-only.c: New.
10646 * gdb.btrace/x86_64-tailcall-only.S: New.
10647 * gdb.btrace/i686-tailcall-only.S: New.
10649 2016-02-11 Pedro Alves <palves@redhat.com>
10651 * README (Parallel testing): Add missing double quotes.
10653 2016-02-11 Pedro Alves <palves@redhat.com>
10655 * README (Parallel testing): New section.
10656 (GDB_PARALLEL): Rewrite.
10657 (FORCE_PARALLEL): Document.
10659 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10661 * gdb.trace/tfile-avx.c: New test.
10662 * gdb.trace/tfile-avx.exp: New test.
10664 2016-02-09 Keith Seitz <keiths@redhat.com>
10666 PR breakpoints/19546
10667 * gdb.base/infcall-exec.c: New file.
10668 * gdb.base/infcall-exec2.c: New file.
10669 * gdb.base/infcall-exec.exp: New file.
10671 2016-02-09 Keith Seitz <keiths@redhat.com>
10673 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10674 (toplevel): Call test_bkpt_address.
10676 2016-02-09 Keith Seitz <keiths@redhat.com>
10679 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10680 (toplevel): Call test_bkpt_address.
10682 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10684 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10686 * configure: Regenerate.
10688 2016-02-09 Pedro Alves <palves@redhat.com>
10690 PR breakpoints/19548
10691 * gdb.base/execl-update-breakpoints.c (some_function): New
10694 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10695 Tighten expected GDB output.
10697 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10699 * Makefile.in (ALL_SUBDIRS): Remove.
10700 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10701 (distclean maintainer-clean realclean): Likewise.
10702 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10703 * configure: Regenerate.
10704 * gdb.ada/Makefile.in: Delete.
10705 * gdb.arch/Makefile.in: Likewise.
10706 * gdb.asm/Makefile.in: Likewise.
10707 * gdb.base/Makefile.in: Likewise.
10708 * gdb.btrace/Makefile.in: Likewise.
10709 * gdb.cell/Makefile.in: Likewise.
10710 * gdb.compile/Makefile.in: Likewise.
10711 * gdb.cp/Makefile.in: Likewise.
10712 * gdb.disasm/Makefile.in: Likewise.
10713 * gdb.dlang/Makefile.in: Likewise.
10714 * gdb.dwarf2/Makefile.in: Likewise.
10715 * gdb.fortran/Makefile.in: Likewise.
10716 * gdb.gdb/Makefile.in: Likewise.
10717 * gdb.go/Makefile.in: Likewise.
10718 * gdb.guile/Makefile.in: Likewise.
10719 * gdb.java/Makefile.in: Likewise.
10720 * gdb.linespec/Makefile.in: Likewise.
10721 * gdb.mi/Makefile.in: Likewise.
10722 * gdb.modula2/Makefile.in: Likewise.
10723 * gdb.multi/Makefile.in: Likewise.
10724 * gdb.objc/Makefile.in: Likewise.
10725 * gdb.opencl/Makefile.in: Likewise.
10726 * gdb.opt/Makefile.in: Likewise.
10727 * gdb.pascal/Makefile.in: Likewise.
10728 * gdb.perf/Makefile.in: Likewise.
10729 * gdb.python/Makefile.in: Likewise.
10730 * gdb.reverse/Makefile.in: Likewise.
10731 * gdb.server/Makefile.in: Likewise.
10732 * gdb.stabs/Makefile.in: Likewise.
10733 * gdb.threads/Makefile.in: Likewise.
10734 * gdb.trace/Makefile.in: Likewise.
10735 * gdb.xml/Makefile.in: Likewise.
10736 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10738 (standard_output_file): Remove check for GDB_PARALLEL, always
10739 return path in outputs/$subdir/$testname.
10741 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10743 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10744 (site.exp): Assign abs_srcdir to tcl's srcdir.
10746 2016-02-04 Yao Qi <yao.qi@linaro.org>
10748 * gdb.base/foll-exec-mode.c: Include limits.h.
10749 (main): Add parameters argc and argv. Get directory from
10751 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10753 * gdb.base/foll-exec.c: Include limits.h.
10754 (main): Add parameters argc and argv.
10755 Get directory from argv[0].
10756 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10757 Adjust tests on the number of lines as source code changed.
10758 * gdb.base/foll-vfork-exit.c: Include limits.h.
10759 (main): Add one line of statement before vfork.
10760 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10761 (main): Add parameters argc and argv. Get directory from
10763 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10764 (setup_gdb): Set tbreak to skip some source lines.
10765 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10766 (main): Add parameters argc and argv. Get directory from
10768 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10770 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10771 (main): Add parameters argc and argv. Get directory from
10773 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10776 2016-02-01 Doug Evans <dje@google.com>
10778 * gdb.base/skip.exp: Clean up multiple references to same test name.
10780 2016-02-01 Pedro Alves <palves@redhat.com>
10783 * gdb.threads/forking-threads-plus-breakpoint.exp
10784 (displaced_stepping_supported): New global.
10785 (probe_displaced_stepping_support): New procedure.
10786 (do_test): Add 'displaced' parameter, and use it.
10787 (top level): Check for displaced stepping support. Add displaced
10788 stepping on/off testing axis.
10790 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10792 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10793 pointer. Don't perform further tests on the unassociated pointer
10794 if the first test fails.
10796 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10798 * gdb.base/max-value-size.c: New file.
10799 * gdb.base/max-value-size.exp: New file.
10800 * gdb.base/huge.exp: Disable max-value-size for this test.
10802 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10804 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10806 2016-01-28 Yao Qi <yao.qi@linaro.org>
10808 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10810 2016-01-25 Pedro Alves <palves@redhat.com>
10813 * gdb.base/fork-running-state.c: New file.
10814 * gdb.base/fork-running-state.exp: New file.
10816 2016-01-25 Pedro Alves <palves@redhat.com>
10819 * gdb.base/catch-fork-kill.c: New file.
10820 * gdb.base/catch-fork-kill.exp: New file.
10822 2016-01-25 Pedro Alves <palves@redhat.com>
10824 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10825 Delete, moved to lib/gdb.exp.
10826 * gdb.threads/forking-threads-plus-breakpoint.exp
10827 (foreach_with_prefix): Likewise.
10828 * gdb.threads/process-dies-while-handling-bp.exp
10829 (foreach_with_prefix): Likewise.
10830 * lib/gdb.exp (foreach_with_prefix): New procedure.
10832 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10834 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10835 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10837 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10839 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10842 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10843 Pedro Alves <palves@redhat.com>
10845 Fix testsuite compatibility with Guile.
10846 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10849 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10851 Fix testsuite compatibility with Guile.
10852 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10853 (thread 1): New test for backtrace through signal handler.
10855 2016-01-22 Yao Qi <yao.qi@linaro.org>
10858 * gdb.base/multi-forks.c: Include
10859 ../lib/unbuffer_output.c
10860 (main): Call gdb_unbuffer_output.
10862 2016-01-21 Doug Evans <dje@google.com>
10864 * lib/ada.exp (gdb_compile_ada): Fix typo.
10866 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10868 * gdb.base/break-fun-addr.exp: New file.
10869 * gdb.base/break-fun-addr1.c: New file.
10870 * gdb.base/break-fun-addr2.c: New file.
10872 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10874 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10875 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10878 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10880 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10881 when GDB can not set the vector return value. Add more comments
10884 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10886 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10889 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10891 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10893 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10895 * Makefile.in (check-single): Pass --status to runtest.
10896 (check/%.exp): Likewise.
10898 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10900 * Makefile.in (check-parallel): Propagate return code from make
10903 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10905 * gdb.trace/ftrace.exp: Fix expected message on continue.
10906 * gdb.trace/pending.exp: Fix expected message on continue.
10907 * gdb.trace/trace-break.exp: Fix expected message on continue.
10909 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10911 * lib/gdb.exp (gdb_test): Remove unused global references.
10913 2016-01-18 Pedro Alves <palves@redhat.com>
10915 * gdb.base/async-shell.exp: Adjust expected output.
10916 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10917 * gdb.base/siginfo-thread.exp: Adjust expected output.
10918 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10919 * gdb.java/jnpe.exp: Adjust expected output.
10920 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10921 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10922 * gdb.threads/leader-exit.exp: Adjust expected output.
10923 * gdb.threads/manythreads.exp: Adjust expected output.
10924 * gdb.threads/pthreads.exp: Adjust expected output.
10925 * gdb.threads/schedlock.exp: Adjust expected output.
10926 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10927 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10929 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10931 * gdb.threads/sigthread.exp: Adjust expected output.
10932 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10934 2016-01-18 Yao Qi <yao.qi@linaro.org>
10936 * gdb.guile/scm-section-script.c: Replace @progbits with
10938 * gdb.python/py-section-script.c: Likewise.
10940 2016-01-15 Pedro Alves <palves@redhat.com>
10942 * gdb.multi/tids.exp: Test star wildcard ranges.
10944 2016-01-15 Pedro Alves <palves@redhat.com>
10946 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10947 command from "thread apply" invocation.
10948 (thr_apply_info_thr_invalid): Default the expected output to the
10950 (top level): Add tests that use convenience variables. Add tests
10951 for "thread apply" with a valid TID list, but missing the command.
10953 2016-01-13 Pedro Alves <palves@redhat.com>
10955 * gdb.base/default.exp: Expect $_gthread as well.
10956 * gdb.multi/tids.exp: Test $_gthread.
10957 * gdb.threads/thread-specific.exp: Test $_gthread.
10959 2016-01-13 Pedro Alves <palves@redhat.com>
10961 * gdb.multi/tids.exp: Test "info threads -gid".
10963 2016-01-13 Pedro Alves <palves@redhat.com>
10965 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10967 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10969 2016-01-07 Pedro Alves <palves@redhat.com>
10971 * gdb.base/break.exp: Adjust to output changes.
10972 * gdb.base/hbreak2.exp: Likewise.
10973 * gdb.base/sepdebug.exp: Likewise.
10974 * gdb.base/watch_thread_num.exp: Likewise.
10975 * gdb.linespec/keywords.exp: Likewise.
10976 * gdb.multi/info-threads.exp: Likewise.
10977 * gdb.threads/thread-find.exp: Likewise.
10978 * gdb.multi/tids.c: New file.
10979 * gdb.multi/tids.exp: New file.
10981 2016-01-13 Pedro Alves <palves@redhat.com>
10983 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10985 2016-01-13 Pedro Alves <palves@redhat.com>
10987 * gdb.base/default.exp: Expect $_inferior as well.
10988 * gdb.multi/base.exp: Test $_inferior.
10990 2016-01-13 Pedro Alves <palves@redhat.com>
10992 PR breakpoints/19388
10993 * gdb.base/catch-signal-siginfo-cond.c: New file.
10994 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10996 2016-01-12 Josh Stone <jistone@redhat.com>
10997 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10999 * gdb.base/catch-syscall.c (do_execve): New variable.
11000 (main): Conditionally trigger an execve.
11001 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11002 (test_catch_syscall_execve): New, check entry/return across execve.
11003 (do_syscall_tests): Call test_catch_syscall_execve.
11005 2016-01-12 Pedro Alves <palves@redhat.com>
11007 * gdb.base/random-signal.exp (do_test): New procedure, with body
11008 of testcase moved in.
11010 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11011 Pedro Alves <palves@redhat.com>
11013 * gdb.base/funcargs.exp (finish from indirectly called function):
11014 Reintroduce the case for 'First'.
11016 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11017 Pedro Alves <palves@redhat.com>
11019 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11020 (tcatch_vfork_then_child_follow_exec)
11021 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11024 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11026 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11027 and repeats to unlimited.
11028 * gdb.python/py-value.exp: Likewise.
11029 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11030 and repeats to unlimited.
11032 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11034 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11035 and reordering the functions.
11036 * gdb.multi/hangout.c: Likewise.
11037 * gdb.multi/hello.c: Likewise.
11039 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11041 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11043 (SingleStatisticTestResult.report): Use dict.keys instead of
11046 2016-01-06 Pedro Alves <palves@redhat.com>
11048 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11050 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11052 * gdb.btrace/dlopen.exp: New.
11053 * gdb.btrace/dlopen.c: New.
11054 * gdb.btrace/dlopen-dso.c: New.
11056 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11058 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11059 PATTERN argument is optional.
11061 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11063 * lib/ada.exp (target_compile_ada_from_dir): New function.
11064 (gdb_compile_ada): Reimplement avoiding the use of project files.
11065 * gdb.ada/gnat_ada.gpr: Delete.
11066 * gdb.ada/cond_lang.exp: Adjust test to make path before
11068 * gdb.ada/small_reg_param.exp: Likewise.
11070 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11072 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11074 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11076 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11079 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11081 * gdb.base/break.exp: Remove dead code.
11082 * gdb.base/sepdebug.exp: Likewise.
11084 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11086 * gdb.asm/asm-source.exp: Remove HP-UX references.
11087 * gdb.base/annota1.exp: Likewise.
11088 * gdb.base/annota3.exp: Likewise.
11089 * gdb.base/attach.exp: Likewise.
11090 * gdb.base/bigcore.exp: Likewise.
11091 * gdb.base/break.exp: Likewise.
11092 * gdb.base/call-ar-st.exp: Likewise.
11093 * gdb.base/callfuncs.exp: Likewise.
11094 * gdb.base/catch-fork-static.exp: Likewise.
11095 * gdb.base/display.exp: Likewise.
11096 * gdb.base/foll-exec-mode.exp: Likewise.
11097 * gdb.base/foll-exec.exp: Likewise.
11098 * gdb.base/foll-fork.exp: Likewise.
11099 * gdb.base/foll-vfork.exp: Likewise.
11100 * gdb.base/funcargs.exp: Likewise.
11101 * gdb.base/hbreak2.exp: Likewise.
11102 * gdb.base/inferior-died.exp: Likewise.
11103 * gdb.base/interrupt.exp: Likewise.
11104 * gdb.base/multi-forks.exp: Likewise.
11105 * gdb.base/nodebug.exp: Likewise.
11106 * gdb.base/sepdebug.exp: Likewise.
11107 * gdb.base/solib1.c: Likewise.
11108 * gdb.base/step-test.exp: Likewise.
11109 * gdb.mi/non-stop.c: Likewise.
11110 * gdb.mi/pthreads.c: Likewise.
11111 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11112 * gdb.threads/pthreads.c: Likewise.
11113 * gdb.threads/staticthreads.exp: Likewise.
11114 * lib/future.exp: Likewise.
11115 * lib/gdb.exp: Likewise.
11116 * gdb.base/so-indr-cl.c: Remove.
11117 * gdb.base/so-indr-cl.exp: Likewise.
11118 * gdb.base/solib.c: Likewise.
11119 * gdb.base/solib.exp: Likewise.
11120 * gdb.base/solib2.c: Likewise.
11122 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11124 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11125 * gdb.base/call-ar-st.exp: Likewise.
11126 * gdb.base/callfuncs.exp: Likewise.
11127 * gdb.base/condbreak.exp: Likewise.
11128 * gdb.base/constvars.exp: Likewise.
11129 * gdb.base/hbreak2.exp: Likewise.
11130 * gdb.base/langs.exp: Likewise.
11131 * gdb.base/list.exp: Likewise.
11132 * gdb.base/long_long.exp: Likewise.
11133 * gdb.base/ptype.exp: Likewise.
11134 * gdb.base/scope.exp: Likewise.
11135 * gdb.base/signals.exp: Likewise.
11136 * gdb.base/so-impl-ld.exp: Likewise.
11137 * gdb.base/varargs.exp: Likewise.
11138 * gdb.base/volatile.exp: Likewise.
11139 * gdb.base/whatis.exp: Likewise.
11140 * gdb.cp/cplusfuncs.exp: Likewise.
11141 * gdb.cp/inherit.exp: Likewise.
11142 * gdb.cp/local.exp: Likewise.
11143 * gdb.cp/member-ptr.exp: Likewise.
11144 * gdb.cp/method.exp: Likewise.
11145 * gdb.cp/overload.exp: Likewise.
11146 * gdb.cp/templates.exp: Likewise.
11147 * gdb.stabs/weird.exp: Likewise.
11148 * lib/compiler.c: Likewise.
11149 * lib/compiler.cc: Likewise.
11150 * lib/cp-support.exp: Likewise.
11151 * lib/gdb.exp: Likewise.
11153 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11155 * configure.ac: Remove HP-UX case.
11156 * configure: Regenerate.
11158 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11160 * lib/gdb.exp (gdb_compile): Add function doc.
11162 2015-12-17 Pedro Alves <palves@redhat.com>
11165 * gdb.multi/info-threads.exp: New file.
11167 2015-12-15 Yao Qi <yao.qi@linaro.org>
11169 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11172 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11174 * gdb.base/history-duplicates.exp: Skip if no readline support.
11176 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11178 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11180 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11182 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11184 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11186 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11187 ctrl-C if nointerrupts target property is set.
11188 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11189 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11190 * gdb.base/paginate-bg-execution.exp: Likewise.
11191 * gdb.base/paginate-execution-startup.exp: Likewise.
11192 * gdb.base/random-signal.exp: Likewise.
11193 * gdb.base/range-stepping.exp: Likewise.
11194 * gdb.cp/annota2.exp: Likewise.
11195 * gdb.cp/annota3.exp: Likewise.
11196 * gdb.gdb/selftest.exp: Likewise.
11197 * gdb.threads/continue-pending-status.exp: Likewise.
11198 * gdb.threads/leader-exit.exp: Likewise.
11199 * gdb.threads/manythreads.exp: Likewise.
11200 * gdb.threads/pthreads.exp: Likewise.
11201 * gdb.threads/schedlock.exp: Likewise.
11202 * gdb.threads/sigthread.exp: Likewise.
11204 2015-12-11 Don Breazeal <donb@codesourcery.com>
11206 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11208 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11209 * gdb.base/foll-exec.exp (main): Enable for target remote.
11210 * gdb.base/foll-fork.exp (main): Likewise.
11211 * gdb.base/foll-vfork.exp (main): Likewise.
11212 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11213 (proc continue_to_exit_bp_loc): Use clean_restart.
11214 * gdb.base/pie-execl.exp (main): Disable for target remote.
11215 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11216 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11217 * gdb.threads/execl.exp (main): Likewise.
11218 * gdb.threads/fork-child-threads.exp (main): Likewise.
11219 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11221 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11223 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11224 pid.tid style ptids, instead of just tid.
11225 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11226 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11227 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11228 ptids, instead of just tid.
11230 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11232 * gdb.base/list.exp (test_list_forward): Add end of file error
11234 (test_repeat_list_command): Add end of file error test.
11235 (test_list_backwards): Add beginning of file error test.
11237 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11239 * gdb.base/list.exp (test_list_invalid_args): New function,
11240 defined, and called.
11242 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11244 * gdb.base/list.exp (test_list): Make test names unique.
11246 2015-12-11 Yao Qi <yao.qi@linaro.org>
11248 * gdb.base/coremaker2.c: Remove.
11250 2015-12-10 Pedro Alves <palves@redhat.com>
11252 * gdb.multi/base.exp: Remove stale "spaces" references.
11254 2015-12-10 Pedro Alves <palves@redhat.com>
11256 * gdb.multi/base.exp: Don't use nowarnings.
11257 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11258 * gdb.multi/hangout.c: Include stdio.h.
11259 * gdb.multi/hello.c: Include stdlib.h.
11260 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11261 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11262 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11264 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11266 * gdb.dwarf2/dw2-ranges-base.c: New file.
11267 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11268 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11269 support additional line table, and debug ranges generation.
11270 (Dwarf::ranges): New function, generate .debug_ranges.
11271 (Dwarf::lines): Support generating simple line table programs.
11272 (Dwarf::assemble): Initialise new namespace variables.
11274 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11276 * gdb.base/async.exp (proc test_background): Add case for
11277 asynchronous execution not supported.
11279 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11281 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11282 format and change test names to make them unique.
11284 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11285 Pedro Alves <pedro@redhat.com>
11288 Add checking of floatformats setup on x86_64 hosts.
11289 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11290 (smallval, bigval): New labels/constants.
11291 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11292 float" after loading bigval and smallval.
11294 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11296 * gdb.ada/fun_overload_menu.exp: New testcase.
11297 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11299 2015-12-04 Josh Stone <jistone@redhat.com>
11301 * gdb.base/catch-fork-static.exp: New.
11303 2015-12-03 Yao Qi <yao.qi@linaro.org>
11305 * gdb.base/sizeof.c: Don't include stdio.h and
11306 ../lib/unbuffer_output.c.
11307 (main): New variable 'size' and 'value'. Remove printf and
11308 gdb_unbuffer_output. Assign return value to size and value.
11309 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11311 (check_sizeof): Check the result by printing variable 'size'.
11312 (check_valueof): Check the result by printing variable 'value'.
11314 2015-12-01 Yao Qi <yao.qi@linaro.org>
11316 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11317 for aarch64*-*-linux* target.
11319 2015-11-30 Pedro Alves <palves@redhat.com>
11321 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11323 2015-11-30 Pedro Alves <palves@redhat.com>
11325 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11326 Handle non-stop mode vCont replies.
11328 2015-11-30 Pedro Alves <palves@redhat.com>
11330 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11331 prepare_for_testing. Start gdb with "set non-stop on" appended to
11332 GDBFLAGS. Lax expected stop output.
11334 2015-11-27 Yao Qi <yao.qi@linaro.org>
11336 * gdb.arch/arm-neon.exp: New.
11337 * gdb.arch/arm-neon.c: New.
11339 2015-11-27 Yao Qi <yao.qi@linaro.org>
11341 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11343 2015-11-27 Yao Qi <yao.qi@linaro.org>
11345 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11346 frames-invalid annotation.
11348 2015-11-27 Yao Qi <yao.qi@linaro.org>
11350 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11352 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11354 * gdb.threads/names.exp: New file.
11355 * gdb.threads/names.c: New file.
11356 * README: Mention gdb,no_thread_names.
11358 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11361 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11364 2015-11-24 Pedro Alves <palves@redhat.com>
11367 * gdb.base/display.exp: Expect displays to be sorted in ascending
11368 order. Use multi_line.
11369 * gdb.base/solib-display.exp: Likewise.
11371 2015-11-24 Pedro Alves <palves@redhat.com>
11374 * gdb.base/display.exp: Expect displays to be sorted in ascending
11375 order. Use multi_line.
11376 * gdb.base/solib-display.exp: Likewise.
11378 2015-11-24 Pedro Alves <palves@redhat.com>
11381 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11382 threads in ascending order.
11383 * gdb.base/foll-fork.exp: Likewise.
11384 * gdb.base/foll-vfork.exp: Likewise.
11385 * gdb.base/multi-forks.exp: Likewise.
11386 * gdb.mi/mi-nonstop.exp: Likewise.
11387 * gdb.mi/mi-nsintrall.exp: Likewise.
11388 * gdb.multi/base.exp: Likewise.
11389 * gdb.multi/multi-arch.exp: Likewise.
11390 * gdb.python/py-inferior.exp: Likewise.
11391 * gdb.threads/break-while-running.exp: Likewise.
11392 * gdb.threads/execl.exp: Likewise.
11393 * gdb.threads/gcore-thread.exp: Likewise.
11394 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11395 * gdb.threads/kill.exp: Likewise.
11396 * gdb.threads/linux-dp.exp: Likewise.
11397 * gdb.threads/multiple-step-overs.exp: Likewise.
11398 * gdb.threads/next-bp-other-thread.exp: Likewise.
11399 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11400 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11401 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11402 * gdb.threads/thread-find.exp: Likewise.
11403 * gdb.threads/tls.exp: Likewise.
11404 * lib/mi-support.exp (mi_reverse_list): Delete.
11405 (mi_check_thread_states): No longer reverse list.
11407 2015-11-24 Pedro Alves <palves@redhat.com>
11409 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11412 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11414 * gdb.trace/actions.c: Include trace-common.h.
11415 (main): Add a location for a fast tracepoint.
11416 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11417 the normal tracepoints.
11418 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11420 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11422 * save-trace.exp: Factor out code to these...
11423 (gdb_save_tracepoints): New.
11424 (gdb_load_tracepoints): New.
11425 (do_save_load_test): New.
11427 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11429 * gdb.base/asmlabel.exp: New test.
11430 * gdb.base/asmlabel.c: New test case.
11432 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11434 * gdb.base/wrong_frame_bt_full-main.c: New file.
11435 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11436 * gdb.base/wrong_frame_bt_full.exp: New file.
11438 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11440 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11442 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11444 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11445 pstate register when comparing registers values in
11446 sparc64-*-linux-gnu targets to avoid spurious differences.
11448 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11450 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11452 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11454 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11455 as type argument to gdb_compile.
11456 * gdb.base/nested-subp2.exp: Likewise.
11457 * gdb.base/nested-subp3.exp: Likewise.
11459 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11461 * lib/dwarf.exp (_note): Fix left shift of negative value.
11462 * gdb.trace/trace-condition.exp: Likewise.
11464 2015-11-13 Yao Qi <yao.qi@linaro.org>
11466 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11467 comments about d10v.
11468 (test_scalar_returns): Likewise.
11469 * gdb.base/d10v.ld: Remove.
11470 * gdb.base/overlays.exp: Remove the target triplet checking for
11472 * gdb.base/structs.exp (test_struct_returns): Remove the
11473 comments about d10v.
11474 (test_struct_calls): Likewise.
11476 2015-11-13 Yao Qi <yao.qi@linaro.org>
11478 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11479 * gdb.base/gnu_vector.c: Don't include stdio.h.
11480 (main): Don't print res and call add_some_intvecs.
11482 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11484 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11487 (func4): Use FAST_TRACEPOINT_LABEL.
11488 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11491 (thread_function): Use FAST_TRACEPOINT_LABEL.
11492 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11494 (marker): Use FAST_TRACEPOINT_LABEL.
11495 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11496 (pendfunc1): Remove.
11497 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11498 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11500 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11501 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11504 (marker): Use FAST_TRACEPOINT_LABEL.
11505 * gdb.trace/trace-common.h: New header.
11506 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11509 (marker): Use FAST_TRACEPOINT_LABEL.
11510 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11512 (thread_function): Use FAST_TRACEPOINT_LABEL.
11514 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11516 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11518 * gdb.trace/change-loc.exp: Use global pcreg definition.
11519 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11520 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11522 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11523 * gdb.trace/pending.exp: Likewise.
11524 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11525 * gdb.trace/trace-break.exp: Likewise.
11526 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11528 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11529 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11531 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11533 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11535 * gdb.ada/fin_fun_out: New testcase.
11537 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11539 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11540 value associated with DW_AT_byte_size.
11541 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11542 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11545 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11547 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11548 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11550 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11551 gdb.dwarf2/dw2-canonicalize-type.exp,
11552 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11553 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11554 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11555 provided by gdb_target_symbol_prefix_flags_asm.
11556 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11557 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11558 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11559 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11560 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11561 macros where needed). Use this macro for symbols which require
11562 the prefix provided by SYMBOL_PREFIX.
11564 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11566 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11568 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11569 representing expressions, of more than one list element.
11570 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11571 to prepend linker symbol prefix to f.
11572 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11573 table_1 and table_2.
11574 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11575 Likewise, for f and g.
11576 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11578 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11580 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11581 table_1_ptr and table_2_ptr.
11583 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11584 Joel Brobecker <brobecker@adacore.com>
11586 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11588 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11590 * gdb.reverse/s390-mvcle.c: New test.
11591 * gdb.reverse/s390-mvcle.exp: New file.
11592 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11594 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11596 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11598 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11600 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11602 * gdb.reverse/getresuid-reverse.exp: Likewise.
11603 * gdb.reverse/pipe-reverse.exp: Likewise.
11604 * gdb.reverse/readv-reverse.exp: Likewise.
11605 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11606 * gdb.reverse/time-reverse.exp: Likewise.
11607 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11609 2015-10-30 Yao Qi <yao.qi@linaro.org>
11611 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11612 (empty_cycle): Remove.
11613 (main): Don't call empty_cycle. Don't use watch_count_done.
11614 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11615 empty_cycle. Rewrite the code counting HW watchpoints.
11617 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11619 * gdb.reverse/fstatat-reverse.c: New test.
11620 * gdb.reverse/fstatat-reverse.exp: New file.
11621 * gdb.reverse/getresuid-reverse.c: New test.
11622 * gdb.reverse/getresuid-reverse.exp: New file.
11623 * gdb.reverse/pipe-reverse.c: New test.
11624 * gdb.reverse/pipe-reverse.exp: New file.
11625 * gdb.reverse/readv-reverse.c: New test.
11626 * gdb.reverse/readv-reverse.exp: New file.
11627 * gdb.reverse/recvmsg-reverse.c: New test.
11628 * gdb.reverse/recvmsg-reverse.exp: New file.
11629 * gdb.reverse/time-reverse.c: New test.
11630 * gdb.reverse/time-reverse.exp: New file.
11631 * gdb.reverse/waitpid-reverse.c: New test.
11632 * gdb.reverse/waitpid-reverse.exp: New file.
11634 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11636 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11638 2015-10-26 Doug Evans <dje@google.com>
11641 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11642 * gdb.dwarf2/bad-regnum.c: New file.
11643 * gdb.dwarf2/bad-regnum.exp: New file.
11645 2015-10-26 Doug Evans <dje@google.com>
11648 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11651 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11653 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11654 for a change by "Mention language in compile error message".
11656 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11659 * gdb.python/py-type.c (C::a_method): New.
11660 (C::a_const_method): New.
11661 (C::a_static_method): New.
11663 * gdb.python/py-type.exp (test_fields): Test getting fields
11664 from function and method.
11666 2015-10-21 Keven Boell <keven.boell@intel.com>
11668 * gdb.fortran/vla-alloc-assoc.exp: New file.
11669 * gdb.fortran/vla-datatypes.exp: New file.
11670 * gdb.fortran/vla-datatypes.f90: New file.
11671 * gdb.fortran/vla-history.exp: New file.
11672 * gdb.fortran/vla-ptype-sub.exp: New file.
11673 * gdb.fortran/vla-ptype.exp: New file.
11674 * gdb.fortran/vla-sizeof.exp: New file.
11675 * gdb.fortran/vla-sub.f90: New file.
11676 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11677 * gdb.fortran/vla-value-sub-finish.exp: New file.
11678 * gdb.fortran/vla-value-sub.exp: New file.
11679 * gdb.fortran/vla-value.exp: New file.
11680 * gdb.fortran/vla-ptr-info.exp: New file.
11681 * gdb.mi/mi-vla-fortran.exp: New file.
11682 * gdb.mi/vla.f90: New file.
11684 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11686 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11687 of hardwired timeout value.
11689 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11690 Pedro Alves <palves@redhat.com>
11692 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11693 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11695 2015-10-19 Josh Stone <jistone@redhat.com>
11697 * gdb.base/catch-syscall.c: Include <sched.h>.
11698 (unknown_syscall): New variable.
11699 (main): Trigger a vfork and an unknown syscall.
11700 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11701 (unknown_syscall_number): Likewise.
11702 (check_call_to_syscall): Accept an optional syscall pattern.
11703 (check_return_from_syscall): Likewise.
11704 (check_continue): Likewise.
11705 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11706 (test_catch_syscall_skipping_return): New test toggling off 'catch
11707 syscall' to step over the syscall return, then toggling back on.
11708 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11709 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11710 (do_syscall_tests): Call test_catch_syscall_without_args and
11711 test_catch_syscall_mid_vfork.
11712 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11713 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11715 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11717 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11718 print g_vE): Add new pass patterns.
11719 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11720 print various symbol names for vptr fields.
11722 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11724 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11727 2015-10-12 Yao Qi <yao.qi@linaro.org>
11729 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11731 2015-10-12 Yao Qi <yao.qi@linaro.org>
11733 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11734 is aarch64*-*-linux*.
11736 2015-10-12 Yao Qi <yao.qi@linaro.org>
11738 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11739 (can_relocate_bcond_true): ... it.
11740 (can_relocate_bcond_false): New function.
11742 (can_relocate_bl): Likewise.
11743 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11746 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11748 * gdb.base/nested-addr.c: New file.
11749 * gdb.base/nested-addr.exp: New testcase.
11751 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11753 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11754 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11755 its output. Ignore the output of "record goto begin" and instead
11756 check that GDB is replaying.
11758 2015-10-09 Pedro Alves <palves@redhat.com>
11760 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11761 (top level): Use it in the run with no args test.
11763 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11765 * gdb.dlang/properties.exp: New file.
11767 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11769 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11770 whether or not address 0x1000 is mapped on the target.
11772 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11774 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11777 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11779 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11780 instruction-history test.
11782 2015-09-28 Doug Evans <dje@google.com>
11784 * gdb.base/gcore.c (array_func): Add reference to static_array.
11786 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11788 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11791 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11793 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11794 short or char as base type.
11796 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11798 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11799 to allow any size enum.
11801 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11803 * gdb.ada/array_ptr_renaming.exp: New testcase.
11804 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11805 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11807 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11809 * gdb.trace/ftrace-lock.c: New file.
11810 * gdb.trace/ftrace-lock.exp: New file.
11812 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11814 * gdb.arch/insn-reloc.c: New file.
11815 * gdb.arch/ftrace-insn-reloc.exp: New file.
11817 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11819 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11821 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11822 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11823 * gdb.trace/range-stepping.c: Likewise.
11824 * gdb.trace/trace-break.c: Likewise.
11825 * gdb.trace/trace-mt.c (thread_function): Likewise.
11826 * gdb.trace/ftrace.c (marker): Likewise.
11827 * gdb.trace/trace-condition.c (marker): Likewise.
11828 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11829 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11832 2015-09-18 Doug Evans <xdje42@gmail.com>
11834 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11835 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11837 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11839 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11842 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11844 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11845 the pending breakpoint. Remove timeout override for "Run till
11846 MI pending breakpoint on pendfunc3 on thread 2" test.
11848 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11850 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11853 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11855 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11856 in breakpoint filename pattern.
11858 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11860 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11862 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11864 * gdb.linespec/explicit.exp: Check for readline support for
11865 tab-completion tests. Fix obvious typo.
11867 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11869 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11872 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11874 * gdb.btrace/non-stop.c: New.
11875 * gdb.btrace/non-stop.exp: New.
11877 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11878 Yao Qi <yao.qi@linaro.org>
11880 * gdb.trace/trace-condition.c: New file.
11881 * gdb.trace/trace-condition.exp: New file.
11883 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11885 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11886 for testing bytecode compilation.
11888 2015-09-16 Pedro Alves <palves@redhat.com>
11889 Sandra Loosemore <sandra@codesourcery.com>
11891 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11892 (SECONDS): Redefine.
11893 (main): Call pthread_kill and alarm early.
11894 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11896 (test): If the target can't hardware step and doesn't support
11897 displaced stepping, increase the timeout.
11899 2015-09-16 Pedro Alves <palves@redhat.com>
11901 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11902 (enable_debug): New procedures.
11903 (test): Use them. Bail out if waiting for threads fails.
11904 (top level): Bail out if a test fails.
11906 2015-09-16 Yao Qi <yao.qi@linaro.org>
11908 * gdb.asm/asm-source.exp: Set asm-arch for
11909 aarch64*-*-* target.
11910 * gdb.asm/aarch64.inc: New file.
11912 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11914 * gdb.ada/array_of_variable_length.exp: New testcase.
11915 * gdb.ada/array_of_variable_length/foo.adb: New file.
11916 * gdb.ada/array_of_variable_length/pck.adb: New file.
11917 * gdb.ada/array_of_variable_length/pck.ads: New file.
11919 2015-09-15 Doug Evans <dje@google.com>
11921 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11922 of function static local variable.
11924 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11926 * gdb.threads/tls-so_extern.exp: New test file.
11927 * gdb.threads/tls-so_extern.c: New test file.
11928 * gdb.threads/tls-so_extern_main.c: New test file.
11930 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11932 * gdb.opt/solib-intra-step-lib.c: New file.
11933 * gdb.opt/solib-intra-step-main.c: New file.
11934 * gdb.opt/solib-intra-step.exp: New file.
11936 2015-09-15 Pedro Alves <palves@redhat.com>
11938 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11939 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11941 2015-09-14 Pedro Alves <palves@redhat.com>
11943 * gdb.base/hook-stop-continue.c: Delete.
11944 * gdb.base/hook-stop-continue.exp: Delete.
11945 * gdb.base/hook-stop-frame.c: Delete.
11946 * gdb.base/hook-stop-frame.exp: Delete.
11947 * gdb.base/hook-stop.c: New file.
11948 * gdb.base/hook-stop.exp: New file.
11950 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11952 * gdb.ada/access_to_packed_array.exp: New testcase.
11953 * gdb.ada/access_to_packed_array/foo.adb: New file.
11954 * gdb.ada/access_to_packed_array/pack.adb: New file.
11955 * gdb.ada/access_to_packed_array/pack.ads: New file.
11957 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11959 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11962 2015-09-11 Don Breazeal <donb@codesourcery.com>
11964 * gdb.base/foll-exec.c: Add copyright header. Fix
11966 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11967 (do_exec_tests): Use clean_restart in place of zap_session,
11968 and for test initialization. Fix formatting issues. Use
11969 fail in place of perror.
11970 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11971 an expect statement to match an expression with output from
11972 the program under debug.
11973 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11974 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11975 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11976 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11977 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11979 2015-09-09 Doug Evans <dje@google.com>
11981 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11983 2015-09-09 Doug Evans <dje@google.com>
11985 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11987 2015-09-09 Doug Evans <dje@google.com>
11989 * gdb.base/savedregs.exp: Fix typo.
11991 2015-09-09 Pedro Alves <palves@redhat.com>
11993 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11995 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11997 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11998 command actually switches threads. Give up on remaining
11999 tests if target fails to stop at breakpoint.
12001 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12003 * gdb.ada/funcall_char.exp: New testcase.
12004 * gdb.ada/funcall_char/foo.adb: New file.
12006 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12008 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12009 expected outputs. Add two testcases for completing ambiguous
12011 * gdb.ada/complete/aux_pck.adb: New file.
12012 * gdb.ada/complete/aux_pck.ads: New file.
12013 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12014 Ambiguous_Func functions.
12015 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12016 * gdb.ada/complete/pck.adb: Likewise.
12018 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12020 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12021 failures to run the test program under GDB.
12023 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12025 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12028 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12030 * gdb.base/run-after-attach.exp: New test file.
12031 * gdb.base/run-after-attach.c: New test file.
12033 2015-08-26 Don Breazeal <donb@codesourcery.com>
12035 * gdb.base/foll-exec-2.c: New test program.
12036 * gdb.base/foll-exec-2.exp: New test.
12038 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12040 * gdb.base/nested-subp1.exp: New file.
12041 * gdb.base/nested-subp1.c: New file.
12042 * gdb.base/nested-subp2.exp: New file.
12043 * gdb.base/nested-subp2.c: New file.
12044 * gdb.base/nested-subp3.exp: New file.
12045 * gdb.base/nested-subp3.c: New file.
12047 2015-08-24 Pedro Alves <palves@redhat.com>
12049 * gdb.server/connect-without-multi-process.c: New file.
12050 * gdb.server/connect-without-multi-process.exp: New file.
12052 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12054 * gdb.opt/inline-markers.c: Make z int.
12056 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12058 * gdb.opt/inline-markers.c: Make z volatile.
12060 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12062 * gdb.opt/inline-bt.c: New volatile global z.
12063 * gdb.opt/inline-cmds.c: Likewise.
12064 * gdb.opt/inline-locals.c: Likewise.
12065 * gdb.opt/inline-markers.c: New extern global z.
12067 (inline_fn): Likewise.
12069 2015-08-24 Pedro Alves <palves@redhat.com>
12071 * config/m32r-stub.exp: Remove file.
12072 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12073 * gdb.base/call-rt-st.exp: Likewise.
12074 * gdb.base/call-strs.exp: Likewise.
12075 * gdb.base/default.exp: Remove references to h8300-*-hms and
12077 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12079 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12081 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12082 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12083 and "return" use KFAIL when GDB can not read/write the vector
12086 2015-08-21 Gary Benson <gbenson@redhat.com>
12088 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12090 2015-08-20 Pedro Alves <palves@redhat.com>
12092 * gdb.server/solib-list.exp: No longer expect an interior stop in
12095 2015-08-20 Pedro Alves <palves@redhat.com>
12097 * gdb.server/connect-stopped-target.c: New file.
12098 * gdb.server/connect-stopped-target.exp: New file.
12100 2015-08-20 Pedro Alves <palves@redhat.com>
12102 * gdb.dwarf2/comp-unit-lang.exp: New file.
12103 * gdb.dwarf2/comp-unit-lang.c: New file.
12105 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12107 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12108 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12110 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12112 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12113 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12115 2015-08-18 Doug Evans <dje@google.com>
12116 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12118 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12119 skip_python_tests. New arg prompt_regexp.
12120 (skip_python_tests): New function.
12121 * lib/mi-support.exp (mi_skip_python_tests): New function.
12122 * gdb.python/py-mi-objfile-gdb.py: New file.
12123 * gdb.python/py-mi-objfile.c: New file.
12124 * gdb.python/py-mi-objfile.exp: New file.
12126 2015-08-17 Keith Seitz <keiths@redhat.com>
12128 * gdb.linespec/explicit.exp: Move strace test from here ...
12129 * gdb.trace/strace.exp: ... to here.
12131 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12133 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12134 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12136 2015-08-14 Doug Evans <xdje42@gmail.com>
12138 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12139 inferior before selecting a new file.
12141 2015-08-14 Doug Evans <xdje42@gmail.com>
12143 * gdb.mi/mi-disassemble.exp: Update.
12144 * gdb.base/disasm-optim.S: New file.
12145 * gdb.base/disasm-optim.c: New file.
12146 * gdb.base/disasm-optim.h: New file.
12147 * gdb.base/disasm-optim.exp: New file.
12149 2015-08-14 Keith Seitz <keiths@redhat.com>
12151 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12154 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12156 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12158 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12160 * gdb.ada/fun_renaming.exp: New testcase.
12161 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12162 * gdb.ada/fun_renaming/pack.adb: New file.
12163 * gdb.ada/fun_renaming/pack.ads: New file.
12165 2015-08-12 Keith Seitz <keiths@redhat.com>
12167 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12168 gdb_get_line_number.
12170 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12172 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12173 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12174 gdb.base/dso2dso.exp: New files.
12176 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12177 Pedro Alves <palves@redhat.com>
12178 Keith Seitz <keiths@redhat.com>
12180 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12183 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12185 * gdb.base/gdbhistsize-history.exp
12186 (test_histsize_history_setting): Use save_vars.
12187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12189 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12190 * gdb.base/readline.exp: Use save_vars.
12192 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12194 * lib/gdb.exp (save_vars): New proc.
12196 2015-08-11 Keith Seitz <keiths@redhat.com>
12198 * gdb.base/help.exp: Update help_breakpoint_text.
12200 2015-08-11 Keith Seitz <keiths@redhat.com>
12202 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12203 (at toplevel): Call test_explicit_breakpoints.
12204 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12206 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12207 breakpoint conditions, "-cond".
12209 2015-08-11 Keith Seitz <keiths@redhat.com>
12211 * gdb.linespec/3explicit.c: New file.
12212 * gdb.linespec/cpexplicit.cc: New file.
12213 * gdb.linespec/cpexplicit.exp: New file.
12214 * gdb.linespec/explicit.c: New file.
12215 * gdb.linespec/explicit.exp: New file.
12216 * gdb.linespec/explicit2.c: New file.
12217 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12218 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12219 before using in the matching pattern.
12220 Clarify that `prefix' is a regular expression.
12222 2015-08-11 Keith Seitz <keiths@redhat.com>
12224 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12226 Add tests for missing ",FMT" and ",".
12228 2015-08-10 Doug Evans <dje@google.com>
12229 Keith Seitz <keiths@redhat.com>
12232 * gdb.base/completion.exp: Add location completer tests.
12234 2015-08-07 Pedro Alves <palves@redhat.com>
12236 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12238 (top level): Run do_test with and without displaced stepping.
12240 2015-08-07 Pedro Alves <palves@redhat.com>
12242 * gdb.base/valgrind-disp-step.c: New file.
12243 * gdb.base/valgrind-disp-step.exp: New file.
12245 2015-08-07 Pedro Alves <palves@redhat.com>
12247 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12249 (main): Add alarm. Run an infinite loop instead of calling
12251 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12253 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12255 (main): Add alarm. Run an infinite loop instead of calling
12257 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12260 2015-08-07 Pedro Alves <palves@redhat.com>
12262 * gdb.base/checkpoint-ns.exp: New file.
12263 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12266 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12268 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12269 * gdb.btrace/instruction_history.exp: Update.
12270 * gdb.btrace/tsx.exp: New.
12271 * gdb.btrace/tsx.c: New.
12273 2015-08-06 Pedro Alves <palves@redhat.com>
12275 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12277 * gdb.reverse/until-precsave.exp: Bump timeouts.
12279 2015-08-06 Pedro Alves <palves@redhat.com>
12281 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12283 2015-08-06 Pedro Alves <palves@redhat.com>
12286 * gdb.threads/process-dies-while-handling-bp.c: New file.
12287 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12289 2015-08-06 Pedro Alves <palves@redhat.com>
12291 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12292 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12294 2015-08-05 Pedro Alves <palves@redhat.com>
12296 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12297 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12299 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12301 * gdb.base/bp-permanent.exp: Report test as unsupported if
12302 the target cannot stop at the permanent breakpoint.
12304 2015-08-03 Doug Evans <dje@google.com>
12306 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12309 2015-08-03 Doug Evans <dje@google.com>
12311 * Makefile.in (workers/%.worker, build-perf): New rule.
12312 (GDB_PERFTEST_MODE): New variable.
12313 (check-perf): Use it.
12314 (clean): Clean up gdb.perf parallel build subdirs.
12315 * lib/build-piece.exp: New file.
12316 * lib/gdb.exp (make_gdb_parallel_path): New function
12317 (standard_output_file, standard_temp_file): Call it.
12318 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12320 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12322 2015-08-03 Doug Evans <dje@google.com>
12324 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12325 (LOG_FILE_NAME): New global.
12326 (TextReporter.__init__): Initialize self.txt_sum.
12327 (TextReporter.report): Add support for multiple data-points.
12328 Move report to perftest.sum, put raw data in perftest.log.
12329 (TextReporter.start): Open sum and log files.
12330 (TextReporter.end): Close sum and log files.
12331 * gdb.perf/lib/perftest/testresult.py
12332 (SingleStatisticTestResult.record): Handle multiple data-points.
12334 2015-07-31 Pedro Alves <palves@redhat.com>
12336 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12337 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12338 kill_wait_spawned_process instead of explicit "kill -9".
12339 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12340 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12341 kill_wait_spawned_process.
12342 * gdb.base/attach-twice.exp: Likewise.
12343 * gdb.base/attach.exp: Likewise.
12344 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12346 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12347 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12348 kill_wait_spawned_process.
12349 * gdb.base/valgrind-infcall.exp: Likewise.
12350 * gdb.multi/multi-attach.exp: Likewise.
12351 * gdb.python/py-prompt.exp: Likewise.
12352 * gdb.python/py-sync-interp.exp: Likewise.
12353 * gdb.server/ext-attach.exp: Likewise.
12354 * gdb.threads/attach-into-signal.exp (corefunc): Use
12355 spawn_wait_for_attach, spawn_id_get_pid and
12356 kill_wait_spawned_process.
12357 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12358 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12359 spawn_id_get_pid and kill_wait_spawned_process.
12360 * gdb.threads/attach-stopped.exp (corefunc): Use
12361 spawn_wait_for_attach, spawn_id_get_pid and
12362 kill_wait_spawned_process.
12363 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12364 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12365 kill_wait_spawned_process instead of explicit "kill -9".
12366 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12367 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12368 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12369 processes. Don't map cygwin/windows pids here. Now returns a
12372 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12374 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12375 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12378 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12380 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12382 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12385 2014-05-21 Mark Wielaard <mjw@redhat.com>
12387 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12389 2015-07-30 Pedro Alves <palves@redhat.com>
12391 * linux-low.c (handle_extended_wait): Set the child's last
12392 reported status to TARGET_WAITKIND_STOPPED.
12394 2015-07-30 Pedro Alves <palves@redhat.com>
12397 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12398 only shows inferior 1.
12400 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12401 Pedro Alves <palves@redhat.com>
12404 * gdb.threads/fork-plus-threads.c: New file.
12405 * gdb.threads/fork-plus-threads.exp: New file.
12407 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12409 * gdb.base/batch-preserve-term-settings.exp
12410 (test_terminal_settings_preserved_after_cli_exit): Use
12413 2015-07-29 Pedro Alves <palves@redhat.com>
12414 Don Breazeal <donb@codesourcery.com>
12416 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12417 output from both inferior_spawn_id and gdb_spawn_id.
12419 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12421 * gdb.threads/attach-into-signal.exp (corefunc): Use
12422 with_test_prefix on nested loops, uniquefying the test messages.
12424 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12426 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12429 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12431 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12433 (test_terminal_settings_preserved_after_sigterm): New test.
12435 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12437 * gdb.base/batch-preserve-term-settings.exp
12438 (test_terminal_settings_preserved_after_cli_exit): New test.
12440 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12442 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12443 manipulation of saved_gdbflags.
12444 (test_terminal_settings_preserved): Remove global declaration of
12445 the unused variable pagination_prompt. Remove manipulation of
12446 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12449 2015-07-29 Pedro Alves <palves@redhat.com>
12451 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12453 2015-07-29 Pedro Alves <palves@redhat.com>
12455 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12458 2015-07-29 Pedro Alves <palves@redhat.com>
12460 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12461 (main): Call gdb_unbuffer_output.
12462 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12463 (main): Call gdb_unbuffer_output.
12464 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12465 (main): Call gdb_unbuffer_output.
12466 * gdb.base/call-strs.exp: Adjust to step over the
12467 gdb_unbuffer_output call.
12468 * gdb.base/catch-gdb-caused-signals.c: Include
12469 "../lib/unbuffer_output.c".
12470 (main): Call gdb_unbuffer_output.
12471 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12472 (main): Call gdb_unbuffer_output.
12473 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12474 (main): Call gdb_unbuffer_output.
12475 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12476 (main): Call gdb_unbuffer_output.
12477 * gdb.base/shlib-call.exp: Adjust to step over the
12478 gdb_unbuffer_output call.
12479 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12480 (main): Call gdb_unbuffer_output.
12481 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12482 (main): Call gdb_unbuffer_output.
12483 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12484 (main): Rename to ...
12486 (main): Reimplement.
12487 * gdb.base/varargs.exp: Run to test instead of to main.
12488 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12489 (main): Call gdb_unbuffer_output.
12491 2015-07-29 Pedro Alves <palves@redhat.com>
12493 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12494 factore out from mi_continue_dprintf. For call-style dprintfs,
12495 expect dprintf output out of $inferior_spawn_id.
12496 (mi_continue_dprintf): Use mi_expect_dprintf.
12497 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12498 (main): Call gdb_unbuffer_output.
12500 2015-07-29 Pedro Alves <palves@redhat.com>
12502 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12503 (default_mi_gdb_start): Set inferior_spawn_id instead of
12504 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12506 (mi_gdb_test): Always expect inferior output from both
12507 $inferior_spawn_id and $gdb_spawn_id.
12509 2015-07-29 Pedro Alves <palves@redhat.com>
12511 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12512 send_inferior and $inferior_spawn_id.
12514 2015-07-29 Pedro Alves <palves@redhat.com>
12516 * gdb.gdb/complaints.exp (test_initial_complaints)
12517 (test_serial_complaints, test_short_complaints): Use
12519 (test_empty_complaint): Handle $inferior_spawn_id !=
12522 2015-07-29 Pedro Alves <palves@redhat.com>
12524 * gdb.base/varargs.exp: Use gdb_test_stdio.
12526 2015-07-29 Pedro Alves <palves@redhat.com>
12528 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12530 2015-07-29 Pedro Alves <palves@redhat.com>
12532 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12534 2015-07-29 Pedro Alves <palves@redhat.com>
12536 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12537 parameter into two new parameters, "inf_result" and "gdb_result".
12538 Expect inferior output and gdb output from $inferior_spawn_id and
12539 $gdb_spawn_id, respectively. Adjust all callers.
12541 2015-07-29 Pedro Alves <palves@redhat.com>
12543 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12544 of gdb_test_sequence.
12546 2015-07-29 Pedro Alves <palves@redhat.com>
12548 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12549 (saw_spurious_output): Expect inferior output from
12550 $inferior_spawn_id. Use gdb_test_stdio.
12552 2015-07-29 Pedro Alves <palves@redhat.com>
12554 * gdb.base/dprintf.exp: Use standard_testfile. Change
12555 prepare_for_testing call.
12556 (srcfile): Don't set.
12557 (restart): New procedure.
12558 (test_dprintf): New procecure, use to continue over dprintfs.
12559 (test_call, test_agent): New procedures, tests moved here.
12560 Restart gdb and recreate dprintfs. Adjust expected output.
12562 2015-07-29 Pedro Alves <palves@redhat.com>
12564 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12566 2015-07-29 Pedro Alves <palves@redhat.com>
12568 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12570 2015-07-29 Pedro Alves <palves@redhat.com>
12572 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12575 2015-07-29 Pedro Alves <palves@redhat.com>
12577 * lib/gdb.exp (gdb_test_stdio): New procedure.
12579 2015-07-29 Pedro Alves <palves@redhat.com>
12581 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12583 2015-07-29 Pedro Alves <palves@redhat.com>
12585 * gdb.base/call-signal-resume.exp: Remove check for
12586 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12587 * gdb.base/unwindonsignal.exp: Likewise.
12588 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12589 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12591 2015-07-29 Pedro Alves <palves@redhat.com>
12593 * gdb.base/siginfo-addr.c (pass): New function.
12594 (handler): Call it iff si_addr is correct.
12595 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12596 Set a breakpoint at "pass" and continue to it.
12598 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12600 * gdb.python/py-objfile.exp: Make some tests have unique names.
12601 * gdb.python/py-pp-registration.exp: Likewise.
12603 2015-07-28 Pedro Alves <palves@redhat.com>
12605 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12607 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12609 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12611 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12613 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12615 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12617 * gdb.base/gdb-sigterm-2.exp: New test.
12619 2015-07-25 Doug Evans <xdje42@gmail.com>
12622 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12623 (workers/%.worker, build-perf): New rule.
12624 (GDB_PERFTEST_MODE): New variable.
12625 (check-perf): Use it.
12626 (clean): Clean up gdb.perf parallel build subdirs.
12627 * lib/build-piece.exp: New file.
12628 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12629 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12631 (standard_temp_file): Ditto.
12632 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12635 2015-07-24 Doug Evans <dje@google.com>
12637 * gdb.perf/lib/perftest/utils.py: New file.
12638 * gdb.perf/gm-hello.cc: New file.
12639 * gdb.perf/gm-pervasive-typedef.cc: New file.
12640 * gdb.perf/gm-pervasive-typedef.h: New file.
12641 * gdb.perf/gm-std.cc: New file.
12642 * gdb.perf/gm-std.h: New file.
12643 * gdb.perf/gm-use-cerr.cc: New file.
12644 * gdb.perf/gm-utils.h: New file.
12645 * gdb.perf/gmonster-null-lookup.py: New file.
12646 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12647 * gdb.perf/gmonster-print-cerr.py: New file.
12648 * gdb.perf/gmonster-ptype-string.py: New file.
12649 * gdb.perf/gmonster-runto-main.py: New file.
12650 * gdb.perf/gmonster-select-file.py: New file.
12651 * gdb.perf/gmonster1-null-lookup.exp: New file.
12652 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12653 * gdb.perf/gmonster1-print-cerr.exp: New file.
12654 * gdb.perf/gmonster1-ptype-string.exp: New file.
12655 * gdb.perf/gmonster1-runto-main.exp: New file.
12656 * gdb.perf/gmonster1-select-file.exp: New file.
12657 * gdb.perf/gmonster1.cc: New file.
12658 * gdb.perf/gmonster1.exp: New file.
12659 * gdb.perf/gmonster2-null-lookup.exp: New file.
12660 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12661 * gdb.perf/gmonster2-print-cerr.exp: New file.
12662 * gdb.perf/gmonster2-ptype-string.exp: New file.
12663 * gdb.perf/gmonster2-runto-main.exp: New file.
12664 * gdb.perf/gmonster2-select-file.exp: New file.
12665 * gdb.perf/gmonster2.cc: New file.
12666 * gdb.perf/gmonster2.exp: New file.
12668 2015-07-24 Doug Evans <dje@google.com>
12670 * gdb.perf/README: New file.
12671 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12672 * lib/gen-perf-test.exp: New file.
12674 2015-07-24 Doug Evans <dje@google.com>
12676 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12677 (PerfTest::startup): New function.
12678 (PerfTest::run): Return result of calling body.
12679 (PerfTest::assemble): Rewrite.
12680 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12681 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12682 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12683 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12684 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12686 2015-07-24 Doug Evans <dje@google.com>
12688 * lib/gdb.exp (clean_restart): Make executable optional.
12690 2015-07-24 Doug Evans <dje@google.com>
12692 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12693 compiler_info references.
12694 * gdb.cp/temargs.exp: Ditto.
12695 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12696 (get_compiler_info): Early exit if already computed. Set compiler_info
12697 to "unknown" if there was a problem.
12698 (test_compiler_info): Add function comment. Call get_compiler_info.
12700 2015-07-24 Doug Evans <dje@google.com>
12702 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12703 (workers/%.worker, build-perf): New rule.
12704 (GDB_PERFTEST_MODE): New variable.
12705 (check-perf): Use it.
12706 (clean): Clean up gdb.perf parallel build subdirs.
12707 * lib/build-piece.exp: New file.
12708 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12709 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12711 (standard_temp_file): Ditto.
12712 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12715 2015-07-24 Doug Evans <dje@google.com>
12717 * lib/future.exp (gdb_default_target_compile): New option
12719 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12722 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12724 * gdb.base/catch-syscall.exp: Call gdb_exit before
12727 2015-07-24 Pedro Alves <palves@redhat.com>
12729 * gdb.python/py-events.exp: Accept output between the stop event
12731 * gdb.python/py-evsignal.exp: Likewise.
12732 * gdb.python/py-evthreads.exp: Likewise.
12734 2015-07-24 Pedro Alves <palves@redhat.com>
12737 * gdb.threads/non-ldr-exit.c: New file.
12738 * gdb.threads/non-ldr-exit.exp: New file.
12740 2015-07-24 Yao Qi <yao.qi@linaro.org>
12742 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12743 restarting process.
12745 2015-07-24 Yao Qi <yao.qi@linaro.org>
12747 * gdb.server/ext-restart.exp: New file.
12749 2015-07-24 Yao Qi <yao.qi@linaro.org>
12751 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12753 * gdb.server/ext-wrapper.exp: New file.
12755 2015-07-23 Doug Evans <dje@google.com>
12757 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12758 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12760 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12762 * gdb.ada/var_arr_typedef.exp: New testcase.
12763 * gdb.ada/var_arr_typedef/pack.adb: New file.
12764 * gdb.ada/var_arr_typedef/pack.ads: New file.
12765 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12767 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12769 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12771 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12773 * gdb.arch/i386-biarch-core.exp: Replace istarget
12774 by "complete set gnutarget". Remove expectation for the "core-file"
12777 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12779 Revert the previous commit:
12780 Tests for validate symbol file using build-id.
12782 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12784 Tests for validate symbol file using build-id.
12785 * gdb.base/solib-mismatch-lib.c: New file.
12786 * gdb.base/solib-mismatch-libmod.c: New file.
12787 * gdb.base/solib-mismatch.c: New file.
12788 * gdb.base/solib-mismatch.exp: New file.
12790 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12792 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12794 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12795 * gdb.base/siginfo.exp: Likewise.
12796 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12798 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12800 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12802 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12804 * gdb.trace/range-stepping.exp: Check that the target supports
12807 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12809 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12811 2015-07-14 Pedro Alves <palves@redhat.com>
12813 * gdb.base/killed-outside.exp: New file.
12814 * gdb.base/killed-outside.c: New file.
12816 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12818 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12820 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12822 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12824 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12825 infcall tests instead of setting up for KFAIL.
12827 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12829 * gdb.btrace/record_goto-step.exp: New.
12831 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12834 * gdb.compile/compile.c (struct struct_type): Add volatile to
12836 * gdb.compile/compile.exp
12837 (compile code struct_object.selffield = &struct_object): Skip further
12838 struct_object tests if this one xfails.
12840 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12843 * gdb.trace/ax.exp: Add test.
12845 2015-07-07 Yao Qi <yao.qi@linaro.org>
12847 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12848 instead of istarget "aarch64*-*-*".
12849 * gdb.arch/aarch64-fp.exp: Likewise.
12850 * gdb.base/float.exp: Likewise.
12851 * gdb.reverse/aarch64.exp: Likewise.
12852 * lib/gdb.exp (is_aarch64_target): New proc.
12854 2015-07-07 Yao Qi <yao.qi@linaro.org>
12856 * lib/gdb.exp (is_aarch32_target): New proc.
12857 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12858 instead of "istarget "arm*-*-*"".
12859 * gdb.arch/arm-disp-step.exp: Likewise.
12860 * gdb.arch/thumb-bx-pc.exp: Likewise.
12861 * gdb.arch/thumb-prologue.exp: Likewise.
12862 * gdb.arch/thumb-singlestep.exp: Likewise.
12863 * gdb.base/disp-step-syscall.exp: Likewise.
12864 * gdb.base/float.exp: Likewise.
12866 2015-07-07 Yao Qi <yao.qi@linaro.org>
12868 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12869 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12871 2015-07-07 Yao Qi <yao.qi@linaro.org>
12873 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12874 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12876 * gdb.multi/multi-arch.exp: Likewise.
12878 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12880 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12883 2015-07-07 Yao Qi <yao.qi@linaro.org>
12885 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12887 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12889 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12890 '[' and ']' characters.
12892 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12894 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12896 2015-06-29 Pedro Alves <palves@redhat.com>
12899 * gdb.threads/hand-call-new-thread.c: New file.
12900 * gdb.threads/hand-call-new-thread.c: New file.
12902 2015-06-26 Keith Seitz <keiths@redhat.com>
12903 Doug Evans <dje@google.com>
12906 * gdb.cp/var-tag-2.cc: New file.
12907 * gdb.cp/var-tag-3.cc: New file.
12908 * gdb.cp/var-tag-4.cc: New file.
12909 * gdb.cp/var-tag.cc: New file.
12910 * gdb.cp/var-tag.exp: New file.
12912 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12914 * gdb.base/history-duplicates.exp: New test.
12916 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12918 * gdb.base/completion.exp: Test the completion of the "focus"
12921 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12923 * gdb.arch/amd64-prologue-skip.S: New file.
12924 * gdb.arch/amd64-prologue-skip.exp: New file.
12926 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12928 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12929 is_address_zero_readable check.
12931 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12933 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12934 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12936 2015-06-24 Yao Qi <yao.qi@linaro.org>
12938 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12941 2015-06-24 Yao Qi <yao.qi@linaro.org>
12943 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12944 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12945 * gdb.base/siginfo-thread.exp: Likewise.
12947 2015-06-22 Yao Qi <yao.qi@linaro.org>
12949 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12951 2015-06-22 Yao Qi <yao.qi@linaro.org>
12953 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12955 (skip_hw_watchpoint_tests): Likewise.
12957 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12959 * gdb.base/gdbinit-history.exp: Test the interaction between
12960 setting GDBHISTSIZE and setting the history size via .gdbinit.
12962 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12965 * gdb.base/gdbhistsize-history.exp: New test.
12967 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12969 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12971 * gdb.base/readline.exp: Likewise.
12973 2015-06-17 Yao Qi <yao.qi@linaro.org>
12975 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12978 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12980 * gdb.base/gdbinit-history.exp: Add test case to check that
12981 an unlimited history file does not get truncated on exit.
12983 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12985 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12986 (VECTOR): New macro. Use it...
12987 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12988 ...for these typedefs.
12989 (int8, char1, int1, double1): New typedefs.
12990 (struct just_int2, struct two_int2): New structures.
12991 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12992 (add_structvecs, add_singlevecs): New functions.
12993 (main): Call add_some_intvecs twice.
12994 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12995 the compile and exit upon failure. Try compiling for the "native"
12996 architecture. Test inferior function calls with vector arguments
12997 and vector return value handling with "finish" and "return".
12999 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13001 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13002 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13004 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13006 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13008 PR breakpoints/16465
13009 * gdb.mi/mi-dprintf-pending.c: New file.
13010 * gdb.mi/mi-dprintf-pending.exp: New test.
13011 * gdb.mi/mi-dprintf-pendshr.c: New file.
13013 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13014 Mircea Gherzan <mircea.gherzan@intel.com>
13016 * gdb.arch/i386-mpx-map.c: New file.
13017 * gdb.arch/i386-mpx-map.exp: New File.
13019 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13021 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13022 * gdb.arch/i386-mpx.exp: Indentation fixed.
13024 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13026 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13027 function and improved indentation.
13028 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13029 gdb_test_multiple. Added additional tests to skip the test.
13031 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13033 * gdb.arch/i386-avx512.c: Change path in include file.
13034 * gdb.arch/i386-avx512.exp: Change include dir path
13036 * gdb.arch/i386-mpx.c: Change path in include file.
13037 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13040 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13042 * gdb.compile/compile-print.exp (compile print *vararray@3)
13043 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13045 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13047 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13048 (do not keep jit in memory): ... this.
13049 (expect 5): Change it to ...
13050 (expect no 5): ... this.
13052 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13055 * gdb.mi/mi-detach.exp: New file.
13057 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13060 * gdb.arch/amd64-tailcall-self.S: New file.
13061 * gdb.arch/amd64-tailcall-self.c: New file.
13062 * gdb.arch/amd64-tailcall-self.exp: New file.
13064 2015-05-28 Don Breazeal <donb@codesourcery.com>
13066 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13067 tests for remote targets by checking is_target_gdbserver.
13069 2015-05-27 Doug Evans <dje@google.com>
13071 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13072 * gdb.dwarf2/opaque-type-lookup.c: New file.
13073 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13075 2015-05-26 Doug Evans <dje@google.com>
13077 * gdb.cp/iostream.cc: New file.
13078 * gdb.cp/iostream.exp: New file.
13080 2015-05-26 Doug Evans <dje@google.com>
13082 * gdb.dwarf2/dw2-op-call.exp: Update.
13083 * gdb.dwarf2/dw4-sig-types.exp: Update.
13084 * gdb.dwarf2/implptr.exp: Update.
13085 * gdb.mi/mi-cmd-param-changed.exp: Update.
13087 2015-05-26 Doug Evans <dje@google.com>
13089 * gdb.python/py-lazy-string.c: New file.
13090 * gdb.python/py-lazy-string.exp: New file.
13091 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13092 (main): Update. Add estring3.
13093 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13094 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13096 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13097 Yao Qi <yao.qi@linaro.org>
13099 * gdb.reverse/aarch64.c: New.
13100 * gdb.reverse/aarch64.exp: New.
13102 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13104 * lib/gdb.exp (supports_process_record): Return true for
13106 (supports_reverse): Likewise.
13108 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13110 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13111 Use with_test_prefix.
13113 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13115 * gdb.base/completion.exp: Add test for completion of layout
13118 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13120 * lib/gdb.exp (skip_tui_tests): New proc.
13121 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13123 2015-05-19 Pedro Alves <palves@redhat.com>
13125 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13126 Save the whole env array instead of just HOME. Unset HISTSIZE in
13127 the environment while testing. Restore whole environment
13130 2015-05-16 Doug Evans <xdje42@gmail.com>
13132 * gdb.guile/scm-ports.c: New file.
13133 * gdb.guile/scm-ports.exp: Add memory port tests.
13135 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13137 * gdb.compile/compile-print.c: New file.
13138 * gdb.compile/compile-print.exp: New file.
13140 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13142 * gdb.compile/compile-ops.exp: Cast param to void.
13143 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13144 (compile code struct_object.selffield = &struct_object): Add xfail.
13146 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13148 * gdb.ada/arr_enum_with_gap: New testcase.
13150 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13152 * gdb.ada/byte_packed_arr: New testcase.
13154 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13156 * gdb.ada/pckd_neg: New testcase.
13158 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13161 * gdb.base/gdbinit-history.exp: New test.
13162 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13163 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13165 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13167 * gdb.python/py-xmethods.cc: Enhance test case.
13168 * gdb.python/py-xmethods.exp: New tests.
13169 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13171 (B_indexoper): Likewise.
13172 (global_dm_list) : Add new xmethod worker functions.
13174 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13176 * gdb.base/coredump-filter.exp: Correctly unset
13177 "coredump_var_addr" array.
13179 2015-05-08 Pedro Alves <palves@redhat.com>
13181 * gdb.server/non-existing-program.exp: Unset spawn_id.
13183 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13186 * gdb.python/py-xmethods.exp: Add tests.
13188 2015-05-08 Yao Qi <yao.qi@linaro.org>
13191 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13192 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13193 function set_coredump_filter, and remove remote_exec call.
13194 Remove argument ipid. Callers update.
13195 (top level): Don't get inferior's PID.
13197 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13199 * gdb.base/watch_thread_num.exp: Skip test on targets without
13200 access watchpoints.
13202 2015-05-06 Pedro Alves <palves@redhat.com>
13205 * gdb.server/non-existing-program.exp: New file.
13207 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13209 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13211 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13213 * gdb.ada/out_of_line_in_inlined: New testcase.
13215 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13217 * gdb.ada/var_rec_arr: New testcase.
13219 2015-04-30 Yao Qi <yao.qi@linaro.org>
13221 * gdb.base/break-idempotent.exp: If
13222 skip_hw_watchpoint_multi_tests returns true, skip the tests
13223 on "rwatch" and "awatch".
13225 2015-04-30 Yao Qi <yao.qi@linaro.org>
13227 * gdb.base/relativedebug.exp: Invoke gdb command
13228 "info sharedlibrary", and if libc.so doesn't have debug info,
13231 2015-04-29 Doug Evans <dje@google.com>
13233 * gdb.python/py-xmethods.exp: Add ptype tests.
13234 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13235 get_result_type method.
13237 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13239 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13240 the target does not support hardware watchpoints.
13242 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13244 * gdb.base/break-always.exp: Abort testing if writing to memory
13247 2015-04-28 Doug Evans <dje@google.com>
13249 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13250 * gdb.python/py-pp-registration.exp: ... here. New file.
13251 * gdb.python/py-pp-registration.c: New file.
13252 * gdb.python/py-pp-registration.py: New file.
13254 2015-04-28 Doug Evans <dje@google.com>
13256 * gdb.python/py-bad-printers.c: New file.
13257 * gdb.python/py-bad-printers.py: New file.
13258 * gdb.python/py-bad-printers.exp: New file.
13260 2015-04-28 Sasha Smundak <asmundak@google.com>
13262 * gdb.python/py-type.exp: New test.
13264 2015-04-28 Andy Wingo <wingo@igalia.com>
13266 * gdb.python/py-parameter.exp:
13267 * gdb.guile/scm-parameter.exp: Escape the path that we are
13268 matching against, as it might contain characters that are special
13269 to regular expressions.
13271 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13273 * gdb.ada/rec_comp: New testcase.
13275 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13277 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13280 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13282 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13283 new tests for verilog output.
13285 2015-04-24 Yao Qi <yao.qi@linaro.org>
13287 * boards/remote-gdbserver-on-localhost.exp: New file.
13289 2015-04-23 Pedro Alves <palves@redhat.com>
13291 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13292 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13293 "end of file", remove $inferior_spawn_id from the indirect list.
13295 2015-04-23 Pedro Alves <palves@redhat.com>
13297 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13299 2015-04-23 Pedro Alves <palves@redhat.com>
13301 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13302 on $any_spawn_id instead of only on $gdb_spawn_id.
13304 2015-04-21 Pierre Muller <muller@sourceware.org>
13307 * lib/pascal.exp (gpc_compile): Add new option "class".
13308 (fpc_compile): Likewise.
13309 * gdb.pascal/case-insensitive-symbols.pas: New file.
13310 * gdb.pascal/case-insensitive-symbols.exp: New file.
13312 2015-04-20 Gary Benson <gbenson@redhat.com>
13314 * gdb.base/attach.exp: Fix three extended remote failures.
13316 2015-04-17 Gary Benson <gbenson@redhat.com>
13318 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13319 the main executable over the remote protocol.
13321 2015-04-16 Pedro Alves <palves@redhat.com>
13323 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13324 a new gdbserver if gdbserver_reconnect_p is set.
13326 2015-04-16 Pedro Alves <palves@redhat.com>
13328 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13329 is set, don't exit gdbserver.
13331 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13333 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13334 appropriate .insn, such that an older assembler can be used.
13335 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13336 the z/Architecture instruction set on 31-bit targets as well.
13338 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13340 * gdb.go/handcall.exp: Remove all logic related to the first
13341 breakpoint and rely on go_runto_main instead.
13342 * gdb.go/strings.exp: Likewise.
13343 * gdb.go/unsafe.exp: Likewise.
13344 * gdb.go/hello.exp: Likewise. Also rename the remaining
13345 breakpoint marker to "breakpoint 1".
13346 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13347 * gdb.go/strings.go: Likewise.
13348 * gdb.go/unsafe.go: Likewise.
13349 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13350 "set breakpoint 2 here" and rename the remaining breakpoint marker
13353 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13355 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13356 if itertools.imap is not present.
13357 * gdb.python/py-objfile.exp: Add parentheses.
13358 * gdb.python/py-type.exp: Same.
13359 * gdb.python/py-unwind-maint.py: Same.
13361 2015-04-15 Yao Qi <yao.qi@linaro.org>
13363 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13364 of ":$ptr_size" and set its form explicitly.
13366 2015-04-15 Pedro Alves <palves@redhat.com>
13367 Yao Qi <yao.qi@linaro.org>
13369 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13370 timeout by factor of 4.
13371 (test_regular_watch): Likewise.
13372 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13373 * gdb.reverse/sigall-reverse.exp: Likewise.
13374 * gdb.reverse/until-precsave.exp: Likewise.
13375 * lib/gdb.exp (with_timeout_factor): New proc.
13376 (gdb_expect): Move some code to ...
13377 (get_largest_timeout): ... here. New procedure.
13379 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13381 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13383 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13385 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13386 to write to the .text section.
13388 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13390 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13391 Handle the case of targets that do not provide PID information.
13393 2015-04-13 Yao Qi <yao.qi@linaro.org>
13395 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13396 and use expect instead of gdb_expect.
13398 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13400 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13401 "coredump_var_addr" to avoid naming conflict with other testcases.
13403 2015-04-10 Pedro Alves <palves@redhat.com>
13405 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13406 gdb_test_sequence and gdb_assert.
13408 2015-04-10 Pedro Alves <palves@redhat.com>
13410 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13411 test messages that don't include the breakpoint address.
13413 2015-04-10 Yao Qi <yao.qi@linaro.org>
13415 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13416 false for some offset and width combinations which aren't
13417 supported by linux kernel.
13419 2015-04-10 Pedro Alves <palves@redhat.com>
13421 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13422 procedure, factored out from ...
13423 (top level): ... here. Add "set displaced-stepping" testing axis.
13424 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13425 parameter "displaced". Use it.
13426 (top level): Use foreach and add "set displaced-stepping" testing
13429 2015-04-10 Pedro Alves <palves@redhat.com>
13431 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13433 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13434 both the address of the instruction that triggers the watchpoint
13435 and the address of the instruction immediately after, and use
13436 those addresses for the test. Fix comment.
13438 2015-04-10 Pedro Alves <palves@redhat.com>
13440 * gdb.base/sigstep.exp (breakpoint_to_handler)
13441 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13442 Test "backtrace" in handler.
13443 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13444 (top level): Add new "displaced" test axis to
13445 breakpoint_to_handler, breakpoint_to_handler_entry and
13446 breakpoint_over_handler.
13448 2015-04-10 Pedro Alves <palves@redhat.com>
13451 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13453 2015-04-10 Yao Qi <yao.qi@linaro.org>
13455 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13456 (test_add_rn_pc): New function.
13457 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13458 (top level): Invoke test_add_rn_pc.
13460 2015-04-10 Pedro Alves <palves@redhat.com>
13463 * gdb.base/step-over-no-symbols.exp: New file.
13465 2015-04-09 Andy Wingo <wingo@igalia.com>
13467 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13468 after the Python tests.
13470 2015-04-08 Keith Seitz <keiths@redhat.com>
13473 * gdb.python/py-completion.exp: New tests for completion.
13474 * gdb.python/py-completion.py (CompleteLimit1): New class.
13475 (CompleteLimit2): Likewise.
13476 (CompleteLimit3): Likewise.
13477 (CompleteLimit4): Likewise.
13478 (CompleteLimit5): Likewise.
13479 (CompleteLimit6): Likewise.
13480 (CompleteLimit7): Likewise.
13482 2015-04-08 Pedro Alves <palves@redhat.com>
13486 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13488 (main): Install it as SIGUSR1 handler.
13489 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13490 parameter. Always use "setup" as prefix. Toggle "set
13491 displaced-stepping" off/on depending on global. Don't switch to
13493 (top level): Add displaced stepping "off/on" test axis. Update
13494 "setup" calls. Wrap each subtest with with_test_prefix. Test
13495 continuing with a queued signal in each thread.
13497 2015-04-08 Pedro Alves <palves@redhat.com>
13499 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13500 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13501 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13502 Return early if running to main fails.
13503 * gdb.trace/while-stepping.exp: Likewise.
13505 2015-04-07 Pedro Alves <palves@redhat.com>
13507 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13508 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13509 interact with inferior program.
13511 2015-04-07 Pedro Alves <palves@redhat.com>
13513 * lib/gdb.exp (inferior_spawn_id): New global.
13514 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13515 spawn id after processing the user code.
13516 (default_gdb_start): Set inferior_spawn_id.
13517 (send_inferior): New procedure.
13518 * lib/gdbserver-support.exp (gdbserver_start): Set
13520 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13522 2015-04-07 Pedro Alves <palves@redhat.com>
13524 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13525 * lib/gdbserver-support.exp (gdbserver_start): Make
13526 $server_spawn_id global.
13527 (gdbserver_start): Don't wait for gdbserver's spawn id with
13529 (close_gdbserver): New procedure.
13530 (gdb_exit): Rename the default version and reimplement.
13532 2015-04-07 Pedro Alves <palves@redhat.com>
13534 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13535 append the substituted item, not the original item.
13537 2015-04-07 Pedro Alves <palves@redhat.com>
13539 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13542 2015-04-07 Pedro Alves <palves@redhat.com>
13544 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13545 output appearing once only.
13547 2015-04-07 Pedro Alves <palves@redhat.com>
13549 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13550 that doesn't expect anything. Return early if running to main
13553 2015-04-07 Yao Qi <yao.qi@linaro.org>
13555 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13556 (child_function): Call alarm.
13557 (main): Move call to alarm into the loop.
13558 * gdb.threads/non-stop-fair-events.exp: Build program with
13559 -DTIMEOUT=$timeout.
13561 2015-04-06 Doug Evans <xdje42@gmail.com>
13563 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13564 Fix dest parameter to board_info.
13565 (fpc_compile): Ditto.
13566 (gdb_compile_pascal): Rename dest arg to destfile.
13568 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13570 * gdb.ada/funcall_ref.exp: New file.
13571 * gdb.ada/funcall_ref/foo.adb: New file.
13573 2015-04-02 Yao Qi <yao.qi@linaro.org>
13575 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13578 2015-04-02 Gary Benson <gbenson@redhat.com>
13580 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13582 2015-04-01 Sasha Smundak <asmundak@google.com>
13584 * gdb.python/py-unwind-maint.c: New file.
13585 * gdb.python/py-unwind-maint.exp: New test.
13586 * gdb.python/py-unwind-maint.py: New file.
13587 * gdb.python/py-unwind.c: New file.
13588 * gdb.python/py-unwind.exp: New test.
13589 * gdb.python/py-unwind.py: New test.
13591 2015-04-01 Pedro Alves <palves@redhat.com>
13593 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13594 to fail instead of non-existent $test.
13596 2015-04-01 Pedro Alves <palves@redhat.com>
13598 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13599 GDBFLAGS if not empty.
13601 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13603 * gdb.ada/complete.exp: Remove "multi_line".
13604 * gdb.ada/info_exc.exp: Remove "multi_line".
13605 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13606 * gdb.ada/ptype_field.exp: Remove "multi_line".
13607 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13608 * gdb.ada/tagged.exp: Remove "multi_line".
13609 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13611 * gdb.btrace/delta.exp: Likewise.
13612 * gdb.btrace/exception.exp: Likewise.
13613 * gdb.btrace/function_call_history.exp: Likewise.
13614 * gdb.btrace/instruction_history.exp: Likewise.
13615 * gdb.btrace/nohist.exp: Likewise.
13616 * gdb.btrace/record_goto.exp: Likewise.
13617 * gdb.btrace/segv.exp: Likewise.
13618 * gdb.btrace/stepi.exp: Likewise.
13619 * gdb.btrace/tailcall.exp: Likewise.
13620 * gdb.btrace/unknown_functions.exp: Likewise.
13621 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13622 * lib/gdb.exp: Add the "multi_line" helper.
13624 2015-04-01 Pedro Alves <palves@redhat.com>
13626 * gdb.threads/tid-reuse.c: New file.
13627 * gdb.threads/tid-reuse.exp: New file.
13629 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13632 * gdb.base/coredump-filter.c: New file.
13633 * gdb.base/coredump-filter.exp: Likewise.
13635 2015-03-27 Petr Machata <pmachata@redhat.com>
13637 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13638 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13639 (Dwarf::assemble): Initialize them.
13640 (Dwarf::lines): New function.
13642 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13644 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13645 SYMBOL_PREFIX for x86_64-*-cygwin.
13647 2015-03-26 Andy Wingo <wingo@igalia.com>
13650 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13651 const_value but not a location.
13652 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13653 location defined in non-main CUs are visible.
13655 2015-03-26 Yao Qi <yao.qi@linaro.org>
13658 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13659 Add a line number entry for the same line.
13660 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13661 Add a line number entry for the same line.
13663 2015-03-26 Yao Qi <yao.qi@linaro.org>
13665 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13667 (func): Likewise. Add .Lfunc_1 label.
13668 Use .Lfunc_1 label.
13669 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13672 Use .Lfunc_1 label.
13674 2015-03-26 Yao Qi <yao.qi@linaro.org>
13676 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13677 Call gdb_compile instead to compile each .s files without debug
13680 2015-03-26 Yao Qi <yao.qi@linaro.org>
13682 * gdb.base/savedregs.exp (process_saved_regs): Make
13683 "Saved registers:" optional in the pattern.
13685 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13687 * gdb.btrace/next.exp: Merged into step.exp.
13688 * gdb.btrace/finish.exp: Merged into step.exp.
13689 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13690 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13691 "record goto" and checking the exact replay position.
13692 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13693 check for "Recording format" in "info record" output.
13694 * gdb.btrace/record_goto.exp: Choose test file based on target.
13695 * gdb.btrace/x86-record_goto.S: Renamed into ...
13696 * gdb.btrace/x86_64-record_goto.S: ... this.
13697 * gdb.btrace/i686-record_goto.S: New.
13698 * gdb.btrace/x86-tailcall.S: Renamed into ...
13699 * gdb.btrace/x86_64-tailcall.S: ... this.
13700 * gdb.btrace/i686-tailcall.S: New.
13701 * gdb.btrace/x86-tailcall.c: Renamed into ...
13702 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13703 separate statements. Update test.
13704 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13705 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13706 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13707 * gdb.btrace/tailcall.exp: Choose test file based on target.
13708 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13710 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13712 * gdb.btrace/exception.exp: Increase BTS buffer size.
13714 2015-03-24 Pedro Alves <palves@redhat.com>
13716 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13718 2015-03-24 Pedro Alves <palves@redhat.com>
13720 * gdb.threads/schedlock.exp (test_step): No longer expect that
13721 "set scheduler-locking step" with "next" over a function call runs
13724 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13726 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13728 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13730 PR breakpoints/16466
13731 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13732 * gdb.mi/mi-pending.c (thread_func): New function.
13733 (int main): Add threading support required.
13734 * gdb.mi/mi-pending.exp: Add tests for this issue.
13735 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13736 (pendfunc2): Remove stdio dependency.
13737 * gdb.mi/mi-pendshr2.c: New file.
13739 2015-03-23 Keith Seitz <keiths@redhat.com>
13741 * gdb.linespec/keywords.c: New file.
13742 * gdb.linespec/keywords.exp: New file.
13744 2015-03-23 Keith Seitz <keiths@redhat.com>
13747 * gdb.dwarf2/staticvirtual.exp: New test.
13749 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13751 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13752 * README: Remove HP-UX and gdb.hp.
13754 * configure: Regenerate.
13755 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13756 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13757 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13758 gdb.hp/gdb.defects/Makefile.
13759 * gdb.hp/Makefile.in: File deleted.
13760 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13761 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13762 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13763 * gdb.hp/gdb.aCC/run.c: File deleted.
13764 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13765 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13766 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13767 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13768 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13769 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13770 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13771 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13772 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13773 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13774 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13775 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13776 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13777 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13778 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13779 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13780 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13781 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13782 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13783 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13784 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13785 * gdb.hp/gdb.compat/average.c: File deleted.
13786 * gdb.hp/gdb.compat/sum.c: File deleted.
13787 * gdb.hp/gdb.compat/xdb.c: File deleted.
13788 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13789 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13790 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13791 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13792 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13793 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13794 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13795 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13796 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13797 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13798 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13799 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13800 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13801 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13802 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13803 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13804 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13805 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13806 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13807 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13808 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13809 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13810 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13811 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13812 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13813 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13814 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13815 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13816 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13817 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13818 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13819 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13820 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13821 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13822 * gdb.hp/tools/odump: File deleted.
13824 2015-03-19 Pedro Alves <palves@redhat.com>
13826 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13827 (saw_thread_3): New globals.
13828 (top level): Increment them when an event for the corresponding
13830 (no thread starvation): New test.
13832 2015-03-19 Pedro Alves <palves@redhat.com>
13834 * gdb.threads/continue-pending-status.c: New file.
13835 * gdb.threads/continue-pending-status.exp: New file.
13837 2015-03-18 Pedro Alves <palves@redhat.com>
13839 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13840 Use gdb_is_target_remote instead of is_remote. Use
13841 gdb_test_multiple instead of gdb_expect. Exit early if
13842 gdb_test_multiple hits its internal matches. Tighten stepi tests
13843 expected output. Fail on exit with any signal, instead of just
13846 2015-03-18 Yao Qi <yao.qi@linaro.org>
13849 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13851 * gdb.base/catch-syscall.exp: Don't skip it on
13852 aarch64*-*-linux* target. Remove elements in all_syscalls.
13853 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13855 (setup_all_syscalls): New proc.
13857 2015-03-16 Yao Qi <yao.qi@linaro.org>
13859 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13860 (top level): Skip tests if valid_addr_p returns false for
13863 2015-03-11 Andy Wingo <wingo@igalia.com>
13865 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13867 2015-03-11 Yao Qi <yao.qi@linaro.org>
13869 * gdb.base/catch-syscall.exp: Fix typo in comments.
13871 2015-03-11 Yao Qi <yao.qi@linaro.org>
13873 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13875 2015-03-09 Pedro Alves <palves@redhat.com>
13877 * dg-extract-results.py: Delete.
13879 2015-03-09 Pedro Alves <palves@redhat.com>
13881 Merge dg-extract-results.sh from GCC upstream (r218843).
13883 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13884 * dg-extract-results.sh: Use --text with grep to avoid issues with
13885 binary files. Fall back to cat -v, if that doesn't work.
13887 2015-03-05 Pedro Alves <palves@redhat.com>
13889 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13891 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13893 * lib/mi-support.exp (mi_expect_interrupt): Accept
13894 alternative event for when in all-stop mode.
13896 2015-03-04 Pedro Alves <palves@redhat.com>
13898 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13900 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13902 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13904 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13906 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13907 regexps for GDB's current line display, accept a hex address
13908 preceding the line number.
13910 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13912 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13913 the 'arch1' variable for "s390*-linux*" targets.
13915 2015-03-04 Pedro Alves <palves@redhat.com>
13917 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13918 (main): Pass missing retval argument to pthread_join call.
13920 2015-03-02 Pedro Alves <palves@redhat.com>
13922 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13923 (top level): Call do_test with non-stop as well.
13925 2015-03-02 Pedro Alves <palves@redhat.com>
13927 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13930 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13932 * gdb.arch/s390-vregs.exp: New test.
13933 * gdb.arch/s390-vregs.S: New file.
13935 2015-02-27 Pedro Alves <palves@redhat.com>
13937 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13938 call to catch_command_errors.
13939 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13940 catch_command_errors.
13942 2015-02-27 Pedro Alves <palves@redhat.com>
13944 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13945 "true" for boolean result.
13946 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13949 2015-02-27 Pedro Alves <palves@redhat.com>
13951 * lib/unbuffer_output.c: New file.
13952 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13953 (main): Call gdb_unbuffer_output.
13955 2015-02-27 Yao Qi <yao.qi@linaro.org>
13957 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13960 2015-02-26 Doug Evans <dje@google.com>
13962 * gdb.cp/class2.cc (Dbase, D): New classes.
13963 (main): New local delta.
13964 * gdb.cp/class2.exp: Test printing delta.
13965 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13966 (dynbar): New global.
13967 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13969 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13971 * gdb.compile/compile-ifunc.c: New file.
13972 * gdb.compile/compile-ifunc.exp: New file.
13974 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13976 * gdb.base/structs.exp: Check for correct struct on finish.
13978 2015-02-26 Yao Qi <yao.qi@linaro.org>
13980 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13983 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13985 * gdb.arch/cordic.ko.bz2: New file.
13986 * gdb.arch/cordic.ko.debug.bz2: New file.
13987 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13989 2015-02-25 Yao Qi <yao.qi@linaro.org>
13991 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13992 aarch64*-*-* target.
13994 2015-02-23 Pedro Alves <palves@redhat.com>
13996 * lib/gdb.exp (delete_breakpoints): Rewrite using
13999 2015-02-23 Pedro Alves <palves@redhat.com>
14001 * gdb.base/info-os.c: Include stdlib.h.
14003 2015-02-22 Doug Evans <xdje42@gmail.com>
14006 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14007 is read after symbols have been re-read.
14008 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14009 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14011 2015-02-21 Doug Evans <dje@google.com>
14013 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14015 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14018 * gdb.arch/i386-biarch-core.core.bz2: New file.
14019 * gdb.arch/i386-biarch-core.exp: New file.
14021 2015-02-21 Pedro Alves <palves@redhat.com>
14023 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14026 2015-02-20 Pedro Alves <palves@redhat.com>
14028 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14031 2015-02-20 Pedro Alves <palves@redhat.com>
14033 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14035 2015-02-20 Pedro Alves <palves@redhat.com>
14037 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14038 clean_restart before gdb_target_supports_trace.
14040 2015-02-20 Pedro Alves <palves@redhat.com>
14043 * gdb.threads/clone-thread_db.c: New file.
14044 * gdb.threads/clone-thread_db.exp: New file.
14046 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14048 PR breakpoints/16812
14049 * gdb.base/catch-gdb-caused-signals.c: New file.
14050 * gdb.base/catch-gdb-caused-signals.exp: New file.
14052 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14054 * configure: Regenerated.
14055 * configure.ac: Use GDB_AC_TRANSFORM.
14056 * aclocal.m4: sinclude ../transform.m4.
14058 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14060 * lib/dtrace.exp: New file.
14061 * gdb.base/dtrace-probe.exp: Likewise.
14062 * gdb.base/dtrace-probe.d: Likewise.
14063 * gdb.base/dtrace-probe.c: Likewise.
14064 * lib/pdtrace.in: Likewise.
14065 * configure.ac: Output variables with the transformed names of
14066 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14067 * configure: Regenerated.
14069 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14071 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14072 expected message when trying to access $_probe_* convenience
14073 variables while not on a probe.
14075 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14077 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14079 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14081 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14082 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14084 2015-02-10 Doug Evans <xdje42@gmail.com>
14086 * lib/gdb.exp (gdb_load): Always return a result.
14088 2015-02-10 Pedro Alves <palves@redhat.com>
14090 * gdb.threads/signal-sigtrap.c: New file.
14091 * gdb.threads/signal-sigtrap.exp: New file.
14093 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14095 * gdb.trace/no-attach-trace.c: New file.
14096 * gdb.trace/no-attach-trace.exp: New file.
14098 2015-02-09 Mark Wielaard <mjw@redhat.com>
14100 * gdb.dwarf2/atomic.c: New file.
14101 * gdb.dwarf2/atomic-type.exp: Likewise.
14103 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14105 * gdb.btrace/buffer-size.exp: Update "info record" output.
14106 * gdb.btrace/delta.exp: Update "info record" output.
14107 * gdb.btrace/enable.exp: Update "info record" output.
14108 * gdb.btrace/finish.exp: Update "info record" output.
14109 * gdb.btrace/instruction_history.exp: Update "info record" output.
14110 * gdb.btrace/next.exp: Update "info record" output.
14111 * gdb.btrace/nexti.exp: Update "info record" output.
14112 * gdb.btrace/step.exp: Update "info record" output.
14113 * gdb.btrace/stepi.exp: Update "info record" output.
14114 * gdb.btrace/nohist.exp: Update "info record" output.
14116 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14118 * gdb.btrace/buffer-size: New.
14120 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14122 * gdb.btrace/delta.exp: Update "info record" output.
14123 * gdb.btrace/enable.exp: Update "info record" output.
14124 * gdb.btrace/finish.exp: Update "info record" output.
14125 * gdb.btrace/instruction_history.exp: Update "info record" output.
14126 * gdb.btrace/next.exp: Update "info record" output.
14127 * gdb.btrace/nexti.exp: Update "info record" output.
14128 * gdb.btrace/step.exp: Update "info record" output.
14129 * gdb.btrace/stepi.exp: Update "info record" output.
14130 * gdb.btrace/nohist.exp: Update "info record" output.
14132 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14135 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14137 2015-02-06 Pedro Alves <palves@redhat.com>
14139 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14141 (seconds_left, again): New globals.
14142 (main): Wait seconds_left in a 1-second sleep loop instead of
14143 sleeping 180 seconds. If 'again' is set, reset the seconds
14145 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14146 'again' in the inferior before detaching. Print the seconds left.
14147 (options): New global.
14148 (top level): Build program with -DTIMEOUT=$timeout.
14150 2015-02-06 Pedro Alves <palves@redhat.com>
14152 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14153 determine how many seconds to pass to 'alarm'.
14154 * gdb.base/gdb-sigterm.exp (top level): Build program with
14155 -DTIMEOUT=$timeout.
14156 (do_test): Return success/failure indication. Add more verbose
14157 logging. Don't fail if 200 single steps are seen. Instead, fail
14158 when the test times out.
14159 (passes): New global.
14160 (top level): Break the testing loop if testing fails on any
14161 iteration. Use gdb_assert.
14163 2015-02-04 Don Breazeal <donb@codesourcery.com>
14165 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14166 and initialize them.
14167 (ipc_cleanup): New function.
14168 (main): Don't declare shmid, semid, and msqid. Add a call to
14169 atexit so that we call ipc_cleanup on exit.
14171 2015-02-04 Pedro Alves <palves@redhat.com>
14173 * boards/native-extended-gdbserver.exp: Remove any target variant
14174 specifications from the board name before clearing the isremote
14175 flag from board_info.
14177 2015-01-31 Doug Evans <xdje42@gmail.com>
14179 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14181 2015-01-31 Gary Benson <gbenson@redhat.com>
14183 * gdb.base/completion.exp: Disable completion limiting for
14184 existing tests. Add new tests to check completion limiting.
14185 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14187 2015-01-31 Doug Evans <xdje42@gmail.com>
14189 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14191 2015-01-31 Doug Evans <xdje42@gmail.com>
14193 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14194 entries. Duplicate file section script entries.
14195 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14196 inlined entries. Add test for safe-path rejection.
14197 * gdb.python/py-section-script.c: Add duplicate inlined section script
14198 entries. Duplicate file section script entries.
14199 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14200 inlined entries. Add test for safe-path rejection.
14202 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14204 * gdb.ada/disc_arr_bound: New testcase.
14206 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14208 * gdb.ada/mi_var_array: New testcase.
14210 2015-01-27 Doug Evans <dje@google.com>
14212 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14213 Add test for objfile.filename, objfile.username after objfile
14216 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14218 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14219 the second test to print the name attribute of value
14220 returned by the call to gdb.lookup_type, and adjust
14221 the expected output accordingly.
14223 2015-01-25 Mark Wielaard <mjw@redhat.com>
14225 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14226 * gdb.base/disp-step-fork.c: Include unistd.h.
14227 * gdb.base/siginfo-obj.c: Include stdio.h.
14228 * gdb.base/siginfo-thread.c: Likewise.
14229 * gdb.mi/non-stop.c: Include unistd.h.
14230 * gdb.mi/nsthrexec.c: Include stdio.h.
14231 * gdb.mi/pthreads.c: Include unistd.h.
14232 * gdb.modula2/unbounded1.c (main): Declare returns int.
14233 * gdb.reverse/consecutive-reverse.c: Likewise.
14234 * gdb.threads/create-fail.c: Include unistd.h.
14235 * gdb.threads/killed.c: Likewise.
14236 * gdb.threads/linux-dp.c: Likewise.
14237 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14238 * gdb.threads/non-ldr-exc-2.c: Likewise.
14239 * gdb.threads/non-ldr-exc-3.c: Likewise.
14240 * gdb.threads/non-ldr-exc-4.c: Likewise.
14241 * gdb.threads/pthreads.c: Include unistd.h.
14242 (main): Declare returns int.
14243 * gdb.threads/tls-main.c (foo): New declaration.
14244 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14246 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14248 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14249 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14251 2015-01-15 Mark Wielaard <mjw@redhat.com>
14253 * gdb.base/noreturn-return.c: New file.
14254 * gdb.base/noreturn-return.exp: New file.
14255 * gdb.base/noreturn-finish.c: New file.
14256 * gdb.base/noreturn-finish.exp: New file.
14258 2015-01-23 Pedro Alves <palves@redhat.com>
14260 * gdb.threads/continue-pending-after-query.c: New file.
14261 * gdb.threads/continue-pending-after-query.exp: New file.
14263 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14264 Simon Marchi <simon.marchi@ericsson.com>
14266 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14267 * gdb.base/valgrind-db-attach.exp: Same.
14268 * gdb.base/valgrind-infcall.exp: Same.
14269 * lib/mi-support.exp (default_mi_gdb_start): Same.
14270 * lib/prompt.exp (default_prompt_gdb_start): Same.
14271 * lib/gdb.exp (default_gdb_spawn): Same.
14272 (gdb_interact): New.
14275 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14277 * gdb.compile/compile.exp (pointer to jit function): New test.
14279 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14281 * lib/gdb.exp (supports_process_record): Return true for
14283 (supports_reverse): Likewise.
14285 2015-01-15 Don Breazeal <donb@codesourcery.com>
14287 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14288 instead of checking whether the target board is remote and
14289 use spawn_wait_for_attach instead of exec/sleep.
14290 * gdb.base/attach-twice.exp: Likewise.
14292 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14294 * gdb.ada/var_arr_attrs: New testcase.
14296 2015-01-14 Pedro Alves <palves@redhat.com>
14297 Joel Brobecker <brobecker@adacore.com>
14300 * gdb.base/bp-cmds-execution-x-script.c: New file.
14301 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14302 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14304 2015-01-14 Pedro Alves <palves@redhat.com>
14307 * gdb.base/batch-preserve-term-settings.c: New file.
14308 * gdb.base/batch-preserve-term-settings.exp: New file.
14310 2015-01-13 Doug Evans <dje@google.com>
14312 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14315 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14317 * Makefile.in (clean mostlyclean): Do not delete *.py.
14319 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14321 * gdb.python/py-lookup-type.exp: New file.
14323 2015-01-12 Pedro Alves <palves@redhat.com>
14325 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14326 restore GDBFLAGS before returning.
14328 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14330 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14331 is_amd64_regs_target and is_x86_like_target.
14333 2015-01-11 Doug Evans <xdje42@gmail.com>
14335 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14336 is given without an explicit form.
14337 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14339 * gdb.dwarf/corrupt.exp: Ditto.
14340 * gdb.dwarf2/enum-type.exp: Ditto.
14341 * gdb.trace/entry-values.exp: Ditto.
14342 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14344 2015-01-11 Doug Evans <xdje42@gmail.com>
14347 * gdb.base/maint.exp: Remove references to "maint demangle".
14348 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14349 Add tests for explicitly specifying language to demangle.
14350 * gdb.dlang/demangle.exp: Ditto.
14352 2015-01-09 Pedro Alves <palves@redhat.com>
14354 * gdb.threads/non-stop-fair-events.c: New file.
14355 * gdb.threads/non-stop-fair-events.exp: New file.
14357 2015-01-09 Pedro Alves <palves@redhat.com>
14359 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14360 the global scope. Set a breakpoint after all threads are started
14361 rather than stepping over two source lines. Expect the prompt.
14362 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14365 (main): Use threads_started_barrier to wait for all threads to
14366 start. Main thread no longer calls thread_function. Exit after
14368 (loop): New function.
14369 (thread_function): Wait on threads_started_barrier barrier. Call
14370 'loop' at each iteration.
14371 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14372 threads have started, instead of hardcoding number of "next"
14373 steps. Use an access watchpoint instead of a write watchpoint.
14375 2015-01-09 Pedro Alves <palves@redhat.com>
14377 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14378 (thread_func): Wait on barrier.
14379 (main): Wait for all threads to start before stopping GDB.
14380 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14382 (thread1_func, thread2_func): Wait on barrier.
14383 (main): Wait for all threads to start before stopping GDB.
14384 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14386 (thread1_func, thread2_func): Wait on barrier.
14387 (main): Wait for all threads to start before stopping GDB.
14389 2015-01-09 Pedro Alves <palves@redhat.com>
14391 * gdb.threads/attach-many-short-lived-threads.c: New file.
14392 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14394 2014-01-09 Pedro Alves <palves@redhat.com>
14396 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14397 instead of to thread 2.
14398 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14399 Add barrier around each pthread_create call instead of around all
14401 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14402 Set a break on thread_function and have the child threads hit it
14405 2015-01-09 Pedro Alves <palves@redhat.com>
14407 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14408 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14410 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14411 checking whether the target board is remote.
14412 * gdb.multi/multi-attach.exp: Likewise.
14413 * gdb.python/py-sync-interp.exp: Likewise.
14414 * gdb.server/ext-attach.exp: Likewise.
14415 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14416 tests that need to attach, instead of checking whether the target
14417 board is remote at the top of the file.
14419 2015-01-08 Yao Qi <yao@codesourcery.com>
14421 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14423 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14425 Fix testcase compilation.
14426 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14428 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14430 * gdb.python/py-type.exp: Add a couple test about empty
14431 array creation, and negative-length array creation.
14433 2015-01-02 Doug Evans <xdje42@gmail.com>
14435 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14437 2015-01-02 Doug Evans <dje@google.com>
14439 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14441 2014-12-29 Yao Qi <yao@codesourcery.com>
14443 * gdb.trace/entry-values.exp: Update comments. Rename variable
14444 bar_call_foo to returned_from_foo.
14446 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14449 * gdb.linespec/break-asm-file.c: New file.
14450 * gdb.linespec/break-asm-file.exp: New file.
14451 * gdb.linespec/break-asm-file0.s: New file.
14452 * gdb.linespec/break-asm-file1.s: New file.
14454 2014-12-18 Nigel Stephens <nigel@mips.com>
14455 Maciej W. Rozycki <macro@codesourcery.com>
14457 * gdb.base/float.exp: Handle the new output from "info float" on
14460 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14462 Fix MinGW compilation.
14463 * gdb.compile/compile-ops.exp: Update untested message if
14464 !skip_compile_feature_tests.
14465 * gdb.compile/compile-setjmp.exp: Likewise.
14466 * gdb.compile/compile-tls.exp: Likewise.
14467 * gdb.compile/compile.exp: Likewise.
14468 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14469 supported on this host".
14471 2014-12-16 Doug Evans <xdje42@gmail.com>
14473 * boards/stabs.exp: New file.
14475 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14477 * gdb.base/completion.exp: Adjust to format changes of "maint
14478 print user-registers".
14480 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14483 * gdb.arch/aarch64-fp.c: New file.
14484 * gdb.arch/aarch64-fp.exp: New file.
14486 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14488 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14489 r210637, r210913, r211666, r215400, r215817).
14491 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14492 * dg-extract-results.py: New file.
14493 * dg-extract-results.sh: Use it if the environment seems
14496 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14498 * dg-extract-results.py (parse_run): Handle warnings that
14499 are printed before a test harness is run.
14501 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14503 * dg-extract-results.py (Named): Remove __cmp__ method.
14504 (output_variation): Use a key to sort variation.harnesses.
14506 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14508 * dg-extract-results.py: For Python 3, force sys.stdout to
14509 handle surrogate escape sequences.
14510 (safe_open): New function.
14511 (output_segment, main): Use it.
14513 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14515 * dg-extract-results.py (Prog.result_re): Include options
14518 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14520 * dg-extract-results.py (output_variation): Always sort if
14523 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14525 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14526 as long as we get pagination notifications.
14528 2014-12-15 Jason Merrill <jason@redhat.com>
14530 * Makefile.in (check-gdb.%): Restore.
14531 * README: Mention it.
14533 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14535 * gdb.ada/str_uninit: New testcase.
14537 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14540 * gdb.base/vla-stub-define.c: New file.
14541 * gdb.base/vla-stub.c: New file.
14542 * gdb.base/vla-stub.exp: New file.
14544 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14545 Jan Kratochvil <jan.kratochvil@redhat.com>
14546 Tom Tromey <tromey@redhat.com>
14548 * configure.ac: Add gdb.compile/.
14549 * configure: Regenerate.
14550 * gdb.compile/Makefile.in: New file.
14551 * gdb.compile/compile-ops.exp: New file.
14552 * gdb.compile/compile-ops.c: New file.
14553 * gdb.compile/compile-tls.c: New file.
14554 * gdb.compile/compile-tls.exp: New file.
14555 * gdb.compile/compile-constvar.S: New file.
14556 * gdb.compile/compile-constvar.c: New file.
14557 * gdb.compile/compile-mod.c: New file.
14558 * gdb.compile/compile-nodebug.c: New file.
14559 * gdb.compile/compile-setjmp-mod.c: New file.
14560 * gdb.compile/compile-setjmp.c: New file.
14561 * gdb.compile/compile-setjmp.exp: New file.
14562 * gdb.compile/compile-shlib.c: New file.
14563 * gdb.compile/compile.c: New file.
14564 * gdb.compile/compile.exp: New file.
14565 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14567 2014-12-12 Tom Tromey <tromey@redhat.com>
14569 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14570 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14572 2014-12-12 Doug Evans <dje@google.com>
14574 * lib/gdb-python.exp (get_python_valueof): New function.
14575 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14577 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14579 * gdb.base/completion.exp: Add test for completion of "info
14582 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14584 * gdb.base/func-ptrs.c: New file.
14585 * gdb.base/func-ptrs.exp: New file.
14587 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14589 PR breakpoints/17012
14590 * gdb.base/dprintf-detach.c: New file.
14591 * gdb.base/dprintf-detach.exp: New file.
14593 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14595 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14596 * lib/gdb.exp (target_is_gdbserver): New procedure.
14598 2014-12-08 Doug Evans <dje@google.com>
14600 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14602 2014-12-05 Yao Qi <yao@codesourcery.com>
14604 * gdb.guile/scm-error.exp: Remove the third argument to
14605 gdb_remote_download.
14606 * gdb.guile/scm-frame-args.exp: Likewise.
14607 * gdb.guile/scm-section-script.exp: Likewise.
14609 2014-12-05 Yao Qi <yao@codesourcery.com>
14611 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14613 2014-12-04 Doug Evans <dje@google.com>
14615 * gdb.python/py-objfile.exp: Add tests for
14616 objfile.add_separate_debug_file.
14618 2014-12-04 Doug Evans <dje@google.com>
14620 * lib/gdb.exp (get_build_id): New function.
14621 (build_id_debug_filename_get): Rewrite to use it.
14622 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14624 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14626 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14627 `method(long)', not just 0x0.
14628 * gdb.cp/nsalias.exp: Align code labels to 4.
14629 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14630 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14631 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14632 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14633 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14634 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14636 2014-12-02 Doug Evans <dje@google.com>
14639 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14640 * gdb.cp/anon-ns2.cc: ... here. New file.
14641 * gdb.cp/anon-ns.exp: Update.
14643 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14645 * gdb.python/py-events.py (inferior_call_handler): New.
14646 (register_changed_handler, memory_changed_handler): New.
14647 (test_events.invoke): Register new handlers.
14648 * gdb.python/py-events.exp: Add tests for inferior call,
14649 memory_changed and register_changed events.
14651 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14653 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14654 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14655 if the linker doesn't understand this.
14657 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14659 * gdb.python/python.exp: Change expected reply to help().
14661 2014-12-01 Yao Qi <yao@codesourcery.com>
14663 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14664 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14665 * configure: Re-generated.
14667 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14669 * gdb.cp/chained-calls.cc: New file.
14670 * gdb.cp/chained-calls.exp: New file.
14671 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14673 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14675 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14676 * gdb.dwarf2/symtab-producer.exp: Same.
14677 * gdb.gdb/python-interrupts.exp: Same.
14678 * gdb.gdb/python-selftest.exp: Same.
14679 * gdb.python/py-linetable.exp: Same.
14680 * gdb.python/py-type.exp: Same.
14681 * gdb.python/py-value-cc.exp: Same.
14682 * gdb.python/py-value.exp: Same.
14684 2014-11-28 Yao Qi <yao@codesourcery.com>
14686 * gdb.base/break-probes.exp: Match library name prefixed with
14689 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14691 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14692 test expected output. Add parentheses for the call to print.
14693 Remove L suffix from integers.
14695 2014-11-26 Doug Evans <dje@google.com>
14697 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14699 2014-11-22 Yao Qi <yao@codesourcery.com>
14701 * gdb.trace/entry-values.c: Remove asms.
14702 (foo): Add foo_label.
14703 (bar): Add bar_label.
14704 * gdb.trace/entry-values.exp: Remove code computing foo's
14705 length and bar's length.
14706 (Dwarf::assemble): Invoke function_range for bar and use
14707 MACRO_AT_func for foo.
14709 2014-11-22 Yao Qi <yao@codesourcery.com>
14711 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14712 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14713 Use .Lgcc43_procstart instead of gcc43.
14715 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14717 * gdb.ada/n_arr_bound: New testcase.
14719 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14721 PR breakpoints/10737
14722 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14723 test_catch_syscall_multi_arch.
14724 (test_catch_syscall_multi_arch): New function.
14726 2014-11-20 Doug Evans <xdje42@gmail.com>
14728 * gdb.base/maint.exp: Update expected output.
14730 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14732 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14733 4-byte instruction on S390.
14735 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14737 * gdb.ada/arr_arr: New testcase.
14739 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14741 * gdb.ada/pkd_arr_elem: New Testcase.
14743 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14745 * gdb.reverse/break-precsave: Expect completion message for
14747 * gdb.reverse/consecutive-precsave.exp: Likewise.
14748 * gdb.reverse/finish-precsave.exp: Likewise.
14749 * gdb.reverse/i386-precsave.exp: Likewise.
14750 * gdb.reverse/machinestate-precsave.exp: Likewise.
14751 * gdb.reverse/sigall-precsave.exp: Likewise.
14752 * gdb.reverse/solib-precsave.exp: Likewise.
14753 * gdb.reverse/step-precsave.exp: Likewise.
14754 * gdb.reverse/until-precsave.exp: Likewise.
14755 * gdb.reverse/watch-precsave.exp: Likewise.
14757 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14759 * gdb.base/bp-permanent.c: Include unistd.h.
14760 * gdb.python/py-framefilter-mi.c (main): Add return type.
14761 * gdb.python/py-framefilter.c (main): Likewise.
14762 * gdb.trace/actions-changed.c (main): Likewise.
14764 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14766 * gdb.mi/until.c: Add eye-catchers.
14767 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14770 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14772 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14773 function header variants in break1.c.
14774 * gdb.base/ena-dis-br.exp: Likewise.
14775 * gdb.base/hbreak2.exp: Likewise.
14776 * gdb.reverse/until-precsave.exp: Drop references to removed
14777 non-prototype function header variants in ur1.c.
14778 * gdb.reverse/until-reverse.exp: Likewise.
14780 2014-11-17 Petr Machata <pmachata@redhat.com>
14782 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14783 ${_cu_offset_size} bytes abbrev offset.
14785 2014-11-15 Doug Evans <xdje42@gmail.com>
14788 * gdb.base/line-symtabs.exp: New file.
14789 * gdb.base/line-symtabs.c: New file.
14790 * gdb.base/line-symtabs.h: New file.
14792 2014-11-14 Yao Qi <yao@codesourcery.com>
14794 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14795 (func): Add label func_label.
14796 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14797 Replace low_pc and high_pc with MACRO_AT_range.
14798 Replace name, low_pc and high_pc with MACRO_AT_func.
14800 2014-11-14 Yao Qi <yao@codesourcery.com>
14802 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14803 Replace name, low_pc and high_pc with MACRO_AT_func.
14805 2014-11-14 Yao Qi <yao@codesourcery.com>
14807 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14808 produce debug information.
14809 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14811 2014-11-14 Yao Qi <yao@codesourcery.com>
14813 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14814 object and get function length.
14815 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14816 with MACRO_AT_func.
14817 (top-level): Replace gdb_compile and clean_restart with
14818 prepare_for_testing.
14819 * gdb.dwarf2/main.c (main): Add label main_label.
14821 2014-11-14 Yao Qi <yao@codesourcery.com>
14823 * lib/dwarf.exp (function_range): New procedure.
14824 (Dwarf::_handle_macro_at_func): New procedure.
14825 (Dwarf::_handle_macro_at_range): New procedure.
14826 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14828 2014-11-14 Yao Qi <yao@codesourcery.com>
14830 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14831 (_handle_attribute): New procedure.
14833 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14835 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14836 * gdb.base/call-sc.c (zed): Likewise.
14837 * gdb.base/checkpoint.c (main): Likewise.
14838 * gdb.base/dump.c (main): Likewise.
14839 * gdb.base/gcore.c (main): Likewise.
14840 * gdb.base/huge.c (main): Likewise.
14841 * gdb.base/multi-forks.c (main): Likewise.
14842 * gdb.base/pr10179-a.c (main): Likewise.
14843 * gdb.base/savedregs.c (main): Likewise.
14844 * gdb.base/sigaltstack.c (main): Likewise.
14845 * gdb.base/siginfo.c (main): Likewise.
14846 * gdb.base/structs.c (zed): Likewise.
14847 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14848 * gdb.mi/mi-syn-frame.c (main): Likewise.
14849 * gdb.mi/until.c (foo, main): Likewise.
14850 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14851 * gdb.base/solib-weak.c (foo): Declare.
14852 * gdb.base/attach-twice.c: Include stdio.h.
14853 * gdb.base/weaklib1.c: Likewise.
14854 * gdb.base/weaklib2.c: Likewise.
14855 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14856 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14858 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14859 * gdb.mi/mi-exit-code.c: Likewise.
14860 * gdb.base/break-interp-lib.c: Include string.h.
14861 * gdb.base/coremaker.c: Likewise.
14862 * gdb.base/testenv.c: Likewise.
14863 * gdb.python/py-finish-breakpoint.c: Likewise.
14864 * gdb.base/inferior-died.c: Include sys/wait.h.
14865 * gdb.base/fileio.c: Include time.h.
14866 * gdb.base/async-shell.c: Include unistd.h.
14867 * gdb.base/dprintf-non-stop.c: Likewise.
14868 * gdb.base/info-os.c: Likewise.
14869 * gdb.mi/mi-console.c: Likewise.
14870 * gdb.mi/watch-nonstop.c: Likewise.
14871 * gdb.python/py-events.c: Likewise.
14872 * gdb.base/async.c (baz): Move up before its invocation.
14873 * gdb.base/code_elim2.c (my_global_func): Likewise.
14874 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14875 * gdb.base/advance.c (func2): Likewise.
14877 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14879 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14881 * gdb.base/annota3.c: Likewise.
14882 * gdb.base/async.c: Likewise.
14883 * gdb.base/average.c: Likewise.
14884 * gdb.base/call-ar-st.c: Likewise.
14885 * gdb.base/call-rt-st.c: Likewise.
14886 * gdb.base/call-sc.c: Likewise.
14887 * gdb.base/call-strs.c: Likewise.
14888 * gdb.base/ending-run.c: Likewise.
14889 * gdb.base/execd-prog.c: Likewise.
14890 * gdb.base/exprs.c: Likewise.
14891 * gdb.base/foll-exec.c: Likewise.
14892 * gdb.base/foll-fork.c: Likewise.
14893 * gdb.base/foll-vfork.c: Likewise.
14894 * gdb.base/funcargs.c: Likewise.
14895 * gdb.base/gcore.c: Likewise.
14896 * gdb.base/jump.c: Likewise.
14897 * gdb.base/langs0.c: Likewise.
14898 * gdb.base/langs1.c: Likewise.
14899 * gdb.base/langs2.c: Likewise.
14900 * gdb.base/mips_pro.c: Likewise.
14901 * gdb.base/nodebug.c: Likewise.
14902 * gdb.base/opaque0.c: Likewise.
14903 * gdb.base/opaque1.c: Likewise.
14904 * gdb.base/recurse.c: Likewise.
14905 * gdb.base/run.c: Likewise.
14906 * gdb.base/scope0.c: Likewise.
14907 * gdb.base/scope1.c: Likewise.
14908 * gdb.base/setshow.c: Likewise.
14909 * gdb.base/setvar.c: Likewise.
14910 * gdb.base/shmain.c: Likewise.
14911 * gdb.base/shr1.c: Likewise.
14912 * gdb.base/shr2.c: Likewise.
14913 * gdb.base/sigall.c: Likewise.
14914 * gdb.base/signals.c: Likewise.
14915 * gdb.base/so-indr-cl.c: Likewise.
14916 * gdb.base/solib2.c: Likewise.
14917 * gdb.base/structs.c: Likewise.
14918 * gdb.base/sum.c: Likewise.
14919 * gdb.base/vforked-prog.c: Likewise.
14920 * gdb.base/watchpoint.c: Likewise.
14921 * gdb.reverse/shr2.c: Likewise.
14922 * gdb.reverse/until-reverse.c: Likewise.
14923 * gdb.reverse/ur1.c: Likewise.
14924 * gdb.reverse/watch-reverse.c: Likewise.
14926 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14928 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14930 * gdb.base/sepdebug.exp: Drop references to removed code.
14932 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14934 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14935 variant. Preserve original line numbering.
14936 * gdb.base/list1.c: Likewise.
14938 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14940 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14942 * gdb.base/break1.c: Likewise.
14943 * gdb.base/break.exp: Drop references to removed code.
14945 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14947 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14950 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14952 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14954 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14956 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14957 logic into perform_all_tests() and invoke it with and without
14958 function header prototypes.
14959 (do_function_calls): Remove conditional XFAIL for PR 5318.
14960 (rerun_and_prepare): Remove duplicate code.
14961 (perform_all_tests): New. Main logic moved here.
14963 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14965 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14966 code guarded by #ifdef NO_PROTOTYPES.
14967 (t_double_many_args): Likewise.
14968 (DEF_FUNC_MANY_ARGS_1): Likewise.
14969 (DEF_FUNC_VALUES_1): Likewise.
14970 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14971 guarded by #ifdef PROTOTYPES.
14973 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14975 * gdb.mi/mi-console.c: Add eye-catcher.
14976 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14977 instead of literal line number.
14979 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14981 * gdb.base/shr2.c: Add eye-catcher.
14982 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14985 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14987 * gdb.base/jump.c: Add eye-catchers.
14988 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14991 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14993 * gdb.base/execd-prog.c: Add eye-catchers.
14994 * gdb.base/foll-exec.c: Likewise.
14995 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14998 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15000 * gdb.base/ending-run.c: Add eye-catchers.
15001 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15002 literal line numbers.
15004 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15006 * gdb.base/call-rt-st.c: Add eye-catchers.
15007 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15008 literal line numbers.
15010 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15012 * gdb.base/call-ar-st.c: Add eye-catchers.
15013 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15014 literal line numbers.
15016 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15018 * gdb.base/average.c: Add eye-catchers.
15019 * gdb.base/sum.c: Likewise.
15020 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15021 regexps dynamically.
15023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15025 * gdb.base/solib1.c: Add eye-catchers.
15026 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15027 literal line numbers.
15029 2014-11-12 Pedro Alves <palves@redhat.com>
15031 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15034 2014-11-12 Pedro Alves <palves@redhat.com>
15036 * gdb.arch/i386-bp_permanent.c: New file.
15037 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15038 (srcfile): Set to i386-bp_permanent.c.
15039 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15040 that stepi does not execute the 'leave' instruction, instead of
15041 testing it does execute.
15042 * gdb.base/bp-permanent.c: New file.
15043 * gdb.base/bp-permanent.exp: New file.
15045 2014-11-10 Doug Evans <xdje42@gmail.com>
15048 * gdb.base/symtab-search-order.exp: New file.
15049 * gdb.base/symtab-search-order.c: New file.
15050 * gdb.base/symtab-search-order-1.c: New file.
15051 * gdb.base/symtab-search-order-shlib-1.c: New file.
15053 2014-11-07 Pedro Alves <palves@redhat.com>
15056 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15059 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15062 * gdb.cp/pr17494.cc: New file.
15063 * gdb.cp/pr17494.exp: New file.
15065 2014-11-02 Yao Qi <yao@codesourcery.com>
15067 * gdb.python/python.exp: Get working directory and match the
15068 output of "set extended-prompt \\w " with it.
15070 2014-10-30 Doug Evans <dje@google.com>
15072 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15074 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15077 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15079 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15080 * gdb.base/realname-expand.exp: Likewise.
15081 * gdb.linespec/macro-relative.exp: Likewise.
15083 2014-10-29 Pedro Alves <palves@redhat.com>
15086 * gdb.threads/schedlock.c (some_function): New function.
15087 (call_function): New global.
15088 (MAYBE_CALL_SOME_FUNCTION): New macro.
15089 (thread_function): Call it.
15090 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15091 and use it instead of a global counter. Adjust all callers.
15092 (get_current_thread): Use "find current thread" for test message
15093 here rather than having all callers pass down the same string.
15094 (goto_loop): New procedure, factored out from ...
15095 (my_continue): ... this.
15096 (step_ten_loops): Change parameter from test message to command to
15098 (list_count): Delete global.
15099 (check_result): New procedure, factored out from duplicate top
15101 (continue tests): Wrap in with_test_prefix.
15102 (test_step): New procedure, factored out from duplicate top level
15104 (top level): Test "step" in combination with all scheduler-locking
15105 modes. Test "next" in combination with all scheduler-locking
15106 modes, and in combination with stepping over a function call or
15108 * gdb.threads/next-bp-other-thread.c: New file.
15109 * gdb.threads/next-bp-other-thread.exp: New file.
15111 2014-10-29 Pedro Alves <palves@redhat.com>
15114 * gdb.python/python.exp: Test a multi-line command that spawns
15115 interactive Python.
15116 * gdb.base/multi-line-starts-subshell.exp: New file.
15118 2014-10-29 Yao Qi <yao@codesourcery.com>
15120 * gdb.base/fileio.exp: Make directories on host.
15122 2014-10-29 Yao Qi <yao@codesourcery.com>
15124 * gdb.base/fileio.c (test_write): Close the file.
15126 2014-10-28 Pedro Alves <palves@redhat.com>
15129 * gdb.base/sigstep.c (no_handler): New global.
15130 (main): If 'no_handler is true, set the signal handlers to
15132 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15133 with_sw_watch and no_handler parameters. Handle them.
15134 (top level) <stepping over handler when stopped at a breakpoint
15135 test>: Add a test axis for testing with a software watchpoint, and
15136 another for testing with the signal handler set to SIG_IGN.
15137 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15138 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15140 2014-10-28 Pedro Alves <palves@redhat.com>
15143 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15144 * gdb.base/sigstep.exp (other_handler_location): New global.
15145 (advance): Support stepping into the signal handler, and running
15146 commands while in the handler.
15147 (in_handler_map): New global.
15148 (top level): In the advance test, add combinations for getting
15149 into the handler with stepping commands, and for running commands
15150 in the handler. Add comment descripting the advancei tests.
15152 2014-10-28 Pedro Alves <palves@redhat.com>
15154 * gdb.base/sigstep.exp: Use build_executable instead of
15155 prepare_for_testing.
15156 (top level): Move code that starts GDB, runs to main and creates a
15158 (restart): ... this new procedure.
15159 (top level): Move backtrace from signal handler test to ...
15160 (validate_backtrace): ... this new procedure.
15161 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15162 with_test_prefix. Always restart GDB.
15163 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15164 with_test_prefix. Always restart GDB. No need to delete
15165 breakpoints after the test.
15166 (test_skip_handler): Remove prefix parameter.
15167 (skip_over_handler, breakpoint_to_handler)
15168 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15169 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15170 restart GDB. No need to delete breakpoints after the test.
15171 (top level): Use foreach to call the test procedures with
15172 different commands.
15174 2014-10-28 Pedro Alves <palves@redhat.com>
15176 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15177 instead of GNATS numbers.
15178 * gdb.base/sigbpt.exp: Likewise.
15179 * gdb.base/siginfo.exp: Likewise.
15180 * gdb.base/sigstep.exp: Likewise.
15182 2014-10-27 Pedro Alves <palves@redhat.com>
15184 * gdb.base/sigstep.c (dummy): New global.
15185 (main): Issue a couple writes to the new global.
15186 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15188 (skip_over_handler): Use test_skip_handler.
15189 (top level): Call skip_over_handler for stepi and nexti too.
15190 (breakpoint_over_handler): Use test_skip_handler.
15191 (top level): Call breakpoint_over_handler for stepi and nexti too.
15193 2014-10-27 Yao Qi <yao@codesourcery.com>
15195 * gdb.trace/tfile.c (adjust_function_address)
15196 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15197 function descriptor.
15199 2014-10-24 Don Breazeal <donb@codesourcery.com>
15201 * gdb.base/foll-fork.exp (test_follow_fork,
15202 catch_fork_child_follow): Check for updated fork messages emitted
15204 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15205 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15206 vfork_and_exec_child_follow_through_step): Check for updated vfork
15207 messages emitted from infrun.c.
15209 2014-10-24 Pedro Alves <palves@redhat.com>
15211 * gdb.base/corefile.exp: Remove references to ultrix.
15212 * gdb.base/interrupt.exp: Likewise.
15213 * gdb.base/whatis.exp: Likewise.
15214 * gdb.gdb/selftest.exp: Likewise.
15215 * gdb.threads/manythreads.exp: Likewise.
15216 * gdb.threads/print-threads.exp: Likewise.
15217 * gdb.threads/pthreads.exp:: Likewise.
15218 * gdb.threads/schedlock.exp: Likewise.
15220 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15222 * gdb.cp/non-trivial-retval.cc: Add a test case.
15223 * gdb.cp/non-trivial-retval.exp: Add a test.
15225 2014-10-20 Yao Qi <yao@codesourcery.com>
15227 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15228 * gdb.python/py-objfile-script-gdb.py: New file.
15229 * gdb.python/py-objfile-script.exp: Update reference to
15230 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15231 of remote_download. Remove the dest file.
15233 2014-10-20 Yao Qi <yao@codesourcery.com>
15235 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15236 * gdb.base/step-line.exp: Likewise.
15237 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15238 * gdb.dwarf2/dw2-basic.exp: Likewise.
15239 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15240 * gdb.dwarf2/dw2-filename.exp: Likewise.
15241 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15242 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15243 * gdb.dwarf2/dw2-producer.exp: Likewise.
15244 * gdb.dwarf2/mac-fileno.exp: Likewise.
15245 * gdb.python/py-frame-args.exp: Likewise.
15246 * gdb.python/py-framefilter.exp: Likewise.
15247 * gdb.python/py-mi.exp: Likewise.
15248 * gdb.python/py-objfile-script.exp: Likewise
15249 * gdb.python/py-pp-integral.exp: Likewise.
15250 * gdb.python/py-pp-re-notag.exp: Likewise.
15251 * gdb.python/py-prettyprint.exp: Likewise.
15252 * gdb.python/py-section-script.exp: Likewise.
15253 * gdb.python/py-typeprint.exp: Likewise.
15254 * gdb.python/py-xmethods.exp: Likewise.
15255 * gdb.stabs/weird.exp: Likewise.
15256 * gdb.xml/tdesc-regs.exp: Likewise.
15258 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15260 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15261 (out_cu): Use addr_len for the size of addresses.
15262 (out_line): Likewise. Size DW_LNE_set_address instruction
15263 according to addr_len.
15264 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15265 (FUNC): Add START_INSNS to definition.
15267 2014-10-18 Yao Qi <yao@codesourcery.com>
15269 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15270 gdb_has_argv0 return true.
15271 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15272 check [target_info exists noargs], check [gdb_has_argv0]
15274 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15275 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15278 2014-10-17 Doug Evans <dje@google.com>
15280 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15282 * gdb.python/py-events.py: Add clear_objfiles event.
15284 2014-10-17 Doug Evans <dje@google.com>
15286 * gdb.python/py-objfile.exp: Test progspace attribute.
15288 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15290 * gdb.guile/scm-breakpoint.exp: Do not assume any
15291 directory separators when matching source file paths.
15292 * gdb.python/py-breakpoint.exp: Likewise.
15293 * gdb.reverse/break-precsave.exp: Likewise.
15294 * gdb.reverse/break-reverse.exp: Likewise.
15295 * gdb.reverse/consecutive-precsave.exp: Likewise.
15296 * gdb.reverse/finish-precsave.exp: Likewise.
15297 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15298 * gdb.reverse/finish-reverse.exp: Likewise.
15299 * gdb.reverse/i386-precsave.exp: Likewise.
15300 * gdb.reverse/i387-env-reverse.exp: Likewise.
15301 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15302 * gdb.reverse/machinestate-precsave.exp: Likewise.
15303 * gdb.reverse/machinestate.exp: Likewise.
15304 * gdb.reverse/sigall-precsave.exp: Likewise.
15305 * gdb.reverse/solib-precsave.exp: Likewise.
15306 * gdb.reverse/step-precsave.exp: Likewise.
15307 * gdb.reverse/until-precsave.exp: Likewise.
15308 * gdb.reverse/watch-precsave.exp: Likewise.
15309 * gdb.reverse/watch-reverse.exp: Likewise.
15311 2014-10-17 Yao Qi <yao@codesourcery.com>
15313 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15314 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15316 2014-10-17 Pedro Alves <palves@redhat.com>
15319 * gdb.base/bg-execution-repeat.c: New file.
15320 * gdb.base/bg-execution-repeat.exp: New file.
15322 2014-10-17 Pedro Alves <palves@redhat.com>
15325 * gdb.base/continue-all-already-running.c: New file.
15326 * gdb.base/continue-all-already-running.exp: New file.
15328 2014-10-17 Pedro Alves <palves@redhat.com>
15331 * gdb.base/annota-input-while-running.c: New file.
15332 * gdb.base/annota-input-while-running.exp: New file.
15334 2014-10-17 Pedro Alves <palves@redhat.com>
15336 * gdb.base/callfuncs.exp: emove references to osf.
15337 * gdb.base/sigall.exp: Likewise.
15338 * gdb.gdb/selftest.exp: Likewise.
15339 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15340 * gdb.mi/non-stop.c: Likewise.
15341 * gdb.mi/pthreads.c: Likewise.
15342 * gdb.reverse/sigall-precsave.exp: Likewise.
15343 * gdb.reverse/sigall-reverse.exp: Likewise.
15344 * gdb.threads/pthreads.c: Likewise.
15345 * gdb.threads/pthreads.exp: Likewise.
15347 2014-10-17 Yao Qi <yao@codesourcery.com>
15349 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15350 check 'target_info exists noargs'.
15351 (test_command_prompt_position): Likewise.
15352 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15354 (progvar_simple_while_test): Likewise.
15355 (progvar_complex_if_while_test): Likewise.
15356 (if_while_breakpoint_command_test): Likewise.
15357 (infrun_breakpoint_command_test): Likewise.
15358 (breakpoint_command_test): Likewise.
15359 (watchpoint_command_test): Likewise.
15360 (bp_deleted_in_command_test): Likewise.
15361 (temporary_breakpoint_commands): Likewise.
15363 2014-10-16 Yao Qi <yao@codesourcery.com>
15365 * gdb.base/remotetimeout.exp: Remove noargs checking.
15367 2014-10-15 Pedro Alves <palves@redhat.com>
15369 PR breakpoints/9649
15370 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15371 * gdb.base/breakpoint-in-ro-region.exp
15372 (probe_target_hardware_step): New procedure.
15373 (top level): Probe hardware stepping and hardware breakpoint
15374 support. Test stepping through a read-only region, with both
15375 "breakpoint auto-hw" on and off and both "always-inserted" on and
15378 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15380 * gdb.dlang/demangle.exp: Update for demangling changes.
15382 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15384 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15385 * gdb.cp/non-trivial-retval.exp: Add new tests.
15387 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15391 * gdb.cp/non-trivial-retval.cc: New file.
15392 * gdb.cp/non-trivial-retval.exp: New file.
15394 2014-10-15 Yao Qi <yao@codesourcery.com>
15396 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15399 2014-10-15 Yao Qi <yao@codesourcery.com>
15401 * gdb.python/py-symbol.exp: Match file base name if host is
15402 remote, otherwise match file name with dir name.
15403 * gdb.python/py-symtab.exp: Likewise.
15404 * gdb.python/python.exp: Likewise.
15406 2014-10-15 Yao Qi <yao@codesourcery.com>
15408 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15410 * gdb.python/py-symtab.exp: Likewise.
15411 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15414 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15416 * gdb.ada/addr_arith: New testcase.
15418 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15420 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15421 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15422 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15423 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15425 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15427 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15428 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15429 * gdb.arch/stap-eval-lang-ada.exp: New file.
15431 2014-10-14 Yao Qi <yao@codesourcery.com>
15433 * gdb.mi/mi-var-child.c (nothing1): New function.
15434 (nothing2): New function.
15435 (do_children_tests): Set function pointers by nothing1 and
15437 * gdb.mi/mi-var-child.exp: Step over new added statements.
15438 Update test to match the new output.
15439 * gdb.mi/var-cmd.c (nothing1): New function.
15440 (nothing2): New function.
15441 (do_children_tests): Set function pointers by nothing1 and
15443 * gdb.mi/mi-var-display.exp: Update test to match output.
15444 Step to the line specified by $line_dct_nothing.
15445 Increase the number of lines to step.
15447 2014-10-14 Yao Qi <yao@codesourcery.com>
15449 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15451 * gdb.mi/mi2-var-child.exp: Likewise.
15453 2014-10-13 Doug Evans <dje@google.com>
15455 * gdb.python/py-objfile.exp: Change name of file name test.
15457 2014-10-13 Doug Evans <dje@google.com>
15459 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15460 from the start of the CU.
15462 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15463 Yao Qi <yao@codesourcery.com>
15465 Fix "save breakpoints" for "catch" command.
15466 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15467 Remove -nonewline. Match also the added "main" line.
15469 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15471 Fix "save breakpoints" for "disable $bpnum" command.
15472 * gdb.base/save-bp.c (main): Add label.
15473 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15475 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15477 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15479 2014-10-11 Yao Qi <yao@codesourcery.com>
15481 * gdb.server/server-kill.exp: Execute command
15482 "set remote trace-status-packet on" before "tstatus".
15484 2014-10-11 Yao Qi <yao@codesourcery.com>
15486 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15487 (main): Call getppid.
15488 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15489 and continue to it. Read variable "server_pid".
15491 2014-10-11 Yao Qi <yao@codesourcery.com>
15493 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15495 2014-10-11 Yao Qi <yao@codesourcery.com>
15497 * gdb.threads/thread-find.exp: Don't execute command
15499 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15500 * gdb.threads/linux-dp.exp: Don't check the condition
15501 $threads_created equals to zero.
15503 2014-10-10 Pedro Alves <palves@redhat.com>
15505 * gdb.base/bigcore.exp: Remove references to IRIX.
15506 * gdb.base/funcargs.exp: Likewise.
15507 * gdb.base/interrupt.exp: Likewise.
15508 * gdb.base/mips_pro.exp: Likewise.
15509 * gdb.base/nodebug.exp: Likewise.
15510 * gdb.base/setvar.exp: Likewise.
15511 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15513 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15514 Pedro Alves <palves@redhat.com>
15517 * gdb.base/vdso-warning.c: New file.
15518 * gdb.base/vdso-warning.exp: New file.
15520 2014-10-02 Doug Evans <dje@google.com>
15522 * gdb.base/structs.c (main): Don't run forever.
15524 2014-10-02 Pedro Alves <palves@redhat.com>
15526 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15527 (top level) <stop threads 1, stop threads 2>: Use it.
15529 2014-10-02 Pedro Alves <palves@redhat.com>
15531 * gdb.threads/break-while-running.exp (test): Add new
15532 'update_thread_list' argument. Skip "info threads" if false.
15533 (top level): Add new 'update_thread_list' axis.
15535 2014-10-02 Pedro Alves <palves@redhat.com>
15537 PR breakpoints/17431
15538 * gdb.base/execl-update-breakpoints.c: New file.
15539 * gdb.base/execl-update-breakpoints.exp: New file.
15541 2014-10-01 Pedro Alves <palves@redhat.com>
15543 * gdb.base/breakpoint-in-ro-region.c: New file.
15544 * gdb.base/breakpoint-in-ro-region.exp: New file.
15546 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15548 * gdb.mi/mi-exit-code.exp: New file.
15549 * gdb.mi/mi-exit-code.c: New file.
15551 2014-09-30 Yao Qi <yao@codesourcery.com>
15553 * lib/prelink-support.exp (build_executable_own_libs): Error if
15554 the target isn't native.
15556 2014-09-30 Yao Qi <yao@codesourcery.com>
15558 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15561 2014-09-22 Pedro Alves <palves@redhat.com>
15563 * gdb.threads/break-while-running.exp: New file.
15564 * gdb.threads/break-while-running.c: New file.
15566 2014-09-19 Yao Qi <yao@codesourcery.com>
15568 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15569 Invoke test. Restart GDB with --readnow and invoke test again.
15571 2014-09-19 Yao Qi <yao@codesourcery.com>
15573 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15574 proc set_breakpoint_on_gcd_function. Invoke
15575 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15576 invoke set_breakpoint_on_gcd_function again.
15578 2014-09-18 Doug Evans <dje@google.com>
15580 * gdb.dwarf2/symtab-producer.exp: New file.
15582 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15584 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15585 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15586 * gdb.base/global-var-nested-by-dso.c: Likewise.
15587 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15589 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15590 Pedro Alves <palves@redhat.com>
15592 * gdb.base/watch-bitfields.exp: Pass string other than test file
15593 name to prepare_for_testing.
15594 (watch): New procedure.
15595 (expect_watchpoint): Use with_test_prefix.
15596 (top level): Factor out tests to ...
15597 (test_watch_location, test_regular_watch): ... these new
15598 procedures, and use with_test_prefix and gdb_continue_to_end.
15600 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15602 PR breakpoints/12526
15603 * gdb.base/watch-bitfields.exp: New file.
15604 * gdb.base/watch-bitfields.c: New file.
15606 2014-09-16 Pedro Alves <palves@redhat.com>
15608 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15609 software and hardware addresses, not software address against
15612 2014-09-16 Pedro Alves <palves@redhat.com>
15614 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15615 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15617 2014-09-16 Pedro Alves <palves@redhat.com>
15619 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15621 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15622 "*-*-vxworks*" throughout.
15623 * gdb.base/break.exp: Likewise.
15624 * gdb.base/default.exp: Likewise.
15625 * gdb.base/scope.exp: Likewise.
15626 * gdb.base/sepdebug.exp: Likewise.
15627 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15629 * gdb.base/run.c: Likewise.
15630 * gdb.base/sepdebug.c: Likewise.
15631 * gdb.hp/gdb.aCC/run.c: Likewise.
15632 * gdb.reverse/until-reverse.c: Likewise.
15633 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15635 2014-09-16 Yao Qi <yao@codesourcery.com>
15637 * boards/local-remote-host-native.exp: New file.
15639 2014-09-14 Doug Evans <xdje42@gmail.com>
15641 * gdb.threads/queue-signal.c (thread_count): New variable.
15642 (thread_count_mutex, thread_count_condvar): New variables.
15643 (incr_thread_count, wait_all_threads_running): New functions.
15644 (main): Wait for all threads to be in their thread functions.
15646 2014-09-13 Doug Evans <xdje42@gmail.com>
15648 * gdb.threads/queue-signal.c: New file.
15649 * gdb.threads/queue-signal.exp: New file.
15651 2014-09-13 Doug Evans <xdje42@gmail.com>
15653 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15654 be consistent with what default_gdb_init uses.
15655 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15656 the plain text of the prompt. Add some logging printfs.
15657 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15659 2014-09-12 Pedro Alves <palves@redhat.com>
15661 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15662 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15663 * gdb.arch/i386-size-overlap.exp: Likewise.
15664 * gdb.arch/i386-size.exp: Likewise.
15665 * gdb.arch/i386-unwind.exp: Likewise.
15666 * gdb.base/a2-run.exp: Likewise.
15667 * gdb.base/break.exp: Likewise.
15668 * gdb.base/charset.exp: Likewise.
15669 * gdb.base/chng-syms.exp: Likewise.
15670 * gdb.base/commands.exp: Likewise.
15671 * gdb.base/dbx.exp: Likewise.
15672 * gdb.base/find.exp: Likewise.
15673 * gdb.base/funcargs.exp: Likewise.
15674 * gdb.base/jit-simple.exp: Likewise.
15675 * gdb.base/reread.exp: Likewise.
15676 * gdb.base/sepdebug.exp: Likewise.
15677 * gdb.base/step-bt.exp: Likewise.
15678 * gdb.cp/mb-inline.exp: Likewise.
15679 * gdb.cp/mb-templates.exp: Likewise.
15680 * gdb.objc/basicclass.exp: Likewise.
15681 * gdb.threads/killed.exp: Likewise.
15683 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15686 * gdb.arch/powerpc-stackless.S: New file.
15687 * gdb.arch/powerpc-stackless.exp: New file.
15689 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15691 * gdb.base/attach.c: Include unistd.h.
15692 (main): Call alarm. Add label postloop.
15693 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15694 gdb_breakpoint, gdb_continue_to_breakpoint.
15695 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15697 2014-09-11 Pedro Alves <palves@redhat.com>
15700 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15701 * gdb.base/attach.exp (test_command_line_attach_run): New
15703 (top level): Call it.
15705 2014-09-11 Pedro Alves <palves@redhat.com>
15707 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15708 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15709 (do_command_attach_tests): Use spawn_wait_for_attach.
15710 * gdb.base/solib-overlap.exp: Likewise.
15711 * gdb.multi/multi-attach.exp: Likewise.
15712 * gdb.python/py-prompt.exp: Likewise.
15713 * gdb.python/py-sync-interp.exp: Likewise.
15714 * gdb.server/ext-attach.exp: Likewise.
15716 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15718 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15719 command in testcase. Simplify testcase.
15721 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15723 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15725 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15727 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15729 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15731 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15733 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15735 * gdb.dwarf2/dynarr-ptr.c: New file.
15736 * gdb.dwarf2/dynarr-ptr.exp: New file.
15738 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15740 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15741 of 30 rather than hardcoding 120 for a slow test case. Take the
15742 `gdb,timeout' target setting into account for this calculation.
15743 Don't extend the timeout for the test cases that don't need it.
15745 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15747 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15748 a factor of 2 for a slow test case. Take the `gdb,timeout'
15749 target setting into account for this calculation.
15750 * gdb.reverse/until-precsave.exp: Increase the timeout by
15751 a factor of 15 and 3 respectively rather than adding 120
15752 for a pair of slow test cases. Take the `gdb,timeout'
15753 target setting into account for this calculation.
15755 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15757 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15758 timeout, don't pass one down to gdb_expect.
15759 (gdb_expect): Rework timeout selection.
15761 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15763 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15764 exception on timeout.
15765 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15766 (gdbserver_start_extended): Catch any `gdbserver_start' error
15768 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15769 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15770 `gdbserver_gdb_load' error exceptions.
15772 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15774 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15775 120 on waiting for the TCP socket to open.
15777 2014-09-09 Doug Evans <xdje42@gmail.com>
15779 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15780 _caller_matches, _any_caller_is, _any_caller_matches.
15782 2014-09-09 Doug Evans <xdje42@gmail.com>
15784 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15786 2014-09-09 Yao Qi <yao@codesourcery.com>
15788 * gdb.mi/mi-var-display.exp: Set print symbol off.
15790 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15793 * gdb.base/commands.exp: Add tests to verify user-defined
15794 commands with empty bodies.
15795 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15796 python commands in `show user command`.
15797 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15798 scheme commands in `show user command`.
15800 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15803 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15804 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15805 * gdb.python/py-framefilter-invalidarg.exp: New file.
15806 * gdb.python/py-framefilter-invalidarg.py: New file.
15808 2014-09-06 Doug Evans <xdje42@gmail.com>
15811 * gdb.python/py-caller-is.c: New file.
15812 * gdb.python/py-caller-is.exp: New file.
15814 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15817 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15818 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15820 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15823 * gdb.fortran/print-formatted.exp: New file.
15824 * gdb.fortran/print-formatted.f90: Likewise.
15826 2014-09-03 Sasha Smundak <asmundak@google.com>
15828 * gdb.python/py-frame.exp: Test Frame.read_register.
15830 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15833 * gdb.python/py-completion.exp: New file.
15834 * gdb.python/py-completion.py: Likewise.
15836 2014-08-28 Doug Evans <dje@google.com>
15838 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15839 eax,etc. are live with values set by gdb and thus the compiler can't
15841 * gdb.arch/i386-pseudo.c (main): Ditto.
15843 2014-08-27 Doug Evans <dje@google.com>
15845 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15847 2014-08-25 Doug Evans <dje@google.com>
15849 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15852 2014-08-25 Doug Evans <dje@google.com>
15854 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15856 2014-08-24 Yao Qi <yao@codesourcery.com>
15858 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15860 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15862 2014-08-22 Doug Evans <dje@google.com>
15865 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15866 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15867 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15869 2014-08-22 Yao Qi <yao@codesourcery.com>
15871 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15872 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15873 * gdb.python/python.exp: Likewise. Use .py file on the host
15874 instead of the build.
15876 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15878 * gdb.threads/gcore-stale-thread.c: New file.
15879 * gdb.threads/gcore-stale-thread.exp: New file.
15881 2014-08-21 Pedro Alves <palves@redhat.com>
15883 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15884 * gdb.base/gcore-relro-pie.exp: Likewise.
15885 * gdb.base/gcore-relro.exp: Likewise.
15886 * gdb.base/gcore.exp: Likewise.
15887 * gdb.base/print-symbol-loading.exp: Likewise.
15888 * gdb.threads/gcore-thread.exp: Likewise.
15889 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15891 2014-08-20 Pedro Alves <palves@redhat.com>
15892 Jan Kratochvil <jan.kratochvil@redhat.com>
15894 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15896 (EXPECT): Handle READ1 being set.
15897 (all): Depend on EXTRA_RULES.
15898 (check-read1, expect-read1, read1.so, read1): New rules.
15899 * README (Testsuite Parameters): Document the READ1 make variable.
15900 (Race detection): New section.
15901 * configure: Regenerate.
15902 * configure.ac: If build==host==target, and running under a
15903 GNU/glibc system, add read1 to the extra Makefile rules.
15904 (EXTRA_RULES): AC_SUBST it.
15905 * lib/read1.c: New file.
15907 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15909 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15910 the handling of variables declared as a typedef to an array
15911 which a DW_AT_data_location attribute.
15913 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15914 Pedro Alves <palves@redhat.com>
15918 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15921 2014-08-19 Pedro Alves <palves@redhat.com>
15923 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15925 2014-08-19 Yao Qi <yao@codesourcery.com>
15927 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15930 2014-08-18 David Blaikie <dblaikie@gmail.com>
15932 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15934 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15936 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15937 attribute in array range.
15939 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15941 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15943 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15946 * gdb.cp/pr17132.cc: New file.
15947 * gdb.cp/pr17132.exp: New file.
15949 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15951 * gdb.python/py-xmethods.py (A_getarrayind)
15952 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15953 Use 'print' with function call syntax.
15954 (E_method_matcher.match): Fix tab vs space indentation mixup.
15956 2014-08-15 Yao Qi <yao@codesourcery.com>
15958 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15961 2014-08-15 Yao Qi <yao@codesourcery.com>
15963 * gdb.cp/casts.exp: Set print symbol off.
15964 * gdb.cp/class2.exp: Likewise.
15965 * gdb.cp/overload.exp: Likewise.
15966 * gdb.cp/templates.exp: Likewise.
15968 2014-08-11 Doug Evans <dje@google.com>
15970 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15971 (test_load_shlib): Update.
15973 2014-08-09 Yao Qi <yao@codesourcery.com>
15975 * gdb.base/display.exp: Invoke is_address_zero_readable.
15976 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15977 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15978 * gdb.base/hbreak-unmapped.exp: Return if
15979 is_address_zero_readable returns true.
15980 * gdb.base/signest.exp: Likewise.
15981 * gdb.base/signull.exp: Likewise.
15982 * gdb.base/sigbpt.exp: Likewise.
15983 * gdb.guile/scm-disasm.exp: Do the test if
15984 is_address_zero_readable returns false.
15985 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15986 * gdb.python/py-arch.exp: Likewise.
15987 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15988 * lib/gdb.exp (is_address_zero_readable): New proc.
15990 2014-08-09 Yao Qi <yao@codesourcery.com>
15993 * gdb.mi/mi-var-display.exp: Make test messages unique.
15995 2014-08-04 Tom Tromey <tromey@redhat.com>
15997 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16000 2014-08-04 Tom Tromey <tromey@redhat.com>
16002 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16005 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16007 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16008 inner_vla_struct_object_size.
16009 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16012 2014-07-30 Pedro Alves <palves@redhat.com>
16014 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16017 2014-07-29 Yao Qi <yao@codesourcery.com>
16020 * gdb.base/until-nodebug.exp: New.
16022 2014-07-28 Doug Evans <xdje42@gmail.com>
16025 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16026 previously existing parameter, and previously ambiguously spelled
16029 2014-07-28 Will Newton <will.newton@linaro.org>
16031 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16033 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16034 Doug Evans <xdje42@gmail.com>
16037 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16039 2014-07-25 Pedro Alves <palves@redhat.com>
16041 * gdb.threads/signal-command-handle-nopass.c: New file.
16042 * gdb.threads/signal-command-handle-nopass.exp: New file.
16043 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16044 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16045 * gdb.threads/signal-delivered-right-thread.c: New file.
16046 * gdb.threads/signal-delivered-right-thread.exp: New file.
16048 2014-07-25 Pedro Alves <palves@redhat.com>
16050 * gdb.base/double-prompt-target-event-error.exp
16051 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16053 (cancel_pagination_in_target_event): Rework double prompt
16055 * gdb.base/paginate-after-ctrl-c-running.exp
16056 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16058 * gdb.base/paginate-bg-execution.exp
16059 (test_bg_execution_pagination_return)
16060 (test_bg_execution_pagination_cancel): Remove '-notransfer
16062 * gdb.base/paginate-execution-startup.exp
16063 (test_fg_execution_pagination_return)
16064 (test_fg_execution_pagination_cancel): Remove '-notransfer
16066 * gdb.base/paginate-inferior-exit.exp
16067 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16069 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16070 * lib/gdb.exp (pagination_prompt): Run text through
16072 (gdb_test_multiple): Match $pagination_prompt instead of
16074 (string_to_regexp): Move to lib/gdb-utils.exp.
16076 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16078 * gdb.arch/amd64-entry-value-paramref.S: New file.
16079 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16080 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16081 * gdb.arch/amd64-optimout-repeat.S: New file.
16082 * gdb.arch/amd64-optimout-repeat.c: New file.
16083 * gdb.arch/amd64-optimout-repeat.exp: New file.
16085 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16088 * gdb.base/statistics.exp: New file.
16090 2014-07-17 Doug Evans <dje@google.com>
16093 * gdb.base/maint.exp: Update testing of per-command stats.
16095 2014-07-16 Pedro Alves <palves@redhat.com>
16097 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16098 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16099 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16100 (tfile_write_buf): New functions.
16101 (add_memory_block): Rewrite using the above.
16102 (adjust_function_address): New function.
16103 (FUNCTION_ADDRESS): New macro.
16104 (write_basic_trace_file): Remove short_x local, and use
16105 tfile_write_16. Change type of func_addr local to unsigned long
16106 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16107 here. Cast argument of add_memory_block to char pointer.
16108 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16109 (main): Remove parameters.
16110 * gdb.trace/tfile.exp: Remove nowarnings.
16112 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16114 * gdb.base/debug-expr.exp: Test string evaluation with
16115 "debug expression" on.
16117 2014-07-15 Pedro Alves <palves@redhat.com>
16119 * gdb.base/reread.exp: Use clean_restart.
16121 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16123 * gdb.arch/avr-flash-qualifer.c: New.
16124 * gdb.arch/avr-flash-qualifer.exp: New.
16126 2014-07-14 Pedro Alves <palves@redhat.com>
16128 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16129 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16131 2014-07-14 Pedro Alves <palves@redhat.com>
16133 * gdb.base/double-prompt-target-event-error.c: New file.
16134 * gdb.base/double-prompt-target-event-error.exp: New file.
16136 2014-07-14 Pedro Alves <palves@redhat.com>
16139 * gdb.base/paginate-inferior-exit.c: New file.
16140 * gdb.base/paginate-inferior-exit.exp: New file.
16142 2014-07-14 Pedro Alves <palves@redhat.com>
16145 * gdb.base/paginate-bg-execution.c: New file.
16146 * gdb.base/paginate-bg-execution.exp: New file.
16148 2014-07-14 Pedro Alves <palves@redhat.com>
16151 * gdb.base/paginate-execution-startup.c: New file.
16152 * gdb.base/paginate-execution-startup.exp: New file.
16153 * lib/gdb.exp (pagination_prompt): New global.
16154 (default_gdb_spawn): New procedure, factored out from
16156 (default_gdb_start): Adjust to call default_gdb_spawn.
16157 (gdb_spawn): New procedure.
16159 2014-07-14 Pedro Alves <palves@redhat.com>
16161 * lib/gdb.exp (gdb_assert): New procedure.
16162 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16164 2014-07-14 Pedro Alves <palves@redhat.com>
16166 * gdb.base/execution-termios.c: New file.
16167 * gdb.base/execution-termios.exp: New file.
16169 2014-07-14 Tom Tromey <tromey@redhat.com>
16171 * gdb.cp/vla-cxx.cc: New file.
16172 * gdb.cp/vla-cxx.exp: New file.
16174 2014-07-14 Tom Tromey <tromey@redhat.com>
16176 * gdb.reverse/rerun-prec.c: New file.
16177 * gdb.reverse/rerun-prec.exp: New file.
16179 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16180 Maciej W. Rozycki <macro@codesourcery.com>
16182 * lib/gdb-utils.exp: New file.
16183 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16184 inline `gdb_init_command' processing.
16185 (gdb_start_cmd): Likewise.
16186 * lib/mi-support.exp (mi_run_cmd): Likewise.
16187 * README: Document `gdb_init_command' and `gdb_init_commands'.
16189 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16191 Fix false FAIL running under a very long directory name.
16192 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16193 and "set print elements 10000". Twice.
16195 2014-07-11 Yao Qi <yao@codesourcery.com>
16197 * gdb.base/exprs.exp: "set print symbol off".
16199 2014-07-11 Pedro Alves <palves@redhat.com>
16201 * gdb.threads/kill.c: New file.
16202 * gdb.threads/kill.exp: New file.
16204 2014-07-10 Yao Qi <yao@codesourcery.com>
16206 * gdb.trace/tfile.c (write_basic_trace_file)
16207 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16208 address written to trace file.
16210 2014-07-09 Pedro Alves <palves@redhat.com>
16212 * gdb.base/attach-wait-input.exp: New file.
16213 * gdb.base/attach-wait-input.c: New file.
16215 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16217 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16218 setting up test structures.
16219 (main): Call new test function.
16220 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16221 test function, continue into test function and walk test
16224 2014-07-02 Yao Qi <yao@codesourcery.com>
16226 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16227 'bar_start' at the beginning of functions 'foo' and 'bar'
16229 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16230 instead of 'foo' and 'bar'.
16232 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16234 * gdb.btrace/segv.exp: New.
16235 * gdb.btrace/segv.c: New.
16237 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16239 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16242 2014-06-30 Mark Wielaard <mjw@redhat.com>
16244 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16245 vulture, vilify, villar): New volatile array constants.
16246 (vindictive, vegetation): New const volatile array constants.
16247 * gdb.base/volatile.exp: Test volatile and const volatile array
16250 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16252 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16253 target lacks support for awatch, rwatch, or hbreak.
16255 2014-06-27 Yao Qi <yao@codesourcery.com>
16257 * gdb.multi/dummy-frame-restore.exp: New.
16258 * gdb.multi/dummy-frame-restore.c: New.
16260 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16262 * gdb.btrace/gcore.exp: New.
16264 2014-06-23 Pedro Alves <palves@redhat.com>
16266 * gdb.base/watchpoint-reuse-slot.c: New file.
16267 * gdb.base/watchpoint-reuse-slot.exp: New file.
16269 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16271 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16272 progspace's filename in 'info', 'enable' and 'disable' command
16275 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16277 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16278 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16279 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16281 2014-06-20 Gary Benson <gbenson@redhat.com>
16283 * gdb.arch/i386-avx.exp: Fix include file location.
16284 * gdb.arch/i386-sse.exp: Likewise.
16286 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16288 * gdb.dlang/expression.exp: New file.
16290 2014-06-19 Pedro Alves <palves@redhat.com>
16292 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16294 (top level): ... here. Iterate running tests under different
16295 scheduler-locking settings.
16297 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16299 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16300 to DW_FORM_addr and use non-zero addresses.
16302 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16305 * gdb.python/py-xmethods.cc: Add global function call counters and
16306 increment them in their respective functions. Remove "cout"
16308 * gdb.python/py-xmethods.exp: Make tests check the global function
16309 call counters instead of depending on inferior IO.
16311 2014-06-18 Don Breazeal <donb@codesourcery.com>
16313 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16315 (explicit_fork_parent_follow): Deleted procedure.
16316 (explicit_fork_child_follow): Deleted procedure.
16317 (test_follow_fork): New procedure.
16318 (do_fork_tests): Replace calls to deleted procedures with
16319 calls to test_follow_fork and reset GDB for subsequent
16322 2014-06-17 Yao Qi <yao@codesourcery.com>
16324 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16327 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16329 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16330 Initialize ptr and S explicitly.
16331 (skip_type_update_when_not_use_rtti_test): Likewise.
16333 2014-06-16 Keith Seitz <keiths@redhat.com>
16336 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16337 the inferior is started.
16339 2014-06-16 Pedro Alves <palves@redhat.com>
16341 * gdb.base/break-main-file-remove-fail.c: New file.
16342 * gdb.base/break-main-file-remove-fail.exp: New file.
16343 * gdb.base/break-unload-file.exp: Use build_executable instead of
16344 prepare_for_testing.
16345 (test_break): New parameter "initial_load". Handle it.
16346 (top level): Add initial_load cmdline/file axis.
16348 2014-06-12 Tom Tromey <tromey@redhat.com>
16350 * gdb.base/completion.exp: Don't use directory name in test.
16352 2014-06-09 Gary Benson <gbenson@redhat.com>
16354 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16355 separate the always-available ANSI-standard signals from the
16356 signals that require checking.
16358 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16362 2014-06-07 Keith Seitz <keiths@redhat.com>
16366 * gdb.cp/var-tag.cc: New file.
16367 * gdb.cp/var-tag.exp: New file.
16368 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16369 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16370 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16371 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16373 2014-06-06 Doug Evans <xdje42@gmail.com>
16375 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16377 2014-06-06 Pedro Alves <palves@redhat.com>
16379 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16380 in target debug output instead of looking at RSP packets,
16381 disabling the test on any target that uses hardware stepping.
16384 2014-06-06 Pedro Alves <palves@redhat.com>
16386 * gdb.base/break-unload-file.exp: Fix typo.
16388 2014-06-06 Yao Qi <yao@codesourcery.com>
16390 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16391 from "jit_function" to "^jit_function".
16393 2014-06-06 Yao Qi <yao@codesourcery.com>
16395 * gdb.base/async.c (foo): Add one statement.
16396 * gdb.base/async.exp: Get the next instruction address and
16397 match the output of "nexti" by instruction address. Match
16398 the hex address in the output of "finish".
16400 2014-06-06 Gary Benson <gbenson@redhat.com>
16402 * gdb.base/call-signals.c: Remove preprocessor conditionals
16403 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16404 SIGSEGV and SIGTERM.
16405 * gdb.base/sigall.c: Likewise.
16406 * gdb.base/unwindonsignal.c: Likewise.
16407 * gdb.reverse/sigall-reverse.c: Likewise.
16409 2014-06-06 Yao Qi <yao@codesourcery.com>
16411 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16412 readable, skip the test.
16414 2014-06-06 Yao Qi <yao@codesourcery.com>
16416 * gdb.threads/staticthreads.c (thread_function): Move the line
16417 setting breakpoint on forward.
16418 * gdb.threads/staticthreads.exp: Update comments.
16420 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16422 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16423 "history-append! type error".
16425 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16427 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16428 erroneous dprintf expected input.
16430 2014-06-04 Doug Evans <xdje42@gmail.com>
16432 * gdb.guile/scm-generics.exp: Delete.
16434 2014-06-04 Doug Evans <xdje42@gmail.com>
16436 * gdb.guile/scm-breakpoint.exp: Update.
16437 Add tests for breakpoint registration.
16439 2014-06-04 Tom Tromey <tromey@redhat.com>
16441 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16443 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16444 inner_vla_struct, vla_union types. Initialize objects of those
16445 types and compute their sizes.
16447 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16448 Hui Zhu <hui@codesourcery.com>
16450 * gdb.base/fileio.exp: Add test for shell not available as well as
16452 * gdb.base/fileio.c (test_system): Check for shell twice.
16454 2014-06-04 Yao Qi <yao@codesourcery.com>
16456 * gdb.base/auto-connect-native-target.exp: Remove redundant
16457 space from the regexp pattern.
16459 2014-06-04 Yao Qi <yao@codesourcery.com>
16461 * gdb.base/default.exp: Replace "child" with "native" in
16464 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16466 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16467 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16468 * gdb.python/py-xmethods.py: Python script supporting the
16469 new testcase and tests.
16471 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16472 Pedro Alves <palves@redhat.com>
16474 PR breakpoints/17000
16475 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16476 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16478 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16480 * gdb.base/subst.exp: Add tests to verify partial path matching
16483 2014-06-03 Pedro Alves <palves@redhat.com>
16485 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16486 target that doesn't use software single-stepping.
16488 2014-06-03 Pedro Alves <palves@redhat.com>
16490 PR breakpoints/17000
16491 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16492 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16494 2014-06-02 Doug Evans <xdje42@gmail.com>
16496 * gdb.guile/scm-parameter.exp: New file.
16498 2014-06-02 Doug Evans <xdje42@gmail.com>
16500 * gdb.guile/scm-cmd.c: New file.
16501 * gdb.guile/scm-cmd.exp: New file.
16503 2014-06-02 Doug Evans <xdje42@gmail.com>
16505 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16506 pretty-printer lookup.
16507 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16508 (make-pp_s-printer): Call it.
16509 (make-pretty-printer-from-dict): New function.
16510 (lookup-pretty-printer-maker-from-dict): New function.
16511 (*pretty-printer*): Simplify.
16512 (make-objfile-pp_s-printer): New function.
16513 (install-objfile-pretty-printers!): New function.
16514 (make-progspace-pp_s-printer): New function.
16515 (install-progspace-pretty-printers!): New function.
16516 * gdb.guile/scm-progspace.c: New file.
16517 * gdb.guile/scm-progspace.exp: New file.
16519 2014-06-02 Pedro Alves <palves@redhat.com>
16521 * gdb.base/dprintf-bp-same-addr.c: New file.
16522 * gdb.base/dprintf-bp-same-addr.exp: New file.
16524 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16526 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16527 * gdb.arch/powerpc-power.s: Likewise.
16529 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16531 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16533 2014-06-01 Yao Qi <yao@codesourcery.com>
16535 * gdb.base/watchpoint.exp (test_watch_location): Check null
16536 pointer can be dereferenced. If not, do the test, otherwise
16539 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16541 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16543 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16545 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16547 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16548 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16549 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16550 * gdb.arch/amd64-invalid-stack-top.c: New file.
16551 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16553 2014-05-30 Pedro Alves <palves@redhat.com>
16555 PR breakpoints/17000
16556 * gdb.base/sss-bp-on-user-bp.c: New file.
16557 * gdb.base/sss-bp-on-user-bp.exp: New file.
16559 2014-05-30 David Blaikie <dblaikie@gmail.com>
16561 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16562 gnu_inline semantics via attribute.
16563 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16564 source explicitly specifies the required semantics.
16566 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16568 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16570 2014-05-29 Pedro Alves <palves@redhat.com>
16571 Tom Tromey <tromey@redhat.com>
16573 * gdb.base/async-shell.exp: Don't enable target-async.
16574 * gdb.base/async.exp
16575 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16577 (top level): Don't test with "target-async".
16578 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16579 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16580 * gdb.base/inferior-died.exp: Don't enable target-async.
16581 * gdb.base/interrupt-noterm.exp: Likewise.
16582 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16583 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16584 * gdb.mi/mi-nonstop.exp: Likewise.
16585 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16586 * gdb.mi/mi-nsintrall.exp: Likewise.
16587 * gdb.mi/mi-nsmoribund.exp: Likewise.
16588 * gdb.mi/mi-nsthrexec.exp: Likewise.
16589 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16590 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16591 * gdb.python/py-evsignal.exp: Don't enable target-async.
16592 * gdb.python/py-evthreads.exp: Likewise.
16593 * gdb.python/py-prompt.exp: Likewise.
16594 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16595 * gdb.server/solib-list.exp: Don't enable target-async.
16596 * gdb.threads/thread-specific-bp.exp: Likewise.
16597 * lib/mi-support.exp: Adjust to use mi-async.
16599 2014-05-29 Pedro Alves <palves@redhat.com>
16602 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16603 reason, even in sync mode.
16605 2014-05-29 Pedro Alves <palves@redhat.com>
16606 Hui Zhu <hui@codesourcery.com>
16609 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16610 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16611 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16612 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16614 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16616 * config/monitor.exp (gdb_target_monitor): Replace use of
16617 "set remotebaud" by "set serial baud".
16619 2014-05-26 Andy Wingo <wingo@igalia.com>
16621 * gdb.guile/scm-breakpoint.exp:
16622 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16623 properties instead of gdb-object-properties.
16625 2014-05-26 Yao Qi <yao@codesourcery.com>
16627 * gdb.server/no-thread-db.exp: Specify source file name
16628 explicitly when setting a breakpoint.
16630 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16632 * gdb.btrace/vdso.c: New.
16633 * gdb.btrace/vdso.exp: New.
16635 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16637 * gdb.base/gcore.exp (capture_command_output): Move ...
16638 * lib/gdb.exp (capture_command_output): ... here.
16640 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16642 * gdb.btrace/data.exp: Test memory access during btrace replay.
16644 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16646 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16648 2014-05-21 Pedro Alves <palves@redhat.com>
16651 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16652 (top level): Test that output related to execution commands is
16653 sent to the console with CLI commands, but not with MI commands.
16654 Test that breakpoint events are always mirrored to the console.
16655 Also expect the new source line to be output after a "next" in
16656 async mode too. Make it a pass/fail test.
16657 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16659 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16661 2014-05-21 Pedro Alves <palves@redhat.com>
16663 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16664 Use them to test variations of "list" after reaching a breakpoint.
16665 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16666 Test "list" with listsize 10 after reaching a breakpoint.
16667 * gdb.python/python.exp (decode_line current location line
16668 number): Adjust expected line number.
16670 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16672 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16673 behavior for $args, pass it directly to "run".
16675 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16677 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16680 2014-05-21 Pedro Alves <palves@redhat.com>
16682 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16683 auto-connect-native-target off".
16684 * gdb.base/auto-connect-native-target.c: New file.
16685 * gdb.base/auto-connect-native-target.exp: New file.
16687 2014-05-21 Pedro Alves <palves@redhat.com>
16689 * gdb.base/default.exp: Test "target native" instead of "target
16692 2014-05-21 Mark Wielaard <mjw@redhat.com>
16694 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16696 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16698 Fix TLS access for -static -pthread.
16699 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16700 <HAVE_TLS> (thread_function, main): Initialize it.
16701 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16703 <$have_tls != "">: Check TLSVAR.
16705 2014-05-21 Pedro Alves <palves@redhat.com>
16707 * gdb.base/dcache-line-read-error.c: New.
16708 * gdb.base/dcache-line-read-error.exp: New.
16710 2014-05-20 Pedro Alves <palves@redhat.com>
16712 * gdb.base/compare-sections.c: New file.
16713 * gdb.base/compare-sections.exp: New file.
16715 2014-05-20 Pedro Alves <palves@redhat.com>
16717 * gdb.base/break-idempotent.c: New file.
16718 * gdb.base/break-idempotent.exp: New file.
16720 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16722 * gdb.btrace/nohist.exp: New.
16724 2014-05-20 Yao Qi <yao@codesourcery.com>
16726 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16727 gdb.reverse directory and gdb_reverse_timeout exists in board
16729 * README: Document gdb_reverse_timeout.
16731 2014-05-20 Yao Qi <yao@codesourcery.com>
16733 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16734 'test_file_name'. Treat args as a string instead of a list.
16735 (gdb_init): Rename argument 'args' by 'test_file_name'.
16737 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16739 * gdb.arch/powerpc-power.exp: New file.
16740 * gdb.arch/powerpc-power.s: New file.
16742 2014-05-16 Doug Evans <dje@google.com>
16744 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16745 * gdb.base/completion.exp: Check that all expected files exist
16746 before doing file completion.
16748 2014-05-16 Doug Evans <dje@google.com>
16750 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16752 (do_syscall_tests_without_xml): Update.
16754 2014-05-16 Pedro Alves <palves@redhat.com>
16756 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16757 instead of "unknown output after running".
16759 2014-05-16 Yao Qi <yao@codesourcery.com>
16761 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16762 file1.txt from host at the end.
16763 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16765 2014-05-15 Doug Evans <dje@google.com>
16767 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16768 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16769 loading file. Add test for TU lookup.
16771 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16773 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16774 calling "-exec-arguments" or "set args" before running the
16777 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16779 * lib/mi-support.exp (mi_expect_stop): Expect message for
16780 inferiors that exit with non-zero exit code.
16782 2014-05-14 Yao Qi <yao@codesourcery.com>
16784 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16785 match absolute path on remote host.
16786 (test_file_list_exec_source_files): Remove "/" from the
16789 2014-05-14 Yao Qi <yao@codesourcery.com>
16791 * boards/local-remote-host-notty.exp (${board}_file): New
16794 2014-05-07 Kyle McMartin <kyle@redhat.com>
16796 Pushed by Joel Brobecker <brobecker@adacore.com>.
16797 * gdb.arch/aarch64-atomic-inst.c: New file.
16798 * gdb.arch/aarch64-atomic-inst.exp: New file.
16800 2014-05-07 Yao Qi <yao@codesourcery.com>
16802 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16803 in current context" too.
16805 2014-05-05 Keith Seitz <keiths@redhat.com>
16807 * gdb.linespec/ls-dollar.exp: Add test for linespec
16808 file:convenience_variable.
16810 2014-05-05 Yao Qi <yao@codesourcery.com>
16812 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16813 traceframes into tfile and ctf trace files. Read data from
16814 trace file and test collected data.
16815 (gdb_collect_locals_test): Likewise.
16816 (gdb_unavailable_registers_test): Likewise.
16817 (gdb_unavailable_floats): Likewise.
16818 (gdb_collect_globals_test): Likewise.
16819 (top-level): Append "ctf" to trace_file_targets if GDB
16822 2014-05-05 Yao Qi <yao@codesourcery.com>
16824 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16826 (gdb_collect_args_test_1): ... it. New proc.
16827 (gdb_collect_locals_test): Move some code to ...
16828 (gdb_collect_locals_test_1): ... it. New proc.
16829 (gdb_unavailable_registers_test): Move some code to ...
16830 (gdb_unavailable_registers_test_1): ... it. New proc.
16831 (gdb_unavailable_floats): Move some code to ...
16832 (gdb_unavailable_floats_1): ... it. New proc.
16834 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16836 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16837 probes to test for bitness recognition.
16838 * gdb.arch/amd64-stap-optional-prefix.exp
16839 (test_probe_value_without_reg): New procedure.
16840 Add code to test for different kinds of bitness.
16842 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16844 PR breakpoints/16889
16845 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16846 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16848 2014-05-01 Pedro Alves <palves@redhat.com>
16850 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16851 gdb_file_cmd if no file is specified.
16852 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16853 last_loaded_file to set the remote exec-file.
16855 2014-05-01 Pedro Alves <palves@redhat.com>
16857 * boards/local-remote-host.exp: New file.
16859 2014-05-01 Pedro Alves <palves@redhat.com>
16861 * boards/local-remote-host.exp: Rename to ...
16862 * boards/local-remote-host-notty.exp: ... this.
16864 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16866 * gdb.ada/dyn_arrayidx: New testcase.
16868 2014-04-26 Yao Qi <yao@codesourcery.com>
16870 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16871 and compute the length of function main. Save it in
16873 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16874 (top-level): Use gdb_compile to compile objects into
16875 executable and restart GDB. Remove invocation to
16876 prepare_for_testing.
16878 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16879 Pedro Alves <palves@redhat.com>
16882 * gdb.multi/multi-attach.c: New file.
16883 * gdb.multi/multi-attach.exp: New file.
16885 2014-04-25 Pedro Alves <palves@redhat.com>
16887 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16889 (top level): Test that "set remote conditional-breakpoints-packet
16890 off" works as intended.
16891 * gdb.base/dprintf.exp: Test that "set remote
16892 breakpoint-commands-packet off" works as intended.
16893 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16895 (top level): Call it.
16896 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16897 remote fast-tracepoints-packet off" works as intended.
16898 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16899 * lib/gdb.exp (gdb_is_target_remote): ... here.
16901 2014-04-24 David Blaikie <dblaikie@gmail.com>
16903 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16904 ensure clang would not discard them.
16905 * gdb.base/gdbvars.c: Ditto.
16906 * gdb.base/memattr.c: Ditto.
16907 * gdb.base/whatis.c: Ditto.
16908 * gdb.python/py-prettyprint.c: Ditto.
16909 * gdb.trace/actions.c: Ditto.
16910 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16911 ensure clang would not discard it.
16913 2014-04-24 David Blaikie <dblaikie@gmail.com>
16915 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16916 clang to emit the full definition of type required by the test
16917 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16919 2014-04-24 David Blaikie <dblaikie@gmail.com>
16921 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16922 coax Clang into emitting the definition of the type.
16923 * gdb.cp/pr10728-x.h (y): Ditto.
16924 * gdb.cp/pr10728-y.cc (y): Ditto.
16926 2014-04-24 David Blaikie <dblaikie@gmail.com>
16928 * gdb.base/label.exp: XFAIL label related tests under Clang.
16929 * gdb.cp/cplabel.exp: Ditto.
16930 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16931 under Clang those using labels.
16933 2014-04-25 Yao Qi <yao@codesourcery.com>
16935 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16937 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16938 partial_label and double_label.
16940 2014-04-24 David Blaikie <dblaikie@gmail.com>
16942 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16944 2014-04-24 David Blaikie <dblaikie@gmail.com>
16946 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16947 of the function to work across GCC and Clang.
16948 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16949 pointer types (const void ** const V void **).
16951 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16952 Walfred Tedeschi <walfred.tedeschi@intel.com>
16954 * Makefile.in (EXECUTABLES): Added i386-avx512.
16955 * gdb.arch/i386-avx512.c: New file.
16956 * gdb.arch/i386-avx512.exp: Likewise.
16958 2014-04-23 Keith Seitz <keiths@redhat.com>
16960 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16961 (mi_make_breakpoint_table): New procedure.
16962 (mi_create_breakpoint): Use mi_make_breakpoint
16963 and return the result.
16964 (mi_make_breakpoint): New procedure.
16965 (mi_build_kv_pairs): New procedure.
16967 * gdb.mi/mi-break.exp: Remove unused globals,
16968 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16969 All callers updated.
16970 * gdb.mi/mi-dprintf.exp: Use variable to track command
16972 Update all callers of mi_create_breakpoint and use
16973 mi_make_breakpoint_table.
16974 Remove any unused global variables.
16975 * gdb.mi/mi-nonstop.exp: Likewise.
16976 * gdb.mi/mi-nsintrall.exp: Likewise.
16977 * gdb.mi/mi-nsmoribund.exp: Likewise.
16978 * gdb.mi/mi-nsthrexec.exp: Likewise.
16979 * gdb.mi/mi-reverse.exp: Likewise.
16980 * gdb.mi/mi-simplerun.exp: Likewise.
16981 * gdb.mi/mi-stepn.exp: Likewise.
16982 * gdb.mi/mi-syn-frame.exp: Likewise.
16983 * gdb.mi/mi-until.exp: Likewise.
16984 * gdb.mi/mi-var-cp.exp: Likewise.
16985 * gdb.mi/mi-var-display.exp: Likewise.
16986 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16987 * gdb.mi/mi2-var-child.exp: Likewise.
16988 * gdb.mi/mi-vla-c99.exp: Likewise.
16989 * lib/mi-support.exp: Likewise.
16991 From Ian Lance Taylor <iant@cygnus.com>:
16992 * lib/gdb.exp (parse_args): New procedure.
16994 2014-04-23 Pedro Alves <palves@redhat.com>
16996 * gdb.base/break-unload-file.c: New file.
16997 * gdb.base/break-unload-file.exp: New file.
16998 * gdb.base/sym-file-lib.c (baz): New function.
16999 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17001 (load): Store the segment's mapped size.
17002 (unload): New function.
17003 (unload_shlib): New function.
17004 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17005 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17006 set a breakpoint at baz, and call it.
17007 * gdb.base/sym-file.exp: New tests for stale breakpoint
17010 2014-04-23 Pedro Alves <palves@redhat.com>
17012 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17013 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17014 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17015 * gdb.base/hbreak-unmapped.c: New file.
17016 * gdb.base/hbreak-unmapped.exp: New file.
17017 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17018 * lib/gdb.exp (gdb_is_target_remote): ... here.
17020 2014-04-22 Pedro Alves <palves@redhat.com>
17022 * gdb.base/consecutive-step-over.c: New file.
17023 * gdb.base/consecutive-step-over.exp: New file.
17025 2014-04-22 Pedro Alves <palves@redhat.com>
17027 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17028 instead of send_gdb/gdb_expect.
17030 2014-04-22 Yao Qi <yao@codesourcery.com>
17032 * lib/trace-support.exp (generate_tracefile): New procedure.
17033 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17035 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17036 if generate_tracefile returns 1.
17038 2014-04-18 Tom Tromey <palves@redhat.com>
17039 Pedro alves <tromey@redhat.com>
17042 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17043 with a backtrace limit.
17044 * gdb.python/py-frame-inline.exp: Test running to an inline
17045 function with a backtrace limit, and printing the newest frame.
17046 * gdb.python/py-frame-inline.c (main): Call f.
17048 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17050 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17052 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17054 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17055 Drop prefix from unsupported source file path.
17057 2014-04-17 Yao Qi <yao@codesourcery.com>
17059 * lib/gdb.exp (with_target_charset): New proc.
17060 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17061 with_target_charset.
17062 (test_print_strings): Likewise.
17063 (test_repeat_bytes): Likewise.
17064 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17067 2014-04-16 Keith Seitz <keiths@redhat.com>
17070 * gdb.dwarf2/corrupt.c: New file.
17071 * gdb.dwarf2/corrupt.exp: New file.
17073 2014-04-16 Keith Seitz <keiths@redhat.com>
17076 * gdb.cp/namelessclass.cc: New file.
17077 * gdb.cp/namelessclass.exp: New file.
17078 * gdb.cp/namelessclass.S: New file.
17080 2014-04-16 Doug Evans <dje@google.com>
17082 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17084 (gdbserver_default_get_comm_port): New function.
17085 (gdbserver_start): Check if board file provided
17086 "gdbserver,get_comm_port" and use it if so.
17087 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17088 (gdb,socketport): Set to "stdio".
17089 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17090 (stdio_gdbserver_template): Delete.
17091 (${board}_get_remote_address): Update.
17092 (${board}_build_remote_cmd): Delete.
17093 (${board}_get_comm_port): New function.
17094 (${board}_spawn): Update.
17095 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17097 (${board}_get_remote_address): Update.
17098 (${board}_get_comm_port): New function.
17100 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17102 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17103 appearing in any order.
17105 2014-04-15 Doug Evans <dje@google.com>
17107 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17108 uninitialized value of "description".
17110 2014-04-15 Keith Seitz <keiths@redhat.com>
17112 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17113 Remove unused globals.
17114 (test_running_the_program): Likewise.
17115 (test_controlled_execution): Likewise.
17116 (test_controlling_breakpoints): Likewise.
17117 (test_program_termination): Likewise.
17119 2014-04-15 Keith Seitz <keiths@redhat.com>
17121 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17123 (test_rbreak_creation_and_listing): Likewise.
17124 (test_ignore_count): Likewise.
17125 (test_error): Likewise.
17127 2014-04-15 Pedro Alves <palves@redhat.com>
17129 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17130 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17132 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17133 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17134 to sym-file-loader.c.
17135 (struct library): Forward declare.
17136 (load_shlib, lookup_function): Change prototypes.
17137 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17138 (translate_offset): Remove declarations.
17139 (get_text_addr): New declaration.
17140 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17141 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17143 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17144 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17145 here from sym-file-loader.h.
17146 (struct library): New structure.
17147 (load_shlib, lookup_function): Change prototypes and adjust to
17148 work with a struct library.
17149 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17150 (translate_offset): Make static.
17151 (get_text_addr): New function.
17152 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17154 2014-04-15 Pedro Alves <palves@redhat.com>
17156 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17158 2014-04-15 Pedro Alves <palves@redhat.com>
17160 * gdb.base/sym-file-loader.c: Include <limits.h>.
17161 (SELF_LINK): New define.
17162 (get_origin): New function.
17163 (load_shlib): Use it.
17164 * gdb.base/sym-file.exp: Don't early return if the target is
17165 remote. Use runto_main, and issue fail is that fails. Use
17167 (shlib_name): Delete.
17168 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17170 2014-04-15 Pedro Alves <palves@redhat.com>
17172 * gdb.base/sym-file.exp: Remove regex characters from test
17173 message. Don't refer to breakpoint numbers in test messages.
17175 2014-04-14 Keith Seitz <keiths@redhat.com>
17178 * gdb.cp/var-tag.cc: New file.
17179 * gdb.cp/var-tag.exp: New file.
17180 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17181 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17182 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17183 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17185 2014-04-14 Tom Tromey <tromey@redhat.com>
17187 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17188 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17190 * gdb.cp/enum-class.exp: New file.
17191 * gdb.cp/enum-class.cc: New file.
17193 2014-04-14 Tom Tromey <tromey@redhat.com>
17195 * gdb.dwarf2/enum-type.exp: New file.
17197 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17199 * gdb.mi/mi-vla-c99.exp: New file.
17200 * gdb.mi/vla.c: New file.
17202 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17204 * gdb.base/vla-datatypes.c: New file.
17205 * gdb.base/vla-datatypes.exp: New file.
17207 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17209 * gdb.base/vla-ptr.c: New file.
17210 * gdb.base/vla-ptr.exp: New file.
17212 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17214 * gdb.dwarf2/count.exp: New file.
17216 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17218 * gdb.base/vla-sideeffect.c: New file.
17219 * gdb.base/vla-sideeffect.exp: New file.
17221 2014-04-14 David Blaikie <dblaikie@gmail.com>
17223 * gdb.mi/non-stop.c: Add return value for non-void function return
17225 * gdb.threads/staticthreads.c: Ditto.
17227 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17228 Doug Evans <xdje42@gmail.com>
17230 * gdb.guile/scm-value.c: Improve test case.
17231 * gdb.guile/scm-value.exp: Add new test.
17233 2014-04-11 David Blaikie <dblaikie@gmail.com>
17235 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17236 override Clang's default.
17238 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17240 Revert the following changes (regressions):
17242 * gdb.base/vla-sideeffect.c: New file.
17243 * gdb.base/vla-sideeffect.exp: New file.
17245 * gdb.dwarf2/count.exp: New file.
17247 * gdb.base/vla-multi.c: New file.
17248 * gdb.base/vla-multi.exp: New file.
17250 * gdb.base/vla-ptr.c: New file.
17251 * gdb.base/vla-ptr.exp: New file.
17253 * gdb.base/vla-datatypes.c: New file.
17254 * gdb.base/vla-datatypes.exp: New file.
17256 * gdb.mi/mi-vla-c99.exp: New file.
17257 * gdb.mi/vla.c: New file.
17259 2014-04-11 Keith Seitz <keiths@redhat.com>
17262 * gdb.cp/cpsizeof.exp: New file.
17263 * gdb.cp/cpsizeof.cc: New file.
17265 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17267 * gdb.mi/mi-vla-c99.exp: New file.
17268 * gdb.mi/vla.c: New file.
17270 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17272 * gdb.base/vla-datatypes.c: New file.
17273 * gdb.base/vla-datatypes.exp: New file.
17275 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17277 * gdb.base/vla-ptr.c: New file.
17278 * gdb.base/vla-ptr.exp: New file.
17280 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17282 * gdb.base/vla-multi.c: New file.
17283 * gdb.base/vla-multi.exp: New file.
17285 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17287 * gdb.dwarf2/count.exp: New file.
17289 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17291 * gdb.base/vla-sideeffect.c: New file.
17292 * gdb.base/vla-sideeffect.exp: New file.
17294 2014-04-11 Yao Qi <yao@codesourcery.com>
17296 * gdb.base/completion.exp: Check file exists before running tests
17297 on file completion.
17299 2014-04-10 Pedro Alves <palves@redhat.com>
17301 * gdb.base/cond-eval-mode.c: New file.
17302 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17303 prepare_for_testing to build the new file. Check result of
17305 (test_break, test_watch): New procedures.
17306 (top level): Use them.
17308 2014-04-08 Pierre Muller <muller@sourceware.org>
17310 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17311 Ctrl-V use for mingw hosts.
17313 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17315 * gdb.python/py-value.c: Improve test case.
17316 * gdb.python/py-value.exp: Add new test.
17318 2014-04-07 David Blaikie <dblaikie@gmail.com>
17320 * lib/compiler.c: Identify the clang compiler.
17321 * lib/compiler.cc: Ditto.
17323 2014-04-03 Yao Qi <yao@codesourcery.com>
17325 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17327 2014-04-01 Anton Blanchard <anton@samba.org>
17329 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17332 2014-04-01 Anton Blanchard <anton@samba.org>
17334 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17335 prepare_for_testing.
17337 2014-04-01 Anton Blanchard <anton@samba.org>
17339 * gdb.arch/ppc64-atomic-inst.c: Remove.
17340 * gdb.arch/ppc64-atomic-inst.S: New file.
17341 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17343 2014-03-31 Doug Evans <dje@google.com>
17345 * gdb.base/print-symbol-loading-lib.c: New file.
17346 * gdb.base/print-symbol-loading-main.c: New file.
17347 * gdb.base/print-symbol-loading.exp: New file.
17349 2014-03-31 Yao Qi <yao@codesourcery.com>
17351 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17353 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17355 * gdb.ada/mi_dyn_arr: New testcase.
17357 2014-03-27 Doug Evans <dje@google.com>
17359 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17361 2014-03-27 Yao Qi <yao@codesourcery.com>
17363 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17364 if target is nios2-*-*.
17366 2014-03-26 Yao Qi <yao@codesourcery.com>
17368 * lib/gdb.exp (readline_is_used): New proc.
17369 * gdb.base/completion.exp: Move tests on command complete up.
17370 Skip the rest of tests if readline is not used.
17371 * gdb.ada/complete.exp: Skp the test if readline is not
17373 * gdb.base/filesym.exp: Likewise.
17374 * gdb.base/macscp.exp: Likewise.
17375 * gdb.base/readline-ask.exp: Likewise.
17376 * gdb.base/readline.exp: Likewise.
17377 * gdb.python/py-cmd.exp: Likewise.
17378 * gdb.trace/tfile.exp: Likewise.
17380 2014-03-26 Yao Qi <yao@codesourcery.com>
17382 * gdb.base/macscp.exp: Fix code format issues.
17384 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17386 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17387 * gdb.asm/powerpc64le.inc: New file.
17389 2014-03-25 Pedro Alves <palves@redhat.com>
17390 Doug Evans <dje@google.com>
17392 * gdb.base/source-execution.c: New file.
17393 * gdb.base/source-execution.exp: New file.
17394 * gdb.base/source-execution.gdb: New file.
17396 2014-03-24 Doug Evans <dje@google.com>
17398 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17401 2014-03-24 Hui Zhu <hui@codesourcery.com>
17402 Pedro Alves <palves@redhat.com>
17404 PR breakpoints/16101
17405 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17406 test pass/fail messages. Detect missing support for dprintf when
17407 breakpoints are actually inserted.
17408 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17409 breakpoints are actually inserted.
17410 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17413 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17415 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17417 2014-03-22 Doug Evans <xdje42@gmail.com>
17419 * gdb.python/python.exp (python not supported): Verify multi-line
17420 python command issues an error.
17421 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17422 guile command issues an error.
17424 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17426 * gdb.threads/thread-specific.exp: Handle the lack of usable
17427 $this_breakpoint and $this_thread.
17429 2014-03-21 Hui Zhu <hui@codesourcery.com>
17431 * gdb.base/attach.exp (do_command_attach_tests): New.
17433 2014-03-20 Tom Tromey <tromey@redhat.com>
17434 Pedro Alves <palves@redhat.com>
17437 * gdb.base/condbreak-call-false.c: New file.
17438 * gdb.base/condbreak-call-false.exp: New file.
17440 2014-03-20 Pedro Alves <palves@redhat.com>
17442 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17444 (block_signals, unblock_signals): Delete.
17445 (child_function_2, main): Remove references to deleted variable
17448 2014-03-20 Pedro Alves <palves@redhat.com>
17450 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17451 Use pthread_kill to signal thread 2.
17452 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17453 Adjust to make the test send itself a signal rather than using the
17454 host's "kill" command.
17456 2014-03-20 Pedro Alves <palves@redhat.com>
17458 * gdb.threads/multiple-step-overs.c: New file.
17459 * gdb.threads/multiple-step-overs.exp: New file.
17460 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17461 Adjust expected infrun debug output.
17463 2014-03-20 Pedro Alves <palves@redhat.com>
17465 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17466 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17468 2014-03-20 Pedro Alves <palves@redhat.com>
17470 PR breakpoints/7143
17471 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17472 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17473 of gdb_test_multiple.
17474 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17475 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17477 2014-03-20 Pedro Alves <palves@redhat.com>
17479 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17480 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17482 2014-03-19 Pedro Alves <palves@redhat.com>
17484 * gdb.base/async.exp: Remove early return.
17486 2014-03-19 Pedro Alves <palves@redhat.com>
17488 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17490 2014-03-19 Pedro Alves <palves@redhat.com>
17492 * gdb.base/async.exp (test_background): Expect \r\n after
17493 "completed." in the fail pattern.
17495 2014-03-19 Pedro Alves <palves@redhat.com>
17497 * gdb.base/async.exp (test_background): New procedure.
17498 Use it for all background execution command tests.
17500 2014-03-19 Pedro Alves <palves@redhat.com>
17502 * gdb.base/async.exp: Use prepare_for_testing.
17504 2014-03-19 Pedro Alves <palves@redhat.com>
17506 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17509 2014-03-19 Pedro Alves <palves@redhat.com>
17511 * gdb.base/async.c (main): Add "jump here" and "until here" line
17513 * gdb.base/async.exp (jump_here): New global.
17514 (jump& test): Use it.
17515 (until_here): New global.
17516 (until& test): Use it.
17518 2014-03-19 Pedro Alves <palves@redhat.com>
17520 * gdb.base/async.exp: Don't frob gdb_protocol.
17522 2014-03-18 Doug Evans <xdje42@gmail.com>
17524 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17525 Fix spelling of exec-done-display.
17527 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17530 * gdb.base/gdb-sigterm.c: New file.
17531 * gdb.base/gdb-sigterm.exp: New file.
17533 2014-03-18 Pedro Alves <palves@redhat.com>
17536 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17537 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17540 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17542 * gdb.ada/pckd_arr_ren: New testcase.
17544 2014-03-13 Doug Evans <xdje42@gmail.com>
17547 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17548 collect after discarding symbols.
17550 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17551 Doug Evans <xdje42@gmail.com>
17553 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17554 to history survives a gc.
17556 2014-03-13 Pedro Alves <palves@redhat.com>
17558 * gdb.base/default.exp: Don't test "target procfs".
17560 2014-03-13 Pedro Alves <palves@redhat.com>
17562 * gdb.base/default.exp: Update "target child" and "target procfs"
17563 tests to not expect "Unix".
17565 2014-03-12 Tom Tromey <tromey@redhat.com>
17567 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17568 New procs. Add target-async tests.
17569 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17570 Add target-async tests.
17572 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17574 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17575 'func_start' and 'func_end' for the beginning and end of the
17576 function code, respectively.
17577 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17578 'func_end' instead of 'func' and 'main'.
17580 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17582 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17583 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17584 generate the debug info assembler source.
17586 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17588 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17589 * gdb.dwarf2/arr-subrange.exp: Likewise.
17590 * gdb.dwarf2/dwz.exp: Likewise.
17591 * gdb.dwarf2/method-ptr.exp: Likewise.
17592 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17593 * gdb.dwarf2/subrange.exp: Likewise.
17594 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17595 * gdb.dwarf2/implptrpiece.exp: Likewise.
17596 * gdb.dwarf2/nostaticblock.exp: Likewise.
17598 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17600 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17601 directory to absolute path name arguments.
17603 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17605 * gdb.ada/tagged_access: New testcase.
17607 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17609 * gdb.btrace/data.exp: Update expected output.
17611 2014-03-06 Yao Qi <yao@codesourcery.com>
17613 * gdb.trace/pr16508.exp: New file.
17615 2014-03-05 Pedro Alves <palves@redhat.com>
17618 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17620 (top level): Adjust to use it. Add tests that exercise breakpoint
17621 interaction with the code-cache.
17623 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17625 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17626 test for 'history-append!'.
17628 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17630 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17631 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17632 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17633 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17634 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17635 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17637 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17639 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17640 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17641 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17643 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17645 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17647 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17649 * gdb.dwarf2/arr-stride.c: New file.
17650 * gdb.dwarf2/arr-stride.exp: New file.
17652 2014-02-26 Pedro Alves <palves@redhat.com>
17654 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17655 that won't ever trigger. Make sure that GDB reports the correct
17656 breakpoint that caused the stop.
17658 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17661 * gdb.base/auto-load-script: New file.
17662 * gdb.base/auto-load.c: New file.
17663 * gdb.base/auto-load.exp: New file.
17666 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17668 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17670 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17671 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17673 2014-02-24 Doug Evans <dje@google.com>
17675 * lib/gdb.exp (run_on_host): Log error output if program fails.
17677 2014-02-21 Pedro Alves <palves@redhat.com>
17679 * gdb.threads/step-after-sr-lock.c: Rename to ...
17680 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17681 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17682 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17685 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17688 * gdb.arch/amd64-stap-special-operands.exp: New file.
17689 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17690 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17691 * gdb.arch/amd64-stap-triplet.S: Likewise.
17692 * gdb.arch/amd64-stap-triplet.c: Likewise.
17694 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17696 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17697 in .section pseudo-op.
17699 2014-02-20 lin zuojian <manjian2006@gmail.com>
17700 Joel Brobecker <brobecker@adacore.com>
17701 Doug Evans <xdje42@gmail.com>
17704 * gdb.dwarf2/dw2-icycle.S: New file.
17705 * gdb.dwarf2/dw2-icycle.c: New file.
17706 * gdb.dwarf2/dw2-icycle.exp: New file.
17708 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17710 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17711 operations on gdb.Value objects.
17712 * gdb.python/py-value-cc.exp: Add new test to test operations on
17715 2014-02-18 Doug Evans <dje@google.com>
17717 * Makefile.in (TESTS): New variable.
17718 (expanded_tests, expanded_tests_or_none): New variables
17719 (check-single): Pass $(expanded_tests_or_none) to runtest.
17720 (check-parallel): Only run tests in $(TESTS) if non-empty.
17721 (check/no-matching-tests-found): New rule.
17722 * README: Document TESTS makefile variable.
17724 2014-02-18 Doug Evans <dje@google.com>
17726 * Makefile.in (check-parallel): rm -rf outputs temp.
17728 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17730 Fix "ERROR: no fileid for" in the testsuite.
17731 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17733 2014-02-12 Doug Evans <dje@google.com>
17735 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17736 (MISCELLANEOUS): New variable.
17737 (clean): rm -rf $(MISCELLANEOUS).
17738 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17739 dwp live in the same directory as symlinks, with each symlink pointed
17740 to a differently named file in a different directory.
17742 2014-02-11 Doug Evans <dje@google.com>
17744 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17745 of Tcl file commands.
17747 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17749 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17750 "kill -SIGUSR1 -1".
17752 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17754 * gdb.ada/tick_length_array_enum_idx: New testcase.
17756 2014-02-10 Doug Evans <xdje42@gmail.com>
17758 * configure.ac (AC_OUTPUT): Add gdb.guile.
17759 * configure: Regenerate.
17760 * lib/gdb-guile.exp: New file.
17761 * lib/gdb.exp (get_target_charset): New function.
17762 * gdb.base/help.exp: Update expected output from "apropos apropos".
17763 * gdb.guile/Makefile.in: New file.
17764 * gdb.guile/guile.exp: New file.
17765 * gdb.guile/scm-arch.c: New file.
17766 * gdb.guile/scm-arch.exp: New file.
17767 * gdb.guile/scm-block.c: New file.
17768 * gdb.guile/scm-block.exp: New file.
17769 * gdb.guile/scm-breakpoint.c: New file.
17770 * gdb.guile/scm-breakpoint.exp: New file.
17771 * gdb.guile/scm-disasm.c: New file.
17772 * gdb.guile/scm-disasm.exp: New file.
17773 * gdb.guile/scm-equal.c: New file.
17774 * gdb.guile/scm-equal.exp: New file.
17775 * gdb.guile/scm-error.exp: New file.
17776 * gdb.guile/scm-error.scm: New file.
17777 * gdb.guile/scm-frame-args.c: New file.
17778 * gdb.guile/scm-frame-args.exp: New file.
17779 * gdb.guile/scm-frame-args.scm: New file.
17780 * gdb.guile/scm-frame-inline.c: New file.
17781 * gdb.guile/scm-frame-inline.exp: New file.
17782 * gdb.guile/scm-frame.c: New file.
17783 * gdb.guile/scm-frame.exp: New file.
17784 * gdb.guile/scm-generics.exp: New file.
17785 * gdb.guile/scm-gsmob.exp: New file.
17786 * gdb.guile/scm-iterator.c: New file.
17787 * gdb.guile/scm-iterator.exp: New file.
17788 * gdb.guile/scm-math.c: New file.
17789 * gdb.guile/scm-math.exp: New file.
17790 * gdb.guile/scm-objfile-script-gdb.in: New file.
17791 * gdb.guile/scm-objfile-script.c: New file.
17792 * gdb.guile/scm-objfile-script.exp: New file.
17793 * gdb.guile/scm-objfile.c: New file.
17794 * gdb.guile/scm-objfile.exp: New file.
17795 * gdb.guile/scm-ports.exp: New file.
17796 * gdb.guile/scm-pretty-print.c: New file.
17797 * gdb.guile/scm-pretty-print.exp: New file.
17798 * gdb.guile/scm-pretty-print.scm: New file.
17799 * gdb.guile/scm-section-script.c: New file.
17800 * gdb.guile/scm-section-script.exp: New file.
17801 * gdb.guile/scm-section-script.scm: New file.
17802 * gdb.guile/scm-symbol.c: New file.
17803 * gdb.guile/scm-symbol.exp: New file.
17804 * gdb.guile/scm-symtab-2.c: New file.
17805 * gdb.guile/scm-symtab.c: New file.
17806 * gdb.guile/scm-symtab.exp: New file.
17807 * gdb.guile/scm-type.c: New file.
17808 * gdb.guile/scm-type.exp: New file.
17809 * gdb.guile/scm-value-cc.cc: New file.
17810 * gdb.guile/scm-value-cc.exp: New file.
17811 * gdb.guile/scm-value.c: New file.
17812 * gdb.guile/scm-value.exp: New file.
17813 * gdb.guile/source2.scm: New file.
17814 * gdb.guile/types-module.cc: New file.
17815 * gdb.guile/types-module.exp: New file.
17817 2014-02-10 Yao Qi <yao@codesourcery.com>
17820 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17821 * configure: Regenerated.
17822 * Makefile.in: New file.
17824 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17826 * gdb.python/py-framefilter.exp: Fix typo.
17828 2014-02-08 Yao Qi <yao@codesourcery.com>
17830 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17831 that no =breakpoint-modified is emitted when breakpoints are
17832 modified through MI commands.
17834 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17835 Pedro Alves <palves@redhat.com>
17837 * gdb.threads/step-after-sr-lock.c: New file.
17838 * gdb.threads/step-after-sr-lock.exp: New file.
17840 2014-02-07 Pedro Alves <palves@redhat.com>
17842 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17844 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17846 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17847 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17849 2014-02-06 Doug Evans <xdje42@gmail.com>
17851 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17854 * gdb.gdb/python-interrupts.exp: New file.
17856 2014-02-05 Yao Qi <yao@codesourcery.com>
17858 * gdb.trace/report.exp (use_collected_data): Test the output
17859 of "info threads" and "info inferiors".
17861 2014-02-05 Yao Qi <yao@codesourcery.com>
17865 2013-05-24 Yao Qi <yao@codesourcery.com>
17867 * gdb.trace/tfile.exp: Test inferior and thread.
17869 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17871 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17873 * gdb.base/step-bt.c: Call hello via function pointer to make
17874 sure its first instruction is executed on powerpc64le-linux.
17876 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17878 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17880 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17882 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17883 of the test patterns for use on little-endian systems.
17885 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17887 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17888 (decimal_vector): Fix for little-endian.
17890 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17892 * gdb.arch/sparc-sysstep.exp: New file.
17893 * gdb.arch/sparc-sysstep.c: Likewise.
17895 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17897 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17899 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17901 2014-01-23 Tom Tromey <tromey@redhat.com>
17903 * gdb.ada/array_char_idx: New testcase.
17905 2014-01-23 Tom Tromey <tromey@redhat.com>
17908 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17909 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17912 2014-01-23 Tom Tromey <tromey@redhat.com>
17915 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17916 string from an inferior frame.
17917 * gdb.python/py-framefilter-mi.exp: Update.
17919 2014-01-22 Doug Evans <dje@google.com>
17921 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17923 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17925 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17927 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17929 * gdb.trace/entry-values.exp: Remove excess space character from
17930 regex patterns. Handle s390 call instruction.
17932 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17934 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17935 define "*_start" label. Make "name" static.
17936 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17937 ${name} by references to ${name}_start.
17939 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17941 * gdb.base/info-macros.exp: Remove "debug" from the compile
17944 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17946 * gdb.dlang/demangle.exp: New file.
17948 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17950 * gdb.dlang/primitive-types.exp: New file.
17952 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17954 * configure.ac: Create gdb.dlang/Makefile.
17955 * configure: Regenerate.
17956 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17957 * gdb.dlang/Makefile.in: New file.
17958 * lib/d-support.exp: New file.
17959 * lib/gdb.exp (skip_d_tests): New proc.
17961 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17963 * gdb.btrace/delta.exp: Check reverse stepi.
17964 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17965 * gdb.btrace/finish.exp: New.
17966 * gdb.btrace/next.exp: New.
17967 * gdb.btrace/nexti.exp: New.
17968 * gdb.btrace/record_goto.c: Add comments.
17969 * gdb.btrace/step.exp: New.
17970 * gdb.btrace/stepi.exp: New.
17971 * gdb.btrace/multi-thread-step.c: New.
17972 * gdb.btrace/multi-thread-step.exp: New.
17973 * gdb.btrace/rn-dl-bind.c: New.
17974 * gdb.btrace/rn-dl-bind.exp: New.
17975 * gdb.btrace/data.c: New.
17976 * gdb.btrace/data.exp: New.
17977 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17979 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17981 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17982 * gdb.btrace/exception.exp: Update.
17983 * gdb.btrace/instruction_history.exp: Update.
17984 * gdb.btrace/record_goto.exp: Update.
17985 * gdb.btrace/tailcall.exp: Update.
17986 * gdb.btrace/unknown_functions.exp: Update.
17987 * gdb.btrace/delta.exp: New.
17989 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17991 * gdb.btrace/record_goto.exp: Add backtrace test.
17992 * gdb.btrace/tailcall.exp: Add backtrace test.
17994 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17996 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17997 * gdb.btrace/record_goto.c: New.
17998 * gdb.btrace/record_goto.exp: New.
17999 * gdb.btrace/x86-record_goto.S: New.
18001 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18003 * gdb.btrace/function_call_history.exp: Update tests.
18004 * gdb.btrace/instruction_history.exp: Update tests.
18006 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18008 * gdb.btrace/function_call_history.exp: Fix expected field
18009 order for "record function-call-history".
18010 Add new tests for "record function-call-history /c".
18011 * gdb.btrace/exception.cc: New.
18012 * gdb.btrace/exception.exp: New.
18013 * gdb.btrace/tailcall.exp: New.
18014 * gdb.btrace/x86-tailcall.S: New.
18015 * gdb.btrace/x86-tailcall.c: New.
18016 * gdb.btrace/unknown_functions.c: New.
18017 * gdb.btrace/unknown_functions.exp: New.
18018 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18020 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18022 * gdb.btrace/instruction_history.exp: Update.
18023 * gdb.btrace/function_call_history.exp: Update.
18025 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18027 * gdb.btrace/function_call_history.exp: Fix expected function
18029 * gdb.btrace/instruction_history.exp: Initialize traced.
18030 Remove traced_functions.
18032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18034 * gdb.btrace/function_call_history.exp: Update
18035 * gdb.btrace/instruction_history.exp: Update.
18037 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18039 * gdb.btrace/enable.exp: Update expected text.
18041 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18043 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18046 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18048 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18050 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18052 * lib/gdb.exp (supports_process_record): Return true for
18053 arm*-linux*. (supports_reverse): Likewise.
18055 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18059 * gdb.python/py-type.c: Enhance test case.
18060 * gdb.python/py-value-cc.cc: Likewise
18061 * gdb.python/py-type.exp: Add new tests.
18062 * gdb.python/py-value-cc.exp: Likewise
18064 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18065 Pedro Alves <palves@redhat.com>
18067 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18068 Make "name" extern.
18069 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18070 references to ${name}_start by references to ${name}.
18072 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18074 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18076 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18078 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18080 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18081 Pedro Alves <palves@redhat.com>
18083 * gdb.mi/mi-info-os.exp: Connect to the target with
18084 mi_gdb_target_load.
18086 2014-01-08 Pedro Alves <palves@redhat.com>
18088 * gdb.threads/reconnect-signal.c: New file.
18089 * gdb.threads/reconnect-signal.exp: New file.
18091 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18093 * gdb.base/source-dir.exp: New file.
18095 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18097 * gdb.ada/mi_interface: New testcase.
18099 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18101 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18102 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18103 gdb.ada/pp-rec-component/pck.ads: New files.
18105 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18107 * gdb.python/py-pp-integral.c: New file.
18108 * gdb.python/py-pp-integral.py: New file.
18109 * gdb.python/py-pp-integral.exp: New file.
18111 For older changes see ChangeLog-1993-2013.
18113 ;; Local Variables:
18114 ;; mode: change-log
18117 ;; version-control: never
18120 Copyright 2014-2020 Free Software Foundation, Inc.
18121 Copying and distribution of this file, with or without modification,
18122 are permitted provided the copyright notice and this notice are preserved.