1 2020-01-10 George Barrett <bob@bob131.so>
3 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4 to help in finding the image relocation offset.
5 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
7 (stap_test_no_debuginfo): Likewise.
8 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
10 (stap_test): Add null semaphore relocation test.
12 2020-01-10 George Barrett <bob@bob131.so>
14 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
15 * gdb.base/stap-probe.exp: Likewise.
16 (stap_test): Pass argument as an additional flag.
17 (stap_test_no_debuginfo): Likewise.
18 (stap_test): Check `info probes stap' output for semaphore
19 addresses if the test binary is supposed to have them.
21 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
23 * gdb.tui/basic.exp: Add more scrolling tests.
25 2020-01-09 Tom Tromey <tom@tromey.com>
28 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
30 (Term::command, Term::resize): Update.
31 * gdb.tui/basic.exp: Add scrolling test.
33 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
35 * gdb.tui/tui-layout-asm.exp: New file.
37 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
39 * lib/tuiterm.exp (Term::check_box_contents): New proc.
41 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
43 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
44 (Term::enter_tui): Use Term::prepare_for_tui.
46 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
48 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
51 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
53 * gdb.base/skip.exp: Fix race condition in test.
55 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
57 * gdb.base/backtrace.c: New file.
58 * gdb.base/backtrace.exp: New file.
60 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
62 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
64 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
66 * gdb.base/style.exp: Test that warnings are styled.
68 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
70 * gdb.base/line65535.exp: New file.
71 * gdb.base/line65535.c: New file.
73 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
75 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
76 * lib/gnat_debug_info_test.adb: New file.
77 * gdb.ada/ptype_tagged_param.exp: Use
78 gnat_runtime_has_debug_info, expect a different output if
79 runtime does not have debug info.
81 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
83 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
84 (another) quote in test name.
86 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
88 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
89 Add quote in test name.
91 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
93 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
95 * gdb.cp/pass-by-ref.exp: Extend with more cases.
96 * gdb.cp/pass-by-ref-2.cc: New file.
97 * gdb.cp/pass-by-ref-2.exp: New file.
99 2019-12-20 Tom Tromey <tom@tromey.com>
101 * gdb.tui/list-before.exp: New file.
103 2019-12-20 Tom Tromey <tom@tromey.com>
105 * gdb.tui/list.exp: Check for source on initial listing.
107 2019-12-11 Tom Tromey <tromey@adacore.com>
109 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
112 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
114 * gdb.base/default.exp: Update value of $_gdb_major.
116 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
118 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
120 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
122 * gdb.base/skip.exp: Whitespace fix.
124 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
126 * gdb.base/skip-inline.c: New file.
127 * gdb.base/skip-inline.exp: New file.
129 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
131 * gdb.base/jit-reader.exp (jit_reader_test): Rename
132 jit_function_00 to jit_function_stack_mangle.
133 * gdb.base/jithost.c (jit_function_t): Rename to...
134 (jit_function_stack_mangle_t): ... this.
135 (jit_function_add_t): New typedef.
136 (jit_function_00_code): Rename to...
137 (jit_function_stack_mangle_code): ... this, make static.
138 (jit_function_add_code): New.
139 (main): Generate "add" function and call it. Adjust to changes
141 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
142 (struct jithost_abi) <begin, end>: Remove fields.
143 <object, function_stack_mangle, function_add>: New fields.
144 * gdb.base/jitreader.c (struct reader_state) <code_begin,
145 code_end>: Remove fields.
146 <func_stack_mangle>: New field.
147 (read_debug_info): Adjust to renaming, create block for "add"
149 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
151 2019-12-11 Tom Tromey <tom@tromey.com>
153 * gdb.tui/resize.exp: Fix regexp.
154 * gdb.tui/regs.exp: Fix regexps.
155 * gdb.tui/main.exp: Fix regexp.
157 2019-12-11 Tom Tromey <tom@tromey.com>
159 * gdb.tui/resize.exp: Update.
160 * gdb.tui/empty.exp (layouts): Update.
162 2019-12-11 Tom Tromey <tom@tromey.com>
164 * gdb.tui/regs.exp: Update.
165 * gdb.tui/empty.exp (layouts): Update.
166 * gdb.tui/basic.exp: Update.
167 * lib/tuiterm.exp (_check_box): Don't check bottom border.
169 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
171 * gdb.base/options.exp: Add -raw-values in the print completion list.
172 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
174 2019-12-10 Kevin Buettner <kevinb@redhat.com>
176 * gdb.threads/omp-par-scope.c: New file.
177 * gdb/threads/omp-par-scope.exp: New file.
179 2019-12-10 Kevin Buettner <kevinb@redhat.com>
181 * lib/gdb.exp (support_nested_function_tests): New proc.
183 2019-12-10 Kevin Buettner <kevinb@redhat.com>
185 * lib/gdb.exp (gdb_compile_openmp): New proc.
186 (build_executable_from_specs): Add an "openmp" option.
187 (gdb_compile_pthreads): Add non-executable case.
189 2019-12-10 Tom Tromey <tromey@adacore.com>
191 * gdb.ada/unchecked_union.exp: New file.
192 * gdb.ada/unchecked_union/pck.adb: New file.
193 * gdb.ada/unchecked_union/pck.ads: New file.
194 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
195 * gdb-utils.exp (string_to_regexp): Also quote "?".
197 2019-12-10 George Barrett <bob@bob131.so>
199 Test scripted probe breakpoints.
200 * gdb.guile/scm-breakpoint.c (main): Add probe point.
201 * gdb.python/py-breakpoint.c (main): Likewise.
202 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
204 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
206 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
208 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
210 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
213 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
215 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
218 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
220 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
221 broken version of GCC.
223 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
225 * gdb.fortran/info-modules.exp: Rewrite to make use of new
226 sym-info-cmds library.
227 * gdb.fortran/info-types.exp: Likewise.
228 * lib/sym-info-cmds.exp: New file.
230 2019-12-08 Tom de Vries <tdevries@suse.de>
232 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
234 2019-12-07 Keith Seitz <keiths@redhat.com>
236 * gdb.base/corefile-buildid-shlib-shr.c: New file.
237 * gdb.base/corefile-buildid-shlib.c: New file.
238 * gdb.base/corefile-buildid.c: New file.
239 * gdb.base/corefile-buildid.exp: New file.
241 2019-12-06 Tom de Vries <tdevries@suse.de>
243 * gdb.dwarf2/varval.exp: Add decl before def test.
245 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
247 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
249 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
251 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
252 CV and reference conversion for overload resolution.
253 * gdb.cp/rvalue-ref-overload.exp: Test it.
255 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
257 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
258 * gdb.base/frameapply.exp: Test faas without command.
260 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
262 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
264 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
267 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
269 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
270 casting to type with no kind specified.
271 (test_basic_parsing_of_type_kinds): Additional tests for types
272 with no kind specified, and add tests for single/double
273 precision/complex types.
275 2019-12-04 Tom Tromey <tromey@adacore.com>
277 * gdb.base/endianity.c (struct other) <x>: New field.
278 (main): Initialize it.
279 * gdb.base/endianity.exp: Update.
281 2019-12-04 Tom Tromey <tromey@adacore.com>
283 * gdb.ada/scalar_storage/storage.adb: New file.
284 * gdb.ada/scalar_storage/pck.adb: New file.
285 * gdb.ada/scalar_storage/pck.ads: New file.
286 * gdb.ada/scalar_storage.exp: New file.
288 2019-12-04 Tom Tromey <tromey@adacore.com>
290 * gdb.base/endianity.c (struct otherendian) <f>: New field.
291 (main): Initialize it.
292 * gdb.base/endianity.exp: Update.
294 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
296 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
298 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
300 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
301 -symbol-info-module-functions and -symbol-info-module-variables.
303 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
305 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
307 2019-12-01 Richard Bunt <richard.bunt@arm.com>
308 Andrew Burgess <andrew.burgess@embecosm.com>
310 * gdb.fortran/derived-type-striding.exp: New file.
311 * gdb.fortran/derived-type-striding.f90: New file.
312 * gdb.fortran/array-slices.exp: New file.
313 * gdb.fortran/array-slices.f90: New file.
315 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
317 * gdb.base/define.exp: Test . in command names.
318 * gdb.base/setshow.exp: Update test, as . is now part of
321 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
323 * gdb.base/define-prefix.exp: New file.
325 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
327 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
329 (skip_btrace_pt_tests): Likewise.
331 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
333 * gdb.fortran/info-modules.exp: Compile source files in correct
336 2019-11-27 Kevin Buettner <kevinb@redhat.com>
338 * gdb.dwarf2/imported-unit.exp: New file.
339 * gdb.dwarf2/imported-unit.c: New file.
341 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
343 * gdb.mi/mi-fortran-modules-2.f90: New file.
344 * gdb.mi/mi-fortran-modules.exp: New file.
345 * gdb.mi/mi-fortran-modules.f90: New file.
347 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
349 * gdb.mi/mi-sym-info-1.c: New file.
350 * gdb.mi/mi-sym-info-2.c: New file.
351 * gdb.mi/mi-sym-info.exp: New file.
353 2019-11-22 Tom Tromey <tromey@adacore.com>
355 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
356 * gdb.ada/tasks/foo.adb: Add another stopping location.
358 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
360 * gdb.base/endianity.c: New test.
361 * gdb.base/endianity.exp: New file.
363 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
365 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
367 2019-11-21 Tom de Vries <tdevries@suse.de>
370 * gdb.base/ui-redirect.exp: Test output of user-defined command.
372 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
374 * gdb.python/py-progspace.exp: Add missing parentheses on some
377 2019-11-19 Tom Tromey <tom@tromey.com>
379 * gdb.tui/winheight.exp: New file.
381 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
383 * gdb.base/ctf-whatis.c: Delete.
384 * gdb.base/ctf-whatis.exp: Delete.
385 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
387 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
389 * gdb.base/ctf-cvexpr.exp: Delete.
390 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
392 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
394 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
395 the compiler. Clean up header comment a little.
396 * gdb.base/ctf-ptype.exp: Likewise.
397 * gdb.base/ctf-whatis.exp: Likewise.
398 * lib/gdb.exp (skip_ctf_tests): New proc.
400 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
402 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
403 * gdb.tui/corefile-run.exp: New file.
405 2019-11-14 Tom Tromey <tromey@adacore.com>
407 * gdb.base/gdbvars.exp (test_convenience_variables): Add
410 2019-11-12 Tom Tromey <tom@tromey.com>
412 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
413 after any command. Expect prompt after WAIT_FOR is seen.
414 (enter_tui): Enable resize messages.
415 (command): Expect command in output.
416 (get_line): Avoid error when cursor appears to be off-screen.
417 (dump_screen): Include screen size in title.
418 (_do_resize): New proc, from "resize".
419 (resize): Rewrite. Do resize in two steps.
420 * gdb.tui/empty.exp (layouts): Fix entries.
421 (check_boxes): Remove xfail.
422 (check_text): Dump screen on failure.
424 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
426 * gdb.python/py-symbol.exp: Add test for
427 gdb.lookup_static_symbols.
429 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
431 * gdb.python/py-symbol.c: Declare and call function from new
433 * gdb.python/py-symbol.exp: Compile both source files, and add new
434 tests for gdb.lookup_static_symbol.
435 * gdb.python/py-symbol-2.c: New file.
437 2019-11-02 Tom de Vries <tdevries@suse.de>
439 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
440 * gdb.base/anon.exp: Same.
441 * gdb.base/auto-connect-native-target.exp: Same.
442 * gdb.base/call-ar-st.exp: Same.
443 * gdb.base/catch-syscall.exp: Same.
444 * gdb.base/commands.exp: Same.
445 * gdb.base/default.exp: Same.
446 * gdb.base/display.exp: Same.
447 * gdb.base/float.exp: Same.
448 * gdb.base/foll-fork.exp: Same.
449 * gdb.base/help.exp: Same.
450 * gdb.base/info-macros.exp: Same.
451 * gdb.base/info-proc.exp: Same.
452 * gdb.base/info-target.exp: Same.
453 * gdb.base/long_long.exp: Same.
454 * gdb.base/macscp.exp: Same.
455 * gdb.base/memattr.exp: Same.
456 * gdb.base/nofield.exp: Same.
457 * gdb.base/pointers.exp: Same.
458 * gdb.base/printcmds.exp: Same.
459 * gdb.base/ptype.exp: Same.
460 * gdb.base/restore.exp: Same.
461 * gdb.base/return.exp: Same.
462 * gdb.base/scope.exp: Same.
463 * gdb.base/set-noassign.exp: Same.
464 * gdb.base/setshow.exp: Same.
465 * gdb.base/shlib-call.exp: Same.
466 * gdb.base/signals.exp: Same.
467 * gdb.base/sigstep.exp: Same.
468 * gdb.base/skip.exp: Same.
469 * gdb.base/solib-symbol.exp: Same.
470 * gdb.base/stap-probe.exp: Same.
471 * gdb.base/step-line.exp: Same.
472 * gdb.base/step-test.exp: Same.
473 * gdb.base/style.exp: Same.
474 * gdb.base/varargs.exp: Same.
475 * gdb.base/vla-datatypes.exp: Same.
476 * gdb.base/vla-ptr.exp: Same.
477 * gdb.base/vla-sideeffect.exp: Same.
478 * gdb.base/volatile.exp: Same.
479 * gdb.base/watch-cond-infcall.exp: Same.
480 * gdb.base/watchpoint.exp: Same.
482 2019-11-02 Tom de Vries <tdevries@suse.de>
484 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
485 * gdb.cp/cpexprs.exp: Same.
486 * gdb.cp/except-multi-location.exp: Same.
487 * gdb.cp/exceptprint.exp: Same.
488 * gdb.cp/gdb2384.exp: Same.
489 * gdb.cp/inherit.exp: Same.
490 * gdb.cp/m-static.exp: Same.
491 * gdb.cp/meth-typedefs.exp: Same.
492 * gdb.cp/misc.exp: Same.
493 * gdb.cp/namespace.exp: Same.
494 * gdb.cp/non-trivial-retval.exp: Same.
495 * gdb.cp/overload.exp: Same.
496 * gdb.cp/pr17132.exp: Same.
497 * gdb.cp/re-set-overloaded.exp: Same.
498 * gdb.cp/rvalue-ref-types.exp: Same.
499 * gdb.cp/templates.exp: Same.
501 2019-11-01 Luis Machado <luis.machado@linaro.org>
505 * gdb.arch/pr25124.S: New file.
506 * gdb.arch/pr25124.exp: New file.
508 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
510 * gdb.fortran/info-modules.exp: Update expected results, and add
511 additional tests for 'info module functinos', and 'info module
513 * gdb.fortran/info-types.exp: Update expected results.
514 * gdb.fortran/info-types.f90: Extend testcase with additional
515 module variables and functions.
517 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
519 * gdb.fortran/info-modules.exp: New file.
520 * gdb.fortran/info-types.exp: Build with new file.
521 * gdb.fortran/info-types.f90: Include and use new module.
522 * gdb.fortran/info-types-2.f90: New file.
524 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
526 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
527 * gdb.base/settings.exp: Test all settings types using
528 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
529 that now verifies that the value of "maint show" is the same as
530 returned by the settings functions. Test the type of the
531 maintenance settings.
532 * gdb.base/default.exp: Update show_conv_list.
534 2019-10-31 Tom de Vries <tdevries@suse.de>
536 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
538 * gdb.arch/amd64-disp-step.exp: Same.
539 * gdb.asm/asm-source.exp: Same.
540 * gdb.btrace/buffer-size.exp: Same.
541 * gdb.btrace/cpu.exp: Same.
542 * gdb.btrace/enable.exp: Same.
543 * gdb.dwarf2/count.exp: Same.
544 * gdb.dwarf2/dw2-ranges-func.exp: Same.
545 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
546 * gdb.fortran/vla-datatypes.exp: Same.
547 * gdb.fortran/vla-history.exp: Same.
548 * gdb.fortran/vla-ptype.exp: Same.
549 * gdb.fortran/vla-value.exp: Same.
550 * gdb.fortran/whatis_type.exp: Same.
551 * gdb.guile/guile.exp: Same.
552 * gdb.multi/tids.exp: Same.
553 * gdb.python/py-finish-breakpoint.exp: Same.
554 * gdb.python/py-framefilter.exp: Same.
555 * gdb.python/py-pp-registration.exp: Same.
556 * gdb.python/py-xmethods.exp: Same.
557 * gdb.python/python.exp: Same.
558 * gdb.server/connect-with-no-symbol-file.exp: Same.
559 * gdb.server/no-thread-db.exp: Same.
560 * gdb.server/run-without-local-binary.exp: Same.
561 * gdb.stabs/weird.exp: Same.
562 * gdb.threads/attach-many-short-lived-threads.exp: Same.
563 * gdb.threads/thread-find.exp: Same.
564 * gdb.threads/tls-shared.exp: Same.
565 * gdb.threads/tls.exp: Same.
566 * gdb.threads/wp-replication.exp: Same.
567 * gdb.trace/ax.exp: Same.
568 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
570 2019-10-31 Tom de Vries <tdevries@suse.de>
572 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
573 * gdb.ada/array_subscript_addr.exp: Same.
574 * gdb.ada/arrayidx.exp: Same.
575 * gdb.ada/arrayparam.exp: Same.
576 * gdb.ada/arrayptr.exp: Same.
577 * gdb.ada/boolean_expr.exp: Same.
578 * gdb.ada/call_pn.exp: Same.
579 * gdb.ada/complete.exp: Same.
580 * gdb.ada/fixed_cmp.exp: Same.
581 * gdb.ada/fun_addr.exp: Same.
582 * gdb.ada/funcall_param.exp: Same.
583 * gdb.ada/interface.exp: Same.
584 * gdb.ada/mod_from_name.exp: Same.
585 * gdb.ada/null_array.exp: Same.
586 * gdb.ada/packed_array.exp: Same.
587 * gdb.ada/packed_tagged.exp: Same.
588 * gdb.ada/print_chars.exp: Same.
589 * gdb.ada/print_pc.exp: Same.
590 * gdb.ada/ptype_arith_binop.exp: Same.
591 * gdb.ada/ptype_field.exp: Same.
592 * gdb.ada/ptype_tagged_param.exp: Same.
593 * gdb.ada/rec_return.exp: Same.
594 * gdb.ada/ref_tick_size.exp: Same.
595 * gdb.ada/str_ref_cmp.exp: Same.
596 * gdb.ada/taft_type.exp: Same.
597 * gdb.ada/tagged.exp: Same.
598 * gdb.ada/type_coercion.exp: Same.
599 * gdb.ada/uninitialized_vars.exp: Same.
601 2019-10-30 Tom de Vries <tdevries@suse.de>
603 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
605 2019-10-26 Tom de Vries <tdevries@suse.de>
607 * gdb.base/bigcore.c: Fix typos in comments.
608 * gdb.base/ctf-ptype.c: Same.
609 * gdb.base/long_long.c: Same.
610 * gdb.dwarf2/dw2-op-out-param.S: Same.
611 * gdb.python/py-evthreads.c: Same.
612 * gdb.reverse/i387-stack-reverse.c: Same.
613 * gdb.trace/tfile.c: Same.
614 * lib/compiler.c: Same.
615 * lib/compiler.cc: Same.
617 2019-10-25 Tom de Vries <tdevries@suse.de>
619 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
620 gdb_test_multiple calls.
621 * gdb.reverse/sigall-reverse.exp: Same.
622 * gdb.reverse/solib-precsave.exp: Same.
623 * gdb.reverse/solib-reverse.exp: Same.
624 * gdb.reverse/until-precsave.exp: Same.
625 * gdb.reverse/until-reverse.exp: Same.
627 2019-10-24 Tom de Vries <tdevries@suse.de>
629 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
630 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
631 kfail using -wrap pattern flag and convenience variable
634 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
636 * gdb.python/py-progspace.exp: Add tests for the
637 Progspace.block_for_pc method.
639 2019-10-23 Tom Tromey <tom@tromey.com>
641 * configure: Rebuild.
642 * aclocal.m4: Use m4_include, not sinclude.
644 2019-10-21 Tom de Vries <tdevries@suse.de>
646 * gdb.base/infcall-nested-structs.c: Add
647 __attribute__((noinline,noclone)) to all functions.
648 (call_all): Add missing variable initialization. Simplify return value.
649 (breakpt): Increment volatile variable, to prevent call from being
651 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
653 2019-10-17 Tom de Vries <tdevries@suse.de>
655 * gdb.fortran/module.exp: Allow info variables to print info for files
656 other than module.f90.
658 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
660 * gdb.fortran/module.exp: Extend with 'info variables' test.
662 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
664 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
667 2019-10-16 Tom de Vries <tdevries@suse.de>
670 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
672 2019-10-16 Tom de Vries <tdevries@suse.de>
675 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
676 Add KFAIL for PR tdep/25096.
678 2019-10-16 Tom de Vries <tdevries@suse.de>
681 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
683 2019-10-16 Tom de Vries <tdevries@suse.de>
685 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
688 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
690 * gdb.mi/list-thread-groups-available.exp: Read entries one by
691 one instead of increasing timeout.
693 2019-10-13 Tom de Vries <tdevries@suse.de>
696 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
697 * gdb.reverse/sigall-reverse.exp: Same.
698 * gdb.reverse/solib-precsave.exp: Same.
699 * gdb.reverse/solib-reverse.exp: Same.
700 * gdb.reverse/step-precsave.exp: Same.
701 * gdb.reverse/until-precsave.exp: Same.
702 * gdb.reverse/until-reverse.exp: Same.
703 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
705 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
707 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
708 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
709 (cmp_struct_05_01, cmp_struct_static_02_01)
710 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
713 2019-10-10 Tom de Vries <tdevries@suse.de>
716 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
719 2019-10-09 Tom de Vries <tdevries@suse.de>
722 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
724 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
726 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
727 exceptions due to missing debug information.
729 2019-10-07 Tom de Vries <tdevries@suse.de>
731 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
733 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
735 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
736 * gdb.base/annota1.exp: Update to use gdb_test_name.
738 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
740 * gdb.base/ctf-whatis.exp: New file.
741 * gdb.base/ctf-whatis.c: New file.
742 * gdb.base/ctf-ptype.exp: New file.
743 * gdb.base/ctf-ptype.c: New file.
744 * gdb.base/ctf-constvars.exp: New file.
745 * gdb.base/ctf-constvars.c: New file.
746 * gdb.base/ctf-cvexpr.exp: New file.
748 2019-10-04 Tom de Vries <tdevries@suse.de>
750 * gdb.cp/local-static.c (main): Move declaration of int i out of the
753 2019-10-03 Tom Tromey <tom@tromey.com>
756 * gdb.rust/simple.rs (Union2): New type.
758 * gdb.rust/simple.exp: Add test.
760 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
762 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
763 nested function prefix.
765 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
766 Richard Bunt <richard.bunt@arm.com>
767 Andrew Burgess <andrew.burgess@embecosm.com>
769 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
771 * gdb.fortran/nested-funcs.f90: Update expected results.
772 * gdb.fortran/nested-funcs-2.exp: New file.
773 * gdb.fortran/nested-funcs-2.f90: New file.
775 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
777 * gdb.python/py-parameter.exp: Make test names unique.
778 * gdb.python/py-template.exp: Likewise.
779 * gdb.python/py-value.exp: Likewise.
781 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
783 * gdb.base/break-interp.exp: Reduce test name duplication.
784 * gdb.base/call-sc.exp: Likewise.
785 * gdb.base/callfuncs.exp: Likewise.
786 * gdb.base/charset.exp: Likewise.
787 * gdb.base/dump.exp: Likewise.
788 * gdb.base/ena-dis-br.exp: Likewise.
789 * gdb.base/relational.exp: Likewise.
790 * gdb.base/step-over-syscall.exp: Likewise.
791 * gdb.base/structs.exp: Likewise.
793 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
795 * gdb.linespec/explicit.exp: Make test names unique.
796 * gdb.linespec/ls-errs.exp: Likewise.
798 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
800 * gdb.reverse/break-precsave.exp: Make test names unique.
801 * gdb.reverse/break-reverse.exp: Likewise.
802 * gdb.reverse/finish-precsave.exp: Likewise.
803 * gdb.reverse/finish-reverse.exp: Likewise.
804 * gdb.reverse/machinestate-precsave.exp: Likewise.
805 * gdb.reverse/machinestate.exp: Likewise.
806 * gdb.reverse/readv-reverse.exp: Likewise.
807 * gdb.reverse/recvmsg-reverse.exp: Likewise.
808 * gdb.reverse/sigall-precsave.exp: Likewise.
809 * gdb.reverse/sigall-reverse.exp: Likewise.
810 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
811 * gdb.reverse/watch-precsave.exp: Likewise.
812 * gdb.reverse/watch-reverse.exp: Likewise.
814 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
816 * gdb.threads/stop-with-handle.c: New file.
817 * gdb.threads/stop-with-handle.exp: New file.
819 2019-10-03 Tom de Vries <tdevries@suse.de>
822 * gdb.base/list-missing-source.exp: Allowing the "Compilation
823 directory" line to be missing.
825 2019-10-03 Tom de Vries <tdevries@suse.de>
828 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
831 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
833 * gdb.python/py-format-string.c (string.h): New include.
834 (main): Fill a_struct_with_union.the_union.an_int with bytes of
835 the same value, for endianness-independence.
836 * gdb.python/py-format-string.exp (default_regexp_dict)
837 (test_pretty_structs, test_format): Adjust expected output to the
838 changed initialization.
840 2019-10-02 Tom Tromey <tromey@adacore.com>
842 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
844 2019-10-02 Pedro Alves <palves@redhat.com>
845 Andrew Burgess <andrew.burgess@embecosm.com>
847 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
849 (this_version_id) Use ATTRIBUTE_VISIBILITY.
850 (get_version_1): Print this_version_id and its address.
851 Add extern "C" wrappers around interface functions.
852 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
854 (this_version_id) Use ATTRIBUTE_VISIBILITY.
855 (get_version_2): Print this_version_id and its address.
856 Add extern "C" wrappers around interface functions.
857 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
858 <stddef.h> and "print-file-var.h".
859 Add extern "C" wrappers around interface functions.
860 [VERSION_ID_MAIN] (this_version_id): Define.
861 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
862 * gdb.base/print-file-var.h: Add some #defines to simplify setting
863 up extern "C" blocks.
864 * gdb.base/print-file-var.exp (test): New, factored out from top
866 (top level): Test all combinations of attribute hidden or not,
867 dlopen or not, and this_version_id symbol in main file or not.
868 Compile tests as both C++ and C, make test names unique.
870 2019-10-01 Tom Tromey <tom@tromey.com>
872 * gdb.base/style.exp: Test "show logging filename".
874 2019-10-01 Tom Tromey <tom@tromey.com>
876 * lib/gdb-utils.exp (style): Handle "metadata" argument.
877 * gdb.base/style.exp: Add metadata style test.
879 2019-10-01 Tom Tromey <tom@tromey.com>
881 * gdb.base/style.exp: Test "pwd".
883 2019-10-01 Tom Tromey <tom@tromey.com>
885 * gdb.base/style.exp: Update tests.
887 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
889 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
891 (s1): Initialize fields 'four' and 'six' instead of 'three' and
892 'five'. Use an all-ones bit pattern for each.
893 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
894 to its changed values.
896 2019-09-30 Tom Tromey <tromey@adacore.com>
898 * gdb.rust/traits.rs: Disable all warnings.
900 2019-09-29 Tom de Vries <tdevries@suse.de>
902 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
904 2019-09-29 Tom de Vries <tdevries@suse.de>
906 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
908 2019-09-27 Tom de Vries <tdevries@suse.de>
910 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
912 2019-09-27 Tom de Vries <tdevries@suse.de>
915 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
917 2019-09-26 Tom Tromey <tromey@adacore.com>
919 * gdb.ada/py_taft.exp: New file.
920 * gdb.ada/py_taft/main.adb: New file.
921 * gdb.ada/py_taft/pkg.adb: New file.
922 * gdb.ada/py_taft/pkg.ads: New file.
924 2019-09-24 Tom de Vries <tdevries@suse.de>
927 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
929 2019-09-22 Tom de Vries <tdevries@suse.de>
931 * gdb.base/restore.exp: Allow register variables to be optimized out at
934 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
936 * gdb.arch/spu-info.exp: Remove file.
937 * gdb.arch/spu-info.c: Remove file.
938 * gdb.arch/spu-ls.exp: Remove file.
939 * gdb.arch/spu-ls.c: Remove file.
941 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
942 * gdb.asm/spu.inc: Remove file.
944 * gdb.base/dump.exp: Remove support for spu*-*-*.
945 * gdb.base/stack-checking.exp: Likewise.
946 * gdb.base/overlays.exp: Likewise.
947 * gdb.base/ovlymgr.c: Likewise.
948 * gdb.base/spu.ld: Remove file.
950 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
951 * gdb.cp/cpexprs.exp: Likewise.
952 * gdb.cp/exception.exp: Likewise.
953 * gdb.cp/gdb2495.exp: Likewise.
954 * gdb.cp/mb-templates.exp: Likewise.
955 * gdb.cp/pr9167.exp: Likewise.
956 * gdb.cp/userdef.exp: Likewise.
958 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
960 * gdb.cell: Remove directory.
961 * lib/cell.exp: Remove file.
963 2019-09-19 Tom de Vries <tdevries@suse.de>
965 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
967 2019-09-19 Tom de Vries <tdevries@suse.de>
969 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
971 2019-09-19 Tom de Vries <tdevries@suse.de>
973 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
974 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
975 (gdb_target_cmd): ... here.
976 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
979 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
981 * gdb.base/source-dir.exp: Avoid having directory names in test
984 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
986 * gdb.base/source-dir.exp: Add extra test for mapped compilation
989 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
991 * gdb.base/list-missing-source.exp: New file.
993 2019-09-14 Tom de Vries <tdevries@suse.de>
996 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
997 * lib/ada.exp (gnatmake_version_at_least): New proc.
999 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1001 * gdb.base/maint.exp: Use exec_has_index_section.
1003 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1005 * gdb.base/maint.exp: Add test for 'maint info sections'.
1007 2019-09-12 Tom de Vries <tdevries@suse.de>
1009 * gdb.base/store.exp: Allow register variables to be optimized out at
1012 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1014 * gdb.ada/rdv_wait.exp: Update to new task names.
1015 * gdb.base/task_switch_in_core.exp: Likewise.
1016 * gdb.base/info_sources_base.c: Likewise.
1018 2019-09-10 Tom Tromey <tromey@adacore.com>
1020 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1022 2019-09-10 Tom Tromey <tromey@adacore.com>
1024 * gdb.ada/dgopt.exp: New file.
1025 * gdb.ada/dgopt/x.adb: New file.
1027 2019-09-08 Tom Tromey <tom@tromey.com>
1029 * gdb.tui/resize.exp: Remove setup_xfail.
1030 * gdb.tui/regs.exp: Remove setup_xfail.
1031 * gdb.tui/basic.exp: Remove setup_xfail.
1033 2019-09-06 David Blaikie <dblaikie@gmail.com>
1035 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1036 * gdb.cp/cplabel.exp: Ditto.
1037 * gdb.linespec/ls-errs.exp: Ditto.
1039 2019-09-05 Tom de Vries <tdevries@suse.de>
1041 * lib/gdb.exp (cmp_file_string): New proc.
1042 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1043 runto_main. Verify save breakpoints output.
1045 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1047 * gdb.base/info-var.exp: Test info variables without running
1048 to main, to avoid expect's buffer overflow.
1050 2019-09-03 Tom Tromey <tromey@adacore.com>
1052 * gdb.ada/bias.exp: New file.
1053 * gdb.ada/bias/bias.adb: New file.
1054 * gdb.ada/print_chars.exp: Add regression test.
1055 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1058 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1060 * gdb.base/argv0-symlink.exp: Run only on native target
1063 2019-08-29 Tom de Vries <tdevries@suse.de>
1065 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1067 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1069 2019-08-28 Tom de Vries <tdevries@suse.de>
1071 * gdb.base/info-var.exp: Allow info variables to print info for files
1072 other than info-var-f1.c and info-var-f2.c.
1074 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1076 * gdb.fortran/info-types.exp: Add module.
1077 * gdb.fortran/info-types.f90: Update expected results.
1079 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1081 * gdb.fortran/info-types.exp: New file.
1082 * gdb.fortran/info-types.f90: New file.
1083 * lib/fortran.exp (fortran_character1): New proc.
1085 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1087 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1088 functions'. Reindent as needed.
1089 * gdb.base/info-var-f1.c: New file.
1090 * gdb.base/info-var-f2.c: New file.
1091 * gdb.base/info-var.exp: New file.
1092 * gdb.base/info-var.h: New file.
1094 2019-08-26 Tom de Vries <tdevries@suse.de>
1097 * gdb.cp/no-libstdcxx-probe.exp: New test.
1099 2019-08-26 Tom de Vries <tdevries@suse.de>
1101 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1102 * tests need to be skipped.
1103 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1104 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1105 mi_skip_libstdcxx_probe_tests.
1107 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1109 * gdb.python/py-xmethods.exp: Use raw strings when passing
1110 arguments to SimpleXMethodMatcher.
1112 2019-08-22 Tom de Vries <tdevries@suse.de>
1114 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1117 2019-08-21 Pedro Alves <palves@redhat.com>
1119 * gdb.base/with.exp: Test "with" with no arguments.
1121 2019-08-21 Tom de Vries <tdevries@suse.de>
1123 * gdb.base/gdb-caching-proc.exp: Sort files.
1125 2019-08-20 Tom de Vries <tdevries@suse.de>
1127 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1130 2019-08-16 Tom de Vries <tdevries@suse.de>
1132 * gdb.base/compare-sections.exp ("after run to main"): Allow
1133 mismatched read-only sections for PIE executables.
1135 2019-08-16 Tom Tromey <tom@tromey.com>
1137 * lib/tuiterm.exp (_csi_Z): New proc.
1138 * gdb.tui/basic.exp: Update window positions.
1139 * gdb.tui/empty.exp: Update window positions.
1141 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1143 * gdb.base/examine-backward.exp: Correct regexp for
1144 "examine 3 bytes backward from ${address_zero}".
1146 2019-08-15 Tom Tromey <tom@tromey.com>
1148 * gdb.tui/empty.exp: Enable resizing tests.
1150 2019-08-15 Tom Tromey <tromey@adacore.com>
1152 * gdb.ada/char_enum.exp: Add regression tests.
1153 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1155 (Char, Gchar): Update.
1156 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1158 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1160 * gdb.python/python.exp: Expect a leading underscore on
1161 GdbOutput{,Error}File.
1163 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1165 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1168 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1170 * gdb.base/batch-preserve-term-settings.exp
1171 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1173 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1175 * lib/gdb.exp: When running on a mingw target, replace
1178 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1180 * gdb.arch/aarch64-prologue.c: New test.
1181 * gdb.arch/aarch64-prologue.exp: New file.
1183 2019-08-13 Tom de Vries <tdevries@suse.de>
1185 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1188 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1190 * gdb.python/py-completion.exp: Download the .py file to the host
1191 and use its host pathname. Conditionalize tests that use
1192 tab completion and manipulate files on the build machine.
1193 * gdb.python/py-events.exp: Download the .py file to the host
1194 and use its host pathname.
1195 * gdb.python/py-evsignal.exp: Likewise.
1196 * gdb.python/py-evthreads.exp: Likewise.
1197 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1199 * gdb.python/py-framefilter.exp: Download the .py file to the right
1200 place on the host. Match Windows pathname syntax.
1201 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1202 .py file to the host and use its host pathname.
1203 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1204 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1205 build pathname. Skip symlink test on Windows host. Add missing
1206 newline at end of file.
1207 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1208 and use its host pathname.
1209 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1210 * gdb.python/py-section-script.exp: Use host location of binfile
1211 on safe-path. Use correct path separator on Windows host.
1212 Reorder alternatives in gdb_test_multiple to prevent matching
1213 the wrong alternative on success.
1214 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1216 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1218 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1219 expect the GDB inferior to no longer immediately stop after
1220 being resumed with "signal SIGINT".
1222 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1224 * gdb.linespec/break-ask.exp: Generalize regexps to match
1225 Windows pathnames too.
1227 2019-08-08 Tom de Vries <tdevries@suse.de>
1230 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1232 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1234 * gdb.base/style.exp: Update tests for help doc new invariants.
1235 * gdb.base/help.exp: Likewise.
1237 2019-08-06 Tom Tromey <tom@tromey.com>
1239 * gdb.base/style.exp: Add disassemble test.
1240 * gdb.base/style.c (some_called_function): New function.
1243 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1245 * gdb.python/py-block.exp: Test dictionary access on blocks.
1247 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1250 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1251 -list-thread-groups --available test when running under
1254 2019-08-05 Tom de Vries <tdevries@suse.de>
1257 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1258 * gdb.base/help.exp: Use with_read1_timeout_factor.
1259 * gdb.base/info-macros.exp: Same.
1260 * gdb.cp/nested-types.exp: Same.
1262 2019-08-05 Tom de Vries <tdevries@suse.de>
1264 * lib/gdb.exp (version_at_least): Factor out of ...
1265 (tcl_version_at_least): ... here.
1266 (gdb_compile): Fail if pie results in non-PIE executable.
1267 (readelf_version, readelf_prints_pie): New proc.
1268 (exec_is_pie): Return -1 if unknown.
1270 2019-08-05 Tom de Vries <tdevries@suse.de>
1272 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1274 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1276 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1278 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1280 * lib/completion-support.exp (test_gdb_complete_none): Skip
1281 tab completion tests if no readline support.
1282 (test_gdb_complete_unique_re): Likewise.
1283 (test_gdb_complete_multiple): Likewise.
1285 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1287 * gdb.base/info_sources.exp: New file.
1288 * gdb.base/info_sources.c: New file.
1289 * gdb.base/info_sources_base.c: New file.
1291 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1293 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1295 (test_exit_status): Add prefix argument.
1297 2019-08-01 Tom de Vries <tdevries@suse.de>
1300 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1301 calling exp_continue for new thread and thread exited messages.
1303 2019-08-01 Tom de Vries <tdevries@suse.de>
1306 * gdb.base/structs.exp: Fix check-read1 timeout using
1308 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1310 2019-08-01 Tom de Vries <tdevries@suse.de>
1313 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1316 2019-08-01 Tom de Vries <tdevries@suse.de>
1319 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1321 2019-07-30 Tom Tromey <tromey@adacore.com>
1323 * gdb.ada/display_nested.exp: New file.
1324 * gdb.ada/display_nested/foo.adb: New file.
1325 * gdb.ada/display_nested/pack.adb: New file.
1326 * gdb.ada/display_nested/pack.ads: New file.
1328 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1330 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1332 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1334 2019-07-30 Tom de Vries <tdevries@suse.de>
1336 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1339 2019-07-30 Tom de Vries <tdevries@suse.de>
1342 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1343 (exec_is_pie): New proc.
1345 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1347 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1349 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1351 * gdb.python/py-objfile.c: Add global and static vars.
1352 * gdb.python/py-objfile.exp: Test new functions Objfile.
1353 lookup_global_symbol and lookup_static_symbol.
1355 2019-07-29 Tom Tromey <tom@tromey.com>
1357 * lib/tuiterm.exp (Term::_csi_@): New proc.
1358 (Term::_csi_X): Don't move cursor.
1360 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1362 * gdb.base/options.exp: Update backtrace - completion to
1363 new option -frame-info.
1364 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1365 Test new 'set print frame-info'. Test backtrace -frame-info
1366 overriding 'set print frame-info'.
1367 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1368 Test new 'set print frame-info'.
1369 Verify consistency of backtrace with and without filters, with and
1370 without -no-filters.
1371 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1374 2019-07-29 Tom de Vries <tdevries@suse.de>
1376 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1379 2019-07-29 Tom de Vries <tdevries@suse.de>
1381 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1382 is a substring of the first for "complete non-unique file name".
1384 2019-07-29 Tom de Vries <tdevries@suse.de>
1386 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1389 2019-07-29 Tom de Vries <tdevries@suse.de>
1391 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1392 Pass prompt_regexp parameter to gdb_test_multiple calls.
1394 2019-07-29 Tom de Vries <tdevries@suse.de>
1396 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1397 print registers" regexps.
1399 2019-07-29 Tom de Vries <tdevries@suse.de>
1401 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1403 2019-07-29 Tom de Vries <tdevries@suse.de>
1406 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1407 (skip_python_tests_prompt): Add prompt_regexp argument to
1408 gdb_test_multiple calls.
1410 2019-07-27 Tom Tromey <tom@tromey.com>
1412 * gdb.tui/main.exp: New file.
1414 2019-07-27 Tom Tromey <tom@tromey.com>
1416 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1418 * gdb.tui/empty.exp: New file.
1420 2019-07-27 Tom Tromey <tom@tromey.com>
1422 * lib/tuiterm.exp (spawn): New proc.
1423 (Term::resize): New proc.
1424 * gdb.tui/resize.exp: New file.
1426 2019-07-27 Tom Tromey <tom@tromey.com>
1428 * gdb.tui/list.exp: New file.
1430 2019-07-27 Tom Tromey <tom@tromey.com>
1432 * gdb.tui/regs.exp: New file.
1434 2019-07-27 Tom Tromey <tom@tromey.com>
1436 * gdb.tui/basic.exp: Add "layout split" test.
1438 2019-07-27 Tom Tromey <tom@tromey.com>
1440 * gdb.tui/basic.exp: Add "layout asm" test.
1442 2019-07-27 Tom Tromey <tom@tromey.com>
1444 * lib/tuiterm.exp: New file.
1445 * gdb.tui/basic.exp: New file.
1447 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1449 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1450 Enable tests associated with this flag. Adjust regex
1451 referencing "foo_low" to now refer to "foo_cold" instead.
1453 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1455 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1456 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1457 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1458 foo_cold. Revise comments to match.
1459 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1460 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1461 were wrapped into this proc; Call do_test in loop from outermost
1463 (foo_low): Rename all occurrences to "foo_cold".
1464 (backtrace from baz): New test.
1465 (x2/i foo_cold): New test.
1466 (info line *foo_cold): New test.
1468 2019-07-26 Tom de Vries <tdevries@suse.de>
1470 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1472 2019-07-25 Tom de Vries <tdevries@suse.de>
1475 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1476 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1477 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1478 (skip_libstdcxx_probe_tests): ... here.
1479 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1481 2019-07-24 Tom de Vries <tdevries@suse.de>
1484 * gdb.objc/basicclass.m: Include stdio.h.
1485 * gdb.objc/nondebug.m: Same.
1486 * gdb.objc/objcdecode.m: Same.
1488 2019-07-24 Tom de Vries <tdevries@suse.de>
1491 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1494 2019-07-24 Tom de Vries <tdevries@suse.de>
1497 * gdb.multi/tids.exp: Update error messages for info threads.
1499 2019-07-24 Tom de Vries <tdevries@suse.de>
1501 * gdb.base/info-types.exp: Allow info types to print info for more than
1504 2019-07-23 Tom de Vries <tdevries@suse.de>
1507 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1508 gdb_spawn_with_cmdline_opts.
1510 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1512 * gdb.arch/arm-cmse-sgstubs.c: New test.
1513 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1515 2019-07-23 Tom de Vries <tdevries@suse.de>
1518 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1519 issuing next command.
1521 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1523 * gdb.ada/info_auto_lang.exp: Update expected results.
1524 * gdb.base/info-types.c: Add additional types to check.
1525 * gdb.base/info-types.exp: Update expected results.
1527 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1529 * gdb.base/info-types.c: New file.
1530 * gdb.base/info-types.exp: New file.
1532 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1534 * gdb.arch/riscv-bp-infcall.c: New file.
1535 * gdb.arch/riscv-bp-infcall.exp: New file.
1537 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1539 PR breakpoints/24541
1540 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1542 2019-07-14 Tom de Vries <tdevries@suse.de>
1545 * gdb.objc/basicclass.exp: Fix unterminated string.
1547 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1548 Andrew Burgess <andrew.burgess@embecosm.com>
1550 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1551 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1553 * gdb.fortran/vla-value.exp: Print elements of an array with
1555 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1558 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1560 * gdb.base/options.exp (expect_string): Dequote strings in
1562 (test-string): Test strings with different quoting and reindent.
1564 2019-07-10 Tom Tromey <tromey@adacore.com>
1566 * gdb.ada/mi_ex_cond.exp: Update expected results.
1567 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1568 * gdb.ada/mi_catch_ex.exp: Update expected results.
1569 * gdb.ada/mi_catch_assert.exp: Update expected results.
1570 * gdb.ada/catch_ex.exp (catch_exception_info)
1571 (catch_exception_entry, catch_assert_entry)
1572 (catch_unhandled_entry): Update.
1573 * gdb.ada/catch_assert_if.exp: Update expected results.
1575 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1576 Stephen Roberts <stephen.roberts@arm.com>
1578 * gdb.base/define.exp: Restore original prompt.
1580 2019-07-09 Pedro Alves <palves@redhat.com>
1582 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1583 breakpoints" output.
1584 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1585 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1586 throw" creates breakpoint.
1587 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1588 'type="catchpoint"'.
1590 2019-07-09 Pedro Alves <palves@redhat.com>
1593 * gdb.cp/except-multi-location-lib.cc: New.
1594 * gdb.cp/except-multi-location-main.cc: New.
1595 * gdb.cp/except-multi-location.exp: New.
1597 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1599 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1600 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1601 argument and update callers.
1603 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1605 * gdb.arch/amd64-break-on-asm-line.S: New file.
1606 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1608 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1610 * gdb.base/printcmds.exp: Test printing C string and
1611 C wide string convenience vars without transiting via the inferior.
1612 Also make test names unique.
1614 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1616 PR breakpoints/25011
1617 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1619 2019-07-04 Pedro Alves <palves@redhat.com>
1621 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1622 body returned ok(0), break(3) or continue(4).
1623 * gdb.testsuite/foreach_with_prefix.exp: New file.
1625 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1627 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1629 2019-07-03 Pedro Alves <palves@redhat.com>
1631 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1634 2019-07-03 Pedro Alves <palves@redhat.com>
1637 * gdb.base/shell.exp: Load completion-support.exp.
1638 Adjust expected error output. Add completion tests.
1640 2019-07-03 Pedro Alves <palves@redhat.com>
1642 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1645 2019-07-03 Pedro Alves <palves@redhat.com>
1647 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1648 (expect_integer): Adjust to expect "-string".
1649 (expect_string): New.
1650 (all_options): Expect "-string".
1651 (test-flag, test-boolean): Adjust to expect "-string".
1652 (test-string): New proc.
1653 (top level): Call it.
1655 2019-07-03 Pedro Alves <palves@redhat.com>
1657 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1658 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1659 the expected output in the success.
1661 2019-07-03 Pedro Alves <palves@redhat.com>
1663 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1664 Split one gdb_test_multiple call in two to avoid a race.
1666 2019-07-03 Pedro Alves <palves@redhat.com>
1668 * gdb.base/with.c: New file.
1669 * gdb.base/with.exp: New file.
1671 2019-07-03 Pedro Alves <palves@redhat.com>
1673 * gdb.base/settings.exp: Replace all references to "maint
1674 test-settings set" with references to "maint set test-settings",
1675 and all references to "maint test-settings show" with references
1676 to "maint show test-settings".
1678 2019-07-03 Pedro Alves <palves@redhat.com>
1680 * gdb.base/settings.exp (test-string): Adjust expected out when
1681 testing "maint test-settings show filename"
1683 2019-07-02 Pedro Alves <palves@redhat.com>
1685 * gdb.base/options.exp (test-info-threads): New procedure.
1686 (top level): Call it.
1688 2019-06-28 Tom Tromey <tromey@adacore.com>
1690 * gdb.dwarf2/ada-linkage-name.c: New file.
1691 * gdb.dwarf2/ada-linkage-name.exp: New file.
1693 2019-06-27 Tom Tromey <tromey@adacore.com>
1696 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1698 2019-06-26 Tom de Vries <tdevries@suse.de>
1700 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1702 2019-06-26 Tom de Vries <tdevries@suse.de>
1704 * gdb.base/index-cache.exp: Add back missing debug option.
1706 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1708 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1710 2019-06-25 Tom de Vries <tdevries@suse.de>
1713 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1715 2019-06-24 Tom de Vries <tdevries@suse.de>
1717 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1719 2019-06-24 Tom de Vries <tdevries@suse.de>
1721 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1722 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1723 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1725 2019-06-24 Tom de Vries <tdevries@suse.de>
1727 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1729 2019-06-21 Tom de Vries <tdevries@suse.de>
1731 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1733 2019-06-21 Tom de Vries <tdevries@suse.de>
1737 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1740 2019-06-19 Tom Tromey <tromey@adacore.com>
1742 * gdb.ada/length_cond.exp: Add intro comment.
1744 2019-06-19 Tom Tromey <tromey@adacore.com>
1746 * gdb.ada/length_cond.exp: New file.
1747 * gdb.ada/length_cond/length_cond.adb: New file.
1748 * gdb.ada/length_cond/pck.adb: New file.
1749 * gdb.ada/length_cond/pck.ads: New file.
1751 2019-06-18 Tom de Vries <tdevries@suse.de>
1753 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1755 2019-06-18 Tom Tromey <tromey@adacore.com>
1757 * gdb.base/list0.h: Add comment explaining control character.
1759 2019-06-18 Tom de Vries <tdevries@suse.de>
1761 * boards/fission.exp: Break up long debug_flags line.
1763 2019-06-16 Tom de Vries <tdevries@suse.de>
1766 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1769 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1772 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1773 improve detection of bug gdb/24541.
1775 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1778 * gdb.base/index-cache.exp (uses_readnow,
1779 expecting_index_cache_use): Define global variable.
1780 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1781 expecting_index_cache_use.
1783 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1784 Andrew Burgess <andrew.burgess@embecosm.com>
1786 * gdb.fortran/pointers.f90: New file.
1787 * gdb.fortran/print_type.exp: New file.
1788 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1789 * gdb.fortran/vla-type.exp: Likewise.
1790 * gdb.fortran/vla-value.exp: Likewise.
1791 * gdb.mi/mi-vla-fortran.exp: Likewise.
1793 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1795 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1796 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1797 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1800 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1802 * gdb.base/annota1.exp: Update expected results.
1803 * gdb.cp/annota2.exp: Likewise.
1804 * gdb.cp/annota3.exp: Likewise.
1806 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1808 * gdb.base/style-logging.exp: Remove path from test name.
1810 2019-06-14 Tom Tromey <tromey@adacore.com>
1813 * gdb.base/style-logging.exp: New file.
1815 2019-06-14 Tom Tromey <tromey@adacore.com>
1817 * gdb.base/symfile-warn.exp: New file.
1818 * gdb.base/symfile-warn.c: New file.
1820 2019-06-14 Tom Tromey <tromey@adacore.com>
1822 * gdb.base/annotate-symlink.exp: New file.
1824 2019-06-14 Tom Tromey <tromey@adacore.com>
1826 * gdb.ada/set_wstr.exp: Add reassignment test.
1828 2019-06-14 Tom Tromey <tromey@adacore.com>
1830 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1831 'unchecked_access and 'unrestricted_access as well.
1833 2019-06-14 Tom Tromey <tromey@adacore.com>
1836 * gdb.ada/vla.exp: Update tests.
1837 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1840 2019-06-13 Pedro Alves <palves@redhat.com>
1842 * gdb.base/settings.exp (test-integer): Test junk after
1845 2019-06-13 Pedro Alves <palves@redhat.com>
1847 * gdb.base/options.exp (test-thread-apply): New.
1848 (top level): Call it.
1850 2019-06-13 Pedro Alves <palves@redhat.com>
1852 * gdb.base/options.exp (test-frame-apply): New.
1853 (top level): Test print commands with different "frame apply"
1856 2019-06-13 Pedro Alves <palves@redhat.com>
1858 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1859 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1860 'max_completions' parameter and handle it.
1861 (test_gdb_completion_offers_commands): New.
1863 2019-06-13 Pedro Alves <palves@redhat.com>
1865 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1867 2019-06-13 Pedro Alves <palves@redhat.com>
1869 * gdb.base/options.exp (test-backtrace): New.
1870 (top level): Call it.
1872 2019-06-13 Pedro Alves <palves@redhat.com>
1874 * gdb.guile/scm-frame-args.exp: Use "set print
1875 raw-frame-arguments" instead of "set print raw frame-arguments".
1876 * gdb.python/py-frame-args.exp: Likewise.
1878 2019-06-13 Pedro Alves <palves@redhat.com>
1880 * gdb.compile/compile.exp: Adjust expected output to option
1883 2019-06-13 Pedro Alves <palves@redhat.com>
1885 * gdb.base/options.exp: Build executable.
1886 (test-print): New procedure.
1887 (top level): Call it, once for "print" and another for "compile
1890 2019-06-13 Pedro Alves <palves@redhat.com>
1892 * gdb.base/options.c: New file.
1893 * gdb.base/options.exp: New file.
1895 2019-06-13 Pedro Alves <palves@redhat.com>
1897 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1898 that "o" is ambiguous.
1900 2019-06-13 Pedro Alves <palves@redhat.com>
1902 * gdb.base/settings.c: New file.
1903 * gdb.base/settings.exp: New file.
1905 2019-06-13 Pedro Alves <palves@redhat.com>
1907 * gdb.base/completion.exp: Fix comment typo.
1909 2019-06-13 Pedro Alves <palves@redhat.com>
1911 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1914 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1916 * gdb.fortran/block-data.f: New.
1917 * gdb.fortran/block-data.exp: New.
1919 2019-06-11 Tom de Vries <tdevries@suse.de>
1922 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1925 2019-06-11 Tom de Vries <tdevries@suse.de>
1928 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1930 2019-06-11 Tom de Vries <tdevries@suse.de>
1932 * boards/readnow.exp: New file.
1934 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1936 * gdb.fortran/vla-sizeof.exp: Update expected results.
1938 2019-06-06 Amos Bird <amosbird@gmail.com>
1940 * gdb.base/annota1.exp (thread_switch): Add test for
1941 thread-exited annotation.
1943 2019-06-06 Tom Tromey <tromey@adacore.com>
1945 * gdb.base/maint.exp: Expect command started/finished output.
1947 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1949 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1951 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1953 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1955 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1956 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1957 * gdb.arch/riscv-unwind-long-insn.c: New file.
1958 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1960 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1962 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1964 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1966 * lib/gdb.exp (help_list_trailer): New regexp variable
1967 factorizing the help trailer message.
1968 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1969 arg to allow to better factorize various tests.
1970 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1971 (test_prefix_command_help): Use help_list_trailer.
1972 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1973 * gdb.guile/scm-cmd.exp: Likewise.
1974 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1975 * gdb.base/help.exp: Use test_user_defined_class_help.
1976 * gdb.base/style.exp: Add tests for styling of help and apropos.
1977 * lib/gdb-utils.exp (style): Add title and highlight styles.
1979 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1981 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1983 * gdb.base/default.exp: Update for new convenience variables.
1985 2019-05-29 Tom Tromey <tromey@adacore.com>
1987 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1988 to "break complete ada" test case's regexp.
1990 2019-05-29 Tom Tromey <tromey@adacore.com>
1993 * gdb.cp/constexpr-field.exp: New file.
1994 * gdb.cp/constexpr-field.cc: New file.
1996 2019-05-29 Tom Tromey <tromey@adacore.com>
1998 * gdb.base/finish.exp (finish_no_print): New proc.
1999 (finish_tests): Call it.
2001 2019-05-24 Tom de Vries <tdevries@suse.de>
2003 * gdb.dwarf2/gdb-add-index.exp: New file.
2005 2019-05-22 Tom Tromey <tromey@adacore.com>
2007 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2008 * gdb.base/style.exp: Use "style".
2009 * lib/gdb-utils.exp (style): New proc.
2011 2019-05-22 Tom de Vries <tdevries@suse.de>
2013 * gdb.base/align.exp: Require c++11.
2015 2019-05-22 Tom de Vries <tdevries@suse.de>
2018 * gdb.python/py-mi-var-info-path-expression.exp: Call
2019 mi_skip_python_tests to check if python is supported.
2021 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2023 * gdb.arch/aarch64-pauth.c: New test.
2024 * gdb.arch/aarch64-pauth.exp: New file.
2026 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2028 * README (Re-running Tests Outside The Testsuite): New section.
2030 2019-05-21 Tom de Vries <tdevries@suse.de>
2032 * gdb.arch/amd64-eval.exp: Require c++11.
2033 * gdb.base/max-depth.exp: Same.
2034 * gdb.compile/compile-cplus-array-decay.exp: Same.
2035 * gdb.cp/meth-typedefs.exp: Same.
2036 * gdb.cp/subtypes.exp: Same.
2037 * gdb.cp/temargs.exp: Same.
2039 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2041 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2043 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2046 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2047 * gdb.fortran/printing-types.exp: Add new test.
2048 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2050 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2053 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2055 * README (Running the Testsuite): Change example.
2056 (Testsuite Parameters): Remove TRANSCRIPT.
2057 * lib/gdb.exp: Remove TRANSCRIPT check.
2059 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2061 * README (Testsuite Parameters): Add replay logging to
2063 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2064 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2065 as a comma separated list.
2066 (gdb_debug_init): Override procedure.
2068 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2070 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2071 (gdb_write_cmd_file): New procedure.
2072 * lib/gdbserver-support.exp (gdbserver_start): Call
2073 gdbserver_write_cmd_file.
2074 (gdbserver_write_cmd_file): New procedure.
2076 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2078 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2079 (delete_breakpoints): Likewise.
2080 (gdb_run_cmd): Likewise.
2081 (gdb_start_cmd): Likewise.
2082 (gdb_starti_cmd): Likewise.
2083 (gdb_internal_error_resync): Likewise.
2084 (gdb_test_multiple): Likewise.
2085 (gdb_reinitialize_dir): Likewise.
2086 (default_gdb_exit): Likewise.
2087 (gdb_file_cmd): Mark kill as optional.
2088 (default_gdb_start): Call gdb_stdin_log_init.
2089 (send_gdb): Call gdb_stdin_log_write.
2090 (rerun_to_main): Mark Y as an answer.
2091 (gdb_stdin_log_init): New function.
2092 (gdb_stdin_log_write): Likewise.
2094 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2096 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2097 * gdb.base/debug-expr.exp: Likewise.
2098 * gdb.base/foll-fork.exp: Likewise.
2099 * gdb.base/foll-vfork.exp: Likewise.
2100 * gdb.base/fork-print-inferior-events.exp: Likewise.
2101 * gdb.base/gdb-sigterm.exp: Likewise.
2102 * gdb.base/gdbinit-history.exp: Likewise.
2103 * gdb.base/osabi.exp: Likewise.
2104 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2105 * gdb.base/ui-redirect.exp: Likewise.
2106 * gdb.gdb/unittest.exp: Likewise.
2107 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2108 * gdb.mi/mi-watch.exp: Likewise.
2109 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2110 * gdb.mi/user-selected-context-sync.exp: Likewise.
2111 * gdb.python/python.exp: Disable debug test when debugging.
2112 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2113 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2115 * gdb.threads/stepi-random-signal.exp: Likewise.
2117 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2119 * Makefile.in: Pass through GDB_DEBUG.
2120 * README (Testsuite Parameters): Add GDB_DEBUG.
2121 (gdb,debug): Add board setting.
2122 * lib/gdb.exp (default_gdb_start): Start debugging.
2123 (gdb_debug_enabled): New procedure.
2124 (gdb_debug_init): Likewise.
2126 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2128 * Makefile.in: Pass through GDB_DEBUG.
2129 * README (Testsuite Parameters): Add GDB_DEBUG.
2130 (gdb,debug): Add board setting.
2131 * lib/gdb.exp (default_gdb_start): Start debugging.
2132 (gdb_debug_enabled): New procedure.
2133 (gdb_debug_init): Likewise.
2135 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2137 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2139 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2141 * gdb.base/ui-redirect.exp: Test redirection.
2143 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2145 * gdb.mi/mi-complete.exp: New file.
2146 * gdb.mi/mi-complete.cc: Likewise.
2148 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2150 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2151 indexed and sliced arrays, and pointers to arrays.
2153 2019-05-14 Tom Tromey <tromey@adacore.com>
2155 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2158 2019-05-14 Tom de Vries <tdevries@suse.de>
2160 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2161 selection entry encoding.
2163 2019-05-10 Tom Tromey <tromey@adacore.com>
2165 * gdb.ada/info_exc.exp: Add "complete" test.
2167 2019-05-09 Tom de Vries <tdevries@suse.de>
2169 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2172 2019-05-09 Tom de Vries <tdevries@suse.de>
2174 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2177 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2179 * gdb.ada/frame_arg_lang.exp: New testcase.
2180 * gdb.ada/frame_arg_lang/bla.adb: New file.
2181 * gdb.ada/frame_arg_lang/pck.ads: New file.
2182 * gdb.ada/frame_arg_lang/pck.adb: New file.
2183 * gdb.ada/frame_arg_lang/foo.c: New file.
2185 2019-05-08 Tom Tromey <tromey@adacore.com>
2187 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2189 2019-05-08 Tom Tromey <tromey@adacore.com>
2191 * gdb.base/ptype-offsets.exp: Update tests.
2193 2019-05-08 Tom Tromey <tromey@adacore.com>
2195 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2197 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2200 2019-05-08 Tom Tromey <tromey@adacore.com>
2202 * gdb.ada/vla.exp: New file.
2203 * gdb.ada/vla/vla.adb: New file.
2205 2019-05-07 Tom de Vries <tdevries@suse.de>
2207 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2209 2019-05-07 Tom de Vries <tdevries@suse.de>
2212 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2215 2019-05-07 Tom de Vries <tdevries@suse.de>
2218 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2219 .debug_aranges section.
2221 2019-05-07 Tom de Vries <tdevries@suse.de>
2224 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2226 2019-05-06 Tom de Vries <tdevries@suse.de>
2228 * lib/gdb.exp (exec_has_index_section): New proc.
2229 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2232 2019-05-04 Tom de Vries <tdevries@suse.de>
2234 * boards/cc-with-debug-names.exp: New file.
2236 2019-05-03 Tom Tromey <tromey@adacore.com>
2238 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2239 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2240 * gdb.ada/char_enum.exp: Add test.
2242 2019-05-03 Tom de Vries <tdevries@suse.de>
2244 * boards/cc-with-gdb-index.exp: New file.
2246 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2248 * gdb.rust/simple.exp: Add new test case.
2249 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2250 (main): Initialise an instance of the new struct.
2252 2019-05-01 Tom Tromey <tromey@adacore.com>
2254 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2256 (NPR): New variable.
2257 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2260 2019-05-01 Tom Tromey <tromey@adacore.com>
2262 * gdb.ada/packed_array_assign.exp: Add packed assignment
2265 2019-05-01 Tom de Vries <tdevries@suse.de>
2267 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2269 2019-05-01 Tom de Vries <tdevries@suse.de>
2271 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2273 2019-04-30 Ali Tamur <tamur@google.com>
2275 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2277 2019-04-30 Tom Tromey <tromey@adacore.com>
2279 * lib/ada.exp (find_ada_tool): New proc.
2280 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2281 * gdb.ada/catch_ex_std.exp: New file.
2282 * gdb.ada/catch_ex_std/foo.adb: New file.
2283 * gdb.ada/catch_ex_std/some_package.adb: New file.
2284 * gdb.ada/catch_ex_std/some_package.ads: New file.
2286 2019-04-30 Tom Tromey <tromey@adacore.com>
2289 * gdb.cp/temargs.cc: Add test code from PR.
2291 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2293 * gdb.fortran/vla-datatypes.exp: Update expected results.
2294 * gdb.fortran/vla-ptype.exp: Likewise.
2295 * gdb.fortran/vla-type.exp: Likewise.
2296 * gdb.fortran/vla-value.exp: Likewise.
2298 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2300 * gdb.fortran/ptr-indentation.exp: Update expected results.
2301 * gdb.fortran/ptype-on-functions.exp: Likewise.
2302 * gdb.fortran/vla-ptr-info.exp: Likewise.
2303 * gdb.fortran/vla-value.exp: Likewise.
2305 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2307 * gdb.fortran/ptype-on-functions.exp: New file.
2308 * gdb.fortran/ptype-on-functions.f90: New file.
2310 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2312 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2315 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2317 * gdb.fortran/complex.exp: Expand.
2318 * gdb.fortran/complex.f: Renamed to...
2319 * gdb.fortran/complex.f90: ...this, and extended to add more
2322 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2324 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2327 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2328 Richard Bunt <richard.bunt@arm.com>
2330 * gdb.base/max-depth.c: New file.
2331 * gdb.base/max-depth.exp: New file.
2332 * gdb.python/py-nested-maps.c: New file.
2333 * gdb.python/py-nested-maps.exp: New file.
2334 * gdb.python/py-nested-maps.py: New file.
2335 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2336 (test_all_common): Call test_max_depth.
2337 * gdb.fortran/max-depth.exp: New file.
2338 * gdb.fortran/max-depth.f90: New file.
2339 * gdb.go/max-depth.exp: New file.
2340 * gdb.go/max-depth.go: New file.
2341 * gdb.modula2/max-depth.exp: New file.
2342 * gdb.modula2/max-depth.c: New file.
2343 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2345 2019-04-29 Tom de Vries <tdevries@suse.de>
2347 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2349 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2351 * gdb.base/callexit.exp: Test may-call-functions off.
2353 2019-04-25 Keith Seitz <keiths@redhat.com>
2356 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2357 (another_incomplete_struct, test_incomplete): New definitions.
2358 (main): Use new definitions.
2359 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2362 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2366 * gdb.base/coredump-filter-build-id.exp: New file.
2368 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2370 * Makefile.in: Pass through GDBSERVER_DEBUG.
2371 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2372 (gdbserver,debug): Add board setting.
2373 * gdb.trace/tspeed.exp: Skip when debugging.
2374 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2375 * lib/gdbserver-support.exp: Likewise
2377 2019-04-24 Tom Tromey <tromey@adacore.com>
2379 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2382 2019-04-24 Tom Tromey <tromey@adacore.com>
2384 * gdb.arch/amd64-eval.exp: Test bitfield return.
2385 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2386 (class Foo) <return_bitfields>: New method.
2389 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2391 * gdb.cp/many-args.cc: New file.
2392 * gdb.cp/many-args.exp: New file.
2394 2019-04-23 Tom de Vries <tdevries@suse.de>
2397 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2399 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2401 * gdb.trace/backtrace.exp: Use nopie flag.
2402 * gdb.trace/circ.exp: Likewise.
2403 * gdb.trace/collection.exp: Likewise.
2404 * gdb.trace/ftrace.exp: Likewise.
2405 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2406 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2407 * gdb.trace/qtro.exp: Likewise.
2408 * gdb.trace/read-memory.exp: Likewise.
2409 * gdb.trace/report.exp: Likewise.
2410 * gdb.trace/tfile.exp: Likewise.
2411 * gdb.trace/tfind.exp: Likewise.
2412 * gdb.trace/unavailable.exp: Likewise.
2414 2019-04-22 Pedro Alves <palves@redhat.com>
2416 * gdb.base/solib-probes-nosharedlibrary.c,
2417 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2419 2019-04-19 Tom Tromey <tromey@adacore.com>
2421 * gdb.ada/ptype_union.c: New file.
2422 * gdb.ada/ptype_union.exp: New file.
2424 2019-04-19 Tom Tromey <tromey@adacore.com>
2427 * gdb.base/list0.h (foo): Add a control-l character.
2429 2019-04-18 Tom de Vries <tdevries@suse.de>
2432 * boards/local-board.exp: Set sysroot to "".
2434 2019-04-18 Tom de Vries <tdevries@suse.de>
2435 Pedro Alves <palves@redhat.com>
2438 * gdb.threads/vfork-follow-child-exec.c: New file.
2439 * gdb.threads/vfork-follow-child-exec.exp: New file.
2440 * gdb.threads/vfork-follow-child-exit.c: New file.
2441 * gdb.threads/vfork-follow-child-exit.exp: New file.
2443 2019-04-15 Leszek Swirski <leszeks@google.com>
2445 * gdb.arch/amd64-eval.cc: New file.
2446 * gdb.arch/amd64-eval.exp: New file.
2448 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2450 * gdb.server/sysroot.c: New test.
2451 * gdb.server/sysroot.exp: New file.
2452 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2455 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2457 * gdb.base/align.exp: Extend test to cover structures containing
2460 2019-04-11 Tom de Vries <tdevries@suse.de>
2462 * boards/cc-with-dwz-m.exp: New file.
2463 * boards/cc-with-dwz.exp: New file.
2464 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2466 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2468 * gdb.base/start-cpp.exp: New file.
2469 * gdb.base/start-cpp.cc: New file.
2471 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2473 * gdb.python/py-thrhandle.exp: Adjust tests to call
2474 thread_from_handle instead of thread_from_thread_handle.
2476 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2478 * gdb.python/py-thrhandle.exp: Add tests for
2479 gdb.InferiorThread.handle.
2481 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2483 * gdb.python/py-function.exp: Check calling helper function from
2485 * lib/gdb.exp (gdb_supported_languages): New proc.
2487 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2489 * gdb.base/complex-parts.c: New file.
2490 * gdb.base/complex-parts.exp: New file.
2492 2019-04-01 Tom Tromey <tromey@adacore.com>
2495 * gdb.dwarf2/dw2-ranges-main.c: New file.
2496 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2497 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2499 2019-03-30 Simon Marchi <simark@simark.ca>
2501 * gdb.base/default.exp: Add values for $_gdb_major and
2504 2019-03-29 Tom Tromey <tromey@adacore.com>
2506 * gdb.base/help.exp: Tighten apropos regexp.
2508 2019-03-29 Keith Seitz <keiths@redhat.com>
2510 * gdb.fortran/array-bounds.exp: New file.
2511 * gdb.fortran/array-bounds.f90: New file.
2513 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2515 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2517 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2519 * gdb.multi/hello.c (main): Increase alarm timer.
2521 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2523 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2524 factor when no hardware watchpoint support.
2526 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2527 Pedro Alves <palves@redhat.com>
2529 * boards/local-board.exp: set sysroot to /.
2531 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2533 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2536 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2538 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2540 (make_container): Initialise new field.
2541 * gdb.python/py-prettyprint.exp: Add new tests.
2542 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2543 <display_hint>: New method.
2545 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2547 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2548 gdb_continue_to_breakpoint more throughout this test.
2549 (run_lang_tests) Supply unique test names, and use
2552 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2554 * gdb.base/finish-pretty.exp: Update expected results.
2555 * gdb.base/pretty-print.c: New file.
2556 * gdb.base/pretty-print.exp: New file.
2558 2019-03-25 Pedro Alves <palves@redhat.com>
2560 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2561 move comments outside list. Append '-i "" eof' section.
2563 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2566 * README: Add pie options.
2567 * gdb.base/break-interp.exp: Ensure pie is disabled.
2568 * gdb.base/dump.exp: Likewise.
2569 * lib/gdb.exp (gdb_compile): Add pie option.
2571 2019-03-19 Tom Tromey <tromey@adacore.com>
2573 * gdb.mi/mi2-cli-display.c: New file.
2574 * gdb.mi/mi2-cli-display.exp: New file.
2576 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2577 Tom Tromey <tromey@adacore.com>
2579 * gdb.ada/ptype_array/pck.adb: New file.
2580 * gdb.ada/ptype_array/pck.ads: New file.
2581 * gdb.ada/ptype_array/foo.adb: New file.
2582 * gdb.ada/ptype_array.exp: New file.
2584 2019-03-14 Tom Tromey <tromey@adacore.com>
2586 * gdb.base/style.exp: Add "set style sources" test.
2588 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2590 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2591 * mi-breakpoint-multiple-locations.exp: ... this.
2592 (make_breakpoints_pattern): New proc.
2593 (do_test): Add mi_version parameter, test -break-insert,
2594 -break-info and =breakpoint-created.
2596 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2598 * config/default.exp: Remove 'load_lib gdb.exp'.
2599 * config/monitor.exp: Likewise.
2600 * config/sid.exp: Likewise.
2601 * config/sim.exp: Likewise.
2602 * config/slite.exp: Likewise.
2603 * config/unix.exp: Likewise.
2604 * gdb.base/default.exp: Remove unhelpful comment.
2606 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2608 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2610 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2612 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2614 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2616 * gdb.fortran/type-kinds.exp: Update expected results.
2618 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2620 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2622 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2624 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2626 (test_basic_parsing_of_type_kinds): Expand types tested.
2627 (test_parsing_invalid_type_kinds): New function.
2629 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2631 * gdb.fortran/intrinsics.exp: New file.
2632 * gdb.fortran/intrinsics.f90: New file.
2633 * gdb.fortran/type-kinds.exp: New file.
2635 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2637 * gdb.fortran/dot-ops.exp: New file.
2639 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2641 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2642 Check upper and lower case logical literals.
2644 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2646 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2647 Remove duplicate tests.
2649 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2651 * lib/gdb.exp (builtin_cd): rename of cd.
2652 (cd): Override builtin.
2654 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2656 * gdb.fortran/function-calls.exp: New file.
2657 * gdb.fortran/function-calls.f90: New test.
2659 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2661 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2662 on user program standard output.
2663 * gdb.fortran/short-circuit-argument-list.f90: Record function
2666 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2668 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2671 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2674 * gdb.base/interrupt-daemon-attach.c,
2675 gdb.base/interrupt-daemon-attach.exp: New test.
2677 2019-02-27 Pedro Alves <palves@redhat.com>
2679 * gdb.base/page.exp: Add tests for "set width/height -1".
2681 2019-02-27 Pedro Alves <palves@redhat.com>
2683 * gdb.base/page.exp: Add tests for "set/show width/height" with
2686 2019-02-27 Tom Tromey <tromey@adacore.com>
2688 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2690 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2693 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2695 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2696 tests for structs with static members.
2698 2019-02-26 Tom Tromey <tromey@adacore.com>
2700 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2701 ValueError, not TypeError.
2703 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2705 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2706 call from main program.
2708 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2710 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2711 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2712 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2713 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2714 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2716 2019-02-22 Keith Seitz <keiths@redhat.com>
2719 * gdb.base/symlink-sourcefile.c: New file.
2720 * gdb.base/symlink-sourcefile.exp: New file.
2722 2019-02-20 Tom Tromey <tom@tromey.com>
2724 * gdb.base/info_qt.exp: Update.
2726 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2728 * gdb.base/source.exp: Move "error in sourced script" code to
2730 * gdb.base/source-error.gdb: Move contents to
2731 source-error-1.gdb. Add new code to source source-error-1.gdb.
2732 * gdb.base/source-error-1.gdb: New file, from previous
2735 2019-02-17 Tom Tromey <tom@tromey.com>
2737 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2739 * gdb.base/style.c (SOME_MACRO): New macro.
2741 2019-02-17 Tom Tromey <tom@tromey.com>
2743 * gdb.base/style.exp: Add line-wrapping tests.
2744 * gdb.base/page.exp: Add test for quitting during pagination.
2746 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2748 * gdb.ada/big_packed_array: New testcase.
2749 * gdb.ada/homonym.exp: Fix incorrect expected output for
2750 "break <homonym__get_value>" test.
2752 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2754 PR breakpoints/21870
2755 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2756 and prepare_for_testing. Add comment.
2757 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2758 redundant cleanup call. Clean up comment.
2760 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2762 PR breakpoints/21870
2763 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2764 * gdb.arch/aarch64-dbreg-contents.c: New file.
2766 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2768 * gdb.ada/mi_ref_changeable: New testcase.
2770 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2772 * gdb.base/attach.exp: Add double attach test.
2774 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2776 * lib/gdb.exp (default_gdb_start): Don't match pagination
2778 (gdb_init): Set stty_init.
2780 2019-01-27 Tom Tromey <tom@tromey.com>
2782 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2785 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2787 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2789 (struct struct_static_02_02): Likewise.
2790 (struct struct_static_02_03): Likewise.
2791 (struct struct_static_02_04): Likewise.
2792 (struct struct_static_04_01): Likewise.
2793 (struct struct_static_04_02): Likewise.
2794 (struct struct_static_04_03): Likewise.
2795 (struct struct_static_04_04): Likewise.
2796 (struct struct_static_06_01): Likewise.
2797 (struct struct_static_06_02): Likewise.
2798 (struct struct_static_06_03): Likewise.
2799 (struct struct_static_06_04): Likewise.
2800 (cmp_struct_static_02_01): Likewise.
2801 (cmp_struct_static_02_02): Likewise.
2802 (cmp_struct_static_02_03): Likewise.
2803 (cmp_struct_static_02_04): Likewise.
2804 (cmp_struct_static_04_01): Likewise.
2805 (cmp_struct_static_04_02): Likewise.
2806 (cmp_struct_static_04_03): Likewise.
2807 (cmp_struct_static_04_04): Likewise.
2808 (cmp_struct_static_06_01): Likewise.
2809 (cmp_struct_static_06_02): Likewise.
2810 (cmp_struct_static_06_03): Likewise.
2811 (cmp_struct_static_06_04): Likewise.
2812 (call_all): Test new structs.
2813 * gdb.base/infcall-nested-structs.exp: Likewise.
2815 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2816 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2818 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2819 * gdb.base/stack-protector.c: New test.
2820 * gdb.base/stack-protector.exp: New file.
2821 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2822 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2824 (gdb_compile): Remove stack protector for GCC and prevent
2827 2019-01-16 Keith Seitz <keiths@redhat.com>
2830 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2832 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2834 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2836 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2838 * gdb.arch/powerpc-vector-regs.c: New file.
2839 * gdb.arch/powerpc-vector-regs.exp: New file.
2841 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2843 * gdb.arch/altivec-regs.exp: Fix the list passed to
2844 gdb_expect_list when testing "info vector".
2846 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2848 * gdb.base/style.exp: Don't include path in testname.
2850 2019-01-10 Keith Seitz <keiths@redhat.com>
2854 * gdb.dwarf2/multidictionary.exp: New file.
2856 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2858 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2859 (test_gnuv3_style_demangling): ... this.
2860 (test_lucid_style_demangling): Remove.
2861 (test_arm_style_demangling): Remove.
2862 (test_hp_style_demangling): Remove.
2863 (do_tests): Remove calls to the above.
2865 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2867 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2870 2019-01-06 Tom Tromey <tom@tromey.com>
2873 * gdb.dwarf2/typedef-void-finish.exp: New file.
2875 2018-12-28 Tom Tromey <tom@tromey.com>
2876 Simon Marchi <simark@simark.ca>
2878 * gdb.base/jit-exec.exp: New file.
2879 * gdb.base/jit-exec.c: New file.
2880 * gdb.base/jit-execd.c: New file.
2882 2018-12-28 Tom Tromey <tom@tromey.com>
2884 * gdb.base/style.exp: Update test to check for address styling.
2886 2018-12-28 Tom Tromey <tom@tromey.com>
2888 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2891 2018-12-28 Tom Tromey <tom@tromey.com>
2893 * gdb.base/style.exp: Add test for version number styling.
2895 2018-12-28 Tom Tromey <tom@tromey.com>
2897 * gdb.base/style.exp: Add test for print_address_symbolic.
2899 2018-12-28 Tom Tromey <tom@tromey.com>
2901 * gdb.base/style.exp: Add test for breakpoint setting.
2903 2018-12-28 Tom Tromey <tom@tromey.com>
2905 * gdb.base/style.exp: Add test for variable names.
2907 2018-12-28 Tom Tromey <tom@tromey.com>
2909 * gdb.base/style.exp: New file.
2910 * gdb.base/style.c: New file.
2912 2018-12-28 Tom Tromey <tom@tromey.com>
2914 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2916 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2917 the TERM environment variable.
2919 2018-12-27 Tom Tromey <tom@tromey.com>
2921 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2924 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2926 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2927 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2929 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2931 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2932 Filename a.adb changed to bp_fun_addr.adb.
2933 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2935 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2937 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2938 non-PIE executables.
2939 * README: Mention the gdb,nopie_flag board setting.
2940 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2942 * gdb.arch/amd64-entry-value.exp: Likewise.
2943 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2944 * gdb.arch/i386-float.exp: Likewise.
2945 * gdb.arch/i386-signal.exp: Likewise.
2946 * gdb.mi/mi-reg-undefined.exp: Likewise.
2948 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2951 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2953 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2955 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2956 Update order of results accordingly.
2958 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2960 * gdb.base/annota1.exp: Update a test regexp.
2962 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2964 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2966 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2968 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2969 (reuse_time): Initialize to REUSE_TIME_CAP.
2970 (check_rc): New function.
2971 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2972 Check pthread_create rc.
2973 (spawner_thread_func): Check pthread_create and pthread_join rc.
2975 2018-12-08 Pedro Alves <palves@redhat.com>
2977 * gdb.base/list.exp (test_forward_search): Rename to ...
2978 (test_forward_reverse_search): ... this. Also test reverse-search
2979 and the forward-search alias.
2981 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2983 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2984 local timeout variable before return, and remove all local timeout
2986 (gdb_load): Likewise.
2988 2018-12-01 Tom de Vries <tdevries@suse.de>
2990 * gdb.base/gdb-caching-proc.exp: New file.
2992 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2994 * Makefile.in (TIMESTAMP): New variable.
2995 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2997 (check-single-racy): Likewise.
2998 (check/%.exp): Likewise.
2999 (check-racy/%.exp): Likewise.
3000 (workers/%.worker): Likewise.
3001 (build-perf): Likewise.
3002 (check-perf): Likewise.
3003 * README: Describe new "TS" and "TS_FORMAT" variables.
3004 * print-ts.py: New file.
3006 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3009 * gdb.python/python.exp: Test command repetition after
3012 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3014 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3015 is correctly aligned.
3017 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3019 * gdb.ada/info_auto_lang.exp: New testcase.
3020 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3021 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3022 * gdb.ada/info_auto_lang/some_c.c: New file.
3024 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3026 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3027 FUNC_lang language syntax.
3029 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3031 * gdb.base/info_minsym.c: New file.
3032 * gdb.base/info_minsym.exp: New file.
3034 2018-11-19 Tom Tromey <tom@tromey.com>
3037 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3038 * gdb.rust/expr.exp: Update expected output. Change one test.
3040 2018-11-19 Tom Tromey <tom@tromey.com>
3042 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3044 2018-11-19 Pedro Alves <palves@redhat.com>
3046 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3047 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3048 see the expected warning.
3050 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3053 * gdb.cp/infcall-nodebug-lib.c: New test.
3054 * gdb.cp/infcall-nodebug-main.c: New test.
3055 * gdb.cp/infcall-nodebug.exp: New file.
3057 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3059 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3062 2018-11-09 Tom de Vries <tdevries@suse.de>
3064 * gdb.base/msym-lang.c: New test.
3065 * gdb.base/msym-lang.exp: New file.
3066 * gdb.base/msym-lang-main.c: New test.
3068 2018-11-08 Tom Tromey <tom@tromey.com>
3072 * gdb.base/warning.exp: New file.
3074 2018-11-08 Jan Beulich <jbeulich@suse.com>
3076 * testsuite/gdb.arch/i386-avx512.c,
3077 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3079 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3081 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3084 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3086 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3087 * gdb.dwarf2/missing-type-name.exp: New file.
3089 2018-11-06 Tom de Vries <tdevries@suse.de>
3091 * gdb.base/many-headers.c: New test.
3092 * gdb.base/many-headers.exp: New file.
3094 2018-11-06 Jim Wilson <jimw@sifive.com>
3096 * gdb.base/code_elim.exp: For riscv, set additional_flags
3097 to include -msmall-data-limit=0.
3099 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3101 * gdb.ada/watch_minus_l: New testcase.
3103 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3105 * gdb.arch/aix-sighandle.c: New file.
3106 * gdb.arch/aix-sighandle.exp: New file.
3108 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3110 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3111 registers being unions.
3113 2018-10-31 Tom de Vries <tdevries@suse.de>
3115 * lib/valgrind.exp: New file.
3116 (vgdb_start, vgdb_stop): New procs, factored out of ...
3117 * gdb.base/valgrind-bt.exp: ... here, ...
3118 * gdb.base/valgrind-disp-step.exp: ... here and ...
3119 * gdb.base/valgrind-infcall.exp: ... here.
3121 2018-10-31 Tom de Vries <tdevries@suse.de>
3123 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3125 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3127 * gdb.dwarf2/void-type.c: New file.
3128 * gdb.dwarf2/void-type.exp: New file.
3130 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3132 * gdb.base/info_qt.c: New file.
3133 * gdb.base/info_qt.exp: New file.
3135 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3137 * gdb.arch/powerpc-htm-regs.c: New file.
3138 * gdb.arch/powerpc-htm-regs.exp: New file.
3140 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3142 * gdb.arch/powerpc-tar.c: New file.
3143 * gdb.arch/powerpc-tar.exp: New file.
3145 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3147 * gdb.arch/powerpc-ppr-dscr.c: New file.
3148 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3150 2018-10-25 Tom de Vries <tdevries@suse.de>
3152 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3154 2018-10-24 Tom de Vries <tdevries@suse.de>
3156 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3157 longer exists error.
3159 2018-10-24 Tom de Vries <tdevries@suse.de>
3161 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3163 2018-10-24 Tom de Vries <tdevries@suse.de>
3165 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3166 --db-attach in valgrind.
3168 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3170 * gdb.arch/riscv-reg-aliases.c: New file.
3171 * gdb.arch/riscv-reg-aliases.exp: New file.
3173 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3175 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3177 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3179 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3181 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3183 * gdb.cp/ovldbreak.exp: Fix regexps.
3185 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3187 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3189 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3192 * gdb.base/restore.exp: New test to check if "restore" with an
3193 invalid file doesn't segfault.
3195 2018-10-18 Tom de Vries <tdevries@suse.de>
3197 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3198 * gdb.ada/excep_handle.exp: Same.
3199 * gdb.ada/mi_string_access.exp: Same.
3200 * gdb.ada/mi_var_union.exp: Same.
3201 * gdb.arch/arc-analyze-prologue.exp: Same.
3202 * gdb.arch/arc-decode-insn.exp: Same.
3203 * gdb.base/readnever.exp: Same.
3204 * gdb.fortran/printing-types.exp: Same.
3205 * gdb.guile/scm-lazy-string.exp: Same.
3207 2018-10-16 Tom de Vries <tdevries@suse.de>
3210 * gdb.base/catch-follow-exec.c: Add copyright notice.
3211 * gdb.base/catch-follow-exec.exp: Rewrite to use
3212 gdb_spawn_with_cmdline_opts. Require gdb-native.
3214 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3216 * gdb.trace/actions-changed.exp: Check for arch support.
3217 * gdb.trace/actions.exp: Likewise.
3218 * gdb.trace/ax.exp: Likewise.
3219 * gdb.trace/backtrace.exp: Likewise.
3220 * gdb.trace/change-loc.exp: Likewise.
3221 * gdb.trace/deltrace.exp: Likewise.
3222 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3223 * gdb.trace/ftrace.exp: Likewise.
3224 * gdb.trace/infotrace.exp: Check for arch support.
3225 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3226 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3227 * gdb.trace/mi-tsv-changed.exp: Likewise.
3228 * gdb.trace/packetlen.exp: Likewise.
3229 * gdb.trace/passc-dyn.exp: Likewise.
3230 * gdb.trace/passcount.exp: Likewise.
3231 * gdb.trace/pending.exp: Likewise.
3232 * gdb.trace/range-stepping.exp: Check for shlib support.
3233 * gdb.trace/report.exp: Check for arch support.
3234 * gdb.trace/save-trace.exp: Likewise.
3235 * gdb.trace/signal.exp: Check for signal support.
3236 * gdb.trace/tfind.exp: Check for arch support.
3237 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3238 * gdb.trace/trace-common.h: Add comment.
3239 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3240 * gdb.trace/trace-enable-disable.exp: Likewise.
3241 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3242 * gdb.trace/tracecmd.exp: Check for arch support.
3243 * gdb.trace/tspeed.exp: Check for shlib and target support.
3244 * gdb.trace/tstatus.exp: Check for arch support.
3245 * gdb.trace/tsv.exp: Likewise.
3246 * gdb.trace/while-dyn.exp: Likewise.
3247 * gdb.trace/while-stepping.exp: Likewise.
3248 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3250 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3252 * gdb.trace/tspeed.exp: Remove nowarnings.
3253 (prepare_for_trace_test): Declare "global ipalib".
3254 * gdb.trace/tspeed.c: Include unistd.h.
3255 (main): Remove superfluous printf argument.
3257 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3259 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3260 directory prefix on the filename.
3262 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3264 * gdb.gdb/unittest.exp: Update expected message informing that
3265 selftests have been disabled.
3266 * gdb.server/unittest.exp: Likewise.
3268 2018-10-09 Tom de Vries <tdevries@suse.de>
3270 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3273 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3276 * gdb.cp/virtbase2.cc: New file.
3277 * gdb.cp/virtbase2.exp: New file.
3279 2018-10-06 Tom Tromey <tom@tromey.com>
3282 * gdb.python/py-inferior.exp: Add architecture test.
3284 2018-10-06 Tom Tromey <tom@tromey.com>
3286 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3287 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3289 2018-10-06 Tom Tromey <tom@tromey.com>
3291 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3292 of a "throw" catchpoint.
3294 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3296 * gdb.base/info-proc.exp: Update string expected from "help info
3299 2018-10-04 Tom Tromey <tom@tromey.com>
3301 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3302 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3303 (test_initial_complaints, test_empty_complaints): Update.
3304 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3306 2018-10-04 Tom Tromey <tom@tromey.com>
3309 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3310 * lib/gdb.exp (gdb_file_cmd): Update.
3311 * gdb.stabs/weird.exp (print_weird_var): Update.
3312 * gdb.server/solib-list.exp: Update.
3313 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3314 * gdb.mi/mi-cli.exp: Update.
3315 * gdb.linespec/linespec.exp: Update.
3316 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3317 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3318 * gdb.cp/cp-relocate.exp: Update.
3319 * gdb.base/sym-file.exp: Update.
3320 * gdb.base/relocate.exp: Update.
3321 * gdb.base/readnever.exp: Update.
3322 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3323 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3324 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3325 * gdb.base/code_elim.exp: Update.
3326 * gdb.base/break-unload-file.exp (test_break): Update.
3327 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3328 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3330 * gdb.base/attach.exp (do_attach_tests): Update.
3331 * gdb.base/sepdebug.exp: Update.
3332 * gdb.python/py-section-script.exp: Update.
3334 2018-10-04 Tom Tromey <tom@tromey.com>
3337 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3338 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3341 2018-10-04 Tom Tromey <tom@tromey.com>
3343 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3344 set width and height to 0.
3345 (test_command_line_attach_run): Use -quiet.
3347 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3349 * lib/gdb.exp (skip_ifunc_tests): New.
3350 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3351 other compile failures.
3352 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3354 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3356 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3357 is_amd64_regs_target.
3359 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3361 * gdb.arch/aarch64-sighandler-regs.c: New test.
3362 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3363 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3365 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3367 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3370 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3372 * gdb.base/frame-selection.exp: New file.
3373 * gdb.base/frame-selection.c: New file.
3375 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3377 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3381 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3383 * gdb.base/large-frame-1.c: New file.
3384 * gdb.base/large-frame-2.c: New file.
3385 * gdb.base/large-frame.exp: New file.
3386 * gdb.base/large-frame.h: New file.
3388 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3391 * gdb.base/write_mem.exp: New test.
3392 * gdb.base/write_mem.c: Likewise.
3394 2018-09-23 Tom Tromey <tom@tromey.com>
3397 * gdb.python/py-parameter.exp: Add test for parameter that throws
3400 2018-09-23 Tom Tromey <tom@tromey.com>
3403 * gdb.python/py-template.exp (test_template_arg): Add test for
3404 negative template argument number.
3406 2018-09-23 Tom Tromey <tom@tromey.com>
3409 * gdb.python/python.exp: Add test for post_event error.
3411 2018-09-23 Tom Tromey <tom@tromey.com>
3414 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3415 convert pointers to int and long.
3417 2018-09-23 Tom Tromey <tom@tromey.com>
3420 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3421 signed-ness conversion tests.
3423 2018-09-23 Tom Tromey <tom@tromey.com>
3426 * gdb.python/py-value.exp (test_float_conversion): New proc.
3429 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3431 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3433 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3435 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3437 * gdb.base/utf8-identifiers.exp: Likewise.
3438 * gdb.cp/cpcompletion.exp: Likewise.
3439 * gdb.linespec/cpcompletion.exp: Likewise.
3440 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3441 * gdb.linespec/cpls-ops.exp: Likewise.
3443 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3444 Chris January <chris.january@arm.com>
3446 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3447 * gdb.fortran/short-circuit-argument-list.exp: New file.
3448 * gdb.fortran/short-circuit-argument-list.f90: New test.
3450 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3452 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3453 "arch=" keyword when executing "-stack-list-frames".
3455 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3457 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3458 "arch=" keyword when executing "-stack-list-frames".
3460 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3462 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3465 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3468 * gdb.python/python.exp: Test gdb.execute("show commands").
3470 2018-09-16 Tom Tromey <tom@tromey.com>
3472 * gdb.base/new-ui.exp (do_execution_tests): Update.
3473 * gdb.base/dbx.exp (test_breakpoints): Update.
3475 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3477 * lib/gdb.exp (gdb_simple_compile): Add proc.
3478 (is_elf_target): Use gdb_simple_compile.
3479 (skip_altivec_tests): Likewise.
3480 (skip_vsx_tests): Likewise.
3481 (skip_tsx_tests): Likewise.
3482 (skip_btrace_tests): Likewise.
3483 (skip_btrace_pt_tests): Likewise.
3484 (gdb_can_simple_compile): Likewise.
3485 (gdb_has_argv0): Likewise.
3486 (gdb_target_symbol_prefix): Likewise.
3487 (target_supports_scheduler_locking): Likewise.
3489 2018-09-13 Tom Tromey <tom@tromey.com>
3491 * Makefile.in (TAGS): Recognize proc_with_prefix and
3494 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3496 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3499 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3501 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3502 and a few other Inferior properties when the Inferior is no
3505 2018-09-13 Tom Tromey <tom@tromey.com>
3508 * gdb.rust/simple.exp: Add test for enum field access error.
3510 2018-09-13 Tom Tromey <tom@tromey.com>
3513 * gdb.rust/simple.rs (EmptyEnum): New type.
3515 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3517 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3519 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3520 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3521 * gdb.python/py-symtab.exp: Update test printing an objfile.
3523 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3525 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3528 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3530 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3531 (support_complex_tests): Use gdb_can_simple_compile.
3532 (is_ilp32_target): Likewise.
3533 (is_lp64_target): Likewise.
3534 (is_64_target): Likewise.
3535 (is_amd64_regs_target): Likewise.
3536 (is_aarch32_target): Likewise.
3537 (gdb_int128_helper): Likewise.
3539 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3541 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3543 2018-09-10 Jerome Guitton <guitton@adacore.com>
3545 * gdb.ada/same_component_name: Add test for case of tagged record
3546 with variable-length fields.
3548 2018-09-10 Xavier Roirand <roirand@adacore.com>
3550 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3551 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3552 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3553 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3555 2018-09-10 Xavier Roirand <roirand@adacore.com>
3557 * gdb.ada/mi_string_access.exp: New testcase.
3558 * gdb.ada/mi_string_access/bar.adb: New file.
3559 * gdb.ada/mi_string_access/pck.adb: New file.
3560 * gdb.ada/mi_string_access/pck.asd: New file.
3562 2018-09-10 Xavier Roirand <roirand@adacore.com>
3564 * gdb.ada/mi_var_union.exp: New testcase.
3565 * gdb.ada/mi_var_union/bar.adb: New file.
3566 * gdb.ada/mi_var_union/pck.adb: New file.
3567 * gdb.ada/mi_var_union/pck.asd: New file.
3569 2018-09-08 Tom Tromey <tom@tromey.com>
3571 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3573 2018-09-08 Tom Tromey <tom@tromey.com>
3576 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3577 (register_pretty_printers): Register new printer.
3578 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3580 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3581 (an_int_type3): New global.
3583 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3585 * gdb.ada/expr_with_funcall: New testcase.
3587 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3589 * gdb.ada/packed_array_assign: New testcase.
3591 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3593 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3594 names, and add test prefixes to make test names unique.
3596 2018-09-05 Tom de Vries <tdevries@suse.de>
3598 * gdb.dwarf2/varval.exp: Add test.
3600 2018-09-04 Gary Benson <gbenson@redhat.com>
3602 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3603 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3605 2018-08-31 Tom Tromey <tom@tromey.com>
3607 * gdb.rust/simple.rs: Rename second variable "v".
3609 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3611 * gdb.base/funcargs.c (use_a): New function.
3612 (recurse): Call use_a.
3614 2018-08-29 Keith Seitz <keiths@redhat.com>
3616 * gdb.compile/compile-cplus-anonymous.cc: New file.
3617 * gdb.compile/compile-cplus-anonymous.exp: New file.
3618 * gdb.compile/compile-cplus-array-decay.cc: New file.
3619 * gdb.compile/compile-cplus-array-decay.exp: New file.
3620 * gdb.compile/compile-cplus-inherit.cc: New file.
3621 * gdb.compile/compile-cplus-inherit.exp: New file.
3622 * gdb.compile/compile-cplus-member.cc: New file.
3623 * gdb.compile/compile-cplus-member.exp: New file.
3624 * gdb.compile/compile-cplus-method.cc: New file.
3625 * gdb.compile/compile-cplus-method.exp: New file.
3626 * gdb.compile/compile-cplus-mod.c: "New" file.
3627 * gdb.compile/compile-cplus-namespace.cc: New file.
3628 * gdb.compile/compile-cplus-namespace.exp: New file.
3629 * gdb.compile/compile-cplus-nested.cc: New file.
3630 * gdb.compile/compile-cplus-nested.exp: New file.
3631 * gdb.compile/compile-cplus-print.c: "New" file.
3632 * gdb.compile/compile-cplus-print.exp: "New" file.
3633 * gdb.compile/compile-cplus-virtual.cc: New file.
3634 * gdb.compile/compile-cplus-virtual.exp: New file.
3635 * gdb.compile/compile-cplus.c: "New" file.
3636 * gdb.compile/compile-cplus.exp: "New" file.
3637 * lib/compile-support.exp: New file.
3639 2018-08-16 Gary Benson <gbenson@redhat.com>
3642 * gdb.base/batch-exit-status.exp: New file.
3643 * gdb.base/batch-exit-status.good-commands: Likewise.
3644 * gdb.base/batch-exit-status.bad-commands: Likewise.
3646 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3648 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3649 (struct struct02): Likewise.
3650 (struct struct03): Likewise.
3651 (struct struct04): Likewise.
3652 (struct struct_01_01): New struct.
3653 (struct struct_01_02): Likewise.
3654 (struct struct_01_03): Likewise.
3655 (struct struct_01_04): Likewise.
3656 (struct struct_02_01): Likewise.
3657 (struct struct_02_02): Likewise.
3658 (struct struct_02_03): Likewise.
3659 (struct struct_02_04): Likewise.
3660 (struct struct_04_01): Likewise.
3661 (struct struct_04_02): Likewise.
3662 (struct struct_04_03): Likewise.
3663 (struct struct_04_04): Likewise.
3664 (struct struct_05_01): Likewise.
3665 (struct struct_05_02): Likewise.
3666 (struct struct_05_03): Likewise.
3667 (struct struct_05_04): Likewise.
3668 (cmp_struct01): Remove function.
3669 (cmp_struct02): Likewise.
3670 (cmp_struct03): Likewise.
3671 (cmp_struct04): Likewise.
3672 (cmp_struct_01_01): Add Function.
3673 (cmp_struct_01_02): Likewise.
3674 (cmp_struct_01_03): Likewise.
3675 (cmp_struct_01_04): Likewise.
3676 (cmp_struct_02_01): Likewise.
3677 (cmp_struct_02_02): Likewise.
3678 (cmp_struct_02_03): Likewise.
3679 (cmp_struct_02_04): Likewise.
3680 (cmp_struct_04_01): Likewise.
3681 (cmp_struct_04_02): Likewise.
3682 (cmp_struct_04_03): Likewise.
3683 (cmp_struct_04_04): Likewise.
3684 (cmp_struct_05_01): Likewise.
3685 (cmp_struct_05_02): Likewise.
3686 (cmp_struct_05_03): Likewise.
3687 (cmp_struct_05_04): Likewise.
3688 (call_all): Add new structs.
3689 * gdb.base/infcall-nested-structs.exp: Likewise.
3691 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3693 * gdb.python/py-framefilter-mi.exp: Update regexp to
3694 check for "arch" field in frame output.
3696 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3698 * gdb.dwarf2/dw2-ranges-func.c: New file.
3699 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3701 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3703 * gdb.base/term.exp: Compare terminal settings with values from
3705 * gdb.base/term.c: Get and set terminal settings.
3707 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3709 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3710 accommodate new "arch" field in frame output.
3711 * gdb.mi/mi-return.exp: Likewise.
3712 * gdb.mi/mi-stack.exp: Likewise.
3713 * gdb.mi/mi-syn-frame.exp: Likewise.
3714 * gdb.mi/user-selected-context-sync.exp: Likewise.
3716 2018-08-19 Michael Spang <spang@google.com>
3719 * gdb.base/gcore-tls-pie.c: New file.
3720 * gdb.base/gcore-tls-pie.exp: New file.
3722 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3724 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3725 * gdb.dwarf2/varval.c: New file.
3726 * gdb.dwarf2/varval.exp: New file.
3728 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3731 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3733 2018-08-16 Keith Seitz <keiths@redhat.com>
3735 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3736 tests expected to pass.
3738 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3740 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3741 -data-disassemble -a.
3742 (test_disassembly_bogus_args): Likewise.
3744 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3746 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3748 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3750 * gdb.base/vla-optimized-out.exp: Add new test.
3752 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3754 * gdb.base/vla-optimized-out-o3.exp: Delete.
3755 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3756 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3759 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3762 * gdb.server/extended-remote-restart.c: New file.
3763 * gdb.server/extended-remote-restart.exp: New file.
3765 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3767 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3768 "set variable index = 42".
3770 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3772 * boards/index-cache-gdb.exp: New file.
3773 * gdb.dwarf2/index-cache.exp: New file.
3774 * gdb.dwarf2/index-cache.c: New file.
3775 * gdb.base/maint.exp: Check if we are using the index cache.
3777 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3779 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3782 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3784 * dg-extract-results.sh: Move to toplevel contrib.
3785 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3786 * Makefile.in (check-parallel-racy): Likewise.
3788 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3790 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3791 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3792 tests if the target supports scheduler locking.
3794 2018-08-04 Tom de Vries <tdevries@suse.de>
3796 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3798 2018-08-02 Tom Tromey <tom@tromey.com>
3801 * gdb.cp/temargs.exp: Test "info address" of a template
3804 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3806 * gdb.python/py-mi-var-info-path-expression.c: New file.
3807 * gdb.python/py-mi-var-info-path-expression.py: New file.
3808 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3810 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3812 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3813 error after "cannot resolve name" string.
3815 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3817 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3819 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3821 2018-07-28 Tom de Vries <tdevries@suse.de>
3823 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3825 2018-07-26 Tom de Vries <tdevries@suse.de>
3827 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3829 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3831 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3834 2018-07-26 Tom de Vries <tdevries@suse.de>
3836 PR breakpoints/23366
3837 * gdb.base/catch-follow-exec.c: New test.
3838 * gdb.base/catch-follow-exec.exp: New file.
3840 2018-07-25 Tom de Vries <tdevries@suse.de>
3842 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3843 vla-optimized-out.c.
3845 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3847 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3848 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3850 2018-07-20 Tom de Vries <tdevries@suse.de>
3852 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3854 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3856 2018-07-19 Tom de Vries <tdevries@suse.de>
3858 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3861 2018-07-18 Tom de Vries <tdevries@suse.de>
3863 * gdb.base/vla-optimized-out.c: New test.
3864 * gdb.base/vla-optimized-out.exp: New file.
3866 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3868 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3869 message "No address associated with hostname" when gdbserver
3870 cannot resolve the hostname.
3872 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3874 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3875 Add some test prefixes to make tests unique.
3877 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3879 * gdb.base/frameapply.c: New file.
3880 * gdb.base/frameapply.exp: New file.
3882 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3884 * gdb.base/skip.exp: Update expected error message.
3886 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3887 Jan Kratochvil <jan.kratochvil@redhat.com>
3888 Paul Fertser <fercerpav@gmail.com>
3889 Tsutomu Seki <sekiriki@gmail.com>
3891 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3893 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3895 * boards/native-gdbserver.exp: Likewise.
3896 * gdb.server/run-without-local-binary.exp: Improve regexp used
3897 for detecting when a remote debugging connection succeeds.
3898 * gdb.server/server-connect.exp: New file.
3899 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3900 Do not prefix the port number with ":".
3901 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3902 support for detecting and using it. Add '$debughost_gdbserver'
3903 to the list of arguments used to start gdbserver. Handle case
3904 when gdbserver cannot resolve a network name.
3906 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3909 * gdb.base/ptype-offsets.cc (struct static_member): New
3911 (main) <stmember>: New variable.
3912 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3913 with a static member in it.
3915 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3917 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3918 watchpoints enabled and disabled.
3920 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3922 * gdb.base/examine-backward.exp: Still run tests around address
3923 0x0, even if address 0x0 is not readable. Update the pattern for
3924 matching address 0x0 in expected output.
3926 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3928 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3931 2018-07-04 Tom de Vries <tdevries@suse.de>
3933 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3935 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3938 * gdb.arch/mips-disassembler-options.exp: New test.
3939 * gdb.arch/mips-disassembler-options.s: New test source.
3941 2018-06-29 Pedro Alves <palves@redhat.com>
3943 * gdb.threads/names.exp: Adjust expected "info threads" output.
3945 2018-06-29 Pedro Alves <palves@redhat.com>
3947 * gdb.opt/inline-break.exp (line number, address): Add "info
3950 2018-06-29 Pedro Alves <palves@redhat.com>
3952 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3953 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3954 number and address and running to them.
3956 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3958 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3960 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3962 * lib/compiler.c: Remove executable permission flag.
3964 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3966 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3968 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3970 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3972 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3974 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3976 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3977 address argument is omitted.
3979 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3981 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3983 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3986 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3987 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3989 2018-06-26 Tom Tromey <tom@tromey.com>
3992 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3993 * gdb.rust/simple.rs (struct SimpleLayout): New.
3995 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3997 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3998 "info registers" output.
4000 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4002 * gdb.base/watchpoint-hw-attach.c: New test.
4003 * gdb.base/watchpoint-hw-attach.exp: New file.
4005 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4007 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4009 * boards/dwarf4-gdb-index.exp: Likewise.
4010 * boards/fission-dwp.exp: Likewise.
4012 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4014 * gdb.base/float128.exp: Add comment and improved fail message
4015 to the failure case of "print large128" test.
4017 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4019 * configure.ac: Remove AC_PREREQ.
4020 * configure: Re-generate.
4022 2018-06-19 Pedro Alves <palves@redhat.com>
4024 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4025 (func_extern_caller): New.
4026 (main): Call func_extern_caller.
4027 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4030 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4033 * gdb.cp/typedef-base.cc: New file.
4034 * gdb.cp/typedef-base.exp: New file.
4036 2018-06-18 Tom de Vries <tdevries@suse.de>
4038 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4040 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4041 Richard Bunt <Richard.Bunt@arm.com>
4043 * gdb.threads/attach-slow-waitpid.c: New file.
4044 * gdb.threads/attach-slow-waitpid.exp: New file.
4045 * gdb.threads/slow-waitpid.c: New file.
4047 2018-06-14 Pedro Alves <palves@redhat.com>
4049 * gdb.base/fork-running-state.c: Include <errno.h>.
4050 (exit_if_relative_exits): New.
4051 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4053 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4056 2018-06-14 Tom de Vries <tdevries@suse.de>
4059 * gdb.base/finish-pretty.c: New test.
4060 * gdb.base/finish-pretty.exp: New file.
4062 2018-06-14 Pedro Alves <palves@redhat.com>
4064 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4065 gdb's expected startup output.
4067 2018-06-14 Pedro Alves <palves@redhat.com>
4069 * lib/selftest-support.exp (selftest_setup): Remove inlined
4072 2018-06-14 Tom de Vries <tdevries@suse.de>
4074 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4075 matching of breakpoint printing.
4077 2018-06-13 Tom de Vries <tdevries@suse.de>
4080 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4081 (fork_child): ... here, and ...
4082 (fork_parent): ... here.
4084 2018-06-12 Tom de Vries <tdevries@suse.de>
4086 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4088 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4089 Stephen Roberts <stephen.roberts@arm.com>
4091 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4092 rewrite test to describe action performed, rather than possible
4095 2018-06-08 Gary Benson <gbenson@redhat.com>
4097 * gdb.threads/check-libthread-db.exp: New file.
4098 * gdb.threads/check-libthread-db.c: Likewise.
4100 2018-06-05 Tom Tromey <tom@tromey.com>
4102 * gdb.base/default.exp: Update expected "show version" output.
4104 2018-06-05 Tom Tromey <tom@tromey.com>
4107 * gdb.cp/static-print-quit.exp: Update.
4108 * lib/gdb.exp (pagination_prompt): Update.
4109 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4110 * gdb.python/python.exp: Update.
4112 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4114 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4116 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4118 * gdb.ada/bp_fun_addr: New testcase.
4120 2018-06-01 Tom Tromey <tom@tromey.com>
4122 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4124 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4125 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4126 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4127 * gdb.base/maint.exp (maint_pass_if): Update.
4129 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4131 * gdb.base/endian.exp: New test.
4132 * gdb.base/endian.c: New test source.
4134 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4137 * gdb.base/bt-selected-frame.c: New file.
4138 * gdb.base/bt-selected-frame.exp: New file.
4139 * lib/gdb.exp (get_current_frame_number): New function.
4141 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4142 Pedro Alves <palves@redhat.com>
4144 * gdb.threads/tls-core.c: Include <stdlib.h>
4145 (thread_proc): Call `abort'.
4146 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4147 (tls_core_test): New procedure, bits factored out from ...
4148 (top level): ... here. Test both native cores and gcore cores.
4150 2018-05-23 Tom Tromey <tom@tromey.com>
4152 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4154 2018-05-23 Tom Tromey <tom@tromey.com>
4156 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4158 (test_short_complaints): Likewise.
4159 (test_empty_complaints): Likewise.
4160 (test_initial_complaints): Update.
4162 2018-05-23 Tom Tromey <tom@tromey.com>
4164 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4166 2018-05-23 Tom Tromey <tom@tromey.com>
4168 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4169 (test_short_complaints): Update.
4171 2018-05-22 Pedro Alves <palves@redhat.com>
4173 * gdb.base/remote.exp: Only gdb_start after compiling the
4174 testcase. Issue "disconnect" before testing "set remote" command
4175 defaults. Issue clean_restart before running to main.
4177 2018-05-22 Pedro Alves <palves@redhat.com>
4179 * gdb.base/remote.exp: Adjust expected output of "show remote
4180 memory-write-packet-size". Add tests for "set remote
4181 memory-write-packet-size 0" and "set remote
4182 memory-write-packet-size fixed/limit".
4184 2018-05-22 Pedro Alves <palves@redhat.com>
4187 * gdb.base/utf8-identifiers.c: New file.
4188 * gdb.base/utf8-identifiers.exp: New file.
4190 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4192 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4194 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4196 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4198 2018-05-18 Tom Tromey <tom@tromey.com>
4200 * gdb.base/ptype-offsets.exp: Update.
4202 2018-05-17 Keith Seitz <keiths@redhat.com>
4204 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4205 in expected breakpoint stop locations.
4206 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4207 move to proper scope to test variable values.
4208 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4209 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4211 (main): Call not_inline_func3.
4212 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4213 inline_func1, inline_func2, and inline_func3. Test that when each
4214 breakpoint is hit, GDB properly reports both the stop location
4215 and the backtrace. Repeat tests for temporary breakpoints.
4217 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4219 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4220 rather then trying to access it in determining whether the PID
4221 of `gdbserver' could have been retrieved.
4223 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4225 * gdb.arch/amd64-init-x87-values.S: New file.
4226 * gdb.arch/amd64-init-x87-values.exp: New file.
4228 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4230 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4232 2018-05-04 Tom Tromey <tom@tromey.com>
4235 * gdb.python/python.exp: Test multi-line execute.
4237 2018-05-04 Tom Tromey <tom@tromey.com>
4240 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4242 2018-05-04 Tom Tromey <tom@tromey.com>
4245 * gdb.base/define.exp: Test defining a user command inside a user
4247 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4249 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4250 Pedro Alves <palves@redhat.com>
4252 PR breakpoints/19806 and support for PR external/20207.
4253 * gdb.base/watchpoint-unaligned.c: New file.
4254 * gdb.base/watchpoint-unaligned.exp: New file.
4256 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4258 * gdb.base/maint.exp: Make test names unique, use
4259 test_prefix_command_help to test 'help maint info', and remove
4260 repeated test of 'help maint'.
4262 2018-05-04 Tom Tromey <tom@tromey.com>
4265 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4268 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4270 * gdb.base/maint.exp: Process output from 'maint print registers'
4273 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4275 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4278 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4280 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4283 2018-05-02 Pedro Alves <palves@redhat.com>
4285 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4286 to_log_command renames.
4287 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4289 2018-05-02 Tom Tromey <tom@tromey.com>
4291 * gdb.python/py-parameter.exp: Set test message.
4293 2018-05-02 Tom Tromey <tom@tromey.com>
4296 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4297 PARAM_ZUINTEGER_UNLIMITED tests.
4299 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4302 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4305 2018-04-30 Tom Tromey <tom@tromey.com>
4307 * gdb.python/py-type.exp: Check align attribute.
4308 * gdb.python/py-type.c: New "aligncheck" global.
4310 2018-04-30 Tom Tromey <tom@tromey.com>
4313 * gdb.dwarf2/dw2-align.exp: New file.
4314 * gdb.cp/align.exp: New file.
4315 * gdb.base/align.exp: New file.
4316 * lib/gdb.exp (gdb_int128_helper): New proc.
4317 (has_int128_c, has_int128_cxx): New caching procs.
4319 2018-04-27 Tom Tromey <tom@tromey.com>
4322 * gdb.rust/simple.exp: Add inclusive range tests.
4324 2018-04-26 Pedro Alves <palves@redhat.com>
4326 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4327 ifunc breakpoint locations correctly of ifunc breakpoints set
4328 while the program resolves the ifunc.
4330 2018-04-26 Pedro Alves <palves@redhat.com>
4332 * gdb.base/gnu-ifunc-final.c: New file.
4333 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4334 * gdb.base/gnu-ifunc.exp (executable): Delete.
4335 (staticexecutable): Adjust.
4336 (lib_opts, exec_opts): Delete.
4337 (make_binsuffix, build, set-break): New procedures.
4338 (misc_tests): New, with tests factored out from the top level.
4339 (top level): Test different combinations of ifunc resolver name,
4340 resolver with and with debug info, and ifunc target with and
4341 without debug info. Wrap static tests with with_target_prefix.
4343 2018-04-26 Pedro Alves <palves@redhat.com>
4345 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4346 return type" warnings.
4348 2018-04-25 Pedro Alves <palves@redhat.com>
4350 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4352 * gdb.base/kill-after-signal.exp: Likewise.
4353 * gdb.threads/kill.exp: Likewise.
4355 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4356 Sergio Durigan Junior <sergiodj@redhat.com>
4357 Pedro Alves <palves@redhat.com>
4359 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4360 regexps to expect for '[Inferior ... detached]' as well.
4361 * gdb.base/attach.exp: Likewise.
4362 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4363 "gdb_continue_to_end".
4364 (test_catch_syscall_with_wrong_args): Likewise.
4365 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4366 ']'. Don't set 'verbose' on.
4367 * gdb.base/foll-vfork.exp: Likewise.
4368 * gdb.base/fork-print-inferior-events.c: New file.
4369 * gdb.base/fork-print-inferior-events.exp: New file.
4370 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4371 '[Inferior ... has been killed]' message.
4372 * gdb.base/kill-after-signal.exp: Likewise.
4373 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4375 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4377 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4378 regexps to expect for '[Inferior ... detached]' as well.
4379 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4381 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4384 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4386 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4388 * gdb.threads/multiple-successive-infcall.c: New test.
4389 * gdb.threads/multiple-successive-infcall.exp: New file.
4391 2018-04-17 Tom Tromey <tom@tromey.com>
4393 * gdb.rust/simple.rs (Union): New type.
4394 (main): New local "u".
4395 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4397 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4399 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4400 number information in output of "whereis" command.
4401 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4403 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4405 * gdb.ada/info_types.exp: Adjust expected output to the line
4406 numbers now printed by "info var/func/type".
4407 * gdb.base/completion.exp: Likewise.
4408 * gdb.base/included.exp: Likewise.
4409 * gdb.cp/cp-relocate.exp: Likewise.
4410 * gdb.cp/cplusfuncs.exp: Likewise.
4411 * gdb.cp/namespace.exp: Likewise.
4412 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4414 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4416 * gdb.btrace/cpu.exp: New.
4418 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4420 * gdb.base/step-indirect-call-thunk.exp: New.
4421 * gdb.base/step-indirect-call-thunk.c: New.
4422 * gdb.reverse/step-indirect-call-thunk.exp: New.
4423 * gdb.reverse/step-indirect-call-thunk.c: New.
4425 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4427 * gdb.base/pie-fork.c: New file.
4428 * gdb.base/pie-fork.exp: New file.
4430 2018-04-11 Tom Tromey <tom@tromey.com>
4432 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4434 2018-04-10 Pedro Alves <palves@redhat.com>
4436 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4437 exits. Instead loop running forever.
4438 (fork_parent): Run forever too.
4440 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4442 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4443 mi_continue_to_line.
4444 * gdb.mi/mi-stack.c (callee4): Add comment.
4446 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4448 * gdb.mi/mi-stack.exp: Fix indentation.
4450 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4453 * gdb.arch/amd64-osabi.exp: New file.
4455 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4458 * gdb.base/osabi.exp: New file.
4460 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4462 * gdb.cp/static-typedef-print.exp: New file.
4463 * gdb.cp/static-typedef-print.cc: New file.
4465 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4467 * gdb.ada/varsize_limit: New testcase.
4469 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4471 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4473 * gdb.ada/notcplusplus: New testcase.
4475 * gdb.base/c-linkage-name.c: New file.
4476 * gdb.base/c-linkage-name.exp: New testcase.
4478 2018-03-26 Tom Tromey <tom@tromey.com>
4480 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4481 * gdb.python/py-framefilter.py (name_error): New global.
4482 (ErrorInName.function): Use name_error.
4484 2018-03-26 Tom Tromey <tom@tromey.com>
4487 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4489 2018-03-23 Keith Seitz <keiths@redhat.com>
4492 * gdb.cp/subtypes.exp: New file.
4493 * gdb.cp/subtypes.h: New file.
4494 * gdb.cp/subtypes.cc: New file.
4495 * gdb.cp/subtypes-2.cc: New file.
4497 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4499 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4500 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4501 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4502 -nostartfiles when compiling the test. Confirm that all registers
4503 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4505 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4507 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4508 option, syntax was wrong anyway.
4509 * gdb.arch/arm-disp-step.exp: Likewise.
4510 * gdb.arch/sparc64-regs.exp: Likewise.
4511 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4512 option, syntax was wrong anyway, switch to use
4513 prepare_for_testing.
4514 * gdb.arch/i386-disp-step.exp: Likewise.
4516 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4518 * gdb.ada/exec_changed.exp: Replace "target_info exists
4519 use_gdb_stub" by "use_gdb_stub".
4520 * gdb.ada/start.exp: Likewise.
4521 * gdb.base/async-shell.exp: Likewise.
4522 * gdb.base/attach-pie-misread.exp: Likewise.
4523 * gdb.base/attach-wait-input.exp: Likewise.
4524 * gdb.base/break-entry.exp: Likewise.
4525 * gdb.base/break-interp.exp: Likewise.
4526 * gdb.base/dprintf-detach.exp: Likewise.
4527 * gdb.base/nostdlib.exp: Likewise.
4528 * gdb.base/solib-nodir.exp: Likewise.
4529 * gdb.base/statistics.exp: Likewise.
4530 * gdb.base/testenv.exp: Likewise.
4531 * gdb.mi/mi-exec-run.exp: Likewise.
4532 * gdb.mi/mi-start.exp: Likewise.
4533 * gdb.multi/dummy-frame-restore.exp: Likewise.
4534 * gdb.multi/multi-arch-exec.exp: Likewise.
4535 * gdb.multi/multi-arch.exp: Likewise.
4536 * gdb.multi/tids.exp: Likewise.
4537 * gdb.multi/watchpoint-multi.exp: Likewise.
4538 * gdb.python/py-events.exp: Likewise.
4539 * gdb.threads/attach-into-signal.exp: Likewise.
4540 * gdb.threads/attach-stopped.exp: Likewise.
4541 * gdb.threads/threadapply.exp: Likewise.
4542 * lib/selftest-support.exp: Likewise.
4544 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4546 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4548 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4550 * gdb.perf/template-breakpoints.cc: New file.
4551 * gdb.perf/template-breakpoints.exp: New file.
4552 * gdb.perf/template-breakpoints.py: New file.
4554 2018-03-19 Tom Tromey <tom@tromey.com>
4556 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4558 * gdb.rust/simple.exp: Test bare identifier form of struct
4561 2018-03-19 Tom Tromey <tom@tromey.com>
4563 * gdb.gdb/observer.exp: Remove.
4565 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4567 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4568 "qualified" option when setting breakpoints.
4569 * gdb.trace/backtrace.exp: Likewise.
4570 * gdb.trace/circ.exp: Likewise.
4571 * gdb.trace/collection.exp: Likewise.
4572 * gdb.trace/disconnected-tracing.exp: Likewise.
4573 * gdb.trace/ftrace-lock.exp: Likewise.
4574 * gdb.trace/ftrace.exp: Likewise.
4575 * gdb.trace/infotrace.exp: Likewise.
4576 * gdb.trace/packetlen.exp: Likewise.
4577 * gdb.trace/passc-dyn.exp: Likewise.
4578 * gdb.trace/qtro.exp: Likewise.
4579 * gdb.trace/read-memory.exp: Likewise.
4580 * gdb.trace/report.exp: Likewise.
4581 * gdb.trace/signal.exp: Likewise.
4582 * gdb.trace/status-stop.exp: Likewise.
4583 * gdb.trace/strace.exp: Likewise.
4584 * gdb.trace/tfind.exp: Likewise.
4585 * gdb.trace/trace-break.exp: Likewise.
4586 * gdb.trace/trace-condition.exp: Likewise.
4587 * gdb.trace/trace-mt.exp: Likewise.
4588 * gdb.trace/tstatus.exp: Likewise.
4589 * gdb.trace/tsv.exp: Likewise.
4590 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4591 * gdb.trace/unavailable.exp: Likewise.
4592 * gdb.trace/while-dyn.exp: Likewise.
4594 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4596 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4597 that libinproctrace is copied to the target.
4599 2018-03-14 Tom Tromey <tom@tromey.com>
4602 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4604 * gdb.base/wchar.exp: Likewise.
4606 2018-03-14 Tom Tromey <tom@tromey.com>
4609 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4612 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4615 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4616 "target" to remote_exec.
4618 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4621 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4622 ${board}_upload): Remove.
4624 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626 * gdb.cp/watch-cp.cc: New test.
4627 * gdb.cp/watch-cp.exp: New file.
4629 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4631 * gdb.base/infcall-nested-structs.exp: New file.
4632 * gdb.base/infcall-nested-structs.c: New file.
4633 * gdb.base/float.exp: Add riscv support.
4635 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4637 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4638 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4640 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4642 * gdb.server/abspath.exp: New file.
4643 * lib/gdb.exp (with_cwd): New procedure.
4645 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4647 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4649 (gdb_is_target_remote_prompt): New proc.
4650 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4651 (gdb_is_target_native): Pass prompt parameter to
4654 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4656 * gdb.base/load-command.c: New file.
4657 * gdb.base/load-command.exp: New file.
4658 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4659 (gdb_is_target_1): ...this, and generalize for other targets
4661 (gdb_is_target_remote): Use gdb_is_target_1.
4662 (gdb_is_target_native): use gdb_is_target_1.
4664 2018-02-26 Tom Tromey <tom@tromey.com>
4667 * gdb.python/py-framefilter.exp: Update test.
4669 2018-02-26 Tom Tromey <tom@tromey.com>
4671 * gdb.dwarf2/variant.c: New file.
4672 * gdb.dwarf2/variant.exp: New file.
4674 2018-02-26 Tom Tromey <tom@tromey.com>
4676 * gdb.rust/simple.exp: Accept more possible results in enum test.
4678 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4680 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4683 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4685 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4686 name of a variable: $actual_linejj -> $actual_line.
4688 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4690 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4692 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4694 * gdb.btrace/buffer-size.exp: Do not force BTS.
4696 2018-02-14 Pedro Alves <palves@redhat.com>
4698 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4701 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4703 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4706 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4708 * gdb.cp/m-static.exp: Check type of optimized out static
4711 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4713 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4714 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4716 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4717 Leszek Swirski <leszeks@google.com>
4719 * gdb.python/py-prettyprint.c
4720 (struct to_string_returns_value_inner,
4721 struct to_string_returns_value_wrapper): New.
4722 (main): Add tsrvw variable.
4723 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4724 ToStringReturnsValueWrapper): New classes.
4725 (register_pretty_printers): Register new pretty-printers.
4726 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4727 recursive pretty printer.
4728 * gdb.python/py-mi.exp: Likewise.
4730 2018-02-01 Leszek Swirski <leszeks@google.com>
4732 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4733 functions with the same name as an include file are parsed
4736 2018-02-01 Yao Qi <yao.qi@linaro.org>
4738 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4741 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4743 * gdb.arch/powerpc-prologue-frame.s: New file.
4744 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4745 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4747 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4749 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4751 2018-01-30 Pedro Alves <palves@redhat.com>
4754 * gdb.base/interrupt-daemon.c: New.
4755 * gdb.base/interrupt-daemon.exp: New.
4756 * gdb.multi/multi-term-settings.c: New.
4757 * gdb.multi/multi-term-settings.exp: New.
4759 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4761 * gdb.base/break.exp: Save the location where the breakpoint
4762 on break.c:47 was actually inserted when debugging the version
4763 compiled at -O2 and use it in the expected output of the "info
4764 break" test performed soon after.
4766 2018-01-22 Pedro Alves <palves@redhat.com>
4767 Sergio Durigan Junior <sergiodj@redhat.com>
4769 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4770 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4772 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4774 * gdb.base/break-include.c, gdb.base/break-include.inc,
4775 gdb.base/break-include.exp: New files.
4776 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4777 line number now being the actual line number where the breakpoint
4779 * gdb.mi/mi-break.exp: Likewise.
4780 * gdb.mi/mi-reverse.exp: Likewise.
4781 * gdb.mi/mi-simplerun.exp: Ditto.
4783 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4785 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4787 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4789 2018-01-21 Don Breazeal <donb@codesourcery.com>
4790 Andrew Burgess <andrew.burgess@embecosm.com>
4792 * gdb.mi/basics.c: Add new global.
4793 * gdb.mi/mi-frame-regs.exp: New file.
4794 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4797 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4799 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4800 non-parameter, and on an unknown symbol.
4802 2018-01-19 Tom Tromey <tom@tromey.com>
4804 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4805 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4807 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4809 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4810 setrlimit and chdir to int.
4812 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4814 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4816 (my_tend): Likewise.
4817 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4818 rationale of avoiding FP- and vector instructions.
4820 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4822 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4823 "info reg" with "\[ \t\]*".
4824 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4826 * gdb.arch/s390-multiarch.exp: Ditto.
4827 * gdb.base/pc-fp.exp: Ditto.
4828 * gdb.reverse/i386-precsave.exp: Ditto.
4829 * gdb.reverse/i386-reverse.exp: Ditto.
4830 * gdb.reverse/i387-env-reverse.exp: Ditto.
4831 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4833 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4835 * lib/gdb.exp (gdb_compile): Re-enable use of
4836 universal_compile_options for languages other than Rust.
4838 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4840 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4842 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4845 * gdb.base/solib-vanish.exp: New.
4846 * gdb.base/solib-vanish-main.c: New.
4847 * gdb.base/solib-vanish-lib1.c: New.
4848 * gdb.base/solib-vanish-lib2.c: New.
4850 2018-01-17 Yao Qi <yao.qi@linaro.org>
4852 * gdb.compile/compile.exp: Match the address printed for
4853 frame in the output of command "bt".
4855 2018-01-15 Tom Tromey <tom@tromey.com>
4857 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4860 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4862 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4864 (prepare): Return 0 on error, 1 on success.
4866 2018-01-12 Pedro Alves <palves@redhat.com>
4868 * gdb.base/continue-after-aborted-step-over.c: New.
4869 * gdb.base/continue-after-aborted-step-over.exp: New.
4871 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4873 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4874 options when not creating an executable.
4876 2018-01-11 Pedro Alves <palves@redhat.com>
4879 * gdb.server/stop-reply-no-thread.c: New file.
4880 * gdb.server/stop-reply-no-thread.exp: New file.
4882 2018-01-10 Pedro Alves <palves@redhat.com>
4885 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4886 functions too. Test setting breakpoints and printing C functions
4887 with no debug info too.
4888 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4890 2018-01-10 Pedro Alves <palves@redhat.com>
4893 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4896 2018-01-10 Pedro Alves <palves@redhat.com>
4899 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4901 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4903 * gdb.server/unittest.exp: Match the output in non-development
4906 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4908 * gdb.gdb/unittest.exp: Match output in non-development mode.
4910 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4912 * gdb.ada/access_tagged_param.exp: Relax expected output
4913 for value of "ObjL" in "continue" to pck.inspect breakpoint
4916 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4918 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4919 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4921 2018-01-05 Pedro Alves <palves@redhat.com>
4924 * gdb.base/libsegfault.exp: New.
4926 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4929 * gdb.ada/access_tagged_param.exp: New file.
4930 * gdb.ada/access_tagged_param/foo.adb: New file.
4932 2018-01-05 Pedro Alves <palves@redhat.com>
4935 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4936 exercise lower case too, and to exercise both full matching and
4939 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4941 * gdb.ada/rename_subscript_param: New testcase.
4943 2018-01-05 Jerome Guitton <guitton@adacore.com>
4945 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4947 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4949 * gdb.ada/convvar_comp: New testcase.
4951 2018-01-05 Xavier Roirand <roirand@adacore.com>
4953 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4954 (My_Table): New global variable.
4955 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4957 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4960 * gdb.ada/maint_with_ada: New testcase.
4962 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4965 * gdb.ada/bp_c_mixed_case: New testcase.
4967 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4970 * gdb.ada/complete.exp: Add "complete break ada" test.
4972 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4975 * gdb.ada/info_addr_mixed_case: New testcase.
4977 2018-01-03 Xavier Roirand <roirand@adacore.com>
4979 * gdb.ada/excep_handle.exp: New testcase.
4980 * gdb.ada/excep_handle/foo.adb: New file.
4981 * gdb.ada/excep_handle/pck.ads: New file.
4983 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4985 * gdb.base/step-line.c: Add extra empty line in copyright header.
4986 * gdb.base/step-line.inp: Likewise.
4988 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4990 * gdb.ada/dyn_stride.exp: Add slice test.
4992 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4994 * gdb.ada/dyn_stride: New testcase.
4996 2017-12-27 Stafford Horne <shorne@gmail.com>
4998 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4999 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5001 2017-12-27 Stafford Horne <shorne@gmail.com>
5003 * gdb.base/reggroups.c: New file.
5004 * gdb.base/reggroups.exp: New file.
5006 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5008 * gdb.dwarf2/ada-valprint-error.c: New file.
5009 * gdb.dwarf2/ada-valprint-error.exp: New file.
5011 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5013 * gdb.ada/assign_arr: New testcase.
5015 2017-12-18 Xavier Roirand <roirand@adacore.com>
5017 * gdb.ada/funcall_ptr: New testcase.
5019 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5022 * gdb.base/ptype-offsets.cc: New file.
5023 * gdb.base/ptype-offsets.exp: New file.
5025 2017-12-15 Yao Qi <yao.qi@linaro.org>
5027 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5030 2017-12-15 Xavier Roirand <roirand@adacore.com>
5032 * gdb.ada/same_component_name: New testcase.
5034 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5036 * gdb.ada/str_binop_equal: New testcase.
5038 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5040 * gdb.ada/task_switch_in_core: New testcase.
5042 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5044 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5045 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5046 call test_bkpt_qualified.
5047 (test_bkpt_qualified): New proc.
5049 2017-12-13 Pedro Alves <palves@redhat.com>
5051 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5052 Tighten regexp by matching with an anchor.
5054 2017-12-13 Pedro Alves <palves@redhat.com>
5056 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5057 ("expression with namespace"): New set of tests.
5058 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5059 (Nested::Test_NS::qux): New.
5060 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5061 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5063 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5065 * gdb.base/server-del-break.c: New file.
5066 * gdb.base/server-del-break.exp: New file.
5068 2017-12-12 Stafford Horne <shorne@gmail.com>
5070 * gdb.xml/tdesc-regs.exp: Add or1k support.
5072 2017-12-12 Stafford Horne <shorne@gmail.com>
5074 * gdb.base/bp-permanent.c: Define nop of or1k.
5076 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5078 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5079 output with components being reordered.
5081 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5083 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5084 output with components being reordered.
5086 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5087 Pedro Alves <palves@redhat.com>
5089 * gdb.base/maint.exp (check for .gdb_index): Check also for
5091 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5092 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5093 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5094 (.gdb_index used after symbol reloading): Support also .debug_names.
5095 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5097 2017-12-08 Yao Qi <yao.qi@linaro.org>
5099 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5100 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5102 2017-12-08 Yao Qi <yao.qi@linaro.org>
5104 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5105 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5107 2017-12-08 Yao Qi <yao.qi@linaro.org>
5109 * gdb.arch/aarch64-tagged-pointer.c: New file.
5110 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5112 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5114 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5117 2017-12-07 Keith Seitz <keiths@redhat.com>
5119 PR breakpoints/22569
5120 * gdb.linespec/ls-errs.exp: Change expected result of "break
5121 -source this file has spaces.c -line 3".
5122 Check that an explicit source file followed by whitespace is
5123 identified as an invalid explicit location.
5125 2017-12-07 Keith Seitz <keiths@redhat.com>
5127 * gdb.cp/nested-types.cc: New file.
5128 * gdb.cp/nested-types.exp: New file.
5129 * lib/cp-support.exp: Load data-structures.exp library.
5130 (debug_cp_test_ptype_class): New global.
5131 (cp_ptype_class_verbose, next_line): New procedures.
5132 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5133 Add and document new return value.
5134 Switch the list of lines to a queue.
5135 Add support for new `type' key for nested type definitions.
5136 Add debugging/troubleshooting messages.
5137 * lib/data-structures.exp: New file.
5139 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5141 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5142 with proc_with_prefix, don't use with_test_prefix.
5144 2017-12-07 Tom Tromey <tom@tromey.com>
5146 * gdb.base/break.exp: Add test for empty "commands".
5148 2017-12-07 Yao Qi <yao.qi@linaro.org>
5150 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5151 malloc and catch syscall.
5153 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5155 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5156 tests for explicit locations.
5158 2017-12-06 Pedro Alves <palves@redhat.com>
5160 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5161 force-disabling XML descriptions.
5163 2017-12-04 Pedro Alves <palves@redhat.com>
5166 * gdb.arch/amd64-disp-step-avx.S: New file.
5167 * gdb.arch/amd64-disp-step-avx.exp: New file.
5169 2017-12-03 Pedro Alves <palves@redhat.com>
5171 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5173 (parent_function): Print distinct messages when waitpid fails, or
5174 the child exits with a signal, or the child exits for an unhandled
5176 * gdb.threads/process-dies-while-detaching.exp
5177 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5178 it. Wait for both inferior output and GDB's prompt. Use an
5179 indirect spawn id list.
5180 (do_detach): New parameter 'child_exit'. Use it to compute
5181 expected inferior output.
5182 (test_detach, test_detach_watch, test_detach_killed_outside):
5183 Adjust to pass down the expected child exit kind.
5185 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5186 Sergio Durigan Junior <sergiodj@redhat.com>
5187 Pedro Alves <palves@redhat.com>
5189 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5191 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5193 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5194 to 'symbol-file' and 'add-symbol-file' can be
5195 position-independent.
5197 2017-12-01 Yao Qi <yao.qi@linaro.org>
5199 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5200 the URL in copyright header.
5201 * gdb.arch/aarch64-fp.exp: Likewise.
5202 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5203 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5204 * gdb.base/expand-psymtabs.exp: Likewise.
5205 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5206 * gdb.fortran/common-block.exp: Likewise.
5207 * gdb.fortran/common-block.f90: Likewise.
5208 * gdb.fortran/logical.exp: Likewise.
5209 * gdb.fortran/vla-datatypes.f90: Likewise.
5210 * gdb.fortran/vla-sub.f90: Likewise.
5212 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5214 * gdb.ada/repeat_dyn: New testcase.
5216 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5218 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5219 Update for changed thread numbering.
5220 * gdb.cell/bt.exp: Update for changed GDB output.
5222 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5224 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5225 setting isremote by hand.
5226 * boards/dwarf4-gdb-index.exp: Likewise.
5227 * boards/fission.exp: Likewise.
5228 * boards/stabs.exp: Likewise.
5230 2017-11-30 Pedro Alves <palves@redhat.com>
5232 * gdb.linespec/cpls-ops.exp
5233 (check_explicit_skips_function_argument): Extract the underlying
5234 type of size_t instead of hardcoding it.
5236 2017-11-29 Pedro Alves <palves@redhat.com>
5239 * gdb.linespec/cpls-abi-tag.cc: New file.
5240 * gdb.linespec/cpls-abi-tag.exp: New file.
5242 2017-11-29 Pedro Alves <palves@redhat.com>
5244 * gdb.base/langs.exp: Use -qualified.
5245 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5247 * gdb.cp/namespace.exp: Use -qualified.
5248 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5249 (overload-3, template-overload, template-ret-type, const-overload)
5250 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5252 (test_driver): Call them.
5253 * gdb.cp/save-bp-qualified.cc: New.
5254 * gdb.cp/save-bp-qualified.exp: New.
5255 * gdb.linespec/explicit.exp: Test -qualified.
5256 * lib/completion-support.exp (completion::explicit_opts_list): Add
5258 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5260 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5262 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5264 2017-11-29 Tom Tromey <tom@tromey.com>
5266 * gdb.base/relocate.exp: Update invalid argument test.
5267 Add new tests for invalid arguments.
5269 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5271 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5273 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5275 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5277 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5278 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5279 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5281 * gdb.cp/shadow.cc (B.func): Return 0.
5283 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5285 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5286 expected output in gdb_expect call to allow the exception
5287 message to be present as well. Fix syntax confusion to avoid
5288 TCL thinking that exception_name is an array.
5290 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5292 * gdb.arch/spu-info.c: Include <unistd.h>.
5293 (do_signal_test): Fix broken calls to write.
5294 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5295 Fix checks for empty mailboxes. Update signal tests for corrected
5296 do_signal_test routine. Allow nonzero event status.
5297 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5298 * gdb.cell/arch.exp: Use standard_output_file.
5299 * gdb.cell/break.exp: Likewise.
5300 * gdb.cell/bt.exp: Likewise.
5301 * gdb.cell/core.exp: Likewise.
5302 * gdb.cell/dwarfaddr.exp: Likewise.
5303 * gdb.cell/ea-cache.exp: Likewise.
5304 * gdb.cell/ea-standalone.exp: Likewise.
5305 * gdb.cell/f-regs.exp: Likewise.
5306 * gdb.cell/fork.exp: Likewise.
5307 * gdb.cell/gcore.exp: Likewise.
5308 * gdb.cell/mem-access.exp: Likewise.
5309 * gdb.cell/ptype.exp: Likewise.
5310 * gdb.cell/registers.exp: Likewise.
5311 * gdb.cell/sizeof.exp: Likewise.
5312 * gdb.cell/solib-symbol.exp: Likewise.
5313 * gdb.cell/solib.exp: Likewise.
5315 2017-11-25 Pedro Alves <palves@redhat.com>
5317 * gdb.base/complete-empty.exp: New file.
5318 * gdb.base/completion.exp: Adjust.
5320 2017-11-25 Pedro Alves <palves@redhat.com>
5322 * gdb.linespec/cpls-ops.cc: New file.
5323 * gdb.linespec/cpls-ops.exp: New file.
5324 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5325 factored out from ...
5326 (test_complete_prefix_range): ... this.
5328 2017-11-24 Pedro Alves <palves@redhat.com>
5330 * gdb.linespec/cpcompletion.exp: New file.
5331 * gdb.linespec/cpls-hyphen.cc: New file.
5332 * gdb.linespec/cpls.cc: New file.
5333 * gdb.linespec/cpls2.cc: New file.
5334 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5335 test to use test_gdb_complete_unique. Add label completion,
5336 keyword completion and explicit location completion tests.
5337 * lib/completion-support.exp: New file.
5339 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5341 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5342 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5343 when hitting an exception catchpoint.
5345 2017-11-22 Yao Qi <yao.qi@linaro.org>
5347 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5349 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5351 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5352 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5353 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5355 2017-11-22 Yao Qi <yao.qi@linaro.org>
5357 * gdb.base/info-os.exp: Pass pthreads.
5358 * gdb.multi/multi-attach.exp: Likewise.
5360 2017-11-22 Yao Qi <yao.qi@linaro.org>
5362 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5365 2017-11-22 Yao Qi <yao.qi@linaro.org>
5367 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5368 * gdb.base/break-interp.exp: Likewise.
5369 * gdb.base/jit-attach-pie.exp: Likewise.
5371 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5373 * gdb.base/float128.c (large128): New variable.
5374 * gdb.base/float128.exp: Add test to print largest __float128 value.
5376 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5378 * gdb.arch/vsx-regs.exp: Update register content checks.
5380 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5382 * gdb.arch/ppc-longdouble.exp: New file.
5383 * gdb.arch/ppc-longdouble.c: Likewise.
5385 2017-11-21 Pedro Alves <palves@redhat.com>
5387 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5389 2017-11-20 Pedro Alves <palves@redhat.com>
5391 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5392 (long_double_typedef): New typedefs.
5393 Use DEF on double and long double.
5394 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5396 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5397 and 'long_double_ptr_same_size' locals. Use them to decide
5398 whether cast from array/function to float is valid/invalid.
5400 2017-11-17 Tom Tromey <tom@tromey.com>
5402 * gdb.rust/traits.rs: New file.
5403 * gdb.rust/traits.exp: New file.
5405 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5407 * gdb.ada/minsyms: New testcase.
5409 2017-11-16 Pedro Alves <palves@redhat.com>
5411 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5412 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5414 2017-11-16 Pedro Alves <palves@redhat.com>
5416 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5417 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5419 2017-11-16 Pedro Alves <palves@redhat.com>
5421 * gdb.server/reconnect-ctrl-c.c: New file.
5422 * gdb.server/reconnect-ctrl-c.exp: New file.
5424 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5426 * gdb.python/py-rbreak.exp: New file.
5427 * gdb.python/py-rbreak.c: New file.
5428 * gdb.python/py-rbreak-func2.c: New file.
5430 2017-11-16 Pedro Alves <palves@redhat.com>
5432 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5434 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5437 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5439 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5442 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5444 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5447 2017-11-09 Pedro Alves <palves@redhat.com>
5449 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5450 factored out from ...
5451 (top level): ... here, and adjusted to avoid expecting beyond the
5452 prompt in a single gdb_test_multiple.
5454 2017-11-09 Pedro Alves <palves@redhat.com>
5456 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5458 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5459 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5460 * gdb.server/ext-run.exp ("kill" test): Likewise.
5461 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5463 2017-11-09 Pedro Alves <palves@redhat.com>
5465 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5466 match till end of line.
5468 2017-11-09 Pedro Alves <palves@redhat.com>
5470 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5472 2017-11-09 Pedro Alves <palves@redhat.com>
5474 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5475 New procedures, factored out from ...
5476 (top level): ... here, and adjusted to avoid expecting beyond the
5479 2017-11-09 Pedro Alves <palves@redhat.com>
5481 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5482 output. Fix '?' match.
5484 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5486 * gdb.ada/scoped_watch: New testcase.
5487 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5488 which is actually correct.
5489 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5490 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5492 2017-11-08 Pedro Alves <palves@redhat.com>
5494 * gdb.gdb/complaints.exp (test_initial_complaints)
5495 (test_serial_complaints, test_short_complaints): Call
5496 complaint_internal instead of complaint.
5498 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5500 * gdb.threads/tls-core.c: New file.
5501 * gdb.threads/tls-core.exp: Likewise.
5503 2017-11-08 Pedro Alves <palves@redhat.com>
5505 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5506 (p Exported_Capitalized): New test.
5507 (p exported_capitalized): New test.
5509 2017-11-07 Pedro Alves <palves@redhat.com>
5511 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5513 2017-11-07 Pedro Alves <palves@redhat.com>
5515 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5516 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5517 (disable_invalid, disable_inverted, disable_negative): New
5519 ("bad numbers"): New set of tests.
5521 2017-11-07 Pedro Alves <palves@redhat.com>
5523 * gdb.cp/ena-dis-br-range.exp: Add tests.
5525 2017-11-07 Pedro Alves <palves@redhat.com>
5527 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5529 2017-11-07 Xavier Roirand <roirand@adacore.com>
5530 Pedro Alves <palves@redhat.com>
5532 * gdb.base/ena-dis-br.exp: Add reference to
5533 gdb.cp/ena-dis-br-range.exp.
5534 * gdb.cp/ena-dis-br-range.exp: New file.
5535 * gdb.cp/ena-dis-br-range.cc: New file.
5537 2017-11-06 Pedro Alves <palves@redhat.com>
5539 * gdb.base/attach-non-pgrp-leader.c: New.
5540 * gdb.base/attach-non-pgrp-leader.exp: New.
5542 2017-11-06 Pedro Alves <palves@redhat.com>
5544 * configure.ac: No longer check for termio.h and sgtty.h.
5545 * configure: Regenerate.
5546 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5547 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5548 Remove termio and sgtty code.
5550 2017-11-03 Yao Qi <yao.qi@linaro.org>
5552 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5555 2017-11-03 Yao Qi <yao.qi@linaro.org>
5557 * gdb.python/py-thrhandle.exp: Skip it if python is not
5560 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5562 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5563 as a breakpoint command.
5565 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5568 * gdb.python/py-infthread.exp: Test calling
5569 InferiorThread.inferior () multiple times in a row.
5571 2017-10-27 Keith Seitz <keiths@redhat.com>
5573 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5574 Test "info break" for every inlined function breakpoint.
5576 2017-10-27 Yao Qi <yao.qi@linaro.org>
5578 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5580 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5582 * gdb.cp/classes.exp (test_static_members): Test printing
5584 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5585 (Inner::instance, Outer::instance): New.
5587 2017-10-24 Pedro Alves <palves@redhat.com>
5589 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5590 extra console" test in two stages.
5592 2017-10-24 Pedro Alves <palves@redhat.com>
5594 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5596 2017-10-24 Pedro Alves <palves@redhat.com>
5598 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5601 2017-10-24 Pedro Alves <palves@redhat.com>
5603 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5604 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5606 2017-10-24 Pedro Alves <palves@redhat.com>
5608 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5609 parameter and handle it. Don't output read value in test name.
5611 2017-10-24 Pedro Alves <palves@redhat.com>
5613 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5616 2017-10-24 Pedro Alves <palves@redhat.com>
5618 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5619 include the unstable output directory name in the test's name.
5620 (initial_setup_simple) <'set args'>: Use custom test name.
5622 2017-10-24 Pedro Alves <palves@redhat.com>
5624 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5625 with explicit test name.
5627 2017-10-20 Pedro Alves <palves@redhat.com>
5629 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5630 'wait -i'. Use gdb_assert and remote_close.
5632 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5634 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5635 number from variable rather than hard-coded.
5637 2017-10-19 Pedro Alves <palves@redhat.com>
5639 * gdb.base/long-inferior-output.c: New file.
5640 * gdb.base/long-inferior-output.exp: New file.
5642 2017-11-18 Keith Seitz <keiths@redhat.com>
5644 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5647 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5648 Add additional user-defined conversion operator tests.
5650 2017-10-17 Pedro Alves <palves@redhat.com>
5652 * boards/native-stdio-gdbserver.exp: Load "local-board".
5654 2017-10-17 Pedro Alves <palves@redhat.com>
5656 * gdb.base/quit-live.c: New file.
5657 * gdb.base/quit-live.exp: New file.
5659 2017-10-16 Keith Seitz <keiths@redhat.com>
5661 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5662 (class_with_protected_typedef, class_with_private_typedef)
5663 (struct_with_public_typedef, struct_with_protected_typedef)
5664 (struct_with_private_typedef): New classes/structs.
5665 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5666 typedefs and access specifiers.
5668 2017-10-16 Pedro Alves <palves@redhat.com>
5669 Simon Marchi <simon.marchi@polymtl.ca>
5671 * README (Local vs Remote vs Native): New section.
5672 * boards/local-board.exp: New file, with bits factored out from
5674 * boards/native-extended-gdbserver.exp: ... here. Load
5676 * boards/native-gdbserver.exp: Load "local-board".
5677 (${board}_spawn, ${board}_exec): Delete.
5678 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5680 * boards/stdio-gdbserver-base.exp: ... this new file.
5681 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5682 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5684 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5685 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5686 stdio_gdbserver_command.
5687 (${board}_get_remote_address, ${board}_get_comm_port)
5688 (${board}_download, ${board}_upload): Delete.
5689 (get_target_remote_pipe_cmd): New.
5691 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5693 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5694 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5695 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5696 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5697 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5698 remove with_test_prefix.
5700 2017-10-13 Pedro Alves <palves@redhat.com>
5702 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5703 * gdb.base/annota1.exp: Use it instead of is_remote.
5704 * gdb.base/annota3.exp: Use it instead of is_remote.
5705 * gdb.cp/annota2.exp: Use it instead of is_remote.
5706 * gdb.cp/annota3.exp: Use it instead of is_remote.
5707 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5709 2017-10-13 Pedro Alves <palves@redhat.com>
5711 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5712 (test_num_test_vars, run_and_count_vars, find_env)
5713 (test_set_unset_env, test_inherit_env_var): New procedures.
5714 (top level): Use them.
5716 2017-10-13 Pedro Alves <palves@redhat.com>
5718 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5719 also skip on stub-like targets.
5721 2017-10-13 Pedro Alves <palves@redhat.com>
5724 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5725 (top level): Move some tests to ...
5726 (test_not_found): ... this new procedure.
5727 (top level): Call it.
5729 2017-10-13 Pedro Alves <palves@redhat.com>
5731 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5732 expect different "info terminal" output if testing with a
5735 2017-10-13 Pedro Alves <palves@redhat.com>
5736 Simon Marchi <simon.marchi@polymtl.ca>
5739 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5741 2017-10-13 Pedro Alves <palves@redhat.com>
5743 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5746 2017-10-13 Pedro Alves <palves@redhat.com>
5748 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5751 2017-10-13 Pedro Alves <palves@redhat.com>
5753 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5756 2017-10-13 Pedro Alves <palves@redhat.com>
5758 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5760 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5761 instead of is_remote.
5763 2017-10-13 Pedro Alves <palves@redhat.com>
5765 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5766 (top level): Add comment.
5768 2017-10-13 Pedro Alves <palves@redhat.com>
5770 * gdb.base/remote.exp (top level): Fix comment typo and add
5773 2017-10-13 Pedro Alves <palves@redhat.com>
5774 Simon Marchi <simon.marchi@polymtl.ca>
5776 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5777 calls and add comments. Skip test if use_gdb_stub is set.
5778 (top level): Use "set cwd" command instead of "cd" command.
5780 2017-10-13 Pedro Alves <palves@redhat.com>
5782 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5783 is_remote target check.
5785 2017-10-13 Pedro Alves <palves@redhat.com>
5787 * gdb.base/scope.exp: Use build_executable + clean_restart +
5788 gdb_file_cmd instead of prepare_for_testing and no longer skip
5789 "before run" tests on is_remote target boards. Update comments.
5790 * boards/native-extended-gdbserver.exp
5791 (extended_gdbserver_load_last_file): New, factored out from ...
5792 (gdb_load): ... this. Move further below and add comment.
5793 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5795 2017-10-12 Pedro Alves <palves@redhat.com>
5797 * gdb.base/attach.exp: Remove references to gdb64.
5798 * gdb.base/dbx.exp: Remove references to gdb64.
5800 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5801 Pedro Alves <palves@redhat.com>
5803 * gdb.base/label.exp: Remove is_remote target check.
5805 2017-10-12 Pedro Alves <palves@redhat.com>
5807 * gdb.base/auvx.exp (coredir): Update comment.
5808 (top level) <core_works>: Use "set cwd" command instead of "cd"
5811 2017-10-12 Pedro Alves <palves@redhat.com>
5812 Simon Marchi <simon.marchi@polymtl.ca>
5814 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5817 2017-10-12 Pedro Alves <palves@redhat.com>
5818 Simon Marchi <simon.marchi@polymtl.ca>
5820 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5821 Instead skip if there's any gdb_protocol set.
5823 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5824 Pedro Alves <palves@redhat.com>
5826 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5828 2017-10-12 Pedro Alves <palves@redhat.com>
5829 Simon Marchi <simon.marchi@polymtl.ca>
5831 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5832 instead of on dejagnu remote boards.
5834 2017-10-12 Pedro Alves <palves@redhat.com>
5835 Simon Marchi <simon.marchi@polymtl.ca>
5837 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5838 checks. Use build_executable + clean_restart instead of
5839 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5840 of enabling non-stop after starting gdb.
5842 2017-10-12 Pedro Alves <palves@redhat.com>
5844 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5845 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5846 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5847 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5849 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5851 * gdb.arch/arc-tdesc-cpu.exp: New file.
5852 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5854 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5856 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5858 2017-10-10 Pedro Alves <palves@redhat.com>
5860 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5863 2017-10-10 Pedro Alves <palves@redhat.com>
5865 * lib/selftest-support.exp (selftest_setup): Update for
5866 captured_command_loop's prototype change.
5868 2017-10-09 Pedro Alves <palves@redhat.com>
5870 Test both arch1=>arch2 and arch2=>arch1.
5872 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5873 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5875 (append_arch1_options, append_arch2_options, append_arch_options)
5876 (build_executables): New procedures.
5877 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5879 (top level): Add new 'first_arch' testing axis.
5881 2017-10-09 Pedro Alves <palves@redhat.com>
5883 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5885 (thread_start, all_started): New functions.
5886 (main): Spawn new thread and wait until it is scheduled.
5887 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5889 (do_test): Add 'selected_thread' parameter. Run to all_started
5890 instead of main. Explicitly set the breakpoint at main. Switch
5891 to the SELECTED_THREAD thread.
5892 (top level): Test handling the exec event with either the main
5893 thread or the second thread selected.
5895 2017-10-09 Pedro Alves <palves@redhat.com>
5897 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5898 logic. Move STOP marker after the value checks.
5899 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5902 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5904 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5906 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5908 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5909 integer-to-dfp conversion.
5910 * gdb.base/dfp-test.exp: Likewise.
5912 2017-10-04 Pedro Alves <palves@redhat.com>
5914 * gdb.multi/hangout.c: Include <unistd.h>.
5915 (hangout_loop): New function.
5916 (main): Call alarm. Call hangout_loop in a loop.
5917 * gdb.multi/hello.c: Include <unistd.h>.
5918 (hello_loop): New function.
5919 (main): Call alarm. Call hangout_loop in a loop.
5920 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5921 inferior with the other selected.
5923 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5925 * gdb.mi/list-thread-groups-available.exp: New file.
5926 * gdb.mi/list-thread-groups-available.c: New file.
5928 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5930 * gdb.base/set-cwd.exp: Make it available on
5931 native-extended-gdbserver.
5933 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5935 * gdb.base/set-cwd.c: New file.
5936 * gdb.base/set-cwd.exp: Likewise.
5938 2017-10-02 Tom Tromey <tom@tromey.com>
5941 * gdb.rust/simple.rs (main): New variable "fslice".
5942 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5944 2017-10-02 Tom Tromey <tom@tromey.com>
5946 * gdb.rust/simple.exp: Test ptype of a slice.
5948 2017-10-02 Tom Tromey <tom@tromey.com>
5950 * gdb.rust/simple.exp: Test index of slice.
5952 2017-09-27 Tom Tromey <tom@tromey.com>
5954 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5956 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5957 Pedro Alves <palves@redhat.com>
5959 * gdb.base/compare-sections.exp (get value of read-only section): Read
5961 (corrupt read-only section): Likewise and don't set written if patching
5964 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5966 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5969 2017-09-20 Pedro Alves <palves@redhat.com>
5971 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5972 symbol names in gdb's output.
5973 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5975 2017-09-20 Pedro Alves <palves@redhat.com>
5977 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5979 (test_list_ambiguous_symbol): ... this and add a symbol name
5981 (test_list_ambiguous_function): Reimplement on top of
5982 test_list_ambiguous_symbol and also test listing ambiguous
5984 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5985 (ambiguous_fun): ... this.
5986 (ambiguous_var): New.
5987 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5988 (ambiguous_fun): ... this.
5989 (ambiguous_var): New.
5991 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5993 * gdb.base/starti.c: New file.
5994 * gdb.base/starti.exp: New file.
5995 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5997 2017-09-14 Pedro Alves <palves@redhat.com>
5999 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6000 (top level): Use it instead of runto.
6002 2017-09-11 Tom Tromey <tom@tromey.com>
6004 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6006 2017-09-11 Tom Tromey <tom@tromey.com>
6008 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6009 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6011 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6013 * gdb.fortran/printing-types.exp: New file.
6014 * gdb.fortran/printing-types.exp: New file.
6016 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6018 * gdb.fortran/vla-ptype.exp: Fix typos.
6019 * gdb.fortran/vla-value.exp: Same.
6021 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6023 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6024 * gdb.mi/mi-var-child-f.exp: Likewise.
6025 * gdb.mi/mi-vla-fortran.exp: Likewise.
6027 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6028 Christoph Weinmann <christoph.t.weinmann@intel.com>
6029 Bernhard Heckel <bernhard.heckel@intel.com>
6031 * gdb.fortran/ptr-indentation.f90: New file.
6032 * gdb.fortran/ptr-indentation.exp: New file.
6034 2017-09-05 Tom Tromey <tom@tromey.com>
6037 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6039 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6041 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6043 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6045 * gdb.threads/tls-nodebug-pie.c: New file.
6046 * gdb.threads/tls-nodebug-pie.exp: New file.
6048 2017-09-05 Tom Tromey <tom@tromey.com>
6050 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6053 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6055 * gdb.multi/multi-arch-exec.exp: Test with different
6056 "follow-exec-mode" settings.
6057 (do_test): New procedure.
6059 2017-09-04 Pedro Alves <palves@redhat.com>
6061 * gdb.base/func-static.c (S::method const, S::method volatile)
6062 (S::method volatile const): New methods.
6063 (c_s, v_s, cv_s): New instances.
6064 (main): Call method() on them.
6065 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6066 (cannot_resolve): New procedure.
6067 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6068 print-quote-unquoted columns.
6069 (do_test): Test printing each scope too.
6071 2017-09-04 Pedro Alves <palves@redhat.com>
6073 * gdb.base/local-static.exp: Also test with
6074 class::method::variable wholly quoted.
6075 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6077 2017-09-04 Pedro Alves <palves@redhat.com>
6079 * gdb.base/local-static.c: New.
6080 * gdb.base/local-static.cc: New.
6081 * gdb.base/local-static.exp: New.
6083 2017-09-04 Pedro Alves <palves@redhat.com>
6085 * gdb.asm/asm-source.exp: Add casts to int.
6086 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6087 (dataglobal64_1, dataglobal64_2): New globals.
6088 * gdb.base/nodebug.exp: Test different expressions involving the
6089 new globals, with print, whatis and ptype. Add casts to int.
6090 * gdb.base/solib-display.exp: Add casts to int.
6091 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6092 * gdb.cp/m-static.exp: Add cast to int.
6093 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6094 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6095 tls variable with no debug info without a cast. Test with a cast
6097 * gdb.trace/entry-values.exp: Add casts.
6099 2017-09-04 Pedro Alves <palves@redhat.com>
6101 * gdb.base/nodebug.exp: Test that ptype's error about functions
6102 with unknown return type includes the function name too.
6104 2017-09-04 Pedro Alves <palves@redhat.com>
6106 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6107 return type of munmap in infcall.
6108 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6109 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6110 type of ftell in infcall.
6111 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6112 type of getpid in infcall.
6113 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6115 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6116 Bail on failure to extract the pid.
6117 * gdb.base/nodebug.c: #include <stdint.h>.
6118 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6120 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6121 Change expected output of print/whatis/ptype with functions with
6122 no debug info. Test all supported languages. Call
6123 test_call_promotion.
6124 * gdb.compile/compile.exp: Adjust expected output to expect
6126 * gdb.threads/siginfo-threads.exp: Likewise.
6128 2017-09-04 Pedro Alves <palves@redhat.com>
6130 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6131 "prototypes". Test calling float functions via prototyped and
6132 unprototyped function pointers.
6133 (perform_all_tests): New parameter "prototypes". Pass it down.
6134 (top level): Pass down "prototypes" parameter to
6137 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6139 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6140 Test with nested loops.
6142 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6144 * gdb.base/commands.exp: Call the new procedures.
6145 (loop_break_test, loop_continue_test): New procedures.
6147 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6149 * gdb.base/commands.exp: Call new procedure.
6150 (define_if_without_arg_test): New procedure.
6152 2017-09-04 Pedro Alves <palves@redhat.com>
6154 * gdb.base/list-ambiguous.exp: New file.
6155 * gdb.base/list-ambiguous0.c: New file.
6156 * gdb.base/list-ambiguous1.c: New file.
6157 * gdb.base/list.exp (test_list_range): Adjust expected output.
6159 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6161 * gdb.base/share-env-with-gdbserver.c: New file.
6162 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6164 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6166 * gdb.base/commands.exp (gdbvar_simple_if_test,
6167 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6168 progvar_simple_if_test, progvar_simple_while_test,
6169 progvar_complex_if_while_test, user_defined_command_test,
6170 user_defined_command_args_eval,
6171 user_defined_command_args_stack_test,
6172 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6173 temporary_breakpoint_commands,
6174 gdb_test_no_prompt, redefine_hook_test,
6175 redefine_backtrace_test): Remove "global gdb_prompt".
6177 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6179 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6180 New proc, call it from toplevel.
6182 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6185 * gdb.server/normal.c: New file, copied from gdb.base.
6186 * gdb.server/run-without-local-binary.exp: New file.
6188 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6190 * gdb.arch/sparc64-adi.exp: New file.
6191 * gdb.arch/sparc64-adi.c: New file.
6193 2017-08-22 Pedro Alves <palves@redhat.com>
6195 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6196 (top level): Add "list all overloads" tests.
6198 2017-08-22 Tom Tromey <tom@tromey.com>
6200 * gdb.gdb/xfullpath.exp: Remove.
6202 2017-08-21 Pedro Alves <palves@redhat.com>
6205 * gdb.base/symbol-alias.c: New.
6206 * gdb.base/symbol-alias2.c: New.
6207 * gdb.base/symbol-alias.exp: New.
6209 2017-08-21 Pedro Alves <palves@redhat.com>
6211 * gdb.base/dfp-test.c
6212 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6213 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6214 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6215 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6216 * gdb.base/whatis-ptype-typedefs.c: New.
6217 * gdb.base/whatis-ptype-typedefs.exp: New.
6218 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6219 (an_int, an_int_type, an_int_type2): New globals.
6220 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6221 involving typedefs and cast expressions.
6222 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6223 (lookup_typedefs_function): New.
6224 (typedefs_pretty_printers_dict): New.
6225 (top level): Register lookup_typedefs_function in
6226 gdb.pretty_printers.
6228 2017-08-18 Yao Qi <yao.qi@linaro.org>
6230 * gdb.server/unittest.exp: New.
6232 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6235 * gdb.base/environ.exp: Add test to check if 'unset environment'
6238 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6240 * lib/gdb.exp (universal_compile_options): New caching proc.
6241 (gdb_compile): Suppress GCC's coloring of messages.
6243 2017-08-14 Tom Tromey <tom@tromey.com>
6246 * gdb.base/printcmds.exp (test_radices): New function.
6247 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6248 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6249 * lib/gdb.exp (get_integer_valueof): Use p/d.
6251 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6253 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6256 2017-08-05 Tom Tromey <tom@tromey.com>
6258 * gdb.rust/simple.exp: Allow String to appear in a different
6261 2017-07-26 Yao Qi <yao.qi@linaro.org>
6263 * gdb.gdb/unittest.exp: Invoke command
6264 "maintenance check xml-descriptions".
6266 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6268 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6270 (hex128): Drop erroneous calculation of parameters.
6272 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6274 * gdb.python/py-unwind.exp: Disable stack protection when
6277 2017-07-20 Pedro Alves <palves@redhat.com>
6279 * gdb.base/default.exp (set language): Adjust expected output.
6281 2017-07-20 Pedro Alves <palves@redhat.com>
6283 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6284 (test_minsym): ... this, and make static.
6285 (get_pck__foo__bar__minsym): Rename to ...
6286 (get_test_minsym): ... this.
6287 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6288 symbol names and comments.
6289 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6290 (get_test_minsym): ... this.
6291 (pck__foo__bar__minsym__2): Rename to ...
6292 (test_minsym): ... this.
6295 2017-07-17 Pedro Alves <palves@redhat.com>
6297 * gdb.base/completion.exp: Adjust expected output.
6298 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6299 the completer works.
6301 2017-07-17 Pedro Alves <palves@redhat.com>
6303 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6305 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6307 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6309 2017-07-14 Tom Tromey <tom@tromey.com>
6312 * gdb.rust/simple.exp: Add tests.
6314 2017-07-14 Tom Tromey <tom@tromey.com>
6316 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6318 2017-07-14 Pedro Alves <palves@redhat.com>
6320 * gdb.linespec/base/one/thefile.cc (z1): New function.
6321 * gdb.linespec/base/two/thefile.cc (z2): New function.
6322 * gdb.linespec/linespec.exp: Add tests.
6324 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6326 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6327 to mi_create_breakpoint.
6329 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6331 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6332 mi_create_breakpoint.
6334 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6336 * gdb.dlang/demangle.exp: Update for demangling changes.
6338 2017-07-09 Tom Tromey <tom@tromey.com>
6340 * gdb.dwarf2/shortpiece.exp: New file.
6342 2017-07-06 David Blaikie <dblaikie@gmail.com>
6344 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6345 built from fissiont-multi-cu{1,2}.c.
6346 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6347 except putting 'main' and 'func' in separate CUs in the same DWO file.
6348 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6350 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6353 2017-07-06 Pedro Alves <palves@redhat.com>
6355 * gdb.python/py-unwind.exp: Test flushregs.
6357 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6360 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6361 tests for alias commands and trailing whitespace.
6363 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6366 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6369 2017-06-29 Pedro Alves <palves@redhat.com>
6371 * gdb.base/printcmds.exp: Add tests.
6373 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6376 * gdb.base/reread-readsym.exp: New file.
6377 * gdb.base/reread-readsym.c: New file.
6379 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6381 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6384 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6386 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6388 * gdb.arch/powerpc-power9.s: Likewise.
6390 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6392 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6393 on 32-bit x86 targets. Exploit is_*_target macros where
6396 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6398 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6401 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6403 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6404 located in one or more DWARF pieces.
6406 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6408 * lib/gdb.exp (get_endianness): New proc.
6409 * gdb.arch/aarch64-fp.exp: Use it.
6410 * gdb.arch/altivec-regs.exp: Likewise.
6411 * gdb.arch/e500-regs.exp: Likewise.
6412 * gdb.arch/vsx-regs.exp: Likewise.
6413 * gdb.base/dump.exp: Likewise.
6414 * gdb.base/funcargs.exp: Likewise.
6415 * gdb.base/gnu_vector.exp: Likewise.
6416 * gdb.dwarf2/formdata16.exp: Likewise.
6417 * gdb.dwarf2/implptrpiece.exp: Likewise.
6418 * gdb.dwarf2/nonvar-access.exp: Likewise.
6419 * gdb.python/py-inferior.exp: Likewise.
6420 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6422 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6425 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6426 stack value pieces are taken from the LSB end.
6428 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6430 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6431 variable at nonzero offset.
6433 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6435 * gdb.dwarf2/var-access.c: New file.
6436 * gdb.dwarf2/var-access.exp: New test.
6437 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6439 2017-06-12 Tom Tromey <tom@tromey.com>
6441 * gdb.dwarf2/formdata16.exp: Add tests.
6443 2017-06-12 Tom Tromey <tom@tromey.com>
6445 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6447 2017-06-12 Tom Tromey <tom@tromey.com>
6450 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6451 * gdb.arch/vsx-regs.exp: Update tests.
6452 * gdb.arch/s390-vregs.exp (hex128): New proc.
6454 * gdb.arch/altivec-regs.exp: Update tests.
6456 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6458 * gdb.base/startup-with-shell.c: New file.
6459 * gdb.base/startup-with-shell.exp: Likewise.
6461 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6463 * gdb.server/non-existing-program.exp: Update regex in order to
6464 reflect the fact that gdbserver is now using fork_inferior (with a
6465 shell) to startup the inferior.
6467 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6469 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6470 support function calls from GDB.
6472 2017-05-21 Tom Tromey <tom@tromey.com>
6475 * gdb.rust/unsized.exp: New file.
6476 * gdb.rust/unsized.rs: New file.
6478 2017-05-19 Tom Tromey <tom@tromey.com>
6481 * gdb.rust/watch.exp: New file.
6482 * gdb.rust/watch.rs: New file.
6484 2017-05-18 Tom Tromey <tom@tromey.com>
6486 * gdb.rust/simple.exp: Allow Box to be qualified.
6488 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6490 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6492 2017-05-18 Pedro Alves <palves@redhat.com>
6494 * gdb.base/fileio.c (test_write, test_read, test_close)
6495 (test_fstat): Don't print 'ret' in the fail path.
6497 2017-05-18 Pedro Alves <palves@redhat.com>
6499 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6500 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6501 (test_system, test_rename, test_unlink, test_time): Change
6503 * gdb.base/fileio.exp (stop_msg): Adjust.
6505 2017-05-18 Pedro Alves <palves@redhat.com>
6507 * gdb.base/fileio.c (null_str): New global.
6508 (test_stat): Use it.
6509 * gdb.base/fileio.exp: Remove nowarnings.
6511 2017-05-17 Yao Qi <yao.qi@linaro.org>
6513 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6515 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6517 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6519 (top-level): Invoke test_set_inferior_tty.
6521 2017-05-04 Pedro Alves <palves@redhat.com>
6523 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6524 Add parens to print call for Python 3.
6526 2017-05-03 Keith Seitz <keiths@redhat.com>
6528 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6531 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6533 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6536 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6538 * gdb.python/py-record-btrace.exp: Remove test for
6539 gdb.BtraceInstruction.error.
6541 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6543 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6545 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6547 * gdb.python/py-record-btrace-threads.c: New file.
6548 * gdb.python/py-record-btrace-threads.exp: New file.
6550 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6553 * gdb.base/environ.exp: Make test available in all architectures.
6554 Move bits related to "info program" testing to
6555 gdb.base/info-program.exp. Rewrite tests to use the two new
6556 procedures mentione below.
6557 (test_set_show_env_var) New procedure.
6558 (test_set_show_env_var_equal): Likewise.
6559 * gdb.base/info-program.exp: New file.
6561 2017-04-27 Keith Seitz <keiths@redhat.com>
6563 * gdb.cp/oranking.cc (test15): New function.
6564 (main): Call test15 and declare additional variables for testing.
6565 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6566 "p foo101('abc')" tests.
6567 Add tests for cv qualifier overloads.
6568 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6569 "lvalue reference overload" test.
6570 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6571 "print value of f1 on Child&& in f2" test.
6573 2017-04-19 Pedro Alves <palves@redhat.com>
6575 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6577 (top level): Call it.
6578 * lib/gdb.exp (gdb_define_cmd): New procedure.
6580 2017-04-12 Pedro Alves <palves@redhat.com>
6583 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6584 (wchar): New global.
6585 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6586 (do_test_wide_char, wide_char_types_no_program, top level): Add
6589 2017-04-12 Pedro Alves <palves@redhat.com>
6592 * gdb.cp/wide_char_types.c: New file.
6593 * gdb.cp/wide_char_types.exp: New file.
6595 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6598 * gdb.trace/tsv.exp: Add test for "tsave -r".
6600 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6602 * gdb.dlang/watch-loc.c: New file.
6603 * gdb.dlang/watch-loc.exp: New file.
6605 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6607 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6609 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6611 * gdb.arch/arc-analyze-prologue.S: New file.
6612 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6614 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6616 * gdb.arch/arc-decode-insn.S: New file.
6617 * gdb.arch/arc-decode-insn.exp: Likewise.
6619 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6622 * gdb.arch/sparc64-regs.exp: New file.
6623 * gdb.arch/sparc64-regs.S: Likewise.
6625 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6627 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6628 and memory view on Python 3.
6630 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6631 Keith Seitz <keiths@redhat.com>
6634 * gdb.cp/demangle.exp: Add rvalue reference tests.
6635 * gdb.cp/rvalue-ref-casts.cc: New file.
6636 * gdb.cp/rvalue-ref-casts.exp: New file.
6637 * gdb.cp/rvalue-ref-overload.cc: New file.
6638 * gdb.cp/rvalue-ref-overload.exp: New file.
6639 * gdb.cp/rvalue-ref-params.cc: New file.
6640 * gdb.cp/rvalue-ref-params.exp: New file.
6641 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6642 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6643 * gdb.cp/rvalue-ref-types.cc: New file.
6644 * gdb.cp/rvalue-ref-types.exp: New file.
6645 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6646 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6648 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6650 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6653 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6655 * lib/mi-support.exp (mi_gdb_test): Add additional message
6656 for unexpected output.
6658 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6660 * gdb.base/examine-backward.c (Barrier): New character array
6661 constant, to ensure that TestStrings is preceded by a string
6664 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6666 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6667 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6668 and implicit pointer into such a location.
6670 2017-03-16 Doug Evans <dje@google.com>
6672 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6674 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6676 * gdb.cp/m-static.exp: Fix expectation for prototype of
6677 test5.single_constructor and single_constructor::single_constructor.
6679 2017-03-16 Doug Evans <dje@google.com>
6681 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6682 * gdb.guile/scm-lazy-string.c: New file.
6683 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6684 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6685 for pointer, array, typedef lazy strings.
6687 2017-03-16 Doug Evans <dje@google.com>
6689 PR python/17728, python/18439, python/18779
6690 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6691 * gdb.python/py-lazy-string.c (pointer): New typedef.
6692 (main): New locals ptr, array, typedef_ptr.
6693 * gdb.python/py-value.exp: Move lazy string tests to ...
6694 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6695 array, typedef lazy strings.
6697 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6699 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6700 Add optional 'test' parameter.
6702 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6704 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6705 Skip for versions of DejaGnu < 1.5.
6707 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6709 * lib/gdb.exp (dejagnu_version): New proc.
6710 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6711 Use dejagnu_version.
6713 2017-03-10 Keith Seitz <keiths@redhat.com>
6716 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6717 type from destructor regexps.
6718 Add a branch which actually passes the test.
6719 Adjust "ptype t5i" test names.
6721 2017-03-08 Pedro Alves <palves@redhat.com>
6723 * gdb.base/step-over-exit.exp: Add explicit test message.
6725 2017-03-08 Pedro Alves <palves@redhat.com>
6728 * gdb.threads/interrupt-while-step-over.c: New file.
6729 * gdb.threads/interrupt-while-step-over.exp: New file.
6731 2017-03-08 Pedro Alves <palves@redhat.com>
6733 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6734 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6736 2017-03-08 Pedro Alves <palves@redhat.com>
6738 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6739 PKRU as not supported as a PASS.
6741 2017-03-08 Pedro Alves <palves@redhat.com>
6743 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6744 prefix instead of $binfile1/$binfile2.
6745 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6747 * gdb.python/py-completion.exp: Use "load python file" as test
6748 messages instead of unstable path names.
6750 2017-03-08 Pedro Alves <palves@redhat.com>
6751 Jan Kratochvil <jan.kratochvil@redhat.com>
6754 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6756 (top level): Call it.
6758 2017-03-08 Pedro Alves <palves@redhat.com>
6761 * gdb.tui/tui-nl-filtered-output.exp: New file.
6763 2017-03-08 Pedro Alves <palves@redhat.com>
6765 * gdb.base/completion.exp: Move TUI completion tests to ...
6766 * gdb.tui/completion.exp: ... this new file.
6768 2017-03-08 Pedro Alves <palves@redhat.com>
6770 * gdb.base/tui-disasm-long-lines.c,
6771 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6772 gdb.base/tui-layout.exp: Move to ...
6773 * gdb.tui/: ... this new directory.
6775 2017-03-07 Pedro Alves <palves@redhat.com>
6777 * gdb.base/tui-layout.c: New file.
6778 * gdb.base/tui-layout.exp: New file.
6780 2017-03-07 Pedro Alves <palves@redhat.com>
6782 * gdb.base/tui-layout.c: Rename to ...
6783 * gdb.base/tui-disasm-long-lines.c: ... this.
6784 * gdb.base/tui-layout.exp: Rename to ...
6785 * gdb.base/tui-disasm-long-lines.exp: ... this.
6787 2017-03-07 Pedro Alves <palves@redhat.com>
6789 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6791 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6793 * i386-mpx-call.c: New file.
6794 * i386-mpx-call.exp: New file.
6796 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6798 * gdb.arch/powerpc-power.exp: Delete test.
6799 * gdb.arch/powerpc-power.s: Likewise.
6800 * gdb.disasm/disassembler-options.exp: New test.
6801 * gdb.arch/powerpc-altivec.exp: Likewise.
6802 * gdb.arch/powerpc-altivec.s: Likewise.
6803 * gdb.arch/powerpc-altivec2.exp: Likewise.
6804 * gdb.arch/powerpc-altivec2.s: Likewise.
6805 * gdb.arch/powerpc-altivec3.exp: Likewise.
6806 * gdb.arch/powerpc-altivec3.s: Likewise.
6807 * gdb.arch/powerpc-power7.exp: Likewise.
6808 * gdb.arch/powerpc-power7.s: Likewise.
6809 * gdb.arch/powerpc-power8.exp: Likewise.
6810 * gdb.arch/powerpc-power8.s: Likewise.
6811 * gdb.arch/powerpc-power9.exp: Likewise.
6812 * gdb.arch/powerpc-power9.s: Likewise.
6813 * gdb.arch/powerpc-vsx.exp: Likewise.
6814 * gdb.arch/powerpc-vsx.s: Likewise.
6815 * gdb.arch/powerpc-vsx2.exp: Likewise.
6816 * gdb.arch/powerpc-vsx2.s: Likewise.
6817 * gdb.arch/powerpc-vsx3.exp: Likewise.
6818 * gdb.arch/powerpc-vsx3.s: Likewise.
6819 * gdb.arch/arm-disassembler-options.exp: Likewise.
6820 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6821 * gdb.arch/s390-disassembler-options.exp: Likewise.
6823 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6825 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6826 (check_supported_features): ... this. Changed return type to void.
6827 (supports_rdseed): New static global.
6828 (rdseed): Check supports_rdseed.
6829 (initialize): Call check_supported_features.
6831 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6833 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6834 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6836 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6837 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6839 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6841 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6844 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6846 * gdb.dwarf2/formdata16.c: New file.
6847 * gdb.dwarf2/formdata16.exp: New file.
6848 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6850 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6852 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6853 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6854 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6855 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6858 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6860 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6862 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6865 * gdb.base/maint.exp: Add testcases for when the commands do
6868 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6870 * gdb.cp/chained-calls.exp: Use p instead of P.
6872 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6874 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6875 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6877 2017-02-14 Tom Tromey <tom@tromey.com>
6880 * gdb.python/py-events.exp: Add before_prompt event tests.
6882 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6884 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6886 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6888 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6889 (main): Call my_unique_function_name.
6890 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6891 completion of patterns with a single match.
6892 Add missing -re switches to gdb_test_multiple calls.
6894 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6896 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6897 return if core file is not recognized.
6899 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6901 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6904 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6906 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6909 2017-02-10 Tom Tromey <tom@tromey.com>
6911 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6913 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6916 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6918 2017-02-08 Jerome Guitton <guitton@adacore.com>
6920 * gdb.base/define.exp: Add test for command abbreviations
6923 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6925 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6926 * gdb.reverse/insn-reverse-x86.c: New file.
6928 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6931 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6933 2017-02-03 Tom Tromey <tom@tromey.com>
6936 * gdb.rust/simple.exp: Add new tests.
6938 2017-02-02 Pedro Alves <palves@redhat.com>
6940 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6943 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6945 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6946 taking a 2-byte value out of a 4-byte DWARF implicit value on
6948 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6949 logic. Add test cases for DW_OP_implicit.
6951 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6953 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6955 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6957 * gdb.btrace/enable.exp: Call gdb_exit before
6958 skip_gdbserver_tests.
6960 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6962 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6965 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6967 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6968 the test is skipped.
6969 * gdb.btrace/data.exp: Likewise.
6970 * gdb.btrace/delta.exp: Likewise.
6971 * gdb.btrace/dlopen.exp: Likewise.
6972 * gdb.btrace/enable-running.exp: Likewise.
6973 * gdb.btrace/enable.exp: Likewise.
6974 * gdb.btrace/exception.exp: Likewise.
6975 * gdb.btrace/function_call_history.exp: Likewise.
6976 * gdb.btrace/gcore.exp: Likewise.
6977 * gdb.btrace/instruction_history.exp: Likewise.
6978 * gdb.btrace/multi-thread-step.exp: Likewise.
6979 * gdb.btrace/nohist.exp: Likewise.
6980 * gdb.btrace/non-stop.exp: Likewise.
6981 * gdb.btrace/reconnect.exp: Likewise.
6982 * gdb.btrace/record_goto-step.exp: Likewise.
6983 * gdb.btrace/record_goto.exp: Likewise.
6984 * gdb.btrace/rn-dl-bind.exp: Likewise.
6985 * gdb.btrace/segv.exp: Likewise.
6986 * gdb.btrace/step.exp: Likewise.
6987 * gdb.btrace/stepi.exp: Likewise.
6988 * gdb.btrace/tailcall-only.exp: Likewise.
6989 * gdb.btrace/tailcall.exp: Likewise.
6990 * gdb.btrace/tsx.exp: Likewise.
6991 * gdb.btrace/unknown_functions.exp: Likewise.
6992 * gdb.btrace/vdso.exp: Likewise.
6994 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6996 * gdb.btrace/enable-running.c: New.
6997 * gdb.btrace/enable-running.exp: New.
6999 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7001 * gdb.arch/amd64-gs_base.c: New file.
7002 * gdb.arch/amd64-gs_base.exp: New file.
7004 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7006 * lib/memory.exp: Remove spurious empty newlines.
7008 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7010 * gdb.python/py-bad-printers.exp: Load python file using "source".
7011 * gdb.python/py-events.exp: Likewise.
7012 * gdb.python/py-evsignal.exp: Likewise.
7013 * gdb.python/py-evthreads.exp: Likewise.
7014 * gdb.python/py-frame-args.exp: Likewise.
7015 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7016 * gdb.python/py-framefilter-mi.exp: Likewise.
7017 * gdb.python/py-framefilter.exp: Likewise.
7018 * gdb.python/py-mi.exp: Likewise.
7019 * gdb.python/py-pp-maint.exp: Likewise.
7020 * gdb.python/py-pp-registration.exp: Likewise.
7021 * gdb.python/py-prettyprint.exp: Likewise.
7022 (run_lang_tests): Likewise.
7023 * gdb.python/py-typeprint.exp: Likewise.
7025 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7027 * lib/memory.exp: New file.
7028 * lib/gdb.exp: Load memory.exp.
7029 * gdb.base/memattr.exp (delete_memory): Move proc to
7030 lib/memory.exp and rename to delete_memory_regions.
7031 Replace delete_memory with delete_memory_regions.
7032 Cleanup memory regions before tests.
7033 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7036 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7038 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7040 (initialize): New function conditionally defined.
7041 (testcases): Move within conditional block.
7042 (main): Call initialize.
7043 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7044 of gdb.reverse/insn-reverse.c.
7045 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7046 gdb.reverse/insn-reverse.c.
7048 2017-01-26 Yao Qi <yao.qi@linaro.org>
7050 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7051 disassemble on address 0.
7053 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7054 Yao Qi <yao.qi@linaro.org>
7056 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7057 * gdb.dwarf2/implptr-64bit.S: Remove.
7058 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7059 variables in caller's context. Add DW_OP_implicit_value.
7061 2017-01-25 Yao Qi <yao.qi@linaro.org>
7063 * lib/dwarf.exp (Dwarf::_location): Handle
7064 DW_OP_GNU_implicit_pointer with proper size.
7066 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7068 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7069 and add untested calls.
7071 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7073 * gdb.python/python.exp: Check line number against what GDB thinks
7074 the line number is for func1.
7076 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7078 * gdb.dlang/debug-expr.exp: New file.
7080 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7082 Fix test names for the following files:
7084 * gdb.ada/exec_changed.exp
7085 * gdb.ada/info_types.exp
7086 * gdb.arch/aarch64-atomic-inst.exp
7087 * gdb.arch/aarch64-fp.exp
7088 * gdb.arch/altivec-abi.exp
7089 * gdb.arch/altivec-regs.exp
7090 * gdb.arch/amd64-byte.exp
7091 * gdb.arch/amd64-disp-step.exp
7092 * gdb.arch/amd64-dword.exp
7093 * gdb.arch/amd64-entry-value-inline.exp
7094 * gdb.arch/amd64-entry-value-param.exp
7095 * gdb.arch/amd64-entry-value-paramref.exp
7096 * gdb.arch/amd64-entry-value.exp
7097 * gdb.arch/amd64-i386-address.exp
7098 * gdb.arch/amd64-invalid-stack-middle.exp
7099 * gdb.arch/amd64-invalid-stack-top.exp
7100 * gdb.arch/amd64-optimout-repeat.exp
7101 * gdb.arch/amd64-prologue-skip.exp
7102 * gdb.arch/amd64-prologue-xmm.exp
7103 * gdb.arch/amd64-stap-special-operands.exp
7104 * gdb.arch/amd64-stap-wrong-subexp.exp
7105 * gdb.arch/amd64-tailcall-cxx.exp
7106 * gdb.arch/amd64-tailcall-noret.exp
7107 * gdb.arch/amd64-tailcall-ret.exp
7108 * gdb.arch/amd64-tailcall-self.exp
7109 * gdb.arch/amd64-word.exp
7110 * gdb.arch/arm-bl-branch-dest.exp
7111 * gdb.arch/arm-disp-step.exp
7112 * gdb.arch/arm-neon.exp
7113 * gdb.arch/arm-single-step-kernel-helper.exp
7114 * gdb.arch/avr-flash-qualifier.exp
7115 * gdb.arch/disp-step-insn-reloc.exp
7116 * gdb.arch/e500-abi.exp
7117 * gdb.arch/e500-regs.exp
7118 * gdb.arch/ftrace-insn-reloc.exp
7119 * gdb.arch/i386-avx512.exp
7120 * gdb.arch/i386-bp_permanent.exp
7121 * gdb.arch/i386-byte.exp
7122 * gdb.arch/i386-cfi-notcurrent.exp
7123 * gdb.arch/i386-disp-step.exp
7124 * gdb.arch/i386-dr3-watch.exp
7125 * gdb.arch/i386-float.exp
7126 * gdb.arch/i386-gnu-cfi.exp
7127 * gdb.arch/i386-mpx-map.exp
7128 * gdb.arch/i386-mpx-sigsegv.exp
7129 * gdb.arch/i386-mpx-simple_segv.exp
7130 * gdb.arch/i386-mpx.exp
7131 * gdb.arch/i386-permbkpt.exp
7132 * gdb.arch/i386-prologue.exp
7133 * gdb.arch/i386-signal.exp
7134 * gdb.arch/i386-size-overlap.exp
7135 * gdb.arch/i386-unwind.exp
7136 * gdb.arch/i386-word.exp
7137 * gdb.arch/mips-fcr.exp
7138 * gdb.arch/powerpc-d128-regs.exp
7139 * gdb.arch/powerpc-stackless.exp
7140 * gdb.arch/ppc64-atomic-inst.exp
7141 * gdb.arch/s390-stackless.exp
7142 * gdb.arch/s390-tdbregs.exp
7143 * gdb.arch/s390-vregs.exp
7144 * gdb.arch/sparc-sysstep.exp
7145 * gdb.arch/thumb-bx-pc.exp
7146 * gdb.arch/thumb-singlestep.exp
7147 * gdb.arch/thumb2-it.exp
7148 * gdb.arch/vsx-regs.exp
7149 * gdb.asm/asm-source.exp
7150 * gdb.base/a2-run.exp
7151 * gdb.base/advance.exp
7152 * gdb.base/all-bin.exp
7155 * gdb.base/arithmet.exp
7156 * gdb.base/async-shell.exp
7157 * gdb.base/async.exp
7158 * gdb.base/attach-pie-noexec.exp
7159 * gdb.base/attach-twice.exp
7160 * gdb.base/auto-load.exp
7162 * gdb.base/bitfields.exp
7163 * gdb.base/break-always.exp
7164 * gdb.base/break-caller-line.exp
7165 * gdb.base/break-entry.exp
7166 * gdb.base/break-inline.exp
7167 * gdb.base/break-on-linker-gcd-function.exp
7168 * gdb.base/break-probes.exp
7169 * gdb.base/break.exp
7170 * gdb.base/breakpoint-shadow.exp
7171 * gdb.base/call-ar-st.exp
7172 * gdb.base/call-sc.exp
7173 * gdb.base/call-signal-resume.exp
7174 * gdb.base/call-strs.exp
7175 * gdb.base/callfuncs.exp
7176 * gdb.base/catch-fork-static.exp
7177 * gdb.base/catch-gdb-caused-signals.exp
7178 * gdb.base/catch-load.exp
7179 * gdb.base/catch-signal-fork.exp
7180 * gdb.base/catch-signal.exp
7181 * gdb.base/catch-syscall.exp
7182 * gdb.base/charset.exp
7183 * gdb.base/checkpoint.exp
7184 * gdb.base/chng-syms.exp
7185 * gdb.base/code-expr.exp
7186 * gdb.base/code_elim.exp
7187 * gdb.base/commands.exp
7188 * gdb.base/completion.exp
7189 * gdb.base/complex.exp
7190 * gdb.base/cond-expr.exp
7191 * gdb.base/condbreak.exp
7192 * gdb.base/consecutive.exp
7193 * gdb.base/continue-all-already-running.exp
7194 * gdb.base/coredump-filter.exp
7195 * gdb.base/corefile.exp
7197 * gdb.base/debug-expr.exp
7198 * gdb.base/define.exp
7200 * gdb.base/disabled-location.exp
7201 * gdb.base/disasm-end-cu.exp
7202 * gdb.base/disasm-optim.exp
7203 * gdb.base/display.exp
7204 * gdb.base/duplicate-bp.exp
7205 * gdb.base/ena-dis-br.exp
7206 * gdb.base/ending-run.exp
7207 * gdb.base/enumval.exp
7208 * gdb.base/environ.exp
7209 * gdb.base/eu-strip-infcall.exp
7210 * gdb.base/eval-avoid-side-effects.exp
7211 * gdb.base/eval-skip.exp
7212 * gdb.base/exitsignal.exp
7213 * gdb.base/expand-psymtabs.exp
7214 * gdb.base/filesym.exp
7215 * gdb.base/find-unmapped.exp
7216 * gdb.base/finish.exp
7217 * gdb.base/float.exp
7218 * gdb.base/foll-exec-mode.exp
7219 * gdb.base/foll-exec.exp
7220 * gdb.base/foll-fork.exp
7221 * gdb.base/fortran-sym-case.exp
7222 * gdb.base/freebpcmd.exp
7223 * gdb.base/func-ptr.exp
7224 * gdb.base/func-ptrs.exp
7225 * gdb.base/funcargs.exp
7226 * gdb.base/gcore-buffer-overflow.exp
7227 * gdb.base/gcore-relro-pie.exp
7228 * gdb.base/gcore-relro.exp
7229 * gdb.base/gcore.exp
7230 * gdb.base/gdb1090.exp
7231 * gdb.base/gdb11530.exp
7232 * gdb.base/gdb11531.exp
7233 * gdb.base/gdb1821.exp
7234 * gdb.base/gdbindex-stabs.exp
7235 * gdb.base/gdbvars.exp
7236 * gdb.base/hbreak.exp
7237 * gdb.base/hbreak2.exp
7238 * gdb.base/included.exp
7239 * gdb.base/infcall-input.exp
7240 * gdb.base/inferior-died.exp
7241 * gdb.base/infnan.exp
7242 * gdb.base/info-macros.exp
7243 * gdb.base/info-os.exp
7244 * gdb.base/info-proc.exp
7245 * gdb.base/info-shared.exp
7246 * gdb.base/info-target.exp
7247 * gdb.base/infoline.exp
7248 * gdb.base/interp.exp
7249 * gdb.base/interrupt.exp
7250 * gdb.base/jit-reader.exp
7251 * gdb.base/jit-simple.exp
7252 * gdb.base/kill-after-signal.exp
7253 * gdb.base/kill-detach-inferiors-cmd.exp
7254 * gdb.base/label.exp
7255 * gdb.base/langs.exp
7256 * gdb.base/ldbl_e308.exp
7257 * gdb.base/line-symtabs.exp
7258 * gdb.base/linespecs.exp
7260 * gdb.base/long_long.exp
7261 * gdb.base/longest-types.exp
7262 * gdb.base/maint.exp
7263 * gdb.base/max-value-size.exp
7264 * gdb.base/memattr.exp
7265 * gdb.base/mips_pro.exp
7266 * gdb.base/morestack.exp
7267 * gdb.base/moribund-step.exp
7268 * gdb.base/multi-forks.exp
7269 * gdb.base/nested-addr.exp
7270 * gdb.base/nextoverexit.exp
7271 * gdb.base/noreturn-finish.exp
7272 * gdb.base/noreturn-return.exp
7273 * gdb.base/nostdlib.exp
7274 * gdb.base/offsets.exp
7275 * gdb.base/opaque.exp
7276 * gdb.base/pc-fp.exp
7277 * gdb.base/permissions.exp
7278 * gdb.base/print-symbol-loading.exp
7279 * gdb.base/prologue-include.exp
7280 * gdb.base/psymtab.exp
7281 * gdb.base/ptype.exp
7282 * gdb.base/random-signal.exp
7283 * gdb.base/randomize.exp
7284 * gdb.base/range-stepping.exp
7285 * gdb.base/readline-ask.exp
7286 * gdb.base/recpar.exp
7287 * gdb.base/recurse.exp
7288 * gdb.base/relational.exp
7289 * gdb.base/restore.exp
7290 * gdb.base/return-nodebug.exp
7291 * gdb.base/return.exp
7292 * gdb.base/run-after-attach.exp
7293 * gdb.base/save-bp.exp
7294 * gdb.base/scope.exp
7295 * gdb.base/sect-cmd.exp
7296 * gdb.base/set-lang-auto.exp
7297 * gdb.base/set-noassign.exp
7298 * gdb.base/setvar.exp
7299 * gdb.base/sigall.exp
7300 * gdb.base/sigbpt.exp
7301 * gdb.base/siginfo-addr.exp
7302 * gdb.base/siginfo-infcall.exp
7303 * gdb.base/siginfo-obj.exp
7304 * gdb.base/siginfo.exp
7305 * gdb.base/signals-state-child.exp
7306 * gdb.base/signest.exp
7307 * gdb.base/sigstep.exp
7308 * gdb.base/sizeof.exp
7310 * gdb.base/solib-corrupted.exp
7311 * gdb.base/solib-nodir.exp
7312 * gdb.base/solib-search.exp
7313 * gdb.base/stack-checking.exp
7314 * gdb.base/stale-infcall.exp
7315 * gdb.base/stap-probe.exp
7316 * gdb.base/start.exp
7317 * gdb.base/step-break.exp
7318 * gdb.base/step-bt.exp
7319 * gdb.base/step-line.exp
7320 * gdb.base/step-over-exit.exp
7321 * gdb.base/step-over-syscall.exp
7322 * gdb.base/step-resume-infcall.exp
7323 * gdb.base/step-test.exp
7324 * gdb.base/store.exp
7325 * gdb.base/structs3.exp
7326 * gdb.base/sym-file.exp
7327 * gdb.base/symbol-without-target_section.exp
7329 * gdb.base/testenv.exp
7330 * gdb.base/ui-redirect.exp
7331 * gdb.base/until.exp
7332 * gdb.base/unwindonsignal.exp
7333 * gdb.base/value-double-free.exp
7334 * gdb.base/vla-datatypes.exp
7335 * gdb.base/vla-ptr.exp
7336 * gdb.base/vla-sideeffect.exp
7337 * gdb.base/volatile.exp
7338 * gdb.base/watch-cond-infcall.exp
7339 * gdb.base/watch-cond.exp
7340 * gdb.base/watch-non-mem.exp
7341 * gdb.base/watch-read.exp
7342 * gdb.base/watch-vfork.exp
7343 * gdb.base/watchpoint-cond-gone.exp
7344 * gdb.base/watchpoint-delete.exp
7345 * gdb.base/watchpoint-hw-hit-once.exp
7346 * gdb.base/watchpoint-hw.exp
7347 * gdb.base/watchpoint-stops-at-right-insn.exp
7348 * gdb.base/watchpoints.exp
7349 * gdb.base/wchar.exp
7350 * gdb.base/whatis-exp.exp
7351 * gdb.btrace/buffer-size.exp
7352 * gdb.btrace/data.exp
7353 * gdb.btrace/delta.exp
7354 * gdb.btrace/dlopen.exp
7355 * gdb.btrace/enable.exp
7356 * gdb.btrace/exception.exp
7357 * gdb.btrace/function_call_history.exp
7358 * gdb.btrace/gcore.exp
7359 * gdb.btrace/instruction_history.exp
7360 * gdb.btrace/nohist.exp
7361 * gdb.btrace/reconnect.exp
7362 * gdb.btrace/record_goto-step.exp
7363 * gdb.btrace/record_goto.exp
7364 * gdb.btrace/rn-dl-bind.exp
7365 * gdb.btrace/segv.exp
7366 * gdb.btrace/step.exp
7367 * gdb.btrace/stepi.exp
7368 * gdb.btrace/tailcall-only.exp
7369 * gdb.btrace/tailcall.exp
7370 * gdb.btrace/tsx.exp
7371 * gdb.btrace/unknown_functions.exp
7372 * gdb.btrace/vdso.exp
7373 * gdb.compile/compile-ifunc.exp
7374 * gdb.compile/compile-ops.exp
7375 * gdb.compile/compile-print.exp
7376 * gdb.compile/compile-setjmp.exp
7377 * gdb.cp/abstract-origin.exp
7378 * gdb.cp/ambiguous.exp
7379 * gdb.cp/annota2.exp
7380 * gdb.cp/annota3.exp
7381 * gdb.cp/anon-ns.exp
7382 * gdb.cp/anon-struct.exp
7383 * gdb.cp/anon-union.exp
7384 * gdb.cp/arg-reference.exp
7385 * gdb.cp/baseenum.exp
7387 * gdb.cp/breakpoint.exp
7388 * gdb.cp/bs15503.exp
7391 * gdb.cp/chained-calls.exp
7393 * gdb.cp/classes.exp
7394 * gdb.cp/cmpd-minsyms.exp
7395 * gdb.cp/converts.exp
7396 * gdb.cp/cp-relocate.exp
7397 * gdb.cp/cpcompletion.exp
7398 * gdb.cp/cpexprs.exp
7399 * gdb.cp/cplabel.exp
7400 * gdb.cp/cplusfuncs.exp
7401 * gdb.cp/cpsizeof.exp
7403 * gdb.cp/derivation.exp
7404 * gdb.cp/destrprint.exp
7405 * gdb.cp/dispcxx.exp
7406 * gdb.cp/enum-class.exp
7407 * gdb.cp/exception.exp
7408 * gdb.cp/exceptprint.exp
7409 * gdb.cp/expand-psymtabs-cxx.exp
7410 * gdb.cp/expand-sals.exp
7411 * gdb.cp/extern-c.exp
7412 * gdb.cp/filename.exp
7413 * gdb.cp/formatted-ref.exp
7414 * gdb.cp/fpointer.exp
7415 * gdb.cp/gdb1355.exp
7416 * gdb.cp/gdb2495.exp
7418 * gdb.cp/impl-this.exp
7419 * gdb.cp/infcall-dlopen.exp
7420 * gdb.cp/inherit.exp
7421 * gdb.cp/iostream.exp
7425 * gdb.cp/m-static.exp
7426 * gdb.cp/mb-ctor.exp
7427 * gdb.cp/mb-inline.exp
7428 * gdb.cp/mb-templates.exp
7429 * gdb.cp/member-name.exp
7430 * gdb.cp/member-ptr.exp
7431 * gdb.cp/meth-typedefs.exp
7433 * gdb.cp/method2.exp
7434 * gdb.cp/minsym-fallback.exp
7436 * gdb.cp/namelessclass.exp
7437 * gdb.cp/namespace-enum.exp
7438 * gdb.cp/namespace-nested-import.exp
7439 * gdb.cp/namespace.exp
7440 * gdb.cp/nextoverthrow.exp
7441 * gdb.cp/no-dmgl-verbose.exp
7442 * gdb.cp/non-trivial-retval.exp
7443 * gdb.cp/noparam.exp
7445 * gdb.cp/nsimport.exp
7446 * gdb.cp/nsnested.exp
7447 * gdb.cp/nsnoimports.exp
7448 * gdb.cp/nsrecurs.exp
7449 * gdb.cp/nsstress.exp
7450 * gdb.cp/nsusing.exp
7451 * gdb.cp/operator.exp
7452 * gdb.cp/oranking.exp
7453 * gdb.cp/overload-const.exp
7454 * gdb.cp/overload.exp
7455 * gdb.cp/ovldbreak.exp
7457 * gdb.cp/paren-type.exp
7458 * gdb.cp/parse-lang.exp
7459 * gdb.cp/pass-by-ref.exp
7460 * gdb.cp/pr-1023.exp
7461 * gdb.cp/pr-1210.exp
7463 * gdb.cp/pr10687.exp
7464 * gdb.cp/pr12028.exp
7465 * gdb.cp/pr17132.exp
7466 * gdb.cp/pr17494.exp
7470 * gdb.cp/printmethod.exp
7472 * gdb.cp/psymtab-parameter.exp
7473 * gdb.cp/ptype-cv-cp.exp
7474 * gdb.cp/ptype-flags.exp
7475 * gdb.cp/re-set-overloaded.exp
7476 * gdb.cp/ref-types.exp
7478 * gdb.cp/scope-err.exp
7481 * gdb.cp/static-method.exp
7482 * gdb.cp/static-print-quit.exp
7483 * gdb.cp/temargs.exp
7484 * gdb.cp/templates.exp
7485 * gdb.cp/try_catch.exp
7486 * gdb.cp/typedef-operator.exp
7488 * gdb.cp/userdef.exp
7489 * gdb.cp/using-crash.exp
7490 * gdb.cp/var-tag.exp
7491 * gdb.cp/virtbase.exp
7492 * gdb.cp/virtfunc.exp
7493 * gdb.cp/virtfunc2.exp
7494 * gdb.cp/vla-cxx.exp
7495 * gdb.disasm/t01_mov.exp
7496 * gdb.disasm/t02_mova.exp
7497 * gdb.disasm/t03_add.exp
7498 * gdb.disasm/t04_sub.exp
7499 * gdb.disasm/t05_cmp.exp
7500 * gdb.disasm/t06_ari2.exp
7501 * gdb.disasm/t07_ari3.exp
7502 * gdb.disasm/t08_or.exp
7503 * gdb.disasm/t09_xor.exp
7504 * gdb.disasm/t10_and.exp
7505 * gdb.disasm/t11_logs.exp
7506 * gdb.disasm/t12_bit.exp
7507 * gdb.disasm/t13_otr.exp
7508 * gdb.dlang/circular.exp
7509 * gdb.dwarf2/arr-stride.exp
7510 * gdb.dwarf2/arr-subrange.exp
7511 * gdb.dwarf2/atomic-type.exp
7512 * gdb.dwarf2/bad-regnum.exp
7513 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7514 * gdb.dwarf2/callframecfa.exp
7515 * gdb.dwarf2/clztest.exp
7516 * gdb.dwarf2/corrupt.exp
7517 * gdb.dwarf2/data-loc.exp
7518 * gdb.dwarf2/dup-psym.exp
7519 * gdb.dwarf2/dw2-anon-mptr.exp
7520 * gdb.dwarf2/dw2-anonymous-func.exp
7521 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7522 * gdb.dwarf2/dw2-bad-unresolved.exp
7523 * gdb.dwarf2/dw2-basic.exp
7524 * gdb.dwarf2/dw2-canonicalize-type.exp
7525 * gdb.dwarf2/dw2-case-insensitive.exp
7526 * gdb.dwarf2/dw2-common-block.exp
7527 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7528 * gdb.dwarf2/dw2-compressed.exp
7529 * gdb.dwarf2/dw2-const.exp
7530 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7531 * gdb.dwarf2/dw2-cu-size.exp
7532 * gdb.dwarf2/dw2-dup-frame.exp
7533 * gdb.dwarf2/dw2-entry-value.exp
7534 * gdb.dwarf2/dw2-icycle.exp
7535 * gdb.dwarf2/dw2-ifort-parameter.exp
7536 * gdb.dwarf2/dw2-inline-break.exp
7537 * gdb.dwarf2/dw2-inline-param.exp
7538 * gdb.dwarf2/dw2-intercu.exp
7539 * gdb.dwarf2/dw2-intermix.exp
7540 * gdb.dwarf2/dw2-lexical-block-bare.exp
7541 * gdb.dwarf2/dw2-linkage-name-trust.exp
7542 * gdb.dwarf2/dw2-minsym-in-cu.exp
7543 * gdb.dwarf2/dw2-noloc.exp
7544 * gdb.dwarf2/dw2-op-call.exp
7545 * gdb.dwarf2/dw2-op-out-param.exp
7546 * gdb.dwarf2/dw2-opt-structptr.exp
7547 * gdb.dwarf2/dw2-param-error.exp
7548 * gdb.dwarf2/dw2-producer.exp
7549 * gdb.dwarf2/dw2-ranges-base.exp
7550 * gdb.dwarf2/dw2-ref-missing-frame.exp
7551 * gdb.dwarf2/dw2-reg-undefined.exp
7552 * gdb.dwarf2/dw2-regno-invalid.exp
7553 * gdb.dwarf2/dw2-restore.exp
7554 * gdb.dwarf2/dw2-restrict.exp
7555 * gdb.dwarf2/dw2-single-line-discriminators.exp
7556 * gdb.dwarf2/dw2-strp.exp
7557 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7558 * gdb.dwarf2/dw2-unresolved.exp
7559 * gdb.dwarf2/dw2-var-zero-addr.exp
7560 * gdb.dwarf2/dw4-sig-types.exp
7561 * gdb.dwarf2/dwz.exp
7562 * gdb.dwarf2/dynarr-ptr.exp
7563 * gdb.dwarf2/enum-type.exp
7564 * gdb.dwarf2/gdb-index.exp
7565 * gdb.dwarf2/implptr-64bit.exp
7566 * gdb.dwarf2/implptr-optimized-out.exp
7567 * gdb.dwarf2/implptr.exp
7568 * gdb.dwarf2/implref-array.exp
7569 * gdb.dwarf2/implref-const.exp
7570 * gdb.dwarf2/implref-global.exp
7571 * gdb.dwarf2/implref-struct.exp
7572 * gdb.dwarf2/mac-fileno.exp
7573 * gdb.dwarf2/main-subprogram.exp
7574 * gdb.dwarf2/member-ptr-forwardref.exp
7575 * gdb.dwarf2/method-ptr.exp
7576 * gdb.dwarf2/missing-sig-type.exp
7577 * gdb.dwarf2/nonvar-access.exp
7578 * gdb.dwarf2/opaque-type-lookup.exp
7579 * gdb.dwarf2/pieces-optimized-out.exp
7580 * gdb.dwarf2/pieces.exp
7581 * gdb.dwarf2/pr10770.exp
7582 * gdb.dwarf2/pr13961.exp
7583 * gdb.dwarf2/staticvirtual.exp
7584 * gdb.dwarf2/subrange.exp
7585 * gdb.dwarf2/symtab-producer.exp
7586 * gdb.dwarf2/trace-crash.exp
7587 * gdb.dwarf2/typeddwarf.exp
7588 * gdb.dwarf2/valop.exp
7589 * gdb.dwarf2/watch-notconst.exp
7590 * gdb.fortran/array-element.exp
7591 * gdb.fortran/charset.exp
7592 * gdb.fortran/common-block.exp
7593 * gdb.fortran/complex.exp
7594 * gdb.fortran/derived-type-function.exp
7595 * gdb.fortran/derived-type.exp
7596 * gdb.fortran/logical.exp
7597 * gdb.fortran/module.exp
7598 * gdb.fortran/multi-dim.exp
7599 * gdb.fortran/nested-funcs.exp
7600 * gdb.fortran/print-formatted.exp
7601 * gdb.fortran/subarray.exp
7602 * gdb.fortran/vla-alloc-assoc.exp
7603 * gdb.fortran/vla-datatypes.exp
7604 * gdb.fortran/vla-history.exp
7605 * gdb.fortran/vla-ptr-info.exp
7606 * gdb.fortran/vla-ptype-sub.exp
7607 * gdb.fortran/vla-ptype.exp
7608 * gdb.fortran/vla-sizeof.exp
7609 * gdb.fortran/vla-type.exp
7610 * gdb.fortran/vla-value-sub-arbitrary.exp
7611 * gdb.fortran/vla-value-sub-finish.exp
7612 * gdb.fortran/vla-value-sub.exp
7613 * gdb.fortran/vla-value.exp
7614 * gdb.fortran/whatis_type.exp
7616 * gdb.go/handcall.exp
7618 * gdb.go/integers.exp
7619 * gdb.go/methods.exp
7620 * gdb.go/package.exp
7621 * gdb.go/strings.exp
7624 * gdb.guile/scm-arch.exp
7625 * gdb.guile/scm-block.exp
7626 * gdb.guile/scm-breakpoint.exp
7627 * gdb.guile/scm-cmd.exp
7628 * gdb.guile/scm-disasm.exp
7629 * gdb.guile/scm-equal.exp
7630 * gdb.guile/scm-frame-args.exp
7631 * gdb.guile/scm-frame-inline.exp
7632 * gdb.guile/scm-frame.exp
7633 * gdb.guile/scm-iterator.exp
7634 * gdb.guile/scm-math.exp
7635 * gdb.guile/scm-objfile.exp
7636 * gdb.guile/scm-ports.exp
7637 * gdb.guile/scm-symbol.exp
7638 * gdb.guile/scm-symtab.exp
7639 * gdb.guile/scm-value-cc.exp
7640 * gdb.guile/types-module.exp
7641 * gdb.linespec/break-ask.exp
7642 * gdb.linespec/cpexplicit.exp
7643 * gdb.linespec/explicit.exp
7644 * gdb.linespec/keywords.exp
7645 * gdb.linespec/linespec.exp
7646 * gdb.linespec/ls-dollar.exp
7647 * gdb.linespec/ls-errs.exp
7648 * gdb.linespec/skip-two.exp
7649 * gdb.linespec/thread.exp
7650 * gdb.mi/mi-async.exp
7651 * gdb.mi/mi-basics.exp
7652 * gdb.mi/mi-break.exp
7653 * gdb.mi/mi-catch-load.exp
7655 * gdb.mi/mi-cmd-param-changed.exp
7656 * gdb.mi/mi-console.exp
7657 * gdb.mi/mi-detach.exp
7658 * gdb.mi/mi-disassemble.exp
7659 * gdb.mi/mi-eval.exp
7660 * gdb.mi/mi-file-transfer.exp
7661 * gdb.mi/mi-file.exp
7662 * gdb.mi/mi-fill-memory.exp
7663 * gdb.mi/mi-inheritance-syntax-error.exp
7664 * gdb.mi/mi-linespec-err-cp.exp
7665 * gdb.mi/mi-logging.exp
7666 * gdb.mi/mi-memory-changed.exp
7667 * gdb.mi/mi-read-memory.exp
7668 * gdb.mi/mi-record-changed.exp
7669 * gdb.mi/mi-reg-undefined.exp
7670 * gdb.mi/mi-regs.exp
7671 * gdb.mi/mi-return.exp
7672 * gdb.mi/mi-reverse.exp
7673 * gdb.mi/mi-simplerun.exp
7674 * gdb.mi/mi-solib.exp
7675 * gdb.mi/mi-stack.exp
7676 * gdb.mi/mi-stepi.exp
7677 * gdb.mi/mi-syn-frame.exp
7678 * gdb.mi/mi-until.exp
7679 * gdb.mi/mi-var-block.exp
7680 * gdb.mi/mi-var-child.exp
7681 * gdb.mi/mi-var-cmd.exp
7682 * gdb.mi/mi-var-cp.exp
7683 * gdb.mi/mi-var-display.exp
7684 * gdb.mi/mi-var-invalidate.exp
7685 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7686 * gdb.mi/mi-vla-fortran.exp
7687 * gdb.mi/mi-watch.exp
7688 * gdb.mi/mi2-var-child.exp
7689 * gdb.mi/user-selected-context-sync.exp
7690 * gdb.modula2/unbounded-array.exp
7691 * gdb.multi/dummy-frame-restore.exp
7692 * gdb.multi/multi-arch-exec.exp
7693 * gdb.multi/multi-arch.exp
7694 * gdb.multi/tids.exp
7695 * gdb.multi/watchpoint-multi.exp
7696 * gdb.opencl/callfuncs.exp
7697 * gdb.opencl/convs_casts.exp
7698 * gdb.opencl/datatypes.exp
7699 * gdb.opencl/operators.exp
7700 * gdb.opencl/vec_comps.exp
7701 * gdb.opt/clobbered-registers-O2.exp
7702 * gdb.opt/inline-break.exp
7703 * gdb.opt/inline-bt.exp
7704 * gdb.opt/inline-cmds.exp
7705 * gdb.opt/inline-locals.exp
7706 * gdb.pascal/case-insensitive-symbols.exp
7707 * gdb.pascal/floats.exp
7708 * gdb.pascal/gdb11492.exp
7709 * gdb.python/lib-types.exp
7710 * gdb.python/py-arch.exp
7711 * gdb.python/py-as-string.exp
7712 * gdb.python/py-bad-printers.exp
7713 * gdb.python/py-block.exp
7714 * gdb.python/py-breakpoint-create-fail.exp
7715 * gdb.python/py-breakpoint.exp
7716 * gdb.python/py-caller-is.exp
7717 * gdb.python/py-cmd.exp
7718 * gdb.python/py-explore-cc.exp
7719 * gdb.python/py-explore.exp
7720 * gdb.python/py-finish-breakpoint.exp
7721 * gdb.python/py-finish-breakpoint2.exp
7722 * gdb.python/py-frame-args.exp
7723 * gdb.python/py-frame-inline.exp
7724 * gdb.python/py-frame.exp
7725 * gdb.python/py-framefilter-mi.exp
7726 * gdb.python/py-infthread.exp
7727 * gdb.python/py-lazy-string.exp
7728 * gdb.python/py-linetable.exp
7729 * gdb.python/py-mi-events.exp
7730 * gdb.python/py-mi-objfile.exp
7731 * gdb.python/py-mi.exp
7732 * gdb.python/py-objfile.exp
7733 * gdb.python/py-pp-integral.exp
7734 * gdb.python/py-pp-maint.exp
7735 * gdb.python/py-pp-re-notag.exp
7736 * gdb.python/py-pp-registration.exp
7737 * gdb.python/py-recurse-unwind.exp
7738 * gdb.python/py-strfns.exp
7739 * gdb.python/py-symbol.exp
7740 * gdb.python/py-symtab.exp
7741 * gdb.python/py-sync-interp.exp
7742 * gdb.python/py-typeprint.exp
7743 * gdb.python/py-unwind-maint.exp
7744 * gdb.python/py-unwind.exp
7745 * gdb.python/py-value-cc.exp
7746 * gdb.python/py-xmethods.exp
7747 * gdb.reverse/amd64-tailcall-reverse.exp
7748 * gdb.reverse/break-precsave.exp
7749 * gdb.reverse/break-reverse.exp
7750 * gdb.reverse/consecutive-precsave.exp
7751 * gdb.reverse/consecutive-reverse.exp
7752 * gdb.reverse/finish-precsave.exp
7753 * gdb.reverse/finish-reverse-bkpt.exp
7754 * gdb.reverse/finish-reverse.exp
7755 * gdb.reverse/fstatat-reverse.exp
7756 * gdb.reverse/getresuid-reverse.exp
7757 * gdb.reverse/i386-precsave.exp
7758 * gdb.reverse/i386-reverse.exp
7759 * gdb.reverse/i386-sse-reverse.exp
7760 * gdb.reverse/i387-env-reverse.exp
7761 * gdb.reverse/i387-stack-reverse.exp
7762 * gdb.reverse/insn-reverse.exp
7763 * gdb.reverse/machinestate-precsave.exp
7764 * gdb.reverse/machinestate.exp
7765 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7766 * gdb.reverse/pipe-reverse.exp
7767 * gdb.reverse/readv-reverse.exp
7768 * gdb.reverse/recvmsg-reverse.exp
7769 * gdb.reverse/rerun-prec.exp
7770 * gdb.reverse/s390-mvcle.exp
7771 * gdb.reverse/step-precsave.exp
7772 * gdb.reverse/step-reverse.exp
7773 * gdb.reverse/time-reverse.exp
7774 * gdb.reverse/until-precsave.exp
7775 * gdb.reverse/until-reverse.exp
7776 * gdb.reverse/waitpid-reverse.exp
7777 * gdb.reverse/watch-precsave.exp
7778 * gdb.reverse/watch-reverse.exp
7779 * gdb.rust/generics.exp
7780 * gdb.rust/methods.exp
7781 * gdb.rust/modules.exp
7782 * gdb.rust/simple.exp
7783 * gdb.server/connect-with-no-symbol-file.exp
7784 * gdb.server/ext-attach.exp
7785 * gdb.server/ext-restart.exp
7786 * gdb.server/ext-wrapper.exp
7787 * gdb.server/file-transfer.exp
7788 * gdb.server/server-exec-info.exp
7789 * gdb.server/server-kill.exp
7790 * gdb.server/server-mon.exp
7791 * gdb.server/wrapper.exp
7792 * gdb.stabs/exclfwd.exp
7793 * gdb.stabs/gdb11479.exp
7794 * gdb.threads/clone-new-thread-event.exp
7795 * gdb.threads/corethreads.exp
7796 * gdb.threads/current-lwp-dead.exp
7797 * gdb.threads/dlopen-libpthread.exp
7798 * gdb.threads/gcore-thread.exp
7799 * gdb.threads/sigstep-threads.exp
7800 * gdb.threads/watchpoint-fork.exp
7801 * gdb.trace/actions-changed.exp
7802 * gdb.trace/backtrace.exp
7803 * gdb.trace/change-loc.exp
7804 * gdb.trace/circ.exp
7805 * gdb.trace/collection.exp
7806 * gdb.trace/disconnected-tracing.exp
7807 * gdb.trace/ftrace.exp
7808 * gdb.trace/mi-trace-frame-collected.exp
7809 * gdb.trace/mi-trace-unavailable.exp
7810 * gdb.trace/mi-traceframe-changed.exp
7811 * gdb.trace/mi-tsv-changed.exp
7812 * gdb.trace/no-attach-trace.exp
7813 * gdb.trace/passc-dyn.exp
7814 * gdb.trace/qtro.exp
7815 * gdb.trace/range-stepping.exp
7816 * gdb.trace/read-memory.exp
7817 * gdb.trace/save-trace.exp
7818 * gdb.trace/signal.exp
7819 * gdb.trace/status-stop.exp
7820 * gdb.trace/tfile.exp
7821 * gdb.trace/trace-break.exp
7822 * gdb.trace/trace-buffer-size.exp
7823 * gdb.trace/trace-condition.exp
7824 * gdb.trace/tracefile-pseudo-reg.exp
7825 * gdb.trace/tstatus.exp
7826 * gdb.trace/unavailable.exp
7827 * gdb.trace/while-dyn.exp
7828 * gdb.trace/while-stepping.exp
7830 2016-12-22 Doug Evans <xdje42@gmail.com>
7832 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7835 2016-12-19 Yao Qi <yao.qi@linaro.org>
7837 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7838 (test_with_self): Don't call do_steps_and_nexts, and remove
7839 code about stepping into xmalloc.
7841 2016-12-09 Yao Qi <yao.qi@linaro.org>
7843 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7845 2016-12-09 Yao Qi <yao.qi@linaro.org>
7847 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7849 2016-12-09 Pedro Alves <palves@redhat.com>
7851 * gdb.base/all-architectures-0.exp: New file.
7852 * gdb.base/all-architectures-1.exp: New file.
7853 * gdb.base/all-architectures-2.exp: New file.
7854 * gdb.base/all-architectures-3.exp: New file.
7855 * gdb.base/all-architectures-4.exp: New file.
7856 * gdb.base/all-architectures-5.exp: New file.
7857 * gdb.base/all-architectures-6.exp: New file.
7858 * gdb.base/all-architectures-7.exp: New file.
7859 * gdb.base/all-architectures.exp.in: New file.
7861 2016-12-09 Yao Qi <yao.qi@linaro.org>
7863 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7865 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7867 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7869 Remove useless pattern-matching code.
7871 2016-12-02 Pedro Alves <palves@redhat.com>
7873 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7875 (top level): Call it.
7877 2016-12-02 Pedro Alves <palves@redhat.com>
7879 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7881 (top level): Call it.
7883 2016-12-02 Pedro Alves <palves@redhat.com>
7886 * gdb.base/commands.exp (user_defined_command_args_eval): New
7888 (top level): Call it.
7890 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7892 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7895 2016-12-02 Tom Tromey <tom@tromey.com>
7897 * gdb.dwarf2/main-subprogram.c: New file.
7898 * gdb.dwarf2/main-subprogram.exp: New file.
7900 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7902 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7903 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7904 gdb_test_no_output for a couple of cases.
7905 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7907 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7909 Fix test names and standardize compilation error messages throughout
7910 the following files:
7913 * gdb.arch/alpha-step.exp
7914 * gdb.arch/e500-prologue.exp
7915 * gdb.arch/ftrace-insn-reloc.exp
7916 * gdb.arch/gdb1291.exp
7917 * gdb.arch/gdb1431.exp
7918 * gdb.arch/gdb1558.exp
7919 * gdb.arch/i386-dr3-watch.exp
7920 * gdb.arch/i386-sse-stack-align.exp
7921 * gdb.arch/ia64-breakpoint-shadow.exp
7922 * gdb.arch/pa-nullify.exp
7923 * gdb.arch/powerpc-aix-prologue.exp
7924 * gdb.arch/thumb-bx-pc.exp
7925 * gdb.base/annota1.exp
7926 * gdb.base/annota3.exp
7927 * gdb.base/arrayidx.exp
7928 * gdb.base/assign.exp
7929 * gdb.base/attach.exp
7932 * gdb.base/bfp-test.exp
7933 * gdb.base/bigcore.exp
7934 * gdb.base/bitfields2.exp
7935 * gdb.base/break-fun-addr.exp
7936 * gdb.base/break-probes.exp
7937 * gdb.base/call-rt-st.exp
7938 * gdb.base/callexit.exp
7939 * gdb.base/catch-fork-kill.exp
7940 * gdb.base/charset.exp
7941 * gdb.base/checkpoint.exp
7942 * gdb.base/comprdebug.exp
7943 * gdb.base/constvars.exp
7944 * gdb.base/coredump-filter.exp
7945 * gdb.base/cursal.exp
7946 * gdb.base/cvexpr.exp
7947 * gdb.base/detach.exp
7948 * gdb.base/display.exp
7949 * gdb.base/dmsym.exp
7950 * gdb.base/dprintf-pending.exp
7951 * gdb.base/dso2dso.exp
7952 * gdb.base/dtrace-probe.exp
7954 * gdb.base/enum_cond.exp
7955 * gdb.base/exe-lock.exp
7956 * gdb.base/exec-invalid-sysroot.exp
7957 * gdb.base/execl-update-breakpoints.exp
7958 * gdb.base/exprs.exp
7959 * gdb.base/fileio.exp
7961 * gdb.base/finish.exp
7962 * gdb.base/fixsection.exp
7963 * gdb.base/foll-vfork.exp
7964 * gdb.base/frame-args.exp
7965 * gdb.base/gcore.exp
7966 * gdb.base/gdb1250.exp
7967 * gdb.base/global-var-nested-by-dso.exp
7968 * gdb.base/gnu-ifunc.exp
7969 * gdb.base/hashline1.exp
7970 * gdb.base/hashline2.exp
7971 * gdb.base/hashline3.exp
7972 * gdb.base/hbreak-in-shr-unsupported.exp
7974 * gdb.base/infcall-input.exp
7975 * gdb.base/info-fun.exp
7976 * gdb.base/info-shared.exp
7977 * gdb.base/jit-simple.exp
7978 * gdb.base/jit-so.exp
7981 * gdb.base/label.exp
7982 * gdb.base/lineinc.exp
7983 * gdb.base/logical.exp
7984 * gdb.base/longjmp.exp
7985 * gdb.base/macscp.exp
7986 * gdb.base/miscexprs.exp
7987 * gdb.base/new-ui-echo.exp
7988 * gdb.base/new-ui-pending-input.exp
7989 * gdb.base/new-ui.exp
7990 * gdb.base/nodebug.exp
7991 * gdb.base/nofield.exp
7992 * gdb.base/offsets.exp
7993 * gdb.base/overlays.exp
7994 * gdb.base/pending.exp
7995 * gdb.base/pointers.exp
7996 * gdb.base/pr11022.exp
7997 * gdb.base/printcmds.exp
7998 * gdb.base/prologue.exp
7999 * gdb.base/ptr-typedef.exp
8000 * gdb.base/realname-expand.exp
8001 * gdb.base/relativedebug.exp
8002 * gdb.base/relocate.exp
8003 * gdb.base/remote.exp
8004 * gdb.base/reread.exp
8005 * gdb.base/return2.exp
8006 * gdb.base/savedregs.exp
8008 * gdb.base/sepdebug.exp
8009 * gdb.base/sepsymtab.exp
8010 * gdb.base/set-inferior-tty.exp
8011 * gdb.base/setshow.exp
8012 * gdb.base/shlib-call.exp
8013 * gdb.base/sigaltstack.exp
8014 * gdb.base/siginfo-addr.exp
8015 * gdb.base/signals.exp
8016 * gdb.base/signull.exp
8017 * gdb.base/sigrepeat.exp
8018 * gdb.base/so-impl-ld.exp
8019 * gdb.base/solib-display.exp
8020 * gdb.base/solib-overlap.exp
8021 * gdb.base/solib-search.exp
8022 * gdb.base/solib-symbol.exp
8023 * gdb.base/structs.exp
8024 * gdb.base/structs2.exp
8025 * gdb.base/symtab-search-order.exp
8026 * gdb.base/twice.exp
8027 * gdb.base/unload.exp
8028 * gdb.base/varargs.exp
8029 * gdb.base/watchpoint-solib.exp
8030 * gdb.base/watchpoint.exp
8031 * gdb.base/whatis.exp
8032 * gdb.base/wrong_frame_bt_full.exp
8033 * gdb.btrace/dlopen.exp
8034 * gdb.cell/ea-standalone.exp
8035 * gdb.cell/ea-test.exp
8036 * gdb.cp/dispcxx.exp
8037 * gdb.cp/gdb2384.exp
8038 * gdb.cp/method2.exp
8039 * gdb.cp/nextoverthrow.exp
8040 * gdb.cp/pr10728.exp
8041 * gdb.disasm/am33.exp
8042 * gdb.disasm/h8300s.exp
8043 * gdb.disasm/mn10300.exp
8044 * gdb.disasm/sh3.exp
8045 * gdb.dwarf2/dw2-dir-file-name.exp
8046 * gdb.fortran/complex.exp
8047 * gdb.fortran/library-module.exp
8048 * gdb.guile/scm-pretty-print.exp
8049 * gdb.guile/scm-symbol.exp
8050 * gdb.guile/scm-type.exp
8051 * gdb.guile/scm-value.exp
8052 * gdb.linespec/linespec.exp
8055 * gdb.mi/mi-breakpoint-changed.exp
8056 * gdb.mi/mi-dprintf-pending.exp
8057 * gdb.mi/mi-dprintf.exp
8058 * gdb.mi/mi-exit-code.exp
8059 * gdb.mi/mi-pending.exp
8060 * gdb.mi/mi-solib.exp
8061 * gdb.mi/new-ui-mi-sync.exp
8062 * gdb.mi/pr11022.exp
8063 * gdb.mi/user-selected-context-sync.exp
8064 * gdb.opt/solib-intra-step.exp
8065 * gdb.python/py-events.exp
8066 * gdb.python/py-finish-breakpoint.exp
8067 * gdb.python/py-mi.exp
8068 * gdb.python/py-prettyprint.exp
8069 * gdb.python/py-shared.exp
8070 * gdb.python/py-symbol.exp
8071 * gdb.python/py-template.exp
8072 * gdb.python/py-type.exp
8073 * gdb.python/py-value.exp
8074 * gdb.reverse/solib-precsave.exp
8075 * gdb.reverse/solib-reverse.exp
8076 * gdb.server/solib-list.exp
8077 * gdb.stabs/weird.exp
8078 * gdb.threads/reconnect-signal.exp
8079 * gdb.threads/stepi-random-signal.exp
8080 * gdb.trace/actions.exp
8082 * gdb.trace/backtrace.exp
8083 * gdb.trace/change-loc.exp
8084 * gdb.trace/deltrace.exp
8085 * gdb.trace/ftrace-lock.exp
8086 * gdb.trace/ftrace.exp
8087 * gdb.trace/infotrace.exp
8088 * gdb.trace/mi-tracepoint-changed.exp
8089 * gdb.trace/packetlen.exp
8090 * gdb.trace/passcount.exp
8091 * gdb.trace/pending.exp
8092 * gdb.trace/range-stepping.exp
8093 * gdb.trace/report.exp
8094 * gdb.trace/stap-trace.exp
8095 * gdb.trace/tfind.exp
8096 * gdb.trace/trace-break.exp
8097 * gdb.trace/trace-condition.exp
8098 * gdb.trace/trace-enable-disable.exp
8099 * gdb.trace/trace-mt.exp
8100 * gdb.trace/tracecmd.exp
8101 * gdb.trace/tspeed.exp
8105 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8107 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8108 with gdb_test_no_output.
8109 Use command as test name.
8111 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8113 Fix test names starting with uppercase throughout the files.
8115 * gdb.ada/assign_1.exp
8116 * gdb.ada/boolean_expr.exp
8117 * gdb.base/arrayidx.exp
8119 * gdb.base/gcore-buffer-overflow.exp
8120 * gdb.base/testenv.exp
8121 * gdb.compile/compile.exp
8122 * gdb.python/py-framefilter-invalidarg.exp
8123 * gdb.python/py-framefilter.exp
8125 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8127 Fix test names starting with uppercase throughout the files.
8129 * gdb.ada/array_return.exp
8130 * gdb.ada/expr_delims.exp
8131 * gdb.ada/mi_dyn_arr.exp
8132 * gdb.ada/mi_interface.exp
8133 * gdb.ada/mi_var_array.exp
8134 * gdb.ada/watch_arg.exp
8135 * gdb.arch/alpha-step.exp
8136 * gdb.arch/altivec-regs.exp
8137 * gdb.arch/e500-regs.exp
8138 * gdb.arch/powerpc-d128-regs.exp
8139 * gdb.base/arrayidx.exp
8140 * gdb.base/break.exp
8141 * gdb.base/checkpoint.exp
8142 * gdb.base/debug-expr.exp
8143 * gdb.base/dmsym.exp
8144 * gdb.base/radix.exp
8145 * gdb.base/sepdebug.exp
8146 * gdb.base/testenv.exp
8147 * gdb.base/watch_thread_num.exp
8148 * gdb.base/watchpoint-cond-gone.exp
8149 * gdb.cell/break.exp
8150 * gdb.cell/ea-cache.exp
8151 * gdb.compile/compile.exp
8152 * gdb.cp/gdb2495.exp
8153 * gdb.gdb/selftest.exp
8154 * gdb.gdb/xfullpath.exp
8156 * gdb.go/integers.exp
8157 * gdb.objc/basicclass.exp
8158 * gdb.pascal/hello.exp
8159 * gdb.pascal/integers.exp
8160 * gdb.python/py-breakpoint.exp
8161 * gdb.python/py-cmd.exp
8162 * gdb.python/py-linetable.exp
8163 * gdb.python/py-xmethods.exp
8164 * gdb.python/python.exp
8165 * gdb.reverse/consecutive-precsave.exp
8166 * gdb.reverse/finish-precsave.exp
8167 * gdb.reverse/i386-precsave.exp
8168 * gdb.reverse/machinestate-precsave.exp
8169 * gdb.reverse/sigall-precsave.exp
8170 * gdb.reverse/solib-precsave.exp
8171 * gdb.reverse/step-precsave.exp
8172 * gdb.reverse/until-precsave.exp
8173 * gdb.reverse/watch-precsave.exp
8174 * gdb.threads/leader-exit.exp
8175 * gdb.threads/pthreads.exp
8176 * gdb.threads/wp-replication.exp
8177 * gdb.trace/actions.exp
8178 * gdb.trace/mi-tsv-changed.exp
8181 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8183 Fix test names starting with uppercase throughout the files.
8185 * gdb.arch/i386-bp_permanent.exp
8186 * gdb.arch/i386-gnu-cfi.exp
8187 * gdb.base/disasm-end-cu.exp
8188 * gdb.base/macscp.exp
8189 * gdb.base/pending.exp
8190 * gdb.base/watch_thread_num.exp
8191 * gdb.cp/exception.exp
8192 * gdb.cp/gdb2495.exp
8194 * gdb.python/py-evsignal.exp
8195 * gdb.python/python.exp
8196 * gdb.trace/tracecmd.exp
8198 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8200 Fix test names starting with uppercase throughout the files.
8202 * gdb.base/charset.exp
8204 * gdb.base/multi-forks.exp
8205 * gdb.guile/scm-progspace.exp
8206 * gdb.opencl/datatypes.exp
8207 * gdb.python/py-block.exp
8208 * gdb.python/py-function.exp
8209 * gdb.python/py-symbol.exp
8210 * gdb.python/py-symtab.exp
8211 * gdb.python/py-xmethods.exp
8212 * gdb.reverse/break-precsave.exp
8213 * gdb.reverse/break-reverse.exp
8214 * gdb.reverse/consecutive-precsave.exp
8215 * gdb.reverse/consecutive-reverse.exp
8216 * gdb.reverse/finish-precsave.exp
8217 * gdb.reverse/finish-reverse-bkpt.exp
8218 * gdb.reverse/finish-reverse.exp
8219 * gdb.reverse/fstatat-reverse.exp
8220 * gdb.reverse/getresuid-reverse.exp
8221 * gdb.reverse/i386-precsave.exp
8222 * gdb.reverse/i386-reverse.exp
8223 * gdb.reverse/i386-sse-reverse.exp
8224 * gdb.reverse/i387-stack-reverse.exp
8225 * gdb.reverse/insn-reverse.exp
8226 * gdb.reverse/machinestate-precsave.exp
8227 * gdb.reverse/machinestate.exp
8228 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8229 * gdb.reverse/pipe-reverse.exp
8230 * gdb.reverse/readv-reverse.exp
8231 * gdb.reverse/recvmsg-reverse.exp
8232 * gdb.reverse/rerun-prec.exp
8233 * gdb.reverse/s390-mvcle.exp
8234 * gdb.reverse/sigall-precsave.exp
8235 * gdb.reverse/sigall-reverse.exp
8236 * gdb.reverse/solib-precsave.exp
8237 * gdb.reverse/solib-reverse.exp
8238 * gdb.reverse/step-precsave.exp
8239 * gdb.reverse/step-reverse.exp
8240 * gdb.reverse/time-reverse.exp
8241 * gdb.reverse/until-precsave.exp
8242 * gdb.reverse/until-reverse.exp
8243 * gdb.reverse/waitpid-reverse.exp
8244 * gdb.reverse/watch-precsave.exp
8245 * gdb.reverse/watch-reverse.exp
8247 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8249 Fix test names starting with uppercase throughout the files.
8251 * gdb.arch/i386-mpx-simple_segv.exp
8252 * gdb.arch/i386-mpx.exp
8253 * gdb.arch/i386-permbkpt.exp
8254 * gdb.arch/pa-nullify.exp
8255 * gdb.arch/powerpc-d128-regs.exp
8256 * gdb.arch/vsx-regs.exp
8257 * gdb.base/bfp-test.exp
8258 * gdb.base/break.exp
8259 * gdb.base/breakpoint-shadow.exp
8260 * gdb.base/callfuncs.exp
8261 * gdb.base/charset.exp
8262 * gdb.base/commands.exp
8263 * gdb.base/completion.exp
8264 * gdb.base/dfp-test.exp
8266 * gdb.base/ending-run.exp
8268 * gdb.base/expand-psymtabs.exp
8269 * gdb.base/float128.exp
8270 * gdb.base/floatn.exp
8271 * gdb.base/foll-exec-mode.exp
8272 * gdb.base/gdb1056.exp
8273 * gdb.base/gdb11531.exp
8274 * gdb.base/kill-after-signal.exp
8275 * gdb.base/multi-forks.exp
8276 * gdb.base/overlays.exp
8277 * gdb.base/pending.exp
8278 * gdb.base/sepdebug.exp
8279 * gdb.base/testenv.exp
8280 * gdb.base/valgrind-db-attach.exp
8281 * gdb.base/watch_thread_num.exp
8282 * gdb.base/watchpoint-cond-gone.exp
8283 * gdb.base/watchpoint.exp
8284 * gdb.base/watchpoints.exp
8285 * gdb.cp/arg-reference.exp
8286 * gdb.cp/baseenum.exp
8287 * gdb.cp/operator.exp
8289 * gdb.dwarf2/dw2-op-out-param.exp
8290 * gdb.dwarf2/dw2-reg-undefined.exp
8293 * gdb.go/integers.exp
8294 * gdb.go/methods.exp
8295 * gdb.go/package.exp
8296 * gdb.guile/scm-parameter.exp
8297 * gdb.guile/scm-progspace.exp
8298 * gdb.guile/scm-value.exp
8299 * gdb.mi/mi-pending.exp
8300 * gdb.mi/user-selected-context-sync.exp
8301 * gdb.multi/multi-attach.exp
8302 * gdb.multi/tids.exp
8303 * gdb.opt/clobbered-registers-O2.exp
8304 * gdb.pascal/floats.exp
8305 * gdb.pascal/integers.exp
8306 * gdb.python/py-block.exp
8307 * gdb.python/py-events.exp
8308 * gdb.python/py-parameter.exp
8309 * gdb.python/py-symbol.exp
8310 * gdb.python/py-symtab.exp
8311 * gdb.python/py-type.exp
8312 * gdb.python/py-value.exp
8313 * gdb.python/py-xmethods.exp
8314 * gdb.python/python.exp
8315 * gdb.reverse/break-precsave.exp
8316 * gdb.reverse/consecutive-precsave.exp
8317 * gdb.reverse/finish-precsave.exp
8318 * gdb.reverse/i386-precsave.exp
8319 * gdb.reverse/machinestate-precsave.exp
8320 * gdb.reverse/sigall-precsave.exp
8321 * gdb.reverse/solib-precsave.exp
8322 * gdb.reverse/step-precsave.exp
8323 * gdb.reverse/until-precsave.exp
8324 * gdb.reverse/watch-precsave.exp
8325 * gdb.server/ext-attach.exp
8326 * gdb.server/ext-restart.exp
8327 * gdb.server/ext-run.exp
8328 * gdb.server/ext-wrapper.exp
8329 * gdb.stabs/gdb11479.exp
8330 * gdb.stabs/weird.exp
8331 * gdb.threads/attach-many-short-lived-threads.exp
8332 * gdb.threads/kill.exp
8333 * gdb.threads/watchpoint-fork.exp
8335 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8337 Fix test names starting with uppercase throughout all the files below.
8339 * gdb.ada/array_return.exp
8340 * gdb.ada/catch_ex.exp
8341 * gdb.ada/info_exc.exp
8342 * gdb.ada/mi_catch_ex.exp
8343 * gdb.ada/mi_dyn_arr.exp
8344 * gdb.ada/mi_ex_cond.exp
8345 * gdb.ada/mi_exc_info.exp
8346 * gdb.ada/mi_interface.exp
8347 * gdb.ada/mi_task_arg.exp
8348 * gdb.ada/mi_task_info.exp
8349 * gdb.ada/mi_var_array.exp
8350 * gdb.arch/alpha-step.exp
8351 * gdb.arch/amd64-disp-step.exp
8352 * gdb.arch/arm-disp-step.exp
8353 * gdb.arch/disp-step-insn-reloc.exp
8354 * gdb.arch/e500-prologue.exp
8355 * gdb.arch/ftrace-insn-reloc.exp
8356 * gdb.arch/gdb1558.exp
8357 * gdb.arch/i386-bp_permanent.exp
8358 * gdb.arch/i386-disp-step.exp
8359 * gdb.arch/i386-float.exp
8360 * gdb.arch/i386-gnu-cfi.exp
8361 * gdb.arch/ia64-breakpoint-shadow.exp
8362 * gdb.arch/mips16-thunks.exp
8363 * gdb.arch/pa-nullify.exp
8364 * gdb.arch/powerpc-aix-prologue.exp
8365 * gdb.arch/powerpc-power.exp
8366 * gdb.arch/ppc-dfp.exp
8367 * gdb.arch/s390-tdbregs.exp
8368 * gdb.arch/spu-info.exp
8369 * gdb.arch/spu-ls.exp
8370 * gdb.arch/thumb-bx-pc.exp
8371 * gdb.base/advance.exp
8372 * gdb.base/annota-input-while-running.exp
8373 * gdb.base/arrayidx.exp
8374 * gdb.base/asmlabel.exp
8375 * gdb.base/async.exp
8376 * gdb.base/attach-wait-input.exp
8377 * gdb.base/auto-connect-native-target.exp
8378 * gdb.base/batch-preserve-term-settings.exp
8379 * gdb.base/bfp-test.exp
8380 * gdb.base/bigcore.exp
8381 * gdb.base/bp-permanent.exp
8382 * gdb.base/break-always.exp
8383 * gdb.base/break-fun-addr.exp
8384 * gdb.base/break-idempotent.exp
8385 * gdb.base/break-main-file-remove-fail.exp
8386 * gdb.base/break-probes.exp
8387 * gdb.base/break-unload-file.exp
8388 * gdb.base/break.exp
8389 * gdb.base/call-ar-st.exp
8390 * gdb.base/call-rt-st.exp
8391 * gdb.base/call-sc.exp
8392 * gdb.base/call-signal-resume.exp
8393 * gdb.base/call-strs.exp
8394 * gdb.base/callexit.exp
8395 * gdb.base/callfuncs.exp
8396 * gdb.base/catch-gdb-caused-signals.exp
8397 * gdb.base/catch-signal-siginfo-cond.exp
8398 * gdb.base/catch-syscall.exp
8399 * gdb.base/compare-sections.exp
8400 * gdb.base/cond-eval-mode.exp
8401 * gdb.base/condbreak-call-false.exp
8402 * gdb.base/consecutive-step-over.exp
8403 * gdb.base/cursal.exp
8404 * gdb.base/disabled-location.exp
8405 * gdb.base/disasm-end-cu.exp
8406 * gdb.base/display.exp
8407 * gdb.base/double-prompt-target-event-error.exp
8408 * gdb.base/dprintf-bp-same-addr.exp
8409 * gdb.base/dprintf-detach.exp
8410 * gdb.base/dprintf-next.exp
8411 * gdb.base/dprintf-non-stop.exp
8412 * gdb.base/dprintf-pending.exp
8413 * gdb.base/dso2dso.exp
8414 * gdb.base/ending-run.exp
8415 * gdb.base/enum_cond.exp
8416 * gdb.base/examine-backward.exp
8417 * gdb.base/exe-lock.exp
8418 * gdb.base/exec-invalid-sysroot.exp
8419 * gdb.base/execl-update-breakpoints.exp
8420 * gdb.base/execution-termios.exp
8421 * gdb.base/fileio.exp
8422 * gdb.base/fixsection.exp
8423 * gdb.base/foll-exec-mode.exp
8424 * gdb.base/foll-exec.exp
8425 * gdb.base/fork-running-state.exp
8426 * gdb.base/frame-args.exp
8427 * gdb.base/fullpath-expand.exp
8428 * gdb.base/func-ptr.exp
8429 * gdb.base/gcore-relro-pie.exp
8430 * gdb.base/gdb1090.exp
8431 * gdb.base/gdb1555.exp
8432 * gdb.base/global-var-nested-by-dso.exp
8433 * gdb.base/gnu-ifunc.exp
8434 * gdb.base/hbreak-in-shr-unsupported.exp
8435 * gdb.base/hbreak-unmapped.exp
8436 * gdb.base/hook-stop.exp
8437 * gdb.base/infcall-input.exp
8438 * gdb.base/info-fun.exp
8439 * gdb.base/info-shared.exp
8440 * gdb.base/interrupt-noterm.exp
8441 * gdb.base/jit-so.exp
8443 * gdb.base/line-symtabs.exp
8445 * gdb.base/longjmp.exp
8446 * gdb.base/macscp.exp
8447 * gdb.base/max-value-size.exp
8448 * gdb.base/nodebug.exp
8449 * gdb.base/nofield.exp
8450 * gdb.base/overlays.exp
8451 * gdb.base/paginate-after-ctrl-c-running.exp
8452 * gdb.base/paginate-bg-execution.exp
8453 * gdb.base/paginate-inferior-exit.exp
8454 * gdb.base/pending.exp
8455 * gdb.base/pr11022.exp
8456 * gdb.base/printcmds.exp
8457 * gdb.base/ptr-typedef.exp
8458 * gdb.base/ptype.exp
8459 * gdb.base/randomize.exp
8460 * gdb.base/range-stepping.exp
8461 * gdb.base/realname-expand.exp
8462 * gdb.base/relativedebug.exp
8463 * gdb.base/remote.exp
8464 * gdb.base/savedregs.exp
8465 * gdb.base/sepdebug.exp
8466 * gdb.base/set-noassign.exp
8467 * gdb.base/shlib-call.exp
8468 * gdb.base/shreloc.exp
8469 * gdb.base/sigaltstack.exp
8470 * gdb.base/sigbpt.exp
8471 * gdb.base/siginfo-addr.exp
8472 * gdb.base/siginfo-obj.exp
8473 * gdb.base/siginfo-thread.exp
8474 * gdb.base/signest.exp
8475 * gdb.base/signull.exp
8476 * gdb.base/sigrepeat.exp
8478 * gdb.base/so-impl-ld.exp
8479 * gdb.base/solib-corrupted.exp
8480 * gdb.base/solib-disc.exp
8481 * gdb.base/solib-display.exp
8482 * gdb.base/solib-overlap.exp
8483 * gdb.base/solib-search.exp
8484 * gdb.base/solib-symbol.exp
8485 * gdb.base/source-execution.exp
8486 * gdb.base/sss-bp-on-user-bp-2.exp
8487 * gdb.base/sss-bp-on-user-bp.exp
8488 * gdb.base/stack-checking.exp
8489 * gdb.base/stale-infcall.exp
8490 * gdb.base/step-break.exp
8491 * gdb.base/step-line.exp
8492 * gdb.base/step-over-exit.exp
8493 * gdb.base/step-test.exp
8494 * gdb.base/structs.exp
8495 * gdb.base/sym-file.exp
8496 * gdb.base/symtab-search-order.exp
8498 * gdb.base/type-opaque.exp
8499 * gdb.base/unload.exp
8500 * gdb.base/until-nodebug.exp
8501 * gdb.base/until.exp
8502 * gdb.base/unwindonsignal.exp
8503 * gdb.base/watch-cond.exp
8504 * gdb.base/watch-non-mem.exp
8505 * gdb.base/watch_thread_num.exp
8506 * gdb.base/watchpoint-reuse-slot.exp
8507 * gdb.base/watchpoint-solib.exp
8508 * gdb.base/watchpoint.exp
8509 * gdb.btrace/dlopen.exp
8511 * gdb.cell/break.exp
8515 * gdb.cell/dwarfaddr.exp
8516 * gdb.cell/ea-cache.exp
8517 * gdb.cell/ea-standalone.exp
8518 * gdb.cell/ea-test.exp
8519 * gdb.cell/f-regs.exp
8521 * gdb.cell/gcore.exp
8522 * gdb.cell/mem-access.exp
8523 * gdb.cell/ptype.exp
8524 * gdb.cell/registers.exp
8525 * gdb.cell/sizeof.exp
8526 * gdb.cell/solib-symbol.exp
8527 * gdb.cell/solib.exp
8528 * gdb.compile/compile-tls.exp
8529 * gdb.cp/exception.exp
8530 * gdb.cp/gdb2495.exp
8532 * gdb.cp/mb-inline.exp
8533 * gdb.cp/mb-templates.exp
8534 * gdb.cp/pr10687.exp
8536 * gdb.cp/scope-err.exp
8537 * gdb.cp/templates.exp
8538 * gdb.cp/virtfunc.exp
8539 * gdb.dwarf2/dw2-dir-file-name.exp
8540 * gdb.dwarf2/dw2-single-line-discriminators.exp
8541 * gdb.fortran/complex.exp
8542 * gdb.fortran/library-module.exp
8543 * gdb.guile/guile.exp
8544 * gdb.guile/scm-cmd.exp
8545 * gdb.guile/scm-frame-inline.exp
8546 * gdb.guile/scm-objfile.exp
8547 * gdb.guile/scm-pretty-print.exp
8548 * gdb.guile/scm-symbol.exp
8549 * gdb.guile/scm-type.exp
8550 * gdb.guile/scm-value.exp
8551 * gdb.linespec/keywords.exp
8552 * gdb.linespec/ls-errs.exp
8553 * gdb.linespec/macro-relative.exp
8554 * gdb.linespec/thread.exp
8555 * gdb.mi/mi-breakpoint-changed.exp
8556 * gdb.mi/mi-dprintf-pending.exp
8557 * gdb.mi/mi-fullname-deleted.exp
8558 * gdb.mi/mi-logging.exp
8559 * gdb.mi/mi-pending.exp
8560 * gdb.mi/mi-solib.exp
8561 * gdb.mi/new-ui-mi-sync.exp
8562 * gdb.mi/user-selected-context-sync.exp
8563 * gdb.multi/dummy-frame-restore.exp
8564 * gdb.multi/multi-arch-exec.exp
8565 * gdb.multi/remove-inferiors.exp
8566 * gdb.multi/watchpoint-multi-exit.exp
8567 * gdb.opt/solib-intra-step.exp
8568 * gdb.perf/backtrace.exp
8569 * gdb.perf/single-step.exp
8570 * gdb.perf/skip-command.exp
8571 * gdb.perf/skip-prologue.exp
8572 * gdb.perf/solib.exp
8573 * gdb.python/lib-types.exp
8574 * gdb.python/py-as-string.exp
8575 * gdb.python/py-bad-printers.exp
8576 * gdb.python/py-block.exp
8577 * gdb.python/py-breakpoint.exp
8578 * gdb.python/py-cmd.exp
8579 * gdb.python/py-events.exp
8580 * gdb.python/py-evthreads.exp
8581 * gdb.python/py-finish-breakpoint.exp
8582 * gdb.python/py-finish-breakpoint2.exp
8583 * gdb.python/py-frame-inline.exp
8584 * gdb.python/py-frame.exp
8585 * gdb.python/py-inferior.exp
8586 * gdb.python/py-infthread.exp
8587 * gdb.python/py-mi.exp
8588 * gdb.python/py-objfile.exp
8589 * gdb.python/py-pp-maint.exp
8590 * gdb.python/py-pp-registration.exp
8591 * gdb.python/py-prettyprint.exp
8592 * gdb.python/py-recurse-unwind.exp
8593 * gdb.python/py-shared.exp
8594 * gdb.python/py-symbol.exp
8595 * gdb.python/py-symtab.exp
8596 * gdb.python/py-template.exp
8597 * gdb.python/py-type.exp
8598 * gdb.python/py-unwind-maint.exp
8599 * gdb.python/py-unwind.exp
8600 * gdb.python/py-value.exp
8601 * gdb.python/python.exp
8602 * gdb.reverse/finish-reverse-bkpt.exp
8603 * gdb.reverse/insn-reverse.exp
8604 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8605 * gdb.reverse/solib-precsave.exp
8606 * gdb.reverse/solib-reverse.exp
8607 * gdb.stabs/gdb11479.exp
8608 * gdb.stabs/weird.exp
8609 * gdb.threads/fork-child-threads.exp
8610 * gdb.threads/fork-plus-threads.exp
8611 * gdb.threads/fork-thread-pending.exp
8612 * gdb.threads/forking-threads-plus-breakpoint.exp
8613 * gdb.threads/hand-call-in-threads.exp
8614 * gdb.threads/interrupted-hand-call.exp
8615 * gdb.threads/linux-dp.exp
8616 * gdb.threads/local-watch-wrong-thread.exp
8617 * gdb.threads/next-while-other-thread-longjmps.exp
8618 * gdb.threads/non-ldr-exit.exp
8619 * gdb.threads/pending-step.exp
8620 * gdb.threads/print-threads.exp
8621 * gdb.threads/process-dies-while-detaching.exp
8622 * gdb.threads/process-dies-while-handling-bp.exp
8623 * gdb.threads/pthreads.exp
8624 * gdb.threads/queue-signal.exp
8625 * gdb.threads/reconnect-signal.exp
8626 * gdb.threads/signal-command-handle-nopass.exp
8627 * gdb.threads/signal-command-multiple-signals-pending.exp
8628 * gdb.threads/signal-delivered-right-thread.exp
8629 * gdb.threads/signal-sigtrap.exp
8630 * gdb.threads/sigthread.exp
8631 * gdb.threads/staticthreads.exp
8632 * gdb.threads/stepi-random-signal.exp
8633 * gdb.threads/thread-unwindonsignal.exp
8634 * gdb.threads/thread_check.exp
8635 * gdb.threads/thread_events.exp
8636 * gdb.threads/tid-reuse.exp
8637 * gdb.threads/tls-nodebug.exp
8638 * gdb.threads/tls-shared.exp
8639 * gdb.threads/tls-so_extern.exp
8640 * gdb.threads/tls.exp
8641 * gdb.threads/wp-replication.exp
8642 * gdb.trace/actions-changed.exp
8643 * gdb.trace/actions.exp
8644 * gdb.trace/backtrace.exp
8645 * gdb.trace/change-loc.exp
8646 * gdb.trace/collection.exp
8647 * gdb.trace/deltrace.exp
8648 * gdb.trace/disconnected-tracing.exp
8649 * gdb.trace/entry-values.exp
8650 * gdb.trace/ftrace-lock.exp
8651 * gdb.trace/ftrace.exp
8652 * gdb.trace/infotrace.exp
8653 * gdb.trace/mi-trace-frame-collected.exp
8654 * gdb.trace/mi-trace-unavailable.exp
8655 * gdb.trace/mi-traceframe-changed.exp
8656 * gdb.trace/mi-tracepoint-changed.exp
8657 * gdb.trace/mi-tsv-changed.exp
8658 * gdb.trace/no-attach-trace.exp
8659 * gdb.trace/packetlen.exp
8660 * gdb.trace/passc-dyn.exp
8661 * gdb.trace/passcount.exp
8662 * gdb.trace/pending.exp
8663 * gdb.trace/pr16508.exp
8664 * gdb.trace/qtro.exp
8665 * gdb.trace/range-stepping.exp
8666 * gdb.trace/read-memory.exp
8667 * gdb.trace/report.exp
8668 * gdb.trace/save-trace.exp
8669 * gdb.trace/signal.exp
8670 * gdb.trace/stap-trace.exp
8671 * gdb.trace/status-stop.exp
8672 * gdb.trace/strace.exp
8673 * gdb.trace/tfile.exp
8674 * gdb.trace/tfind.exp
8675 * gdb.trace/trace-break.exp
8676 * gdb.trace/trace-condition.exp
8677 * gdb.trace/trace-enable-disable.exp
8678 * gdb.trace/trace-mt.exp
8679 * gdb.trace/tracecmd.exp
8680 * gdb.trace/tracefile-pseudo-reg.exp
8681 * gdb.trace/tspeed.exp
8682 * gdb.trace/tstatus.exp
8684 * gdb.trace/unavailable.exp
8685 * gdb.trace/while-dyn.exp
8686 * gdb.trace/while-stepping.exp
8689 * lib/mi-support.exp
8692 * lib/prelink-support.exp
8693 * lib/selftest-support.exp
8695 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8697 * Makefile.in: Include disable-implicit-rules.mk.
8699 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8701 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8702 non-byte-aligned bit fields.
8704 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8707 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8708 respects the DW_AT_data_bit_offset attribute.
8710 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8712 * gdb.base/default.exp: Fix output of "set language".
8714 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8716 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8717 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8719 * configure.ac: Remove checks for the make program.
8720 * configure: Re-generate.
8722 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8724 * gdb.python/py-recurse-unwind.c (main): Add loop.
8725 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8726 to read_register() and gdb.parse_and_eval(). Make each code
8727 call a separate case that can be individually tested.
8728 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8729 proc. Call cont_and_backtrace for each of the code paths that
8730 we want to test in the unwinder.
8732 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8734 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8735 the definition of struct S.
8737 2016-11-11 Catherine Moore <clm@codesourcery.com>
8739 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8741 2016-11-09 Pedro Alves <palves@redhat.com>
8743 * gdb.base/commands.exp (runto_or_return): New procedure.
8744 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8745 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8746 (progvar_simple_while_test, progvar_complex_if_while_test)
8747 (if_while_breakpoint_command_test)
8748 (infrun_breakpoint_command_test, breakpoint_command_test)
8749 (user_defined_command_test, watchpoint_command_test)
8750 (test_command_prompt_position, redefine_hook_test)
8751 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8752 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8753 multi_line_input and multi_line. Remove gdb_expect and
8754 gdb_stop_suppressing_tests uses.
8755 * lib/gdb.exp (valnum_re): New global.
8756 (multi_line_input): New procedure.
8758 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8760 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8762 (test_setup): Define with proc_with_prefix.
8763 (test_cli_inferior): Likewise.
8764 (test_cli_thread): Likewise.
8765 (test_cli_frame): Likewise.
8766 (test_cli_select_frame): Likewise.
8767 (test_cli_up_down): Likewise.
8768 (test_mi_thread_select): Likewise.
8769 (test_mi_stack_select_frame): Likewise.
8770 (test_cli_in_mi_inferior): Likewise.
8771 (test_cli_in_mi_thread): Likewise.
8772 (test_cli_in_mi_frame): Likewise.
8773 (top level): Do not use with_test_prefix_procname.
8775 2016-11-09 Pedro Alves <palves@redhat.com>
8777 * gdb.base/commands.exp (gdbvar_simple_if_test)
8778 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8779 (progvar_simple_if_test, progvar_simple_while_test)
8780 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8781 (infrun_breakpoint_command_test, breakpoint_command_test)
8782 (user_defined_command_test, watchpoint_command_test)
8783 (test_command_prompt_position, deprecated_command_test)
8784 (bp_deleted_in_command, temporary_breakpoint_commands)
8785 (stray_arg0_test, source_file_with_indented_comment)
8786 (recursive_source_test, if_commands_test)
8787 (error_clears_commands_left, redefine_hook_test)
8788 (redefine_backtrace_test): Use proc_with_prefix.
8789 * lib/gdb.exp (proc_with_prefix): New proc.
8791 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8793 * gdb.base/tui-layout.c: New file.
8794 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8795 disassembly window contains very long lines.
8797 2016-11-08 Tom Tromey <tom@tromey.com>
8799 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8802 2016-11-08 Tom Tromey <tom@tromey.com>
8804 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8807 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8809 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8811 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8813 * gdb.rust/simple.rs: Add test for univariant enums without
8814 discriminants and for encoded struct-like enums.
8816 2016-10-28 Pedro Alves <palves@redhat.com>
8818 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8819 gdb_test_multiple, tighten regexps and match symtabs and line
8820 tables incrementally.
8822 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8824 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8827 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8829 * gdb.base/exec-invalid-sysroot.exp: New file.
8831 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8833 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8835 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8837 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8839 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8841 * gdb.base/killed-outside.exp: Remove $options from a call to
8842 `prepare_for_testing'.
8844 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8846 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8847 Change test message.
8849 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8851 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8854 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8856 * gdb.trace/mi-trace-save.exp: New file.
8858 2016-10-13 Yao Qi <yao.qi@linaro.org>
8860 * gdb.base/code_elim.exp (get_var_address): Remove.
8861 * gdb.base/relocate.exp: Likewise.
8862 * gdb.base/shreloc.exp: Likewise.
8863 * lib/gdb.exp (get_var_address): New.
8865 2016-10-13 Yao Qi <yao.qi@linaro.org>
8867 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8868 floating point tests if $skip_float_test is false.
8870 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8872 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8873 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8875 Add 1 to argc so we guarantee distinct initial/modified argc values.
8877 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8879 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8881 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8883 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8884 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8885 * gdb.arch/vsx-regs.exp: Likewise.
8887 2016-10-07 Yao Qi <yao.qi@linaro.org>
8889 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8891 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8893 * gdb.python/python.exp: Test decode_line("*0").
8895 2016-10-06 Doug Evans <dje@google.com>
8897 * gdb.python/py-value.exp (test_value_creation): Add test for large
8898 unsigned 64-bit value.
8900 2016-10-06 Tom Tromey <tom@tromey.com>
8902 * gdb.compile/compile.exp: Change java tests to rust.
8903 * gdb.base/setshow.exp: Change java tests to rust.
8904 * gdb.base/default.exp: Remove java from language list.
8905 * README (Examples): Update language example.
8906 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8908 * lib/gdb.exp (skip_java_tests): Remove.
8909 * lib/java.exp: Remove.
8912 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8914 * gdb.arch/mips-fcr.exp: New test.
8915 * gdb.arch/mips-fcr.c: Source for the new test.
8917 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8919 * gdb.base/solib-disc.exp: Use `standard_output_file'
8922 2016-10-06 Pedro Alves <palves@redhat.com>
8924 * gdb.base/jit-simple-dl.c: New file.
8925 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8926 * gdb.base/jit-simple.c: ... this.
8927 * gdb.base/jit-simple.exp (jit_run): Delete.
8928 (build_jit): New proc.
8929 (jit_test_reread): Recompile either the main program or the shared
8930 library, depending on what is being tested. Skip changing address
8931 if caller wants to. Compare before/after addresses. If testing
8932 standalone, explicitly load the binary. Test "maint info
8934 (top level): Add "standalone vs shared lib" and "change address"
8935 vs "same address" axes.
8937 2016-10-06 Pedro Alves <palves@redhat.com>
8939 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8942 (jit_test_reread): Use with_test_prefix. Reload the main binary
8943 explicitly. Compare the before/after addresses of the JIT
8946 2016-08-15 Doug Evans <dje@google.com>
8948 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8949 for single bitfields is bool.
8950 * gdb.xml/tdesc-regs.exp: Ditto.
8952 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8954 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8956 2016-10-05 Yao Qi <yao.qi@linaro.org>
8958 * lib/gdb.exp (support_complex_tests): Return zero if
8959 gdb_skip_float_test return true.
8961 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8962 Simon Marchi <simon.marchi@ericsson.com>
8965 * gdb.mi/user-selected-context-sync.exp: New file.
8966 * gdb.mi/user-selected-context-sync.c: New file.
8968 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8969 Simon Marchi <simon.marchi@ericsson.com>
8972 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8973 =thread-select-event check.
8975 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8977 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8978 the compulsory L operand changes.
8979 * gdb.arch/powerpc-power.s: Likewise.
8981 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8983 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8984 * gdb.base/jit-attach-pie.c: New file.
8985 * gdb.base/jit-attach-pie.exp: New file.
8987 2016-09-28 Pedro Alves <palves@redhat.com>
8989 * gdb.base/infcall-input.c: New file.
8990 * gdb.base/infcall-input.exp: New file.
8992 2016-09-22 Yao Qi <yao.qi@linaro.org>
8994 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8995 (gdb_exit): Rename it to ...
8996 (gdbserver_gdb_exit): ... Close GDBserver.
8997 (gdb_exit): New proc, call gdbserver_gdb_exit.
8998 (mi_gdb_exit): Likewise.
9000 2016-09-22 Yao Qi <yao.qi@linaro.org>
9002 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9004 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9007 2016-09-22 Yao Qi <yao.qi@linaro.org>
9009 * lib/gdbserver-support.exp: Check the existence of
9010 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9012 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9014 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9016 2016-09-21 Tom Tromey <tom@tromey.com>
9019 * gdb.base/quit.exp: New file.
9021 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9023 * .gitignore: New file.
9025 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9027 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9030 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9032 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9034 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9036 * gdb.cp/casts.cc (decltype): Move it ...
9037 (main): ... with its call to ...
9038 * gdb.cp/casts03.cc: ... a new file.
9039 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9041 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9043 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9045 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9047 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9048 and sync up the test with tests in gas/testsuite/gas/ppc.
9049 * gdb.arch/powerpc-power.exp: Likewise.
9051 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9053 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9055 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9056 Jan Kratochvil <jan.kratochvil@redhat.com>
9058 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9059 make m1's definition to be different from m2's. Use 'dummy' as an
9060 argument for probe 'two'.
9062 2016-09-10 Jon Beniston <jon@beniston.com>
9064 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9067 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9069 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9070 variable declaration.
9071 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9072 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9073 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9074 received HWCAP as its argument.
9076 2016-09-06 Pedro Alves <palves@redhat.com>
9078 * gdb.base/new-ui-pending-input.c: New file.
9079 * gdb.base/new-ui-pending-input.exp: New file.
9080 * gdb.exp (clear_gdb_spawn_id): New procedure.
9081 (with_spawn_id): Check whether gdb_spawn_id exists before
9082 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9085 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9087 * gdb.base/float128.c: New file.
9088 * gdb.base/float128.exp: Likewise.
9089 * gdb.base/floatn.c: Likewise.
9090 * gdb.base/floatn.exp: Likewise.
9092 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9094 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9096 2016-09-05 Pedro Alves <palves@redhat.com>
9099 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9100 unwinders are immediately called as side effect of "source" or
9101 "disable unwinder" commands.
9102 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9104 2016-09-02 Yao Qi <yao.qi@linaro.org>
9106 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9107 is true and $type is "float" or "double".
9109 2016-09-02 Yao Qi <yao.qi@linaro.org>
9111 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9113 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9114 * gdb.base/call-rt-st.exp: Likewise.
9115 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9116 return value instead of gdb,skip_float_test.
9117 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9118 (do_function_calls): Use its return value instead of
9119 gdb,skip_float_test.
9120 * gdb.base/finish.exp: Likewise.
9121 * gdb.base/funcargs.exp: Likewise.
9122 * gdb.base/return.exp: Likewise.
9123 * gdb.base/return2.exp: Likewise.
9124 * gdb.base/varargs.exp: Likewise.
9125 * lib/gdb.exp (gdb_skip_float_test): Change it to
9126 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9128 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9130 * gdb.multi/tids.exp: Test "thread apply all".
9132 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9134 * gdb.base/default.exp (tty): Remove.
9136 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9138 * gdb.python/py-recurse-unwind.c: New file.
9139 * gdb.python/py-recurse-unwind.py: New file.
9140 * gdb.python/py-recurse-unwind.exp: New file.
9142 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9144 * gdb.base/set-inferior-tty.exp: New file.
9145 * gdb.base/set-inferior-tty.c: New file.
9147 2016-08-23 Pedro Alves <palves@redhat.com>
9150 * gdb.base/new-ui-echo.c: New file.
9151 * gdb.base/new-ui-echo.exp: New file.
9153 2016-08-23 Yao Qi <yao.qi@linaro.org>
9155 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9157 * gdb.server/connect-without-multi-process.exp (do_test):
9160 2016-08-23 Yao Qi <yao.qi@linaro.org>
9162 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9163 standalone_txt. Delete gdb_txt and standalone_txt on host
9164 and target. Spawn the binary on target. Copy files from
9167 2016-08-22 Pedro Alves <palves@redhat.com>
9170 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9171 with_test_prefix. Factor out bits to ...
9172 (test_no_vdso): ... this new procedure.
9174 2016-08-19 Carl Love <cel@us.ibm.com>
9176 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9177 maintaining separate logic for constructing the output path.
9178 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9179 * gdb.arch/ppc-dfp.exp: Likewise.
9180 * gdb.arch/ppc-fp.exp: Likewise.
9181 * gdb.arch/vsx-regs.exp: Likewise.
9182 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9183 binprefix for generating the additional binary files.
9185 2016-08-19 Pedro Alves <palves@redhat.com>
9187 * gdb.trace/mi-trace-frame-collected.exp
9188 (test_trace_frame_collected): On x32, expect two registers.
9190 2016-08-18 Carl Love <cel@us.ibm.com>
9192 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9193 and sync up the test with tests in gas/testsuite/gas/ppc.
9194 * gdb.arch/powerpc-power.exp: Likewise.
9196 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9198 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9199 expected error message.
9201 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9203 * gdb.multi/remove-inferiors.exp: New file.
9204 * gdb.multi/remove-inferiors.c: New file.
9206 2016-08-12 Yao Qi <yao.qi@linaro.org>
9208 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9211 2016-08-10 Pedro Alves <palves@redhat.com>
9214 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9217 2016-08-09 Pedro Alves <palves@redhat.com>
9218 Simon Marchi <simon.marchi@ericsson.com>
9221 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9222 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9224 2016-08-09 Pedro Alves <palves@redhat.com>
9227 * gdb.mi/mi-cmd-error.exp: New file.
9229 2016-08-09 Pedro Alves <palves@redhat.com>
9232 * gdb.base/signals-state-child.c: New file.
9233 * gdb.base/signals-state-child.exp: New file.
9234 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9236 2016-08-09 Pedro Alves <palves@redhat.com>
9238 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9240 2016-08-03 Tom Tromey <tom@tromey.com>
9243 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9245 2016-08-01 Yao Qi <yao.qi@linaro.org>
9247 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9248 variable mode to "multi-process" if $multi_process is 1, otherwise
9249 set it to "single-process".
9251 2016-08-01 Yao Qi <yao.qi@linaro.org>
9253 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9254 * gdb.cp/cpexprs.exp: Likewise.
9255 * gdb.cp/m-static.exp: Likewise.
9257 2016-07-26 Tom Tromey <tom@tromey.com>
9260 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9263 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9265 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9266 selecting assembly source files.
9267 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9268 assembly source files.
9269 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9270 assembly source files.
9271 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9272 selecting assembly source files.
9274 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9276 * gdb.base/new-ui.exp (do_test_invalid_args): New
9279 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9281 * gdb.btrace/reconnect.c: New file.
9282 * gdb.btrace/reconnect.exp: New file.
9284 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9286 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9287 to test_catch_syscall_group.
9288 (test_catch_syscall_group): New.
9290 2016-07-21 Tom Tromey <tom@tromey.com>
9292 * gdb.rust/simple.rs (main): Use empty struct expression.
9293 * gdb.rust/simple.exp: Add tests for empty struct expression.
9295 2016-07-21 Yao Qi <yao.qi@linaro.org>
9297 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9298 if gdb_skip_xml_test is true on some targets.
9300 2016-07-21 Yao Qi <yao.qi@linaro.org>
9302 * gdb.server/solib-list.exp: Unset last_loaded_file.
9304 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9306 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9307 "step into captured_main (args)".
9309 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9311 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9313 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9315 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9317 2016-07-19 Pedro Alves <palves@redhat.com>
9319 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9320 * gdb.opt/inline-bt.exp: Likewise.
9321 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9322 additional_flags=-Winline.
9323 * gdb.opt/inline-locals.exp: Likewise.
9324 * gdb.opt/inline-markers.c (ATTR): Define.
9325 (inlined_fn): Use it.
9327 2016-07-19 Yao Qi <yao.qi@linaro.org>
9329 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9330 (test_with_self): Remove some code. Remove argument executable.
9331 (top-level): Use do_self_tests.
9333 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9334 Don Breazeal <donb@codesourcery.com>
9336 * gdb.base/maint.exp: Escape paths used in regular expressions.
9337 * gdb.stabs/weird.exp: Likewise.
9339 2016-07-13 Tom Tromey <tom@tromey.com>
9341 PR python/15620, PR python/18620:
9342 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9343 (test_bkpt_events): New procs.
9345 2016-07-13 Tom Tromey <tom@tromey.com>
9348 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9350 (test_watchpoints): Likewise.
9351 (test_bkpt_pending): New proc.
9353 2016-07-13 Tom Tromey <tom@tromey.com>
9356 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9359 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9361 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9362 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9363 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9365 (g): Rename g_end_lbl to g_label.
9366 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9368 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9370 2016-07-12 Tom Tromey <tom@tromey.com>
9373 * gdb.python/py-unwind-maint.exp: Update tests.
9375 2016-07-12 Yao Qi <yao.qi@linaro.org>
9377 * lib/selftest-support.exp (selftest_setup): Match the output
9378 when captured_main is inlined.
9380 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9382 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9384 (print this%a, print this%b, print this): New tests.
9385 * gdb.fortran/derived-types.f90 (this): New object and
9388 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9390 * gdb.ada/arraydim.exp: Remove extra directory level in build
9393 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9395 * lib/ada.exp: Remove extra directory level in build directory.
9396 * gdb.ada/cond_lang.exp: Likewise.
9397 * gdb.ada/exec_changed.exp: Likewise.
9398 * gdb.ada/lang_switch.exp: Likewise.
9400 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9402 * simple.rs: Add test for raw pointer subscripting.
9403 * simple.exp: Add test expectations.
9405 2016-07-05 Yao Qi <yao.qi@linaro.org>
9407 * gdb.mi/mi-reverse.exp: Match =record-started output.
9409 2016-07-01 Pedro Alves <palves@redhat.com>
9411 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9413 (jit_reader_test): Test the jit reader's unwinder.
9414 * gdb.base/jithost.c (jit_function_00_code): New global.
9415 (main): Use memcpy to fill in the mmapped code, instead of poking
9416 bytes manually here.
9417 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9419 (read_debug_info): Save the function's range.
9420 (read_sp): New function.
9421 (unwind_frame): Use it. Also unwind RBP.
9422 (get_frame_id): Use read_sp.
9423 (gdb_init_reader): Use calloc instead of malloc.
9424 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9425 parameter. Use gdb_test_multiple.
9427 2016-07-01 Pedro Alves <palves@redhat.com>
9428 Antoine Tremblay <antoine.tremblay@ericsson.com>
9430 * gdb.threads/process-dies-while-detaching.c: New file.
9431 * gdb.threads/process-dies-while-detaching.exp: New file.
9433 2016-07-01 Pedro Alves <palves@redhat.com>
9435 * gdb.multi/watchpoint-multi-exit.c: New file.
9436 * gdb.multi/watchpoint-multi-exit.exp: New file.
9438 2016-06-30 Pedro Alves <palves@redhat.com>
9440 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9441 unset inferior_spawn_id.
9443 2016-06-30 Pedro Alves <palves@redhat.com>
9445 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9446 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9448 2016-06-29 Yao Qi <yao.qi@linaro.org>
9450 * gdb.base/return.c: Add copyright header.
9452 2016-06-29 Tom Tromey <tom@tromey.com>
9455 * gdb.python/py-framefilter.exp: Add tests for setting priority
9456 and disabling of non-existent frame filter.
9458 2016-06-29 Yao Qi <yao.qi@linaro.org>
9460 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9463 2016-06-28 Yao Qi <yao.qi@linaro.org>
9465 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9466 triplets. Start gdb, execute catch syscall, and continue. Check
9467 gdb's output to determine catch syscall is supported.
9469 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9471 * gdb.rust/simple.rs: Add test for returning unit in a function.
9472 * gdb.rust/simple.exp: Add expectation for functions returning
9475 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9477 * gdb.python/py-breakpoint-create-fail.c,
9478 gdb.python/py-breakpoint-create-fail.exp,
9479 gdb.python/py-breakpoint-create-fail.py: New testcase.
9481 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9484 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9485 * gdb.rust/simple.exp: Add test expectations for new NonZero
9488 2016-06-24 David Taylor <dtaylor@emc.com>
9490 * gdb.base/offsets.exp: New file.
9491 * gdb.base/offsets.c: New file.
9493 2016-06-23 Tom Tromey <tom@tromey.com>
9496 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9497 before any filters are loaded.
9499 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9501 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9502 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9504 * gdb.fortran/derived-type-function.exp: New file.
9505 * gdb.fortran/derived-type-function.f90: New file.
9508 2016-06-21 Pedro Alves <palves@redhat.com>
9510 * gdb.base/new-ui.exp: New file.
9511 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9512 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9513 (with_spawn_id): New procedure.
9515 2016-06-21 Pedro Alves <palves@redhat.com>
9517 * gdb.mi/mi-exec-run.exp: New file.
9519 2016-06-21 Pedro Alves <palves@redhat.com>
9521 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9522 breakpoint command's output on the main UI.
9523 (test_break): New procedure, factored out from calls in the top
9525 (top level): Use foreach_with_prefix to test MI as main UI and as
9528 2016-06-21 Pedro Alves <palves@redhat.com>
9530 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9531 (test_awatch_creation_and_listing)
9532 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9533 Remove 'type' parameter.
9534 (test_watchpoint_all): New parameter mi_mode. Remove
9536 (top level): Use foreach_with_prefix, and add main/separate UI MI
9539 2016-06-21 Pedro Alves <palves@redhat.com>
9541 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9542 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9543 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9544 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9545 (gdb_main_spawn_id, mi_spawn_id): Declare and
9547 (mi_create_inferior_pty): New procedure,
9548 factored out from default_mi_gdb_start.
9549 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9551 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9552 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9553 Use mi_create_inferior_pty.
9554 (mi_gdb_start): Use eval to pass down args list.
9556 2016-06-21 Pedro Alves <palves@redhat.com>
9558 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9559 * gdb.opt/inline-cmds.exp: Add MI tests.
9561 2016-06-21 Pedro Alves <palves@redhat.com>
9563 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9565 2016-06-21 Pedro Alves <palves@redhat.com>
9567 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9568 (top level): Use it instead of mi_execute_to.
9570 2016-06-21 Pedro Alves <palves@redhat.com>
9572 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9573 (cont_handler_str): New.
9574 (signal_stop_handler): Set stop_handler_str instead of printing to
9576 (continue_handler): Set cont_handler_str instead of printing to
9578 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9579 mi_send_resuming_command. Print stop_handler_str and
9580 cont_handler_str instead of expecting the python events print
9583 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9585 * gdb.base/jit-reader.exp: New file.
9586 * gdb.base/jithost.c: New file.
9587 * gdb.base/jithost.h: New file.
9588 * gdb.base/jitreader.c : New file.
9589 * gdb.base/jit-protocol.h: New file.
9591 2016-06-17 Yao Qi <yao.qi@linaro.org>
9593 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9594 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9595 and detach-on-fork. Adjust tests.
9596 (top level): Invoke break_cond_on_syscall with combinations of
9597 syscall, follow-fork-mode and detach-on-fork.
9599 2016-06-17 Yao Qi <yao.qi@linaro.org>
9601 * gdb.base/step-over-exit.c: New.
9602 * gdb.base/step-over-exit.exp: New.
9604 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9606 * gdb.base/float.exp: Add target check for nds32*-*-*.
9607 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9609 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9611 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9612 for unsupported target features.
9613 * gdb.base/call-rt-st.exp: Likewise.
9614 * gdb.base/call-sc.exp: Likewise.
9615 * gdb.base/call-signal-resume.exp: Likewise.
9616 * gdb.base/call-strs.exp: Likewise.
9617 * gdb.base/callexit.exp: Likewise.
9618 * gdb.base/callfuncs.exp: Likewise.
9619 * gdb.base/nodebug.exp: Likewise.
9620 * gdb.base/printcmds.exp: Likewise.
9621 * gdb.base/ptype.exp: Likewise.
9622 * gdb.base/structs.exp: Likewise.
9623 * gdb.base/unwindonsignal.exp: Likewise.
9624 * gdb.cp/gdb2495.exp: Likewise.
9625 * gdb.cp/templates.exp: Likewise.
9626 * gdb.cp/virtfunc.exp: Likewise.
9627 * gdb.threads/hand-call-in-threads.exp: Likewise.
9628 * gdb.threads/interrupted-hand-call.exp: Likewise.
9629 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9631 2016-06-10 Tom Tromey <tom@tromey.com>
9634 * gdb.rust/expr.exp: Add test for integer constant larger than
9637 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9639 * gdb.fortran/nested-funcs.exp: New.
9640 * gdb.fortran/nested-funcs.f90: New.
9642 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9644 * gdb.base/examine-backward.c: New file.
9645 * gdb.base/examine-backward.exp: New file.
9647 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9649 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9652 2016-06-02 Tom Tromey <tom@tromey.com>
9655 * gdb.python/py-shared.exp: Add solib_name test.
9657 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9659 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9661 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9664 * gdb.dwarf2/implref.exp: Rename to...
9665 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9666 * gdb.dwarf2/implref-array.c: New file.
9667 * gdb.dwarf2/implref-array.exp: Likewise.
9668 * gdb.dwarf2/implref-global.c: Likewise.
9669 * gdb.dwarf2/implref-global.exp: Likewise.
9670 * gdb.dwarf2/implref-struct.c: Likewise.
9671 * gdb.dwarf2/implref-struct.exp: Likewise.
9673 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9675 * gdb.trace/trace-condition.exp: Add 64bit tests.
9677 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9679 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9681 (main): Adapt to 8 to 64 bits types.
9682 * gdb.trace/trace-condition.exp: Add new tests.
9684 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9686 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9688 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9690 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9691 Move condition tests...
9692 * gdb.trace/trace-condition.exp: Here.
9694 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9696 * gdb.trace/trace-condition.exp: Add counter-case tests.
9698 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9701 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9702 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9704 2016-05-27 Pedro Alves <palves@redhat.com>
9706 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9708 (top level): Call it, and bail out of DejaGnu is known to be bad.
9710 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9712 * gdb.base/whatis.c: Extend the test case.
9713 * gdb.base/whatis.exp: Add additional tests.
9715 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9717 * gdb.fortran/type.f90: Add pointer variable.
9718 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9720 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9722 * gdb.fortran/vla-type.exp: Fix testcase name.
9724 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9726 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9728 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9730 * gdb.fortran/type.f90: Add nested structures.
9731 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9732 * gdb.fortran/derived-type.exp: Adapt expected output.
9733 * gdb.fortran/vla-type.exp: Adapt expected output.
9735 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9737 * gdb.fortran/whatis_type.exp: Adapt expected output.
9739 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9741 * gdb.fortran/print_type.exp: Fix expected output.
9742 * gdb.fortran/whatis_type.exp: Fix expected output.
9744 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9746 * gdb.fortran/whatis_type.exp: Use multi_line.
9748 2016-05-24 Tom Tromey <tom@tromey.com>
9751 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9752 use value as an index.
9754 2016-05-23 Tom Tromey <tom@tromey.com>
9757 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9760 2016-05-24 Pedro Alves <palves@redhat.com>
9763 * gdb.threads/clone-attach-detach.c: New file.
9764 * gdb.threads/clone-attach-detach.exp: New file.
9766 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9768 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9770 2016-05-23 Tom Tromey <tom@tromey.com>
9772 PR python/19438, PR python/18393:
9773 * gdb.python/py-progspace.exp: Add "dir" test.
9774 * gdb.python/py-objfile.exp: Add "dir" test.
9776 2016-05-23 Yao Qi <yao.qi@linaro.org>
9778 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9779 * gdb.arch/thumb2-it.exp: Likewise.
9781 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9783 * gdb.mi/mi-threads-interrupt.c: New file.
9784 * gdb.mi/mi-threads-interrupt.exp: New file.
9786 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9789 * gdb.mi/mi-async-run.exp: New file.
9790 * gdb.mi/mi-async-run.c: New file.
9792 2016-05-17 Tom Tromey <tom@tromey.com>
9793 Manish Goregaokar <manishsmail@gmail.com>
9795 * lib/rust-support.exp: New file.
9796 * lib/gdb.exp (skip_rust_tests): New proc.
9797 (build_executable_from_specs): Handle rust.
9798 * lib/future.exp (gdb_find_rustc): New proc.
9799 (gdb_default_target_compile): Handle rust.
9800 * gdb.rust/expr.exp: New file.
9801 * gdb.rust/generics.exp: New file.
9802 * gdb.rust/generics.rs: New file.
9803 * gdb.rust/methods.exp: New file.
9804 * gdb.rust/methods.rs: New file.
9805 * gdb.rust/modules.exp: New file.
9806 * gdb.rust/modules.rs: New file.
9807 * gdb.rust/simple.exp: New file.
9808 * gdb.rust/simple.rs: New file.
9810 2016-05-17 Tom Tromey <tom@tromey.com>
9812 * gdb.base/default.exp (set language): Add rust.
9814 2016-05-17 Tom Tromey <tom@tromey.com>
9816 * gdb.gdb/unittest.exp: New file.
9818 2016-05-16 Yao Qi <yao.qi@linaro.org>
9820 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9821 shell_prompt. Update shell_prompt_re.
9823 2016-05-12 Doug Evans <dje@google.com>
9826 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9827 $options when building executable.
9828 * gdb.dwarf2/fission-loclists-pie.S: New file.
9829 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9831 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9833 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9834 of [is_remote target],
9836 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9838 * lib/gdb.exp (use_gdb_stub): New procedure.
9840 2016-05-03 Yunlian Jiang <yunlian@google.com>
9841 Doug Evans <dje@google.com>
9844 * gdb.dwarf2/dwp-sepdebug.c: New file.
9845 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9847 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9849 * gdb.base/detach.exp: Remove is_remote check.
9851 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9853 * gdb.base/annota-input-while-running.exp: Don't check for
9854 [is_remote target]. Enable annotations after running to main.
9855 Remove unused "set test..." line.
9857 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9859 * gdb.trace/trace-enable-disable.exp: New file.
9860 * gdb.trace/trace-enable-disable.c: New file.
9862 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9864 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9865 use it in info sharedlibrary test.
9866 * gdb.trace/ftrace-lock.exp: Likewise.
9867 * gdb.trace/ftrace.exp: Likewise.
9868 * gdb.trace/range-stepping.exp: Likewise.
9869 * gdb.trace/trace-break.exp: Likewise.
9870 * gdb.trace/trace-condition.exp: Likewise.
9871 * gdb.trace/trace-mt.exp: Likewise.
9873 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9875 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9876 (gdb_load_shlib): ... this.
9877 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9879 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9880 * gdb.base/ctxobj.exp: Likewise.
9881 * gdb.base/dprintf-pending.exp: Likewise.
9882 * gdb.base/dso2dso.exp: Likewise.
9883 * gdb.base/fixsection.exp: Likewise.
9884 * gdb.base/gcore-relro.exp: Likewise.
9885 * gdb.base/gdb1555.exp: Likewise.
9886 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9887 * gdb.base/gnu-ifunc.exp: Likewise.
9888 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9889 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9890 * gdb.base/pending.exp: Likewise.
9891 * gdb.base/print-file-var.exp: Likewise.
9892 * gdb.base/print-symbol-loading.exp: Likewise.
9893 * gdb.base/shlib-call.exp: Likewise.
9894 * gdb.base/shreloc.exp: Likewise.
9895 * gdb.base/so-impl-ld.exp: Likewise.
9896 * gdb.base/solib-disc.exp: Likewise.
9897 * gdb.base/solib-nodir.exp: Likewise.
9898 * gdb.base/solib-overlap.exp: Likewise.
9899 * gdb.base/solib-symbol.exp: Likewise.
9900 * gdb.base/solib-weak.exp (do_test): Likewise.
9901 * gdb.base/sym-file.exp: Likewise.
9902 * gdb.base/symtab-search-order.exp: Likewise.
9903 * gdb.base/type-opaque.exp: Likewise.
9904 * gdb.base/unload.exp: Likewise.
9905 * gdb.base/watchpoint-solib.exp: Likewise.
9906 * gdb.compile/compile.exp: Likewise.
9907 * gdb.cp/gdb2384.exp: Likewise.
9908 * gdb.cp/infcall-dlopen.exp: Likewise.
9909 * gdb.cp/re-set-overloaded.exp: Likewise.
9910 * gdb.fortran/library-module.exp: Likewise.
9911 * gdb.opt/solib-intra-step.exp: Likewise.
9912 * gdb.python/py-finish-breakpoint.exp: Likewise.
9913 * gdb.python/py-shared.exp: Likewise.
9914 * gdb.reverse/solib-precsave.exp: Likewise.
9915 * gdb.reverse/solib-reverse.exp: Likewise.
9916 * gdb.server/solib-list.exp: Likewise.
9917 * gdb.threads/dlopen-libpthread.exp: Likewise.
9918 * gdb.threads/tls-shared.exp: Likewise.
9919 * gdb.threads/tls-so_extern.exp: Likewise.
9920 * gdb.trace/change-loc.exp: Likewise.
9921 * gdb.trace/ftrace-lock.exp: Likewise.
9922 * gdb.trace/ftrace.exp: Likewise.
9923 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9924 * gdb.trace/pending.exp: Likewise.
9925 * gdb.trace/range-stepping.exp: Likewise.
9926 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9927 (strace_info_marker): Likewise.
9928 (strace_probe_marker): Likewise.
9929 (strace_trace_on_same_addr): Likewise.
9930 (strace_trace_on_diff_addr): Likewise.
9931 * gdb.trace/trace-break.exp: Likewise.
9932 * gdb.trace/trace-condition.exp: Likewise.
9933 * gdb.trace/trace-mt.exp: Likewise.
9935 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9937 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9938 result of gdb_remote_download.
9939 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9940 * gdb.base/dso2dso.exp: Likewise.
9941 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9942 * gdb.base/print-file-var.exp: Likewise.
9943 * gdb.base/shlib-call.exp: Likewise.
9944 * gdb.base/shreloc.exp: Likewise.
9945 * gdb.base/solib-overlap.exp: Likewise.
9946 * gdb.base/solib-weak.exp (do_test): Likewise.
9947 * gdb.base/unload.exp: Likewise.
9949 2016-04-27 Yao Qi <yao.qi@linaro.org>
9951 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9954 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9956 * vla-type.exp: Print structure from toplevel.
9958 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9960 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9962 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9965 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9967 * gdb.fortran/vla-type.f90: New file.
9968 * gdb.fortran/vla-type.exp: New file.
9970 2016-04-25 Yao Qi <yao.qi@linaro.org>
9972 * gdb.base/branch-to-self.c: New file.
9973 * gdb.base/branch-to-self.exp: New file.
9975 2016-04-22 Yao Qi <yao.qi@linaro.org>
9977 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9980 2016-04-22 Yao Qi <yao.qi@linaro.org>
9982 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9983 * gdb.base/annota3.exp: Likewise.
9985 2016-04-22 Yao Qi <yao.qi@linaro.org>
9987 * gdb.reverse/step-precsave.exp: Do one step and test program
9988 stops in "callee" and do multiple steps until program goes out
9990 * gdb.reverse/step-reverse.exp: Likewise.
9992 2016-04-22 Yao Qi <yao.qi@linaro.org>
9994 * gdb.trace/signal.exp: Also pass if
9995 $tracepoint_hits($i) > $iterations.
9997 2016-04-22 Yao Qi <yao.qi@linaro.org>
9999 * gdb.trace/signal.c: New file.
10000 * gdb.trace/signal.exp: New file.
10002 2016-04-19 Doug Evans <xdje42@gmail.com>
10004 * gdb.base/bad-file.exp: New file.
10006 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10008 * gdb.dwarf2/implref.exp: New file.
10010 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10012 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10013 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10014 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10015 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10016 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10017 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10018 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10019 * lib/fortran.exp (fortran_int4): New procedure.
10020 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10021 (fortran_logical4): Likewise.
10023 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10025 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10027 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10029 * lib/compiler.c: Add Intel specific preprocessor macros.
10030 * lib/compiler.cc: Likewise.
10032 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10034 * gdb.server/connect-with-no-symbol-file.c: New file.
10035 * gdb.server/connect-with-no-symbol-file.exp: New file.
10037 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10039 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10041 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10043 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10044 standard output directory.
10046 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10048 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10050 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10052 * gdb.btrace/instruction_history.c (loop): Add declaration.
10054 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10056 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10058 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10060 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10061 parentheses to print.
10062 (continue_handler): Likewise.
10064 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10066 * gdb.server/solib-list.exp: Remove is_remote check.
10067 Pass shlib= to gdb_compile. Don't link shared library with
10068 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10069 Run binary filename through "readlink -f" on the target.
10071 2016-04-08 Pedro Alves <palves@redhat.com>
10073 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10074 interpreter filename as argument to gdbserver_spawn.
10075 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10076 Return empty if $last_loaded_file does not exist.
10078 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10080 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10081 * gdb.base/jit-main.c: Use exit after usage.
10083 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10085 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10086 GDBHISTSIZE prior to the tests.
10087 * gdb.base/gdbinit-history.exp: Likewise.
10089 2016-04-07 Pedro Alves <palves@redhat.com>
10091 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10092 instead of build_executable. Use gdb_load_shlibs.
10094 2016-04-07 Yao Qi <yao.qi@linaro.org>
10096 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10097 Execute "si" command.
10099 2016-04-07 Yao Qi <yao.qi@linaro.org>
10101 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10102 number instead of the comments on some line.
10104 2016-04-06 Don Breazeal <donb@codesourcery.com>
10106 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10107 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10109 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10111 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10112 standard_output_file. Remove unused binfile variable.
10114 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10116 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10117 * gdb.python/py-mi-objfile.exp: Match "list main" output
10120 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10122 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10125 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10127 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10129 * gdb.trace/ftrace.exp: Likewise.
10130 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10132 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10133 (gdb_load_shlibs): Copy libraries to test directory when testing
10134 natively. Only set solib-search-path if testing remotely.
10135 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10137 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10139 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10140 gdb_download. Use it even if the target is not remote.
10141 * gdb.base/jit.exp (compile_jit_test): Likewise.
10142 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10143 output directory if the destination board is local, otherwise use
10144 the standard remote_download from DejaGnu.
10145 (gdb_download): Remove.
10146 (gdb_load_shlibs): Use gdb_remote_download instead of
10148 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10149 Use gdb_remote_download instead of gdb_download. Use it even if
10150 the target is not remote.
10151 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10152 instead of gdb_download.
10154 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10156 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10157 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10160 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10163 * gdb.base/printcmds.exp: Add artificial arrays tests.
10165 2016-03-31 Pedro Alves <palves@redhat.com>
10168 * gdb.base/jit-main.c: Include unistd.h.
10169 (ATTACH): Define to 0 if not already defined.
10170 (wait_for_gdb, mypid): New globals.
10171 (WAIT_FOR_GDB): New macro.
10172 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10173 some breakpoint locations.
10174 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10176 (one_jit_test): Add REATTACH parameter, and handle it. Use
10177 continue_to_test_location.
10178 (top level): Test attach, and adjusts calls to one_jit_test.
10180 2016-03-31 Pedro Alves <palves@redhat.com>
10183 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10184 BINSUFFIX parameter, and handle it.
10185 (top level): Adjust calls compile_jit_test.
10187 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10190 * gdb.python/py-mi-events-gdb.py: New file.
10191 * gdb.python/py-mi-events.c: New file.
10192 * gdb.python/py-mi-events.exp: New file.
10194 2016-03-30 Yao Qi <yao.qi@linaro.org>
10196 * gdb.reverse/until-precsave.exp: Match function name only.
10197 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10198 Move malloc to a condition block.
10199 * gdb.reverse/until-reverse.exp: Match function name only.
10201 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10203 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10204 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10205 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10206 variable for GPR 0 instead of assuming it is register 0.
10207 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10208 * lib/trace-support.exp: Add s390 registers.
10210 2016-03-29 Yao Qi <yao.qi@linaro.org>
10212 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10214 2016-03-24 Yao Qi <yao.qi@linaro.org>
10216 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10219 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10221 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10222 maintaining separate logic for constructing the output path.
10224 2016-03-16 Don Breazeal <donb@codesourcery.com>
10226 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10227 Retry fork and waitpid on interrupted system call errors.
10228 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10229 Use with_timeout_factor to increase timeout by factor of 10.
10231 2016-03-15 Don Breazeal <donb@codesourcery.com>
10233 * gdb.cp/scope-err.cc: New test program.
10234 * gdb.cp/scope-err.exp: New test script.
10235 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10236 lines and "set breakpoint here" comment.
10237 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10238 Fixed some whitespace and format issues.
10239 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10240 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10242 2016-03-15 Doug Evans <dje@google.com>
10244 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10245 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10246 All callers updated. Add tests for enums, mixed flags register.
10248 2016-03-15 Doug Evans <dje@google.com>
10250 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10251 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10253 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10255 * gdb.base/default.exp: Add $_as_string to the list of expected
10256 convenience functions.
10258 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10260 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10262 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10264 * gdb.python/py-as-string.exp: New file.
10265 * gdb.python/py-as-string.c: New file.
10267 2016-03-09 Pedro Alves <palves@redhat.com>
10269 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10270 signal" -> "Thread NN received signal" output change.
10271 * gdb.threads/ia64-sigill.exp: Likewise.
10272 * gdb.threads/linux-dp.exp: Likewise.
10273 * gdb.threads/manythreads.exp: Likewise.
10274 * gdb.threads/pending-step.exp: Likewise.
10275 * gdb.threads/print-threads.exp: Likewise.
10276 * gdb.threads/sigstep-threads.exp: Likewise.
10277 * gdb.threads/staticthreads.exp: Likewise.
10278 * gdb.threads/tls.exp: Likewise.
10280 2016-03-09 Pedro Alves <palves@redhat.com>
10282 * gdb.base/command-line-input.exp: New file.
10284 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10286 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10287 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10288 * gdb.trace/pending.exp: Accept leading dot before function name.
10289 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10290 * lib/trace-support.exp: Set registers for ppc.
10292 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10294 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10295 use it for disassembly; accept .main in addition to main in backtrace.
10297 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10298 Marcin Kościelnicki <koriakin@0x04.net>
10300 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10301 (gdb_recursion_test_ptr): New global variable.
10302 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10303 gdb_recursion_test.
10304 (gdb_c_test): Ditto.
10306 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10308 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10311 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10313 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10314 (bar): Add bar_start_lbl label.
10315 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10316 of foo/bar for emitting DWARF and tracing.
10318 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10320 * analyze-racy-logs.py: Set executable bit.
10322 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10324 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10325 (CHECK_TARGET_TMP): Likewise.
10326 (check-single-racy): New rule.
10327 (check-parallel-racy): Likewise.
10328 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10329 (do-check-parallel-racy): New rule.
10330 (check-racy/%.exp): Likewise.
10331 * README (Racy testcases): New section.
10332 * analyze-racy-logs.py: New file.
10334 2016-03-03 Doug Evans <dje@google.com>
10336 * gdb.base/skip.exp: Use with_test_prefix.
10338 2016-03-03 Yao Qi <yao.qi@linaro.org>
10340 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10341 Invoke step_over_syscall "clone" and break_cond_on_syscall
10343 * gdb.base/step-over-clone.c: New file.
10345 2016-03-03 Yao Qi <yao.qi@linaro.org>
10347 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10350 2016-03-03 Yao Qi <yao.qi@linaro.org>
10352 * gdb.base/disp-step-fork.c: Rename to ...
10353 * gdb.base/step-over-fork.c: ... it. New file.
10354 * gdb.base/disp-step-vfork.c: Rename to ...
10355 * gdb.base/step-over-vfork.c: ... it. New file.
10356 * gdb.base/disp-step-syscall.exp: Rename to ...
10357 * gdb.base/step-over-syscall.exp: ... it. New file.
10358 (disp_step_cross_syscall): Rename to ...
10359 (step_over_syscall): ... it.
10361 2016-03-03 Yao Qi <yao.qi@linaro.org>
10363 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10364 If target supports condition evaluation on target, invoke
10365 break_cond_on_syscall for fork and vfork.
10367 2016-03-03 Yao Qi <yao.qi@linaro.org>
10369 * gdb.base/disp-step-syscall.exp: Don't invoke
10370 support_displaced_stepping.
10371 (disp_step_cross_syscall): Test with displaced stepping off and
10374 2016-03-03 Yao Qi <yao.qi@linaro.org>
10376 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10379 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10382 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10384 * gdb.fortran/vla-history.exp: Remove breakpoint.
10386 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10388 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10391 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10393 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10396 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10398 * gdb.mi/vla.f90: Nullify pointer after declaration.
10400 2016-03-01 Pedro Alves <palves@redhat.com>
10402 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10404 2016-03-01 Pedro Alves <palves@redhat.com>
10406 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10407 before anything else.
10408 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10410 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10411 before anything else.
10412 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10414 2016-03-01 Pedro Alves <palves@redhat.com>
10416 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10418 2016-03-01 Yao Qi <yao.qi@linaro.org>
10420 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10421 prepare_for_testing.
10423 2016-03-01 Yao Qi <yao.qi@linaro.org>
10425 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10427 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10429 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10430 manually constructing the output path.
10432 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10434 * gdb.arch/s390-stackless.S: New.
10435 * gdb.arch/s390-stackless.exp: New.
10437 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10439 * gdb.dlang/circular.c: New file.
10440 * gdb.dlang/circular.exp: New file.
10442 2016-02-26 Yao Qi <yao.qi@linaro.org>
10444 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10445 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10446 (testcases): Update.
10448 2016-02-26 Yao Qi <yao.qi@linaro.org>
10450 * gdb.reverse/aarch64.c: Rename to ...
10451 * gdb.reverse/insn-reverse.c: ... it.
10452 * gdb.reverse/aarch64.exp: Rename to ...
10453 * gdb.reverse/insn-reverse.exp: ... it.
10455 2016-02-26 Yao Qi <yao.qi@linaro.org>
10457 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10458 (testcase_ftype): New.
10459 (testcases): New array.
10460 (n_testcases): New.
10461 (main): Call each element in testcases.
10462 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10463 (read_testcase): New.
10464 Do the tests in a loop.
10466 2016-02-25 Yao Qi <yao.qi@linaro.org>
10468 * gdb.base/branches.c: Remove.
10470 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10473 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10475 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10477 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10479 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10481 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10482 change x86_64 call_insn to 'callq'.
10484 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10486 * gdb.trace/tfile-avx.c: Move to...
10487 * gdb.trace/tracefile-pseudo-reg.c: Here.
10488 * gdb.trace/tfile-avx.exp: Move to...
10489 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10491 2016-02-24 Gary Benson <gbenson@redhat.com>
10493 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10496 2016-02-23 Doug Evans <dje@google.com>
10498 * gdb.base/skip.c (test_skip): New function.
10499 (end_test_skip_file_and_function): New function.
10500 (test_skip_file_and_function): New function.
10501 * gdb.base/skip1.c (test_skip): New function.
10502 (skip1_test_skip_file_and_function): New function.
10503 * gdb.base/skip.exp: Add tests for new skip options.
10504 * gdb.base/skip-solib.exp: Update expected output.
10505 * gdb.perf/skip-command.cc: New file.
10506 * gdb.perf/skip-command.exp: New file.
10507 * gdb.perf/skip-command.py: New file.
10509 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10511 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10512 info registers pattern.
10514 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10516 * lib/future.exp: Add D support.
10517 (gdb_find_gdc): New proc.
10518 (gdb_default_target_compile): Add D support.
10520 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10522 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10524 (trace_speed_test): Determine the iteration count for a time
10525 between 15..30 seconds.
10527 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10529 * gdb.arch/i386-mpx-sigsegv.c: New file.
10530 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10531 * gdb.arch/i386-mpx-simple_segv.c: New file.
10532 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10534 2016-02-18 Yao Qi <yao.qi@linaro.org>
10536 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10537 Don't call setup_kfail.
10539 2016-02-18 Yao Qi <yao.qi@linaro.org>
10541 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10542 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10544 2016-02-16 Doug Evans <dje@google.com>
10546 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10547 * gdb.base/skip1.c: Ditto.
10548 * gdb.base/skip.exp: Whitespace cleanup.
10550 2016-02-16 Don Breazeal <donb@codesourcery.com>
10553 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10554 Remove kfail for PR remote/19496.
10556 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10558 * lib/gdb.exp (standard_temp_file): Return a path specific to
10559 the runtest invocation.
10561 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10563 * gdb.trace/save-trace.exp: Change relative path to be in the
10564 standard output directory.
10566 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10568 * gdb.arch/i386-prologue.c: Add missing prototypes.
10570 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10572 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10573 * gdb.arch/i386-prologue.exp: Likewise.
10574 * gdb.arch/i386-size.exp: Likewise.
10576 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10578 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10579 define object file path.
10580 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10582 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10583 standard_output_file to define binfile.
10585 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10587 Fix compatibility with recent gfortran-5.3.1.
10588 * gdb.fortran/vla-history.exp (print vla1 allocated)
10589 (print vla2 allocated, print $2, print $3): Remove
10590 (print $4): Rename to ...
10591 (print $2): ... here.
10592 (print $9): Rename to ...
10593 (print $5): ... here.
10594 (print $10): Rename to ...
10595 (print $6): ... here.
10596 * gdb.fortran/vla.f90: Add pvla initialization.
10598 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10600 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10602 * gdb.fortran/vla-value-sub.exp: Likewise.
10604 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10606 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10608 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10610 * i386-biarch-core.exp: Define corefile using
10611 standard_output_file.
10613 2016-02-12 Yao Qi <yao.qi@linaro.org>
10615 * gdb.arch/arm-single-step-kernel-helper.c: New.
10616 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10618 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10620 * gdb.btrace/tailcall-only.exp: New.
10621 * gdb.btrace/tailcall-only.c: New.
10622 * gdb.btrace/x86_64-tailcall-only.S: New.
10623 * gdb.btrace/i686-tailcall-only.S: New.
10625 2016-02-11 Pedro Alves <palves@redhat.com>
10627 * README (Parallel testing): Add missing double quotes.
10629 2016-02-11 Pedro Alves <palves@redhat.com>
10631 * README (Parallel testing): New section.
10632 (GDB_PARALLEL): Rewrite.
10633 (FORCE_PARALLEL): Document.
10635 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10637 * gdb.trace/tfile-avx.c: New test.
10638 * gdb.trace/tfile-avx.exp: New test.
10640 2016-02-09 Keith Seitz <keiths@redhat.com>
10642 PR breakpoints/19546
10643 * gdb.base/infcall-exec.c: New file.
10644 * gdb.base/infcall-exec2.c: New file.
10645 * gdb.base/infcall-exec.exp: New file.
10647 2016-02-09 Keith Seitz <keiths@redhat.com>
10649 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10650 (toplevel): Call test_bkpt_address.
10652 2016-02-09 Keith Seitz <keiths@redhat.com>
10655 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10656 (toplevel): Call test_bkpt_address.
10658 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10660 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10662 * configure: Regenerate.
10664 2016-02-09 Pedro Alves <palves@redhat.com>
10666 PR breakpoints/19548
10667 * gdb.base/execl-update-breakpoints.c (some_function): New
10670 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10671 Tighten expected GDB output.
10673 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10675 * Makefile.in (ALL_SUBDIRS): Remove.
10676 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10677 (distclean maintainer-clean realclean): Likewise.
10678 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10679 * configure: Regenerate.
10680 * gdb.ada/Makefile.in: Delete.
10681 * gdb.arch/Makefile.in: Likewise.
10682 * gdb.asm/Makefile.in: Likewise.
10683 * gdb.base/Makefile.in: Likewise.
10684 * gdb.btrace/Makefile.in: Likewise.
10685 * gdb.cell/Makefile.in: Likewise.
10686 * gdb.compile/Makefile.in: Likewise.
10687 * gdb.cp/Makefile.in: Likewise.
10688 * gdb.disasm/Makefile.in: Likewise.
10689 * gdb.dlang/Makefile.in: Likewise.
10690 * gdb.dwarf2/Makefile.in: Likewise.
10691 * gdb.fortran/Makefile.in: Likewise.
10692 * gdb.gdb/Makefile.in: Likewise.
10693 * gdb.go/Makefile.in: Likewise.
10694 * gdb.guile/Makefile.in: Likewise.
10695 * gdb.java/Makefile.in: Likewise.
10696 * gdb.linespec/Makefile.in: Likewise.
10697 * gdb.mi/Makefile.in: Likewise.
10698 * gdb.modula2/Makefile.in: Likewise.
10699 * gdb.multi/Makefile.in: Likewise.
10700 * gdb.objc/Makefile.in: Likewise.
10701 * gdb.opencl/Makefile.in: Likewise.
10702 * gdb.opt/Makefile.in: Likewise.
10703 * gdb.pascal/Makefile.in: Likewise.
10704 * gdb.perf/Makefile.in: Likewise.
10705 * gdb.python/Makefile.in: Likewise.
10706 * gdb.reverse/Makefile.in: Likewise.
10707 * gdb.server/Makefile.in: Likewise.
10708 * gdb.stabs/Makefile.in: Likewise.
10709 * gdb.threads/Makefile.in: Likewise.
10710 * gdb.trace/Makefile.in: Likewise.
10711 * gdb.xml/Makefile.in: Likewise.
10712 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10714 (standard_output_file): Remove check for GDB_PARALLEL, always
10715 return path in outputs/$subdir/$testname.
10717 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10719 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10720 (site.exp): Assign abs_srcdir to tcl's srcdir.
10722 2016-02-04 Yao Qi <yao.qi@linaro.org>
10724 * gdb.base/foll-exec-mode.c: Include limits.h.
10725 (main): Add parameters argc and argv. Get directory from
10727 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10729 * gdb.base/foll-exec.c: Include limits.h.
10730 (main): Add parameters argc and argv.
10731 Get directory from argv[0].
10732 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10733 Adjust tests on the number of lines as source code changed.
10734 * gdb.base/foll-vfork-exit.c: Include limits.h.
10735 (main): Add one line of statement before vfork.
10736 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10737 (main): Add parameters argc and argv. Get directory from
10739 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10740 (setup_gdb): Set tbreak to skip some source lines.
10741 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10742 (main): Add parameters argc and argv. Get directory from
10744 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10746 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10747 (main): Add parameters argc and argv. Get directory from
10749 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10752 2016-02-01 Doug Evans <dje@google.com>
10754 * gdb.base/skip.exp: Clean up multiple references to same test name.
10756 2016-02-01 Pedro Alves <palves@redhat.com>
10759 * gdb.threads/forking-threads-plus-breakpoint.exp
10760 (displaced_stepping_supported): New global.
10761 (probe_displaced_stepping_support): New procedure.
10762 (do_test): Add 'displaced' parameter, and use it.
10763 (top level): Check for displaced stepping support. Add displaced
10764 stepping on/off testing axis.
10766 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10768 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10769 pointer. Don't perform further tests on the unassociated pointer
10770 if the first test fails.
10772 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10774 * gdb.base/max-value-size.c: New file.
10775 * gdb.base/max-value-size.exp: New file.
10776 * gdb.base/huge.exp: Disable max-value-size for this test.
10778 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10780 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10782 2016-01-28 Yao Qi <yao.qi@linaro.org>
10784 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10786 2016-01-25 Pedro Alves <palves@redhat.com>
10789 * gdb.base/fork-running-state.c: New file.
10790 * gdb.base/fork-running-state.exp: New file.
10792 2016-01-25 Pedro Alves <palves@redhat.com>
10795 * gdb.base/catch-fork-kill.c: New file.
10796 * gdb.base/catch-fork-kill.exp: New file.
10798 2016-01-25 Pedro Alves <palves@redhat.com>
10800 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10801 Delete, moved to lib/gdb.exp.
10802 * gdb.threads/forking-threads-plus-breakpoint.exp
10803 (foreach_with_prefix): Likewise.
10804 * gdb.threads/process-dies-while-handling-bp.exp
10805 (foreach_with_prefix): Likewise.
10806 * lib/gdb.exp (foreach_with_prefix): New procedure.
10808 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10810 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10811 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10813 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10815 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10818 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10819 Pedro Alves <palves@redhat.com>
10821 Fix testsuite compatibility with Guile.
10822 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10825 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10827 Fix testsuite compatibility with Guile.
10828 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10829 (thread 1): New test for backtrace through signal handler.
10831 2016-01-22 Yao Qi <yao.qi@linaro.org>
10834 * gdb.base/multi-forks.c: Include
10835 ../lib/unbuffer_output.c
10836 (main): Call gdb_unbuffer_output.
10838 2016-01-21 Doug Evans <dje@google.com>
10840 * lib/ada.exp (gdb_compile_ada): Fix typo.
10842 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10844 * gdb.base/break-fun-addr.exp: New file.
10845 * gdb.base/break-fun-addr1.c: New file.
10846 * gdb.base/break-fun-addr2.c: New file.
10848 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10850 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10851 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10854 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10856 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10857 when GDB can not set the vector return value. Add more comments
10860 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10862 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10865 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10867 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10869 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10871 * Makefile.in (check-single): Pass --status to runtest.
10872 (check/%.exp): Likewise.
10874 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10876 * Makefile.in (check-parallel): Propagate return code from make
10879 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10881 * gdb.trace/ftrace.exp: Fix expected message on continue.
10882 * gdb.trace/pending.exp: Fix expected message on continue.
10883 * gdb.trace/trace-break.exp: Fix expected message on continue.
10885 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10887 * lib/gdb.exp (gdb_test): Remove unused global references.
10889 2016-01-18 Pedro Alves <palves@redhat.com>
10891 * gdb.base/async-shell.exp: Adjust expected output.
10892 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10893 * gdb.base/siginfo-thread.exp: Adjust expected output.
10894 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10895 * gdb.java/jnpe.exp: Adjust expected output.
10896 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10897 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10898 * gdb.threads/leader-exit.exp: Adjust expected output.
10899 * gdb.threads/manythreads.exp: Adjust expected output.
10900 * gdb.threads/pthreads.exp: Adjust expected output.
10901 * gdb.threads/schedlock.exp: Adjust expected output.
10902 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10903 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10905 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10907 * gdb.threads/sigthread.exp: Adjust expected output.
10908 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10910 2016-01-18 Yao Qi <yao.qi@linaro.org>
10912 * gdb.guile/scm-section-script.c: Replace @progbits with
10914 * gdb.python/py-section-script.c: Likewise.
10916 2016-01-15 Pedro Alves <palves@redhat.com>
10918 * gdb.multi/tids.exp: Test star wildcard ranges.
10920 2016-01-15 Pedro Alves <palves@redhat.com>
10922 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10923 command from "thread apply" invocation.
10924 (thr_apply_info_thr_invalid): Default the expected output to the
10926 (top level): Add tests that use convenience variables. Add tests
10927 for "thread apply" with a valid TID list, but missing the command.
10929 2016-01-13 Pedro Alves <palves@redhat.com>
10931 * gdb.base/default.exp: Expect $_gthread as well.
10932 * gdb.multi/tids.exp: Test $_gthread.
10933 * gdb.threads/thread-specific.exp: Test $_gthread.
10935 2016-01-13 Pedro Alves <palves@redhat.com>
10937 * gdb.multi/tids.exp: Test "info threads -gid".
10939 2016-01-13 Pedro Alves <palves@redhat.com>
10941 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10943 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10945 2016-01-07 Pedro Alves <palves@redhat.com>
10947 * gdb.base/break.exp: Adjust to output changes.
10948 * gdb.base/hbreak2.exp: Likewise.
10949 * gdb.base/sepdebug.exp: Likewise.
10950 * gdb.base/watch_thread_num.exp: Likewise.
10951 * gdb.linespec/keywords.exp: Likewise.
10952 * gdb.multi/info-threads.exp: Likewise.
10953 * gdb.threads/thread-find.exp: Likewise.
10954 * gdb.multi/tids.c: New file.
10955 * gdb.multi/tids.exp: New file.
10957 2016-01-13 Pedro Alves <palves@redhat.com>
10959 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10961 2016-01-13 Pedro Alves <palves@redhat.com>
10963 * gdb.base/default.exp: Expect $_inferior as well.
10964 * gdb.multi/base.exp: Test $_inferior.
10966 2016-01-13 Pedro Alves <palves@redhat.com>
10968 PR breakpoints/19388
10969 * gdb.base/catch-signal-siginfo-cond.c: New file.
10970 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10972 2016-01-12 Josh Stone <jistone@redhat.com>
10973 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10975 * gdb.base/catch-syscall.c (do_execve): New variable.
10976 (main): Conditionally trigger an execve.
10977 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10978 (test_catch_syscall_execve): New, check entry/return across execve.
10979 (do_syscall_tests): Call test_catch_syscall_execve.
10981 2016-01-12 Pedro Alves <palves@redhat.com>
10983 * gdb.base/random-signal.exp (do_test): New procedure, with body
10984 of testcase moved in.
10986 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10987 Pedro Alves <palves@redhat.com>
10989 * gdb.base/funcargs.exp (finish from indirectly called function):
10990 Reintroduce the case for 'First'.
10992 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10993 Pedro Alves <palves@redhat.com>
10995 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10996 (tcatch_vfork_then_child_follow_exec)
10997 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11000 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11002 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11003 and repeats to unlimited.
11004 * gdb.python/py-value.exp: Likewise.
11005 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11006 and repeats to unlimited.
11008 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11010 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11011 and reordering the functions.
11012 * gdb.multi/hangout.c: Likewise.
11013 * gdb.multi/hello.c: Likewise.
11015 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11017 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11019 (SingleStatisticTestResult.report): Use dict.keys instead of
11022 2016-01-06 Pedro Alves <palves@redhat.com>
11024 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11026 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11028 * gdb.btrace/dlopen.exp: New.
11029 * gdb.btrace/dlopen.c: New.
11030 * gdb.btrace/dlopen-dso.c: New.
11032 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11034 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11035 PATTERN argument is optional.
11037 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11039 * lib/ada.exp (target_compile_ada_from_dir): New function.
11040 (gdb_compile_ada): Reimplement avoiding the use of project files.
11041 * gdb.ada/gnat_ada.gpr: Delete.
11042 * gdb.ada/cond_lang.exp: Adjust test to make path before
11044 * gdb.ada/small_reg_param.exp: Likewise.
11046 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11048 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11050 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11052 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11055 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11057 * gdb.base/break.exp: Remove dead code.
11058 * gdb.base/sepdebug.exp: Likewise.
11060 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11062 * gdb.asm/asm-source.exp: Remove HP-UX references.
11063 * gdb.base/annota1.exp: Likewise.
11064 * gdb.base/annota3.exp: Likewise.
11065 * gdb.base/attach.exp: Likewise.
11066 * gdb.base/bigcore.exp: Likewise.
11067 * gdb.base/break.exp: Likewise.
11068 * gdb.base/call-ar-st.exp: Likewise.
11069 * gdb.base/callfuncs.exp: Likewise.
11070 * gdb.base/catch-fork-static.exp: Likewise.
11071 * gdb.base/display.exp: Likewise.
11072 * gdb.base/foll-exec-mode.exp: Likewise.
11073 * gdb.base/foll-exec.exp: Likewise.
11074 * gdb.base/foll-fork.exp: Likewise.
11075 * gdb.base/foll-vfork.exp: Likewise.
11076 * gdb.base/funcargs.exp: Likewise.
11077 * gdb.base/hbreak2.exp: Likewise.
11078 * gdb.base/inferior-died.exp: Likewise.
11079 * gdb.base/interrupt.exp: Likewise.
11080 * gdb.base/multi-forks.exp: Likewise.
11081 * gdb.base/nodebug.exp: Likewise.
11082 * gdb.base/sepdebug.exp: Likewise.
11083 * gdb.base/solib1.c: Likewise.
11084 * gdb.base/step-test.exp: Likewise.
11085 * gdb.mi/non-stop.c: Likewise.
11086 * gdb.mi/pthreads.c: Likewise.
11087 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11088 * gdb.threads/pthreads.c: Likewise.
11089 * gdb.threads/staticthreads.exp: Likewise.
11090 * lib/future.exp: Likewise.
11091 * lib/gdb.exp: Likewise.
11092 * gdb.base/so-indr-cl.c: Remove.
11093 * gdb.base/so-indr-cl.exp: Likewise.
11094 * gdb.base/solib.c: Likewise.
11095 * gdb.base/solib.exp: Likewise.
11096 * gdb.base/solib2.c: Likewise.
11098 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11100 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11101 * gdb.base/call-ar-st.exp: Likewise.
11102 * gdb.base/callfuncs.exp: Likewise.
11103 * gdb.base/condbreak.exp: Likewise.
11104 * gdb.base/constvars.exp: Likewise.
11105 * gdb.base/hbreak2.exp: Likewise.
11106 * gdb.base/langs.exp: Likewise.
11107 * gdb.base/list.exp: Likewise.
11108 * gdb.base/long_long.exp: Likewise.
11109 * gdb.base/ptype.exp: Likewise.
11110 * gdb.base/scope.exp: Likewise.
11111 * gdb.base/signals.exp: Likewise.
11112 * gdb.base/so-impl-ld.exp: Likewise.
11113 * gdb.base/varargs.exp: Likewise.
11114 * gdb.base/volatile.exp: Likewise.
11115 * gdb.base/whatis.exp: Likewise.
11116 * gdb.cp/cplusfuncs.exp: Likewise.
11117 * gdb.cp/inherit.exp: Likewise.
11118 * gdb.cp/local.exp: Likewise.
11119 * gdb.cp/member-ptr.exp: Likewise.
11120 * gdb.cp/method.exp: Likewise.
11121 * gdb.cp/overload.exp: Likewise.
11122 * gdb.cp/templates.exp: Likewise.
11123 * gdb.stabs/weird.exp: Likewise.
11124 * lib/compiler.c: Likewise.
11125 * lib/compiler.cc: Likewise.
11126 * lib/cp-support.exp: Likewise.
11127 * lib/gdb.exp: Likewise.
11129 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11131 * configure.ac: Remove HP-UX case.
11132 * configure: Regenerate.
11134 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11136 * lib/gdb.exp (gdb_compile): Add function doc.
11138 2015-12-17 Pedro Alves <palves@redhat.com>
11141 * gdb.multi/info-threads.exp: New file.
11143 2015-12-15 Yao Qi <yao.qi@linaro.org>
11145 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11148 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11150 * gdb.base/history-duplicates.exp: Skip if no readline support.
11152 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11154 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11156 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11158 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11160 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11162 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11163 ctrl-C if nointerrupts target property is set.
11164 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11165 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11166 * gdb.base/paginate-bg-execution.exp: Likewise.
11167 * gdb.base/paginate-execution-startup.exp: Likewise.
11168 * gdb.base/random-signal.exp: Likewise.
11169 * gdb.base/range-stepping.exp: Likewise.
11170 * gdb.cp/annota2.exp: Likewise.
11171 * gdb.cp/annota3.exp: Likewise.
11172 * gdb.gdb/selftest.exp: Likewise.
11173 * gdb.threads/continue-pending-status.exp: Likewise.
11174 * gdb.threads/leader-exit.exp: Likewise.
11175 * gdb.threads/manythreads.exp: Likewise.
11176 * gdb.threads/pthreads.exp: Likewise.
11177 * gdb.threads/schedlock.exp: Likewise.
11178 * gdb.threads/sigthread.exp: Likewise.
11180 2015-12-11 Don Breazeal <donb@codesourcery.com>
11182 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11184 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11185 * gdb.base/foll-exec.exp (main): Enable for target remote.
11186 * gdb.base/foll-fork.exp (main): Likewise.
11187 * gdb.base/foll-vfork.exp (main): Likewise.
11188 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11189 (proc continue_to_exit_bp_loc): Use clean_restart.
11190 * gdb.base/pie-execl.exp (main): Disable for target remote.
11191 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11192 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11193 * gdb.threads/execl.exp (main): Likewise.
11194 * gdb.threads/fork-child-threads.exp (main): Likewise.
11195 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11197 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11199 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11200 pid.tid style ptids, instead of just tid.
11201 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11202 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11203 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11204 ptids, instead of just tid.
11206 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11208 * gdb.base/list.exp (test_list_forward): Add end of file error
11210 (test_repeat_list_command): Add end of file error test.
11211 (test_list_backwards): Add beginning of file error test.
11213 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11215 * gdb.base/list.exp (test_list_invalid_args): New function,
11216 defined, and called.
11218 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11220 * gdb.base/list.exp (test_list): Make test names unique.
11222 2015-12-11 Yao Qi <yao.qi@linaro.org>
11224 * gdb.base/coremaker2.c: Remove.
11226 2015-12-10 Pedro Alves <palves@redhat.com>
11228 * gdb.multi/base.exp: Remove stale "spaces" references.
11230 2015-12-10 Pedro Alves <palves@redhat.com>
11232 * gdb.multi/base.exp: Don't use nowarnings.
11233 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11234 * gdb.multi/hangout.c: Include stdio.h.
11235 * gdb.multi/hello.c: Include stdlib.h.
11236 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11237 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11238 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11240 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11242 * gdb.dwarf2/dw2-ranges-base.c: New file.
11243 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11244 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11245 support additional line table, and debug ranges generation.
11246 (Dwarf::ranges): New function, generate .debug_ranges.
11247 (Dwarf::lines): Support generating simple line table programs.
11248 (Dwarf::assemble): Initialise new namespace variables.
11250 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11252 * gdb.base/async.exp (proc test_background): Add case for
11253 asynchronous execution not supported.
11255 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11257 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11258 format and change test names to make them unique.
11260 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11261 Pedro Alves <pedro@redhat.com>
11264 Add checking of floatformats setup on x86_64 hosts.
11265 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11266 (smallval, bigval): New labels/constants.
11267 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11268 float" after loading bigval and smallval.
11270 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11272 * gdb.ada/fun_overload_menu.exp: New testcase.
11273 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11275 2015-12-04 Josh Stone <jistone@redhat.com>
11277 * gdb.base/catch-fork-static.exp: New.
11279 2015-12-03 Yao Qi <yao.qi@linaro.org>
11281 * gdb.base/sizeof.c: Don't include stdio.h and
11282 ../lib/unbuffer_output.c.
11283 (main): New variable 'size' and 'value'. Remove printf and
11284 gdb_unbuffer_output. Assign return value to size and value.
11285 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11287 (check_sizeof): Check the result by printing variable 'size'.
11288 (check_valueof): Check the result by printing variable 'value'.
11290 2015-12-01 Yao Qi <yao.qi@linaro.org>
11292 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11293 for aarch64*-*-linux* target.
11295 2015-11-30 Pedro Alves <palves@redhat.com>
11297 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11299 2015-11-30 Pedro Alves <palves@redhat.com>
11301 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11302 Handle non-stop mode vCont replies.
11304 2015-11-30 Pedro Alves <palves@redhat.com>
11306 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11307 prepare_for_testing. Start gdb with "set non-stop on" appended to
11308 GDBFLAGS. Lax expected stop output.
11310 2015-11-27 Yao Qi <yao.qi@linaro.org>
11312 * gdb.arch/arm-neon.exp: New.
11313 * gdb.arch/arm-neon.c: New.
11315 2015-11-27 Yao Qi <yao.qi@linaro.org>
11317 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11319 2015-11-27 Yao Qi <yao.qi@linaro.org>
11321 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11322 frames-invalid annotation.
11324 2015-11-27 Yao Qi <yao.qi@linaro.org>
11326 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11328 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11330 * gdb.threads/names.exp: New file.
11331 * gdb.threads/names.c: New file.
11332 * README: Mention gdb,no_thread_names.
11334 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11337 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11340 2015-11-24 Pedro Alves <palves@redhat.com>
11343 * gdb.base/display.exp: Expect displays to be sorted in ascending
11344 order. Use multi_line.
11345 * gdb.base/solib-display.exp: Likewise.
11347 2015-11-24 Pedro Alves <palves@redhat.com>
11350 * gdb.base/display.exp: Expect displays to be sorted in ascending
11351 order. Use multi_line.
11352 * gdb.base/solib-display.exp: Likewise.
11354 2015-11-24 Pedro Alves <palves@redhat.com>
11357 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11358 threads in ascending order.
11359 * gdb.base/foll-fork.exp: Likewise.
11360 * gdb.base/foll-vfork.exp: Likewise.
11361 * gdb.base/multi-forks.exp: Likewise.
11362 * gdb.mi/mi-nonstop.exp: Likewise.
11363 * gdb.mi/mi-nsintrall.exp: Likewise.
11364 * gdb.multi/base.exp: Likewise.
11365 * gdb.multi/multi-arch.exp: Likewise.
11366 * gdb.python/py-inferior.exp: Likewise.
11367 * gdb.threads/break-while-running.exp: Likewise.
11368 * gdb.threads/execl.exp: Likewise.
11369 * gdb.threads/gcore-thread.exp: Likewise.
11370 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11371 * gdb.threads/kill.exp: Likewise.
11372 * gdb.threads/linux-dp.exp: Likewise.
11373 * gdb.threads/multiple-step-overs.exp: Likewise.
11374 * gdb.threads/next-bp-other-thread.exp: Likewise.
11375 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11376 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11377 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11378 * gdb.threads/thread-find.exp: Likewise.
11379 * gdb.threads/tls.exp: Likewise.
11380 * lib/mi-support.exp (mi_reverse_list): Delete.
11381 (mi_check_thread_states): No longer reverse list.
11383 2015-11-24 Pedro Alves <palves@redhat.com>
11385 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11388 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11390 * gdb.trace/actions.c: Include trace-common.h.
11391 (main): Add a location for a fast tracepoint.
11392 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11393 the normal tracepoints.
11394 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11396 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11398 * save-trace.exp: Factor out code to these...
11399 (gdb_save_tracepoints): New.
11400 (gdb_load_tracepoints): New.
11401 (do_save_load_test): New.
11403 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11405 * gdb.base/asmlabel.exp: New test.
11406 * gdb.base/asmlabel.c: New test case.
11408 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11410 * gdb.base/wrong_frame_bt_full-main.c: New file.
11411 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11412 * gdb.base/wrong_frame_bt_full.exp: New file.
11414 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11416 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11418 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11420 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11421 pstate register when comparing registers values in
11422 sparc64-*-linux-gnu targets to avoid spurious differences.
11424 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11426 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11428 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11430 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11431 as type argument to gdb_compile.
11432 * gdb.base/nested-subp2.exp: Likewise.
11433 * gdb.base/nested-subp3.exp: Likewise.
11435 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11437 * lib/dwarf.exp (_note): Fix left shift of negative value.
11438 * gdb.trace/trace-condition.exp: Likewise.
11440 2015-11-13 Yao Qi <yao.qi@linaro.org>
11442 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11443 comments about d10v.
11444 (test_scalar_returns): Likewise.
11445 * gdb.base/d10v.ld: Remove.
11446 * gdb.base/overlays.exp: Remove the target triplet checking for
11448 * gdb.base/structs.exp (test_struct_returns): Remove the
11449 comments about d10v.
11450 (test_struct_calls): Likewise.
11452 2015-11-13 Yao Qi <yao.qi@linaro.org>
11454 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11455 * gdb.base/gnu_vector.c: Don't include stdio.h.
11456 (main): Don't print res and call add_some_intvecs.
11458 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11460 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11463 (func4): Use FAST_TRACEPOINT_LABEL.
11464 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11467 (thread_function): Use FAST_TRACEPOINT_LABEL.
11468 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11470 (marker): Use FAST_TRACEPOINT_LABEL.
11471 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11472 (pendfunc1): Remove.
11473 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11474 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11476 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11477 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11480 (marker): Use FAST_TRACEPOINT_LABEL.
11481 * gdb.trace/trace-common.h: New header.
11482 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11485 (marker): Use FAST_TRACEPOINT_LABEL.
11486 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11488 (thread_function): Use FAST_TRACEPOINT_LABEL.
11490 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11492 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11494 * gdb.trace/change-loc.exp: Use global pcreg definition.
11495 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11496 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11498 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11499 * gdb.trace/pending.exp: Likewise.
11500 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11501 * gdb.trace/trace-break.exp: Likewise.
11502 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11504 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11505 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11507 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11509 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11511 * gdb.ada/fin_fun_out: New testcase.
11513 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11515 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11516 value associated with DW_AT_byte_size.
11517 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11518 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11521 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11523 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11524 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11526 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11527 gdb.dwarf2/dw2-canonicalize-type.exp,
11528 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11529 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11530 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11531 provided by gdb_target_symbol_prefix_flags_asm.
11532 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11533 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11534 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11535 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11536 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11537 macros where needed). Use this macro for symbols which require
11538 the prefix provided by SYMBOL_PREFIX.
11540 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11542 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11544 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11545 representing expressions, of more than one list element.
11546 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11547 to prepend linker symbol prefix to f.
11548 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11549 table_1 and table_2.
11550 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11551 Likewise, for f and g.
11552 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11554 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11556 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11557 table_1_ptr and table_2_ptr.
11559 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11560 Joel Brobecker <brobecker@adacore.com>
11562 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11564 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11566 * gdb.reverse/s390-mvcle.c: New test.
11567 * gdb.reverse/s390-mvcle.exp: New file.
11568 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11570 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11572 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11574 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11576 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11578 * gdb.reverse/getresuid-reverse.exp: Likewise.
11579 * gdb.reverse/pipe-reverse.exp: Likewise.
11580 * gdb.reverse/readv-reverse.exp: Likewise.
11581 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11582 * gdb.reverse/time-reverse.exp: Likewise.
11583 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11585 2015-10-30 Yao Qi <yao.qi@linaro.org>
11587 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11588 (empty_cycle): Remove.
11589 (main): Don't call empty_cycle. Don't use watch_count_done.
11590 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11591 empty_cycle. Rewrite the code counting HW watchpoints.
11593 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11595 * gdb.reverse/fstatat-reverse.c: New test.
11596 * gdb.reverse/fstatat-reverse.exp: New file.
11597 * gdb.reverse/getresuid-reverse.c: New test.
11598 * gdb.reverse/getresuid-reverse.exp: New file.
11599 * gdb.reverse/pipe-reverse.c: New test.
11600 * gdb.reverse/pipe-reverse.exp: New file.
11601 * gdb.reverse/readv-reverse.c: New test.
11602 * gdb.reverse/readv-reverse.exp: New file.
11603 * gdb.reverse/recvmsg-reverse.c: New test.
11604 * gdb.reverse/recvmsg-reverse.exp: New file.
11605 * gdb.reverse/time-reverse.c: New test.
11606 * gdb.reverse/time-reverse.exp: New file.
11607 * gdb.reverse/waitpid-reverse.c: New test.
11608 * gdb.reverse/waitpid-reverse.exp: New file.
11610 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11612 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11614 2015-10-26 Doug Evans <dje@google.com>
11617 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11618 * gdb.dwarf2/bad-regnum.c: New file.
11619 * gdb.dwarf2/bad-regnum.exp: New file.
11621 2015-10-26 Doug Evans <dje@google.com>
11624 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11627 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11629 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11630 for a change by "Mention language in compile error message".
11632 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11635 * gdb.python/py-type.c (C::a_method): New.
11636 (C::a_const_method): New.
11637 (C::a_static_method): New.
11639 * gdb.python/py-type.exp (test_fields): Test getting fields
11640 from function and method.
11642 2015-10-21 Keven Boell <keven.boell@intel.com>
11644 * gdb.fortran/vla-alloc-assoc.exp: New file.
11645 * gdb.fortran/vla-datatypes.exp: New file.
11646 * gdb.fortran/vla-datatypes.f90: New file.
11647 * gdb.fortran/vla-history.exp: New file.
11648 * gdb.fortran/vla-ptype-sub.exp: New file.
11649 * gdb.fortran/vla-ptype.exp: New file.
11650 * gdb.fortran/vla-sizeof.exp: New file.
11651 * gdb.fortran/vla-sub.f90: New file.
11652 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11653 * gdb.fortran/vla-value-sub-finish.exp: New file.
11654 * gdb.fortran/vla-value-sub.exp: New file.
11655 * gdb.fortran/vla-value.exp: New file.
11656 * gdb.fortran/vla-ptr-info.exp: New file.
11657 * gdb.mi/mi-vla-fortran.exp: New file.
11658 * gdb.mi/vla.f90: New file.
11660 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11662 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11663 of hardwired timeout value.
11665 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11666 Pedro Alves <palves@redhat.com>
11668 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11669 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11671 2015-10-19 Josh Stone <jistone@redhat.com>
11673 * gdb.base/catch-syscall.c: Include <sched.h>.
11674 (unknown_syscall): New variable.
11675 (main): Trigger a vfork and an unknown syscall.
11676 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11677 (unknown_syscall_number): Likewise.
11678 (check_call_to_syscall): Accept an optional syscall pattern.
11679 (check_return_from_syscall): Likewise.
11680 (check_continue): Likewise.
11681 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11682 (test_catch_syscall_skipping_return): New test toggling off 'catch
11683 syscall' to step over the syscall return, then toggling back on.
11684 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11685 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11686 (do_syscall_tests): Call test_catch_syscall_without_args and
11687 test_catch_syscall_mid_vfork.
11688 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11689 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11691 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11693 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11694 print g_vE): Add new pass patterns.
11695 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11696 print various symbol names for vptr fields.
11698 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11700 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11703 2015-10-12 Yao Qi <yao.qi@linaro.org>
11705 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11707 2015-10-12 Yao Qi <yao.qi@linaro.org>
11709 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11710 is aarch64*-*-linux*.
11712 2015-10-12 Yao Qi <yao.qi@linaro.org>
11714 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11715 (can_relocate_bcond_true): ... it.
11716 (can_relocate_bcond_false): New function.
11718 (can_relocate_bl): Likewise.
11719 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11722 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11724 * gdb.base/nested-addr.c: New file.
11725 * gdb.base/nested-addr.exp: New testcase.
11727 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11729 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11730 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11731 its output. Ignore the output of "record goto begin" and instead
11732 check that GDB is replaying.
11734 2015-10-09 Pedro Alves <palves@redhat.com>
11736 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11737 (top level): Use it in the run with no args test.
11739 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11741 * gdb.dlang/properties.exp: New file.
11743 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11745 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11746 whether or not address 0x1000 is mapped on the target.
11748 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11750 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11753 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11755 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11756 instruction-history test.
11758 2015-09-28 Doug Evans <dje@google.com>
11760 * gdb.base/gcore.c (array_func): Add reference to static_array.
11762 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11764 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11767 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11769 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11770 short or char as base type.
11772 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11774 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11775 to allow any size enum.
11777 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11779 * gdb.ada/array_ptr_renaming.exp: New testcase.
11780 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11781 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11783 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11785 * gdb.trace/ftrace-lock.c: New file.
11786 * gdb.trace/ftrace-lock.exp: New file.
11788 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11790 * gdb.arch/insn-reloc.c: New file.
11791 * gdb.arch/ftrace-insn-reloc.exp: New file.
11793 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11795 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11797 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11798 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11799 * gdb.trace/range-stepping.c: Likewise.
11800 * gdb.trace/trace-break.c: Likewise.
11801 * gdb.trace/trace-mt.c (thread_function): Likewise.
11802 * gdb.trace/ftrace.c (marker): Likewise.
11803 * gdb.trace/trace-condition.c (marker): Likewise.
11804 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11805 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11808 2015-09-18 Doug Evans <xdje42@gmail.com>
11810 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11811 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11813 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11815 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11818 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11820 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11821 the pending breakpoint. Remove timeout override for "Run till
11822 MI pending breakpoint on pendfunc3 on thread 2" test.
11824 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11826 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11829 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11831 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11832 in breakpoint filename pattern.
11834 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11836 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11838 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11840 * gdb.linespec/explicit.exp: Check for readline support for
11841 tab-completion tests. Fix obvious typo.
11843 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11845 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11848 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11850 * gdb.btrace/non-stop.c: New.
11851 * gdb.btrace/non-stop.exp: New.
11853 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11854 Yao Qi <yao.qi@linaro.org>
11856 * gdb.trace/trace-condition.c: New file.
11857 * gdb.trace/trace-condition.exp: New file.
11859 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11861 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11862 for testing bytecode compilation.
11864 2015-09-16 Pedro Alves <palves@redhat.com>
11865 Sandra Loosemore <sandra@codesourcery.com>
11867 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11868 (SECONDS): Redefine.
11869 (main): Call pthread_kill and alarm early.
11870 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11872 (test): If the target can't hardware step and doesn't support
11873 displaced stepping, increase the timeout.
11875 2015-09-16 Pedro Alves <palves@redhat.com>
11877 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11878 (enable_debug): New procedures.
11879 (test): Use them. Bail out if waiting for threads fails.
11880 (top level): Bail out if a test fails.
11882 2015-09-16 Yao Qi <yao.qi@linaro.org>
11884 * gdb.asm/asm-source.exp: Set asm-arch for
11885 aarch64*-*-* target.
11886 * gdb.asm/aarch64.inc: New file.
11888 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11890 * gdb.ada/array_of_variable_length.exp: New testcase.
11891 * gdb.ada/array_of_variable_length/foo.adb: New file.
11892 * gdb.ada/array_of_variable_length/pck.adb: New file.
11893 * gdb.ada/array_of_variable_length/pck.ads: New file.
11895 2015-09-15 Doug Evans <dje@google.com>
11897 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11898 of function static local variable.
11900 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11902 * gdb.threads/tls-so_extern.exp: New test file.
11903 * gdb.threads/tls-so_extern.c: New test file.
11904 * gdb.threads/tls-so_extern_main.c: New test file.
11906 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11908 * gdb.opt/solib-intra-step-lib.c: New file.
11909 * gdb.opt/solib-intra-step-main.c: New file.
11910 * gdb.opt/solib-intra-step.exp: New file.
11912 2015-09-15 Pedro Alves <palves@redhat.com>
11914 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11915 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11917 2015-09-14 Pedro Alves <palves@redhat.com>
11919 * gdb.base/hook-stop-continue.c: Delete.
11920 * gdb.base/hook-stop-continue.exp: Delete.
11921 * gdb.base/hook-stop-frame.c: Delete.
11922 * gdb.base/hook-stop-frame.exp: Delete.
11923 * gdb.base/hook-stop.c: New file.
11924 * gdb.base/hook-stop.exp: New file.
11926 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11928 * gdb.ada/access_to_packed_array.exp: New testcase.
11929 * gdb.ada/access_to_packed_array/foo.adb: New file.
11930 * gdb.ada/access_to_packed_array/pack.adb: New file.
11931 * gdb.ada/access_to_packed_array/pack.ads: New file.
11933 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11935 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11938 2015-09-11 Don Breazeal <donb@codesourcery.com>
11940 * gdb.base/foll-exec.c: Add copyright header. Fix
11942 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11943 (do_exec_tests): Use clean_restart in place of zap_session,
11944 and for test initialization. Fix formatting issues. Use
11945 fail in place of perror.
11946 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11947 an expect statement to match an expression with output from
11948 the program under debug.
11949 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11950 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11951 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11952 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11953 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11955 2015-09-09 Doug Evans <dje@google.com>
11957 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11959 2015-09-09 Doug Evans <dje@google.com>
11961 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11963 2015-09-09 Doug Evans <dje@google.com>
11965 * gdb.base/savedregs.exp: Fix typo.
11967 2015-09-09 Pedro Alves <palves@redhat.com>
11969 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11971 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11973 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11974 command actually switches threads. Give up on remaining
11975 tests if target fails to stop at breakpoint.
11977 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11979 * gdb.ada/funcall_char.exp: New testcase.
11980 * gdb.ada/funcall_char/foo.adb: New file.
11982 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11984 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11985 expected outputs. Add two testcases for completing ambiguous
11987 * gdb.ada/complete/aux_pck.adb: New file.
11988 * gdb.ada/complete/aux_pck.ads: New file.
11989 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11990 Ambiguous_Func functions.
11991 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11992 * gdb.ada/complete/pck.adb: Likewise.
11994 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11996 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11997 failures to run the test program under GDB.
11999 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12001 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12004 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12006 * gdb.base/run-after-attach.exp: New test file.
12007 * gdb.base/run-after-attach.c: New test file.
12009 2015-08-26 Don Breazeal <donb@codesourcery.com>
12011 * gdb.base/foll-exec-2.c: New test program.
12012 * gdb.base/foll-exec-2.exp: New test.
12014 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12016 * gdb.base/nested-subp1.exp: New file.
12017 * gdb.base/nested-subp1.c: New file.
12018 * gdb.base/nested-subp2.exp: New file.
12019 * gdb.base/nested-subp2.c: New file.
12020 * gdb.base/nested-subp3.exp: New file.
12021 * gdb.base/nested-subp3.c: New file.
12023 2015-08-24 Pedro Alves <palves@redhat.com>
12025 * gdb.server/connect-without-multi-process.c: New file.
12026 * gdb.server/connect-without-multi-process.exp: New file.
12028 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12030 * gdb.opt/inline-markers.c: Make z int.
12032 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12034 * gdb.opt/inline-markers.c: Make z volatile.
12036 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12038 * gdb.opt/inline-bt.c: New volatile global z.
12039 * gdb.opt/inline-cmds.c: Likewise.
12040 * gdb.opt/inline-locals.c: Likewise.
12041 * gdb.opt/inline-markers.c: New extern global z.
12043 (inline_fn): Likewise.
12045 2015-08-24 Pedro Alves <palves@redhat.com>
12047 * config/m32r-stub.exp: Remove file.
12048 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12049 * gdb.base/call-rt-st.exp: Likewise.
12050 * gdb.base/call-strs.exp: Likewise.
12051 * gdb.base/default.exp: Remove references to h8300-*-hms and
12053 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12055 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12057 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12058 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12059 and "return" use KFAIL when GDB can not read/write the vector
12062 2015-08-21 Gary Benson <gbenson@redhat.com>
12064 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12066 2015-08-20 Pedro Alves <palves@redhat.com>
12068 * gdb.server/solib-list.exp: No longer expect an interior stop in
12071 2015-08-20 Pedro Alves <palves@redhat.com>
12073 * gdb.server/connect-stopped-target.c: New file.
12074 * gdb.server/connect-stopped-target.exp: New file.
12076 2015-08-20 Pedro Alves <palves@redhat.com>
12078 * gdb.dwarf2/comp-unit-lang.exp: New file.
12079 * gdb.dwarf2/comp-unit-lang.c: New file.
12081 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12083 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12084 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12086 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12088 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12089 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12091 2015-08-18 Doug Evans <dje@google.com>
12092 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12094 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12095 skip_python_tests. New arg prompt_regexp.
12096 (skip_python_tests): New function.
12097 * lib/mi-support.exp (mi_skip_python_tests): New function.
12098 * gdb.python/py-mi-objfile-gdb.py: New file.
12099 * gdb.python/py-mi-objfile.c: New file.
12100 * gdb.python/py-mi-objfile.exp: New file.
12102 2015-08-17 Keith Seitz <keiths@redhat.com>
12104 * gdb.linespec/explicit.exp: Move strace test from here ...
12105 * gdb.trace/strace.exp: ... to here.
12107 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12109 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12110 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12112 2015-08-14 Doug Evans <xdje42@gmail.com>
12114 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12115 inferior before selecting a new file.
12117 2015-08-14 Doug Evans <xdje42@gmail.com>
12119 * gdb.mi/mi-disassemble.exp: Update.
12120 * gdb.base/disasm-optim.S: New file.
12121 * gdb.base/disasm-optim.c: New file.
12122 * gdb.base/disasm-optim.h: New file.
12123 * gdb.base/disasm-optim.exp: New file.
12125 2015-08-14 Keith Seitz <keiths@redhat.com>
12127 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12130 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12132 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12134 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12136 * gdb.ada/fun_renaming.exp: New testcase.
12137 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12138 * gdb.ada/fun_renaming/pack.adb: New file.
12139 * gdb.ada/fun_renaming/pack.ads: New file.
12141 2015-08-12 Keith Seitz <keiths@redhat.com>
12143 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12144 gdb_get_line_number.
12146 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12148 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12149 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12150 gdb.base/dso2dso.exp: New files.
12152 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12153 Pedro Alves <palves@redhat.com>
12154 Keith Seitz <keiths@redhat.com>
12156 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12159 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12161 * gdb.base/gdbhistsize-history.exp
12162 (test_histsize_history_setting): Use save_vars.
12163 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12165 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12166 * gdb.base/readline.exp: Use save_vars.
12168 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12170 * lib/gdb.exp (save_vars): New proc.
12172 2015-08-11 Keith Seitz <keiths@redhat.com>
12174 * gdb.base/help.exp: Update help_breakpoint_text.
12176 2015-08-11 Keith Seitz <keiths@redhat.com>
12178 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12179 (at toplevel): Call test_explicit_breakpoints.
12180 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12182 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12183 breakpoint conditions, "-cond".
12185 2015-08-11 Keith Seitz <keiths@redhat.com>
12187 * gdb.linespec/3explicit.c: New file.
12188 * gdb.linespec/cpexplicit.cc: New file.
12189 * gdb.linespec/cpexplicit.exp: New file.
12190 * gdb.linespec/explicit.c: New file.
12191 * gdb.linespec/explicit.exp: New file.
12192 * gdb.linespec/explicit2.c: New file.
12193 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12194 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12195 before using in the matching pattern.
12196 Clarify that `prefix' is a regular expression.
12198 2015-08-11 Keith Seitz <keiths@redhat.com>
12200 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12202 Add tests for missing ",FMT" and ",".
12204 2015-08-10 Doug Evans <dje@google.com>
12205 Keith Seitz <keiths@redhat.com>
12208 * gdb.base/completion.exp: Add location completer tests.
12210 2015-08-07 Pedro Alves <palves@redhat.com>
12212 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12214 (top level): Run do_test with and without displaced stepping.
12216 2015-08-07 Pedro Alves <palves@redhat.com>
12218 * gdb.base/valgrind-disp-step.c: New file.
12219 * gdb.base/valgrind-disp-step.exp: New file.
12221 2015-08-07 Pedro Alves <palves@redhat.com>
12223 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12225 (main): Add alarm. Run an infinite loop instead of calling
12227 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12229 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12231 (main): Add alarm. Run an infinite loop instead of calling
12233 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12236 2015-08-07 Pedro Alves <palves@redhat.com>
12238 * gdb.base/checkpoint-ns.exp: New file.
12239 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12242 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12244 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12245 * gdb.btrace/instruction_history.exp: Update.
12246 * gdb.btrace/tsx.exp: New.
12247 * gdb.btrace/tsx.c: New.
12249 2015-08-06 Pedro Alves <palves@redhat.com>
12251 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12253 * gdb.reverse/until-precsave.exp: Bump timeouts.
12255 2015-08-06 Pedro Alves <palves@redhat.com>
12257 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12259 2015-08-06 Pedro Alves <palves@redhat.com>
12262 * gdb.threads/process-dies-while-handling-bp.c: New file.
12263 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12265 2015-08-06 Pedro Alves <palves@redhat.com>
12267 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12268 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12270 2015-08-05 Pedro Alves <palves@redhat.com>
12272 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12273 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12275 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12277 * gdb.base/bp-permanent.exp: Report test as unsupported if
12278 the target cannot stop at the permanent breakpoint.
12280 2015-08-03 Doug Evans <dje@google.com>
12282 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12285 2015-08-03 Doug Evans <dje@google.com>
12287 * Makefile.in (workers/%.worker, build-perf): New rule.
12288 (GDB_PERFTEST_MODE): New variable.
12289 (check-perf): Use it.
12290 (clean): Clean up gdb.perf parallel build subdirs.
12291 * lib/build-piece.exp: New file.
12292 * lib/gdb.exp (make_gdb_parallel_path): New function
12293 (standard_output_file, standard_temp_file): Call it.
12294 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12296 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12298 2015-08-03 Doug Evans <dje@google.com>
12300 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12301 (LOG_FILE_NAME): New global.
12302 (TextReporter.__init__): Initialize self.txt_sum.
12303 (TextReporter.report): Add support for multiple data-points.
12304 Move report to perftest.sum, put raw data in perftest.log.
12305 (TextReporter.start): Open sum and log files.
12306 (TextReporter.end): Close sum and log files.
12307 * gdb.perf/lib/perftest/testresult.py
12308 (SingleStatisticTestResult.record): Handle multiple data-points.
12310 2015-07-31 Pedro Alves <palves@redhat.com>
12312 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12313 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12314 kill_wait_spawned_process instead of explicit "kill -9".
12315 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12316 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12317 kill_wait_spawned_process.
12318 * gdb.base/attach-twice.exp: Likewise.
12319 * gdb.base/attach.exp: Likewise.
12320 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12322 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12323 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12324 kill_wait_spawned_process.
12325 * gdb.base/valgrind-infcall.exp: Likewise.
12326 * gdb.multi/multi-attach.exp: Likewise.
12327 * gdb.python/py-prompt.exp: Likewise.
12328 * gdb.python/py-sync-interp.exp: Likewise.
12329 * gdb.server/ext-attach.exp: Likewise.
12330 * gdb.threads/attach-into-signal.exp (corefunc): Use
12331 spawn_wait_for_attach, spawn_id_get_pid and
12332 kill_wait_spawned_process.
12333 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12334 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12335 spawn_id_get_pid and kill_wait_spawned_process.
12336 * gdb.threads/attach-stopped.exp (corefunc): Use
12337 spawn_wait_for_attach, spawn_id_get_pid and
12338 kill_wait_spawned_process.
12339 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12340 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12341 kill_wait_spawned_process instead of explicit "kill -9".
12342 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12343 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12344 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12345 processes. Don't map cygwin/windows pids here. Now returns a
12348 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12350 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12351 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12354 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12356 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12358 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12361 2014-05-21 Mark Wielaard <mjw@redhat.com>
12363 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12365 2015-07-30 Pedro Alves <palves@redhat.com>
12367 * linux-low.c (handle_extended_wait): Set the child's last
12368 reported status to TARGET_WAITKIND_STOPPED.
12370 2015-07-30 Pedro Alves <palves@redhat.com>
12373 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12374 only shows inferior 1.
12376 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12377 Pedro Alves <palves@redhat.com>
12380 * gdb.threads/fork-plus-threads.c: New file.
12381 * gdb.threads/fork-plus-threads.exp: New file.
12383 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12385 * gdb.base/batch-preserve-term-settings.exp
12386 (test_terminal_settings_preserved_after_cli_exit): Use
12389 2015-07-29 Pedro Alves <palves@redhat.com>
12390 Don Breazeal <donb@codesourcery.com>
12392 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12393 output from both inferior_spawn_id and gdb_spawn_id.
12395 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12397 * gdb.threads/attach-into-signal.exp (corefunc): Use
12398 with_test_prefix on nested loops, uniquefying the test messages.
12400 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12402 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12405 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12407 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12409 (test_terminal_settings_preserved_after_sigterm): New test.
12411 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12413 * gdb.base/batch-preserve-term-settings.exp
12414 (test_terminal_settings_preserved_after_cli_exit): New test.
12416 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12418 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12419 manipulation of saved_gdbflags.
12420 (test_terminal_settings_preserved): Remove global declaration of
12421 the unused variable pagination_prompt. Remove manipulation of
12422 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12425 2015-07-29 Pedro Alves <palves@redhat.com>
12427 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12429 2015-07-29 Pedro Alves <palves@redhat.com>
12431 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12434 2015-07-29 Pedro Alves <palves@redhat.com>
12436 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12437 (main): Call gdb_unbuffer_output.
12438 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12439 (main): Call gdb_unbuffer_output.
12440 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12441 (main): Call gdb_unbuffer_output.
12442 * gdb.base/call-strs.exp: Adjust to step over the
12443 gdb_unbuffer_output call.
12444 * gdb.base/catch-gdb-caused-signals.c: Include
12445 "../lib/unbuffer_output.c".
12446 (main): Call gdb_unbuffer_output.
12447 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12448 (main): Call gdb_unbuffer_output.
12449 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12450 (main): Call gdb_unbuffer_output.
12451 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12452 (main): Call gdb_unbuffer_output.
12453 * gdb.base/shlib-call.exp: Adjust to step over the
12454 gdb_unbuffer_output call.
12455 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12456 (main): Call gdb_unbuffer_output.
12457 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12458 (main): Call gdb_unbuffer_output.
12459 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12460 (main): Rename to ...
12462 (main): Reimplement.
12463 * gdb.base/varargs.exp: Run to test instead of to main.
12464 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12465 (main): Call gdb_unbuffer_output.
12467 2015-07-29 Pedro Alves <palves@redhat.com>
12469 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12470 factore out from mi_continue_dprintf. For call-style dprintfs,
12471 expect dprintf output out of $inferior_spawn_id.
12472 (mi_continue_dprintf): Use mi_expect_dprintf.
12473 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12474 (main): Call gdb_unbuffer_output.
12476 2015-07-29 Pedro Alves <palves@redhat.com>
12478 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12479 (default_mi_gdb_start): Set inferior_spawn_id instead of
12480 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12482 (mi_gdb_test): Always expect inferior output from both
12483 $inferior_spawn_id and $gdb_spawn_id.
12485 2015-07-29 Pedro Alves <palves@redhat.com>
12487 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12488 send_inferior and $inferior_spawn_id.
12490 2015-07-29 Pedro Alves <palves@redhat.com>
12492 * gdb.gdb/complaints.exp (test_initial_complaints)
12493 (test_serial_complaints, test_short_complaints): Use
12495 (test_empty_complaint): Handle $inferior_spawn_id !=
12498 2015-07-29 Pedro Alves <palves@redhat.com>
12500 * gdb.base/varargs.exp: Use gdb_test_stdio.
12502 2015-07-29 Pedro Alves <palves@redhat.com>
12504 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12506 2015-07-29 Pedro Alves <palves@redhat.com>
12508 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12510 2015-07-29 Pedro Alves <palves@redhat.com>
12512 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12513 parameter into two new parameters, "inf_result" and "gdb_result".
12514 Expect inferior output and gdb output from $inferior_spawn_id and
12515 $gdb_spawn_id, respectively. Adjust all callers.
12517 2015-07-29 Pedro Alves <palves@redhat.com>
12519 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12520 of gdb_test_sequence.
12522 2015-07-29 Pedro Alves <palves@redhat.com>
12524 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12525 (saw_spurious_output): Expect inferior output from
12526 $inferior_spawn_id. Use gdb_test_stdio.
12528 2015-07-29 Pedro Alves <palves@redhat.com>
12530 * gdb.base/dprintf.exp: Use standard_testfile. Change
12531 prepare_for_testing call.
12532 (srcfile): Don't set.
12533 (restart): New procedure.
12534 (test_dprintf): New procecure, use to continue over dprintfs.
12535 (test_call, test_agent): New procedures, tests moved here.
12536 Restart gdb and recreate dprintfs. Adjust expected output.
12538 2015-07-29 Pedro Alves <palves@redhat.com>
12540 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12542 2015-07-29 Pedro Alves <palves@redhat.com>
12544 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12546 2015-07-29 Pedro Alves <palves@redhat.com>
12548 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12551 2015-07-29 Pedro Alves <palves@redhat.com>
12553 * lib/gdb.exp (gdb_test_stdio): New procedure.
12555 2015-07-29 Pedro Alves <palves@redhat.com>
12557 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12559 2015-07-29 Pedro Alves <palves@redhat.com>
12561 * gdb.base/call-signal-resume.exp: Remove check for
12562 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12563 * gdb.base/unwindonsignal.exp: Likewise.
12564 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12565 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12567 2015-07-29 Pedro Alves <palves@redhat.com>
12569 * gdb.base/siginfo-addr.c (pass): New function.
12570 (handler): Call it iff si_addr is correct.
12571 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12572 Set a breakpoint at "pass" and continue to it.
12574 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12576 * gdb.python/py-objfile.exp: Make some tests have unique names.
12577 * gdb.python/py-pp-registration.exp: Likewise.
12579 2015-07-28 Pedro Alves <palves@redhat.com>
12581 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12583 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12585 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12587 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12589 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12591 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12593 * gdb.base/gdb-sigterm-2.exp: New test.
12595 2015-07-25 Doug Evans <xdje42@gmail.com>
12598 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12599 (workers/%.worker, build-perf): New rule.
12600 (GDB_PERFTEST_MODE): New variable.
12601 (check-perf): Use it.
12602 (clean): Clean up gdb.perf parallel build subdirs.
12603 * lib/build-piece.exp: New file.
12604 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12605 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12607 (standard_temp_file): Ditto.
12608 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12611 2015-07-24 Doug Evans <dje@google.com>
12613 * gdb.perf/lib/perftest/utils.py: New file.
12614 * gdb.perf/gm-hello.cc: New file.
12615 * gdb.perf/gm-pervasive-typedef.cc: New file.
12616 * gdb.perf/gm-pervasive-typedef.h: New file.
12617 * gdb.perf/gm-std.cc: New file.
12618 * gdb.perf/gm-std.h: New file.
12619 * gdb.perf/gm-use-cerr.cc: New file.
12620 * gdb.perf/gm-utils.h: New file.
12621 * gdb.perf/gmonster-null-lookup.py: New file.
12622 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12623 * gdb.perf/gmonster-print-cerr.py: New file.
12624 * gdb.perf/gmonster-ptype-string.py: New file.
12625 * gdb.perf/gmonster-runto-main.py: New file.
12626 * gdb.perf/gmonster-select-file.py: New file.
12627 * gdb.perf/gmonster1-null-lookup.exp: New file.
12628 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12629 * gdb.perf/gmonster1-print-cerr.exp: New file.
12630 * gdb.perf/gmonster1-ptype-string.exp: New file.
12631 * gdb.perf/gmonster1-runto-main.exp: New file.
12632 * gdb.perf/gmonster1-select-file.exp: New file.
12633 * gdb.perf/gmonster1.cc: New file.
12634 * gdb.perf/gmonster1.exp: New file.
12635 * gdb.perf/gmonster2-null-lookup.exp: New file.
12636 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12637 * gdb.perf/gmonster2-print-cerr.exp: New file.
12638 * gdb.perf/gmonster2-ptype-string.exp: New file.
12639 * gdb.perf/gmonster2-runto-main.exp: New file.
12640 * gdb.perf/gmonster2-select-file.exp: New file.
12641 * gdb.perf/gmonster2.cc: New file.
12642 * gdb.perf/gmonster2.exp: New file.
12644 2015-07-24 Doug Evans <dje@google.com>
12646 * gdb.perf/README: New file.
12647 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12648 * lib/gen-perf-test.exp: New file.
12650 2015-07-24 Doug Evans <dje@google.com>
12652 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12653 (PerfTest::startup): New function.
12654 (PerfTest::run): Return result of calling body.
12655 (PerfTest::assemble): Rewrite.
12656 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12657 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12658 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12659 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12660 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12662 2015-07-24 Doug Evans <dje@google.com>
12664 * lib/gdb.exp (clean_restart): Make executable optional.
12666 2015-07-24 Doug Evans <dje@google.com>
12668 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12669 compiler_info references.
12670 * gdb.cp/temargs.exp: Ditto.
12671 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12672 (get_compiler_info): Early exit if already computed. Set compiler_info
12673 to "unknown" if there was a problem.
12674 (test_compiler_info): Add function comment. Call get_compiler_info.
12676 2015-07-24 Doug Evans <dje@google.com>
12678 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12679 (workers/%.worker, build-perf): New rule.
12680 (GDB_PERFTEST_MODE): New variable.
12681 (check-perf): Use it.
12682 (clean): Clean up gdb.perf parallel build subdirs.
12683 * lib/build-piece.exp: New file.
12684 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12685 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12687 (standard_temp_file): Ditto.
12688 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12691 2015-07-24 Doug Evans <dje@google.com>
12693 * lib/future.exp (gdb_default_target_compile): New option
12695 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12698 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12700 * gdb.base/catch-syscall.exp: Call gdb_exit before
12703 2015-07-24 Pedro Alves <palves@redhat.com>
12705 * gdb.python/py-events.exp: Accept output between the stop event
12707 * gdb.python/py-evsignal.exp: Likewise.
12708 * gdb.python/py-evthreads.exp: Likewise.
12710 2015-07-24 Pedro Alves <palves@redhat.com>
12713 * gdb.threads/non-ldr-exit.c: New file.
12714 * gdb.threads/non-ldr-exit.exp: New file.
12716 2015-07-24 Yao Qi <yao.qi@linaro.org>
12718 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12719 restarting process.
12721 2015-07-24 Yao Qi <yao.qi@linaro.org>
12723 * gdb.server/ext-restart.exp: New file.
12725 2015-07-24 Yao Qi <yao.qi@linaro.org>
12727 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12729 * gdb.server/ext-wrapper.exp: New file.
12731 2015-07-23 Doug Evans <dje@google.com>
12733 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12734 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12736 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12738 * gdb.ada/var_arr_typedef.exp: New testcase.
12739 * gdb.ada/var_arr_typedef/pack.adb: New file.
12740 * gdb.ada/var_arr_typedef/pack.ads: New file.
12741 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12743 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12745 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12747 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12749 * gdb.arch/i386-biarch-core.exp: Replace istarget
12750 by "complete set gnutarget". Remove expectation for the "core-file"
12753 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12755 Revert the previous commit:
12756 Tests for validate symbol file using build-id.
12758 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12760 Tests for validate symbol file using build-id.
12761 * gdb.base/solib-mismatch-lib.c: New file.
12762 * gdb.base/solib-mismatch-libmod.c: New file.
12763 * gdb.base/solib-mismatch.c: New file.
12764 * gdb.base/solib-mismatch.exp: New file.
12766 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12768 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12770 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12771 * gdb.base/siginfo.exp: Likewise.
12772 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12774 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12776 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12778 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12780 * gdb.trace/range-stepping.exp: Check that the target supports
12783 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12785 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12787 2015-07-14 Pedro Alves <palves@redhat.com>
12789 * gdb.base/killed-outside.exp: New file.
12790 * gdb.base/killed-outside.c: New file.
12792 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12794 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12796 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12798 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12800 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12801 infcall tests instead of setting up for KFAIL.
12803 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12805 * gdb.btrace/record_goto-step.exp: New.
12807 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12810 * gdb.compile/compile.c (struct struct_type): Add volatile to
12812 * gdb.compile/compile.exp
12813 (compile code struct_object.selffield = &struct_object): Skip further
12814 struct_object tests if this one xfails.
12816 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12819 * gdb.trace/ax.exp: Add test.
12821 2015-07-07 Yao Qi <yao.qi@linaro.org>
12823 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12824 instead of istarget "aarch64*-*-*".
12825 * gdb.arch/aarch64-fp.exp: Likewise.
12826 * gdb.base/float.exp: Likewise.
12827 * gdb.reverse/aarch64.exp: Likewise.
12828 * lib/gdb.exp (is_aarch64_target): New proc.
12830 2015-07-07 Yao Qi <yao.qi@linaro.org>
12832 * lib/gdb.exp (is_aarch32_target): New proc.
12833 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12834 instead of "istarget "arm*-*-*"".
12835 * gdb.arch/arm-disp-step.exp: Likewise.
12836 * gdb.arch/thumb-bx-pc.exp: Likewise.
12837 * gdb.arch/thumb-prologue.exp: Likewise.
12838 * gdb.arch/thumb-singlestep.exp: Likewise.
12839 * gdb.base/disp-step-syscall.exp: Likewise.
12840 * gdb.base/float.exp: Likewise.
12842 2015-07-07 Yao Qi <yao.qi@linaro.org>
12844 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12845 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12847 2015-07-07 Yao Qi <yao.qi@linaro.org>
12849 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12850 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12852 * gdb.multi/multi-arch.exp: Likewise.
12854 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12856 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12859 2015-07-07 Yao Qi <yao.qi@linaro.org>
12861 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12863 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12865 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12866 '[' and ']' characters.
12868 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12870 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12872 2015-06-29 Pedro Alves <palves@redhat.com>
12875 * gdb.threads/hand-call-new-thread.c: New file.
12876 * gdb.threads/hand-call-new-thread.c: New file.
12878 2015-06-26 Keith Seitz <keiths@redhat.com>
12879 Doug Evans <dje@google.com>
12882 * gdb.cp/var-tag-2.cc: New file.
12883 * gdb.cp/var-tag-3.cc: New file.
12884 * gdb.cp/var-tag-4.cc: New file.
12885 * gdb.cp/var-tag.cc: New file.
12886 * gdb.cp/var-tag.exp: New file.
12888 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12890 * gdb.base/history-duplicates.exp: New test.
12892 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12894 * gdb.base/completion.exp: Test the completion of the "focus"
12897 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12899 * gdb.arch/amd64-prologue-skip.S: New file.
12900 * gdb.arch/amd64-prologue-skip.exp: New file.
12902 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12904 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12905 is_address_zero_readable check.
12907 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12909 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12910 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12912 2015-06-24 Yao Qi <yao.qi@linaro.org>
12914 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12917 2015-06-24 Yao Qi <yao.qi@linaro.org>
12919 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12920 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12921 * gdb.base/siginfo-thread.exp: Likewise.
12923 2015-06-22 Yao Qi <yao.qi@linaro.org>
12925 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12927 2015-06-22 Yao Qi <yao.qi@linaro.org>
12929 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12931 (skip_hw_watchpoint_tests): Likewise.
12933 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12935 * gdb.base/gdbinit-history.exp: Test the interaction between
12936 setting GDBHISTSIZE and setting the history size via .gdbinit.
12938 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12941 * gdb.base/gdbhistsize-history.exp: New test.
12943 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12945 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12947 * gdb.base/readline.exp: Likewise.
12949 2015-06-17 Yao Qi <yao.qi@linaro.org>
12951 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12954 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12956 * gdb.base/gdbinit-history.exp: Add test case to check that
12957 an unlimited history file does not get truncated on exit.
12959 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12961 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12962 (VECTOR): New macro. Use it...
12963 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12964 ...for these typedefs.
12965 (int8, char1, int1, double1): New typedefs.
12966 (struct just_int2, struct two_int2): New structures.
12967 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12968 (add_structvecs, add_singlevecs): New functions.
12969 (main): Call add_some_intvecs twice.
12970 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12971 the compile and exit upon failure. Try compiling for the "native"
12972 architecture. Test inferior function calls with vector arguments
12973 and vector return value handling with "finish" and "return".
12975 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12977 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12978 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12980 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12982 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12984 PR breakpoints/16465
12985 * gdb.mi/mi-dprintf-pending.c: New file.
12986 * gdb.mi/mi-dprintf-pending.exp: New test.
12987 * gdb.mi/mi-dprintf-pendshr.c: New file.
12989 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12990 Mircea Gherzan <mircea.gherzan@intel.com>
12992 * gdb.arch/i386-mpx-map.c: New file.
12993 * gdb.arch/i386-mpx-map.exp: New File.
12995 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12997 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12998 * gdb.arch/i386-mpx.exp: Indentation fixed.
13000 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13002 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13003 function and improved indentation.
13004 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13005 gdb_test_multiple. Added additional tests to skip the test.
13007 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13009 * gdb.arch/i386-avx512.c: Change path in include file.
13010 * gdb.arch/i386-avx512.exp: Change include dir path
13012 * gdb.arch/i386-mpx.c: Change path in include file.
13013 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13016 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13018 * gdb.compile/compile-print.exp (compile print *vararray@3)
13019 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13021 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13023 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13024 (do not keep jit in memory): ... this.
13025 (expect 5): Change it to ...
13026 (expect no 5): ... this.
13028 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13031 * gdb.mi/mi-detach.exp: New file.
13033 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13036 * gdb.arch/amd64-tailcall-self.S: New file.
13037 * gdb.arch/amd64-tailcall-self.c: New file.
13038 * gdb.arch/amd64-tailcall-self.exp: New file.
13040 2015-05-28 Don Breazeal <donb@codesourcery.com>
13042 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13043 tests for remote targets by checking is_target_gdbserver.
13045 2015-05-27 Doug Evans <dje@google.com>
13047 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13048 * gdb.dwarf2/opaque-type-lookup.c: New file.
13049 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13051 2015-05-26 Doug Evans <dje@google.com>
13053 * gdb.cp/iostream.cc: New file.
13054 * gdb.cp/iostream.exp: New file.
13056 2015-05-26 Doug Evans <dje@google.com>
13058 * gdb.dwarf2/dw2-op-call.exp: Update.
13059 * gdb.dwarf2/dw4-sig-types.exp: Update.
13060 * gdb.dwarf2/implptr.exp: Update.
13061 * gdb.mi/mi-cmd-param-changed.exp: Update.
13063 2015-05-26 Doug Evans <dje@google.com>
13065 * gdb.python/py-lazy-string.c: New file.
13066 * gdb.python/py-lazy-string.exp: New file.
13067 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13068 (main): Update. Add estring3.
13069 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13070 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13072 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13073 Yao Qi <yao.qi@linaro.org>
13075 * gdb.reverse/aarch64.c: New.
13076 * gdb.reverse/aarch64.exp: New.
13078 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13080 * lib/gdb.exp (supports_process_record): Return true for
13082 (supports_reverse): Likewise.
13084 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13086 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13087 Use with_test_prefix.
13089 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13091 * gdb.base/completion.exp: Add test for completion of layout
13094 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13096 * lib/gdb.exp (skip_tui_tests): New proc.
13097 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13099 2015-05-19 Pedro Alves <palves@redhat.com>
13101 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13102 Save the whole env array instead of just HOME. Unset HISTSIZE in
13103 the environment while testing. Restore whole environment
13106 2015-05-16 Doug Evans <xdje42@gmail.com>
13108 * gdb.guile/scm-ports.c: New file.
13109 * gdb.guile/scm-ports.exp: Add memory port tests.
13111 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13113 * gdb.compile/compile-print.c: New file.
13114 * gdb.compile/compile-print.exp: New file.
13116 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13118 * gdb.compile/compile-ops.exp: Cast param to void.
13119 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13120 (compile code struct_object.selffield = &struct_object): Add xfail.
13122 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13124 * gdb.ada/arr_enum_with_gap: New testcase.
13126 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13128 * gdb.ada/byte_packed_arr: New testcase.
13130 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13132 * gdb.ada/pckd_neg: New testcase.
13134 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13137 * gdb.base/gdbinit-history.exp: New test.
13138 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13139 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13141 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13143 * gdb.python/py-xmethods.cc: Enhance test case.
13144 * gdb.python/py-xmethods.exp: New tests.
13145 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13147 (B_indexoper): Likewise.
13148 (global_dm_list) : Add new xmethod worker functions.
13150 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13152 * gdb.base/coredump-filter.exp: Correctly unset
13153 "coredump_var_addr" array.
13155 2015-05-08 Pedro Alves <palves@redhat.com>
13157 * gdb.server/non-existing-program.exp: Unset spawn_id.
13159 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13162 * gdb.python/py-xmethods.exp: Add tests.
13164 2015-05-08 Yao Qi <yao.qi@linaro.org>
13167 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13168 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13169 function set_coredump_filter, and remove remote_exec call.
13170 Remove argument ipid. Callers update.
13171 (top level): Don't get inferior's PID.
13173 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13175 * gdb.base/watch_thread_num.exp: Skip test on targets without
13176 access watchpoints.
13178 2015-05-06 Pedro Alves <palves@redhat.com>
13181 * gdb.server/non-existing-program.exp: New file.
13183 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13185 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13187 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13189 * gdb.ada/out_of_line_in_inlined: New testcase.
13191 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13193 * gdb.ada/var_rec_arr: New testcase.
13195 2015-04-30 Yao Qi <yao.qi@linaro.org>
13197 * gdb.base/break-idempotent.exp: If
13198 skip_hw_watchpoint_multi_tests returns true, skip the tests
13199 on "rwatch" and "awatch".
13201 2015-04-30 Yao Qi <yao.qi@linaro.org>
13203 * gdb.base/relativedebug.exp: Invoke gdb command
13204 "info sharedlibrary", and if libc.so doesn't have debug info,
13207 2015-04-29 Doug Evans <dje@google.com>
13209 * gdb.python/py-xmethods.exp: Add ptype tests.
13210 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13211 get_result_type method.
13213 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13215 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13216 the target does not support hardware watchpoints.
13218 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13220 * gdb.base/break-always.exp: Abort testing if writing to memory
13223 2015-04-28 Doug Evans <dje@google.com>
13225 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13226 * gdb.python/py-pp-registration.exp: ... here. New file.
13227 * gdb.python/py-pp-registration.c: New file.
13228 * gdb.python/py-pp-registration.py: New file.
13230 2015-04-28 Doug Evans <dje@google.com>
13232 * gdb.python/py-bad-printers.c: New file.
13233 * gdb.python/py-bad-printers.py: New file.
13234 * gdb.python/py-bad-printers.exp: New file.
13236 2015-04-28 Sasha Smundak <asmundak@google.com>
13238 * gdb.python/py-type.exp: New test.
13240 2015-04-28 Andy Wingo <wingo@igalia.com>
13242 * gdb.python/py-parameter.exp:
13243 * gdb.guile/scm-parameter.exp: Escape the path that we are
13244 matching against, as it might contain characters that are special
13245 to regular expressions.
13247 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13249 * gdb.ada/rec_comp: New testcase.
13251 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13253 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13256 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13258 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13259 new tests for verilog output.
13261 2015-04-24 Yao Qi <yao.qi@linaro.org>
13263 * boards/remote-gdbserver-on-localhost.exp: New file.
13265 2015-04-23 Pedro Alves <palves@redhat.com>
13267 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13268 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13269 "end of file", remove $inferior_spawn_id from the indirect list.
13271 2015-04-23 Pedro Alves <palves@redhat.com>
13273 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13275 2015-04-23 Pedro Alves <palves@redhat.com>
13277 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13278 on $any_spawn_id instead of only on $gdb_spawn_id.
13280 2015-04-21 Pierre Muller <muller@sourceware.org>
13283 * lib/pascal.exp (gpc_compile): Add new option "class".
13284 (fpc_compile): Likewise.
13285 * gdb.pascal/case-insensitive-symbols.pas: New file.
13286 * gdb.pascal/case-insensitive-symbols.exp: New file.
13288 2015-04-20 Gary Benson <gbenson@redhat.com>
13290 * gdb.base/attach.exp: Fix three extended remote failures.
13292 2015-04-17 Gary Benson <gbenson@redhat.com>
13294 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13295 the main executable over the remote protocol.
13297 2015-04-16 Pedro Alves <palves@redhat.com>
13299 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13300 a new gdbserver if gdbserver_reconnect_p is set.
13302 2015-04-16 Pedro Alves <palves@redhat.com>
13304 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13305 is set, don't exit gdbserver.
13307 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13309 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13310 appropriate .insn, such that an older assembler can be used.
13311 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13312 the z/Architecture instruction set on 31-bit targets as well.
13314 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13316 * gdb.go/handcall.exp: Remove all logic related to the first
13317 breakpoint and rely on go_runto_main instead.
13318 * gdb.go/strings.exp: Likewise.
13319 * gdb.go/unsafe.exp: Likewise.
13320 * gdb.go/hello.exp: Likewise. Also rename the remaining
13321 breakpoint marker to "breakpoint 1".
13322 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13323 * gdb.go/strings.go: Likewise.
13324 * gdb.go/unsafe.go: Likewise.
13325 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13326 "set breakpoint 2 here" and rename the remaining breakpoint marker
13329 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13331 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13332 if itertools.imap is not present.
13333 * gdb.python/py-objfile.exp: Add parentheses.
13334 * gdb.python/py-type.exp: Same.
13335 * gdb.python/py-unwind-maint.py: Same.
13337 2015-04-15 Yao Qi <yao.qi@linaro.org>
13339 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13340 of ":$ptr_size" and set its form explicitly.
13342 2015-04-15 Pedro Alves <palves@redhat.com>
13343 Yao Qi <yao.qi@linaro.org>
13345 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13346 timeout by factor of 4.
13347 (test_regular_watch): Likewise.
13348 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13349 * gdb.reverse/sigall-reverse.exp: Likewise.
13350 * gdb.reverse/until-precsave.exp: Likewise.
13351 * lib/gdb.exp (with_timeout_factor): New proc.
13352 (gdb_expect): Move some code to ...
13353 (get_largest_timeout): ... here. New procedure.
13355 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13357 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13359 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13361 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13362 to write to the .text section.
13364 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13366 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13367 Handle the case of targets that do not provide PID information.
13369 2015-04-13 Yao Qi <yao.qi@linaro.org>
13371 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13372 and use expect instead of gdb_expect.
13374 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13376 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13377 "coredump_var_addr" to avoid naming conflict with other testcases.
13379 2015-04-10 Pedro Alves <palves@redhat.com>
13381 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13382 gdb_test_sequence and gdb_assert.
13384 2015-04-10 Pedro Alves <palves@redhat.com>
13386 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13387 test messages that don't include the breakpoint address.
13389 2015-04-10 Yao Qi <yao.qi@linaro.org>
13391 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13392 false for some offset and width combinations which aren't
13393 supported by linux kernel.
13395 2015-04-10 Pedro Alves <palves@redhat.com>
13397 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13398 procedure, factored out from ...
13399 (top level): ... here. Add "set displaced-stepping" testing axis.
13400 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13401 parameter "displaced". Use it.
13402 (top level): Use foreach and add "set displaced-stepping" testing
13405 2015-04-10 Pedro Alves <palves@redhat.com>
13407 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13409 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13410 both the address of the instruction that triggers the watchpoint
13411 and the address of the instruction immediately after, and use
13412 those addresses for the test. Fix comment.
13414 2015-04-10 Pedro Alves <palves@redhat.com>
13416 * gdb.base/sigstep.exp (breakpoint_to_handler)
13417 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13418 Test "backtrace" in handler.
13419 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13420 (top level): Add new "displaced" test axis to
13421 breakpoint_to_handler, breakpoint_to_handler_entry and
13422 breakpoint_over_handler.
13424 2015-04-10 Pedro Alves <palves@redhat.com>
13427 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13429 2015-04-10 Yao Qi <yao.qi@linaro.org>
13431 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13432 (test_add_rn_pc): New function.
13433 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13434 (top level): Invoke test_add_rn_pc.
13436 2015-04-10 Pedro Alves <palves@redhat.com>
13439 * gdb.base/step-over-no-symbols.exp: New file.
13441 2015-04-09 Andy Wingo <wingo@igalia.com>
13443 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13444 after the Python tests.
13446 2015-04-08 Keith Seitz <keiths@redhat.com>
13449 * gdb.python/py-completion.exp: New tests for completion.
13450 * gdb.python/py-completion.py (CompleteLimit1): New class.
13451 (CompleteLimit2): Likewise.
13452 (CompleteLimit3): Likewise.
13453 (CompleteLimit4): Likewise.
13454 (CompleteLimit5): Likewise.
13455 (CompleteLimit6): Likewise.
13456 (CompleteLimit7): Likewise.
13458 2015-04-08 Pedro Alves <palves@redhat.com>
13462 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13464 (main): Install it as SIGUSR1 handler.
13465 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13466 parameter. Always use "setup" as prefix. Toggle "set
13467 displaced-stepping" off/on depending on global. Don't switch to
13469 (top level): Add displaced stepping "off/on" test axis. Update
13470 "setup" calls. Wrap each subtest with with_test_prefix. Test
13471 continuing with a queued signal in each thread.
13473 2015-04-08 Pedro Alves <palves@redhat.com>
13475 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13476 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13477 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13478 Return early if running to main fails.
13479 * gdb.trace/while-stepping.exp: Likewise.
13481 2015-04-07 Pedro Alves <palves@redhat.com>
13483 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13484 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13485 interact with inferior program.
13487 2015-04-07 Pedro Alves <palves@redhat.com>
13489 * lib/gdb.exp (inferior_spawn_id): New global.
13490 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13491 spawn id after processing the user code.
13492 (default_gdb_start): Set inferior_spawn_id.
13493 (send_inferior): New procedure.
13494 * lib/gdbserver-support.exp (gdbserver_start): Set
13496 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13498 2015-04-07 Pedro Alves <palves@redhat.com>
13500 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13501 * lib/gdbserver-support.exp (gdbserver_start): Make
13502 $server_spawn_id global.
13503 (gdbserver_start): Don't wait for gdbserver's spawn id with
13505 (close_gdbserver): New procedure.
13506 (gdb_exit): Rename the default version and reimplement.
13508 2015-04-07 Pedro Alves <palves@redhat.com>
13510 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13511 append the substituted item, not the original item.
13513 2015-04-07 Pedro Alves <palves@redhat.com>
13515 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13518 2015-04-07 Pedro Alves <palves@redhat.com>
13520 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13521 output appearing once only.
13523 2015-04-07 Pedro Alves <palves@redhat.com>
13525 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13526 that doesn't expect anything. Return early if running to main
13529 2015-04-07 Yao Qi <yao.qi@linaro.org>
13531 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13532 (child_function): Call alarm.
13533 (main): Move call to alarm into the loop.
13534 * gdb.threads/non-stop-fair-events.exp: Build program with
13535 -DTIMEOUT=$timeout.
13537 2015-04-06 Doug Evans <xdje42@gmail.com>
13539 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13540 Fix dest parameter to board_info.
13541 (fpc_compile): Ditto.
13542 (gdb_compile_pascal): Rename dest arg to destfile.
13544 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13546 * gdb.ada/funcall_ref.exp: New file.
13547 * gdb.ada/funcall_ref/foo.adb: New file.
13549 2015-04-02 Yao Qi <yao.qi@linaro.org>
13551 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13554 2015-04-02 Gary Benson <gbenson@redhat.com>
13556 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13558 2015-04-01 Sasha Smundak <asmundak@google.com>
13560 * gdb.python/py-unwind-maint.c: New file.
13561 * gdb.python/py-unwind-maint.exp: New test.
13562 * gdb.python/py-unwind-maint.py: New file.
13563 * gdb.python/py-unwind.c: New file.
13564 * gdb.python/py-unwind.exp: New test.
13565 * gdb.python/py-unwind.py: New test.
13567 2015-04-01 Pedro Alves <palves@redhat.com>
13569 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13570 to fail instead of non-existent $test.
13572 2015-04-01 Pedro Alves <palves@redhat.com>
13574 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13575 GDBFLAGS if not empty.
13577 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13579 * gdb.ada/complete.exp: Remove "multi_line".
13580 * gdb.ada/info_exc.exp: Remove "multi_line".
13581 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13582 * gdb.ada/ptype_field.exp: Remove "multi_line".
13583 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13584 * gdb.ada/tagged.exp: Remove "multi_line".
13585 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13587 * gdb.btrace/delta.exp: Likewise.
13588 * gdb.btrace/exception.exp: Likewise.
13589 * gdb.btrace/function_call_history.exp: Likewise.
13590 * gdb.btrace/instruction_history.exp: Likewise.
13591 * gdb.btrace/nohist.exp: Likewise.
13592 * gdb.btrace/record_goto.exp: Likewise.
13593 * gdb.btrace/segv.exp: Likewise.
13594 * gdb.btrace/stepi.exp: Likewise.
13595 * gdb.btrace/tailcall.exp: Likewise.
13596 * gdb.btrace/unknown_functions.exp: Likewise.
13597 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13598 * lib/gdb.exp: Add the "multi_line" helper.
13600 2015-04-01 Pedro Alves <palves@redhat.com>
13602 * gdb.threads/tid-reuse.c: New file.
13603 * gdb.threads/tid-reuse.exp: New file.
13605 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13608 * gdb.base/coredump-filter.c: New file.
13609 * gdb.base/coredump-filter.exp: Likewise.
13611 2015-03-27 Petr Machata <pmachata@redhat.com>
13613 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13614 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13615 (Dwarf::assemble): Initialize them.
13616 (Dwarf::lines): New function.
13618 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13620 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13621 SYMBOL_PREFIX for x86_64-*-cygwin.
13623 2015-03-26 Andy Wingo <wingo@igalia.com>
13626 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13627 const_value but not a location.
13628 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13629 location defined in non-main CUs are visible.
13631 2015-03-26 Yao Qi <yao.qi@linaro.org>
13634 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13635 Add a line number entry for the same line.
13636 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13637 Add a line number entry for the same line.
13639 2015-03-26 Yao Qi <yao.qi@linaro.org>
13641 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13643 (func): Likewise. Add .Lfunc_1 label.
13644 Use .Lfunc_1 label.
13645 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13648 Use .Lfunc_1 label.
13650 2015-03-26 Yao Qi <yao.qi@linaro.org>
13652 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13653 Call gdb_compile instead to compile each .s files without debug
13656 2015-03-26 Yao Qi <yao.qi@linaro.org>
13658 * gdb.base/savedregs.exp (process_saved_regs): Make
13659 "Saved registers:" optional in the pattern.
13661 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13663 * gdb.btrace/next.exp: Merged into step.exp.
13664 * gdb.btrace/finish.exp: Merged into step.exp.
13665 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13666 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13667 "record goto" and checking the exact replay position.
13668 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13669 check for "Recording format" in "info record" output.
13670 * gdb.btrace/record_goto.exp: Choose test file based on target.
13671 * gdb.btrace/x86-record_goto.S: Renamed into ...
13672 * gdb.btrace/x86_64-record_goto.S: ... this.
13673 * gdb.btrace/i686-record_goto.S: New.
13674 * gdb.btrace/x86-tailcall.S: Renamed into ...
13675 * gdb.btrace/x86_64-tailcall.S: ... this.
13676 * gdb.btrace/i686-tailcall.S: New.
13677 * gdb.btrace/x86-tailcall.c: Renamed into ...
13678 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13679 separate statements. Update test.
13680 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13681 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13682 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13683 * gdb.btrace/tailcall.exp: Choose test file based on target.
13684 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13686 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13688 * gdb.btrace/exception.exp: Increase BTS buffer size.
13690 2015-03-24 Pedro Alves <palves@redhat.com>
13692 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13694 2015-03-24 Pedro Alves <palves@redhat.com>
13696 * gdb.threads/schedlock.exp (test_step): No longer expect that
13697 "set scheduler-locking step" with "next" over a function call runs
13700 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13702 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13704 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13706 PR breakpoints/16466
13707 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13708 * gdb.mi/mi-pending.c (thread_func): New function.
13709 (int main): Add threading support required.
13710 * gdb.mi/mi-pending.exp: Add tests for this issue.
13711 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13712 (pendfunc2): Remove stdio dependency.
13713 * gdb.mi/mi-pendshr2.c: New file.
13715 2015-03-23 Keith Seitz <keiths@redhat.com>
13717 * gdb.linespec/keywords.c: New file.
13718 * gdb.linespec/keywords.exp: New file.
13720 2015-03-23 Keith Seitz <keiths@redhat.com>
13723 * gdb.dwarf2/staticvirtual.exp: New test.
13725 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13727 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13728 * README: Remove HP-UX and gdb.hp.
13730 * configure: Regenerate.
13731 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13732 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13733 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13734 gdb.hp/gdb.defects/Makefile.
13735 * gdb.hp/Makefile.in: File deleted.
13736 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13737 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13738 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13739 * gdb.hp/gdb.aCC/run.c: File deleted.
13740 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13741 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13742 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13743 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13744 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13745 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13746 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13747 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13748 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13749 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13750 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13751 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13752 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13753 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13754 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13755 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13756 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13757 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13758 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13759 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13760 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13761 * gdb.hp/gdb.compat/average.c: File deleted.
13762 * gdb.hp/gdb.compat/sum.c: File deleted.
13763 * gdb.hp/gdb.compat/xdb.c: File deleted.
13764 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13765 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13766 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13767 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13768 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13769 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13770 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13771 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13772 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13773 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13774 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13775 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13776 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13777 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13778 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13779 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13780 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13781 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13782 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13783 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13784 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13785 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13786 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13787 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13788 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13789 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13790 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13791 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13792 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13793 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13794 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13795 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13796 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13797 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13798 * gdb.hp/tools/odump: File deleted.
13800 2015-03-19 Pedro Alves <palves@redhat.com>
13802 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13803 (saw_thread_3): New globals.
13804 (top level): Increment them when an event for the corresponding
13806 (no thread starvation): New test.
13808 2015-03-19 Pedro Alves <palves@redhat.com>
13810 * gdb.threads/continue-pending-status.c: New file.
13811 * gdb.threads/continue-pending-status.exp: New file.
13813 2015-03-18 Pedro Alves <palves@redhat.com>
13815 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13816 Use gdb_is_target_remote instead of is_remote. Use
13817 gdb_test_multiple instead of gdb_expect. Exit early if
13818 gdb_test_multiple hits its internal matches. Tighten stepi tests
13819 expected output. Fail on exit with any signal, instead of just
13822 2015-03-18 Yao Qi <yao.qi@linaro.org>
13825 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13827 * gdb.base/catch-syscall.exp: Don't skip it on
13828 aarch64*-*-linux* target. Remove elements in all_syscalls.
13829 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13831 (setup_all_syscalls): New proc.
13833 2015-03-16 Yao Qi <yao.qi@linaro.org>
13835 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13836 (top level): Skip tests if valid_addr_p returns false for
13839 2015-03-11 Andy Wingo <wingo@igalia.com>
13841 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13843 2015-03-11 Yao Qi <yao.qi@linaro.org>
13845 * gdb.base/catch-syscall.exp: Fix typo in comments.
13847 2015-03-11 Yao Qi <yao.qi@linaro.org>
13849 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13851 2015-03-09 Pedro Alves <palves@redhat.com>
13853 * dg-extract-results.py: Delete.
13855 2015-03-09 Pedro Alves <palves@redhat.com>
13857 Merge dg-extract-results.sh from GCC upstream (r218843).
13859 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13860 * dg-extract-results.sh: Use --text with grep to avoid issues with
13861 binary files. Fall back to cat -v, if that doesn't work.
13863 2015-03-05 Pedro Alves <palves@redhat.com>
13865 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13867 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13869 * lib/mi-support.exp (mi_expect_interrupt): Accept
13870 alternative event for when in all-stop mode.
13872 2015-03-04 Pedro Alves <palves@redhat.com>
13874 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13876 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13878 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13880 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13882 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13883 regexps for GDB's current line display, accept a hex address
13884 preceding the line number.
13886 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13888 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13889 the 'arch1' variable for "s390*-linux*" targets.
13891 2015-03-04 Pedro Alves <palves@redhat.com>
13893 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13894 (main): Pass missing retval argument to pthread_join call.
13896 2015-03-02 Pedro Alves <palves@redhat.com>
13898 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13899 (top level): Call do_test with non-stop as well.
13901 2015-03-02 Pedro Alves <palves@redhat.com>
13903 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13906 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13908 * gdb.arch/s390-vregs.exp: New test.
13909 * gdb.arch/s390-vregs.S: New file.
13911 2015-02-27 Pedro Alves <palves@redhat.com>
13913 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13914 call to catch_command_errors.
13915 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13916 catch_command_errors.
13918 2015-02-27 Pedro Alves <palves@redhat.com>
13920 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13921 "true" for boolean result.
13922 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13925 2015-02-27 Pedro Alves <palves@redhat.com>
13927 * lib/unbuffer_output.c: New file.
13928 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13929 (main): Call gdb_unbuffer_output.
13931 2015-02-27 Yao Qi <yao.qi@linaro.org>
13933 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13936 2015-02-26 Doug Evans <dje@google.com>
13938 * gdb.cp/class2.cc (Dbase, D): New classes.
13939 (main): New local delta.
13940 * gdb.cp/class2.exp: Test printing delta.
13941 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13942 (dynbar): New global.
13943 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13945 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13947 * gdb.compile/compile-ifunc.c: New file.
13948 * gdb.compile/compile-ifunc.exp: New file.
13950 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13952 * gdb.base/structs.exp: Check for correct struct on finish.
13954 2015-02-26 Yao Qi <yao.qi@linaro.org>
13956 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13959 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13961 * gdb.arch/cordic.ko.bz2: New file.
13962 * gdb.arch/cordic.ko.debug.bz2: New file.
13963 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13965 2015-02-25 Yao Qi <yao.qi@linaro.org>
13967 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13968 aarch64*-*-* target.
13970 2015-02-23 Pedro Alves <palves@redhat.com>
13972 * lib/gdb.exp (delete_breakpoints): Rewrite using
13975 2015-02-23 Pedro Alves <palves@redhat.com>
13977 * gdb.base/info-os.c: Include stdlib.h.
13979 2015-02-22 Doug Evans <xdje42@gmail.com>
13982 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13983 is read after symbols have been re-read.
13984 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13985 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13987 2015-02-21 Doug Evans <dje@google.com>
13989 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13991 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13994 * gdb.arch/i386-biarch-core.core.bz2: New file.
13995 * gdb.arch/i386-biarch-core.exp: New file.
13997 2015-02-21 Pedro Alves <palves@redhat.com>
13999 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14002 2015-02-20 Pedro Alves <palves@redhat.com>
14004 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14007 2015-02-20 Pedro Alves <palves@redhat.com>
14009 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14011 2015-02-20 Pedro Alves <palves@redhat.com>
14013 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14014 clean_restart before gdb_target_supports_trace.
14016 2015-02-20 Pedro Alves <palves@redhat.com>
14019 * gdb.threads/clone-thread_db.c: New file.
14020 * gdb.threads/clone-thread_db.exp: New file.
14022 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14024 PR breakpoints/16812
14025 * gdb.base/catch-gdb-caused-signals.c: New file.
14026 * gdb.base/catch-gdb-caused-signals.exp: New file.
14028 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14030 * configure: Regenerated.
14031 * configure.ac: Use GDB_AC_TRANSFORM.
14032 * aclocal.m4: sinclude ../transform.m4.
14034 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14036 * lib/dtrace.exp: New file.
14037 * gdb.base/dtrace-probe.exp: Likewise.
14038 * gdb.base/dtrace-probe.d: Likewise.
14039 * gdb.base/dtrace-probe.c: Likewise.
14040 * lib/pdtrace.in: Likewise.
14041 * configure.ac: Output variables with the transformed names of
14042 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14043 * configure: Regenerated.
14045 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14047 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14048 expected message when trying to access $_probe_* convenience
14049 variables while not on a probe.
14051 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14053 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14055 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14057 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14058 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14060 2015-02-10 Doug Evans <xdje42@gmail.com>
14062 * lib/gdb.exp (gdb_load): Always return a result.
14064 2015-02-10 Pedro Alves <palves@redhat.com>
14066 * gdb.threads/signal-sigtrap.c: New file.
14067 * gdb.threads/signal-sigtrap.exp: New file.
14069 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14071 * gdb.trace/no-attach-trace.c: New file.
14072 * gdb.trace/no-attach-trace.exp: New file.
14074 2015-02-09 Mark Wielaard <mjw@redhat.com>
14076 * gdb.dwarf2/atomic.c: New file.
14077 * gdb.dwarf2/atomic-type.exp: Likewise.
14079 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14081 * gdb.btrace/buffer-size.exp: Update "info record" output.
14082 * gdb.btrace/delta.exp: Update "info record" output.
14083 * gdb.btrace/enable.exp: Update "info record" output.
14084 * gdb.btrace/finish.exp: Update "info record" output.
14085 * gdb.btrace/instruction_history.exp: Update "info record" output.
14086 * gdb.btrace/next.exp: Update "info record" output.
14087 * gdb.btrace/nexti.exp: Update "info record" output.
14088 * gdb.btrace/step.exp: Update "info record" output.
14089 * gdb.btrace/stepi.exp: Update "info record" output.
14090 * gdb.btrace/nohist.exp: Update "info record" output.
14092 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14094 * gdb.btrace/buffer-size: New.
14096 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14098 * gdb.btrace/delta.exp: Update "info record" output.
14099 * gdb.btrace/enable.exp: Update "info record" output.
14100 * gdb.btrace/finish.exp: Update "info record" output.
14101 * gdb.btrace/instruction_history.exp: Update "info record" output.
14102 * gdb.btrace/next.exp: Update "info record" output.
14103 * gdb.btrace/nexti.exp: Update "info record" output.
14104 * gdb.btrace/step.exp: Update "info record" output.
14105 * gdb.btrace/stepi.exp: Update "info record" output.
14106 * gdb.btrace/nohist.exp: Update "info record" output.
14108 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14111 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14113 2015-02-06 Pedro Alves <palves@redhat.com>
14115 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14117 (seconds_left, again): New globals.
14118 (main): Wait seconds_left in a 1-second sleep loop instead of
14119 sleeping 180 seconds. If 'again' is set, reset the seconds
14121 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14122 'again' in the inferior before detaching. Print the seconds left.
14123 (options): New global.
14124 (top level): Build program with -DTIMEOUT=$timeout.
14126 2015-02-06 Pedro Alves <palves@redhat.com>
14128 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14129 determine how many seconds to pass to 'alarm'.
14130 * gdb.base/gdb-sigterm.exp (top level): Build program with
14131 -DTIMEOUT=$timeout.
14132 (do_test): Return success/failure indication. Add more verbose
14133 logging. Don't fail if 200 single steps are seen. Instead, fail
14134 when the test times out.
14135 (passes): New global.
14136 (top level): Break the testing loop if testing fails on any
14137 iteration. Use gdb_assert.
14139 2015-02-04 Don Breazeal <donb@codesourcery.com>
14141 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14142 and initialize them.
14143 (ipc_cleanup): New function.
14144 (main): Don't declare shmid, semid, and msqid. Add a call to
14145 atexit so that we call ipc_cleanup on exit.
14147 2015-02-04 Pedro Alves <palves@redhat.com>
14149 * boards/native-extended-gdbserver.exp: Remove any target variant
14150 specifications from the board name before clearing the isremote
14151 flag from board_info.
14153 2015-01-31 Doug Evans <xdje42@gmail.com>
14155 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14157 2015-01-31 Gary Benson <gbenson@redhat.com>
14159 * gdb.base/completion.exp: Disable completion limiting for
14160 existing tests. Add new tests to check completion limiting.
14161 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14163 2015-01-31 Doug Evans <xdje42@gmail.com>
14165 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14167 2015-01-31 Doug Evans <xdje42@gmail.com>
14169 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14170 entries. Duplicate file section script entries.
14171 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14172 inlined entries. Add test for safe-path rejection.
14173 * gdb.python/py-section-script.c: Add duplicate inlined section script
14174 entries. Duplicate file section script entries.
14175 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14176 inlined entries. Add test for safe-path rejection.
14178 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14180 * gdb.ada/disc_arr_bound: New testcase.
14182 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14184 * gdb.ada/mi_var_array: New testcase.
14186 2015-01-27 Doug Evans <dje@google.com>
14188 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14189 Add test for objfile.filename, objfile.username after objfile
14192 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14194 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14195 the second test to print the name attribute of value
14196 returned by the call to gdb.lookup_type, and adjust
14197 the expected output accordingly.
14199 2015-01-25 Mark Wielaard <mjw@redhat.com>
14201 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14202 * gdb.base/disp-step-fork.c: Include unistd.h.
14203 * gdb.base/siginfo-obj.c: Include stdio.h.
14204 * gdb.base/siginfo-thread.c: Likewise.
14205 * gdb.mi/non-stop.c: Include unistd.h.
14206 * gdb.mi/nsthrexec.c: Include stdio.h.
14207 * gdb.mi/pthreads.c: Include unistd.h.
14208 * gdb.modula2/unbounded1.c (main): Declare returns int.
14209 * gdb.reverse/consecutive-reverse.c: Likewise.
14210 * gdb.threads/create-fail.c: Include unistd.h.
14211 * gdb.threads/killed.c: Likewise.
14212 * gdb.threads/linux-dp.c: Likewise.
14213 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14214 * gdb.threads/non-ldr-exc-2.c: Likewise.
14215 * gdb.threads/non-ldr-exc-3.c: Likewise.
14216 * gdb.threads/non-ldr-exc-4.c: Likewise.
14217 * gdb.threads/pthreads.c: Include unistd.h.
14218 (main): Declare returns int.
14219 * gdb.threads/tls-main.c (foo): New declaration.
14220 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14222 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14224 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14225 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14227 2015-01-15 Mark Wielaard <mjw@redhat.com>
14229 * gdb.base/noreturn-return.c: New file.
14230 * gdb.base/noreturn-return.exp: New file.
14231 * gdb.base/noreturn-finish.c: New file.
14232 * gdb.base/noreturn-finish.exp: New file.
14234 2015-01-23 Pedro Alves <palves@redhat.com>
14236 * gdb.threads/continue-pending-after-query.c: New file.
14237 * gdb.threads/continue-pending-after-query.exp: New file.
14239 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14240 Simon Marchi <simon.marchi@ericsson.com>
14242 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14243 * gdb.base/valgrind-db-attach.exp: Same.
14244 * gdb.base/valgrind-infcall.exp: Same.
14245 * lib/mi-support.exp (default_mi_gdb_start): Same.
14246 * lib/prompt.exp (default_prompt_gdb_start): Same.
14247 * lib/gdb.exp (default_gdb_spawn): Same.
14248 (gdb_interact): New.
14251 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14253 * gdb.compile/compile.exp (pointer to jit function): New test.
14255 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14257 * lib/gdb.exp (supports_process_record): Return true for
14259 (supports_reverse): Likewise.
14261 2015-01-15 Don Breazeal <donb@codesourcery.com>
14263 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14264 instead of checking whether the target board is remote and
14265 use spawn_wait_for_attach instead of exec/sleep.
14266 * gdb.base/attach-twice.exp: Likewise.
14268 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14270 * gdb.ada/var_arr_attrs: New testcase.
14272 2015-01-14 Pedro Alves <palves@redhat.com>
14273 Joel Brobecker <brobecker@adacore.com>
14276 * gdb.base/bp-cmds-execution-x-script.c: New file.
14277 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14278 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14280 2015-01-14 Pedro Alves <palves@redhat.com>
14283 * gdb.base/batch-preserve-term-settings.c: New file.
14284 * gdb.base/batch-preserve-term-settings.exp: New file.
14286 2015-01-13 Doug Evans <dje@google.com>
14288 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14291 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14293 * Makefile.in (clean mostlyclean): Do not delete *.py.
14295 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14297 * gdb.python/py-lookup-type.exp: New file.
14299 2015-01-12 Pedro Alves <palves@redhat.com>
14301 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14302 restore GDBFLAGS before returning.
14304 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14306 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14307 is_amd64_regs_target and is_x86_like_target.
14309 2015-01-11 Doug Evans <xdje42@gmail.com>
14311 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14312 is given without an explicit form.
14313 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14315 * gdb.dwarf/corrupt.exp: Ditto.
14316 * gdb.dwarf2/enum-type.exp: Ditto.
14317 * gdb.trace/entry-values.exp: Ditto.
14318 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14320 2015-01-11 Doug Evans <xdje42@gmail.com>
14323 * gdb.base/maint.exp: Remove references to "maint demangle".
14324 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14325 Add tests for explicitly specifying language to demangle.
14326 * gdb.dlang/demangle.exp: Ditto.
14328 2015-01-09 Pedro Alves <palves@redhat.com>
14330 * gdb.threads/non-stop-fair-events.c: New file.
14331 * gdb.threads/non-stop-fair-events.exp: New file.
14333 2015-01-09 Pedro Alves <palves@redhat.com>
14335 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14336 the global scope. Set a breakpoint after all threads are started
14337 rather than stepping over two source lines. Expect the prompt.
14338 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14341 (main): Use threads_started_barrier to wait for all threads to
14342 start. Main thread no longer calls thread_function. Exit after
14344 (loop): New function.
14345 (thread_function): Wait on threads_started_barrier barrier. Call
14346 'loop' at each iteration.
14347 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14348 threads have started, instead of hardcoding number of "next"
14349 steps. Use an access watchpoint instead of a write watchpoint.
14351 2015-01-09 Pedro Alves <palves@redhat.com>
14353 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14354 (thread_func): Wait on barrier.
14355 (main): Wait for all threads to start before stopping GDB.
14356 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14358 (thread1_func, thread2_func): Wait on barrier.
14359 (main): Wait for all threads to start before stopping GDB.
14360 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14362 (thread1_func, thread2_func): Wait on barrier.
14363 (main): Wait for all threads to start before stopping GDB.
14365 2015-01-09 Pedro Alves <palves@redhat.com>
14367 * gdb.threads/attach-many-short-lived-threads.c: New file.
14368 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14370 2014-01-09 Pedro Alves <palves@redhat.com>
14372 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14373 instead of to thread 2.
14374 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14375 Add barrier around each pthread_create call instead of around all
14377 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14378 Set a break on thread_function and have the child threads hit it
14381 2015-01-09 Pedro Alves <palves@redhat.com>
14383 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14384 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14386 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14387 checking whether the target board is remote.
14388 * gdb.multi/multi-attach.exp: Likewise.
14389 * gdb.python/py-sync-interp.exp: Likewise.
14390 * gdb.server/ext-attach.exp: Likewise.
14391 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14392 tests that need to attach, instead of checking whether the target
14393 board is remote at the top of the file.
14395 2015-01-08 Yao Qi <yao@codesourcery.com>
14397 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14399 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14401 Fix testcase compilation.
14402 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14404 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14406 * gdb.python/py-type.exp: Add a couple test about empty
14407 array creation, and negative-length array creation.
14409 2015-01-02 Doug Evans <xdje42@gmail.com>
14411 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14413 2015-01-02 Doug Evans <dje@google.com>
14415 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14417 2014-12-29 Yao Qi <yao@codesourcery.com>
14419 * gdb.trace/entry-values.exp: Update comments. Rename variable
14420 bar_call_foo to returned_from_foo.
14422 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14425 * gdb.linespec/break-asm-file.c: New file.
14426 * gdb.linespec/break-asm-file.exp: New file.
14427 * gdb.linespec/break-asm-file0.s: New file.
14428 * gdb.linespec/break-asm-file1.s: New file.
14430 2014-12-18 Nigel Stephens <nigel@mips.com>
14431 Maciej W. Rozycki <macro@codesourcery.com>
14433 * gdb.base/float.exp: Handle the new output from "info float" on
14436 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14438 Fix MinGW compilation.
14439 * gdb.compile/compile-ops.exp: Update untested message if
14440 !skip_compile_feature_tests.
14441 * gdb.compile/compile-setjmp.exp: Likewise.
14442 * gdb.compile/compile-tls.exp: Likewise.
14443 * gdb.compile/compile.exp: Likewise.
14444 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14445 supported on this host".
14447 2014-12-16 Doug Evans <xdje42@gmail.com>
14449 * boards/stabs.exp: New file.
14451 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14453 * gdb.base/completion.exp: Adjust to format changes of "maint
14454 print user-registers".
14456 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14459 * gdb.arch/aarch64-fp.c: New file.
14460 * gdb.arch/aarch64-fp.exp: New file.
14462 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14464 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14465 r210637, r210913, r211666, r215400, r215817).
14467 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14468 * dg-extract-results.py: New file.
14469 * dg-extract-results.sh: Use it if the environment seems
14472 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14474 * dg-extract-results.py (parse_run): Handle warnings that
14475 are printed before a test harness is run.
14477 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14479 * dg-extract-results.py (Named): Remove __cmp__ method.
14480 (output_variation): Use a key to sort variation.harnesses.
14482 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14484 * dg-extract-results.py: For Python 3, force sys.stdout to
14485 handle surrogate escape sequences.
14486 (safe_open): New function.
14487 (output_segment, main): Use it.
14489 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14491 * dg-extract-results.py (Prog.result_re): Include options
14494 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14496 * dg-extract-results.py (output_variation): Always sort if
14499 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14501 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14502 as long as we get pagination notifications.
14504 2014-12-15 Jason Merrill <jason@redhat.com>
14506 * Makefile.in (check-gdb.%): Restore.
14507 * README: Mention it.
14509 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14511 * gdb.ada/str_uninit: New testcase.
14513 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14516 * gdb.base/vla-stub-define.c: New file.
14517 * gdb.base/vla-stub.c: New file.
14518 * gdb.base/vla-stub.exp: New file.
14520 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14521 Jan Kratochvil <jan.kratochvil@redhat.com>
14522 Tom Tromey <tromey@redhat.com>
14524 * configure.ac: Add gdb.compile/.
14525 * configure: Regenerate.
14526 * gdb.compile/Makefile.in: New file.
14527 * gdb.compile/compile-ops.exp: New file.
14528 * gdb.compile/compile-ops.c: New file.
14529 * gdb.compile/compile-tls.c: New file.
14530 * gdb.compile/compile-tls.exp: New file.
14531 * gdb.compile/compile-constvar.S: New file.
14532 * gdb.compile/compile-constvar.c: New file.
14533 * gdb.compile/compile-mod.c: New file.
14534 * gdb.compile/compile-nodebug.c: New file.
14535 * gdb.compile/compile-setjmp-mod.c: New file.
14536 * gdb.compile/compile-setjmp.c: New file.
14537 * gdb.compile/compile-setjmp.exp: New file.
14538 * gdb.compile/compile-shlib.c: New file.
14539 * gdb.compile/compile.c: New file.
14540 * gdb.compile/compile.exp: New file.
14541 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14543 2014-12-12 Tom Tromey <tromey@redhat.com>
14545 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14546 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14548 2014-12-12 Doug Evans <dje@google.com>
14550 * lib/gdb-python.exp (get_python_valueof): New function.
14551 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14553 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14555 * gdb.base/completion.exp: Add test for completion of "info
14558 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14560 * gdb.base/func-ptrs.c: New file.
14561 * gdb.base/func-ptrs.exp: New file.
14563 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14565 PR breakpoints/17012
14566 * gdb.base/dprintf-detach.c: New file.
14567 * gdb.base/dprintf-detach.exp: New file.
14569 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14571 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14572 * lib/gdb.exp (target_is_gdbserver): New procedure.
14574 2014-12-08 Doug Evans <dje@google.com>
14576 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14578 2014-12-05 Yao Qi <yao@codesourcery.com>
14580 * gdb.guile/scm-error.exp: Remove the third argument to
14581 gdb_remote_download.
14582 * gdb.guile/scm-frame-args.exp: Likewise.
14583 * gdb.guile/scm-section-script.exp: Likewise.
14585 2014-12-05 Yao Qi <yao@codesourcery.com>
14587 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14589 2014-12-04 Doug Evans <dje@google.com>
14591 * gdb.python/py-objfile.exp: Add tests for
14592 objfile.add_separate_debug_file.
14594 2014-12-04 Doug Evans <dje@google.com>
14596 * lib/gdb.exp (get_build_id): New function.
14597 (build_id_debug_filename_get): Rewrite to use it.
14598 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14600 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14602 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14603 `method(long)', not just 0x0.
14604 * gdb.cp/nsalias.exp: Align code labels to 4.
14605 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14606 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14607 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14608 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14609 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14610 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14612 2014-12-02 Doug Evans <dje@google.com>
14615 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14616 * gdb.cp/anon-ns2.cc: ... here. New file.
14617 * gdb.cp/anon-ns.exp: Update.
14619 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14621 * gdb.python/py-events.py (inferior_call_handler): New.
14622 (register_changed_handler, memory_changed_handler): New.
14623 (test_events.invoke): Register new handlers.
14624 * gdb.python/py-events.exp: Add tests for inferior call,
14625 memory_changed and register_changed events.
14627 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14629 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14630 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14631 if the linker doesn't understand this.
14633 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14635 * gdb.python/python.exp: Change expected reply to help().
14637 2014-12-01 Yao Qi <yao@codesourcery.com>
14639 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14640 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14641 * configure: Re-generated.
14643 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14645 * gdb.cp/chained-calls.cc: New file.
14646 * gdb.cp/chained-calls.exp: New file.
14647 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14649 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14651 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14652 * gdb.dwarf2/symtab-producer.exp: Same.
14653 * gdb.gdb/python-interrupts.exp: Same.
14654 * gdb.gdb/python-selftest.exp: Same.
14655 * gdb.python/py-linetable.exp: Same.
14656 * gdb.python/py-type.exp: Same.
14657 * gdb.python/py-value-cc.exp: Same.
14658 * gdb.python/py-value.exp: Same.
14660 2014-11-28 Yao Qi <yao@codesourcery.com>
14662 * gdb.base/break-probes.exp: Match library name prefixed with
14665 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14667 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14668 test expected output. Add parentheses for the call to print.
14669 Remove L suffix from integers.
14671 2014-11-26 Doug Evans <dje@google.com>
14673 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14675 2014-11-22 Yao Qi <yao@codesourcery.com>
14677 * gdb.trace/entry-values.c: Remove asms.
14678 (foo): Add foo_label.
14679 (bar): Add bar_label.
14680 * gdb.trace/entry-values.exp: Remove code computing foo's
14681 length and bar's length.
14682 (Dwarf::assemble): Invoke function_range for bar and use
14683 MACRO_AT_func for foo.
14685 2014-11-22 Yao Qi <yao@codesourcery.com>
14687 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14688 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14689 Use .Lgcc43_procstart instead of gcc43.
14691 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14693 * gdb.ada/n_arr_bound: New testcase.
14695 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14697 PR breakpoints/10737
14698 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14699 test_catch_syscall_multi_arch.
14700 (test_catch_syscall_multi_arch): New function.
14702 2014-11-20 Doug Evans <xdje42@gmail.com>
14704 * gdb.base/maint.exp: Update expected output.
14706 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14708 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14709 4-byte instruction on S390.
14711 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14713 * gdb.ada/arr_arr: New testcase.
14715 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14717 * gdb.ada/pkd_arr_elem: New Testcase.
14719 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14721 * gdb.reverse/break-precsave: Expect completion message for
14723 * gdb.reverse/consecutive-precsave.exp: Likewise.
14724 * gdb.reverse/finish-precsave.exp: Likewise.
14725 * gdb.reverse/i386-precsave.exp: Likewise.
14726 * gdb.reverse/machinestate-precsave.exp: Likewise.
14727 * gdb.reverse/sigall-precsave.exp: Likewise.
14728 * gdb.reverse/solib-precsave.exp: Likewise.
14729 * gdb.reverse/step-precsave.exp: Likewise.
14730 * gdb.reverse/until-precsave.exp: Likewise.
14731 * gdb.reverse/watch-precsave.exp: Likewise.
14733 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14735 * gdb.base/bp-permanent.c: Include unistd.h.
14736 * gdb.python/py-framefilter-mi.c (main): Add return type.
14737 * gdb.python/py-framefilter.c (main): Likewise.
14738 * gdb.trace/actions-changed.c (main): Likewise.
14740 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14742 * gdb.mi/until.c: Add eye-catchers.
14743 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14746 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14748 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14749 function header variants in break1.c.
14750 * gdb.base/ena-dis-br.exp: Likewise.
14751 * gdb.base/hbreak2.exp: Likewise.
14752 * gdb.reverse/until-precsave.exp: Drop references to removed
14753 non-prototype function header variants in ur1.c.
14754 * gdb.reverse/until-reverse.exp: Likewise.
14756 2014-11-17 Petr Machata <pmachata@redhat.com>
14758 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14759 ${_cu_offset_size} bytes abbrev offset.
14761 2014-11-15 Doug Evans <xdje42@gmail.com>
14764 * gdb.base/line-symtabs.exp: New file.
14765 * gdb.base/line-symtabs.c: New file.
14766 * gdb.base/line-symtabs.h: New file.
14768 2014-11-14 Yao Qi <yao@codesourcery.com>
14770 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14771 (func): Add label func_label.
14772 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14773 Replace low_pc and high_pc with MACRO_AT_range.
14774 Replace name, low_pc and high_pc with MACRO_AT_func.
14776 2014-11-14 Yao Qi <yao@codesourcery.com>
14778 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14779 Replace name, low_pc and high_pc with MACRO_AT_func.
14781 2014-11-14 Yao Qi <yao@codesourcery.com>
14783 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14784 produce debug information.
14785 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14787 2014-11-14 Yao Qi <yao@codesourcery.com>
14789 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14790 object and get function length.
14791 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14792 with MACRO_AT_func.
14793 (top-level): Replace gdb_compile and clean_restart with
14794 prepare_for_testing.
14795 * gdb.dwarf2/main.c (main): Add label main_label.
14797 2014-11-14 Yao Qi <yao@codesourcery.com>
14799 * lib/dwarf.exp (function_range): New procedure.
14800 (Dwarf::_handle_macro_at_func): New procedure.
14801 (Dwarf::_handle_macro_at_range): New procedure.
14802 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14804 2014-11-14 Yao Qi <yao@codesourcery.com>
14806 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14807 (_handle_attribute): New procedure.
14809 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14811 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14812 * gdb.base/call-sc.c (zed): Likewise.
14813 * gdb.base/checkpoint.c (main): Likewise.
14814 * gdb.base/dump.c (main): Likewise.
14815 * gdb.base/gcore.c (main): Likewise.
14816 * gdb.base/huge.c (main): Likewise.
14817 * gdb.base/multi-forks.c (main): Likewise.
14818 * gdb.base/pr10179-a.c (main): Likewise.
14819 * gdb.base/savedregs.c (main): Likewise.
14820 * gdb.base/sigaltstack.c (main): Likewise.
14821 * gdb.base/siginfo.c (main): Likewise.
14822 * gdb.base/structs.c (zed): Likewise.
14823 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14824 * gdb.mi/mi-syn-frame.c (main): Likewise.
14825 * gdb.mi/until.c (foo, main): Likewise.
14826 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14827 * gdb.base/solib-weak.c (foo): Declare.
14828 * gdb.base/attach-twice.c: Include stdio.h.
14829 * gdb.base/weaklib1.c: Likewise.
14830 * gdb.base/weaklib2.c: Likewise.
14831 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14832 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14834 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14835 * gdb.mi/mi-exit-code.c: Likewise.
14836 * gdb.base/break-interp-lib.c: Include string.h.
14837 * gdb.base/coremaker.c: Likewise.
14838 * gdb.base/testenv.c: Likewise.
14839 * gdb.python/py-finish-breakpoint.c: Likewise.
14840 * gdb.base/inferior-died.c: Include sys/wait.h.
14841 * gdb.base/fileio.c: Include time.h.
14842 * gdb.base/async-shell.c: Include unistd.h.
14843 * gdb.base/dprintf-non-stop.c: Likewise.
14844 * gdb.base/info-os.c: Likewise.
14845 * gdb.mi/mi-console.c: Likewise.
14846 * gdb.mi/watch-nonstop.c: Likewise.
14847 * gdb.python/py-events.c: Likewise.
14848 * gdb.base/async.c (baz): Move up before its invocation.
14849 * gdb.base/code_elim2.c (my_global_func): Likewise.
14850 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14851 * gdb.base/advance.c (func2): Likewise.
14853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14855 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14857 * gdb.base/annota3.c: Likewise.
14858 * gdb.base/async.c: Likewise.
14859 * gdb.base/average.c: Likewise.
14860 * gdb.base/call-ar-st.c: Likewise.
14861 * gdb.base/call-rt-st.c: Likewise.
14862 * gdb.base/call-sc.c: Likewise.
14863 * gdb.base/call-strs.c: Likewise.
14864 * gdb.base/ending-run.c: Likewise.
14865 * gdb.base/execd-prog.c: Likewise.
14866 * gdb.base/exprs.c: Likewise.
14867 * gdb.base/foll-exec.c: Likewise.
14868 * gdb.base/foll-fork.c: Likewise.
14869 * gdb.base/foll-vfork.c: Likewise.
14870 * gdb.base/funcargs.c: Likewise.
14871 * gdb.base/gcore.c: Likewise.
14872 * gdb.base/jump.c: Likewise.
14873 * gdb.base/langs0.c: Likewise.
14874 * gdb.base/langs1.c: Likewise.
14875 * gdb.base/langs2.c: Likewise.
14876 * gdb.base/mips_pro.c: Likewise.
14877 * gdb.base/nodebug.c: Likewise.
14878 * gdb.base/opaque0.c: Likewise.
14879 * gdb.base/opaque1.c: Likewise.
14880 * gdb.base/recurse.c: Likewise.
14881 * gdb.base/run.c: Likewise.
14882 * gdb.base/scope0.c: Likewise.
14883 * gdb.base/scope1.c: Likewise.
14884 * gdb.base/setshow.c: Likewise.
14885 * gdb.base/setvar.c: Likewise.
14886 * gdb.base/shmain.c: Likewise.
14887 * gdb.base/shr1.c: Likewise.
14888 * gdb.base/shr2.c: Likewise.
14889 * gdb.base/sigall.c: Likewise.
14890 * gdb.base/signals.c: Likewise.
14891 * gdb.base/so-indr-cl.c: Likewise.
14892 * gdb.base/solib2.c: Likewise.
14893 * gdb.base/structs.c: Likewise.
14894 * gdb.base/sum.c: Likewise.
14895 * gdb.base/vforked-prog.c: Likewise.
14896 * gdb.base/watchpoint.c: Likewise.
14897 * gdb.reverse/shr2.c: Likewise.
14898 * gdb.reverse/until-reverse.c: Likewise.
14899 * gdb.reverse/ur1.c: Likewise.
14900 * gdb.reverse/watch-reverse.c: Likewise.
14902 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14904 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14906 * gdb.base/sepdebug.exp: Drop references to removed code.
14908 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14910 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14911 variant. Preserve original line numbering.
14912 * gdb.base/list1.c: Likewise.
14914 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14916 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14918 * gdb.base/break1.c: Likewise.
14919 * gdb.base/break.exp: Drop references to removed code.
14921 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14923 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14926 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14928 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14930 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14932 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14933 logic into perform_all_tests() and invoke it with and without
14934 function header prototypes.
14935 (do_function_calls): Remove conditional XFAIL for PR 5318.
14936 (rerun_and_prepare): Remove duplicate code.
14937 (perform_all_tests): New. Main logic moved here.
14939 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14941 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14942 code guarded by #ifdef NO_PROTOTYPES.
14943 (t_double_many_args): Likewise.
14944 (DEF_FUNC_MANY_ARGS_1): Likewise.
14945 (DEF_FUNC_VALUES_1): Likewise.
14946 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14947 guarded by #ifdef PROTOTYPES.
14949 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14951 * gdb.mi/mi-console.c: Add eye-catcher.
14952 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14953 instead of literal line number.
14955 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14957 * gdb.base/shr2.c: Add eye-catcher.
14958 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14961 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14963 * gdb.base/jump.c: Add eye-catchers.
14964 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14967 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14969 * gdb.base/execd-prog.c: Add eye-catchers.
14970 * gdb.base/foll-exec.c: Likewise.
14971 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14974 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14976 * gdb.base/ending-run.c: Add eye-catchers.
14977 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14978 literal line numbers.
14980 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14982 * gdb.base/call-rt-st.c: Add eye-catchers.
14983 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14984 literal line numbers.
14986 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14988 * gdb.base/call-ar-st.c: Add eye-catchers.
14989 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14990 literal line numbers.
14992 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14994 * gdb.base/average.c: Add eye-catchers.
14995 * gdb.base/sum.c: Likewise.
14996 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14997 regexps dynamically.
14999 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15001 * gdb.base/solib1.c: Add eye-catchers.
15002 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15003 literal line numbers.
15005 2014-11-12 Pedro Alves <palves@redhat.com>
15007 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15010 2014-11-12 Pedro Alves <palves@redhat.com>
15012 * gdb.arch/i386-bp_permanent.c: New file.
15013 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15014 (srcfile): Set to i386-bp_permanent.c.
15015 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15016 that stepi does not execute the 'leave' instruction, instead of
15017 testing it does execute.
15018 * gdb.base/bp-permanent.c: New file.
15019 * gdb.base/bp-permanent.exp: New file.
15021 2014-11-10 Doug Evans <xdje42@gmail.com>
15024 * gdb.base/symtab-search-order.exp: New file.
15025 * gdb.base/symtab-search-order.c: New file.
15026 * gdb.base/symtab-search-order-1.c: New file.
15027 * gdb.base/symtab-search-order-shlib-1.c: New file.
15029 2014-11-07 Pedro Alves <palves@redhat.com>
15032 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15035 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15038 * gdb.cp/pr17494.cc: New file.
15039 * gdb.cp/pr17494.exp: New file.
15041 2014-11-02 Yao Qi <yao@codesourcery.com>
15043 * gdb.python/python.exp: Get working directory and match the
15044 output of "set extended-prompt \\w " with it.
15046 2014-10-30 Doug Evans <dje@google.com>
15048 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15050 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15053 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15055 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15056 * gdb.base/realname-expand.exp: Likewise.
15057 * gdb.linespec/macro-relative.exp: Likewise.
15059 2014-10-29 Pedro Alves <palves@redhat.com>
15062 * gdb.threads/schedlock.c (some_function): New function.
15063 (call_function): New global.
15064 (MAYBE_CALL_SOME_FUNCTION): New macro.
15065 (thread_function): Call it.
15066 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15067 and use it instead of a global counter. Adjust all callers.
15068 (get_current_thread): Use "find current thread" for test message
15069 here rather than having all callers pass down the same string.
15070 (goto_loop): New procedure, factored out from ...
15071 (my_continue): ... this.
15072 (step_ten_loops): Change parameter from test message to command to
15074 (list_count): Delete global.
15075 (check_result): New procedure, factored out from duplicate top
15077 (continue tests): Wrap in with_test_prefix.
15078 (test_step): New procedure, factored out from duplicate top level
15080 (top level): Test "step" in combination with all scheduler-locking
15081 modes. Test "next" in combination with all scheduler-locking
15082 modes, and in combination with stepping over a function call or
15084 * gdb.threads/next-bp-other-thread.c: New file.
15085 * gdb.threads/next-bp-other-thread.exp: New file.
15087 2014-10-29 Pedro Alves <palves@redhat.com>
15090 * gdb.python/python.exp: Test a multi-line command that spawns
15091 interactive Python.
15092 * gdb.base/multi-line-starts-subshell.exp: New file.
15094 2014-10-29 Yao Qi <yao@codesourcery.com>
15096 * gdb.base/fileio.exp: Make directories on host.
15098 2014-10-29 Yao Qi <yao@codesourcery.com>
15100 * gdb.base/fileio.c (test_write): Close the file.
15102 2014-10-28 Pedro Alves <palves@redhat.com>
15105 * gdb.base/sigstep.c (no_handler): New global.
15106 (main): If 'no_handler is true, set the signal handlers to
15108 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15109 with_sw_watch and no_handler parameters. Handle them.
15110 (top level) <stepping over handler when stopped at a breakpoint
15111 test>: Add a test axis for testing with a software watchpoint, and
15112 another for testing with the signal handler set to SIG_IGN.
15113 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15114 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15116 2014-10-28 Pedro Alves <palves@redhat.com>
15119 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15120 * gdb.base/sigstep.exp (other_handler_location): New global.
15121 (advance): Support stepping into the signal handler, and running
15122 commands while in the handler.
15123 (in_handler_map): New global.
15124 (top level): In the advance test, add combinations for getting
15125 into the handler with stepping commands, and for running commands
15126 in the handler. Add comment descripting the advancei tests.
15128 2014-10-28 Pedro Alves <palves@redhat.com>
15130 * gdb.base/sigstep.exp: Use build_executable instead of
15131 prepare_for_testing.
15132 (top level): Move code that starts GDB, runs to main and creates a
15134 (restart): ... this new procedure.
15135 (top level): Move backtrace from signal handler test to ...
15136 (validate_backtrace): ... this new procedure.
15137 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15138 with_test_prefix. Always restart GDB.
15139 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15140 with_test_prefix. Always restart GDB. No need to delete
15141 breakpoints after the test.
15142 (test_skip_handler): Remove prefix parameter.
15143 (skip_over_handler, breakpoint_to_handler)
15144 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15145 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15146 restart GDB. No need to delete breakpoints after the test.
15147 (top level): Use foreach to call the test procedures with
15148 different commands.
15150 2014-10-28 Pedro Alves <palves@redhat.com>
15152 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15153 instead of GNATS numbers.
15154 * gdb.base/sigbpt.exp: Likewise.
15155 * gdb.base/siginfo.exp: Likewise.
15156 * gdb.base/sigstep.exp: Likewise.
15158 2014-10-27 Pedro Alves <palves@redhat.com>
15160 * gdb.base/sigstep.c (dummy): New global.
15161 (main): Issue a couple writes to the new global.
15162 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15164 (skip_over_handler): Use test_skip_handler.
15165 (top level): Call skip_over_handler for stepi and nexti too.
15166 (breakpoint_over_handler): Use test_skip_handler.
15167 (top level): Call breakpoint_over_handler for stepi and nexti too.
15169 2014-10-27 Yao Qi <yao@codesourcery.com>
15171 * gdb.trace/tfile.c (adjust_function_address)
15172 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15173 function descriptor.
15175 2014-10-24 Don Breazeal <donb@codesourcery.com>
15177 * gdb.base/foll-fork.exp (test_follow_fork,
15178 catch_fork_child_follow): Check for updated fork messages emitted
15180 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15181 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15182 vfork_and_exec_child_follow_through_step): Check for updated vfork
15183 messages emitted from infrun.c.
15185 2014-10-24 Pedro Alves <palves@redhat.com>
15187 * gdb.base/corefile.exp: Remove references to ultrix.
15188 * gdb.base/interrupt.exp: Likewise.
15189 * gdb.base/whatis.exp: Likewise.
15190 * gdb.gdb/selftest.exp: Likewise.
15191 * gdb.threads/manythreads.exp: Likewise.
15192 * gdb.threads/print-threads.exp: Likewise.
15193 * gdb.threads/pthreads.exp:: Likewise.
15194 * gdb.threads/schedlock.exp: Likewise.
15196 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15198 * gdb.cp/non-trivial-retval.cc: Add a test case.
15199 * gdb.cp/non-trivial-retval.exp: Add a test.
15201 2014-10-20 Yao Qi <yao@codesourcery.com>
15203 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15204 * gdb.python/py-objfile-script-gdb.py: New file.
15205 * gdb.python/py-objfile-script.exp: Update reference to
15206 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15207 of remote_download. Remove the dest file.
15209 2014-10-20 Yao Qi <yao@codesourcery.com>
15211 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15212 * gdb.base/step-line.exp: Likewise.
15213 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15214 * gdb.dwarf2/dw2-basic.exp: Likewise.
15215 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15216 * gdb.dwarf2/dw2-filename.exp: Likewise.
15217 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15218 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15219 * gdb.dwarf2/dw2-producer.exp: Likewise.
15220 * gdb.dwarf2/mac-fileno.exp: Likewise.
15221 * gdb.python/py-frame-args.exp: Likewise.
15222 * gdb.python/py-framefilter.exp: Likewise.
15223 * gdb.python/py-mi.exp: Likewise.
15224 * gdb.python/py-objfile-script.exp: Likewise
15225 * gdb.python/py-pp-integral.exp: Likewise.
15226 * gdb.python/py-pp-re-notag.exp: Likewise.
15227 * gdb.python/py-prettyprint.exp: Likewise.
15228 * gdb.python/py-section-script.exp: Likewise.
15229 * gdb.python/py-typeprint.exp: Likewise.
15230 * gdb.python/py-xmethods.exp: Likewise.
15231 * gdb.stabs/weird.exp: Likewise.
15232 * gdb.xml/tdesc-regs.exp: Likewise.
15234 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15236 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15237 (out_cu): Use addr_len for the size of addresses.
15238 (out_line): Likewise. Size DW_LNE_set_address instruction
15239 according to addr_len.
15240 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15241 (FUNC): Add START_INSNS to definition.
15243 2014-10-18 Yao Qi <yao@codesourcery.com>
15245 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15246 gdb_has_argv0 return true.
15247 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15248 check [target_info exists noargs], check [gdb_has_argv0]
15250 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15251 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15254 2014-10-17 Doug Evans <dje@google.com>
15256 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15258 * gdb.python/py-events.py: Add clear_objfiles event.
15260 2014-10-17 Doug Evans <dje@google.com>
15262 * gdb.python/py-objfile.exp: Test progspace attribute.
15264 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15266 * gdb.guile/scm-breakpoint.exp: Do not assume any
15267 directory separators when matching source file paths.
15268 * gdb.python/py-breakpoint.exp: Likewise.
15269 * gdb.reverse/break-precsave.exp: Likewise.
15270 * gdb.reverse/break-reverse.exp: Likewise.
15271 * gdb.reverse/consecutive-precsave.exp: Likewise.
15272 * gdb.reverse/finish-precsave.exp: Likewise.
15273 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15274 * gdb.reverse/finish-reverse.exp: Likewise.
15275 * gdb.reverse/i386-precsave.exp: Likewise.
15276 * gdb.reverse/i387-env-reverse.exp: Likewise.
15277 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15278 * gdb.reverse/machinestate-precsave.exp: Likewise.
15279 * gdb.reverse/machinestate.exp: Likewise.
15280 * gdb.reverse/sigall-precsave.exp: Likewise.
15281 * gdb.reverse/solib-precsave.exp: Likewise.
15282 * gdb.reverse/step-precsave.exp: Likewise.
15283 * gdb.reverse/until-precsave.exp: Likewise.
15284 * gdb.reverse/watch-precsave.exp: Likewise.
15285 * gdb.reverse/watch-reverse.exp: Likewise.
15287 2014-10-17 Yao Qi <yao@codesourcery.com>
15289 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15290 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15292 2014-10-17 Pedro Alves <palves@redhat.com>
15295 * gdb.base/bg-execution-repeat.c: New file.
15296 * gdb.base/bg-execution-repeat.exp: New file.
15298 2014-10-17 Pedro Alves <palves@redhat.com>
15301 * gdb.base/continue-all-already-running.c: New file.
15302 * gdb.base/continue-all-already-running.exp: New file.
15304 2014-10-17 Pedro Alves <palves@redhat.com>
15307 * gdb.base/annota-input-while-running.c: New file.
15308 * gdb.base/annota-input-while-running.exp: New file.
15310 2014-10-17 Pedro Alves <palves@redhat.com>
15312 * gdb.base/callfuncs.exp: emove references to osf.
15313 * gdb.base/sigall.exp: Likewise.
15314 * gdb.gdb/selftest.exp: Likewise.
15315 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15316 * gdb.mi/non-stop.c: Likewise.
15317 * gdb.mi/pthreads.c: Likewise.
15318 * gdb.reverse/sigall-precsave.exp: Likewise.
15319 * gdb.reverse/sigall-reverse.exp: Likewise.
15320 * gdb.threads/pthreads.c: Likewise.
15321 * gdb.threads/pthreads.exp: Likewise.
15323 2014-10-17 Yao Qi <yao@codesourcery.com>
15325 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15326 check 'target_info exists noargs'.
15327 (test_command_prompt_position): Likewise.
15328 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15330 (progvar_simple_while_test): Likewise.
15331 (progvar_complex_if_while_test): Likewise.
15332 (if_while_breakpoint_command_test): Likewise.
15333 (infrun_breakpoint_command_test): Likewise.
15334 (breakpoint_command_test): Likewise.
15335 (watchpoint_command_test): Likewise.
15336 (bp_deleted_in_command_test): Likewise.
15337 (temporary_breakpoint_commands): Likewise.
15339 2014-10-16 Yao Qi <yao@codesourcery.com>
15341 * gdb.base/remotetimeout.exp: Remove noargs checking.
15343 2014-10-15 Pedro Alves <palves@redhat.com>
15345 PR breakpoints/9649
15346 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15347 * gdb.base/breakpoint-in-ro-region.exp
15348 (probe_target_hardware_step): New procedure.
15349 (top level): Probe hardware stepping and hardware breakpoint
15350 support. Test stepping through a read-only region, with both
15351 "breakpoint auto-hw" on and off and both "always-inserted" on and
15354 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15356 * gdb.dlang/demangle.exp: Update for demangling changes.
15358 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15360 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15361 * gdb.cp/non-trivial-retval.exp: Add new tests.
15363 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15367 * gdb.cp/non-trivial-retval.cc: New file.
15368 * gdb.cp/non-trivial-retval.exp: New file.
15370 2014-10-15 Yao Qi <yao@codesourcery.com>
15372 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15375 2014-10-15 Yao Qi <yao@codesourcery.com>
15377 * gdb.python/py-symbol.exp: Match file base name if host is
15378 remote, otherwise match file name with dir name.
15379 * gdb.python/py-symtab.exp: Likewise.
15380 * gdb.python/python.exp: Likewise.
15382 2014-10-15 Yao Qi <yao@codesourcery.com>
15384 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15386 * gdb.python/py-symtab.exp: Likewise.
15387 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15390 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15392 * gdb.ada/addr_arith: New testcase.
15394 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15396 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15397 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15398 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15399 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15401 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15403 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15404 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15405 * gdb.arch/stap-eval-lang-ada.exp: New file.
15407 2014-10-14 Yao Qi <yao@codesourcery.com>
15409 * gdb.mi/mi-var-child.c (nothing1): New function.
15410 (nothing2): New function.
15411 (do_children_tests): Set function pointers by nothing1 and
15413 * gdb.mi/mi-var-child.exp: Step over new added statements.
15414 Update test to match the new output.
15415 * gdb.mi/var-cmd.c (nothing1): New function.
15416 (nothing2): New function.
15417 (do_children_tests): Set function pointers by nothing1 and
15419 * gdb.mi/mi-var-display.exp: Update test to match output.
15420 Step to the line specified by $line_dct_nothing.
15421 Increase the number of lines to step.
15423 2014-10-14 Yao Qi <yao@codesourcery.com>
15425 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15427 * gdb.mi/mi2-var-child.exp: Likewise.
15429 2014-10-13 Doug Evans <dje@google.com>
15431 * gdb.python/py-objfile.exp: Change name of file name test.
15433 2014-10-13 Doug Evans <dje@google.com>
15435 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15436 from the start of the CU.
15438 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15439 Yao Qi <yao@codesourcery.com>
15441 Fix "save breakpoints" for "catch" command.
15442 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15443 Remove -nonewline. Match also the added "main" line.
15445 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15447 Fix "save breakpoints" for "disable $bpnum" command.
15448 * gdb.base/save-bp.c (main): Add label.
15449 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15451 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15453 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15455 2014-10-11 Yao Qi <yao@codesourcery.com>
15457 * gdb.server/server-kill.exp: Execute command
15458 "set remote trace-status-packet on" before "tstatus".
15460 2014-10-11 Yao Qi <yao@codesourcery.com>
15462 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15463 (main): Call getppid.
15464 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15465 and continue to it. Read variable "server_pid".
15467 2014-10-11 Yao Qi <yao@codesourcery.com>
15469 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15471 2014-10-11 Yao Qi <yao@codesourcery.com>
15473 * gdb.threads/thread-find.exp: Don't execute command
15475 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15476 * gdb.threads/linux-dp.exp: Don't check the condition
15477 $threads_created equals to zero.
15479 2014-10-10 Pedro Alves <palves@redhat.com>
15481 * gdb.base/bigcore.exp: Remove references to IRIX.
15482 * gdb.base/funcargs.exp: Likewise.
15483 * gdb.base/interrupt.exp: Likewise.
15484 * gdb.base/mips_pro.exp: Likewise.
15485 * gdb.base/nodebug.exp: Likewise.
15486 * gdb.base/setvar.exp: Likewise.
15487 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15489 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15490 Pedro Alves <palves@redhat.com>
15493 * gdb.base/vdso-warning.c: New file.
15494 * gdb.base/vdso-warning.exp: New file.
15496 2014-10-02 Doug Evans <dje@google.com>
15498 * gdb.base/structs.c (main): Don't run forever.
15500 2014-10-02 Pedro Alves <palves@redhat.com>
15502 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15503 (top level) <stop threads 1, stop threads 2>: Use it.
15505 2014-10-02 Pedro Alves <palves@redhat.com>
15507 * gdb.threads/break-while-running.exp (test): Add new
15508 'update_thread_list' argument. Skip "info threads" if false.
15509 (top level): Add new 'update_thread_list' axis.
15511 2014-10-02 Pedro Alves <palves@redhat.com>
15513 PR breakpoints/17431
15514 * gdb.base/execl-update-breakpoints.c: New file.
15515 * gdb.base/execl-update-breakpoints.exp: New file.
15517 2014-10-01 Pedro Alves <palves@redhat.com>
15519 * gdb.base/breakpoint-in-ro-region.c: New file.
15520 * gdb.base/breakpoint-in-ro-region.exp: New file.
15522 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15524 * gdb.mi/mi-exit-code.exp: New file.
15525 * gdb.mi/mi-exit-code.c: New file.
15527 2014-09-30 Yao Qi <yao@codesourcery.com>
15529 * lib/prelink-support.exp (build_executable_own_libs): Error if
15530 the target isn't native.
15532 2014-09-30 Yao Qi <yao@codesourcery.com>
15534 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15537 2014-09-22 Pedro Alves <palves@redhat.com>
15539 * gdb.threads/break-while-running.exp: New file.
15540 * gdb.threads/break-while-running.c: New file.
15542 2014-09-19 Yao Qi <yao@codesourcery.com>
15544 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15545 Invoke test. Restart GDB with --readnow and invoke test again.
15547 2014-09-19 Yao Qi <yao@codesourcery.com>
15549 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15550 proc set_breakpoint_on_gcd_function. Invoke
15551 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15552 invoke set_breakpoint_on_gcd_function again.
15554 2014-09-18 Doug Evans <dje@google.com>
15556 * gdb.dwarf2/symtab-producer.exp: New file.
15558 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15560 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15561 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15562 * gdb.base/global-var-nested-by-dso.c: Likewise.
15563 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15565 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15566 Pedro Alves <palves@redhat.com>
15568 * gdb.base/watch-bitfields.exp: Pass string other than test file
15569 name to prepare_for_testing.
15570 (watch): New procedure.
15571 (expect_watchpoint): Use with_test_prefix.
15572 (top level): Factor out tests to ...
15573 (test_watch_location, test_regular_watch): ... these new
15574 procedures, and use with_test_prefix and gdb_continue_to_end.
15576 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15578 PR breakpoints/12526
15579 * gdb.base/watch-bitfields.exp: New file.
15580 * gdb.base/watch-bitfields.c: New file.
15582 2014-09-16 Pedro Alves <palves@redhat.com>
15584 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15585 software and hardware addresses, not software address against
15588 2014-09-16 Pedro Alves <palves@redhat.com>
15590 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15591 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15593 2014-09-16 Pedro Alves <palves@redhat.com>
15595 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15597 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15598 "*-*-vxworks*" throughout.
15599 * gdb.base/break.exp: Likewise.
15600 * gdb.base/default.exp: Likewise.
15601 * gdb.base/scope.exp: Likewise.
15602 * gdb.base/sepdebug.exp: Likewise.
15603 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15605 * gdb.base/run.c: Likewise.
15606 * gdb.base/sepdebug.c: Likewise.
15607 * gdb.hp/gdb.aCC/run.c: Likewise.
15608 * gdb.reverse/until-reverse.c: Likewise.
15609 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15611 2014-09-16 Yao Qi <yao@codesourcery.com>
15613 * boards/local-remote-host-native.exp: New file.
15615 2014-09-14 Doug Evans <xdje42@gmail.com>
15617 * gdb.threads/queue-signal.c (thread_count): New variable.
15618 (thread_count_mutex, thread_count_condvar): New variables.
15619 (incr_thread_count, wait_all_threads_running): New functions.
15620 (main): Wait for all threads to be in their thread functions.
15622 2014-09-13 Doug Evans <xdje42@gmail.com>
15624 * gdb.threads/queue-signal.c: New file.
15625 * gdb.threads/queue-signal.exp: New file.
15627 2014-09-13 Doug Evans <xdje42@gmail.com>
15629 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15630 be consistent with what default_gdb_init uses.
15631 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15632 the plain text of the prompt. Add some logging printfs.
15633 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15635 2014-09-12 Pedro Alves <palves@redhat.com>
15637 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15638 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15639 * gdb.arch/i386-size-overlap.exp: Likewise.
15640 * gdb.arch/i386-size.exp: Likewise.
15641 * gdb.arch/i386-unwind.exp: Likewise.
15642 * gdb.base/a2-run.exp: Likewise.
15643 * gdb.base/break.exp: Likewise.
15644 * gdb.base/charset.exp: Likewise.
15645 * gdb.base/chng-syms.exp: Likewise.
15646 * gdb.base/commands.exp: Likewise.
15647 * gdb.base/dbx.exp: Likewise.
15648 * gdb.base/find.exp: Likewise.
15649 * gdb.base/funcargs.exp: Likewise.
15650 * gdb.base/jit-simple.exp: Likewise.
15651 * gdb.base/reread.exp: Likewise.
15652 * gdb.base/sepdebug.exp: Likewise.
15653 * gdb.base/step-bt.exp: Likewise.
15654 * gdb.cp/mb-inline.exp: Likewise.
15655 * gdb.cp/mb-templates.exp: Likewise.
15656 * gdb.objc/basicclass.exp: Likewise.
15657 * gdb.threads/killed.exp: Likewise.
15659 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15662 * gdb.arch/powerpc-stackless.S: New file.
15663 * gdb.arch/powerpc-stackless.exp: New file.
15665 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15667 * gdb.base/attach.c: Include unistd.h.
15668 (main): Call alarm. Add label postloop.
15669 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15670 gdb_breakpoint, gdb_continue_to_breakpoint.
15671 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15673 2014-09-11 Pedro Alves <palves@redhat.com>
15676 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15677 * gdb.base/attach.exp (test_command_line_attach_run): New
15679 (top level): Call it.
15681 2014-09-11 Pedro Alves <palves@redhat.com>
15683 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15684 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15685 (do_command_attach_tests): Use spawn_wait_for_attach.
15686 * gdb.base/solib-overlap.exp: Likewise.
15687 * gdb.multi/multi-attach.exp: Likewise.
15688 * gdb.python/py-prompt.exp: Likewise.
15689 * gdb.python/py-sync-interp.exp: Likewise.
15690 * gdb.server/ext-attach.exp: Likewise.
15692 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15694 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15695 command in testcase. Simplify testcase.
15697 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15699 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15701 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15703 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15705 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15707 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15709 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15711 * gdb.dwarf2/dynarr-ptr.c: New file.
15712 * gdb.dwarf2/dynarr-ptr.exp: New file.
15714 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15716 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15717 of 30 rather than hardcoding 120 for a slow test case. Take the
15718 `gdb,timeout' target setting into account for this calculation.
15719 Don't extend the timeout for the test cases that don't need it.
15721 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15723 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15724 a factor of 2 for a slow test case. Take the `gdb,timeout'
15725 target setting into account for this calculation.
15726 * gdb.reverse/until-precsave.exp: Increase the timeout by
15727 a factor of 15 and 3 respectively rather than adding 120
15728 for a pair of slow test cases. Take the `gdb,timeout'
15729 target setting into account for this calculation.
15731 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15733 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15734 timeout, don't pass one down to gdb_expect.
15735 (gdb_expect): Rework timeout selection.
15737 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15739 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15740 exception on timeout.
15741 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15742 (gdbserver_start_extended): Catch any `gdbserver_start' error
15744 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15745 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15746 `gdbserver_gdb_load' error exceptions.
15748 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15750 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15751 120 on waiting for the TCP socket to open.
15753 2014-09-09 Doug Evans <xdje42@gmail.com>
15755 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15756 _caller_matches, _any_caller_is, _any_caller_matches.
15758 2014-09-09 Doug Evans <xdje42@gmail.com>
15760 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15762 2014-09-09 Yao Qi <yao@codesourcery.com>
15764 * gdb.mi/mi-var-display.exp: Set print symbol off.
15766 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15769 * gdb.base/commands.exp: Add tests to verify user-defined
15770 commands with empty bodies.
15771 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15772 python commands in `show user command`.
15773 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15774 scheme commands in `show user command`.
15776 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15779 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15780 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15781 * gdb.python/py-framefilter-invalidarg.exp: New file.
15782 * gdb.python/py-framefilter-invalidarg.py: New file.
15784 2014-09-06 Doug Evans <xdje42@gmail.com>
15787 * gdb.python/py-caller-is.c: New file.
15788 * gdb.python/py-caller-is.exp: New file.
15790 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15793 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15794 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15796 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15799 * gdb.fortran/print-formatted.exp: New file.
15800 * gdb.fortran/print-formatted.f90: Likewise.
15802 2014-09-03 Sasha Smundak <asmundak@google.com>
15804 * gdb.python/py-frame.exp: Test Frame.read_register.
15806 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15809 * gdb.python/py-completion.exp: New file.
15810 * gdb.python/py-completion.py: Likewise.
15812 2014-08-28 Doug Evans <dje@google.com>
15814 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15815 eax,etc. are live with values set by gdb and thus the compiler can't
15817 * gdb.arch/i386-pseudo.c (main): Ditto.
15819 2014-08-27 Doug Evans <dje@google.com>
15821 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15823 2014-08-25 Doug Evans <dje@google.com>
15825 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15828 2014-08-25 Doug Evans <dje@google.com>
15830 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15832 2014-08-24 Yao Qi <yao@codesourcery.com>
15834 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15836 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15838 2014-08-22 Doug Evans <dje@google.com>
15841 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15842 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15843 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15845 2014-08-22 Yao Qi <yao@codesourcery.com>
15847 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15848 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15849 * gdb.python/python.exp: Likewise. Use .py file on the host
15850 instead of the build.
15852 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15854 * gdb.threads/gcore-stale-thread.c: New file.
15855 * gdb.threads/gcore-stale-thread.exp: New file.
15857 2014-08-21 Pedro Alves <palves@redhat.com>
15859 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15860 * gdb.base/gcore-relro-pie.exp: Likewise.
15861 * gdb.base/gcore-relro.exp: Likewise.
15862 * gdb.base/gcore.exp: Likewise.
15863 * gdb.base/print-symbol-loading.exp: Likewise.
15864 * gdb.threads/gcore-thread.exp: Likewise.
15865 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15867 2014-08-20 Pedro Alves <palves@redhat.com>
15868 Jan Kratochvil <jan.kratochvil@redhat.com>
15870 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15872 (EXPECT): Handle READ1 being set.
15873 (all): Depend on EXTRA_RULES.
15874 (check-read1, expect-read1, read1.so, read1): New rules.
15875 * README (Testsuite Parameters): Document the READ1 make variable.
15876 (Race detection): New section.
15877 * configure: Regenerate.
15878 * configure.ac: If build==host==target, and running under a
15879 GNU/glibc system, add read1 to the extra Makefile rules.
15880 (EXTRA_RULES): AC_SUBST it.
15881 * lib/read1.c: New file.
15883 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15885 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15886 the handling of variables declared as a typedef to an array
15887 which a DW_AT_data_location attribute.
15889 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15890 Pedro Alves <palves@redhat.com>
15894 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15897 2014-08-19 Pedro Alves <palves@redhat.com>
15899 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15901 2014-08-19 Yao Qi <yao@codesourcery.com>
15903 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15906 2014-08-18 David Blaikie <dblaikie@gmail.com>
15908 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15910 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15912 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15913 attribute in array range.
15915 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15917 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15919 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15922 * gdb.cp/pr17132.cc: New file.
15923 * gdb.cp/pr17132.exp: New file.
15925 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15927 * gdb.python/py-xmethods.py (A_getarrayind)
15928 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15929 Use 'print' with function call syntax.
15930 (E_method_matcher.match): Fix tab vs space indentation mixup.
15932 2014-08-15 Yao Qi <yao@codesourcery.com>
15934 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15937 2014-08-15 Yao Qi <yao@codesourcery.com>
15939 * gdb.cp/casts.exp: Set print symbol off.
15940 * gdb.cp/class2.exp: Likewise.
15941 * gdb.cp/overload.exp: Likewise.
15942 * gdb.cp/templates.exp: Likewise.
15944 2014-08-11 Doug Evans <dje@google.com>
15946 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15947 (test_load_shlib): Update.
15949 2014-08-09 Yao Qi <yao@codesourcery.com>
15951 * gdb.base/display.exp: Invoke is_address_zero_readable.
15952 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15953 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15954 * gdb.base/hbreak-unmapped.exp: Return if
15955 is_address_zero_readable returns true.
15956 * gdb.base/signest.exp: Likewise.
15957 * gdb.base/signull.exp: Likewise.
15958 * gdb.base/sigbpt.exp: Likewise.
15959 * gdb.guile/scm-disasm.exp: Do the test if
15960 is_address_zero_readable returns false.
15961 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15962 * gdb.python/py-arch.exp: Likewise.
15963 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15964 * lib/gdb.exp (is_address_zero_readable): New proc.
15966 2014-08-09 Yao Qi <yao@codesourcery.com>
15969 * gdb.mi/mi-var-display.exp: Make test messages unique.
15971 2014-08-04 Tom Tromey <tromey@redhat.com>
15973 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15976 2014-08-04 Tom Tromey <tromey@redhat.com>
15978 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15981 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15983 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15984 inner_vla_struct_object_size.
15985 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15988 2014-07-30 Pedro Alves <palves@redhat.com>
15990 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15993 2014-07-29 Yao Qi <yao@codesourcery.com>
15996 * gdb.base/until-nodebug.exp: New.
15998 2014-07-28 Doug Evans <xdje42@gmail.com>
16001 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16002 previously existing parameter, and previously ambiguously spelled
16005 2014-07-28 Will Newton <will.newton@linaro.org>
16007 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16009 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16010 Doug Evans <xdje42@gmail.com>
16013 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16015 2014-07-25 Pedro Alves <palves@redhat.com>
16017 * gdb.threads/signal-command-handle-nopass.c: New file.
16018 * gdb.threads/signal-command-handle-nopass.exp: New file.
16019 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16020 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16021 * gdb.threads/signal-delivered-right-thread.c: New file.
16022 * gdb.threads/signal-delivered-right-thread.exp: New file.
16024 2014-07-25 Pedro Alves <palves@redhat.com>
16026 * gdb.base/double-prompt-target-event-error.exp
16027 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16029 (cancel_pagination_in_target_event): Rework double prompt
16031 * gdb.base/paginate-after-ctrl-c-running.exp
16032 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16034 * gdb.base/paginate-bg-execution.exp
16035 (test_bg_execution_pagination_return)
16036 (test_bg_execution_pagination_cancel): Remove '-notransfer
16038 * gdb.base/paginate-execution-startup.exp
16039 (test_fg_execution_pagination_return)
16040 (test_fg_execution_pagination_cancel): Remove '-notransfer
16042 * gdb.base/paginate-inferior-exit.exp
16043 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16045 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16046 * lib/gdb.exp (pagination_prompt): Run text through
16048 (gdb_test_multiple): Match $pagination_prompt instead of
16050 (string_to_regexp): Move to lib/gdb-utils.exp.
16052 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16054 * gdb.arch/amd64-entry-value-paramref.S: New file.
16055 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16056 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16057 * gdb.arch/amd64-optimout-repeat.S: New file.
16058 * gdb.arch/amd64-optimout-repeat.c: New file.
16059 * gdb.arch/amd64-optimout-repeat.exp: New file.
16061 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16064 * gdb.base/statistics.exp: New file.
16066 2014-07-17 Doug Evans <dje@google.com>
16069 * gdb.base/maint.exp: Update testing of per-command stats.
16071 2014-07-16 Pedro Alves <palves@redhat.com>
16073 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16074 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16075 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16076 (tfile_write_buf): New functions.
16077 (add_memory_block): Rewrite using the above.
16078 (adjust_function_address): New function.
16079 (FUNCTION_ADDRESS): New macro.
16080 (write_basic_trace_file): Remove short_x local, and use
16081 tfile_write_16. Change type of func_addr local to unsigned long
16082 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16083 here. Cast argument of add_memory_block to char pointer.
16084 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16085 (main): Remove parameters.
16086 * gdb.trace/tfile.exp: Remove nowarnings.
16088 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16090 * gdb.base/debug-expr.exp: Test string evaluation with
16091 "debug expression" on.
16093 2014-07-15 Pedro Alves <palves@redhat.com>
16095 * gdb.base/reread.exp: Use clean_restart.
16097 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16099 * gdb.arch/avr-flash-qualifer.c: New.
16100 * gdb.arch/avr-flash-qualifer.exp: New.
16102 2014-07-14 Pedro Alves <palves@redhat.com>
16104 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16105 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16107 2014-07-14 Pedro Alves <palves@redhat.com>
16109 * gdb.base/double-prompt-target-event-error.c: New file.
16110 * gdb.base/double-prompt-target-event-error.exp: New file.
16112 2014-07-14 Pedro Alves <palves@redhat.com>
16115 * gdb.base/paginate-inferior-exit.c: New file.
16116 * gdb.base/paginate-inferior-exit.exp: New file.
16118 2014-07-14 Pedro Alves <palves@redhat.com>
16121 * gdb.base/paginate-bg-execution.c: New file.
16122 * gdb.base/paginate-bg-execution.exp: New file.
16124 2014-07-14 Pedro Alves <palves@redhat.com>
16127 * gdb.base/paginate-execution-startup.c: New file.
16128 * gdb.base/paginate-execution-startup.exp: New file.
16129 * lib/gdb.exp (pagination_prompt): New global.
16130 (default_gdb_spawn): New procedure, factored out from
16132 (default_gdb_start): Adjust to call default_gdb_spawn.
16133 (gdb_spawn): New procedure.
16135 2014-07-14 Pedro Alves <palves@redhat.com>
16137 * lib/gdb.exp (gdb_assert): New procedure.
16138 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16140 2014-07-14 Pedro Alves <palves@redhat.com>
16142 * gdb.base/execution-termios.c: New file.
16143 * gdb.base/execution-termios.exp: New file.
16145 2014-07-14 Tom Tromey <tromey@redhat.com>
16147 * gdb.cp/vla-cxx.cc: New file.
16148 * gdb.cp/vla-cxx.exp: New file.
16150 2014-07-14 Tom Tromey <tromey@redhat.com>
16152 * gdb.reverse/rerun-prec.c: New file.
16153 * gdb.reverse/rerun-prec.exp: New file.
16155 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16156 Maciej W. Rozycki <macro@codesourcery.com>
16158 * lib/gdb-utils.exp: New file.
16159 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16160 inline `gdb_init_command' processing.
16161 (gdb_start_cmd): Likewise.
16162 * lib/mi-support.exp (mi_run_cmd): Likewise.
16163 * README: Document `gdb_init_command' and `gdb_init_commands'.
16165 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16167 Fix false FAIL running under a very long directory name.
16168 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16169 and "set print elements 10000". Twice.
16171 2014-07-11 Yao Qi <yao@codesourcery.com>
16173 * gdb.base/exprs.exp: "set print symbol off".
16175 2014-07-11 Pedro Alves <palves@redhat.com>
16177 * gdb.threads/kill.c: New file.
16178 * gdb.threads/kill.exp: New file.
16180 2014-07-10 Yao Qi <yao@codesourcery.com>
16182 * gdb.trace/tfile.c (write_basic_trace_file)
16183 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16184 address written to trace file.
16186 2014-07-09 Pedro Alves <palves@redhat.com>
16188 * gdb.base/attach-wait-input.exp: New file.
16189 * gdb.base/attach-wait-input.c: New file.
16191 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16193 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16194 setting up test structures.
16195 (main): Call new test function.
16196 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16197 test function, continue into test function and walk test
16200 2014-07-02 Yao Qi <yao@codesourcery.com>
16202 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16203 'bar_start' at the beginning of functions 'foo' and 'bar'
16205 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16206 instead of 'foo' and 'bar'.
16208 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16210 * gdb.btrace/segv.exp: New.
16211 * gdb.btrace/segv.c: New.
16213 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16215 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16218 2014-06-30 Mark Wielaard <mjw@redhat.com>
16220 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16221 vulture, vilify, villar): New volatile array constants.
16222 (vindictive, vegetation): New const volatile array constants.
16223 * gdb.base/volatile.exp: Test volatile and const volatile array
16226 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16228 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16229 target lacks support for awatch, rwatch, or hbreak.
16231 2014-06-27 Yao Qi <yao@codesourcery.com>
16233 * gdb.multi/dummy-frame-restore.exp: New.
16234 * gdb.multi/dummy-frame-restore.c: New.
16236 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16238 * gdb.btrace/gcore.exp: New.
16240 2014-06-23 Pedro Alves <palves@redhat.com>
16242 * gdb.base/watchpoint-reuse-slot.c: New file.
16243 * gdb.base/watchpoint-reuse-slot.exp: New file.
16245 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16247 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16248 progspace's filename in 'info', 'enable' and 'disable' command
16251 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16253 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16254 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16255 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16257 2014-06-20 Gary Benson <gbenson@redhat.com>
16259 * gdb.arch/i386-avx.exp: Fix include file location.
16260 * gdb.arch/i386-sse.exp: Likewise.
16262 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16264 * gdb.dlang/expression.exp: New file.
16266 2014-06-19 Pedro Alves <palves@redhat.com>
16268 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16270 (top level): ... here. Iterate running tests under different
16271 scheduler-locking settings.
16273 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16275 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16276 to DW_FORM_addr and use non-zero addresses.
16278 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16281 * gdb.python/py-xmethods.cc: Add global function call counters and
16282 increment them in their respective functions. Remove "cout"
16284 * gdb.python/py-xmethods.exp: Make tests check the global function
16285 call counters instead of depending on inferior IO.
16287 2014-06-18 Don Breazeal <donb@codesourcery.com>
16289 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16291 (explicit_fork_parent_follow): Deleted procedure.
16292 (explicit_fork_child_follow): Deleted procedure.
16293 (test_follow_fork): New procedure.
16294 (do_fork_tests): Replace calls to deleted procedures with
16295 calls to test_follow_fork and reset GDB for subsequent
16298 2014-06-17 Yao Qi <yao@codesourcery.com>
16300 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16303 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16305 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16306 Initialize ptr and S explicitly.
16307 (skip_type_update_when_not_use_rtti_test): Likewise.
16309 2014-06-16 Keith Seitz <keiths@redhat.com>
16312 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16313 the inferior is started.
16315 2014-06-16 Pedro Alves <palves@redhat.com>
16317 * gdb.base/break-main-file-remove-fail.c: New file.
16318 * gdb.base/break-main-file-remove-fail.exp: New file.
16319 * gdb.base/break-unload-file.exp: Use build_executable instead of
16320 prepare_for_testing.
16321 (test_break): New parameter "initial_load". Handle it.
16322 (top level): Add initial_load cmdline/file axis.
16324 2014-06-12 Tom Tromey <tromey@redhat.com>
16326 * gdb.base/completion.exp: Don't use directory name in test.
16328 2014-06-09 Gary Benson <gbenson@redhat.com>
16330 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16331 separate the always-available ANSI-standard signals from the
16332 signals that require checking.
16334 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16338 2014-06-07 Keith Seitz <keiths@redhat.com>
16342 * gdb.cp/var-tag.cc: New file.
16343 * gdb.cp/var-tag.exp: New file.
16344 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16345 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16346 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16347 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16349 2014-06-06 Doug Evans <xdje42@gmail.com>
16351 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16353 2014-06-06 Pedro Alves <palves@redhat.com>
16355 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16356 in target debug output instead of looking at RSP packets,
16357 disabling the test on any target that uses hardware stepping.
16360 2014-06-06 Pedro Alves <palves@redhat.com>
16362 * gdb.base/break-unload-file.exp: Fix typo.
16364 2014-06-06 Yao Qi <yao@codesourcery.com>
16366 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16367 from "jit_function" to "^jit_function".
16369 2014-06-06 Yao Qi <yao@codesourcery.com>
16371 * gdb.base/async.c (foo): Add one statement.
16372 * gdb.base/async.exp: Get the next instruction address and
16373 match the output of "nexti" by instruction address. Match
16374 the hex address in the output of "finish".
16376 2014-06-06 Gary Benson <gbenson@redhat.com>
16378 * gdb.base/call-signals.c: Remove preprocessor conditionals
16379 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16380 SIGSEGV and SIGTERM.
16381 * gdb.base/sigall.c: Likewise.
16382 * gdb.base/unwindonsignal.c: Likewise.
16383 * gdb.reverse/sigall-reverse.c: Likewise.
16385 2014-06-06 Yao Qi <yao@codesourcery.com>
16387 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16388 readable, skip the test.
16390 2014-06-06 Yao Qi <yao@codesourcery.com>
16392 * gdb.threads/staticthreads.c (thread_function): Move the line
16393 setting breakpoint on forward.
16394 * gdb.threads/staticthreads.exp: Update comments.
16396 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16398 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16399 "history-append! type error".
16401 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16403 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16404 erroneous dprintf expected input.
16406 2014-06-04 Doug Evans <xdje42@gmail.com>
16408 * gdb.guile/scm-generics.exp: Delete.
16410 2014-06-04 Doug Evans <xdje42@gmail.com>
16412 * gdb.guile/scm-breakpoint.exp: Update.
16413 Add tests for breakpoint registration.
16415 2014-06-04 Tom Tromey <tromey@redhat.com>
16417 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16419 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16420 inner_vla_struct, vla_union types. Initialize objects of those
16421 types and compute their sizes.
16423 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16424 Hui Zhu <hui@codesourcery.com>
16426 * gdb.base/fileio.exp: Add test for shell not available as well as
16428 * gdb.base/fileio.c (test_system): Check for shell twice.
16430 2014-06-04 Yao Qi <yao@codesourcery.com>
16432 * gdb.base/auto-connect-native-target.exp: Remove redundant
16433 space from the regexp pattern.
16435 2014-06-04 Yao Qi <yao@codesourcery.com>
16437 * gdb.base/default.exp: Replace "child" with "native" in
16440 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16442 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16443 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16444 * gdb.python/py-xmethods.py: Python script supporting the
16445 new testcase and tests.
16447 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16448 Pedro Alves <palves@redhat.com>
16450 PR breakpoints/17000
16451 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16452 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16454 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16456 * gdb.base/subst.exp: Add tests to verify partial path matching
16459 2014-06-03 Pedro Alves <palves@redhat.com>
16461 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16462 target that doesn't use software single-stepping.
16464 2014-06-03 Pedro Alves <palves@redhat.com>
16466 PR breakpoints/17000
16467 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16468 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16470 2014-06-02 Doug Evans <xdje42@gmail.com>
16472 * gdb.guile/scm-parameter.exp: New file.
16474 2014-06-02 Doug Evans <xdje42@gmail.com>
16476 * gdb.guile/scm-cmd.c: New file.
16477 * gdb.guile/scm-cmd.exp: New file.
16479 2014-06-02 Doug Evans <xdje42@gmail.com>
16481 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16482 pretty-printer lookup.
16483 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16484 (make-pp_s-printer): Call it.
16485 (make-pretty-printer-from-dict): New function.
16486 (lookup-pretty-printer-maker-from-dict): New function.
16487 (*pretty-printer*): Simplify.
16488 (make-objfile-pp_s-printer): New function.
16489 (install-objfile-pretty-printers!): New function.
16490 (make-progspace-pp_s-printer): New function.
16491 (install-progspace-pretty-printers!): New function.
16492 * gdb.guile/scm-progspace.c: New file.
16493 * gdb.guile/scm-progspace.exp: New file.
16495 2014-06-02 Pedro Alves <palves@redhat.com>
16497 * gdb.base/dprintf-bp-same-addr.c: New file.
16498 * gdb.base/dprintf-bp-same-addr.exp: New file.
16500 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16502 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16503 * gdb.arch/powerpc-power.s: Likewise.
16505 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16507 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16509 2014-06-01 Yao Qi <yao@codesourcery.com>
16511 * gdb.base/watchpoint.exp (test_watch_location): Check null
16512 pointer can be dereferenced. If not, do the test, otherwise
16515 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16517 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16519 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16521 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16523 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16524 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16525 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16526 * gdb.arch/amd64-invalid-stack-top.c: New file.
16527 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16529 2014-05-30 Pedro Alves <palves@redhat.com>
16531 PR breakpoints/17000
16532 * gdb.base/sss-bp-on-user-bp.c: New file.
16533 * gdb.base/sss-bp-on-user-bp.exp: New file.
16535 2014-05-30 David Blaikie <dblaikie@gmail.com>
16537 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16538 gnu_inline semantics via attribute.
16539 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16540 source explicitly specifies the required semantics.
16542 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16544 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16546 2014-05-29 Pedro Alves <palves@redhat.com>
16547 Tom Tromey <tromey@redhat.com>
16549 * gdb.base/async-shell.exp: Don't enable target-async.
16550 * gdb.base/async.exp
16551 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16553 (top level): Don't test with "target-async".
16554 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16555 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16556 * gdb.base/inferior-died.exp: Don't enable target-async.
16557 * gdb.base/interrupt-noterm.exp: Likewise.
16558 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16559 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16560 * gdb.mi/mi-nonstop.exp: Likewise.
16561 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16562 * gdb.mi/mi-nsintrall.exp: Likewise.
16563 * gdb.mi/mi-nsmoribund.exp: Likewise.
16564 * gdb.mi/mi-nsthrexec.exp: Likewise.
16565 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16566 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16567 * gdb.python/py-evsignal.exp: Don't enable target-async.
16568 * gdb.python/py-evthreads.exp: Likewise.
16569 * gdb.python/py-prompt.exp: Likewise.
16570 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16571 * gdb.server/solib-list.exp: Don't enable target-async.
16572 * gdb.threads/thread-specific-bp.exp: Likewise.
16573 * lib/mi-support.exp: Adjust to use mi-async.
16575 2014-05-29 Pedro Alves <palves@redhat.com>
16578 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16579 reason, even in sync mode.
16581 2014-05-29 Pedro Alves <palves@redhat.com>
16582 Hui Zhu <hui@codesourcery.com>
16585 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16586 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16587 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16588 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16590 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16592 * config/monitor.exp (gdb_target_monitor): Replace use of
16593 "set remotebaud" by "set serial baud".
16595 2014-05-26 Andy Wingo <wingo@igalia.com>
16597 * gdb.guile/scm-breakpoint.exp:
16598 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16599 properties instead of gdb-object-properties.
16601 2014-05-26 Yao Qi <yao@codesourcery.com>
16603 * gdb.server/no-thread-db.exp: Specify source file name
16604 explicitly when setting a breakpoint.
16606 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16608 * gdb.btrace/vdso.c: New.
16609 * gdb.btrace/vdso.exp: New.
16611 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16613 * gdb.base/gcore.exp (capture_command_output): Move ...
16614 * lib/gdb.exp (capture_command_output): ... here.
16616 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16618 * gdb.btrace/data.exp: Test memory access during btrace replay.
16620 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16622 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16624 2014-05-21 Pedro Alves <palves@redhat.com>
16627 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16628 (top level): Test that output related to execution commands is
16629 sent to the console with CLI commands, but not with MI commands.
16630 Test that breakpoint events are always mirrored to the console.
16631 Also expect the new source line to be output after a "next" in
16632 async mode too. Make it a pass/fail test.
16633 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16635 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16637 2014-05-21 Pedro Alves <palves@redhat.com>
16639 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16640 Use them to test variations of "list" after reaching a breakpoint.
16641 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16642 Test "list" with listsize 10 after reaching a breakpoint.
16643 * gdb.python/python.exp (decode_line current location line
16644 number): Adjust expected line number.
16646 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16648 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16649 behavior for $args, pass it directly to "run".
16651 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16653 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16656 2014-05-21 Pedro Alves <palves@redhat.com>
16658 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16659 auto-connect-native-target off".
16660 * gdb.base/auto-connect-native-target.c: New file.
16661 * gdb.base/auto-connect-native-target.exp: New file.
16663 2014-05-21 Pedro Alves <palves@redhat.com>
16665 * gdb.base/default.exp: Test "target native" instead of "target
16668 2014-05-21 Mark Wielaard <mjw@redhat.com>
16670 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16672 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16674 Fix TLS access for -static -pthread.
16675 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16676 <HAVE_TLS> (thread_function, main): Initialize it.
16677 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16679 <$have_tls != "">: Check TLSVAR.
16681 2014-05-21 Pedro Alves <palves@redhat.com>
16683 * gdb.base/dcache-line-read-error.c: New.
16684 * gdb.base/dcache-line-read-error.exp: New.
16686 2014-05-20 Pedro Alves <palves@redhat.com>
16688 * gdb.base/compare-sections.c: New file.
16689 * gdb.base/compare-sections.exp: New file.
16691 2014-05-20 Pedro Alves <palves@redhat.com>
16693 * gdb.base/break-idempotent.c: New file.
16694 * gdb.base/break-idempotent.exp: New file.
16696 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16698 * gdb.btrace/nohist.exp: New.
16700 2014-05-20 Yao Qi <yao@codesourcery.com>
16702 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16703 gdb.reverse directory and gdb_reverse_timeout exists in board
16705 * README: Document gdb_reverse_timeout.
16707 2014-05-20 Yao Qi <yao@codesourcery.com>
16709 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16710 'test_file_name'. Treat args as a string instead of a list.
16711 (gdb_init): Rename argument 'args' by 'test_file_name'.
16713 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16715 * gdb.arch/powerpc-power.exp: New file.
16716 * gdb.arch/powerpc-power.s: New file.
16718 2014-05-16 Doug Evans <dje@google.com>
16720 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16721 * gdb.base/completion.exp: Check that all expected files exist
16722 before doing file completion.
16724 2014-05-16 Doug Evans <dje@google.com>
16726 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16728 (do_syscall_tests_without_xml): Update.
16730 2014-05-16 Pedro Alves <palves@redhat.com>
16732 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16733 instead of "unknown output after running".
16735 2014-05-16 Yao Qi <yao@codesourcery.com>
16737 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16738 file1.txt from host at the end.
16739 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16741 2014-05-15 Doug Evans <dje@google.com>
16743 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16744 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16745 loading file. Add test for TU lookup.
16747 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16749 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16750 calling "-exec-arguments" or "set args" before running the
16753 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16755 * lib/mi-support.exp (mi_expect_stop): Expect message for
16756 inferiors that exit with non-zero exit code.
16758 2014-05-14 Yao Qi <yao@codesourcery.com>
16760 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16761 match absolute path on remote host.
16762 (test_file_list_exec_source_files): Remove "/" from the
16765 2014-05-14 Yao Qi <yao@codesourcery.com>
16767 * boards/local-remote-host-notty.exp (${board}_file): New
16770 2014-05-07 Kyle McMartin <kyle@redhat.com>
16772 Pushed by Joel Brobecker <brobecker@adacore.com>.
16773 * gdb.arch/aarch64-atomic-inst.c: New file.
16774 * gdb.arch/aarch64-atomic-inst.exp: New file.
16776 2014-05-07 Yao Qi <yao@codesourcery.com>
16778 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16779 in current context" too.
16781 2014-05-05 Keith Seitz <keiths@redhat.com>
16783 * gdb.linespec/ls-dollar.exp: Add test for linespec
16784 file:convenience_variable.
16786 2014-05-05 Yao Qi <yao@codesourcery.com>
16788 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16789 traceframes into tfile and ctf trace files. Read data from
16790 trace file and test collected data.
16791 (gdb_collect_locals_test): Likewise.
16792 (gdb_unavailable_registers_test): Likewise.
16793 (gdb_unavailable_floats): Likewise.
16794 (gdb_collect_globals_test): Likewise.
16795 (top-level): Append "ctf" to trace_file_targets if GDB
16798 2014-05-05 Yao Qi <yao@codesourcery.com>
16800 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16802 (gdb_collect_args_test_1): ... it. New proc.
16803 (gdb_collect_locals_test): Move some code to ...
16804 (gdb_collect_locals_test_1): ... it. New proc.
16805 (gdb_unavailable_registers_test): Move some code to ...
16806 (gdb_unavailable_registers_test_1): ... it. New proc.
16807 (gdb_unavailable_floats): Move some code to ...
16808 (gdb_unavailable_floats_1): ... it. New proc.
16810 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16812 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16813 probes to test for bitness recognition.
16814 * gdb.arch/amd64-stap-optional-prefix.exp
16815 (test_probe_value_without_reg): New procedure.
16816 Add code to test for different kinds of bitness.
16818 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16820 PR breakpoints/16889
16821 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16822 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16824 2014-05-01 Pedro Alves <palves@redhat.com>
16826 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16827 gdb_file_cmd if no file is specified.
16828 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16829 last_loaded_file to set the remote exec-file.
16831 2014-05-01 Pedro Alves <palves@redhat.com>
16833 * boards/local-remote-host.exp: New file.
16835 2014-05-01 Pedro Alves <palves@redhat.com>
16837 * boards/local-remote-host.exp: Rename to ...
16838 * boards/local-remote-host-notty.exp: ... this.
16840 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16842 * gdb.ada/dyn_arrayidx: New testcase.
16844 2014-04-26 Yao Qi <yao@codesourcery.com>
16846 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16847 and compute the length of function main. Save it in
16849 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16850 (top-level): Use gdb_compile to compile objects into
16851 executable and restart GDB. Remove invocation to
16852 prepare_for_testing.
16854 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16855 Pedro Alves <palves@redhat.com>
16858 * gdb.multi/multi-attach.c: New file.
16859 * gdb.multi/multi-attach.exp: New file.
16861 2014-04-25 Pedro Alves <palves@redhat.com>
16863 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16865 (top level): Test that "set remote conditional-breakpoints-packet
16866 off" works as intended.
16867 * gdb.base/dprintf.exp: Test that "set remote
16868 breakpoint-commands-packet off" works as intended.
16869 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16871 (top level): Call it.
16872 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16873 remote fast-tracepoints-packet off" works as intended.
16874 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16875 * lib/gdb.exp (gdb_is_target_remote): ... here.
16877 2014-04-24 David Blaikie <dblaikie@gmail.com>
16879 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16880 ensure clang would not discard them.
16881 * gdb.base/gdbvars.c: Ditto.
16882 * gdb.base/memattr.c: Ditto.
16883 * gdb.base/whatis.c: Ditto.
16884 * gdb.python/py-prettyprint.c: Ditto.
16885 * gdb.trace/actions.c: Ditto.
16886 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16887 ensure clang would not discard it.
16889 2014-04-24 David Blaikie <dblaikie@gmail.com>
16891 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16892 clang to emit the full definition of type required by the test
16893 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16895 2014-04-24 David Blaikie <dblaikie@gmail.com>
16897 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16898 coax Clang into emitting the definition of the type.
16899 * gdb.cp/pr10728-x.h (y): Ditto.
16900 * gdb.cp/pr10728-y.cc (y): Ditto.
16902 2014-04-24 David Blaikie <dblaikie@gmail.com>
16904 * gdb.base/label.exp: XFAIL label related tests under Clang.
16905 * gdb.cp/cplabel.exp: Ditto.
16906 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16907 under Clang those using labels.
16909 2014-04-25 Yao Qi <yao@codesourcery.com>
16911 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16913 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16914 partial_label and double_label.
16916 2014-04-24 David Blaikie <dblaikie@gmail.com>
16918 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16920 2014-04-24 David Blaikie <dblaikie@gmail.com>
16922 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16923 of the function to work across GCC and Clang.
16924 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16925 pointer types (const void ** const V void **).
16927 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16928 Walfred Tedeschi <walfred.tedeschi@intel.com>
16930 * Makefile.in (EXECUTABLES): Added i386-avx512.
16931 * gdb.arch/i386-avx512.c: New file.
16932 * gdb.arch/i386-avx512.exp: Likewise.
16934 2014-04-23 Keith Seitz <keiths@redhat.com>
16936 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16937 (mi_make_breakpoint_table): New procedure.
16938 (mi_create_breakpoint): Use mi_make_breakpoint
16939 and return the result.
16940 (mi_make_breakpoint): New procedure.
16941 (mi_build_kv_pairs): New procedure.
16943 * gdb.mi/mi-break.exp: Remove unused globals,
16944 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16945 All callers updated.
16946 * gdb.mi/mi-dprintf.exp: Use variable to track command
16948 Update all callers of mi_create_breakpoint and use
16949 mi_make_breakpoint_table.
16950 Remove any unused global variables.
16951 * gdb.mi/mi-nonstop.exp: Likewise.
16952 * gdb.mi/mi-nsintrall.exp: Likewise.
16953 * gdb.mi/mi-nsmoribund.exp: Likewise.
16954 * gdb.mi/mi-nsthrexec.exp: Likewise.
16955 * gdb.mi/mi-reverse.exp: Likewise.
16956 * gdb.mi/mi-simplerun.exp: Likewise.
16957 * gdb.mi/mi-stepn.exp: Likewise.
16958 * gdb.mi/mi-syn-frame.exp: Likewise.
16959 * gdb.mi/mi-until.exp: Likewise.
16960 * gdb.mi/mi-var-cp.exp: Likewise.
16961 * gdb.mi/mi-var-display.exp: Likewise.
16962 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16963 * gdb.mi/mi2-var-child.exp: Likewise.
16964 * gdb.mi/mi-vla-c99.exp: Likewise.
16965 * lib/mi-support.exp: Likewise.
16967 From Ian Lance Taylor <iant@cygnus.com>:
16968 * lib/gdb.exp (parse_args): New procedure.
16970 2014-04-23 Pedro Alves <palves@redhat.com>
16972 * gdb.base/break-unload-file.c: New file.
16973 * gdb.base/break-unload-file.exp: New file.
16974 * gdb.base/sym-file-lib.c (baz): New function.
16975 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16977 (load): Store the segment's mapped size.
16978 (unload): New function.
16979 (unload_shlib): New function.
16980 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16981 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16982 set a breakpoint at baz, and call it.
16983 * gdb.base/sym-file.exp: New tests for stale breakpoint
16986 2014-04-23 Pedro Alves <palves@redhat.com>
16988 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16989 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16990 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16991 * gdb.base/hbreak-unmapped.c: New file.
16992 * gdb.base/hbreak-unmapped.exp: New file.
16993 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16994 * lib/gdb.exp (gdb_is_target_remote): ... here.
16996 2014-04-22 Pedro Alves <palves@redhat.com>
16998 * gdb.base/consecutive-step-over.c: New file.
16999 * gdb.base/consecutive-step-over.exp: New file.
17001 2014-04-22 Pedro Alves <palves@redhat.com>
17003 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17004 instead of send_gdb/gdb_expect.
17006 2014-04-22 Yao Qi <yao@codesourcery.com>
17008 * lib/trace-support.exp (generate_tracefile): New procedure.
17009 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17011 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17012 if generate_tracefile returns 1.
17014 2014-04-18 Tom Tromey <palves@redhat.com>
17015 Pedro alves <tromey@redhat.com>
17018 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17019 with a backtrace limit.
17020 * gdb.python/py-frame-inline.exp: Test running to an inline
17021 function with a backtrace limit, and printing the newest frame.
17022 * gdb.python/py-frame-inline.c (main): Call f.
17024 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17026 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17028 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17030 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17031 Drop prefix from unsupported source file path.
17033 2014-04-17 Yao Qi <yao@codesourcery.com>
17035 * lib/gdb.exp (with_target_charset): New proc.
17036 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17037 with_target_charset.
17038 (test_print_strings): Likewise.
17039 (test_repeat_bytes): Likewise.
17040 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17043 2014-04-16 Keith Seitz <keiths@redhat.com>
17046 * gdb.dwarf2/corrupt.c: New file.
17047 * gdb.dwarf2/corrupt.exp: New file.
17049 2014-04-16 Keith Seitz <keiths@redhat.com>
17052 * gdb.cp/namelessclass.cc: New file.
17053 * gdb.cp/namelessclass.exp: New file.
17054 * gdb.cp/namelessclass.S: New file.
17056 2014-04-16 Doug Evans <dje@google.com>
17058 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17060 (gdbserver_default_get_comm_port): New function.
17061 (gdbserver_start): Check if board file provided
17062 "gdbserver,get_comm_port" and use it if so.
17063 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17064 (gdb,socketport): Set to "stdio".
17065 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17066 (stdio_gdbserver_template): Delete.
17067 (${board}_get_remote_address): Update.
17068 (${board}_build_remote_cmd): Delete.
17069 (${board}_get_comm_port): New function.
17070 (${board}_spawn): Update.
17071 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17073 (${board}_get_remote_address): Update.
17074 (${board}_get_comm_port): New function.
17076 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17078 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17079 appearing in any order.
17081 2014-04-15 Doug Evans <dje@google.com>
17083 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17084 uninitialized value of "description".
17086 2014-04-15 Keith Seitz <keiths@redhat.com>
17088 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17089 Remove unused globals.
17090 (test_running_the_program): Likewise.
17091 (test_controlled_execution): Likewise.
17092 (test_controlling_breakpoints): Likewise.
17093 (test_program_termination): Likewise.
17095 2014-04-15 Keith Seitz <keiths@redhat.com>
17097 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17099 (test_rbreak_creation_and_listing): Likewise.
17100 (test_ignore_count): Likewise.
17101 (test_error): Likewise.
17103 2014-04-15 Pedro Alves <palves@redhat.com>
17105 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17106 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17108 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17109 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17110 to sym-file-loader.c.
17111 (struct library): Forward declare.
17112 (load_shlib, lookup_function): Change prototypes.
17113 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17114 (translate_offset): Remove declarations.
17115 (get_text_addr): New declaration.
17116 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17117 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17119 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17120 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17121 here from sym-file-loader.h.
17122 (struct library): New structure.
17123 (load_shlib, lookup_function): Change prototypes and adjust to
17124 work with a struct library.
17125 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17126 (translate_offset): Make static.
17127 (get_text_addr): New function.
17128 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17130 2014-04-15 Pedro Alves <palves@redhat.com>
17132 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17134 2014-04-15 Pedro Alves <palves@redhat.com>
17136 * gdb.base/sym-file-loader.c: Include <limits.h>.
17137 (SELF_LINK): New define.
17138 (get_origin): New function.
17139 (load_shlib): Use it.
17140 * gdb.base/sym-file.exp: Don't early return if the target is
17141 remote. Use runto_main, and issue fail is that fails. Use
17143 (shlib_name): Delete.
17144 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17146 2014-04-15 Pedro Alves <palves@redhat.com>
17148 * gdb.base/sym-file.exp: Remove regex characters from test
17149 message. Don't refer to breakpoint numbers in test messages.
17151 2014-04-14 Keith Seitz <keiths@redhat.com>
17154 * gdb.cp/var-tag.cc: New file.
17155 * gdb.cp/var-tag.exp: New file.
17156 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17157 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17158 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17159 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17161 2014-04-14 Tom Tromey <tromey@redhat.com>
17163 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17164 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17166 * gdb.cp/enum-class.exp: New file.
17167 * gdb.cp/enum-class.cc: New file.
17169 2014-04-14 Tom Tromey <tromey@redhat.com>
17171 * gdb.dwarf2/enum-type.exp: New file.
17173 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17175 * gdb.mi/mi-vla-c99.exp: New file.
17176 * gdb.mi/vla.c: New file.
17178 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17180 * gdb.base/vla-datatypes.c: New file.
17181 * gdb.base/vla-datatypes.exp: New file.
17183 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17185 * gdb.base/vla-ptr.c: New file.
17186 * gdb.base/vla-ptr.exp: New file.
17188 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17190 * gdb.dwarf2/count.exp: New file.
17192 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17194 * gdb.base/vla-sideeffect.c: New file.
17195 * gdb.base/vla-sideeffect.exp: New file.
17197 2014-04-14 David Blaikie <dblaikie@gmail.com>
17199 * gdb.mi/non-stop.c: Add return value for non-void function return
17201 * gdb.threads/staticthreads.c: Ditto.
17203 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17204 Doug Evans <xdje42@gmail.com>
17206 * gdb.guile/scm-value.c: Improve test case.
17207 * gdb.guile/scm-value.exp: Add new test.
17209 2014-04-11 David Blaikie <dblaikie@gmail.com>
17211 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17212 override Clang's default.
17214 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17216 Revert the following changes (regressions):
17218 * gdb.base/vla-sideeffect.c: New file.
17219 * gdb.base/vla-sideeffect.exp: New file.
17221 * gdb.dwarf2/count.exp: New file.
17223 * gdb.base/vla-multi.c: New file.
17224 * gdb.base/vla-multi.exp: New file.
17226 * gdb.base/vla-ptr.c: New file.
17227 * gdb.base/vla-ptr.exp: New file.
17229 * gdb.base/vla-datatypes.c: New file.
17230 * gdb.base/vla-datatypes.exp: New file.
17232 * gdb.mi/mi-vla-c99.exp: New file.
17233 * gdb.mi/vla.c: New file.
17235 2014-04-11 Keith Seitz <keiths@redhat.com>
17238 * gdb.cp/cpsizeof.exp: New file.
17239 * gdb.cp/cpsizeof.cc: New file.
17241 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17243 * gdb.mi/mi-vla-c99.exp: New file.
17244 * gdb.mi/vla.c: New file.
17246 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17248 * gdb.base/vla-datatypes.c: New file.
17249 * gdb.base/vla-datatypes.exp: New file.
17251 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17253 * gdb.base/vla-ptr.c: New file.
17254 * gdb.base/vla-ptr.exp: New file.
17256 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17258 * gdb.base/vla-multi.c: New file.
17259 * gdb.base/vla-multi.exp: New file.
17261 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17263 * gdb.dwarf2/count.exp: New file.
17265 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17267 * gdb.base/vla-sideeffect.c: New file.
17268 * gdb.base/vla-sideeffect.exp: New file.
17270 2014-04-11 Yao Qi <yao@codesourcery.com>
17272 * gdb.base/completion.exp: Check file exists before running tests
17273 on file completion.
17275 2014-04-10 Pedro Alves <palves@redhat.com>
17277 * gdb.base/cond-eval-mode.c: New file.
17278 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17279 prepare_for_testing to build the new file. Check result of
17281 (test_break, test_watch): New procedures.
17282 (top level): Use them.
17284 2014-04-08 Pierre Muller <muller@sourceware.org>
17286 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17287 Ctrl-V use for mingw hosts.
17289 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17291 * gdb.python/py-value.c: Improve test case.
17292 * gdb.python/py-value.exp: Add new test.
17294 2014-04-07 David Blaikie <dblaikie@gmail.com>
17296 * lib/compiler.c: Identify the clang compiler.
17297 * lib/compiler.cc: Ditto.
17299 2014-04-03 Yao Qi <yao@codesourcery.com>
17301 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17303 2014-04-01 Anton Blanchard <anton@samba.org>
17305 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17308 2014-04-01 Anton Blanchard <anton@samba.org>
17310 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17311 prepare_for_testing.
17313 2014-04-01 Anton Blanchard <anton@samba.org>
17315 * gdb.arch/ppc64-atomic-inst.c: Remove.
17316 * gdb.arch/ppc64-atomic-inst.S: New file.
17317 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17319 2014-03-31 Doug Evans <dje@google.com>
17321 * gdb.base/print-symbol-loading-lib.c: New file.
17322 * gdb.base/print-symbol-loading-main.c: New file.
17323 * gdb.base/print-symbol-loading.exp: New file.
17325 2014-03-31 Yao Qi <yao@codesourcery.com>
17327 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17329 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17331 * gdb.ada/mi_dyn_arr: New testcase.
17333 2014-03-27 Doug Evans <dje@google.com>
17335 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17337 2014-03-27 Yao Qi <yao@codesourcery.com>
17339 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17340 if target is nios2-*-*.
17342 2014-03-26 Yao Qi <yao@codesourcery.com>
17344 * lib/gdb.exp (readline_is_used): New proc.
17345 * gdb.base/completion.exp: Move tests on command complete up.
17346 Skip the rest of tests if readline is not used.
17347 * gdb.ada/complete.exp: Skp the test if readline is not
17349 * gdb.base/filesym.exp: Likewise.
17350 * gdb.base/macscp.exp: Likewise.
17351 * gdb.base/readline-ask.exp: Likewise.
17352 * gdb.base/readline.exp: Likewise.
17353 * gdb.python/py-cmd.exp: Likewise.
17354 * gdb.trace/tfile.exp: Likewise.
17356 2014-03-26 Yao Qi <yao@codesourcery.com>
17358 * gdb.base/macscp.exp: Fix code format issues.
17360 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17362 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17363 * gdb.asm/powerpc64le.inc: New file.
17365 2014-03-25 Pedro Alves <palves@redhat.com>
17366 Doug Evans <dje@google.com>
17368 * gdb.base/source-execution.c: New file.
17369 * gdb.base/source-execution.exp: New file.
17370 * gdb.base/source-execution.gdb: New file.
17372 2014-03-24 Doug Evans <dje@google.com>
17374 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17377 2014-03-24 Hui Zhu <hui@codesourcery.com>
17378 Pedro Alves <palves@redhat.com>
17380 PR breakpoints/16101
17381 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17382 test pass/fail messages. Detect missing support for dprintf when
17383 breakpoints are actually inserted.
17384 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17385 breakpoints are actually inserted.
17386 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17389 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17391 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17393 2014-03-22 Doug Evans <xdje42@gmail.com>
17395 * gdb.python/python.exp (python not supported): Verify multi-line
17396 python command issues an error.
17397 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17398 guile command issues an error.
17400 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17402 * gdb.threads/thread-specific.exp: Handle the lack of usable
17403 $this_breakpoint and $this_thread.
17405 2014-03-21 Hui Zhu <hui@codesourcery.com>
17407 * gdb.base/attach.exp (do_command_attach_tests): New.
17409 2014-03-20 Tom Tromey <tromey@redhat.com>
17410 Pedro Alves <palves@redhat.com>
17413 * gdb.base/condbreak-call-false.c: New file.
17414 * gdb.base/condbreak-call-false.exp: New file.
17416 2014-03-20 Pedro Alves <palves@redhat.com>
17418 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17420 (block_signals, unblock_signals): Delete.
17421 (child_function_2, main): Remove references to deleted variable
17424 2014-03-20 Pedro Alves <palves@redhat.com>
17426 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17427 Use pthread_kill to signal thread 2.
17428 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17429 Adjust to make the test send itself a signal rather than using the
17430 host's "kill" command.
17432 2014-03-20 Pedro Alves <palves@redhat.com>
17434 * gdb.threads/multiple-step-overs.c: New file.
17435 * gdb.threads/multiple-step-overs.exp: New file.
17436 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17437 Adjust expected infrun debug output.
17439 2014-03-20 Pedro Alves <palves@redhat.com>
17441 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17442 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17444 2014-03-20 Pedro Alves <palves@redhat.com>
17446 PR breakpoints/7143
17447 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17448 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17449 of gdb_test_multiple.
17450 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17451 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17453 2014-03-20 Pedro Alves <palves@redhat.com>
17455 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17456 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17458 2014-03-19 Pedro Alves <palves@redhat.com>
17460 * gdb.base/async.exp: Remove early return.
17462 2014-03-19 Pedro Alves <palves@redhat.com>
17464 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17466 2014-03-19 Pedro Alves <palves@redhat.com>
17468 * gdb.base/async.exp (test_background): Expect \r\n after
17469 "completed." in the fail pattern.
17471 2014-03-19 Pedro Alves <palves@redhat.com>
17473 * gdb.base/async.exp (test_background): New procedure.
17474 Use it for all background execution command tests.
17476 2014-03-19 Pedro Alves <palves@redhat.com>
17478 * gdb.base/async.exp: Use prepare_for_testing.
17480 2014-03-19 Pedro Alves <palves@redhat.com>
17482 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17485 2014-03-19 Pedro Alves <palves@redhat.com>
17487 * gdb.base/async.c (main): Add "jump here" and "until here" line
17489 * gdb.base/async.exp (jump_here): New global.
17490 (jump& test): Use it.
17491 (until_here): New global.
17492 (until& test): Use it.
17494 2014-03-19 Pedro Alves <palves@redhat.com>
17496 * gdb.base/async.exp: Don't frob gdb_protocol.
17498 2014-03-18 Doug Evans <xdje42@gmail.com>
17500 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17501 Fix spelling of exec-done-display.
17503 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17506 * gdb.base/gdb-sigterm.c: New file.
17507 * gdb.base/gdb-sigterm.exp: New file.
17509 2014-03-18 Pedro Alves <palves@redhat.com>
17512 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17513 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17516 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17518 * gdb.ada/pckd_arr_ren: New testcase.
17520 2014-03-13 Doug Evans <xdje42@gmail.com>
17523 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17524 collect after discarding symbols.
17526 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17527 Doug Evans <xdje42@gmail.com>
17529 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17530 to history survives a gc.
17532 2014-03-13 Pedro Alves <palves@redhat.com>
17534 * gdb.base/default.exp: Don't test "target procfs".
17536 2014-03-13 Pedro Alves <palves@redhat.com>
17538 * gdb.base/default.exp: Update "target child" and "target procfs"
17539 tests to not expect "Unix".
17541 2014-03-12 Tom Tromey <tromey@redhat.com>
17543 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17544 New procs. Add target-async tests.
17545 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17546 Add target-async tests.
17548 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17550 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17551 'func_start' and 'func_end' for the beginning and end of the
17552 function code, respectively.
17553 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17554 'func_end' instead of 'func' and 'main'.
17556 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17558 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17559 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17560 generate the debug info assembler source.
17562 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17564 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17565 * gdb.dwarf2/arr-subrange.exp: Likewise.
17566 * gdb.dwarf2/dwz.exp: Likewise.
17567 * gdb.dwarf2/method-ptr.exp: Likewise.
17568 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17569 * gdb.dwarf2/subrange.exp: Likewise.
17570 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17571 * gdb.dwarf2/implptrpiece.exp: Likewise.
17572 * gdb.dwarf2/nostaticblock.exp: Likewise.
17574 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17576 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17577 directory to absolute path name arguments.
17579 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17581 * gdb.ada/tagged_access: New testcase.
17583 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17585 * gdb.btrace/data.exp: Update expected output.
17587 2014-03-06 Yao Qi <yao@codesourcery.com>
17589 * gdb.trace/pr16508.exp: New file.
17591 2014-03-05 Pedro Alves <palves@redhat.com>
17594 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17596 (top level): Adjust to use it. Add tests that exercise breakpoint
17597 interaction with the code-cache.
17599 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17601 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17602 test for 'history-append!'.
17604 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17606 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17607 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17608 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17609 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17610 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17611 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17613 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17615 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17616 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17617 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17619 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17621 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17623 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17625 * gdb.dwarf2/arr-stride.c: New file.
17626 * gdb.dwarf2/arr-stride.exp: New file.
17628 2014-02-26 Pedro Alves <palves@redhat.com>
17630 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17631 that won't ever trigger. Make sure that GDB reports the correct
17632 breakpoint that caused the stop.
17634 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17637 * gdb.base/auto-load-script: New file.
17638 * gdb.base/auto-load.c: New file.
17639 * gdb.base/auto-load.exp: New file.
17642 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17644 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17646 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17647 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17649 2014-02-24 Doug Evans <dje@google.com>
17651 * lib/gdb.exp (run_on_host): Log error output if program fails.
17653 2014-02-21 Pedro Alves <palves@redhat.com>
17655 * gdb.threads/step-after-sr-lock.c: Rename to ...
17656 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17657 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17658 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17661 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17664 * gdb.arch/amd64-stap-special-operands.exp: New file.
17665 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17666 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17667 * gdb.arch/amd64-stap-triplet.S: Likewise.
17668 * gdb.arch/amd64-stap-triplet.c: Likewise.
17670 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17672 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17673 in .section pseudo-op.
17675 2014-02-20 lin zuojian <manjian2006@gmail.com>
17676 Joel Brobecker <brobecker@adacore.com>
17677 Doug Evans <xdje42@gmail.com>
17680 * gdb.dwarf2/dw2-icycle.S: New file.
17681 * gdb.dwarf2/dw2-icycle.c: New file.
17682 * gdb.dwarf2/dw2-icycle.exp: New file.
17684 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17686 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17687 operations on gdb.Value objects.
17688 * gdb.python/py-value-cc.exp: Add new test to test operations on
17691 2014-02-18 Doug Evans <dje@google.com>
17693 * Makefile.in (TESTS): New variable.
17694 (expanded_tests, expanded_tests_or_none): New variables
17695 (check-single): Pass $(expanded_tests_or_none) to runtest.
17696 (check-parallel): Only run tests in $(TESTS) if non-empty.
17697 (check/no-matching-tests-found): New rule.
17698 * README: Document TESTS makefile variable.
17700 2014-02-18 Doug Evans <dje@google.com>
17702 * Makefile.in (check-parallel): rm -rf outputs temp.
17704 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17706 Fix "ERROR: no fileid for" in the testsuite.
17707 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17709 2014-02-12 Doug Evans <dje@google.com>
17711 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17712 (MISCELLANEOUS): New variable.
17713 (clean): rm -rf $(MISCELLANEOUS).
17714 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17715 dwp live in the same directory as symlinks, with each symlink pointed
17716 to a differently named file in a different directory.
17718 2014-02-11 Doug Evans <dje@google.com>
17720 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17721 of Tcl file commands.
17723 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17725 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17726 "kill -SIGUSR1 -1".
17728 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17730 * gdb.ada/tick_length_array_enum_idx: New testcase.
17732 2014-02-10 Doug Evans <xdje42@gmail.com>
17734 * configure.ac (AC_OUTPUT): Add gdb.guile.
17735 * configure: Regenerate.
17736 * lib/gdb-guile.exp: New file.
17737 * lib/gdb.exp (get_target_charset): New function.
17738 * gdb.base/help.exp: Update expected output from "apropos apropos".
17739 * gdb.guile/Makefile.in: New file.
17740 * gdb.guile/guile.exp: New file.
17741 * gdb.guile/scm-arch.c: New file.
17742 * gdb.guile/scm-arch.exp: New file.
17743 * gdb.guile/scm-block.c: New file.
17744 * gdb.guile/scm-block.exp: New file.
17745 * gdb.guile/scm-breakpoint.c: New file.
17746 * gdb.guile/scm-breakpoint.exp: New file.
17747 * gdb.guile/scm-disasm.c: New file.
17748 * gdb.guile/scm-disasm.exp: New file.
17749 * gdb.guile/scm-equal.c: New file.
17750 * gdb.guile/scm-equal.exp: New file.
17751 * gdb.guile/scm-error.exp: New file.
17752 * gdb.guile/scm-error.scm: New file.
17753 * gdb.guile/scm-frame-args.c: New file.
17754 * gdb.guile/scm-frame-args.exp: New file.
17755 * gdb.guile/scm-frame-args.scm: New file.
17756 * gdb.guile/scm-frame-inline.c: New file.
17757 * gdb.guile/scm-frame-inline.exp: New file.
17758 * gdb.guile/scm-frame.c: New file.
17759 * gdb.guile/scm-frame.exp: New file.
17760 * gdb.guile/scm-generics.exp: New file.
17761 * gdb.guile/scm-gsmob.exp: New file.
17762 * gdb.guile/scm-iterator.c: New file.
17763 * gdb.guile/scm-iterator.exp: New file.
17764 * gdb.guile/scm-math.c: New file.
17765 * gdb.guile/scm-math.exp: New file.
17766 * gdb.guile/scm-objfile-script-gdb.in: New file.
17767 * gdb.guile/scm-objfile-script.c: New file.
17768 * gdb.guile/scm-objfile-script.exp: New file.
17769 * gdb.guile/scm-objfile.c: New file.
17770 * gdb.guile/scm-objfile.exp: New file.
17771 * gdb.guile/scm-ports.exp: New file.
17772 * gdb.guile/scm-pretty-print.c: New file.
17773 * gdb.guile/scm-pretty-print.exp: New file.
17774 * gdb.guile/scm-pretty-print.scm: New file.
17775 * gdb.guile/scm-section-script.c: New file.
17776 * gdb.guile/scm-section-script.exp: New file.
17777 * gdb.guile/scm-section-script.scm: New file.
17778 * gdb.guile/scm-symbol.c: New file.
17779 * gdb.guile/scm-symbol.exp: New file.
17780 * gdb.guile/scm-symtab-2.c: New file.
17781 * gdb.guile/scm-symtab.c: New file.
17782 * gdb.guile/scm-symtab.exp: New file.
17783 * gdb.guile/scm-type.c: New file.
17784 * gdb.guile/scm-type.exp: New file.
17785 * gdb.guile/scm-value-cc.cc: New file.
17786 * gdb.guile/scm-value-cc.exp: New file.
17787 * gdb.guile/scm-value.c: New file.
17788 * gdb.guile/scm-value.exp: New file.
17789 * gdb.guile/source2.scm: New file.
17790 * gdb.guile/types-module.cc: New file.
17791 * gdb.guile/types-module.exp: New file.
17793 2014-02-10 Yao Qi <yao@codesourcery.com>
17796 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17797 * configure: Regenerated.
17798 * Makefile.in: New file.
17800 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17802 * gdb.python/py-framefilter.exp: Fix typo.
17804 2014-02-08 Yao Qi <yao@codesourcery.com>
17806 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17807 that no =breakpoint-modified is emitted when breakpoints are
17808 modified through MI commands.
17810 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17811 Pedro Alves <palves@redhat.com>
17813 * gdb.threads/step-after-sr-lock.c: New file.
17814 * gdb.threads/step-after-sr-lock.exp: New file.
17816 2014-02-07 Pedro Alves <palves@redhat.com>
17818 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17820 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17822 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17823 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17825 2014-02-06 Doug Evans <xdje42@gmail.com>
17827 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17830 * gdb.gdb/python-interrupts.exp: New file.
17832 2014-02-05 Yao Qi <yao@codesourcery.com>
17834 * gdb.trace/report.exp (use_collected_data): Test the output
17835 of "info threads" and "info inferiors".
17837 2014-02-05 Yao Qi <yao@codesourcery.com>
17841 2013-05-24 Yao Qi <yao@codesourcery.com>
17843 * gdb.trace/tfile.exp: Test inferior and thread.
17845 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17847 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17849 * gdb.base/step-bt.c: Call hello via function pointer to make
17850 sure its first instruction is executed on powerpc64le-linux.
17852 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17854 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17856 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17858 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17859 of the test patterns for use on little-endian systems.
17861 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17863 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17864 (decimal_vector): Fix for little-endian.
17866 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17868 * gdb.arch/sparc-sysstep.exp: New file.
17869 * gdb.arch/sparc-sysstep.c: Likewise.
17871 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17873 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17875 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17877 2014-01-23 Tom Tromey <tromey@redhat.com>
17879 * gdb.ada/array_char_idx: New testcase.
17881 2014-01-23 Tom Tromey <tromey@redhat.com>
17884 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17885 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17888 2014-01-23 Tom Tromey <tromey@redhat.com>
17891 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17892 string from an inferior frame.
17893 * gdb.python/py-framefilter-mi.exp: Update.
17895 2014-01-22 Doug Evans <dje@google.com>
17897 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17899 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17901 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17903 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17905 * gdb.trace/entry-values.exp: Remove excess space character from
17906 regex patterns. Handle s390 call instruction.
17908 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17910 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17911 define "*_start" label. Make "name" static.
17912 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17913 ${name} by references to ${name}_start.
17915 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17917 * gdb.base/info-macros.exp: Remove "debug" from the compile
17920 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17922 * gdb.dlang/demangle.exp: New file.
17924 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17926 * gdb.dlang/primitive-types.exp: New file.
17928 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17930 * configure.ac: Create gdb.dlang/Makefile.
17931 * configure: Regenerate.
17932 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17933 * gdb.dlang/Makefile.in: New file.
17934 * lib/d-support.exp: New file.
17935 * lib/gdb.exp (skip_d_tests): New proc.
17937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17939 * gdb.btrace/delta.exp: Check reverse stepi.
17940 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17941 * gdb.btrace/finish.exp: New.
17942 * gdb.btrace/next.exp: New.
17943 * gdb.btrace/nexti.exp: New.
17944 * gdb.btrace/record_goto.c: Add comments.
17945 * gdb.btrace/step.exp: New.
17946 * gdb.btrace/stepi.exp: New.
17947 * gdb.btrace/multi-thread-step.c: New.
17948 * gdb.btrace/multi-thread-step.exp: New.
17949 * gdb.btrace/rn-dl-bind.c: New.
17950 * gdb.btrace/rn-dl-bind.exp: New.
17951 * gdb.btrace/data.c: New.
17952 * gdb.btrace/data.exp: New.
17953 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17957 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17958 * gdb.btrace/exception.exp: Update.
17959 * gdb.btrace/instruction_history.exp: Update.
17960 * gdb.btrace/record_goto.exp: Update.
17961 * gdb.btrace/tailcall.exp: Update.
17962 * gdb.btrace/unknown_functions.exp: Update.
17963 * gdb.btrace/delta.exp: New.
17965 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17967 * gdb.btrace/record_goto.exp: Add backtrace test.
17968 * gdb.btrace/tailcall.exp: Add backtrace test.
17970 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17972 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17973 * gdb.btrace/record_goto.c: New.
17974 * gdb.btrace/record_goto.exp: New.
17975 * gdb.btrace/x86-record_goto.S: New.
17977 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17979 * gdb.btrace/function_call_history.exp: Update tests.
17980 * gdb.btrace/instruction_history.exp: Update tests.
17982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17984 * gdb.btrace/function_call_history.exp: Fix expected field
17985 order for "record function-call-history".
17986 Add new tests for "record function-call-history /c".
17987 * gdb.btrace/exception.cc: New.
17988 * gdb.btrace/exception.exp: New.
17989 * gdb.btrace/tailcall.exp: New.
17990 * gdb.btrace/x86-tailcall.S: New.
17991 * gdb.btrace/x86-tailcall.c: New.
17992 * gdb.btrace/unknown_functions.c: New.
17993 * gdb.btrace/unknown_functions.exp: New.
17994 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17996 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17998 * gdb.btrace/instruction_history.exp: Update.
17999 * gdb.btrace/function_call_history.exp: Update.
18001 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18003 * gdb.btrace/function_call_history.exp: Fix expected function
18005 * gdb.btrace/instruction_history.exp: Initialize traced.
18006 Remove traced_functions.
18008 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18010 * gdb.btrace/function_call_history.exp: Update
18011 * gdb.btrace/instruction_history.exp: Update.
18013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18015 * gdb.btrace/enable.exp: Update expected text.
18017 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18019 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18022 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18024 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18026 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18028 * lib/gdb.exp (supports_process_record): Return true for
18029 arm*-linux*. (supports_reverse): Likewise.
18031 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18035 * gdb.python/py-type.c: Enhance test case.
18036 * gdb.python/py-value-cc.cc: Likewise
18037 * gdb.python/py-type.exp: Add new tests.
18038 * gdb.python/py-value-cc.exp: Likewise
18040 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18041 Pedro Alves <palves@redhat.com>
18043 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18044 Make "name" extern.
18045 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18046 references to ${name}_start by references to ${name}.
18048 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18050 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18052 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18054 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18056 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18057 Pedro Alves <palves@redhat.com>
18059 * gdb.mi/mi-info-os.exp: Connect to the target with
18060 mi_gdb_target_load.
18062 2014-01-08 Pedro Alves <palves@redhat.com>
18064 * gdb.threads/reconnect-signal.c: New file.
18065 * gdb.threads/reconnect-signal.exp: New file.
18067 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18069 * gdb.base/source-dir.exp: New file.
18071 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18073 * gdb.ada/mi_interface: New testcase.
18075 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18077 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18078 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18079 gdb.ada/pp-rec-component/pck.ads: New files.
18081 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18083 * gdb.python/py-pp-integral.c: New file.
18084 * gdb.python/py-pp-integral.py: New file.
18085 * gdb.python/py-pp-integral.exp: New file.
18087 For older changes see ChangeLog-1993-2013.
18089 ;; Local Variables:
18090 ;; mode: change-log
18093 ;; version-control: never
18096 Copyright 2014-2020 Free Software Foundation, Inc.
18097 Copying and distribution of this file, with or without modification,
18098 are permitted provided the copyright notice and this notice are preserved.