1 2019-10-10 Tom de Vries <tdevries@suse.de>
4 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
7 2019-10-09 Tom de Vries <tdevries@suse.de>
10 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
12 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
14 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
15 exceptions due to missing debug information.
17 2019-10-07 Tom de Vries <tdevries@suse.de>
19 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
21 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
23 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
24 * gdb.base/annota1.exp: Update to use gdb_test_name.
26 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
28 * gdb.base/ctf-whatis.exp: New file.
29 * gdb.base/ctf-whatis.c: New file.
30 * gdb.base/ctf-ptype.exp: New file.
31 * gdb.base/ctf-ptype.c: New file.
32 * gdb.base/ctf-constvars.exp: New file.
33 * gdb.base/ctf-constvars.c: New file.
34 * gdb.base/ctf-cvexpr.exp: New file.
36 2019-10-04 Tom de Vries <tdevries@suse.de>
38 * gdb.cp/local-static.c (main): Move declaration of int i out of the
41 2019-10-03 Tom Tromey <tom@tromey.com>
44 * gdb.rust/simple.rs (Union2): New type.
46 * gdb.rust/simple.exp: Add test.
48 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
50 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
51 nested function prefix.
53 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
54 Richard Bunt <richard.bunt@arm.com>
55 Andrew Burgess <andrew.burgess@embecosm.com>
57 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
59 * gdb.fortran/nested-funcs.f90: Update expected results.
60 * gdb.fortran/nested-funcs-2.exp: New file.
61 * gdb.fortran/nested-funcs-2.f90: New file.
63 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
65 * gdb.python/py-parameter.exp: Make test names unique.
66 * gdb.python/py-template.exp: Likewise.
67 * gdb.python/py-value.exp: Likewise.
69 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
71 * gdb.base/break-interp.exp: Reduce test name duplication.
72 * gdb.base/call-sc.exp: Likewise.
73 * gdb.base/callfuncs.exp: Likewise.
74 * gdb.base/charset.exp: Likewise.
75 * gdb.base/dump.exp: Likewise.
76 * gdb.base/ena-dis-br.exp: Likewise.
77 * gdb.base/relational.exp: Likewise.
78 * gdb.base/step-over-syscall.exp: Likewise.
79 * gdb.base/structs.exp: Likewise.
81 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
83 * gdb.linespec/explicit.exp: Make test names unique.
84 * gdb.linespec/ls-errs.exp: Likewise.
86 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
88 * gdb.reverse/break-precsave.exp: Make test names unique.
89 * gdb.reverse/break-reverse.exp: Likewise.
90 * gdb.reverse/finish-precsave.exp: Likewise.
91 * gdb.reverse/finish-reverse.exp: Likewise.
92 * gdb.reverse/machinestate-precsave.exp: Likewise.
93 * gdb.reverse/machinestate.exp: Likewise.
94 * gdb.reverse/readv-reverse.exp: Likewise.
95 * gdb.reverse/recvmsg-reverse.exp: Likewise.
96 * gdb.reverse/sigall-precsave.exp: Likewise.
97 * gdb.reverse/sigall-reverse.exp: Likewise.
98 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
99 * gdb.reverse/watch-precsave.exp: Likewise.
100 * gdb.reverse/watch-reverse.exp: Likewise.
102 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
104 * gdb.threads/stop-with-handle.c: New file.
105 * gdb.threads/stop-with-handle.exp: New file.
107 2019-10-03 Tom de Vries <tdevries@suse.de>
110 * gdb.base/list-missing-source.exp: Allowing the "Compilation
111 directory" line to be missing.
113 2019-10-03 Tom de Vries <tdevries@suse.de>
116 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
119 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
121 * gdb.python/py-format-string.c (string.h): New include.
122 (main): Fill a_struct_with_union.the_union.an_int with bytes of
123 the same value, for endianness-independence.
124 * gdb.python/py-format-string.exp (default_regexp_dict)
125 (test_pretty_structs, test_format): Adjust expected output to the
126 changed initialization.
128 2019-10-02 Tom Tromey <tromey@adacore.com>
130 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
132 2019-10-02 Pedro Alves <palves@redhat.com>
133 Andrew Burgess <andrew.burgess@embecosm.com>
135 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
137 (this_version_id) Use ATTRIBUTE_VISIBILITY.
138 (get_version_1): Print this_version_id and its address.
139 Add extern "C" wrappers around interface functions.
140 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
142 (this_version_id) Use ATTRIBUTE_VISIBILITY.
143 (get_version_2): Print this_version_id and its address.
144 Add extern "C" wrappers around interface functions.
145 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
146 <stddef.h> and "print-file-var.h".
147 Add extern "C" wrappers around interface functions.
148 [VERSION_ID_MAIN] (this_version_id): Define.
149 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
150 * gdb.base/print-file-var.h: Add some #defines to simplify setting
151 up extern "C" blocks.
152 * gdb.base/print-file-var.exp (test): New, factored out from top
154 (top level): Test all combinations of attribute hidden or not,
155 dlopen or not, and this_version_id symbol in main file or not.
156 Compile tests as both C++ and C, make test names unique.
158 2019-10-01 Tom Tromey <tom@tromey.com>
160 * gdb.base/style.exp: Test "show logging filename".
162 2019-10-01 Tom Tromey <tom@tromey.com>
164 * lib/gdb-utils.exp (style): Handle "metadata" argument.
165 * gdb.base/style.exp: Add metadata style test.
167 2019-10-01 Tom Tromey <tom@tromey.com>
169 * gdb.base/style.exp: Test "pwd".
171 2019-10-01 Tom Tromey <tom@tromey.com>
173 * gdb.base/style.exp: Update tests.
175 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
177 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
179 (s1): Initialize fields 'four' and 'six' instead of 'three' and
180 'five'. Use an all-ones bit pattern for each.
181 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
182 to its changed values.
184 2019-09-30 Tom Tromey <tromey@adacore.com>
186 * gdb.rust/traits.rs: Disable all warnings.
188 2019-09-29 Tom de Vries <tdevries@suse.de>
190 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
192 2019-09-29 Tom de Vries <tdevries@suse.de>
194 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
196 2019-09-27 Tom de Vries <tdevries@suse.de>
198 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
200 2019-09-27 Tom de Vries <tdevries@suse.de>
203 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
205 2019-09-26 Tom Tromey <tromey@adacore.com>
207 * gdb.ada/py_taft.exp: New file.
208 * gdb.ada/py_taft/main.adb: New file.
209 * gdb.ada/py_taft/pkg.adb: New file.
210 * gdb.ada/py_taft/pkg.ads: New file.
212 2019-09-24 Tom de Vries <tdevries@suse.de>
215 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
217 2019-09-22 Tom de Vries <tdevries@suse.de>
219 * gdb.base/restore.exp: Allow register variables to be optimized out at
222 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
224 * gdb.arch/spu-info.exp: Remove file.
225 * gdb.arch/spu-info.c: Remove file.
226 * gdb.arch/spu-ls.exp: Remove file.
227 * gdb.arch/spu-ls.c: Remove file.
229 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
230 * gdb.asm/spu.inc: Remove file.
232 * gdb.base/dump.exp: Remove support for spu*-*-*.
233 * gdb.base/stack-checking.exp: Likewise.
234 * gdb.base/overlays.exp: Likewise.
235 * gdb.base/ovlymgr.c: Likewise.
236 * gdb.base/spu.ld: Remove file.
238 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
239 * gdb.cp/cpexprs.exp: Likewise.
240 * gdb.cp/exception.exp: Likewise.
241 * gdb.cp/gdb2495.exp: Likewise.
242 * gdb.cp/mb-templates.exp: Likewise.
243 * gdb.cp/pr9167.exp: Likewise.
244 * gdb.cp/userdef.exp: Likewise.
246 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
248 * gdb.cell: Remove directory.
249 * lib/cell.exp: Remove file.
251 2019-09-19 Tom de Vries <tdevries@suse.de>
253 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
255 2019-09-19 Tom de Vries <tdevries@suse.de>
257 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
259 2019-09-19 Tom de Vries <tdevries@suse.de>
261 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
262 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
263 (gdb_target_cmd): ... here.
264 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
267 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
269 * gdb.base/source-dir.exp: Avoid having directory names in test
272 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
274 * gdb.base/source-dir.exp: Add extra test for mapped compilation
277 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
279 * gdb.base/list-missing-source.exp: New file.
281 2019-09-14 Tom de Vries <tdevries@suse.de>
284 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
285 * lib/ada.exp (gnatmake_version_at_least): New proc.
287 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
289 * gdb.base/maint.exp: Use exec_has_index_section.
291 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
293 * gdb.base/maint.exp: Add test for 'maint info sections'.
295 2019-09-12 Tom de Vries <tdevries@suse.de>
297 * gdb.base/store.exp: Allow register variables to be optimized out at
300 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
302 * gdb.ada/rdv_wait.exp: Update to new task names.
303 * gdb.base/task_switch_in_core.exp: Likewise.
304 * gdb.base/info_sources_base.c: Likewise.
306 2019-09-10 Tom Tromey <tromey@adacore.com>
308 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
310 2019-09-10 Tom Tromey <tromey@adacore.com>
312 * gdb.ada/dgopt.exp: New file.
313 * gdb.ada/dgopt/x.adb: New file.
315 2019-09-08 Tom Tromey <tom@tromey.com>
317 * gdb.tui/resize.exp: Remove setup_xfail.
318 * gdb.tui/regs.exp: Remove setup_xfail.
319 * gdb.tui/basic.exp: Remove setup_xfail.
321 2019-09-06 David Blaikie <dblaikie@gmail.com>
323 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
324 * gdb.cp/cplabel.exp: Ditto.
325 * gdb.linespec/ls-errs.exp: Ditto.
327 2019-09-05 Tom de Vries <tdevries@suse.de>
329 * lib/gdb.exp (cmp_file_string): New proc.
330 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
331 runto_main. Verify save breakpoints output.
333 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
335 * gdb.base/info-var.exp: Test info variables without running
336 to main, to avoid expect's buffer overflow.
338 2019-09-03 Tom Tromey <tromey@adacore.com>
340 * gdb.ada/bias.exp: New file.
341 * gdb.ada/bias/bias.adb: New file.
342 * gdb.ada/print_chars.exp: Add regression test.
343 * gdb.ada/print_chars/foo.adb (My_Character): New type.
346 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
348 * gdb.base/argv0-symlink.exp: Run only on native target
351 2019-08-29 Tom de Vries <tdevries@suse.de>
353 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
355 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
357 2019-08-28 Tom de Vries <tdevries@suse.de>
359 * gdb.base/info-var.exp: Allow info variables to print info for files
360 other than info-var-f1.c and info-var-f2.c.
362 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
364 * gdb.fortran/info-types.exp: Add module.
365 * gdb.fortran/info-types.f90: Update expected results.
367 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
369 * gdb.fortran/info-types.exp: New file.
370 * gdb.fortran/info-types.f90: New file.
371 * lib/fortran.exp (fortran_character1): New proc.
373 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
375 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
376 functions'. Reindent as needed.
377 * gdb.base/info-var-f1.c: New file.
378 * gdb.base/info-var-f2.c: New file.
379 * gdb.base/info-var.exp: New file.
380 * gdb.base/info-var.h: New file.
382 2019-08-26 Tom de Vries <tdevries@suse.de>
385 * gdb.cp/no-libstdcxx-probe.exp: New test.
387 2019-08-26 Tom de Vries <tdevries@suse.de>
389 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
390 * tests need to be skipped.
391 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
392 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
393 mi_skip_libstdcxx_probe_tests.
395 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
397 * gdb.python/py-xmethods.exp: Use raw strings when passing
398 arguments to SimpleXMethodMatcher.
400 2019-08-22 Tom de Vries <tdevries@suse.de>
402 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
405 2019-08-21 Pedro Alves <palves@redhat.com>
407 * gdb.base/with.exp: Test "with" with no arguments.
409 2019-08-21 Tom de Vries <tdevries@suse.de>
411 * gdb.base/gdb-caching-proc.exp: Sort files.
413 2019-08-20 Tom de Vries <tdevries@suse.de>
415 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
418 2019-08-16 Tom de Vries <tdevries@suse.de>
420 * gdb.base/compare-sections.exp ("after run to main"): Allow
421 mismatched read-only sections for PIE executables.
423 2019-08-16 Tom Tromey <tom@tromey.com>
425 * lib/tuiterm.exp (_csi_Z): New proc.
426 * gdb.tui/basic.exp: Update window positions.
427 * gdb.tui/empty.exp: Update window positions.
429 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
431 * gdb.base/examine-backward.exp: Correct regexp for
432 "examine 3 bytes backward from ${address_zero}".
434 2019-08-15 Tom Tromey <tom@tromey.com>
436 * gdb.tui/empty.exp: Enable resizing tests.
438 2019-08-15 Tom Tromey <tromey@adacore.com>
440 * gdb.ada/char_enum.exp: Add regression tests.
441 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
443 (Char, Gchar): Update.
444 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
446 2019-08-15 Christian Biesinger <cbiesinger@google.com>
448 * gdb.python/python.exp: Expect a leading underscore on
449 GdbOutput{,Error}File.
451 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
453 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
456 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
458 * gdb.base/batch-preserve-term-settings.exp
459 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
461 2019-08-15 Christian Biesinger <cbiesinger@google.com>
463 * lib/gdb.exp: When running on a mingw target, replace
466 2019-08-14 Alan Hayward <alan.hayward@arm.com>
468 * gdb.arch/aarch64-prologue.c: New test.
469 * gdb.arch/aarch64-prologue.exp: New file.
471 2019-08-13 Tom de Vries <tdevries@suse.de>
473 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
476 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
478 * gdb.python/py-completion.exp: Download the .py file to the host
479 and use its host pathname. Conditionalize tests that use
480 tab completion and manipulate files on the build machine.
481 * gdb.python/py-events.exp: Download the .py file to the host
482 and use its host pathname.
483 * gdb.python/py-evsignal.exp: Likewise.
484 * gdb.python/py-evthreads.exp: Likewise.
485 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
487 * gdb.python/py-framefilter.exp: Download the .py file to the right
488 place on the host. Match Windows pathname syntax.
489 * gdb.python/py-mi-var-info-path-expression.exp: Download the
490 .py file to the host and use its host pathname.
491 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
492 * gdb.python/py-objfile.exp: Expect a host pathname, not a
493 build pathname. Skip symlink test on Windows host. Add missing
494 newline at end of file.
495 * gdb.python/py-pp-maint.exp: Download the .py file to the host
496 and use its host pathname.
497 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
498 * gdb.python/py-section-script.exp: Use host location of binfile
499 on safe-path. Use correct path separator on Windows host.
500 Reorder alternatives in gdb_test_multiple to prevent matching
501 the wrong alternative on success.
502 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
504 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
506 * gdb.gdb/selftest.exp (test_with_self): Update test to now
507 expect the GDB inferior to no longer immediately stop after
508 being resumed with "signal SIGINT".
510 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
512 * gdb.linespec/break-ask.exp: Generalize regexps to match
513 Windows pathnames too.
515 2019-08-08 Tom de Vries <tdevries@suse.de>
518 * lib/tuiterm.exp (_accept): Fix CSI regexp.
520 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
522 * gdb.base/style.exp: Update tests for help doc new invariants.
523 * gdb.base/help.exp: Likewise.
525 2019-08-06 Tom Tromey <tom@tromey.com>
527 * gdb.base/style.exp: Add disassemble test.
528 * gdb.base/style.c (some_called_function): New function.
531 2019-08-05 Christian Biesinger <cbiesinger@google.com>
533 * gdb.python/py-block.exp: Test dictionary access on blocks.
535 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
538 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
539 -list-thread-groups --available test when running under
542 2019-08-05 Tom de Vries <tdevries@suse.de>
545 * lib/gdb.exp (with_read1_timeout_factor): New proc.
546 * gdb.base/help.exp: Use with_read1_timeout_factor.
547 * gdb.base/info-macros.exp: Same.
548 * gdb.cp/nested-types.exp: Same.
550 2019-08-05 Tom de Vries <tdevries@suse.de>
552 * lib/gdb.exp (version_at_least): Factor out of ...
553 (tcl_version_at_least): ... here.
554 (gdb_compile): Fail if pie results in non-PIE executable.
555 (readelf_version, readelf_prints_pie): New proc.
556 (exec_is_pie): Return -1 if unknown.
558 2019-08-05 Tom de Vries <tdevries@suse.de>
560 * lib/gdb.exp (tcl_version_at_least): Fix typo.
562 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
564 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
566 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
568 * lib/completion-support.exp (test_gdb_complete_none): Skip
569 tab completion tests if no readline support.
570 (test_gdb_complete_unique_re): Likewise.
571 (test_gdb_complete_multiple): Likewise.
573 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
575 * gdb.base/info_sources.exp: New file.
576 * gdb.base/info_sources.c: New file.
577 * gdb.base/info_sources_base.c: New file.
579 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
581 * gdb.base/batch-exit-status.exp: Call test_exit_status with
583 (test_exit_status): Add prefix argument.
585 2019-08-01 Tom de Vries <tdevries@suse.de>
588 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
589 calling exp_continue for new thread and thread exited messages.
591 2019-08-01 Tom de Vries <tdevries@suse.de>
594 * gdb.base/structs.exp: Fix check-read1 timeout using
596 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
598 2019-08-01 Tom de Vries <tdevries@suse.de>
601 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
604 2019-08-01 Tom de Vries <tdevries@suse.de>
607 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
609 2019-07-30 Tom Tromey <tromey@adacore.com>
611 * gdb.ada/display_nested.exp: New file.
612 * gdb.ada/display_nested/foo.adb: New file.
613 * gdb.ada/display_nested/pack.adb: New file.
614 * gdb.ada/display_nested/pack.ads: New file.
616 2019-07-30 Christian Biesinger <cbiesinger@google.com>
618 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
620 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
622 2019-07-30 Tom de Vries <tdevries@suse.de>
624 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
627 2019-07-30 Tom de Vries <tdevries@suse.de>
630 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
631 (exec_is_pie): New proc.
633 2019-07-29 Christian Biesinger <cbiesinger@google.com>
635 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
637 2019-07-29 Christian Biesinger <cbiesinger@google.com>
639 * gdb.python/py-objfile.c: Add global and static vars.
640 * gdb.python/py-objfile.exp: Test new functions Objfile.
641 lookup_global_symbol and lookup_static_symbol.
643 2019-07-29 Tom Tromey <tom@tromey.com>
645 * lib/tuiterm.exp (Term::_csi_@): New proc.
646 (Term::_csi_X): Don't move cursor.
648 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
650 * gdb.base/options.exp: Update backtrace - completion to
651 new option -frame-info.
652 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
653 Test new 'set print frame-info'. Test backtrace -frame-info
654 overriding 'set print frame-info'.
655 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
656 Test new 'set print frame-info'.
657 Verify consistency of backtrace with and without filters, with and
659 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
662 2019-07-29 Tom de Vries <tdevries@suse.de>
664 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
667 2019-07-29 Tom de Vries <tdevries@suse.de>
669 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
670 is a substring of the first for "complete non-unique file name".
672 2019-07-29 Tom de Vries <tdevries@suse.de>
674 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
677 2019-07-29 Tom de Vries <tdevries@suse.de>
679 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
680 Pass prompt_regexp parameter to gdb_test_multiple calls.
682 2019-07-29 Tom de Vries <tdevries@suse.de>
684 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
685 print registers" regexps.
687 2019-07-29 Tom de Vries <tdevries@suse.de>
689 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
691 2019-07-29 Tom de Vries <tdevries@suse.de>
694 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
695 (skip_python_tests_prompt): Add prompt_regexp argument to
696 gdb_test_multiple calls.
698 2019-07-27 Tom Tromey <tom@tromey.com>
700 * gdb.tui/main.exp: New file.
702 2019-07-27 Tom Tromey <tom@tromey.com>
704 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
706 * gdb.tui/empty.exp: New file.
708 2019-07-27 Tom Tromey <tom@tromey.com>
710 * lib/tuiterm.exp (spawn): New proc.
711 (Term::resize): New proc.
712 * gdb.tui/resize.exp: New file.
714 2019-07-27 Tom Tromey <tom@tromey.com>
716 * gdb.tui/list.exp: New file.
718 2019-07-27 Tom Tromey <tom@tromey.com>
720 * gdb.tui/regs.exp: New file.
722 2019-07-27 Tom Tromey <tom@tromey.com>
724 * gdb.tui/basic.exp: Add "layout split" test.
726 2019-07-27 Tom Tromey <tom@tromey.com>
728 * gdb.tui/basic.exp: Add "layout asm" test.
730 2019-07-27 Tom Tromey <tom@tromey.com>
732 * lib/tuiterm.exp: New file.
733 * gdb.tui/basic.exp: New file.
735 2019-07-27 Kevin Buettner <kevinb@redhat.com>
737 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
738 Enable tests associated with this flag. Adjust regex
739 referencing "foo_low" to now refer to "foo_cold" instead.
741 2019-07-27 Kevin Buettner <kevinb@redhat.com>
743 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
744 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
745 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
746 foo_cold. Revise comments to match.
747 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
748 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
749 were wrapped into this proc; Call do_test in loop from outermost
751 (foo_low): Rename all occurrences to "foo_cold".
752 (backtrace from baz): New test.
753 (x2/i foo_cold): New test.
754 (info line *foo_cold): New test.
756 2019-07-26 Tom de Vries <tdevries@suse.de>
758 * gdb.arch/i386-pkru.exp: Fix unterminated string.
760 2019-07-25 Tom de Vries <tdevries@suse.de>
763 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
764 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
765 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
766 (skip_libstdcxx_probe_tests): ... here.
767 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
769 2019-07-24 Tom de Vries <tdevries@suse.de>
772 * gdb.objc/basicclass.m: Include stdio.h.
773 * gdb.objc/nondebug.m: Same.
774 * gdb.objc/objcdecode.m: Same.
776 2019-07-24 Tom de Vries <tdevries@suse.de>
779 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
782 2019-07-24 Tom de Vries <tdevries@suse.de>
785 * gdb.multi/tids.exp: Update error messages for info threads.
787 2019-07-24 Tom de Vries <tdevries@suse.de>
789 * gdb.base/info-types.exp: Allow info types to print info for more than
792 2019-07-23 Tom de Vries <tdevries@suse.de>
795 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
796 gdb_spawn_with_cmdline_opts.
798 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
800 * gdb.arch/arm-cmse-sgstubs.c: New test.
801 * gdb.arch/arm-cmse-sgstubs.exp: New file.
803 2019-07-23 Tom de Vries <tdevries@suse.de>
806 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
807 issuing next command.
809 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
811 * gdb.ada/info_auto_lang.exp: Update expected results.
812 * gdb.base/info-types.c: Add additional types to check.
813 * gdb.base/info-types.exp: Update expected results.
815 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
817 * gdb.base/info-types.c: New file.
818 * gdb.base/info-types.exp: New file.
820 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
822 * gdb.arch/riscv-bp-infcall.c: New file.
823 * gdb.arch/riscv-bp-infcall.exp: New file.
825 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
828 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
830 2019-07-14 Tom de Vries <tdevries@suse.de>
833 * gdb.objc/basicclass.exp: Fix unterminated string.
835 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
836 Andrew Burgess <andrew.burgess@embecosm.com>
838 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
839 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
841 * gdb.fortran/vla-value.exp: Print elements of an array with
843 * gdb.fortran/vla.f90: Setup an array with negative bounds for
846 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
848 * gdb.base/options.exp (expect_string): Dequote strings in
850 (test-string): Test strings with different quoting and reindent.
852 2019-07-10 Tom Tromey <tromey@adacore.com>
854 * gdb.ada/mi_ex_cond.exp: Update expected results.
855 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
856 * gdb.ada/mi_catch_ex.exp: Update expected results.
857 * gdb.ada/mi_catch_assert.exp: Update expected results.
858 * gdb.ada/catch_ex.exp (catch_exception_info)
859 (catch_exception_entry, catch_assert_entry)
860 (catch_unhandled_entry): Update.
861 * gdb.ada/catch_assert_if.exp: Update expected results.
863 2019-07-10 Richard Bunt <richard.bunt@arm.com>
864 Stephen Roberts <stephen.roberts@arm.com>
866 * gdb.base/define.exp: Restore original prompt.
868 2019-07-09 Pedro Alves <palves@redhat.com>
870 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
872 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
873 * gdb.python/py-breakpoint.exp: No longer expect that "catch
874 throw" creates breakpoint.
875 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
878 2019-07-09 Pedro Alves <palves@redhat.com>
881 * gdb.cp/except-multi-location-lib.cc: New.
882 * gdb.cp/except-multi-location-main.cc: New.
883 * gdb.cp/except-multi-location.exp: New.
885 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
887 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
888 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
889 argument and update callers.
891 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
893 * gdb.arch/amd64-break-on-asm-line.S: New file.
894 * gdb.arch/amd64-break-on-asm-line.exp: New file.
896 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
898 * gdb.base/printcmds.exp: Test printing C string and
899 C wide string convenience vars without transiting via the inferior.
900 Also make test names unique.
902 2019-07-08 Alan Hayward <alan.hayward@arm.com>
904 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
906 2019-07-04 Pedro Alves <palves@redhat.com>
908 * lib/gdb.exp (foreach_with_prefix): Don't return early if
909 body returned ok(0), break(3) or continue(4).
910 * gdb.testsuite/foreach_with_prefix.exp: New file.
912 2019-07-04 Alan Hayward <alan.hayward@arm.com>
914 * gdb.server/unittest.exp: Allow 0 unit tests to run.
916 2019-07-03 Pedro Alves <palves@redhat.com>
918 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
921 2019-07-03 Pedro Alves <palves@redhat.com>
924 * gdb.base/shell.exp: Load completion-support.exp.
925 Adjust expected error output. Add completion tests.
927 2019-07-03 Pedro Alves <palves@redhat.com>
929 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
932 2019-07-03 Pedro Alves <palves@redhat.com>
934 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
935 (expect_integer): Adjust to expect "-string".
936 (expect_string): New.
937 (all_options): Expect "-string".
938 (test-flag, test-boolean): Adjust to expect "-string".
939 (test-string): New proc.
940 (top level): Call it.
942 2019-07-03 Pedro Alves <palves@redhat.com>
944 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
945 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
946 the expected output in the success.
948 2019-07-03 Pedro Alves <palves@redhat.com>
950 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
951 Split one gdb_test_multiple call in two to avoid a race.
953 2019-07-03 Pedro Alves <palves@redhat.com>
955 * gdb.base/with.c: New file.
956 * gdb.base/with.exp: New file.
958 2019-07-03 Pedro Alves <palves@redhat.com>
960 * gdb.base/settings.exp: Replace all references to "maint
961 test-settings set" with references to "maint set test-settings",
962 and all references to "maint test-settings show" with references
963 to "maint show test-settings".
965 2019-07-03 Pedro Alves <palves@redhat.com>
967 * gdb.base/settings.exp (test-string): Adjust expected out when
968 testing "maint test-settings show filename"
970 2019-07-02 Pedro Alves <palves@redhat.com>
972 * gdb.base/options.exp (test-info-threads): New procedure.
973 (top level): Call it.
975 2019-06-28 Tom Tromey <tromey@adacore.com>
977 * gdb.dwarf2/ada-linkage-name.c: New file.
978 * gdb.dwarf2/ada-linkage-name.exp: New file.
980 2019-06-27 Tom Tromey <tromey@adacore.com>
982 * gdb.cp/constexpr-field.exp: Use setup_xfail.
984 2019-06-26 Tom de Vries <tdevries@suse.de>
986 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
988 2019-06-26 Tom de Vries <tdevries@suse.de>
990 * gdb.base/index-cache.exp: Add back missing debug option.
992 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
994 * gdb.base/alias.exp: Test non matching/non existing prefixes.
996 2019-06-25 Tom de Vries <tdevries@suse.de>
999 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1001 2019-06-24 Tom de Vries <tdevries@suse.de>
1003 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1005 2019-06-24 Tom de Vries <tdevries@suse.de>
1007 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1008 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1009 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1011 2019-06-24 Tom de Vries <tdevries@suse.de>
1013 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1015 2019-06-21 Tom de Vries <tdevries@suse.de>
1017 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1019 2019-06-21 Tom de Vries <tdevries@suse.de>
1023 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1026 2019-06-19 Tom Tromey <tromey@adacore.com>
1028 * gdb.ada/length_cond.exp: Add intro comment.
1030 2019-06-19 Tom Tromey <tromey@adacore.com>
1032 * gdb.ada/length_cond.exp: New file.
1033 * gdb.ada/length_cond/length_cond.adb: New file.
1034 * gdb.ada/length_cond/pck.adb: New file.
1035 * gdb.ada/length_cond/pck.ads: New file.
1037 2019-06-18 Tom de Vries <tdevries@suse.de>
1039 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1041 2019-06-18 Tom Tromey <tromey@adacore.com>
1043 * gdb.base/list0.h: Add comment explaining control character.
1045 2019-06-18 Tom de Vries <tdevries@suse.de>
1047 * boards/fission.exp: Break up long debug_flags line.
1049 2019-06-16 Tom de Vries <tdevries@suse.de>
1052 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1055 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1058 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1059 improve detection of bug gdb/24541.
1061 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1064 * gdb.base/index-cache.exp (uses_readnow,
1065 expecting_index_cache_use): Define global variable.
1066 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1067 expecting_index_cache_use.
1069 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1070 Andrew Burgess <andrew.burgess@embecosm.com>
1072 * gdb.fortran/pointers.f90: New file.
1073 * gdb.fortran/print_type.exp: New file.
1074 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1075 * gdb.fortran/vla-type.exp: Likewise.
1076 * gdb.fortran/vla-value.exp: Likewise.
1077 * gdb.mi/mi-vla-fortran.exp: Likewise.
1079 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1081 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1082 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1083 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1086 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1088 * gdb.base/annota1.exp: Update expected results.
1089 * gdb.cp/annota2.exp: Likewise.
1090 * gdb.cp/annota3.exp: Likewise.
1092 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1094 * gdb.base/style-logging.exp: Remove path from test name.
1096 2019-06-14 Tom Tromey <tromey@adacore.com>
1099 * gdb.base/style-logging.exp: New file.
1101 2019-06-14 Tom Tromey <tromey@adacore.com>
1103 * gdb.base/symfile-warn.exp: New file.
1104 * gdb.base/symfile-warn.c: New file.
1106 2019-06-14 Tom Tromey <tromey@adacore.com>
1108 * gdb.base/annotate-symlink.exp: New file.
1110 2019-06-14 Tom Tromey <tromey@adacore.com>
1112 * gdb.ada/set_wstr.exp: Add reassignment test.
1114 2019-06-14 Tom Tromey <tromey@adacore.com>
1116 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1117 'unchecked_access and 'unrestricted_access as well.
1119 2019-06-14 Tom Tromey <tromey@adacore.com>
1122 * gdb.ada/vla.exp: Update tests.
1123 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1126 2019-06-13 Pedro Alves <palves@redhat.com>
1128 * gdb.base/settings.exp (test-integer): Test junk after
1131 2019-06-13 Pedro Alves <palves@redhat.com>
1133 * gdb.base/options.exp (test-thread-apply): New.
1134 (top level): Call it.
1136 2019-06-13 Pedro Alves <palves@redhat.com>
1138 * gdb.base/options.exp (test-frame-apply): New.
1139 (top level): Test print commands with different "frame apply"
1142 2019-06-13 Pedro Alves <palves@redhat.com>
1144 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1145 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1146 'max_completions' parameter and handle it.
1147 (test_gdb_completion_offers_commands): New.
1149 2019-06-13 Pedro Alves <palves@redhat.com>
1151 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1153 2019-06-13 Pedro Alves <palves@redhat.com>
1155 * gdb.base/options.exp (test-backtrace): New.
1156 (top level): Call it.
1158 2019-06-13 Pedro Alves <palves@redhat.com>
1160 * gdb.guile/scm-frame-args.exp: Use "set print
1161 raw-frame-arguments" instead of "set print raw frame-arguments".
1162 * gdb.python/py-frame-args.exp: Likewise.
1164 2019-06-13 Pedro Alves <palves@redhat.com>
1166 * gdb.compile/compile.exp: Adjust expected output to option
1169 2019-06-13 Pedro Alves <palves@redhat.com>
1171 * gdb.base/options.exp: Build executable.
1172 (test-print): New procedure.
1173 (top level): Call it, once for "print" and another for "compile
1176 2019-06-13 Pedro Alves <palves@redhat.com>
1178 * gdb.base/options.c: New file.
1179 * gdb.base/options.exp: New file.
1181 2019-06-13 Pedro Alves <palves@redhat.com>
1183 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1184 that "o" is ambiguous.
1186 2019-06-13 Pedro Alves <palves@redhat.com>
1188 * gdb.base/settings.c: New file.
1189 * gdb.base/settings.exp: New file.
1191 2019-06-13 Pedro Alves <palves@redhat.com>
1193 * gdb.base/completion.exp: Fix comment typo.
1195 2019-06-13 Pedro Alves <palves@redhat.com>
1197 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1200 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1202 * gdb.fortran/block-data.f: New.
1203 * gdb.fortran/block-data.exp: New.
1205 2019-06-11 Tom de Vries <tdevries@suse.de>
1208 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1211 2019-06-11 Tom de Vries <tdevries@suse.de>
1214 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1216 2019-06-11 Tom de Vries <tdevries@suse.de>
1218 * boards/readnow.exp: New file.
1220 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1222 * gdb.fortran/vla-sizeof.exp: Update expected results.
1224 2019-06-06 Amos Bird <amosbird@gmail.com>
1226 * gdb.base/annota1.exp (thread_switch): Add test for
1227 thread-exited annotation.
1229 2019-06-06 Tom Tromey <tromey@adacore.com>
1231 * gdb.base/maint.exp: Expect command started/finished output.
1233 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1235 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1237 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1239 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1241 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1242 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1243 * gdb.arch/riscv-unwind-long-insn.c: New file.
1244 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1246 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1248 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1250 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1252 * lib/gdb.exp (help_list_trailer): New regexp variable
1253 factorizing the help trailer message.
1254 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1255 arg to allow to better factorize various tests.
1256 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1257 (test_prefix_command_help): Use help_list_trailer.
1258 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1259 * gdb.guile/scm-cmd.exp: Likewise.
1260 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1261 * gdb.base/help.exp: Use test_user_defined_class_help.
1262 * gdb.base/style.exp: Add tests for styling of help and apropos.
1263 * lib/gdb-utils.exp (style): Add title and highlight styles.
1265 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1267 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1269 * gdb.base/default.exp: Update for new convenience variables.
1271 2019-05-29 Tom Tromey <tromey@adacore.com>
1273 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1274 to "break complete ada" test case's regexp.
1276 2019-05-29 Tom Tromey <tromey@adacore.com>
1279 * gdb.cp/constexpr-field.exp: New file.
1280 * gdb.cp/constexpr-field.cc: New file.
1282 2019-05-29 Tom Tromey <tromey@adacore.com>
1284 * gdb.base/finish.exp (finish_no_print): New proc.
1285 (finish_tests): Call it.
1287 2019-05-24 Tom de Vries <tdevries@suse.de>
1289 * gdb.dwarf2/gdb-add-index.exp: New file.
1291 2019-05-22 Tom Tromey <tromey@adacore.com>
1293 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1294 * gdb.base/style.exp: Use "style".
1295 * lib/gdb-utils.exp (style): New proc.
1297 2019-05-22 Tom de Vries <tdevries@suse.de>
1299 * gdb.base/align.exp: Require c++11.
1301 2019-05-22 Tom de Vries <tdevries@suse.de>
1304 * gdb.python/py-mi-var-info-path-expression.exp: Call
1305 mi_skip_python_tests to check if python is supported.
1307 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1309 * gdb.arch/aarch64-pauth.c: New test.
1310 * gdb.arch/aarch64-pauth.exp: New file.
1312 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1314 * README (Re-running Tests Outside The Testsuite): New section.
1316 2019-05-21 Tom de Vries <tdevries@suse.de>
1318 * gdb.arch/amd64-eval.exp: Require c++11.
1319 * gdb.base/max-depth.exp: Same.
1320 * gdb.compile/compile-cplus-array-decay.exp: Same.
1321 * gdb.cp/meth-typedefs.exp: Same.
1322 * gdb.cp/subtypes.exp: Same.
1323 * gdb.cp/temargs.exp: Same.
1325 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1327 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1329 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1332 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1333 * gdb.fortran/printing-types.exp: Add new test.
1334 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1336 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1339 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1341 * README (Running the Testsuite): Change example.
1342 (Testsuite Parameters): Remove TRANSCRIPT.
1343 * lib/gdb.exp: Remove TRANSCRIPT check.
1345 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1347 * README (Testsuite Parameters): Add replay logging to
1349 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1350 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1351 as a comma separated list.
1352 (gdb_debug_init): Override procedure.
1354 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1356 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1357 (gdb_write_cmd_file): New procedure.
1358 * lib/gdbserver-support.exp (gdbserver_start): Call
1359 gdbserver_write_cmd_file.
1360 (gdbserver_write_cmd_file): New procedure.
1362 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1364 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1365 (delete_breakpoints): Likewise.
1366 (gdb_run_cmd): Likewise.
1367 (gdb_start_cmd): Likewise.
1368 (gdb_starti_cmd): Likewise.
1369 (gdb_internal_error_resync): Likewise.
1370 (gdb_test_multiple): Likewise.
1371 (gdb_reinitialize_dir): Likewise.
1372 (default_gdb_exit): Likewise.
1373 (gdb_file_cmd): Mark kill as optional.
1374 (default_gdb_start): Call gdb_stdin_log_init.
1375 (send_gdb): Call gdb_stdin_log_write.
1376 (rerun_to_main): Mark Y as an answer.
1377 (gdb_stdin_log_init): New function.
1378 (gdb_stdin_log_write): Likewise.
1380 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1382 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1383 * gdb.base/debug-expr.exp: Likewise.
1384 * gdb.base/foll-fork.exp: Likewise.
1385 * gdb.base/foll-vfork.exp: Likewise.
1386 * gdb.base/fork-print-inferior-events.exp: Likewise.
1387 * gdb.base/gdb-sigterm.exp: Likewise.
1388 * gdb.base/gdbinit-history.exp: Likewise.
1389 * gdb.base/osabi.exp: Likewise.
1390 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1391 * gdb.base/ui-redirect.exp: Likewise.
1392 * gdb.gdb/unittest.exp: Likewise.
1393 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1394 * gdb.mi/mi-watch.exp: Likewise.
1395 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1396 * gdb.mi/user-selected-context-sync.exp: Likewise.
1397 * gdb.python/python.exp: Disable debug test when debugging.
1398 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1399 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1401 * gdb.threads/stepi-random-signal.exp: Likewise.
1403 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1405 * Makefile.in: Pass through GDB_DEBUG.
1406 * README (Testsuite Parameters): Add GDB_DEBUG.
1407 (gdb,debug): Add board setting.
1408 * lib/gdb.exp (default_gdb_start): Start debugging.
1409 (gdb_debug_enabled): New procedure.
1410 (gdb_debug_init): Likewise.
1412 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1414 * Makefile.in: Pass through GDB_DEBUG.
1415 * README (Testsuite Parameters): Add GDB_DEBUG.
1416 (gdb,debug): Add board setting.
1417 * lib/gdb.exp (default_gdb_start): Start debugging.
1418 (gdb_debug_enabled): New procedure.
1419 (gdb_debug_init): Likewise.
1421 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1423 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1425 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1427 * gdb.base/ui-redirect.exp: Test redirection.
1429 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1431 * gdb.mi/mi-complete.exp: New file.
1432 * gdb.mi/mi-complete.cc: Likewise.
1434 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1436 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1437 indexed and sliced arrays, and pointers to arrays.
1439 2019-05-14 Tom Tromey <tromey@adacore.com>
1441 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1444 2019-05-14 Tom de Vries <tdevries@suse.de>
1446 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1447 selection entry encoding.
1449 2019-05-10 Tom Tromey <tromey@adacore.com>
1451 * gdb.ada/info_exc.exp: Add "complete" test.
1453 2019-05-09 Tom de Vries <tdevries@suse.de>
1455 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1458 2019-05-09 Tom de Vries <tdevries@suse.de>
1460 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1463 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1465 * gdb.ada/frame_arg_lang.exp: New testcase.
1466 * gdb.ada/frame_arg_lang/bla.adb: New file.
1467 * gdb.ada/frame_arg_lang/pck.ads: New file.
1468 * gdb.ada/frame_arg_lang/pck.adb: New file.
1469 * gdb.ada/frame_arg_lang/foo.c: New file.
1471 2019-05-08 Tom Tromey <tromey@adacore.com>
1473 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1475 2019-05-08 Tom Tromey <tromey@adacore.com>
1477 * gdb.base/ptype-offsets.exp: Update tests.
1479 2019-05-08 Tom Tromey <tromey@adacore.com>
1481 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1483 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1486 2019-05-08 Tom Tromey <tromey@adacore.com>
1488 * gdb.ada/vla.exp: New file.
1489 * gdb.ada/vla/vla.adb: New file.
1491 2019-05-07 Tom de Vries <tdevries@suse.de>
1493 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1495 2019-05-07 Tom de Vries <tdevries@suse.de>
1498 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1501 2019-05-07 Tom de Vries <tdevries@suse.de>
1504 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1505 .debug_aranges section.
1507 2019-05-07 Tom de Vries <tdevries@suse.de>
1510 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1512 2019-05-06 Tom de Vries <tdevries@suse.de>
1514 * lib/gdb.exp (exec_has_index_section): New proc.
1515 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1518 2019-05-04 Tom de Vries <tdevries@suse.de>
1520 * boards/cc-with-debug-names.exp: New file.
1522 2019-05-03 Tom Tromey <tromey@adacore.com>
1524 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1525 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1526 * gdb.ada/char_enum.exp: Add test.
1528 2019-05-03 Tom de Vries <tdevries@suse.de>
1530 * boards/cc-with-gdb-index.exp: New file.
1532 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1534 * gdb.rust/simple.exp: Add new test case.
1535 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1536 (main): Initialise an instance of the new struct.
1538 2019-05-01 Tom Tromey <tromey@adacore.com>
1540 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1542 (NPR): New variable.
1543 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1546 2019-05-01 Tom Tromey <tromey@adacore.com>
1548 * gdb.ada/packed_array_assign.exp: Add packed assignment
1551 2019-05-01 Tom de Vries <tdevries@suse.de>
1553 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1555 2019-05-01 Tom de Vries <tdevries@suse.de>
1557 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1559 2019-04-30 Ali Tamur <tamur@google.com>
1561 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1563 2019-04-30 Tom Tromey <tromey@adacore.com>
1565 * lib/ada.exp (find_ada_tool): New proc.
1566 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1567 * gdb.ada/catch_ex_std.exp: New file.
1568 * gdb.ada/catch_ex_std/foo.adb: New file.
1569 * gdb.ada/catch_ex_std/some_package.adb: New file.
1570 * gdb.ada/catch_ex_std/some_package.ads: New file.
1572 2019-04-30 Tom Tromey <tromey@adacore.com>
1575 * gdb.cp/temargs.cc: Add test code from PR.
1577 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1579 * gdb.fortran/vla-datatypes.exp: Update expected results.
1580 * gdb.fortran/vla-ptype.exp: Likewise.
1581 * gdb.fortran/vla-type.exp: Likewise.
1582 * gdb.fortran/vla-value.exp: Likewise.
1584 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1586 * gdb.fortran/ptr-indentation.exp: Update expected results.
1587 * gdb.fortran/ptype-on-functions.exp: Likewise.
1588 * gdb.fortran/vla-ptr-info.exp: Likewise.
1589 * gdb.fortran/vla-value.exp: Likewise.
1591 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1593 * gdb.fortran/ptype-on-functions.exp: New file.
1594 * gdb.fortran/ptype-on-functions.f90: New file.
1596 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1598 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1601 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1603 * gdb.fortran/complex.exp: Expand.
1604 * gdb.fortran/complex.f: Renamed to...
1605 * gdb.fortran/complex.f90: ...this, and extended to add more
1608 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1610 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1613 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1614 Richard Bunt <richard.bunt@arm.com>
1616 * gdb.base/max-depth.c: New file.
1617 * gdb.base/max-depth.exp: New file.
1618 * gdb.python/py-nested-maps.c: New file.
1619 * gdb.python/py-nested-maps.exp: New file.
1620 * gdb.python/py-nested-maps.py: New file.
1621 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1622 (test_all_common): Call test_max_depth.
1623 * gdb.fortran/max-depth.exp: New file.
1624 * gdb.fortran/max-depth.f90: New file.
1625 * gdb.go/max-depth.exp: New file.
1626 * gdb.go/max-depth.go: New file.
1627 * gdb.modula2/max-depth.exp: New file.
1628 * gdb.modula2/max-depth.c: New file.
1629 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1631 2019-04-29 Tom de Vries <tdevries@suse.de>
1633 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1635 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1637 * gdb.base/callexit.exp: Test may-call-functions off.
1639 2019-04-25 Keith Seitz <keiths@redhat.com>
1642 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1643 (another_incomplete_struct, test_incomplete): New definitions.
1644 (main): Use new definitions.
1645 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1648 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1652 * gdb.base/coredump-filter-build-id.exp: New file.
1654 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1656 * Makefile.in: Pass through GDBSERVER_DEBUG.
1657 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1658 (gdbserver,debug): Add board setting.
1659 * gdb.trace/tspeed.exp: Skip when debugging.
1660 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1661 * lib/gdbserver-support.exp: Likewise
1663 2019-04-24 Tom Tromey <tromey@adacore.com>
1665 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1668 2019-04-24 Tom Tromey <tromey@adacore.com>
1670 * gdb.arch/amd64-eval.exp: Test bitfield return.
1671 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1672 (class Foo) <return_bitfields>: New method.
1675 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1677 * gdb.cp/many-args.cc: New file.
1678 * gdb.cp/many-args.exp: New file.
1680 2019-04-23 Tom de Vries <tdevries@suse.de>
1683 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1685 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1687 * gdb.trace/backtrace.exp: Use nopie flag.
1688 * gdb.trace/circ.exp: Likewise.
1689 * gdb.trace/collection.exp: Likewise.
1690 * gdb.trace/ftrace.exp: Likewise.
1691 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1692 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1693 * gdb.trace/qtro.exp: Likewise.
1694 * gdb.trace/read-memory.exp: Likewise.
1695 * gdb.trace/report.exp: Likewise.
1696 * gdb.trace/tfile.exp: Likewise.
1697 * gdb.trace/tfind.exp: Likewise.
1698 * gdb.trace/unavailable.exp: Likewise.
1700 2019-04-22 Pedro Alves <palves@redhat.com>
1702 * gdb.base/solib-probes-nosharedlibrary.c,
1703 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1705 2019-04-19 Tom Tromey <tromey@adacore.com>
1707 * gdb.ada/ptype_union.c: New file.
1708 * gdb.ada/ptype_union.exp: New file.
1710 2019-04-19 Tom Tromey <tromey@adacore.com>
1713 * gdb.base/list0.h (foo): Add a control-l character.
1715 2019-04-18 Tom de Vries <tdevries@suse.de>
1718 * boards/local-board.exp: Set sysroot to "".
1720 2019-04-18 Tom de Vries <tdevries@suse.de>
1721 Pedro Alves <palves@redhat.com>
1724 * gdb.threads/vfork-follow-child-exec.c: New file.
1725 * gdb.threads/vfork-follow-child-exec.exp: New file.
1726 * gdb.threads/vfork-follow-child-exit.c: New file.
1727 * gdb.threads/vfork-follow-child-exit.exp: New file.
1729 2019-04-15 Leszek Swirski <leszeks@google.com>
1731 * gdb.arch/amd64-eval.cc: New file.
1732 * gdb.arch/amd64-eval.exp: New file.
1734 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1736 * gdb.server/sysroot.c: New test.
1737 * gdb.server/sysroot.exp: New file.
1738 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1741 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1743 * gdb.base/align.exp: Extend test to cover structures containing
1746 2019-04-11 Tom de Vries <tdevries@suse.de>
1748 * boards/cc-with-dwz-m.exp: New file.
1749 * boards/cc-with-dwz.exp: New file.
1750 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1752 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1754 * gdb.base/start-cpp.exp: New file.
1755 * gdb.base/start-cpp.cc: New file.
1757 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1759 * gdb.python/py-thrhandle.exp: Adjust tests to call
1760 thread_from_handle instead of thread_from_thread_handle.
1762 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1764 * gdb.python/py-thrhandle.exp: Add tests for
1765 gdb.InferiorThread.handle.
1767 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1769 * gdb.python/py-function.exp: Check calling helper function from
1771 * lib/gdb.exp (gdb_supported_languages): New proc.
1773 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1775 * gdb.base/complex-parts.c: New file.
1776 * gdb.base/complex-parts.exp: New file.
1778 2019-04-01 Tom Tromey <tromey@adacore.com>
1781 * gdb.dwarf2/dw2-ranges-main.c: New file.
1782 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1783 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1785 2019-03-30 Simon Marchi <simark@simark.ca>
1787 * gdb.base/default.exp: Add values for $_gdb_major and
1790 2019-03-29 Tom Tromey <tromey@adacore.com>
1792 * gdb.base/help.exp: Tighten apropos regexp.
1794 2019-03-29 Keith Seitz <keiths@redhat.com>
1796 * gdb.fortran/array-bounds.exp: New file.
1797 * gdb.fortran/array-bounds.f90: New file.
1799 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1801 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1803 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1805 * gdb.multi/hello.c (main): Increase alarm timer.
1807 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1809 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1810 factor when no hardware watchpoint support.
1812 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1813 Pedro Alves <palves@redhat.com>
1815 * boards/local-board.exp: set sysroot to /.
1817 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1819 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1822 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1824 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1826 (make_container): Initialise new field.
1827 * gdb.python/py-prettyprint.exp: Add new tests.
1828 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1829 <display_hint>: New method.
1831 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1833 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1834 gdb_continue_to_breakpoint more throughout this test.
1835 (run_lang_tests) Supply unique test names, and use
1838 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1840 * gdb.base/finish-pretty.exp: Update expected results.
1841 * gdb.base/pretty-print.c: New file.
1842 * gdb.base/pretty-print.exp: New file.
1844 2019-03-25 Pedro Alves <palves@redhat.com>
1846 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1847 move comments outside list. Append '-i "" eof' section.
1849 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1851 * README: Add pie options.
1852 * gdb.base/break-interp.exp: Ensure pie is disabled.
1853 * gdb.base/dump.exp: Likewise.
1854 * lib/gdb.exp (gdb_compile): Add pie option.
1856 2019-03-19 Tom Tromey <tromey@adacore.com>
1858 * gdb.mi/mi2-cli-display.c: New file.
1859 * gdb.mi/mi2-cli-display.exp: New file.
1861 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1862 Tom Tromey <tromey@adacore.com>
1864 * gdb.ada/ptype_array/pck.adb: New file.
1865 * gdb.ada/ptype_array/pck.ads: New file.
1866 * gdb.ada/ptype_array/foo.adb: New file.
1867 * gdb.ada/ptype_array.exp: New file.
1869 2019-03-14 Tom Tromey <tromey@adacore.com>
1871 * gdb.base/style.exp: Add "set style sources" test.
1873 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1875 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1876 * mi-breakpoint-multiple-locations.exp: ... this.
1877 (make_breakpoints_pattern): New proc.
1878 (do_test): Add mi_version parameter, test -break-insert,
1879 -break-info and =breakpoint-created.
1881 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1883 * config/default.exp: Remove 'load_lib gdb.exp'.
1884 * config/monitor.exp: Likewise.
1885 * config/sid.exp: Likewise.
1886 * config/sim.exp: Likewise.
1887 * config/slite.exp: Likewise.
1888 * config/unix.exp: Likewise.
1889 * gdb.base/default.exp: Remove unhelpful comment.
1891 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1893 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1895 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1897 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1899 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1901 * gdb.fortran/type-kinds.exp: Update expected results.
1903 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1905 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1907 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1909 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1911 (test_basic_parsing_of_type_kinds): Expand types tested.
1912 (test_parsing_invalid_type_kinds): New function.
1914 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1916 * gdb.fortran/intrinsics.exp: New file.
1917 * gdb.fortran/intrinsics.f90: New file.
1918 * gdb.fortran/type-kinds.exp: New file.
1920 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1922 * gdb.fortran/dot-ops.exp: New file.
1924 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1926 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1927 Check upper and lower case logical literals.
1929 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1931 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1932 Remove duplicate tests.
1934 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1936 * lib/gdb.exp (builtin_cd): rename of cd.
1937 (cd): Override builtin.
1939 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1941 * gdb.fortran/function-calls.exp: New file.
1942 * gdb.fortran/function-calls.f90: New test.
1944 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1946 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1947 on user program standard output.
1948 * gdb.fortran/short-circuit-argument-list.f90: Record function
1951 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1953 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1956 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1959 * gdb.base/interrupt-daemon-attach.c,
1960 gdb.base/interrupt-daemon-attach.exp: New test.
1962 2019-02-27 Pedro Alves <palves@redhat.com>
1964 * gdb.base/page.exp: Add tests for "set width/height -1".
1966 2019-02-27 Pedro Alves <palves@redhat.com>
1968 * gdb.base/page.exp: Add tests for "set/show width/height" with
1971 2019-02-27 Tom Tromey <tromey@adacore.com>
1973 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1975 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1978 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1980 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1981 tests for structs with static members.
1983 2019-02-26 Tom Tromey <tromey@adacore.com>
1985 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1986 ValueError, not TypeError.
1988 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1990 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1991 call from main program.
1993 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1995 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1996 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1997 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1998 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1999 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2001 2019-02-22 Keith Seitz <keiths@redhat.com>
2004 * gdb.base/symlink-sourcefile.c: New file.
2005 * gdb.base/symlink-sourcefile.exp: New file.
2007 2019-02-20 Tom Tromey <tom@tromey.com>
2009 * gdb.base/info_qt.exp: Update.
2011 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2013 * gdb.base/source.exp: Move "error in sourced script" code to
2015 * gdb.base/source-error.gdb: Move contents to
2016 source-error-1.gdb. Add new code to source source-error-1.gdb.
2017 * gdb.base/source-error-1.gdb: New file, from previous
2020 2019-02-17 Tom Tromey <tom@tromey.com>
2022 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2024 * gdb.base/style.c (SOME_MACRO): New macro.
2026 2019-02-17 Tom Tromey <tom@tromey.com>
2028 * gdb.base/style.exp: Add line-wrapping tests.
2029 * gdb.base/page.exp: Add test for quitting during pagination.
2031 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2033 * gdb.ada/big_packed_array: New testcase.
2034 * gdb.ada/homonym.exp: Fix incorrect expected output for
2035 "break <homonym__get_value>" test.
2037 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2039 PR breakpoints/21870
2040 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2041 and prepare_for_testing. Add comment.
2042 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2043 redundant cleanup call. Clean up comment.
2045 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2047 PR breakpoints/21870
2048 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2049 * gdb.arch/aarch64-dbreg-contents.c: New file.
2051 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2053 * gdb.ada/mi_ref_changeable: New testcase.
2055 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2057 * gdb.base/attach.exp: Add double attach test.
2059 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2061 * lib/gdb.exp (default_gdb_start): Don't match pagination
2063 (gdb_init): Set stty_init.
2065 2019-01-27 Tom Tromey <tom@tromey.com>
2067 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2070 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2072 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2074 (struct struct_static_02_02): Likewise.
2075 (struct struct_static_02_03): Likewise.
2076 (struct struct_static_02_04): Likewise.
2077 (struct struct_static_04_01): Likewise.
2078 (struct struct_static_04_02): Likewise.
2079 (struct struct_static_04_03): Likewise.
2080 (struct struct_static_04_04): Likewise.
2081 (struct struct_static_06_01): Likewise.
2082 (struct struct_static_06_02): Likewise.
2083 (struct struct_static_06_03): Likewise.
2084 (struct struct_static_06_04): Likewise.
2085 (cmp_struct_static_02_01): Likewise.
2086 (cmp_struct_static_02_02): Likewise.
2087 (cmp_struct_static_02_03): Likewise.
2088 (cmp_struct_static_02_04): Likewise.
2089 (cmp_struct_static_04_01): Likewise.
2090 (cmp_struct_static_04_02): Likewise.
2091 (cmp_struct_static_04_03): Likewise.
2092 (cmp_struct_static_04_04): Likewise.
2093 (cmp_struct_static_06_01): Likewise.
2094 (cmp_struct_static_06_02): Likewise.
2095 (cmp_struct_static_06_03): Likewise.
2096 (cmp_struct_static_06_04): Likewise.
2097 (call_all): Test new structs.
2098 * gdb.base/infcall-nested-structs.exp: Likewise.
2100 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2101 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2103 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2104 * gdb.base/stack-protector.c: New test.
2105 * gdb.base/stack-protector.exp: New file.
2106 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2107 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2109 (gdb_compile): Remove stack protector for GCC and prevent
2112 2019-01-16 Keith Seitz <keiths@redhat.com>
2115 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2117 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2119 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2121 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2123 * gdb.arch/powerpc-vector-regs.c: New file.
2124 * gdb.arch/powerpc-vector-regs.exp: New file.
2126 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2128 * gdb.arch/altivec-regs.exp: Fix the list passed to
2129 gdb_expect_list when testing "info vector".
2131 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2133 * gdb.base/style.exp: Don't include path in testname.
2135 2019-01-10 Keith Seitz <keiths@redhat.com>
2139 * gdb.dwarf2/multidictionary.exp: New file.
2141 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2143 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2144 (test_gnuv3_style_demangling): ... this.
2145 (test_lucid_style_demangling): Remove.
2146 (test_arm_style_demangling): Remove.
2147 (test_hp_style_demangling): Remove.
2148 (do_tests): Remove calls to the above.
2150 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2152 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2155 2019-01-06 Tom Tromey <tom@tromey.com>
2158 * gdb.dwarf2/typedef-void-finish.exp: New file.
2160 2018-12-28 Tom Tromey <tom@tromey.com>
2161 Simon Marchi <simark@simark.ca>
2163 * gdb.base/jit-exec.exp: New file.
2164 * gdb.base/jit-exec.c: New file.
2165 * gdb.base/jit-execd.c: New file.
2167 2018-12-28 Tom Tromey <tom@tromey.com>
2169 * gdb.base/style.exp: Update test to check for address styling.
2171 2018-12-28 Tom Tromey <tom@tromey.com>
2173 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2176 2018-12-28 Tom Tromey <tom@tromey.com>
2178 * gdb.base/style.exp: Add test for version number styling.
2180 2018-12-28 Tom Tromey <tom@tromey.com>
2182 * gdb.base/style.exp: Add test for print_address_symbolic.
2184 2018-12-28 Tom Tromey <tom@tromey.com>
2186 * gdb.base/style.exp: Add test for breakpoint setting.
2188 2018-12-28 Tom Tromey <tom@tromey.com>
2190 * gdb.base/style.exp: Add test for variable names.
2192 2018-12-28 Tom Tromey <tom@tromey.com>
2194 * gdb.base/style.exp: New file.
2195 * gdb.base/style.c: New file.
2197 2018-12-28 Tom Tromey <tom@tromey.com>
2199 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2201 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2202 the TERM environment variable.
2204 2018-12-27 Tom Tromey <tom@tromey.com>
2206 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2209 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2211 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2212 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2214 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2216 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2217 Filename a.adb changed to bp_fun_addr.adb.
2218 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2220 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2222 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2223 non-PIE executables.
2224 * README: Mention the gdb,nopie_flag board setting.
2225 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2227 * gdb.arch/amd64-entry-value.exp: Likewise.
2228 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2229 * gdb.arch/i386-float.exp: Likewise.
2230 * gdb.arch/i386-signal.exp: Likewise.
2231 * gdb.mi/mi-reg-undefined.exp: Likewise.
2233 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2236 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2238 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2240 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2241 Update order of results accordingly.
2243 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2245 * gdb.base/annota1.exp: Update a test regexp.
2247 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2249 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2251 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2253 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2254 (reuse_time): Initialize to REUSE_TIME_CAP.
2255 (check_rc): New function.
2256 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2257 Check pthread_create rc.
2258 (spawner_thread_func): Check pthread_create and pthread_join rc.
2260 2018-12-08 Pedro Alves <palves@redhat.com>
2262 * gdb.base/list.exp (test_forward_search): Rename to ...
2263 (test_forward_reverse_search): ... this. Also test reverse-search
2264 and the forward-search alias.
2266 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2268 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2269 local timeout variable before return, and remove all local timeout
2271 (gdb_load): Likewise.
2273 2018-12-01 Tom de Vries <tdevries@suse.de>
2275 * gdb.base/gdb-caching-proc.exp: New file.
2277 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2279 * Makefile.in (TIMESTAMP): New variable.
2280 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2282 (check-single-racy): Likewise.
2283 (check/%.exp): Likewise.
2284 (check-racy/%.exp): Likewise.
2285 (workers/%.worker): Likewise.
2286 (build-perf): Likewise.
2287 (check-perf): Likewise.
2288 * README: Describe new "TS" and "TS_FORMAT" variables.
2289 * print-ts.py: New file.
2291 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2294 * gdb.python/python.exp: Test command repetition after
2297 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2299 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2300 is correctly aligned.
2302 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2304 * gdb.ada/info_auto_lang.exp: New testcase.
2305 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2306 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2307 * gdb.ada/info_auto_lang/some_c.c: New file.
2309 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2311 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2312 FUNC_lang language syntax.
2314 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2316 * gdb.base/info_minsym.c: New file.
2317 * gdb.base/info_minsym.exp: New file.
2319 2018-11-19 Tom Tromey <tom@tromey.com>
2322 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2323 * gdb.rust/expr.exp: Update expected output. Change one test.
2325 2018-11-19 Tom Tromey <tom@tromey.com>
2327 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2329 2018-11-19 Pedro Alves <palves@redhat.com>
2331 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2332 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2333 see the expected warning.
2335 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2338 * gdb.cp/infcall-nodebug-lib.c: New test.
2339 * gdb.cp/infcall-nodebug-main.c: New test.
2340 * gdb.cp/infcall-nodebug.exp: New file.
2342 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2344 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2347 2018-11-09 Tom de Vries <tdevries@suse.de>
2349 * gdb.base/msym-lang.c: New test.
2350 * gdb.base/msym-lang.exp: New file.
2351 * gdb.base/msym-lang-main.c: New test.
2353 2018-11-08 Tom Tromey <tom@tromey.com>
2357 * gdb.base/warning.exp: New file.
2359 2018-11-08 Jan Beulich <jbeulich@suse.com>
2361 * testsuite/gdb.arch/i386-avx512.c,
2362 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2364 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2366 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2369 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2371 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2372 * gdb.dwarf2/missing-type-name.exp: New file.
2374 2018-11-06 Tom de Vries <tdevries@suse.de>
2376 * gdb.base/many-headers.c: New test.
2377 * gdb.base/many-headers.exp: New file.
2379 2018-11-06 Jim Wilson <jimw@sifive.com>
2381 * gdb.base/code_elim.exp: For riscv, set additional_flags
2382 to include -msmall-data-limit=0.
2384 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2386 * gdb.ada/watch_minus_l: New testcase.
2388 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2390 * gdb.arch/aix-sighandle.c: New file.
2391 * gdb.arch/aix-sighandle.exp: New file.
2393 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2395 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2396 registers being unions.
2398 2018-10-31 Tom de Vries <tdevries@suse.de>
2400 * lib/valgrind.exp: New file.
2401 (vgdb_start, vgdb_stop): New procs, factored out of ...
2402 * gdb.base/valgrind-bt.exp: ... here, ...
2403 * gdb.base/valgrind-disp-step.exp: ... here and ...
2404 * gdb.base/valgrind-infcall.exp: ... here.
2406 2018-10-31 Tom de Vries <tdevries@suse.de>
2408 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2410 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2412 * gdb.dwarf2/void-type.c: New file.
2413 * gdb.dwarf2/void-type.exp: New file.
2415 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2417 * gdb.base/info_qt.c: New file.
2418 * gdb.base/info_qt.exp: New file.
2420 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2422 * gdb.arch/powerpc-htm-regs.c: New file.
2423 * gdb.arch/powerpc-htm-regs.exp: New file.
2425 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2427 * gdb.arch/powerpc-tar.c: New file.
2428 * gdb.arch/powerpc-tar.exp: New file.
2430 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2432 * gdb.arch/powerpc-ppr-dscr.c: New file.
2433 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2435 2018-10-25 Tom de Vries <tdevries@suse.de>
2437 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2439 2018-10-24 Tom de Vries <tdevries@suse.de>
2441 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2442 longer exists error.
2444 2018-10-24 Tom de Vries <tdevries@suse.de>
2446 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2448 2018-10-24 Tom de Vries <tdevries@suse.de>
2450 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2451 --db-attach in valgrind.
2453 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2455 * gdb.arch/riscv-reg-aliases.c: New file.
2456 * gdb.arch/riscv-reg-aliases.exp: New file.
2458 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2460 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2462 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2464 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2466 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2468 * gdb.cp/ovldbreak.exp: Fix regexps.
2470 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2472 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2474 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2477 * gdb.base/restore.exp: New test to check if "restore" with an
2478 invalid file doesn't segfault.
2480 2018-10-18 Tom de Vries <tdevries@suse.de>
2482 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2483 * gdb.ada/excep_handle.exp: Same.
2484 * gdb.ada/mi_string_access.exp: Same.
2485 * gdb.ada/mi_var_union.exp: Same.
2486 * gdb.arch/arc-analyze-prologue.exp: Same.
2487 * gdb.arch/arc-decode-insn.exp: Same.
2488 * gdb.base/readnever.exp: Same.
2489 * gdb.fortran/printing-types.exp: Same.
2490 * gdb.guile/scm-lazy-string.exp: Same.
2492 2018-10-16 Tom de Vries <tdevries@suse.de>
2495 * gdb.base/catch-follow-exec.c: Add copyright notice.
2496 * gdb.base/catch-follow-exec.exp: Rewrite to use
2497 gdb_spawn_with_cmdline_opts. Require gdb-native.
2499 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2501 * gdb.trace/actions-changed.exp: Check for arch support.
2502 * gdb.trace/actions.exp: Likewise.
2503 * gdb.trace/ax.exp: Likewise.
2504 * gdb.trace/backtrace.exp: Likewise.
2505 * gdb.trace/change-loc.exp: Likewise.
2506 * gdb.trace/deltrace.exp: Likewise.
2507 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2508 * gdb.trace/ftrace.exp: Likewise.
2509 * gdb.trace/infotrace.exp: Check for arch support.
2510 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2511 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2512 * gdb.trace/mi-tsv-changed.exp: Likewise.
2513 * gdb.trace/packetlen.exp: Likewise.
2514 * gdb.trace/passc-dyn.exp: Likewise.
2515 * gdb.trace/passcount.exp: Likewise.
2516 * gdb.trace/pending.exp: Likewise.
2517 * gdb.trace/range-stepping.exp: Check for shlib support.
2518 * gdb.trace/report.exp: Check for arch support.
2519 * gdb.trace/save-trace.exp: Likewise.
2520 * gdb.trace/signal.exp: Check for signal support.
2521 * gdb.trace/tfind.exp: Check for arch support.
2522 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2523 * gdb.trace/trace-common.h: Add comment.
2524 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2525 * gdb.trace/trace-enable-disable.exp: Likewise.
2526 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2527 * gdb.trace/tracecmd.exp: Check for arch support.
2528 * gdb.trace/tspeed.exp: Check for shlib and target support.
2529 * gdb.trace/tstatus.exp: Check for arch support.
2530 * gdb.trace/tsv.exp: Likewise.
2531 * gdb.trace/while-dyn.exp: Likewise.
2532 * gdb.trace/while-stepping.exp: Likewise.
2533 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2535 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2537 * gdb.trace/tspeed.exp: Remove nowarnings.
2538 (prepare_for_trace_test): Declare "global ipalib".
2539 * gdb.trace/tspeed.c: Include unistd.h.
2540 (main): Remove superfluous printf argument.
2542 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2544 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2545 directory prefix on the filename.
2547 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2549 * gdb.gdb/unittest.exp: Update expected message informing that
2550 selftests have been disabled.
2551 * gdb.server/unittest.exp: Likewise.
2553 2018-10-09 Tom de Vries <tdevries@suse.de>
2555 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2558 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2561 * gdb.cp/virtbase2.cc: New file.
2562 * gdb.cp/virtbase2.exp: New file.
2564 2018-10-06 Tom Tromey <tom@tromey.com>
2567 * gdb.python/py-inferior.exp: Add architecture test.
2569 2018-10-06 Tom Tromey <tom@tromey.com>
2571 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2572 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2574 2018-10-06 Tom Tromey <tom@tromey.com>
2576 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2577 of a "throw" catchpoint.
2579 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2581 * gdb.base/info-proc.exp: Update string expected from "help info
2584 2018-10-04 Tom Tromey <tom@tromey.com>
2586 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2587 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2588 (test_initial_complaints, test_empty_complaints): Update.
2589 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2591 2018-10-04 Tom Tromey <tom@tromey.com>
2594 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2595 * lib/gdb.exp (gdb_file_cmd): Update.
2596 * gdb.stabs/weird.exp (print_weird_var): Update.
2597 * gdb.server/solib-list.exp: Update.
2598 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2599 * gdb.mi/mi-cli.exp: Update.
2600 * gdb.linespec/linespec.exp: Update.
2601 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2602 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2603 * gdb.cp/cp-relocate.exp: Update.
2604 * gdb.base/sym-file.exp: Update.
2605 * gdb.base/relocate.exp: Update.
2606 * gdb.base/readnever.exp: Update.
2607 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2608 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2609 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2610 * gdb.base/code_elim.exp: Update.
2611 * gdb.base/break-unload-file.exp (test_break): Update.
2612 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2613 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2615 * gdb.base/attach.exp (do_attach_tests): Update.
2616 * gdb.base/sepdebug.exp: Update.
2617 * gdb.python/py-section-script.exp: Update.
2619 2018-10-04 Tom Tromey <tom@tromey.com>
2622 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2623 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2626 2018-10-04 Tom Tromey <tom@tromey.com>
2628 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2629 set width and height to 0.
2630 (test_command_line_attach_run): Use -quiet.
2632 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2634 * lib/gdb.exp (skip_ifunc_tests): New.
2635 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2636 other compile failures.
2637 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2639 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2641 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2642 is_amd64_regs_target.
2644 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2646 * gdb.arch/aarch64-sighandler-regs.c: New test.
2647 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2648 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2650 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2652 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2655 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2657 * gdb.base/frame-selection.exp: New file.
2658 * gdb.base/frame-selection.c: New file.
2660 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2662 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2666 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2668 * gdb.base/large-frame-1.c: New file.
2669 * gdb.base/large-frame-2.c: New file.
2670 * gdb.base/large-frame.exp: New file.
2671 * gdb.base/large-frame.h: New file.
2673 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2676 * gdb.base/write_mem.exp: New test.
2677 * gdb.base/write_mem.c: Likewise.
2679 2018-09-23 Tom Tromey <tom@tromey.com>
2682 * gdb.python/py-parameter.exp: Add test for parameter that throws
2685 2018-09-23 Tom Tromey <tom@tromey.com>
2688 * gdb.python/py-template.exp (test_template_arg): Add test for
2689 negative template argument number.
2691 2018-09-23 Tom Tromey <tom@tromey.com>
2694 * gdb.python/python.exp: Add test for post_event error.
2696 2018-09-23 Tom Tromey <tom@tromey.com>
2699 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2700 convert pointers to int and long.
2702 2018-09-23 Tom Tromey <tom@tromey.com>
2705 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2706 signed-ness conversion tests.
2708 2018-09-23 Tom Tromey <tom@tromey.com>
2711 * gdb.python/py-value.exp (test_float_conversion): New proc.
2714 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2716 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2718 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2720 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2722 * gdb.base/utf8-identifiers.exp: Likewise.
2723 * gdb.cp/cpcompletion.exp: Likewise.
2724 * gdb.linespec/cpcompletion.exp: Likewise.
2725 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2726 * gdb.linespec/cpls-ops.exp: Likewise.
2728 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2729 Chris January <chris.january@arm.com>
2731 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2732 * gdb.fortran/short-circuit-argument-list.exp: New file.
2733 * gdb.fortran/short-circuit-argument-list.f90: New test.
2735 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2737 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2738 "arch=" keyword when executing "-stack-list-frames".
2740 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2742 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2743 "arch=" keyword when executing "-stack-list-frames".
2745 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2747 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2750 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2753 * gdb.python/python.exp: Test gdb.execute("show commands").
2755 2018-09-16 Tom Tromey <tom@tromey.com>
2757 * gdb.base/new-ui.exp (do_execution_tests): Update.
2758 * gdb.base/dbx.exp (test_breakpoints): Update.
2760 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2762 * lib/gdb.exp (gdb_simple_compile): Add proc.
2763 (is_elf_target): Use gdb_simple_compile.
2764 (skip_altivec_tests): Likewise.
2765 (skip_vsx_tests): Likewise.
2766 (skip_tsx_tests): Likewise.
2767 (skip_btrace_tests): Likewise.
2768 (skip_btrace_pt_tests): Likewise.
2769 (gdb_can_simple_compile): Likewise.
2770 (gdb_has_argv0): Likewise.
2771 (gdb_target_symbol_prefix): Likewise.
2772 (target_supports_scheduler_locking): Likewise.
2774 2018-09-13 Tom Tromey <tom@tromey.com>
2776 * Makefile.in (TAGS): Recognize proc_with_prefix and
2779 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2781 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2784 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2786 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2787 and a few other Inferior properties when the Inferior is no
2790 2018-09-13 Tom Tromey <tom@tromey.com>
2793 * gdb.rust/simple.exp: Add test for enum field access error.
2795 2018-09-13 Tom Tromey <tom@tromey.com>
2798 * gdb.rust/simple.rs (EmptyEnum): New type.
2800 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2802 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2804 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2805 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2806 * gdb.python/py-symtab.exp: Update test printing an objfile.
2808 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2810 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2813 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2815 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2816 (support_complex_tests): Use gdb_can_simple_compile.
2817 (is_ilp32_target): Likewise.
2818 (is_lp64_target): Likewise.
2819 (is_64_target): Likewise.
2820 (is_amd64_regs_target): Likewise.
2821 (is_aarch32_target): Likewise.
2822 (gdb_int128_helper): Likewise.
2824 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2826 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2828 2018-09-10 Jerome Guitton <guitton@adacore.com>
2830 * gdb.ada/same_component_name: Add test for case of tagged record
2831 with variable-length fields.
2833 2018-09-10 Xavier Roirand <roirand@adacore.com>
2835 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2836 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2837 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2838 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2840 2018-09-10 Xavier Roirand <roirand@adacore.com>
2842 * gdb.ada/mi_string_access.exp: New testcase.
2843 * gdb.ada/mi_string_access/bar.adb: New file.
2844 * gdb.ada/mi_string_access/pck.adb: New file.
2845 * gdb.ada/mi_string_access/pck.asd: New file.
2847 2018-09-10 Xavier Roirand <roirand@adacore.com>
2849 * gdb.ada/mi_var_union.exp: New testcase.
2850 * gdb.ada/mi_var_union/bar.adb: New file.
2851 * gdb.ada/mi_var_union/pck.adb: New file.
2852 * gdb.ada/mi_var_union/pck.asd: New file.
2854 2018-09-08 Tom Tromey <tom@tromey.com>
2856 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2858 2018-09-08 Tom Tromey <tom@tromey.com>
2861 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2862 (register_pretty_printers): Register new printer.
2863 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2865 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2866 (an_int_type3): New global.
2868 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2870 * gdb.ada/expr_with_funcall: New testcase.
2872 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2874 * gdb.ada/packed_array_assign: New testcase.
2876 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2878 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2879 names, and add test prefixes to make test names unique.
2881 2018-09-05 Tom de Vries <tdevries@suse.de>
2883 * gdb.dwarf2/varval.exp: Add test.
2885 2018-09-04 Gary Benson <gbenson@redhat.com>
2887 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2888 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2890 2018-08-31 Tom Tromey <tom@tromey.com>
2892 * gdb.rust/simple.rs: Rename second variable "v".
2894 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2896 * gdb.base/funcargs.c (use_a): New function.
2897 (recurse): Call use_a.
2899 2018-08-29 Keith Seitz <keiths@redhat.com>
2901 * gdb.compile/compile-cplus-anonymous.cc: New file.
2902 * gdb.compile/compile-cplus-anonymous.exp: New file.
2903 * gdb.compile/compile-cplus-array-decay.cc: New file.
2904 * gdb.compile/compile-cplus-array-decay.exp: New file.
2905 * gdb.compile/compile-cplus-inherit.cc: New file.
2906 * gdb.compile/compile-cplus-inherit.exp: New file.
2907 * gdb.compile/compile-cplus-member.cc: New file.
2908 * gdb.compile/compile-cplus-member.exp: New file.
2909 * gdb.compile/compile-cplus-method.cc: New file.
2910 * gdb.compile/compile-cplus-method.exp: New file.
2911 * gdb.compile/compile-cplus-mod.c: "New" file.
2912 * gdb.compile/compile-cplus-namespace.cc: New file.
2913 * gdb.compile/compile-cplus-namespace.exp: New file.
2914 * gdb.compile/compile-cplus-nested.cc: New file.
2915 * gdb.compile/compile-cplus-nested.exp: New file.
2916 * gdb.compile/compile-cplus-print.c: "New" file.
2917 * gdb.compile/compile-cplus-print.exp: "New" file.
2918 * gdb.compile/compile-cplus-virtual.cc: New file.
2919 * gdb.compile/compile-cplus-virtual.exp: New file.
2920 * gdb.compile/compile-cplus.c: "New" file.
2921 * gdb.compile/compile-cplus.exp: "New" file.
2922 * lib/compile-support.exp: New file.
2924 2018-08-16 Gary Benson <gbenson@redhat.com>
2927 * gdb.base/batch-exit-status.exp: New file.
2928 * gdb.base/batch-exit-status.good-commands: Likewise.
2929 * gdb.base/batch-exit-status.bad-commands: Likewise.
2931 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2933 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2934 (struct struct02): Likewise.
2935 (struct struct03): Likewise.
2936 (struct struct04): Likewise.
2937 (struct struct_01_01): New struct.
2938 (struct struct_01_02): Likewise.
2939 (struct struct_01_03): Likewise.
2940 (struct struct_01_04): Likewise.
2941 (struct struct_02_01): Likewise.
2942 (struct struct_02_02): Likewise.
2943 (struct struct_02_03): Likewise.
2944 (struct struct_02_04): Likewise.
2945 (struct struct_04_01): Likewise.
2946 (struct struct_04_02): Likewise.
2947 (struct struct_04_03): Likewise.
2948 (struct struct_04_04): Likewise.
2949 (struct struct_05_01): Likewise.
2950 (struct struct_05_02): Likewise.
2951 (struct struct_05_03): Likewise.
2952 (struct struct_05_04): Likewise.
2953 (cmp_struct01): Remove function.
2954 (cmp_struct02): Likewise.
2955 (cmp_struct03): Likewise.
2956 (cmp_struct04): Likewise.
2957 (cmp_struct_01_01): Add Function.
2958 (cmp_struct_01_02): Likewise.
2959 (cmp_struct_01_03): Likewise.
2960 (cmp_struct_01_04): Likewise.
2961 (cmp_struct_02_01): Likewise.
2962 (cmp_struct_02_02): Likewise.
2963 (cmp_struct_02_03): Likewise.
2964 (cmp_struct_02_04): Likewise.
2965 (cmp_struct_04_01): Likewise.
2966 (cmp_struct_04_02): Likewise.
2967 (cmp_struct_04_03): Likewise.
2968 (cmp_struct_04_04): Likewise.
2969 (cmp_struct_05_01): Likewise.
2970 (cmp_struct_05_02): Likewise.
2971 (cmp_struct_05_03): Likewise.
2972 (cmp_struct_05_04): Likewise.
2973 (call_all): Add new structs.
2974 * gdb.base/infcall-nested-structs.exp: Likewise.
2976 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2978 * gdb.python/py-framefilter-mi.exp: Update regexp to
2979 check for "arch" field in frame output.
2981 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2983 * gdb.dwarf2/dw2-ranges-func.c: New file.
2984 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2986 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2988 * gdb.base/term.exp: Compare terminal settings with values from
2990 * gdb.base/term.c: Get and set terminal settings.
2992 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2994 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2995 accommodate new "arch" field in frame output.
2996 * gdb.mi/mi-return.exp: Likewise.
2997 * gdb.mi/mi-stack.exp: Likewise.
2998 * gdb.mi/mi-syn-frame.exp: Likewise.
2999 * gdb.mi/user-selected-context-sync.exp: Likewise.
3001 2018-08-19 Michael Spang <spang@google.com>
3004 * gdb.base/gcore-tls-pie.c: New file.
3005 * gdb.base/gcore-tls-pie.exp: New file.
3007 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3009 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3010 * gdb.dwarf2/varval.c: New file.
3011 * gdb.dwarf2/varval.exp: New file.
3013 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3016 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3018 2018-08-16 Keith Seitz <keiths@redhat.com>
3020 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3021 tests expected to pass.
3023 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3025 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3026 -data-disassemble -a.
3027 (test_disassembly_bogus_args): Likewise.
3029 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3031 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3033 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3035 * gdb.base/vla-optimized-out.exp: Add new test.
3037 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3039 * gdb.base/vla-optimized-out-o3.exp: Delete.
3040 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3041 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3044 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3047 * gdb.server/extended-remote-restart.c: New file.
3048 * gdb.server/extended-remote-restart.exp: New file.
3050 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3052 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3053 "set variable index = 42".
3055 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3057 * boards/index-cache-gdb.exp: New file.
3058 * gdb.dwarf2/index-cache.exp: New file.
3059 * gdb.dwarf2/index-cache.c: New file.
3060 * gdb.base/maint.exp: Check if we are using the index cache.
3062 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3064 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3067 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3069 * dg-extract-results.sh: Move to toplevel contrib.
3070 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3071 * Makefile.in (check-parallel-racy): Likewise.
3073 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3075 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3076 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3077 tests if the target supports scheduler locking.
3079 2018-08-04 Tom de Vries <tdevries@suse.de>
3081 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3083 2018-08-02 Tom Tromey <tom@tromey.com>
3086 * gdb.cp/temargs.exp: Test "info address" of a template
3089 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3091 * gdb.python/py-mi-var-info-path-expression.c: New file.
3092 * gdb.python/py-mi-var-info-path-expression.py: New file.
3093 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3095 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3097 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3098 error after "cannot resolve name" string.
3100 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3102 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3104 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3106 2018-07-28 Tom de Vries <tdevries@suse.de>
3108 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3110 2018-07-26 Tom de Vries <tdevries@suse.de>
3112 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3114 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3116 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3119 2018-07-26 Tom de Vries <tdevries@suse.de>
3121 PR breakpoints/23366
3122 * gdb.base/catch-follow-exec.c: New test.
3123 * gdb.base/catch-follow-exec.exp: New file.
3125 2018-07-25 Tom de Vries <tdevries@suse.de>
3127 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3128 vla-optimized-out.c.
3130 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3132 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3133 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3135 2018-07-20 Tom de Vries <tdevries@suse.de>
3137 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3139 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3141 2018-07-19 Tom de Vries <tdevries@suse.de>
3143 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3146 2018-07-18 Tom de Vries <tdevries@suse.de>
3148 * gdb.base/vla-optimized-out.c: New test.
3149 * gdb.base/vla-optimized-out.exp: New file.
3151 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3153 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3154 message "No address associated with hostname" when gdbserver
3155 cannot resolve the hostname.
3157 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3159 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3160 Add some test prefixes to make tests unique.
3162 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3164 * gdb.base/frameapply.c: New file.
3165 * gdb.base/frameapply.exp: New file.
3167 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3169 * gdb.base/skip.exp: Update expected error message.
3171 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3172 Jan Kratochvil <jan.kratochvil@redhat.com>
3173 Paul Fertser <fercerpav@gmail.com>
3174 Tsutomu Seki <sekiriki@gmail.com>
3176 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3178 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3180 * boards/native-gdbserver.exp: Likewise.
3181 * gdb.server/run-without-local-binary.exp: Improve regexp used
3182 for detecting when a remote debugging connection succeeds.
3183 * gdb.server/server-connect.exp: New file.
3184 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3185 Do not prefix the port number with ":".
3186 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3187 support for detecting and using it. Add '$debughost_gdbserver'
3188 to the list of arguments used to start gdbserver. Handle case
3189 when gdbserver cannot resolve a network name.
3191 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3194 * gdb.base/ptype-offsets.cc (struct static_member): New
3196 (main) <stmember>: New variable.
3197 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3198 with a static member in it.
3200 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3202 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3203 watchpoints enabled and disabled.
3205 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3207 * gdb.base/examine-backward.exp: Still run tests around address
3208 0x0, even if address 0x0 is not readable. Update the pattern for
3209 matching address 0x0 in expected output.
3211 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3213 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3216 2018-07-04 Tom de Vries <tdevries@suse.de>
3218 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3220 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3223 * gdb.arch/mips-disassembler-options.exp: New test.
3224 * gdb.arch/mips-disassembler-options.s: New test source.
3226 2018-06-29 Pedro Alves <palves@redhat.com>
3228 * gdb.threads/names.exp: Adjust expected "info threads" output.
3230 2018-06-29 Pedro Alves <palves@redhat.com>
3232 * gdb.opt/inline-break.exp (line number, address): Add "info
3235 2018-06-29 Pedro Alves <palves@redhat.com>
3237 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3238 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3239 number and address and running to them.
3241 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3243 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3245 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3247 * lib/compiler.c: Remove executable permission flag.
3249 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3251 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3253 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3255 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3257 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3259 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3261 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3262 address argument is omitted.
3264 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3266 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3268 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3271 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3272 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3274 2018-06-26 Tom Tromey <tom@tromey.com>
3277 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3278 * gdb.rust/simple.rs (struct SimpleLayout): New.
3280 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3282 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3283 "info registers" output.
3285 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3287 * gdb.base/watchpoint-hw-attach.c: New test.
3288 * gdb.base/watchpoint-hw-attach.exp: New file.
3290 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3292 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3294 * boards/dwarf4-gdb-index.exp: Likewise.
3295 * boards/fission-dwp.exp: Likewise.
3297 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3299 * gdb.base/float128.exp: Add comment and improved fail message
3300 to the failure case of "print large128" test.
3302 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3304 * configure.ac: Remove AC_PREREQ.
3305 * configure: Re-generate.
3307 2018-06-19 Pedro Alves <palves@redhat.com>
3309 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3310 (func_extern_caller): New.
3311 (main): Call func_extern_caller.
3312 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3315 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3318 * gdb.cp/typedef-base.cc: New file.
3319 * gdb.cp/typedef-base.exp: New file.
3321 2018-06-18 Tom de Vries <tdevries@suse.de>
3323 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3325 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3326 Richard Bunt <Richard.Bunt@arm.com>
3328 * gdb.threads/attach-slow-waitpid.c: New file.
3329 * gdb.threads/attach-slow-waitpid.exp: New file.
3330 * gdb.threads/slow-waitpid.c: New file.
3332 2018-06-14 Pedro Alves <palves@redhat.com>
3334 * gdb.base/fork-running-state.c: Include <errno.h>.
3335 (exit_if_relative_exits): New.
3336 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3338 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3341 2018-06-14 Tom de Vries <tdevries@suse.de>
3344 * gdb.base/finish-pretty.c: New test.
3345 * gdb.base/finish-pretty.exp: New file.
3347 2018-06-14 Pedro Alves <palves@redhat.com>
3349 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3350 gdb's expected startup output.
3352 2018-06-14 Pedro Alves <palves@redhat.com>
3354 * lib/selftest-support.exp (selftest_setup): Remove inlined
3357 2018-06-14 Tom de Vries <tdevries@suse.de>
3359 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3360 matching of breakpoint printing.
3362 2018-06-13 Tom de Vries <tdevries@suse.de>
3365 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3366 (fork_child): ... here, and ...
3367 (fork_parent): ... here.
3369 2018-06-12 Tom de Vries <tdevries@suse.de>
3371 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3373 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3374 Stephen Roberts <stephen.roberts@arm.com>
3376 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3377 rewrite test to describe action performed, rather than possible
3380 2018-06-08 Gary Benson <gbenson@redhat.com>
3382 * gdb.threads/check-libthread-db.exp: New file.
3383 * gdb.threads/check-libthread-db.c: Likewise.
3385 2018-06-05 Tom Tromey <tom@tromey.com>
3387 * gdb.base/default.exp: Update expected "show version" output.
3389 2018-06-05 Tom Tromey <tom@tromey.com>
3392 * gdb.cp/static-print-quit.exp: Update.
3393 * lib/gdb.exp (pagination_prompt): Update.
3394 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3395 * gdb.python/python.exp: Update.
3397 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3399 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3401 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3403 * gdb.ada/bp_fun_addr: New testcase.
3405 2018-06-01 Tom Tromey <tom@tromey.com>
3407 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3409 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3410 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3411 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3412 * gdb.base/maint.exp (maint_pass_if): Update.
3414 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3416 * gdb.base/endian.exp: New test.
3417 * gdb.base/endian.c: New test source.
3419 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3422 * gdb.base/bt-selected-frame.c: New file.
3423 * gdb.base/bt-selected-frame.exp: New file.
3424 * lib/gdb.exp (get_current_frame_number): New function.
3426 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3427 Pedro Alves <palves@redhat.com>
3429 * gdb.threads/tls-core.c: Include <stdlib.h>
3430 (thread_proc): Call `abort'.
3431 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3432 (tls_core_test): New procedure, bits factored out from ...
3433 (top level): ... here. Test both native cores and gcore cores.
3435 2018-05-23 Tom Tromey <tom@tromey.com>
3437 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3439 2018-05-23 Tom Tromey <tom@tromey.com>
3441 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3443 (test_short_complaints): Likewise.
3444 (test_empty_complaints): Likewise.
3445 (test_initial_complaints): Update.
3447 2018-05-23 Tom Tromey <tom@tromey.com>
3449 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3451 2018-05-23 Tom Tromey <tom@tromey.com>
3453 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3454 (test_short_complaints): Update.
3456 2018-05-22 Pedro Alves <palves@redhat.com>
3458 * gdb.base/remote.exp: Only gdb_start after compiling the
3459 testcase. Issue "disconnect" before testing "set remote" command
3460 defaults. Issue clean_restart before running to main.
3462 2018-05-22 Pedro Alves <palves@redhat.com>
3464 * gdb.base/remote.exp: Adjust expected output of "show remote
3465 memory-write-packet-size". Add tests for "set remote
3466 memory-write-packet-size 0" and "set remote
3467 memory-write-packet-size fixed/limit".
3469 2018-05-22 Pedro Alves <palves@redhat.com>
3472 * gdb.base/utf8-identifiers.c: New file.
3473 * gdb.base/utf8-identifiers.exp: New file.
3475 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3477 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3479 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3481 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3483 2018-05-18 Tom Tromey <tom@tromey.com>
3485 * gdb.base/ptype-offsets.exp: Update.
3487 2018-05-17 Keith Seitz <keiths@redhat.com>
3489 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3490 in expected breakpoint stop locations.
3491 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3492 move to proper scope to test variable values.
3493 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3494 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3496 (main): Call not_inline_func3.
3497 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3498 inline_func1, inline_func2, and inline_func3. Test that when each
3499 breakpoint is hit, GDB properly reports both the stop location
3500 and the backtrace. Repeat tests for temporary breakpoints.
3502 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3504 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3505 rather then trying to access it in determining whether the PID
3506 of `gdbserver' could have been retrieved.
3508 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3510 * gdb.arch/amd64-init-x87-values.S: New file.
3511 * gdb.arch/amd64-init-x87-values.exp: New file.
3513 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3515 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3517 2018-05-04 Tom Tromey <tom@tromey.com>
3520 * gdb.python/python.exp: Test multi-line execute.
3522 2018-05-04 Tom Tromey <tom@tromey.com>
3525 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3527 2018-05-04 Tom Tromey <tom@tromey.com>
3530 * gdb.base/define.exp: Test defining a user command inside a user
3532 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3534 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3535 Pedro Alves <palves@redhat.com>
3537 PR breakpoints/19806 and support for PR external/20207.
3538 * gdb.base/watchpoint-unaligned.c: New file.
3539 * gdb.base/watchpoint-unaligned.exp: New file.
3541 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3543 * gdb.base/maint.exp: Make test names unique, use
3544 test_prefix_command_help to test 'help maint info', and remove
3545 repeated test of 'help maint'.
3547 2018-05-04 Tom Tromey <tom@tromey.com>
3550 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3553 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3555 * gdb.base/maint.exp: Process output from 'maint print registers'
3558 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3560 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3563 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3565 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3568 2018-05-02 Pedro Alves <palves@redhat.com>
3570 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3571 to_log_command renames.
3572 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3574 2018-05-02 Tom Tromey <tom@tromey.com>
3576 * gdb.python/py-parameter.exp: Set test message.
3578 2018-05-02 Tom Tromey <tom@tromey.com>
3581 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3582 PARAM_ZUINTEGER_UNLIMITED tests.
3584 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3587 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3590 2018-04-30 Tom Tromey <tom@tromey.com>
3592 * gdb.python/py-type.exp: Check align attribute.
3593 * gdb.python/py-type.c: New "aligncheck" global.
3595 2018-04-30 Tom Tromey <tom@tromey.com>
3598 * gdb.dwarf2/dw2-align.exp: New file.
3599 * gdb.cp/align.exp: New file.
3600 * gdb.base/align.exp: New file.
3601 * lib/gdb.exp (gdb_int128_helper): New proc.
3602 (has_int128_c, has_int128_cxx): New caching procs.
3604 2018-04-27 Tom Tromey <tom@tromey.com>
3607 * gdb.rust/simple.exp: Add inclusive range tests.
3609 2018-04-26 Pedro Alves <palves@redhat.com>
3611 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3612 ifunc breakpoint locations correctly of ifunc breakpoints set
3613 while the program resolves the ifunc.
3615 2018-04-26 Pedro Alves <palves@redhat.com>
3617 * gdb.base/gnu-ifunc-final.c: New file.
3618 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3619 * gdb.base/gnu-ifunc.exp (executable): Delete.
3620 (staticexecutable): Adjust.
3621 (lib_opts, exec_opts): Delete.
3622 (make_binsuffix, build, set-break): New procedures.
3623 (misc_tests): New, with tests factored out from the top level.
3624 (top level): Test different combinations of ifunc resolver name,
3625 resolver with and with debug info, and ifunc target with and
3626 without debug info. Wrap static tests with with_target_prefix.
3628 2018-04-26 Pedro Alves <palves@redhat.com>
3630 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3631 return type" warnings.
3633 2018-04-25 Pedro Alves <palves@redhat.com>
3635 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3637 * gdb.base/kill-after-signal.exp: Likewise.
3638 * gdb.threads/kill.exp: Likewise.
3640 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3641 Sergio Durigan Junior <sergiodj@redhat.com>
3642 Pedro Alves <palves@redhat.com>
3644 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3645 regexps to expect for '[Inferior ... detached]' as well.
3646 * gdb.base/attach.exp: Likewise.
3647 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3648 "gdb_continue_to_end".
3649 (test_catch_syscall_with_wrong_args): Likewise.
3650 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3651 ']'. Don't set 'verbose' on.
3652 * gdb.base/foll-vfork.exp: Likewise.
3653 * gdb.base/fork-print-inferior-events.c: New file.
3654 * gdb.base/fork-print-inferior-events.exp: New file.
3655 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3656 '[Inferior ... has been killed]' message.
3657 * gdb.base/kill-after-signal.exp: Likewise.
3658 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3660 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3662 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3663 regexps to expect for '[Inferior ... detached]' as well.
3664 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3666 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3669 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3671 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3673 * gdb.threads/multiple-successive-infcall.c: New test.
3674 * gdb.threads/multiple-successive-infcall.exp: New file.
3676 2018-04-17 Tom Tromey <tom@tromey.com>
3678 * gdb.rust/simple.rs (Union): New type.
3679 (main): New local "u".
3680 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3682 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3684 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3685 number information in output of "whereis" command.
3686 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3688 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3690 * gdb.ada/info_types.exp: Adjust expected output to the line
3691 numbers now printed by "info var/func/type".
3692 * gdb.base/completion.exp: Likewise.
3693 * gdb.base/included.exp: Likewise.
3694 * gdb.cp/cp-relocate.exp: Likewise.
3695 * gdb.cp/cplusfuncs.exp: Likewise.
3696 * gdb.cp/namespace.exp: Likewise.
3697 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3699 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3701 * gdb.btrace/cpu.exp: New.
3703 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3705 * gdb.base/step-indirect-call-thunk.exp: New.
3706 * gdb.base/step-indirect-call-thunk.c: New.
3707 * gdb.reverse/step-indirect-call-thunk.exp: New.
3708 * gdb.reverse/step-indirect-call-thunk.c: New.
3710 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3712 * gdb.base/pie-fork.c: New file.
3713 * gdb.base/pie-fork.exp: New file.
3715 2018-04-11 Tom Tromey <tom@tromey.com>
3717 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3719 2018-04-10 Pedro Alves <palves@redhat.com>
3721 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3722 exits. Instead loop running forever.
3723 (fork_parent): Run forever too.
3725 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3727 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3728 mi_continue_to_line.
3729 * gdb.mi/mi-stack.c (callee4): Add comment.
3731 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3733 * gdb.mi/mi-stack.exp: Fix indentation.
3735 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3738 * gdb.arch/amd64-osabi.exp: New file.
3740 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3743 * gdb.base/osabi.exp: New file.
3745 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3747 * gdb.cp/static-typedef-print.exp: New file.
3748 * gdb.cp/static-typedef-print.cc: New file.
3750 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3752 * gdb.ada/varsize_limit: New testcase.
3754 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3756 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3758 * gdb.ada/notcplusplus: New testcase.
3760 * gdb.base/c-linkage-name.c: New file.
3761 * gdb.base/c-linkage-name.exp: New testcase.
3763 2018-03-26 Tom Tromey <tom@tromey.com>
3765 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3766 * gdb.python/py-framefilter.py (name_error): New global.
3767 (ErrorInName.function): Use name_error.
3769 2018-03-26 Tom Tromey <tom@tromey.com>
3772 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3774 2018-03-23 Keith Seitz <keiths@redhat.com>
3777 * gdb.cp/subtypes.exp: New file.
3778 * gdb.cp/subtypes.h: New file.
3779 * gdb.cp/subtypes.cc: New file.
3780 * gdb.cp/subtypes-2.cc: New file.
3782 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3784 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3785 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3786 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3787 -nostartfiles when compiling the test. Confirm that all registers
3788 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3790 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3792 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3793 option, syntax was wrong anyway.
3794 * gdb.arch/arm-disp-step.exp: Likewise.
3795 * gdb.arch/sparc64-regs.exp: Likewise.
3796 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3797 option, syntax was wrong anyway, switch to use
3798 prepare_for_testing.
3799 * gdb.arch/i386-disp-step.exp: Likewise.
3801 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3803 * gdb.ada/exec_changed.exp: Replace "target_info exists
3804 use_gdb_stub" by "use_gdb_stub".
3805 * gdb.ada/start.exp: Likewise.
3806 * gdb.base/async-shell.exp: Likewise.
3807 * gdb.base/attach-pie-misread.exp: Likewise.
3808 * gdb.base/attach-wait-input.exp: Likewise.
3809 * gdb.base/break-entry.exp: Likewise.
3810 * gdb.base/break-interp.exp: Likewise.
3811 * gdb.base/dprintf-detach.exp: Likewise.
3812 * gdb.base/nostdlib.exp: Likewise.
3813 * gdb.base/solib-nodir.exp: Likewise.
3814 * gdb.base/statistics.exp: Likewise.
3815 * gdb.base/testenv.exp: Likewise.
3816 * gdb.mi/mi-exec-run.exp: Likewise.
3817 * gdb.mi/mi-start.exp: Likewise.
3818 * gdb.multi/dummy-frame-restore.exp: Likewise.
3819 * gdb.multi/multi-arch-exec.exp: Likewise.
3820 * gdb.multi/multi-arch.exp: Likewise.
3821 * gdb.multi/tids.exp: Likewise.
3822 * gdb.multi/watchpoint-multi.exp: Likewise.
3823 * gdb.python/py-events.exp: Likewise.
3824 * gdb.threads/attach-into-signal.exp: Likewise.
3825 * gdb.threads/attach-stopped.exp: Likewise.
3826 * gdb.threads/threadapply.exp: Likewise.
3827 * lib/selftest-support.exp: Likewise.
3829 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3831 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3833 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3835 * gdb.perf/template-breakpoints.cc: New file.
3836 * gdb.perf/template-breakpoints.exp: New file.
3837 * gdb.perf/template-breakpoints.py: New file.
3839 2018-03-19 Tom Tromey <tom@tromey.com>
3841 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3843 * gdb.rust/simple.exp: Test bare identifier form of struct
3846 2018-03-19 Tom Tromey <tom@tromey.com>
3848 * gdb.gdb/observer.exp: Remove.
3850 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3852 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3853 "qualified" option when setting breakpoints.
3854 * gdb.trace/backtrace.exp: Likewise.
3855 * gdb.trace/circ.exp: Likewise.
3856 * gdb.trace/collection.exp: Likewise.
3857 * gdb.trace/disconnected-tracing.exp: Likewise.
3858 * gdb.trace/ftrace-lock.exp: Likewise.
3859 * gdb.trace/ftrace.exp: Likewise.
3860 * gdb.trace/infotrace.exp: Likewise.
3861 * gdb.trace/packetlen.exp: Likewise.
3862 * gdb.trace/passc-dyn.exp: Likewise.
3863 * gdb.trace/qtro.exp: Likewise.
3864 * gdb.trace/read-memory.exp: Likewise.
3865 * gdb.trace/report.exp: Likewise.
3866 * gdb.trace/signal.exp: Likewise.
3867 * gdb.trace/status-stop.exp: Likewise.
3868 * gdb.trace/strace.exp: Likewise.
3869 * gdb.trace/tfind.exp: Likewise.
3870 * gdb.trace/trace-break.exp: Likewise.
3871 * gdb.trace/trace-condition.exp: Likewise.
3872 * gdb.trace/trace-mt.exp: Likewise.
3873 * gdb.trace/tstatus.exp: Likewise.
3874 * gdb.trace/tsv.exp: Likewise.
3875 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3876 * gdb.trace/unavailable.exp: Likewise.
3877 * gdb.trace/while-dyn.exp: Likewise.
3879 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3881 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3882 that libinproctrace is copied to the target.
3884 2018-03-14 Tom Tromey <tom@tromey.com>
3887 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3889 * gdb.base/wchar.exp: Likewise.
3891 2018-03-14 Tom Tromey <tom@tromey.com>
3894 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3897 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3900 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3901 "target" to remote_exec.
3903 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3906 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3907 ${board}_upload): Remove.
3909 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3911 * gdb.cp/watch-cp.cc: New test.
3912 * gdb.cp/watch-cp.exp: New file.
3914 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3916 * gdb.base/infcall-nested-structs.exp: New file.
3917 * gdb.base/infcall-nested-structs.c: New file.
3918 * gdb.base/float.exp: Add riscv support.
3920 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3922 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3923 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3925 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3927 * gdb.server/abspath.exp: New file.
3928 * lib/gdb.exp (with_cwd): New procedure.
3930 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3932 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3934 (gdb_is_target_remote_prompt): New proc.
3935 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3936 (gdb_is_target_native): Pass prompt parameter to
3939 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3941 * gdb.base/load-command.c: New file.
3942 * gdb.base/load-command.exp: New file.
3943 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3944 (gdb_is_target_1): ...this, and generalize for other targets
3946 (gdb_is_target_remote): Use gdb_is_target_1.
3947 (gdb_is_target_native): use gdb_is_target_1.
3949 2018-02-26 Tom Tromey <tom@tromey.com>
3952 * gdb.python/py-framefilter.exp: Update test.
3954 2018-02-26 Tom Tromey <tom@tromey.com>
3956 * gdb.dwarf2/variant.c: New file.
3957 * gdb.dwarf2/variant.exp: New file.
3959 2018-02-26 Tom Tromey <tom@tromey.com>
3961 * gdb.rust/simple.exp: Accept more possible results in enum test.
3963 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3965 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3968 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3970 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3971 name of a variable: $actual_linejj -> $actual_line.
3973 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3975 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3977 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3979 * gdb.btrace/buffer-size.exp: Do not force BTS.
3981 2018-02-14 Pedro Alves <palves@redhat.com>
3983 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3986 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3988 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3991 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3993 * gdb.cp/m-static.exp: Check type of optimized out static
3996 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3998 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3999 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4001 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4002 Leszek Swirski <leszeks@google.com>
4004 * gdb.python/py-prettyprint.c
4005 (struct to_string_returns_value_inner,
4006 struct to_string_returns_value_wrapper): New.
4007 (main): Add tsrvw variable.
4008 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4009 ToStringReturnsValueWrapper): New classes.
4010 (register_pretty_printers): Register new pretty-printers.
4011 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4012 recursive pretty printer.
4013 * gdb.python/py-mi.exp: Likewise.
4015 2018-02-01 Leszek Swirski <leszeks@google.com>
4017 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4018 functions with the same name as an include file are parsed
4021 2018-02-01 Yao Qi <yao.qi@linaro.org>
4023 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4026 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4028 * gdb.arch/powerpc-prologue-frame.s: New file.
4029 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4030 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4032 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4034 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4036 2018-01-30 Pedro Alves <palves@redhat.com>
4039 * gdb.base/interrupt-daemon.c: New.
4040 * gdb.base/interrupt-daemon.exp: New.
4041 * gdb.multi/multi-term-settings.c: New.
4042 * gdb.multi/multi-term-settings.exp: New.
4044 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4046 * gdb.base/break.exp: Save the location where the breakpoint
4047 on break.c:47 was actually inserted when debugging the version
4048 compiled at -O2 and use it in the expected output of the "info
4049 break" test performed soon after.
4051 2018-01-22 Pedro Alves <palves@redhat.com>
4052 Sergio Durigan Junior <sergiodj@redhat.com>
4054 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4055 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4057 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4059 * gdb.base/break-include.c, gdb.base/break-include.inc,
4060 gdb.base/break-include.exp: New files.
4061 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4062 line number now being the actual line number where the breakpoint
4064 * gdb.mi/mi-break.exp: Likewise.
4065 * gdb.mi/mi-reverse.exp: Likewise.
4066 * gdb.mi/mi-simplerun.exp: Ditto.
4068 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4070 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4072 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4074 2018-01-21 Don Breazeal <donb@codesourcery.com>
4075 Andrew Burgess <andrew.burgess@embecosm.com>
4077 * gdb.mi/basics.c: Add new global.
4078 * gdb.mi/mi-frame-regs.exp: New file.
4079 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4082 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4084 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4085 non-parameter, and on an unknown symbol.
4087 2018-01-19 Tom Tromey <tom@tromey.com>
4089 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4090 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4092 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4094 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4095 setrlimit and chdir to int.
4097 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4099 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4101 (my_tend): Likewise.
4102 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4103 rationale of avoiding FP- and vector instructions.
4105 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4107 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4108 "info reg" with "\[ \t\]*".
4109 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4111 * gdb.arch/s390-multiarch.exp: Ditto.
4112 * gdb.base/pc-fp.exp: Ditto.
4113 * gdb.reverse/i386-precsave.exp: Ditto.
4114 * gdb.reverse/i386-reverse.exp: Ditto.
4115 * gdb.reverse/i387-env-reverse.exp: Ditto.
4116 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4118 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4120 * lib/gdb.exp (gdb_compile): Re-enable use of
4121 universal_compile_options for languages other than Rust.
4123 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4125 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4127 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4130 * gdb.base/solib-vanish.exp: New.
4131 * gdb.base/solib-vanish-main.c: New.
4132 * gdb.base/solib-vanish-lib1.c: New.
4133 * gdb.base/solib-vanish-lib2.c: New.
4135 2018-01-17 Yao Qi <yao.qi@linaro.org>
4137 * gdb.compile/compile.exp: Match the address printed for
4138 frame in the output of command "bt".
4140 2018-01-15 Tom Tromey <tom@tromey.com>
4142 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4145 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4147 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4149 (prepare): Return 0 on error, 1 on success.
4151 2018-01-12 Pedro Alves <palves@redhat.com>
4153 * gdb.base/continue-after-aborted-step-over.c: New.
4154 * gdb.base/continue-after-aborted-step-over.exp: New.
4156 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4158 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4159 options when not creating an executable.
4161 2018-01-11 Pedro Alves <palves@redhat.com>
4164 * gdb.server/stop-reply-no-thread.c: New file.
4165 * gdb.server/stop-reply-no-thread.exp: New file.
4167 2018-01-10 Pedro Alves <palves@redhat.com>
4170 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4171 functions too. Test setting breakpoints and printing C functions
4172 with no debug info too.
4173 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4175 2018-01-10 Pedro Alves <palves@redhat.com>
4178 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4181 2018-01-10 Pedro Alves <palves@redhat.com>
4184 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4186 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4188 * gdb.server/unittest.exp: Match the output in non-development
4191 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4193 * gdb.gdb/unittest.exp: Match output in non-development mode.
4195 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4197 * gdb.ada/access_tagged_param.exp: Relax expected output
4198 for value of "ObjL" in "continue" to pck.inspect breakpoint
4201 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4203 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4204 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4206 2018-01-05 Pedro Alves <palves@redhat.com>
4209 * gdb.base/libsegfault.exp: New.
4211 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4214 * gdb.ada/access_tagged_param.exp: New file.
4215 * gdb.ada/access_tagged_param/foo.adb: New file.
4217 2018-01-05 Pedro Alves <palves@redhat.com>
4220 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4221 exercise lower case too, and to exercise both full matching and
4224 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4226 * gdb.ada/rename_subscript_param: New testcase.
4228 2018-01-05 Jerome Guitton <guitton@adacore.com>
4230 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4232 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4234 * gdb.ada/convvar_comp: New testcase.
4236 2018-01-05 Xavier Roirand <roirand@adacore.com>
4238 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4239 (My_Table): New global variable.
4240 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4242 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4245 * gdb.ada/maint_with_ada: New testcase.
4247 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4250 * gdb.ada/bp_c_mixed_case: New testcase.
4252 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4255 * gdb.ada/complete.exp: Add "complete break ada" test.
4257 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4260 * gdb.ada/info_addr_mixed_case: New testcase.
4262 2018-01-03 Xavier Roirand <roirand@adacore.com>
4264 * gdb.ada/excep_handle.exp: New testcase.
4265 * gdb.ada/excep_handle/foo.adb: New file.
4266 * gdb.ada/excep_handle/pck.ads: New file.
4268 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4270 * gdb.base/step-line.c: Add extra empty line in copyright header.
4271 * gdb.base/step-line.inp: Likewise.
4273 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4275 * gdb.ada/dyn_stride.exp: Add slice test.
4277 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4279 * gdb.ada/dyn_stride: New testcase.
4281 2017-12-27 Stafford Horne <shorne@gmail.com>
4283 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4284 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4286 2017-12-27 Stafford Horne <shorne@gmail.com>
4288 * gdb.base/reggroups.c: New file.
4289 * gdb.base/reggroups.exp: New file.
4291 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4293 * gdb.dwarf2/ada-valprint-error.c: New file.
4294 * gdb.dwarf2/ada-valprint-error.exp: New file.
4296 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4298 * gdb.ada/assign_arr: New testcase.
4300 2017-12-18 Xavier Roirand <roirand@adacore.com>
4302 * gdb.ada/funcall_ptr: New testcase.
4304 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4307 * gdb.base/ptype-offsets.cc: New file.
4308 * gdb.base/ptype-offsets.exp: New file.
4310 2017-12-15 Yao Qi <yao.qi@linaro.org>
4312 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4315 2017-12-15 Xavier Roirand <roirand@adacore.com>
4317 * gdb.ada/same_component_name: New testcase.
4319 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4321 * gdb.ada/str_binop_equal: New testcase.
4323 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4325 * gdb.ada/task_switch_in_core: New testcase.
4327 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4329 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4330 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4331 call test_bkpt_qualified.
4332 (test_bkpt_qualified): New proc.
4334 2017-12-13 Pedro Alves <palves@redhat.com>
4336 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4337 Tighten regexp by matching with an anchor.
4339 2017-12-13 Pedro Alves <palves@redhat.com>
4341 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4342 ("expression with namespace"): New set of tests.
4343 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4344 (Nested::Test_NS::qux): New.
4345 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4346 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4348 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4350 * gdb.base/server-del-break.c: New file.
4351 * gdb.base/server-del-break.exp: New file.
4353 2017-12-12 Stafford Horne <shorne@gmail.com>
4355 * gdb.xml/tdesc-regs.exp: Add or1k support.
4357 2017-12-12 Stafford Horne <shorne@gmail.com>
4359 * gdb.base/bp-permanent.c: Define nop of or1k.
4361 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4363 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4364 output with components being reordered.
4366 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4368 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4369 output with components being reordered.
4371 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4372 Pedro Alves <palves@redhat.com>
4374 * gdb.base/maint.exp (check for .gdb_index): Check also for
4376 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4377 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4378 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4379 (.gdb_index used after symbol reloading): Support also .debug_names.
4380 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4382 2017-12-08 Yao Qi <yao.qi@linaro.org>
4384 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4385 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4387 2017-12-08 Yao Qi <yao.qi@linaro.org>
4389 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4390 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4392 2017-12-08 Yao Qi <yao.qi@linaro.org>
4394 * gdb.arch/aarch64-tagged-pointer.c: New file.
4395 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4397 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4399 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4402 2017-12-07 Keith Seitz <keiths@redhat.com>
4404 PR breakpoints/22569
4405 * gdb.linespec/ls-errs.exp: Change expected result of "break
4406 -source this file has spaces.c -line 3".
4407 Check that an explicit source file followed by whitespace is
4408 identified as an invalid explicit location.
4410 2017-12-07 Keith Seitz <keiths@redhat.com>
4412 * gdb.cp/nested-types.cc: New file.
4413 * gdb.cp/nested-types.exp: New file.
4414 * lib/cp-support.exp: Load data-structures.exp library.
4415 (debug_cp_test_ptype_class): New global.
4416 (cp_ptype_class_verbose, next_line): New procedures.
4417 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4418 Add and document new return value.
4419 Switch the list of lines to a queue.
4420 Add support for new `type' key for nested type definitions.
4421 Add debugging/troubleshooting messages.
4422 * lib/data-structures.exp: New file.
4424 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4426 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4427 with proc_with_prefix, don't use with_test_prefix.
4429 2017-12-07 Tom Tromey <tom@tromey.com>
4431 * gdb.base/break.exp: Add test for empty "commands".
4433 2017-12-07 Yao Qi <yao.qi@linaro.org>
4435 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4436 malloc and catch syscall.
4438 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4440 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4441 tests for explicit locations.
4443 2017-12-06 Pedro Alves <palves@redhat.com>
4445 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4446 force-disabling XML descriptions.
4448 2017-12-04 Pedro Alves <palves@redhat.com>
4451 * gdb.arch/amd64-disp-step-avx.S: New file.
4452 * gdb.arch/amd64-disp-step-avx.exp: New file.
4454 2017-12-03 Pedro Alves <palves@redhat.com>
4456 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4458 (parent_function): Print distinct messages when waitpid fails, or
4459 the child exits with a signal, or the child exits for an unhandled
4461 * gdb.threads/process-dies-while-detaching.exp
4462 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4463 it. Wait for both inferior output and GDB's prompt. Use an
4464 indirect spawn id list.
4465 (do_detach): New parameter 'child_exit'. Use it to compute
4466 expected inferior output.
4467 (test_detach, test_detach_watch, test_detach_killed_outside):
4468 Adjust to pass down the expected child exit kind.
4470 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4471 Sergio Durigan Junior <sergiodj@redhat.com>
4472 Pedro Alves <palves@redhat.com>
4474 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4476 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4478 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4479 to 'symbol-file' and 'add-symbol-file' can be
4480 position-independent.
4482 2017-12-01 Yao Qi <yao.qi@linaro.org>
4484 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4485 the URL in copyright header.
4486 * gdb.arch/aarch64-fp.exp: Likewise.
4487 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4488 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4489 * gdb.base/expand-psymtabs.exp: Likewise.
4490 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4491 * gdb.fortran/common-block.exp: Likewise.
4492 * gdb.fortran/common-block.f90: Likewise.
4493 * gdb.fortran/logical.exp: Likewise.
4494 * gdb.fortran/vla-datatypes.f90: Likewise.
4495 * gdb.fortran/vla-sub.f90: Likewise.
4497 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4499 * gdb.ada/repeat_dyn: New testcase.
4501 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4503 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4504 Update for changed thread numbering.
4505 * gdb.cell/bt.exp: Update for changed GDB output.
4507 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4509 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4510 setting isremote by hand.
4511 * boards/dwarf4-gdb-index.exp: Likewise.
4512 * boards/fission.exp: Likewise.
4513 * boards/stabs.exp: Likewise.
4515 2017-11-30 Pedro Alves <palves@redhat.com>
4517 * gdb.linespec/cpls-ops.exp
4518 (check_explicit_skips_function_argument): Extract the underlying
4519 type of size_t instead of hardcoding it.
4521 2017-11-29 Pedro Alves <palves@redhat.com>
4524 * gdb.linespec/cpls-abi-tag.cc: New file.
4525 * gdb.linespec/cpls-abi-tag.exp: New file.
4527 2017-11-29 Pedro Alves <palves@redhat.com>
4529 * gdb.base/langs.exp: Use -qualified.
4530 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4532 * gdb.cp/namespace.exp: Use -qualified.
4533 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4534 (overload-3, template-overload, template-ret-type, const-overload)
4535 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4537 (test_driver): Call them.
4538 * gdb.cp/save-bp-qualified.cc: New.
4539 * gdb.cp/save-bp-qualified.exp: New.
4540 * gdb.linespec/explicit.exp: Test -qualified.
4541 * lib/completion-support.exp (completion::explicit_opts_list): Add
4543 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4545 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4547 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4549 2017-11-29 Tom Tromey <tom@tromey.com>
4551 * gdb.base/relocate.exp: Update invalid argument test.
4552 Add new tests for invalid arguments.
4554 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4556 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4558 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4560 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4562 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4563 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4564 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4566 * gdb.cp/shadow.cc (B.func): Return 0.
4568 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4570 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4571 expected output in gdb_expect call to allow the exception
4572 message to be present as well. Fix syntax confusion to avoid
4573 TCL thinking that exception_name is an array.
4575 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4577 * gdb.arch/spu-info.c: Include <unistd.h>.
4578 (do_signal_test): Fix broken calls to write.
4579 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4580 Fix checks for empty mailboxes. Update signal tests for corrected
4581 do_signal_test routine. Allow nonzero event status.
4582 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4583 * gdb.cell/arch.exp: Use standard_output_file.
4584 * gdb.cell/break.exp: Likewise.
4585 * gdb.cell/bt.exp: Likewise.
4586 * gdb.cell/core.exp: Likewise.
4587 * gdb.cell/dwarfaddr.exp: Likewise.
4588 * gdb.cell/ea-cache.exp: Likewise.
4589 * gdb.cell/ea-standalone.exp: Likewise.
4590 * gdb.cell/f-regs.exp: Likewise.
4591 * gdb.cell/fork.exp: Likewise.
4592 * gdb.cell/gcore.exp: Likewise.
4593 * gdb.cell/mem-access.exp: Likewise.
4594 * gdb.cell/ptype.exp: Likewise.
4595 * gdb.cell/registers.exp: Likewise.
4596 * gdb.cell/sizeof.exp: Likewise.
4597 * gdb.cell/solib-symbol.exp: Likewise.
4598 * gdb.cell/solib.exp: Likewise.
4600 2017-11-25 Pedro Alves <palves@redhat.com>
4602 * gdb.base/complete-empty.exp: New file.
4603 * gdb.base/completion.exp: Adjust.
4605 2017-11-25 Pedro Alves <palves@redhat.com>
4607 * gdb.linespec/cpls-ops.cc: New file.
4608 * gdb.linespec/cpls-ops.exp: New file.
4609 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4610 factored out from ...
4611 (test_complete_prefix_range): ... this.
4613 2017-11-24 Pedro Alves <palves@redhat.com>
4615 * gdb.linespec/cpcompletion.exp: New file.
4616 * gdb.linespec/cpls-hyphen.cc: New file.
4617 * gdb.linespec/cpls.cc: New file.
4618 * gdb.linespec/cpls2.cc: New file.
4619 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4620 test to use test_gdb_complete_unique. Add label completion,
4621 keyword completion and explicit location completion tests.
4622 * lib/completion-support.exp: New file.
4624 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4626 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4627 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4628 when hitting an exception catchpoint.
4630 2017-11-22 Yao Qi <yao.qi@linaro.org>
4632 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4634 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4636 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4637 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4638 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4640 2017-11-22 Yao Qi <yao.qi@linaro.org>
4642 * gdb.base/info-os.exp: Pass pthreads.
4643 * gdb.multi/multi-attach.exp: Likewise.
4645 2017-11-22 Yao Qi <yao.qi@linaro.org>
4647 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4650 2017-11-22 Yao Qi <yao.qi@linaro.org>
4652 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4653 * gdb.base/break-interp.exp: Likewise.
4654 * gdb.base/jit-attach-pie.exp: Likewise.
4656 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4658 * gdb.base/float128.c (large128): New variable.
4659 * gdb.base/float128.exp: Add test to print largest __float128 value.
4661 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4663 * gdb.arch/vsx-regs.exp: Update register content checks.
4665 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4667 * gdb.arch/ppc-longdouble.exp: New file.
4668 * gdb.arch/ppc-longdouble.c: Likewise.
4670 2017-11-21 Pedro Alves <palves@redhat.com>
4672 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4674 2017-11-20 Pedro Alves <palves@redhat.com>
4676 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4677 (long_double_typedef): New typedefs.
4678 Use DEF on double and long double.
4679 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4681 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4682 and 'long_double_ptr_same_size' locals. Use them to decide
4683 whether cast from array/function to float is valid/invalid.
4685 2017-11-17 Tom Tromey <tom@tromey.com>
4687 * gdb.rust/traits.rs: New file.
4688 * gdb.rust/traits.exp: New file.
4690 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4692 * gdb.ada/minsyms: New testcase.
4694 2017-11-16 Pedro Alves <palves@redhat.com>
4696 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4697 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4699 2017-11-16 Pedro Alves <palves@redhat.com>
4701 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4702 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4704 2017-11-16 Pedro Alves <palves@redhat.com>
4706 * gdb.server/reconnect-ctrl-c.c: New file.
4707 * gdb.server/reconnect-ctrl-c.exp: New file.
4709 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4711 * gdb.python/py-rbreak.exp: New file.
4712 * gdb.python/py-rbreak.c: New file.
4713 * gdb.python/py-rbreak-func2.c: New file.
4715 2017-11-16 Pedro Alves <palves@redhat.com>
4717 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4719 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4722 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4724 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4727 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4729 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4732 2017-11-09 Pedro Alves <palves@redhat.com>
4734 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4735 factored out from ...
4736 (top level): ... here, and adjusted to avoid expecting beyond the
4737 prompt in a single gdb_test_multiple.
4739 2017-11-09 Pedro Alves <palves@redhat.com>
4741 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4743 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4744 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4745 * gdb.server/ext-run.exp ("kill" test): Likewise.
4746 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4748 2017-11-09 Pedro Alves <palves@redhat.com>
4750 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4751 match till end of line.
4753 2017-11-09 Pedro Alves <palves@redhat.com>
4755 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4757 2017-11-09 Pedro Alves <palves@redhat.com>
4759 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4760 New procedures, factored out from ...
4761 (top level): ... here, and adjusted to avoid expecting beyond the
4764 2017-11-09 Pedro Alves <palves@redhat.com>
4766 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4767 output. Fix '?' match.
4769 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4771 * gdb.ada/scoped_watch: New testcase.
4772 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4773 which is actually correct.
4774 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4775 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4777 2017-11-08 Pedro Alves <palves@redhat.com>
4779 * gdb.gdb/complaints.exp (test_initial_complaints)
4780 (test_serial_complaints, test_short_complaints): Call
4781 complaint_internal instead of complaint.
4783 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4785 * gdb.threads/tls-core.c: New file.
4786 * gdb.threads/tls-core.exp: Likewise.
4788 2017-11-08 Pedro Alves <palves@redhat.com>
4790 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4791 (p Exported_Capitalized): New test.
4792 (p exported_capitalized): New test.
4794 2017-11-07 Pedro Alves <palves@redhat.com>
4796 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4798 2017-11-07 Pedro Alves <palves@redhat.com>
4800 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4801 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4802 (disable_invalid, disable_inverted, disable_negative): New
4804 ("bad numbers"): New set of tests.
4806 2017-11-07 Pedro Alves <palves@redhat.com>
4808 * gdb.cp/ena-dis-br-range.exp: Add tests.
4810 2017-11-07 Pedro Alves <palves@redhat.com>
4812 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4814 2017-11-07 Xavier Roirand <roirand@adacore.com>
4815 Pedro Alves <palves@redhat.com>
4817 * gdb.base/ena-dis-br.exp: Add reference to
4818 gdb.cp/ena-dis-br-range.exp.
4819 * gdb.cp/ena-dis-br-range.exp: New file.
4820 * gdb.cp/ena-dis-br-range.cc: New file.
4822 2017-11-06 Pedro Alves <palves@redhat.com>
4824 * gdb.base/attach-non-pgrp-leader.c: New.
4825 * gdb.base/attach-non-pgrp-leader.exp: New.
4827 2017-11-06 Pedro Alves <palves@redhat.com>
4829 * configure.ac: No longer check for termio.h and sgtty.h.
4830 * configure: Regenerate.
4831 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4832 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4833 Remove termio and sgtty code.
4835 2017-11-03 Yao Qi <yao.qi@linaro.org>
4837 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4840 2017-11-03 Yao Qi <yao.qi@linaro.org>
4842 * gdb.python/py-thrhandle.exp: Skip it if python is not
4845 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4847 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4848 as a breakpoint command.
4850 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4853 * gdb.python/py-infthread.exp: Test calling
4854 InferiorThread.inferior () multiple times in a row.
4856 2017-10-27 Keith Seitz <keiths@redhat.com>
4858 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4859 Test "info break" for every inlined function breakpoint.
4861 2017-10-27 Yao Qi <yao.qi@linaro.org>
4863 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4865 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4867 * gdb.cp/classes.exp (test_static_members): Test printing
4869 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4870 (Inner::instance, Outer::instance): New.
4872 2017-10-24 Pedro Alves <palves@redhat.com>
4874 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4875 extra console" test in two stages.
4877 2017-10-24 Pedro Alves <palves@redhat.com>
4879 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4881 2017-10-24 Pedro Alves <palves@redhat.com>
4883 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4886 2017-10-24 Pedro Alves <palves@redhat.com>
4888 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4889 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4891 2017-10-24 Pedro Alves <palves@redhat.com>
4893 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4894 parameter and handle it. Don't output read value in test name.
4896 2017-10-24 Pedro Alves <palves@redhat.com>
4898 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4901 2017-10-24 Pedro Alves <palves@redhat.com>
4903 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4904 include the unstable output directory name in the test's name.
4905 (initial_setup_simple) <'set args'>: Use custom test name.
4907 2017-10-24 Pedro Alves <palves@redhat.com>
4909 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4910 with explicit test name.
4912 2017-10-20 Pedro Alves <palves@redhat.com>
4914 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4915 'wait -i'. Use gdb_assert and remote_close.
4917 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4919 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4920 number from variable rather than hard-coded.
4922 2017-10-19 Pedro Alves <palves@redhat.com>
4924 * gdb.base/long-inferior-output.c: New file.
4925 * gdb.base/long-inferior-output.exp: New file.
4927 2017-11-18 Keith Seitz <keiths@redhat.com>
4929 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4932 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4933 Add additional user-defined conversion operator tests.
4935 2017-10-17 Pedro Alves <palves@redhat.com>
4937 * boards/native-stdio-gdbserver.exp: Load "local-board".
4939 2017-10-17 Pedro Alves <palves@redhat.com>
4941 * gdb.base/quit-live.c: New file.
4942 * gdb.base/quit-live.exp: New file.
4944 2017-10-16 Keith Seitz <keiths@redhat.com>
4946 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4947 (class_with_protected_typedef, class_with_private_typedef)
4948 (struct_with_public_typedef, struct_with_protected_typedef)
4949 (struct_with_private_typedef): New classes/structs.
4950 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4951 typedefs and access specifiers.
4953 2017-10-16 Pedro Alves <palves@redhat.com>
4954 Simon Marchi <simon.marchi@polymtl.ca>
4956 * README (Local vs Remote vs Native): New section.
4957 * boards/local-board.exp: New file, with bits factored out from
4959 * boards/native-extended-gdbserver.exp: ... here. Load
4961 * boards/native-gdbserver.exp: Load "local-board".
4962 (${board}_spawn, ${board}_exec): Delete.
4963 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4965 * boards/stdio-gdbserver-base.exp: ... this new file.
4966 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4967 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4969 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4970 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4971 stdio_gdbserver_command.
4972 (${board}_get_remote_address, ${board}_get_comm_port)
4973 (${board}_download, ${board}_upload): Delete.
4974 (get_target_remote_pipe_cmd): New.
4976 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4978 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4979 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4980 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4981 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4982 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4983 remove with_test_prefix.
4985 2017-10-13 Pedro Alves <palves@redhat.com>
4987 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4988 * gdb.base/annota1.exp: Use it instead of is_remote.
4989 * gdb.base/annota3.exp: Use it instead of is_remote.
4990 * gdb.cp/annota2.exp: Use it instead of is_remote.
4991 * gdb.cp/annota3.exp: Use it instead of is_remote.
4992 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4994 2017-10-13 Pedro Alves <palves@redhat.com>
4996 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4997 (test_num_test_vars, run_and_count_vars, find_env)
4998 (test_set_unset_env, test_inherit_env_var): New procedures.
4999 (top level): Use them.
5001 2017-10-13 Pedro Alves <palves@redhat.com>
5003 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5004 also skip on stub-like targets.
5006 2017-10-13 Pedro Alves <palves@redhat.com>
5009 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5010 (top level): Move some tests to ...
5011 (test_not_found): ... this new procedure.
5012 (top level): Call it.
5014 2017-10-13 Pedro Alves <palves@redhat.com>
5016 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5017 expect different "info terminal" output if testing with a
5020 2017-10-13 Pedro Alves <palves@redhat.com>
5021 Simon Marchi <simon.marchi@polymtl.ca>
5024 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5026 2017-10-13 Pedro Alves <palves@redhat.com>
5028 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5031 2017-10-13 Pedro Alves <palves@redhat.com>
5033 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5036 2017-10-13 Pedro Alves <palves@redhat.com>
5038 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5041 2017-10-13 Pedro Alves <palves@redhat.com>
5043 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5045 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5046 instead of is_remote.
5048 2017-10-13 Pedro Alves <palves@redhat.com>
5050 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5051 (top level): Add comment.
5053 2017-10-13 Pedro Alves <palves@redhat.com>
5055 * gdb.base/remote.exp (top level): Fix comment typo and add
5058 2017-10-13 Pedro Alves <palves@redhat.com>
5059 Simon Marchi <simon.marchi@polymtl.ca>
5061 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5062 calls and add comments. Skip test if use_gdb_stub is set.
5063 (top level): Use "set cwd" command instead of "cd" command.
5065 2017-10-13 Pedro Alves <palves@redhat.com>
5067 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5068 is_remote target check.
5070 2017-10-13 Pedro Alves <palves@redhat.com>
5072 * gdb.base/scope.exp: Use build_executable + clean_restart +
5073 gdb_file_cmd instead of prepare_for_testing and no longer skip
5074 "before run" tests on is_remote target boards. Update comments.
5075 * boards/native-extended-gdbserver.exp
5076 (extended_gdbserver_load_last_file): New, factored out from ...
5077 (gdb_load): ... this. Move further below and add comment.
5078 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5080 2017-10-12 Pedro Alves <palves@redhat.com>
5082 * gdb.base/attach.exp: Remove references to gdb64.
5083 * gdb.base/dbx.exp: Remove references to gdb64.
5085 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5086 Pedro Alves <palves@redhat.com>
5088 * gdb.base/label.exp: Remove is_remote target check.
5090 2017-10-12 Pedro Alves <palves@redhat.com>
5092 * gdb.base/auvx.exp (coredir): Update comment.
5093 (top level) <core_works>: Use "set cwd" command instead of "cd"
5096 2017-10-12 Pedro Alves <palves@redhat.com>
5097 Simon Marchi <simon.marchi@polymtl.ca>
5099 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5102 2017-10-12 Pedro Alves <palves@redhat.com>
5103 Simon Marchi <simon.marchi@polymtl.ca>
5105 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5106 Instead skip if there's any gdb_protocol set.
5108 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5109 Pedro Alves <palves@redhat.com>
5111 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5113 2017-10-12 Pedro Alves <palves@redhat.com>
5114 Simon Marchi <simon.marchi@polymtl.ca>
5116 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5117 instead of on dejagnu remote boards.
5119 2017-10-12 Pedro Alves <palves@redhat.com>
5120 Simon Marchi <simon.marchi@polymtl.ca>
5122 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5123 checks. Use build_executable + clean_restart instead of
5124 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5125 of enabling non-stop after starting gdb.
5127 2017-10-12 Pedro Alves <palves@redhat.com>
5129 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5130 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5131 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5132 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5134 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5136 * gdb.arch/arc-tdesc-cpu.exp: New file.
5137 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5139 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5141 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5143 2017-10-10 Pedro Alves <palves@redhat.com>
5145 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5148 2017-10-10 Pedro Alves <palves@redhat.com>
5150 * lib/selftest-support.exp (selftest_setup): Update for
5151 captured_command_loop's prototype change.
5153 2017-10-09 Pedro Alves <palves@redhat.com>
5155 Test both arch1=>arch2 and arch2=>arch1.
5157 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5158 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5160 (append_arch1_options, append_arch2_options, append_arch_options)
5161 (build_executables): New procedures.
5162 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5164 (top level): Add new 'first_arch' testing axis.
5166 2017-10-09 Pedro Alves <palves@redhat.com>
5168 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5170 (thread_start, all_started): New functions.
5171 (main): Spawn new thread and wait until it is scheduled.
5172 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5174 (do_test): Add 'selected_thread' parameter. Run to all_started
5175 instead of main. Explicitly set the breakpoint at main. Switch
5176 to the SELECTED_THREAD thread.
5177 (top level): Test handling the exec event with either the main
5178 thread or the second thread selected.
5180 2017-10-09 Pedro Alves <palves@redhat.com>
5182 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5183 logic. Move STOP marker after the value checks.
5184 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5187 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5189 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5191 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5193 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5194 integer-to-dfp conversion.
5195 * gdb.base/dfp-test.exp: Likewise.
5197 2017-10-04 Pedro Alves <palves@redhat.com>
5199 * gdb.multi/hangout.c: Include <unistd.h>.
5200 (hangout_loop): New function.
5201 (main): Call alarm. Call hangout_loop in a loop.
5202 * gdb.multi/hello.c: Include <unistd.h>.
5203 (hello_loop): New function.
5204 (main): Call alarm. Call hangout_loop in a loop.
5205 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5206 inferior with the other selected.
5208 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5210 * gdb.mi/list-thread-groups-available.exp: New file.
5211 * gdb.mi/list-thread-groups-available.c: New file.
5213 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5215 * gdb.base/set-cwd.exp: Make it available on
5216 native-extended-gdbserver.
5218 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5220 * gdb.base/set-cwd.c: New file.
5221 * gdb.base/set-cwd.exp: Likewise.
5223 2017-10-02 Tom Tromey <tom@tromey.com>
5226 * gdb.rust/simple.rs (main): New variable "fslice".
5227 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5229 2017-10-02 Tom Tromey <tom@tromey.com>
5231 * gdb.rust/simple.exp: Test ptype of a slice.
5233 2017-10-02 Tom Tromey <tom@tromey.com>
5235 * gdb.rust/simple.exp: Test index of slice.
5237 2017-09-27 Tom Tromey <tom@tromey.com>
5239 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5241 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5242 Pedro Alves <palves@redhat.com>
5244 * gdb.base/compare-sections.exp (get value of read-only section): Read
5246 (corrupt read-only section): Likewise and don't set written if patching
5249 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5251 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5254 2017-09-20 Pedro Alves <palves@redhat.com>
5256 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5257 symbol names in gdb's output.
5258 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5260 2017-09-20 Pedro Alves <palves@redhat.com>
5262 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5264 (test_list_ambiguous_symbol): ... this and add a symbol name
5266 (test_list_ambiguous_function): Reimplement on top of
5267 test_list_ambiguous_symbol and also test listing ambiguous
5269 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5270 (ambiguous_fun): ... this.
5271 (ambiguous_var): New.
5272 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5273 (ambiguous_fun): ... this.
5274 (ambiguous_var): New.
5276 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5278 * gdb.base/starti.c: New file.
5279 * gdb.base/starti.exp: New file.
5280 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5282 2017-09-14 Pedro Alves <palves@redhat.com>
5284 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5285 (top level): Use it instead of runto.
5287 2017-09-11 Tom Tromey <tom@tromey.com>
5289 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5291 2017-09-11 Tom Tromey <tom@tromey.com>
5293 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5294 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5296 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5298 * gdb.fortran/printing-types.exp: New file.
5299 * gdb.fortran/printing-types.exp: New file.
5301 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5303 * gdb.fortran/vla-ptype.exp: Fix typos.
5304 * gdb.fortran/vla-value.exp: Same.
5306 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5308 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5309 * gdb.mi/mi-var-child-f.exp: Likewise.
5310 * gdb.mi/mi-vla-fortran.exp: Likewise.
5312 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5313 Christoph Weinmann <christoph.t.weinmann@intel.com>
5314 Bernhard Heckel <bernhard.heckel@intel.com>
5316 * gdb.fortran/ptr-indentation.f90: New file.
5317 * gdb.fortran/ptr-indentation.exp: New file.
5319 2017-09-05 Tom Tromey <tom@tromey.com>
5322 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5324 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5326 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5328 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5330 * gdb.threads/tls-nodebug-pie.c: New file.
5331 * gdb.threads/tls-nodebug-pie.exp: New file.
5333 2017-09-05 Tom Tromey <tom@tromey.com>
5335 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5338 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5340 * gdb.multi/multi-arch-exec.exp: Test with different
5341 "follow-exec-mode" settings.
5342 (do_test): New procedure.
5344 2017-09-04 Pedro Alves <palves@redhat.com>
5346 * gdb.base/func-static.c (S::method const, S::method volatile)
5347 (S::method volatile const): New methods.
5348 (c_s, v_s, cv_s): New instances.
5349 (main): Call method() on them.
5350 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5351 (cannot_resolve): New procedure.
5352 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5353 print-quote-unquoted columns.
5354 (do_test): Test printing each scope too.
5356 2017-09-04 Pedro Alves <palves@redhat.com>
5358 * gdb.base/local-static.exp: Also test with
5359 class::method::variable wholly quoted.
5360 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5362 2017-09-04 Pedro Alves <palves@redhat.com>
5364 * gdb.base/local-static.c: New.
5365 * gdb.base/local-static.cc: New.
5366 * gdb.base/local-static.exp: New.
5368 2017-09-04 Pedro Alves <palves@redhat.com>
5370 * gdb.asm/asm-source.exp: Add casts to int.
5371 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5372 (dataglobal64_1, dataglobal64_2): New globals.
5373 * gdb.base/nodebug.exp: Test different expressions involving the
5374 new globals, with print, whatis and ptype. Add casts to int.
5375 * gdb.base/solib-display.exp: Add casts to int.
5376 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5377 * gdb.cp/m-static.exp: Add cast to int.
5378 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5379 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5380 tls variable with no debug info without a cast. Test with a cast
5382 * gdb.trace/entry-values.exp: Add casts.
5384 2017-09-04 Pedro Alves <palves@redhat.com>
5386 * gdb.base/nodebug.exp: Test that ptype's error about functions
5387 with unknown return type includes the function name too.
5389 2017-09-04 Pedro Alves <palves@redhat.com>
5391 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5392 return type of munmap in infcall.
5393 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5394 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5395 type of ftell in infcall.
5396 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5397 type of getpid in infcall.
5398 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5400 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5401 Bail on failure to extract the pid.
5402 * gdb.base/nodebug.c: #include <stdint.h>.
5403 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5405 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5406 Change expected output of print/whatis/ptype with functions with
5407 no debug info. Test all supported languages. Call
5408 test_call_promotion.
5409 * gdb.compile/compile.exp: Adjust expected output to expect
5411 * gdb.threads/siginfo-threads.exp: Likewise.
5413 2017-09-04 Pedro Alves <palves@redhat.com>
5415 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5416 "prototypes". Test calling float functions via prototyped and
5417 unprototyped function pointers.
5418 (perform_all_tests): New parameter "prototypes". Pass it down.
5419 (top level): Pass down "prototypes" parameter to
5422 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5424 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5425 Test with nested loops.
5427 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5429 * gdb.base/commands.exp: Call the new procedures.
5430 (loop_break_test, loop_continue_test): New procedures.
5432 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5434 * gdb.base/commands.exp: Call new procedure.
5435 (define_if_without_arg_test): New procedure.
5437 2017-09-04 Pedro Alves <palves@redhat.com>
5439 * gdb.base/list-ambiguous.exp: New file.
5440 * gdb.base/list-ambiguous0.c: New file.
5441 * gdb.base/list-ambiguous1.c: New file.
5442 * gdb.base/list.exp (test_list_range): Adjust expected output.
5444 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5446 * gdb.base/share-env-with-gdbserver.c: New file.
5447 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5449 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5451 * gdb.base/commands.exp (gdbvar_simple_if_test,
5452 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5453 progvar_simple_if_test, progvar_simple_while_test,
5454 progvar_complex_if_while_test, user_defined_command_test,
5455 user_defined_command_args_eval,
5456 user_defined_command_args_stack_test,
5457 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5458 temporary_breakpoint_commands,
5459 gdb_test_no_prompt, redefine_hook_test,
5460 redefine_backtrace_test): Remove "global gdb_prompt".
5462 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5464 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5465 New proc, call it from toplevel.
5467 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5470 * gdb.server/normal.c: New file, copied from gdb.base.
5471 * gdb.server/run-without-local-binary.exp: New file.
5473 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5475 * gdb.arch/sparc64-adi.exp: New file.
5476 * gdb.arch/sparc64-adi.c: New file.
5478 2017-08-22 Pedro Alves <palves@redhat.com>
5480 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5481 (top level): Add "list all overloads" tests.
5483 2017-08-22 Tom Tromey <tom@tromey.com>
5485 * gdb.gdb/xfullpath.exp: Remove.
5487 2017-08-21 Pedro Alves <palves@redhat.com>
5490 * gdb.base/symbol-alias.c: New.
5491 * gdb.base/symbol-alias2.c: New.
5492 * gdb.base/symbol-alias.exp: New.
5494 2017-08-21 Pedro Alves <palves@redhat.com>
5496 * gdb.base/dfp-test.c
5497 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5498 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5499 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5500 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5501 * gdb.base/whatis-ptype-typedefs.c: New.
5502 * gdb.base/whatis-ptype-typedefs.exp: New.
5503 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5504 (an_int, an_int_type, an_int_type2): New globals.
5505 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5506 involving typedefs and cast expressions.
5507 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5508 (lookup_typedefs_function): New.
5509 (typedefs_pretty_printers_dict): New.
5510 (top level): Register lookup_typedefs_function in
5511 gdb.pretty_printers.
5513 2017-08-18 Yao Qi <yao.qi@linaro.org>
5515 * gdb.server/unittest.exp: New.
5517 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5520 * gdb.base/environ.exp: Add test to check if 'unset environment'
5523 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5525 * lib/gdb.exp (universal_compile_options): New caching proc.
5526 (gdb_compile): Suppress GCC's coloring of messages.
5528 2017-08-14 Tom Tromey <tom@tromey.com>
5531 * gdb.base/printcmds.exp (test_radices): New function.
5532 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5533 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5534 * lib/gdb.exp (get_integer_valueof): Use p/d.
5536 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5538 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5541 2017-08-05 Tom Tromey <tom@tromey.com>
5543 * gdb.rust/simple.exp: Allow String to appear in a different
5546 2017-07-26 Yao Qi <yao.qi@linaro.org>
5548 * gdb.gdb/unittest.exp: Invoke command
5549 "maintenance check xml-descriptions".
5551 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5553 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5555 (hex128): Drop erroneous calculation of parameters.
5557 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5559 * gdb.python/py-unwind.exp: Disable stack protection when
5562 2017-07-20 Pedro Alves <palves@redhat.com>
5564 * gdb.base/default.exp (set language): Adjust expected output.
5566 2017-07-20 Pedro Alves <palves@redhat.com>
5568 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5569 (test_minsym): ... this, and make static.
5570 (get_pck__foo__bar__minsym): Rename to ...
5571 (get_test_minsym): ... this.
5572 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5573 symbol names and comments.
5574 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5575 (get_test_minsym): ... this.
5576 (pck__foo__bar__minsym__2): Rename to ...
5577 (test_minsym): ... this.
5580 2017-07-17 Pedro Alves <palves@redhat.com>
5582 * gdb.base/completion.exp: Adjust expected output.
5583 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5584 the completer works.
5586 2017-07-17 Pedro Alves <palves@redhat.com>
5588 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5590 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5592 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5594 2017-07-14 Tom Tromey <tom@tromey.com>
5597 * gdb.rust/simple.exp: Add tests.
5599 2017-07-14 Tom Tromey <tom@tromey.com>
5601 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5603 2017-07-14 Pedro Alves <palves@redhat.com>
5605 * gdb.linespec/base/one/thefile.cc (z1): New function.
5606 * gdb.linespec/base/two/thefile.cc (z2): New function.
5607 * gdb.linespec/linespec.exp: Add tests.
5609 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5611 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5612 to mi_create_breakpoint.
5614 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5616 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5617 mi_create_breakpoint.
5619 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5621 * gdb.dlang/demangle.exp: Update for demangling changes.
5623 2017-07-09 Tom Tromey <tom@tromey.com>
5625 * gdb.dwarf2/shortpiece.exp: New file.
5627 2017-07-06 David Blaikie <dblaikie@gmail.com>
5629 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5630 built from fissiont-multi-cu{1,2}.c.
5631 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5632 except putting 'main' and 'func' in separate CUs in the same DWO file.
5633 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5635 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5638 2017-07-06 Pedro Alves <palves@redhat.com>
5640 * gdb.python/py-unwind.exp: Test flushregs.
5642 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5645 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5646 tests for alias commands and trailing whitespace.
5648 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5651 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5654 2017-06-29 Pedro Alves <palves@redhat.com>
5656 * gdb.base/printcmds.exp: Add tests.
5658 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5661 * gdb.base/reread-readsym.exp: New file.
5662 * gdb.base/reread-readsym.c: New file.
5664 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5666 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5669 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5671 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5673 * gdb.arch/powerpc-power9.s: Likewise.
5675 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5677 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5678 on 32-bit x86 targets. Exploit is_*_target macros where
5681 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5683 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5686 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5688 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5689 located in one or more DWARF pieces.
5691 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5693 * lib/gdb.exp (get_endianness): New proc.
5694 * gdb.arch/aarch64-fp.exp: Use it.
5695 * gdb.arch/altivec-regs.exp: Likewise.
5696 * gdb.arch/e500-regs.exp: Likewise.
5697 * gdb.arch/vsx-regs.exp: Likewise.
5698 * gdb.base/dump.exp: Likewise.
5699 * gdb.base/funcargs.exp: Likewise.
5700 * gdb.base/gnu_vector.exp: Likewise.
5701 * gdb.dwarf2/formdata16.exp: Likewise.
5702 * gdb.dwarf2/implptrpiece.exp: Likewise.
5703 * gdb.dwarf2/nonvar-access.exp: Likewise.
5704 * gdb.python/py-inferior.exp: Likewise.
5705 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5707 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5710 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5711 stack value pieces are taken from the LSB end.
5713 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5715 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5716 variable at nonzero offset.
5718 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5720 * gdb.dwarf2/var-access.c: New file.
5721 * gdb.dwarf2/var-access.exp: New test.
5722 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5724 2017-06-12 Tom Tromey <tom@tromey.com>
5726 * gdb.dwarf2/formdata16.exp: Add tests.
5728 2017-06-12 Tom Tromey <tom@tromey.com>
5730 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5732 2017-06-12 Tom Tromey <tom@tromey.com>
5735 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5736 * gdb.arch/vsx-regs.exp: Update tests.
5737 * gdb.arch/s390-vregs.exp (hex128): New proc.
5739 * gdb.arch/altivec-regs.exp: Update tests.
5741 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5743 * gdb.base/startup-with-shell.c: New file.
5744 * gdb.base/startup-with-shell.exp: Likewise.
5746 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5748 * gdb.server/non-existing-program.exp: Update regex in order to
5749 reflect the fact that gdbserver is now using fork_inferior (with a
5750 shell) to startup the inferior.
5752 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5754 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5755 support function calls from GDB.
5757 2017-05-21 Tom Tromey <tom@tromey.com>
5760 * gdb.rust/unsized.exp: New file.
5761 * gdb.rust/unsized.rs: New file.
5763 2017-05-19 Tom Tromey <tom@tromey.com>
5766 * gdb.rust/watch.exp: New file.
5767 * gdb.rust/watch.rs: New file.
5769 2017-05-18 Tom Tromey <tom@tromey.com>
5771 * gdb.rust/simple.exp: Allow Box to be qualified.
5773 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5775 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5777 2017-05-18 Pedro Alves <palves@redhat.com>
5779 * gdb.base/fileio.c (test_write, test_read, test_close)
5780 (test_fstat): Don't print 'ret' in the fail path.
5782 2017-05-18 Pedro Alves <palves@redhat.com>
5784 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5785 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5786 (test_system, test_rename, test_unlink, test_time): Change
5788 * gdb.base/fileio.exp (stop_msg): Adjust.
5790 2017-05-18 Pedro Alves <palves@redhat.com>
5792 * gdb.base/fileio.c (null_str): New global.
5793 (test_stat): Use it.
5794 * gdb.base/fileio.exp: Remove nowarnings.
5796 2017-05-17 Yao Qi <yao.qi@linaro.org>
5798 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5800 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5802 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5804 (top-level): Invoke test_set_inferior_tty.
5806 2017-05-04 Pedro Alves <palves@redhat.com>
5808 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5809 Add parens to print call for Python 3.
5811 2017-05-03 Keith Seitz <keiths@redhat.com>
5813 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5816 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5818 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5821 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5823 * gdb.python/py-record-btrace.exp: Remove test for
5824 gdb.BtraceInstruction.error.
5826 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5828 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5830 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5832 * gdb.python/py-record-btrace-threads.c: New file.
5833 * gdb.python/py-record-btrace-threads.exp: New file.
5835 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5838 * gdb.base/environ.exp: Make test available in all architectures.
5839 Move bits related to "info program" testing to
5840 gdb.base/info-program.exp. Rewrite tests to use the two new
5841 procedures mentione below.
5842 (test_set_show_env_var) New procedure.
5843 (test_set_show_env_var_equal): Likewise.
5844 * gdb.base/info-program.exp: New file.
5846 2017-04-27 Keith Seitz <keiths@redhat.com>
5848 * gdb.cp/oranking.cc (test15): New function.
5849 (main): Call test15 and declare additional variables for testing.
5850 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5851 "p foo101('abc')" tests.
5852 Add tests for cv qualifier overloads.
5853 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5854 "lvalue reference overload" test.
5855 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5856 "print value of f1 on Child&& in f2" test.
5858 2017-04-19 Pedro Alves <palves@redhat.com>
5860 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5862 (top level): Call it.
5863 * lib/gdb.exp (gdb_define_cmd): New procedure.
5865 2017-04-12 Pedro Alves <palves@redhat.com>
5868 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5869 (wchar): New global.
5870 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5871 (do_test_wide_char, wide_char_types_no_program, top level): Add
5874 2017-04-12 Pedro Alves <palves@redhat.com>
5877 * gdb.cp/wide_char_types.c: New file.
5878 * gdb.cp/wide_char_types.exp: New file.
5880 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5883 * gdb.trace/tsv.exp: Add test for "tsave -r".
5885 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5887 * gdb.dlang/watch-loc.c: New file.
5888 * gdb.dlang/watch-loc.exp: New file.
5890 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5892 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5894 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5896 * gdb.arch/arc-analyze-prologue.S: New file.
5897 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5899 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5901 * gdb.arch/arc-decode-insn.S: New file.
5902 * gdb.arch/arc-decode-insn.exp: Likewise.
5904 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5907 * gdb.arch/sparc64-regs.exp: New file.
5908 * gdb.arch/sparc64-regs.S: Likewise.
5910 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5912 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5913 and memory view on Python 3.
5915 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5916 Keith Seitz <keiths@redhat.com>
5919 * gdb.cp/demangle.exp: Add rvalue reference tests.
5920 * gdb.cp/rvalue-ref-casts.cc: New file.
5921 * gdb.cp/rvalue-ref-casts.exp: New file.
5922 * gdb.cp/rvalue-ref-overload.cc: New file.
5923 * gdb.cp/rvalue-ref-overload.exp: New file.
5924 * gdb.cp/rvalue-ref-params.cc: New file.
5925 * gdb.cp/rvalue-ref-params.exp: New file.
5926 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5927 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5928 * gdb.cp/rvalue-ref-types.cc: New file.
5929 * gdb.cp/rvalue-ref-types.exp: New file.
5930 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5931 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5933 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5935 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5938 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5940 * lib/mi-support.exp (mi_gdb_test): Add additional message
5941 for unexpected output.
5943 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5945 * gdb.base/examine-backward.c (Barrier): New character array
5946 constant, to ensure that TestStrings is preceded by a string
5949 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5951 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5952 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5953 and implicit pointer into such a location.
5955 2017-03-16 Doug Evans <dje@google.com>
5957 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5959 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5961 * gdb.cp/m-static.exp: Fix expectation for prototype of
5962 test5.single_constructor and single_constructor::single_constructor.
5964 2017-03-16 Doug Evans <dje@google.com>
5966 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5967 * gdb.guile/scm-lazy-string.c: New file.
5968 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5969 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5970 for pointer, array, typedef lazy strings.
5972 2017-03-16 Doug Evans <dje@google.com>
5974 PR python/17728, python/18439, python/18779
5975 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5976 * gdb.python/py-lazy-string.c (pointer): New typedef.
5977 (main): New locals ptr, array, typedef_ptr.
5978 * gdb.python/py-value.exp: Move lazy string tests to ...
5979 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5980 array, typedef lazy strings.
5982 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5984 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5985 Add optional 'test' parameter.
5987 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5989 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5990 Skip for versions of DejaGnu < 1.5.
5992 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5994 * lib/gdb.exp (dejagnu_version): New proc.
5995 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5996 Use dejagnu_version.
5998 2017-03-10 Keith Seitz <keiths@redhat.com>
6001 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6002 type from destructor regexps.
6003 Add a branch which actually passes the test.
6004 Adjust "ptype t5i" test names.
6006 2017-03-08 Pedro Alves <palves@redhat.com>
6008 * gdb.base/step-over-exit.exp: Add explicit test message.
6010 2017-03-08 Pedro Alves <palves@redhat.com>
6013 * gdb.threads/interrupt-while-step-over.c: New file.
6014 * gdb.threads/interrupt-while-step-over.exp: New file.
6016 2017-03-08 Pedro Alves <palves@redhat.com>
6018 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6019 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6021 2017-03-08 Pedro Alves <palves@redhat.com>
6023 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6024 PKRU as not supported as a PASS.
6026 2017-03-08 Pedro Alves <palves@redhat.com>
6028 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6029 prefix instead of $binfile1/$binfile2.
6030 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6032 * gdb.python/py-completion.exp: Use "load python file" as test
6033 messages instead of unstable path names.
6035 2017-03-08 Pedro Alves <palves@redhat.com>
6036 Jan Kratochvil <jan.kratochvil@redhat.com>
6039 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6041 (top level): Call it.
6043 2017-03-08 Pedro Alves <palves@redhat.com>
6046 * gdb.tui/tui-nl-filtered-output.exp: New file.
6048 2017-03-08 Pedro Alves <palves@redhat.com>
6050 * gdb.base/completion.exp: Move TUI completion tests to ...
6051 * gdb.tui/completion.exp: ... this new file.
6053 2017-03-08 Pedro Alves <palves@redhat.com>
6055 * gdb.base/tui-disasm-long-lines.c,
6056 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6057 gdb.base/tui-layout.exp: Move to ...
6058 * gdb.tui/: ... this new directory.
6060 2017-03-07 Pedro Alves <palves@redhat.com>
6062 * gdb.base/tui-layout.c: New file.
6063 * gdb.base/tui-layout.exp: New file.
6065 2017-03-07 Pedro Alves <palves@redhat.com>
6067 * gdb.base/tui-layout.c: Rename to ...
6068 * gdb.base/tui-disasm-long-lines.c: ... this.
6069 * gdb.base/tui-layout.exp: Rename to ...
6070 * gdb.base/tui-disasm-long-lines.exp: ... this.
6072 2017-03-07 Pedro Alves <palves@redhat.com>
6074 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6076 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6078 * i386-mpx-call.c: New file.
6079 * i386-mpx-call.exp: New file.
6081 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6083 * gdb.arch/powerpc-power.exp: Delete test.
6084 * gdb.arch/powerpc-power.s: Likewise.
6085 * gdb.disasm/disassembler-options.exp: New test.
6086 * gdb.arch/powerpc-altivec.exp: Likewise.
6087 * gdb.arch/powerpc-altivec.s: Likewise.
6088 * gdb.arch/powerpc-altivec2.exp: Likewise.
6089 * gdb.arch/powerpc-altivec2.s: Likewise.
6090 * gdb.arch/powerpc-altivec3.exp: Likewise.
6091 * gdb.arch/powerpc-altivec3.s: Likewise.
6092 * gdb.arch/powerpc-power7.exp: Likewise.
6093 * gdb.arch/powerpc-power7.s: Likewise.
6094 * gdb.arch/powerpc-power8.exp: Likewise.
6095 * gdb.arch/powerpc-power8.s: Likewise.
6096 * gdb.arch/powerpc-power9.exp: Likewise.
6097 * gdb.arch/powerpc-power9.s: Likewise.
6098 * gdb.arch/powerpc-vsx.exp: Likewise.
6099 * gdb.arch/powerpc-vsx.s: Likewise.
6100 * gdb.arch/powerpc-vsx2.exp: Likewise.
6101 * gdb.arch/powerpc-vsx2.s: Likewise.
6102 * gdb.arch/powerpc-vsx3.exp: Likewise.
6103 * gdb.arch/powerpc-vsx3.s: Likewise.
6104 * gdb.arch/arm-disassembler-options.exp: Likewise.
6105 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6106 * gdb.arch/s390-disassembler-options.exp: Likewise.
6108 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6110 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6111 (check_supported_features): ... this. Changed return type to void.
6112 (supports_rdseed): New static global.
6113 (rdseed): Check supports_rdseed.
6114 (initialize): Call check_supported_features.
6116 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6118 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6119 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6121 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6122 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6124 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6126 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6129 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6131 * gdb.dwarf2/formdata16.c: New file.
6132 * gdb.dwarf2/formdata16.exp: New file.
6133 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6135 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6137 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6138 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6139 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6140 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6143 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6145 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6147 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6150 * gdb.base/maint.exp: Add testcases for when the commands do
6153 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6155 * gdb.cp/chained-calls.exp: Use p instead of P.
6157 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6159 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6160 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6162 2017-02-14 Tom Tromey <tom@tromey.com>
6165 * gdb.python/py-events.exp: Add before_prompt event tests.
6167 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6169 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6171 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6173 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6174 (main): Call my_unique_function_name.
6175 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6176 completion of patterns with a single match.
6177 Add missing -re switches to gdb_test_multiple calls.
6179 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6181 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6182 return if core file is not recognized.
6184 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6186 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6189 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6191 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6194 2017-02-10 Tom Tromey <tom@tromey.com>
6196 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6198 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6201 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6203 2017-02-08 Jerome Guitton <guitton@adacore.com>
6205 * gdb.base/define.exp: Add test for command abbreviations
6208 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6210 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6211 * gdb.reverse/insn-reverse-x86.c: New file.
6213 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6216 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6218 2017-02-03 Tom Tromey <tom@tromey.com>
6221 * gdb.rust/simple.exp: Add new tests.
6223 2017-02-02 Pedro Alves <palves@redhat.com>
6225 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6228 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6230 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6231 taking a 2-byte value out of a 4-byte DWARF implicit value on
6233 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6234 logic. Add test cases for DW_OP_implicit.
6236 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6238 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6240 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6242 * gdb.btrace/enable.exp: Call gdb_exit before
6243 skip_gdbserver_tests.
6245 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6247 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6250 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6252 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6253 the test is skipped.
6254 * gdb.btrace/data.exp: Likewise.
6255 * gdb.btrace/delta.exp: Likewise.
6256 * gdb.btrace/dlopen.exp: Likewise.
6257 * gdb.btrace/enable-running.exp: Likewise.
6258 * gdb.btrace/enable.exp: Likewise.
6259 * gdb.btrace/exception.exp: Likewise.
6260 * gdb.btrace/function_call_history.exp: Likewise.
6261 * gdb.btrace/gcore.exp: Likewise.
6262 * gdb.btrace/instruction_history.exp: Likewise.
6263 * gdb.btrace/multi-thread-step.exp: Likewise.
6264 * gdb.btrace/nohist.exp: Likewise.
6265 * gdb.btrace/non-stop.exp: Likewise.
6266 * gdb.btrace/reconnect.exp: Likewise.
6267 * gdb.btrace/record_goto-step.exp: Likewise.
6268 * gdb.btrace/record_goto.exp: Likewise.
6269 * gdb.btrace/rn-dl-bind.exp: Likewise.
6270 * gdb.btrace/segv.exp: Likewise.
6271 * gdb.btrace/step.exp: Likewise.
6272 * gdb.btrace/stepi.exp: Likewise.
6273 * gdb.btrace/tailcall-only.exp: Likewise.
6274 * gdb.btrace/tailcall.exp: Likewise.
6275 * gdb.btrace/tsx.exp: Likewise.
6276 * gdb.btrace/unknown_functions.exp: Likewise.
6277 * gdb.btrace/vdso.exp: Likewise.
6279 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6281 * gdb.btrace/enable-running.c: New.
6282 * gdb.btrace/enable-running.exp: New.
6284 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6286 * gdb.arch/amd64-gs_base.c: New file.
6287 * gdb.arch/amd64-gs_base.exp: New file.
6289 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6291 * lib/memory.exp: Remove spurious empty newlines.
6293 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6295 * gdb.python/py-bad-printers.exp: Load python file using "source".
6296 * gdb.python/py-events.exp: Likewise.
6297 * gdb.python/py-evsignal.exp: Likewise.
6298 * gdb.python/py-evthreads.exp: Likewise.
6299 * gdb.python/py-frame-args.exp: Likewise.
6300 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6301 * gdb.python/py-framefilter-mi.exp: Likewise.
6302 * gdb.python/py-framefilter.exp: Likewise.
6303 * gdb.python/py-mi.exp: Likewise.
6304 * gdb.python/py-pp-maint.exp: Likewise.
6305 * gdb.python/py-pp-registration.exp: Likewise.
6306 * gdb.python/py-prettyprint.exp: Likewise.
6307 (run_lang_tests): Likewise.
6308 * gdb.python/py-typeprint.exp: Likewise.
6310 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6312 * lib/memory.exp: New file.
6313 * lib/gdb.exp: Load memory.exp.
6314 * gdb.base/memattr.exp (delete_memory): Move proc to
6315 lib/memory.exp and rename to delete_memory_regions.
6316 Replace delete_memory with delete_memory_regions.
6317 Cleanup memory regions before tests.
6318 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6321 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6323 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6325 (initialize): New function conditionally defined.
6326 (testcases): Move within conditional block.
6327 (main): Call initialize.
6328 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6329 of gdb.reverse/insn-reverse.c.
6330 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6331 gdb.reverse/insn-reverse.c.
6333 2017-01-26 Yao Qi <yao.qi@linaro.org>
6335 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6336 disassemble on address 0.
6338 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6339 Yao Qi <yao.qi@linaro.org>
6341 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6342 * gdb.dwarf2/implptr-64bit.S: Remove.
6343 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6344 variables in caller's context. Add DW_OP_implicit_value.
6346 2017-01-25 Yao Qi <yao.qi@linaro.org>
6348 * lib/dwarf.exp (Dwarf::_location): Handle
6349 DW_OP_GNU_implicit_pointer with proper size.
6351 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6353 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6354 and add untested calls.
6356 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6358 * gdb.python/python.exp: Check line number against what GDB thinks
6359 the line number is for func1.
6361 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6363 * gdb.dlang/debug-expr.exp: New file.
6365 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6367 Fix test names for the following files:
6369 * gdb.ada/exec_changed.exp
6370 * gdb.ada/info_types.exp
6371 * gdb.arch/aarch64-atomic-inst.exp
6372 * gdb.arch/aarch64-fp.exp
6373 * gdb.arch/altivec-abi.exp
6374 * gdb.arch/altivec-regs.exp
6375 * gdb.arch/amd64-byte.exp
6376 * gdb.arch/amd64-disp-step.exp
6377 * gdb.arch/amd64-dword.exp
6378 * gdb.arch/amd64-entry-value-inline.exp
6379 * gdb.arch/amd64-entry-value-param.exp
6380 * gdb.arch/amd64-entry-value-paramref.exp
6381 * gdb.arch/amd64-entry-value.exp
6382 * gdb.arch/amd64-i386-address.exp
6383 * gdb.arch/amd64-invalid-stack-middle.exp
6384 * gdb.arch/amd64-invalid-stack-top.exp
6385 * gdb.arch/amd64-optimout-repeat.exp
6386 * gdb.arch/amd64-prologue-skip.exp
6387 * gdb.arch/amd64-prologue-xmm.exp
6388 * gdb.arch/amd64-stap-special-operands.exp
6389 * gdb.arch/amd64-stap-wrong-subexp.exp
6390 * gdb.arch/amd64-tailcall-cxx.exp
6391 * gdb.arch/amd64-tailcall-noret.exp
6392 * gdb.arch/amd64-tailcall-ret.exp
6393 * gdb.arch/amd64-tailcall-self.exp
6394 * gdb.arch/amd64-word.exp
6395 * gdb.arch/arm-bl-branch-dest.exp
6396 * gdb.arch/arm-disp-step.exp
6397 * gdb.arch/arm-neon.exp
6398 * gdb.arch/arm-single-step-kernel-helper.exp
6399 * gdb.arch/avr-flash-qualifier.exp
6400 * gdb.arch/disp-step-insn-reloc.exp
6401 * gdb.arch/e500-abi.exp
6402 * gdb.arch/e500-regs.exp
6403 * gdb.arch/ftrace-insn-reloc.exp
6404 * gdb.arch/i386-avx512.exp
6405 * gdb.arch/i386-bp_permanent.exp
6406 * gdb.arch/i386-byte.exp
6407 * gdb.arch/i386-cfi-notcurrent.exp
6408 * gdb.arch/i386-disp-step.exp
6409 * gdb.arch/i386-dr3-watch.exp
6410 * gdb.arch/i386-float.exp
6411 * gdb.arch/i386-gnu-cfi.exp
6412 * gdb.arch/i386-mpx-map.exp
6413 * gdb.arch/i386-mpx-sigsegv.exp
6414 * gdb.arch/i386-mpx-simple_segv.exp
6415 * gdb.arch/i386-mpx.exp
6416 * gdb.arch/i386-permbkpt.exp
6417 * gdb.arch/i386-prologue.exp
6418 * gdb.arch/i386-signal.exp
6419 * gdb.arch/i386-size-overlap.exp
6420 * gdb.arch/i386-unwind.exp
6421 * gdb.arch/i386-word.exp
6422 * gdb.arch/mips-fcr.exp
6423 * gdb.arch/powerpc-d128-regs.exp
6424 * gdb.arch/powerpc-stackless.exp
6425 * gdb.arch/ppc64-atomic-inst.exp
6426 * gdb.arch/s390-stackless.exp
6427 * gdb.arch/s390-tdbregs.exp
6428 * gdb.arch/s390-vregs.exp
6429 * gdb.arch/sparc-sysstep.exp
6430 * gdb.arch/thumb-bx-pc.exp
6431 * gdb.arch/thumb-singlestep.exp
6432 * gdb.arch/thumb2-it.exp
6433 * gdb.arch/vsx-regs.exp
6434 * gdb.asm/asm-source.exp
6435 * gdb.base/a2-run.exp
6436 * gdb.base/advance.exp
6437 * gdb.base/all-bin.exp
6440 * gdb.base/arithmet.exp
6441 * gdb.base/async-shell.exp
6442 * gdb.base/async.exp
6443 * gdb.base/attach-pie-noexec.exp
6444 * gdb.base/attach-twice.exp
6445 * gdb.base/auto-load.exp
6447 * gdb.base/bitfields.exp
6448 * gdb.base/break-always.exp
6449 * gdb.base/break-caller-line.exp
6450 * gdb.base/break-entry.exp
6451 * gdb.base/break-inline.exp
6452 * gdb.base/break-on-linker-gcd-function.exp
6453 * gdb.base/break-probes.exp
6454 * gdb.base/break.exp
6455 * gdb.base/breakpoint-shadow.exp
6456 * gdb.base/call-ar-st.exp
6457 * gdb.base/call-sc.exp
6458 * gdb.base/call-signal-resume.exp
6459 * gdb.base/call-strs.exp
6460 * gdb.base/callfuncs.exp
6461 * gdb.base/catch-fork-static.exp
6462 * gdb.base/catch-gdb-caused-signals.exp
6463 * gdb.base/catch-load.exp
6464 * gdb.base/catch-signal-fork.exp
6465 * gdb.base/catch-signal.exp
6466 * gdb.base/catch-syscall.exp
6467 * gdb.base/charset.exp
6468 * gdb.base/checkpoint.exp
6469 * gdb.base/chng-syms.exp
6470 * gdb.base/code-expr.exp
6471 * gdb.base/code_elim.exp
6472 * gdb.base/commands.exp
6473 * gdb.base/completion.exp
6474 * gdb.base/complex.exp
6475 * gdb.base/cond-expr.exp
6476 * gdb.base/condbreak.exp
6477 * gdb.base/consecutive.exp
6478 * gdb.base/continue-all-already-running.exp
6479 * gdb.base/coredump-filter.exp
6480 * gdb.base/corefile.exp
6482 * gdb.base/debug-expr.exp
6483 * gdb.base/define.exp
6485 * gdb.base/disabled-location.exp
6486 * gdb.base/disasm-end-cu.exp
6487 * gdb.base/disasm-optim.exp
6488 * gdb.base/display.exp
6489 * gdb.base/duplicate-bp.exp
6490 * gdb.base/ena-dis-br.exp
6491 * gdb.base/ending-run.exp
6492 * gdb.base/enumval.exp
6493 * gdb.base/environ.exp
6494 * gdb.base/eu-strip-infcall.exp
6495 * gdb.base/eval-avoid-side-effects.exp
6496 * gdb.base/eval-skip.exp
6497 * gdb.base/exitsignal.exp
6498 * gdb.base/expand-psymtabs.exp
6499 * gdb.base/filesym.exp
6500 * gdb.base/find-unmapped.exp
6501 * gdb.base/finish.exp
6502 * gdb.base/float.exp
6503 * gdb.base/foll-exec-mode.exp
6504 * gdb.base/foll-exec.exp
6505 * gdb.base/foll-fork.exp
6506 * gdb.base/fortran-sym-case.exp
6507 * gdb.base/freebpcmd.exp
6508 * gdb.base/func-ptr.exp
6509 * gdb.base/func-ptrs.exp
6510 * gdb.base/funcargs.exp
6511 * gdb.base/gcore-buffer-overflow.exp
6512 * gdb.base/gcore-relro-pie.exp
6513 * gdb.base/gcore-relro.exp
6514 * gdb.base/gcore.exp
6515 * gdb.base/gdb1090.exp
6516 * gdb.base/gdb11530.exp
6517 * gdb.base/gdb11531.exp
6518 * gdb.base/gdb1821.exp
6519 * gdb.base/gdbindex-stabs.exp
6520 * gdb.base/gdbvars.exp
6521 * gdb.base/hbreak.exp
6522 * gdb.base/hbreak2.exp
6523 * gdb.base/included.exp
6524 * gdb.base/infcall-input.exp
6525 * gdb.base/inferior-died.exp
6526 * gdb.base/infnan.exp
6527 * gdb.base/info-macros.exp
6528 * gdb.base/info-os.exp
6529 * gdb.base/info-proc.exp
6530 * gdb.base/info-shared.exp
6531 * gdb.base/info-target.exp
6532 * gdb.base/infoline.exp
6533 * gdb.base/interp.exp
6534 * gdb.base/interrupt.exp
6535 * gdb.base/jit-reader.exp
6536 * gdb.base/jit-simple.exp
6537 * gdb.base/kill-after-signal.exp
6538 * gdb.base/kill-detach-inferiors-cmd.exp
6539 * gdb.base/label.exp
6540 * gdb.base/langs.exp
6541 * gdb.base/ldbl_e308.exp
6542 * gdb.base/line-symtabs.exp
6543 * gdb.base/linespecs.exp
6545 * gdb.base/long_long.exp
6546 * gdb.base/longest-types.exp
6547 * gdb.base/maint.exp
6548 * gdb.base/max-value-size.exp
6549 * gdb.base/memattr.exp
6550 * gdb.base/mips_pro.exp
6551 * gdb.base/morestack.exp
6552 * gdb.base/moribund-step.exp
6553 * gdb.base/multi-forks.exp
6554 * gdb.base/nested-addr.exp
6555 * gdb.base/nextoverexit.exp
6556 * gdb.base/noreturn-finish.exp
6557 * gdb.base/noreturn-return.exp
6558 * gdb.base/nostdlib.exp
6559 * gdb.base/offsets.exp
6560 * gdb.base/opaque.exp
6561 * gdb.base/pc-fp.exp
6562 * gdb.base/permissions.exp
6563 * gdb.base/print-symbol-loading.exp
6564 * gdb.base/prologue-include.exp
6565 * gdb.base/psymtab.exp
6566 * gdb.base/ptype.exp
6567 * gdb.base/random-signal.exp
6568 * gdb.base/randomize.exp
6569 * gdb.base/range-stepping.exp
6570 * gdb.base/readline-ask.exp
6571 * gdb.base/recpar.exp
6572 * gdb.base/recurse.exp
6573 * gdb.base/relational.exp
6574 * gdb.base/restore.exp
6575 * gdb.base/return-nodebug.exp
6576 * gdb.base/return.exp
6577 * gdb.base/run-after-attach.exp
6578 * gdb.base/save-bp.exp
6579 * gdb.base/scope.exp
6580 * gdb.base/sect-cmd.exp
6581 * gdb.base/set-lang-auto.exp
6582 * gdb.base/set-noassign.exp
6583 * gdb.base/setvar.exp
6584 * gdb.base/sigall.exp
6585 * gdb.base/sigbpt.exp
6586 * gdb.base/siginfo-addr.exp
6587 * gdb.base/siginfo-infcall.exp
6588 * gdb.base/siginfo-obj.exp
6589 * gdb.base/siginfo.exp
6590 * gdb.base/signals-state-child.exp
6591 * gdb.base/signest.exp
6592 * gdb.base/sigstep.exp
6593 * gdb.base/sizeof.exp
6595 * gdb.base/solib-corrupted.exp
6596 * gdb.base/solib-nodir.exp
6597 * gdb.base/solib-search.exp
6598 * gdb.base/stack-checking.exp
6599 * gdb.base/stale-infcall.exp
6600 * gdb.base/stap-probe.exp
6601 * gdb.base/start.exp
6602 * gdb.base/step-break.exp
6603 * gdb.base/step-bt.exp
6604 * gdb.base/step-line.exp
6605 * gdb.base/step-over-exit.exp
6606 * gdb.base/step-over-syscall.exp
6607 * gdb.base/step-resume-infcall.exp
6608 * gdb.base/step-test.exp
6609 * gdb.base/store.exp
6610 * gdb.base/structs3.exp
6611 * gdb.base/sym-file.exp
6612 * gdb.base/symbol-without-target_section.exp
6614 * gdb.base/testenv.exp
6615 * gdb.base/ui-redirect.exp
6616 * gdb.base/until.exp
6617 * gdb.base/unwindonsignal.exp
6618 * gdb.base/value-double-free.exp
6619 * gdb.base/vla-datatypes.exp
6620 * gdb.base/vla-ptr.exp
6621 * gdb.base/vla-sideeffect.exp
6622 * gdb.base/volatile.exp
6623 * gdb.base/watch-cond-infcall.exp
6624 * gdb.base/watch-cond.exp
6625 * gdb.base/watch-non-mem.exp
6626 * gdb.base/watch-read.exp
6627 * gdb.base/watch-vfork.exp
6628 * gdb.base/watchpoint-cond-gone.exp
6629 * gdb.base/watchpoint-delete.exp
6630 * gdb.base/watchpoint-hw-hit-once.exp
6631 * gdb.base/watchpoint-hw.exp
6632 * gdb.base/watchpoint-stops-at-right-insn.exp
6633 * gdb.base/watchpoints.exp
6634 * gdb.base/wchar.exp
6635 * gdb.base/whatis-exp.exp
6636 * gdb.btrace/buffer-size.exp
6637 * gdb.btrace/data.exp
6638 * gdb.btrace/delta.exp
6639 * gdb.btrace/dlopen.exp
6640 * gdb.btrace/enable.exp
6641 * gdb.btrace/exception.exp
6642 * gdb.btrace/function_call_history.exp
6643 * gdb.btrace/gcore.exp
6644 * gdb.btrace/instruction_history.exp
6645 * gdb.btrace/nohist.exp
6646 * gdb.btrace/reconnect.exp
6647 * gdb.btrace/record_goto-step.exp
6648 * gdb.btrace/record_goto.exp
6649 * gdb.btrace/rn-dl-bind.exp
6650 * gdb.btrace/segv.exp
6651 * gdb.btrace/step.exp
6652 * gdb.btrace/stepi.exp
6653 * gdb.btrace/tailcall-only.exp
6654 * gdb.btrace/tailcall.exp
6655 * gdb.btrace/tsx.exp
6656 * gdb.btrace/unknown_functions.exp
6657 * gdb.btrace/vdso.exp
6658 * gdb.compile/compile-ifunc.exp
6659 * gdb.compile/compile-ops.exp
6660 * gdb.compile/compile-print.exp
6661 * gdb.compile/compile-setjmp.exp
6662 * gdb.cp/abstract-origin.exp
6663 * gdb.cp/ambiguous.exp
6664 * gdb.cp/annota2.exp
6665 * gdb.cp/annota3.exp
6666 * gdb.cp/anon-ns.exp
6667 * gdb.cp/anon-struct.exp
6668 * gdb.cp/anon-union.exp
6669 * gdb.cp/arg-reference.exp
6670 * gdb.cp/baseenum.exp
6672 * gdb.cp/breakpoint.exp
6673 * gdb.cp/bs15503.exp
6676 * gdb.cp/chained-calls.exp
6678 * gdb.cp/classes.exp
6679 * gdb.cp/cmpd-minsyms.exp
6680 * gdb.cp/converts.exp
6681 * gdb.cp/cp-relocate.exp
6682 * gdb.cp/cpcompletion.exp
6683 * gdb.cp/cpexprs.exp
6684 * gdb.cp/cplabel.exp
6685 * gdb.cp/cplusfuncs.exp
6686 * gdb.cp/cpsizeof.exp
6688 * gdb.cp/derivation.exp
6689 * gdb.cp/destrprint.exp
6690 * gdb.cp/dispcxx.exp
6691 * gdb.cp/enum-class.exp
6692 * gdb.cp/exception.exp
6693 * gdb.cp/exceptprint.exp
6694 * gdb.cp/expand-psymtabs-cxx.exp
6695 * gdb.cp/expand-sals.exp
6696 * gdb.cp/extern-c.exp
6697 * gdb.cp/filename.exp
6698 * gdb.cp/formatted-ref.exp
6699 * gdb.cp/fpointer.exp
6700 * gdb.cp/gdb1355.exp
6701 * gdb.cp/gdb2495.exp
6703 * gdb.cp/impl-this.exp
6704 * gdb.cp/infcall-dlopen.exp
6705 * gdb.cp/inherit.exp
6706 * gdb.cp/iostream.exp
6710 * gdb.cp/m-static.exp
6711 * gdb.cp/mb-ctor.exp
6712 * gdb.cp/mb-inline.exp
6713 * gdb.cp/mb-templates.exp
6714 * gdb.cp/member-name.exp
6715 * gdb.cp/member-ptr.exp
6716 * gdb.cp/meth-typedefs.exp
6718 * gdb.cp/method2.exp
6719 * gdb.cp/minsym-fallback.exp
6721 * gdb.cp/namelessclass.exp
6722 * gdb.cp/namespace-enum.exp
6723 * gdb.cp/namespace-nested-import.exp
6724 * gdb.cp/namespace.exp
6725 * gdb.cp/nextoverthrow.exp
6726 * gdb.cp/no-dmgl-verbose.exp
6727 * gdb.cp/non-trivial-retval.exp
6728 * gdb.cp/noparam.exp
6730 * gdb.cp/nsimport.exp
6731 * gdb.cp/nsnested.exp
6732 * gdb.cp/nsnoimports.exp
6733 * gdb.cp/nsrecurs.exp
6734 * gdb.cp/nsstress.exp
6735 * gdb.cp/nsusing.exp
6736 * gdb.cp/operator.exp
6737 * gdb.cp/oranking.exp
6738 * gdb.cp/overload-const.exp
6739 * gdb.cp/overload.exp
6740 * gdb.cp/ovldbreak.exp
6742 * gdb.cp/paren-type.exp
6743 * gdb.cp/parse-lang.exp
6744 * gdb.cp/pass-by-ref.exp
6745 * gdb.cp/pr-1023.exp
6746 * gdb.cp/pr-1210.exp
6748 * gdb.cp/pr10687.exp
6749 * gdb.cp/pr12028.exp
6750 * gdb.cp/pr17132.exp
6751 * gdb.cp/pr17494.exp
6755 * gdb.cp/printmethod.exp
6757 * gdb.cp/psymtab-parameter.exp
6758 * gdb.cp/ptype-cv-cp.exp
6759 * gdb.cp/ptype-flags.exp
6760 * gdb.cp/re-set-overloaded.exp
6761 * gdb.cp/ref-types.exp
6763 * gdb.cp/scope-err.exp
6766 * gdb.cp/static-method.exp
6767 * gdb.cp/static-print-quit.exp
6768 * gdb.cp/temargs.exp
6769 * gdb.cp/templates.exp
6770 * gdb.cp/try_catch.exp
6771 * gdb.cp/typedef-operator.exp
6773 * gdb.cp/userdef.exp
6774 * gdb.cp/using-crash.exp
6775 * gdb.cp/var-tag.exp
6776 * gdb.cp/virtbase.exp
6777 * gdb.cp/virtfunc.exp
6778 * gdb.cp/virtfunc2.exp
6779 * gdb.cp/vla-cxx.exp
6780 * gdb.disasm/t01_mov.exp
6781 * gdb.disasm/t02_mova.exp
6782 * gdb.disasm/t03_add.exp
6783 * gdb.disasm/t04_sub.exp
6784 * gdb.disasm/t05_cmp.exp
6785 * gdb.disasm/t06_ari2.exp
6786 * gdb.disasm/t07_ari3.exp
6787 * gdb.disasm/t08_or.exp
6788 * gdb.disasm/t09_xor.exp
6789 * gdb.disasm/t10_and.exp
6790 * gdb.disasm/t11_logs.exp
6791 * gdb.disasm/t12_bit.exp
6792 * gdb.disasm/t13_otr.exp
6793 * gdb.dlang/circular.exp
6794 * gdb.dwarf2/arr-stride.exp
6795 * gdb.dwarf2/arr-subrange.exp
6796 * gdb.dwarf2/atomic-type.exp
6797 * gdb.dwarf2/bad-regnum.exp
6798 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6799 * gdb.dwarf2/callframecfa.exp
6800 * gdb.dwarf2/clztest.exp
6801 * gdb.dwarf2/corrupt.exp
6802 * gdb.dwarf2/data-loc.exp
6803 * gdb.dwarf2/dup-psym.exp
6804 * gdb.dwarf2/dw2-anon-mptr.exp
6805 * gdb.dwarf2/dw2-anonymous-func.exp
6806 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6807 * gdb.dwarf2/dw2-bad-unresolved.exp
6808 * gdb.dwarf2/dw2-basic.exp
6809 * gdb.dwarf2/dw2-canonicalize-type.exp
6810 * gdb.dwarf2/dw2-case-insensitive.exp
6811 * gdb.dwarf2/dw2-common-block.exp
6812 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6813 * gdb.dwarf2/dw2-compressed.exp
6814 * gdb.dwarf2/dw2-const.exp
6815 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6816 * gdb.dwarf2/dw2-cu-size.exp
6817 * gdb.dwarf2/dw2-dup-frame.exp
6818 * gdb.dwarf2/dw2-entry-value.exp
6819 * gdb.dwarf2/dw2-icycle.exp
6820 * gdb.dwarf2/dw2-ifort-parameter.exp
6821 * gdb.dwarf2/dw2-inline-break.exp
6822 * gdb.dwarf2/dw2-inline-param.exp
6823 * gdb.dwarf2/dw2-intercu.exp
6824 * gdb.dwarf2/dw2-intermix.exp
6825 * gdb.dwarf2/dw2-lexical-block-bare.exp
6826 * gdb.dwarf2/dw2-linkage-name-trust.exp
6827 * gdb.dwarf2/dw2-minsym-in-cu.exp
6828 * gdb.dwarf2/dw2-noloc.exp
6829 * gdb.dwarf2/dw2-op-call.exp
6830 * gdb.dwarf2/dw2-op-out-param.exp
6831 * gdb.dwarf2/dw2-opt-structptr.exp
6832 * gdb.dwarf2/dw2-param-error.exp
6833 * gdb.dwarf2/dw2-producer.exp
6834 * gdb.dwarf2/dw2-ranges-base.exp
6835 * gdb.dwarf2/dw2-ref-missing-frame.exp
6836 * gdb.dwarf2/dw2-reg-undefined.exp
6837 * gdb.dwarf2/dw2-regno-invalid.exp
6838 * gdb.dwarf2/dw2-restore.exp
6839 * gdb.dwarf2/dw2-restrict.exp
6840 * gdb.dwarf2/dw2-single-line-discriminators.exp
6841 * gdb.dwarf2/dw2-strp.exp
6842 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6843 * gdb.dwarf2/dw2-unresolved.exp
6844 * gdb.dwarf2/dw2-var-zero-addr.exp
6845 * gdb.dwarf2/dw4-sig-types.exp
6846 * gdb.dwarf2/dwz.exp
6847 * gdb.dwarf2/dynarr-ptr.exp
6848 * gdb.dwarf2/enum-type.exp
6849 * gdb.dwarf2/gdb-index.exp
6850 * gdb.dwarf2/implptr-64bit.exp
6851 * gdb.dwarf2/implptr-optimized-out.exp
6852 * gdb.dwarf2/implptr.exp
6853 * gdb.dwarf2/implref-array.exp
6854 * gdb.dwarf2/implref-const.exp
6855 * gdb.dwarf2/implref-global.exp
6856 * gdb.dwarf2/implref-struct.exp
6857 * gdb.dwarf2/mac-fileno.exp
6858 * gdb.dwarf2/main-subprogram.exp
6859 * gdb.dwarf2/member-ptr-forwardref.exp
6860 * gdb.dwarf2/method-ptr.exp
6861 * gdb.dwarf2/missing-sig-type.exp
6862 * gdb.dwarf2/nonvar-access.exp
6863 * gdb.dwarf2/opaque-type-lookup.exp
6864 * gdb.dwarf2/pieces-optimized-out.exp
6865 * gdb.dwarf2/pieces.exp
6866 * gdb.dwarf2/pr10770.exp
6867 * gdb.dwarf2/pr13961.exp
6868 * gdb.dwarf2/staticvirtual.exp
6869 * gdb.dwarf2/subrange.exp
6870 * gdb.dwarf2/symtab-producer.exp
6871 * gdb.dwarf2/trace-crash.exp
6872 * gdb.dwarf2/typeddwarf.exp
6873 * gdb.dwarf2/valop.exp
6874 * gdb.dwarf2/watch-notconst.exp
6875 * gdb.fortran/array-element.exp
6876 * gdb.fortran/charset.exp
6877 * gdb.fortran/common-block.exp
6878 * gdb.fortran/complex.exp
6879 * gdb.fortran/derived-type-function.exp
6880 * gdb.fortran/derived-type.exp
6881 * gdb.fortran/logical.exp
6882 * gdb.fortran/module.exp
6883 * gdb.fortran/multi-dim.exp
6884 * gdb.fortran/nested-funcs.exp
6885 * gdb.fortran/print-formatted.exp
6886 * gdb.fortran/subarray.exp
6887 * gdb.fortran/vla-alloc-assoc.exp
6888 * gdb.fortran/vla-datatypes.exp
6889 * gdb.fortran/vla-history.exp
6890 * gdb.fortran/vla-ptr-info.exp
6891 * gdb.fortran/vla-ptype-sub.exp
6892 * gdb.fortran/vla-ptype.exp
6893 * gdb.fortran/vla-sizeof.exp
6894 * gdb.fortran/vla-type.exp
6895 * gdb.fortran/vla-value-sub-arbitrary.exp
6896 * gdb.fortran/vla-value-sub-finish.exp
6897 * gdb.fortran/vla-value-sub.exp
6898 * gdb.fortran/vla-value.exp
6899 * gdb.fortran/whatis_type.exp
6901 * gdb.go/handcall.exp
6903 * gdb.go/integers.exp
6904 * gdb.go/methods.exp
6905 * gdb.go/package.exp
6906 * gdb.go/strings.exp
6909 * gdb.guile/scm-arch.exp
6910 * gdb.guile/scm-block.exp
6911 * gdb.guile/scm-breakpoint.exp
6912 * gdb.guile/scm-cmd.exp
6913 * gdb.guile/scm-disasm.exp
6914 * gdb.guile/scm-equal.exp
6915 * gdb.guile/scm-frame-args.exp
6916 * gdb.guile/scm-frame-inline.exp
6917 * gdb.guile/scm-frame.exp
6918 * gdb.guile/scm-iterator.exp
6919 * gdb.guile/scm-math.exp
6920 * gdb.guile/scm-objfile.exp
6921 * gdb.guile/scm-ports.exp
6922 * gdb.guile/scm-symbol.exp
6923 * gdb.guile/scm-symtab.exp
6924 * gdb.guile/scm-value-cc.exp
6925 * gdb.guile/types-module.exp
6926 * gdb.linespec/break-ask.exp
6927 * gdb.linespec/cpexplicit.exp
6928 * gdb.linespec/explicit.exp
6929 * gdb.linespec/keywords.exp
6930 * gdb.linespec/linespec.exp
6931 * gdb.linespec/ls-dollar.exp
6932 * gdb.linespec/ls-errs.exp
6933 * gdb.linespec/skip-two.exp
6934 * gdb.linespec/thread.exp
6935 * gdb.mi/mi-async.exp
6936 * gdb.mi/mi-basics.exp
6937 * gdb.mi/mi-break.exp
6938 * gdb.mi/mi-catch-load.exp
6940 * gdb.mi/mi-cmd-param-changed.exp
6941 * gdb.mi/mi-console.exp
6942 * gdb.mi/mi-detach.exp
6943 * gdb.mi/mi-disassemble.exp
6944 * gdb.mi/mi-eval.exp
6945 * gdb.mi/mi-file-transfer.exp
6946 * gdb.mi/mi-file.exp
6947 * gdb.mi/mi-fill-memory.exp
6948 * gdb.mi/mi-inheritance-syntax-error.exp
6949 * gdb.mi/mi-linespec-err-cp.exp
6950 * gdb.mi/mi-logging.exp
6951 * gdb.mi/mi-memory-changed.exp
6952 * gdb.mi/mi-read-memory.exp
6953 * gdb.mi/mi-record-changed.exp
6954 * gdb.mi/mi-reg-undefined.exp
6955 * gdb.mi/mi-regs.exp
6956 * gdb.mi/mi-return.exp
6957 * gdb.mi/mi-reverse.exp
6958 * gdb.mi/mi-simplerun.exp
6959 * gdb.mi/mi-solib.exp
6960 * gdb.mi/mi-stack.exp
6961 * gdb.mi/mi-stepi.exp
6962 * gdb.mi/mi-syn-frame.exp
6963 * gdb.mi/mi-until.exp
6964 * gdb.mi/mi-var-block.exp
6965 * gdb.mi/mi-var-child.exp
6966 * gdb.mi/mi-var-cmd.exp
6967 * gdb.mi/mi-var-cp.exp
6968 * gdb.mi/mi-var-display.exp
6969 * gdb.mi/mi-var-invalidate.exp
6970 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6971 * gdb.mi/mi-vla-fortran.exp
6972 * gdb.mi/mi-watch.exp
6973 * gdb.mi/mi2-var-child.exp
6974 * gdb.mi/user-selected-context-sync.exp
6975 * gdb.modula2/unbounded-array.exp
6976 * gdb.multi/dummy-frame-restore.exp
6977 * gdb.multi/multi-arch-exec.exp
6978 * gdb.multi/multi-arch.exp
6979 * gdb.multi/tids.exp
6980 * gdb.multi/watchpoint-multi.exp
6981 * gdb.opencl/callfuncs.exp
6982 * gdb.opencl/convs_casts.exp
6983 * gdb.opencl/datatypes.exp
6984 * gdb.opencl/operators.exp
6985 * gdb.opencl/vec_comps.exp
6986 * gdb.opt/clobbered-registers-O2.exp
6987 * gdb.opt/inline-break.exp
6988 * gdb.opt/inline-bt.exp
6989 * gdb.opt/inline-cmds.exp
6990 * gdb.opt/inline-locals.exp
6991 * gdb.pascal/case-insensitive-symbols.exp
6992 * gdb.pascal/floats.exp
6993 * gdb.pascal/gdb11492.exp
6994 * gdb.python/lib-types.exp
6995 * gdb.python/py-arch.exp
6996 * gdb.python/py-as-string.exp
6997 * gdb.python/py-bad-printers.exp
6998 * gdb.python/py-block.exp
6999 * gdb.python/py-breakpoint-create-fail.exp
7000 * gdb.python/py-breakpoint.exp
7001 * gdb.python/py-caller-is.exp
7002 * gdb.python/py-cmd.exp
7003 * gdb.python/py-explore-cc.exp
7004 * gdb.python/py-explore.exp
7005 * gdb.python/py-finish-breakpoint.exp
7006 * gdb.python/py-finish-breakpoint2.exp
7007 * gdb.python/py-frame-args.exp
7008 * gdb.python/py-frame-inline.exp
7009 * gdb.python/py-frame.exp
7010 * gdb.python/py-framefilter-mi.exp
7011 * gdb.python/py-infthread.exp
7012 * gdb.python/py-lazy-string.exp
7013 * gdb.python/py-linetable.exp
7014 * gdb.python/py-mi-events.exp
7015 * gdb.python/py-mi-objfile.exp
7016 * gdb.python/py-mi.exp
7017 * gdb.python/py-objfile.exp
7018 * gdb.python/py-pp-integral.exp
7019 * gdb.python/py-pp-maint.exp
7020 * gdb.python/py-pp-re-notag.exp
7021 * gdb.python/py-pp-registration.exp
7022 * gdb.python/py-recurse-unwind.exp
7023 * gdb.python/py-strfns.exp
7024 * gdb.python/py-symbol.exp
7025 * gdb.python/py-symtab.exp
7026 * gdb.python/py-sync-interp.exp
7027 * gdb.python/py-typeprint.exp
7028 * gdb.python/py-unwind-maint.exp
7029 * gdb.python/py-unwind.exp
7030 * gdb.python/py-value-cc.exp
7031 * gdb.python/py-xmethods.exp
7032 * gdb.reverse/amd64-tailcall-reverse.exp
7033 * gdb.reverse/break-precsave.exp
7034 * gdb.reverse/break-reverse.exp
7035 * gdb.reverse/consecutive-precsave.exp
7036 * gdb.reverse/consecutive-reverse.exp
7037 * gdb.reverse/finish-precsave.exp
7038 * gdb.reverse/finish-reverse-bkpt.exp
7039 * gdb.reverse/finish-reverse.exp
7040 * gdb.reverse/fstatat-reverse.exp
7041 * gdb.reverse/getresuid-reverse.exp
7042 * gdb.reverse/i386-precsave.exp
7043 * gdb.reverse/i386-reverse.exp
7044 * gdb.reverse/i386-sse-reverse.exp
7045 * gdb.reverse/i387-env-reverse.exp
7046 * gdb.reverse/i387-stack-reverse.exp
7047 * gdb.reverse/insn-reverse.exp
7048 * gdb.reverse/machinestate-precsave.exp
7049 * gdb.reverse/machinestate.exp
7050 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7051 * gdb.reverse/pipe-reverse.exp
7052 * gdb.reverse/readv-reverse.exp
7053 * gdb.reverse/recvmsg-reverse.exp
7054 * gdb.reverse/rerun-prec.exp
7055 * gdb.reverse/s390-mvcle.exp
7056 * gdb.reverse/step-precsave.exp
7057 * gdb.reverse/step-reverse.exp
7058 * gdb.reverse/time-reverse.exp
7059 * gdb.reverse/until-precsave.exp
7060 * gdb.reverse/until-reverse.exp
7061 * gdb.reverse/waitpid-reverse.exp
7062 * gdb.reverse/watch-precsave.exp
7063 * gdb.reverse/watch-reverse.exp
7064 * gdb.rust/generics.exp
7065 * gdb.rust/methods.exp
7066 * gdb.rust/modules.exp
7067 * gdb.rust/simple.exp
7068 * gdb.server/connect-with-no-symbol-file.exp
7069 * gdb.server/ext-attach.exp
7070 * gdb.server/ext-restart.exp
7071 * gdb.server/ext-wrapper.exp
7072 * gdb.server/file-transfer.exp
7073 * gdb.server/server-exec-info.exp
7074 * gdb.server/server-kill.exp
7075 * gdb.server/server-mon.exp
7076 * gdb.server/wrapper.exp
7077 * gdb.stabs/exclfwd.exp
7078 * gdb.stabs/gdb11479.exp
7079 * gdb.threads/clone-new-thread-event.exp
7080 * gdb.threads/corethreads.exp
7081 * gdb.threads/current-lwp-dead.exp
7082 * gdb.threads/dlopen-libpthread.exp
7083 * gdb.threads/gcore-thread.exp
7084 * gdb.threads/sigstep-threads.exp
7085 * gdb.threads/watchpoint-fork.exp
7086 * gdb.trace/actions-changed.exp
7087 * gdb.trace/backtrace.exp
7088 * gdb.trace/change-loc.exp
7089 * gdb.trace/circ.exp
7090 * gdb.trace/collection.exp
7091 * gdb.trace/disconnected-tracing.exp
7092 * gdb.trace/ftrace.exp
7093 * gdb.trace/mi-trace-frame-collected.exp
7094 * gdb.trace/mi-trace-unavailable.exp
7095 * gdb.trace/mi-traceframe-changed.exp
7096 * gdb.trace/mi-tsv-changed.exp
7097 * gdb.trace/no-attach-trace.exp
7098 * gdb.trace/passc-dyn.exp
7099 * gdb.trace/qtro.exp
7100 * gdb.trace/range-stepping.exp
7101 * gdb.trace/read-memory.exp
7102 * gdb.trace/save-trace.exp
7103 * gdb.trace/signal.exp
7104 * gdb.trace/status-stop.exp
7105 * gdb.trace/tfile.exp
7106 * gdb.trace/trace-break.exp
7107 * gdb.trace/trace-buffer-size.exp
7108 * gdb.trace/trace-condition.exp
7109 * gdb.trace/tracefile-pseudo-reg.exp
7110 * gdb.trace/tstatus.exp
7111 * gdb.trace/unavailable.exp
7112 * gdb.trace/while-dyn.exp
7113 * gdb.trace/while-stepping.exp
7115 2016-12-22 Doug Evans <xdje42@gmail.com>
7117 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7120 2016-12-19 Yao Qi <yao.qi@linaro.org>
7122 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7123 (test_with_self): Don't call do_steps_and_nexts, and remove
7124 code about stepping into xmalloc.
7126 2016-12-09 Yao Qi <yao.qi@linaro.org>
7128 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7130 2016-12-09 Yao Qi <yao.qi@linaro.org>
7132 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7134 2016-12-09 Pedro Alves <palves@redhat.com>
7136 * gdb.base/all-architectures-0.exp: New file.
7137 * gdb.base/all-architectures-1.exp: New file.
7138 * gdb.base/all-architectures-2.exp: New file.
7139 * gdb.base/all-architectures-3.exp: New file.
7140 * gdb.base/all-architectures-4.exp: New file.
7141 * gdb.base/all-architectures-5.exp: New file.
7142 * gdb.base/all-architectures-6.exp: New file.
7143 * gdb.base/all-architectures-7.exp: New file.
7144 * gdb.base/all-architectures.exp.in: New file.
7146 2016-12-09 Yao Qi <yao.qi@linaro.org>
7148 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7150 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7152 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7154 Remove useless pattern-matching code.
7156 2016-12-02 Pedro Alves <palves@redhat.com>
7158 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7160 (top level): Call it.
7162 2016-12-02 Pedro Alves <palves@redhat.com>
7164 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7166 (top level): Call it.
7168 2016-12-02 Pedro Alves <palves@redhat.com>
7171 * gdb.base/commands.exp (user_defined_command_args_eval): New
7173 (top level): Call it.
7175 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7177 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7180 2016-12-02 Tom Tromey <tom@tromey.com>
7182 * gdb.dwarf2/main-subprogram.c: New file.
7183 * gdb.dwarf2/main-subprogram.exp: New file.
7185 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7187 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7188 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7189 gdb_test_no_output for a couple of cases.
7190 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7192 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7194 Fix test names and standardize compilation error messages throughout
7195 the following files:
7198 * gdb.arch/alpha-step.exp
7199 * gdb.arch/e500-prologue.exp
7200 * gdb.arch/ftrace-insn-reloc.exp
7201 * gdb.arch/gdb1291.exp
7202 * gdb.arch/gdb1431.exp
7203 * gdb.arch/gdb1558.exp
7204 * gdb.arch/i386-dr3-watch.exp
7205 * gdb.arch/i386-sse-stack-align.exp
7206 * gdb.arch/ia64-breakpoint-shadow.exp
7207 * gdb.arch/pa-nullify.exp
7208 * gdb.arch/powerpc-aix-prologue.exp
7209 * gdb.arch/thumb-bx-pc.exp
7210 * gdb.base/annota1.exp
7211 * gdb.base/annota3.exp
7212 * gdb.base/arrayidx.exp
7213 * gdb.base/assign.exp
7214 * gdb.base/attach.exp
7217 * gdb.base/bfp-test.exp
7218 * gdb.base/bigcore.exp
7219 * gdb.base/bitfields2.exp
7220 * gdb.base/break-fun-addr.exp
7221 * gdb.base/break-probes.exp
7222 * gdb.base/call-rt-st.exp
7223 * gdb.base/callexit.exp
7224 * gdb.base/catch-fork-kill.exp
7225 * gdb.base/charset.exp
7226 * gdb.base/checkpoint.exp
7227 * gdb.base/comprdebug.exp
7228 * gdb.base/constvars.exp
7229 * gdb.base/coredump-filter.exp
7230 * gdb.base/cursal.exp
7231 * gdb.base/cvexpr.exp
7232 * gdb.base/detach.exp
7233 * gdb.base/display.exp
7234 * gdb.base/dmsym.exp
7235 * gdb.base/dprintf-pending.exp
7236 * gdb.base/dso2dso.exp
7237 * gdb.base/dtrace-probe.exp
7239 * gdb.base/enum_cond.exp
7240 * gdb.base/exe-lock.exp
7241 * gdb.base/exec-invalid-sysroot.exp
7242 * gdb.base/execl-update-breakpoints.exp
7243 * gdb.base/exprs.exp
7244 * gdb.base/fileio.exp
7246 * gdb.base/finish.exp
7247 * gdb.base/fixsection.exp
7248 * gdb.base/foll-vfork.exp
7249 * gdb.base/frame-args.exp
7250 * gdb.base/gcore.exp
7251 * gdb.base/gdb1250.exp
7252 * gdb.base/global-var-nested-by-dso.exp
7253 * gdb.base/gnu-ifunc.exp
7254 * gdb.base/hashline1.exp
7255 * gdb.base/hashline2.exp
7256 * gdb.base/hashline3.exp
7257 * gdb.base/hbreak-in-shr-unsupported.exp
7259 * gdb.base/infcall-input.exp
7260 * gdb.base/info-fun.exp
7261 * gdb.base/info-shared.exp
7262 * gdb.base/jit-simple.exp
7263 * gdb.base/jit-so.exp
7266 * gdb.base/label.exp
7267 * gdb.base/lineinc.exp
7268 * gdb.base/logical.exp
7269 * gdb.base/longjmp.exp
7270 * gdb.base/macscp.exp
7271 * gdb.base/miscexprs.exp
7272 * gdb.base/new-ui-echo.exp
7273 * gdb.base/new-ui-pending-input.exp
7274 * gdb.base/new-ui.exp
7275 * gdb.base/nodebug.exp
7276 * gdb.base/nofield.exp
7277 * gdb.base/offsets.exp
7278 * gdb.base/overlays.exp
7279 * gdb.base/pending.exp
7280 * gdb.base/pointers.exp
7281 * gdb.base/pr11022.exp
7282 * gdb.base/printcmds.exp
7283 * gdb.base/prologue.exp
7284 * gdb.base/ptr-typedef.exp
7285 * gdb.base/realname-expand.exp
7286 * gdb.base/relativedebug.exp
7287 * gdb.base/relocate.exp
7288 * gdb.base/remote.exp
7289 * gdb.base/reread.exp
7290 * gdb.base/return2.exp
7291 * gdb.base/savedregs.exp
7293 * gdb.base/sepdebug.exp
7294 * gdb.base/sepsymtab.exp
7295 * gdb.base/set-inferior-tty.exp
7296 * gdb.base/setshow.exp
7297 * gdb.base/shlib-call.exp
7298 * gdb.base/sigaltstack.exp
7299 * gdb.base/siginfo-addr.exp
7300 * gdb.base/signals.exp
7301 * gdb.base/signull.exp
7302 * gdb.base/sigrepeat.exp
7303 * gdb.base/so-impl-ld.exp
7304 * gdb.base/solib-display.exp
7305 * gdb.base/solib-overlap.exp
7306 * gdb.base/solib-search.exp
7307 * gdb.base/solib-symbol.exp
7308 * gdb.base/structs.exp
7309 * gdb.base/structs2.exp
7310 * gdb.base/symtab-search-order.exp
7311 * gdb.base/twice.exp
7312 * gdb.base/unload.exp
7313 * gdb.base/varargs.exp
7314 * gdb.base/watchpoint-solib.exp
7315 * gdb.base/watchpoint.exp
7316 * gdb.base/whatis.exp
7317 * gdb.base/wrong_frame_bt_full.exp
7318 * gdb.btrace/dlopen.exp
7319 * gdb.cell/ea-standalone.exp
7320 * gdb.cell/ea-test.exp
7321 * gdb.cp/dispcxx.exp
7322 * gdb.cp/gdb2384.exp
7323 * gdb.cp/method2.exp
7324 * gdb.cp/nextoverthrow.exp
7325 * gdb.cp/pr10728.exp
7326 * gdb.disasm/am33.exp
7327 * gdb.disasm/h8300s.exp
7328 * gdb.disasm/mn10300.exp
7329 * gdb.disasm/sh3.exp
7330 * gdb.dwarf2/dw2-dir-file-name.exp
7331 * gdb.fortran/complex.exp
7332 * gdb.fortran/library-module.exp
7333 * gdb.guile/scm-pretty-print.exp
7334 * gdb.guile/scm-symbol.exp
7335 * gdb.guile/scm-type.exp
7336 * gdb.guile/scm-value.exp
7337 * gdb.linespec/linespec.exp
7340 * gdb.mi/mi-breakpoint-changed.exp
7341 * gdb.mi/mi-dprintf-pending.exp
7342 * gdb.mi/mi-dprintf.exp
7343 * gdb.mi/mi-exit-code.exp
7344 * gdb.mi/mi-pending.exp
7345 * gdb.mi/mi-solib.exp
7346 * gdb.mi/new-ui-mi-sync.exp
7347 * gdb.mi/pr11022.exp
7348 * gdb.mi/user-selected-context-sync.exp
7349 * gdb.opt/solib-intra-step.exp
7350 * gdb.python/py-events.exp
7351 * gdb.python/py-finish-breakpoint.exp
7352 * gdb.python/py-mi.exp
7353 * gdb.python/py-prettyprint.exp
7354 * gdb.python/py-shared.exp
7355 * gdb.python/py-symbol.exp
7356 * gdb.python/py-template.exp
7357 * gdb.python/py-type.exp
7358 * gdb.python/py-value.exp
7359 * gdb.reverse/solib-precsave.exp
7360 * gdb.reverse/solib-reverse.exp
7361 * gdb.server/solib-list.exp
7362 * gdb.stabs/weird.exp
7363 * gdb.threads/reconnect-signal.exp
7364 * gdb.threads/stepi-random-signal.exp
7365 * gdb.trace/actions.exp
7367 * gdb.trace/backtrace.exp
7368 * gdb.trace/change-loc.exp
7369 * gdb.trace/deltrace.exp
7370 * gdb.trace/ftrace-lock.exp
7371 * gdb.trace/ftrace.exp
7372 * gdb.trace/infotrace.exp
7373 * gdb.trace/mi-tracepoint-changed.exp
7374 * gdb.trace/packetlen.exp
7375 * gdb.trace/passcount.exp
7376 * gdb.trace/pending.exp
7377 * gdb.trace/range-stepping.exp
7378 * gdb.trace/report.exp
7379 * gdb.trace/stap-trace.exp
7380 * gdb.trace/tfind.exp
7381 * gdb.trace/trace-break.exp
7382 * gdb.trace/trace-condition.exp
7383 * gdb.trace/trace-enable-disable.exp
7384 * gdb.trace/trace-mt.exp
7385 * gdb.trace/tracecmd.exp
7386 * gdb.trace/tspeed.exp
7390 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7392 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7393 with gdb_test_no_output.
7394 Use command as test name.
7396 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7398 Fix test names starting with uppercase throughout the files.
7400 * gdb.ada/assign_1.exp
7401 * gdb.ada/boolean_expr.exp
7402 * gdb.base/arrayidx.exp
7404 * gdb.base/gcore-buffer-overflow.exp
7405 * gdb.base/testenv.exp
7406 * gdb.compile/compile.exp
7407 * gdb.python/py-framefilter-invalidarg.exp
7408 * gdb.python/py-framefilter.exp
7410 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7412 Fix test names starting with uppercase throughout the files.
7414 * gdb.ada/array_return.exp
7415 * gdb.ada/expr_delims.exp
7416 * gdb.ada/mi_dyn_arr.exp
7417 * gdb.ada/mi_interface.exp
7418 * gdb.ada/mi_var_array.exp
7419 * gdb.ada/watch_arg.exp
7420 * gdb.arch/alpha-step.exp
7421 * gdb.arch/altivec-regs.exp
7422 * gdb.arch/e500-regs.exp
7423 * gdb.arch/powerpc-d128-regs.exp
7424 * gdb.base/arrayidx.exp
7425 * gdb.base/break.exp
7426 * gdb.base/checkpoint.exp
7427 * gdb.base/debug-expr.exp
7428 * gdb.base/dmsym.exp
7429 * gdb.base/radix.exp
7430 * gdb.base/sepdebug.exp
7431 * gdb.base/testenv.exp
7432 * gdb.base/watch_thread_num.exp
7433 * gdb.base/watchpoint-cond-gone.exp
7434 * gdb.cell/break.exp
7435 * gdb.cell/ea-cache.exp
7436 * gdb.compile/compile.exp
7437 * gdb.cp/gdb2495.exp
7438 * gdb.gdb/selftest.exp
7439 * gdb.gdb/xfullpath.exp
7441 * gdb.go/integers.exp
7442 * gdb.objc/basicclass.exp
7443 * gdb.pascal/hello.exp
7444 * gdb.pascal/integers.exp
7445 * gdb.python/py-breakpoint.exp
7446 * gdb.python/py-cmd.exp
7447 * gdb.python/py-linetable.exp
7448 * gdb.python/py-xmethods.exp
7449 * gdb.python/python.exp
7450 * gdb.reverse/consecutive-precsave.exp
7451 * gdb.reverse/finish-precsave.exp
7452 * gdb.reverse/i386-precsave.exp
7453 * gdb.reverse/machinestate-precsave.exp
7454 * gdb.reverse/sigall-precsave.exp
7455 * gdb.reverse/solib-precsave.exp
7456 * gdb.reverse/step-precsave.exp
7457 * gdb.reverse/until-precsave.exp
7458 * gdb.reverse/watch-precsave.exp
7459 * gdb.threads/leader-exit.exp
7460 * gdb.threads/pthreads.exp
7461 * gdb.threads/wp-replication.exp
7462 * gdb.trace/actions.exp
7463 * gdb.trace/mi-tsv-changed.exp
7466 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7468 Fix test names starting with uppercase throughout the files.
7470 * gdb.arch/i386-bp_permanent.exp
7471 * gdb.arch/i386-gnu-cfi.exp
7472 * gdb.base/disasm-end-cu.exp
7473 * gdb.base/macscp.exp
7474 * gdb.base/pending.exp
7475 * gdb.base/watch_thread_num.exp
7476 * gdb.cp/exception.exp
7477 * gdb.cp/gdb2495.exp
7479 * gdb.python/py-evsignal.exp
7480 * gdb.python/python.exp
7481 * gdb.trace/tracecmd.exp
7483 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7485 Fix test names starting with uppercase throughout the files.
7487 * gdb.base/charset.exp
7489 * gdb.base/multi-forks.exp
7490 * gdb.guile/scm-progspace.exp
7491 * gdb.opencl/datatypes.exp
7492 * gdb.python/py-block.exp
7493 * gdb.python/py-function.exp
7494 * gdb.python/py-symbol.exp
7495 * gdb.python/py-symtab.exp
7496 * gdb.python/py-xmethods.exp
7497 * gdb.reverse/break-precsave.exp
7498 * gdb.reverse/break-reverse.exp
7499 * gdb.reverse/consecutive-precsave.exp
7500 * gdb.reverse/consecutive-reverse.exp
7501 * gdb.reverse/finish-precsave.exp
7502 * gdb.reverse/finish-reverse-bkpt.exp
7503 * gdb.reverse/finish-reverse.exp
7504 * gdb.reverse/fstatat-reverse.exp
7505 * gdb.reverse/getresuid-reverse.exp
7506 * gdb.reverse/i386-precsave.exp
7507 * gdb.reverse/i386-reverse.exp
7508 * gdb.reverse/i386-sse-reverse.exp
7509 * gdb.reverse/i387-stack-reverse.exp
7510 * gdb.reverse/insn-reverse.exp
7511 * gdb.reverse/machinestate-precsave.exp
7512 * gdb.reverse/machinestate.exp
7513 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7514 * gdb.reverse/pipe-reverse.exp
7515 * gdb.reverse/readv-reverse.exp
7516 * gdb.reverse/recvmsg-reverse.exp
7517 * gdb.reverse/rerun-prec.exp
7518 * gdb.reverse/s390-mvcle.exp
7519 * gdb.reverse/sigall-precsave.exp
7520 * gdb.reverse/sigall-reverse.exp
7521 * gdb.reverse/solib-precsave.exp
7522 * gdb.reverse/solib-reverse.exp
7523 * gdb.reverse/step-precsave.exp
7524 * gdb.reverse/step-reverse.exp
7525 * gdb.reverse/time-reverse.exp
7526 * gdb.reverse/until-precsave.exp
7527 * gdb.reverse/until-reverse.exp
7528 * gdb.reverse/waitpid-reverse.exp
7529 * gdb.reverse/watch-precsave.exp
7530 * gdb.reverse/watch-reverse.exp
7532 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7534 Fix test names starting with uppercase throughout the files.
7536 * gdb.arch/i386-mpx-simple_segv.exp
7537 * gdb.arch/i386-mpx.exp
7538 * gdb.arch/i386-permbkpt.exp
7539 * gdb.arch/pa-nullify.exp
7540 * gdb.arch/powerpc-d128-regs.exp
7541 * gdb.arch/vsx-regs.exp
7542 * gdb.base/bfp-test.exp
7543 * gdb.base/break.exp
7544 * gdb.base/breakpoint-shadow.exp
7545 * gdb.base/callfuncs.exp
7546 * gdb.base/charset.exp
7547 * gdb.base/commands.exp
7548 * gdb.base/completion.exp
7549 * gdb.base/dfp-test.exp
7551 * gdb.base/ending-run.exp
7553 * gdb.base/expand-psymtabs.exp
7554 * gdb.base/float128.exp
7555 * gdb.base/floatn.exp
7556 * gdb.base/foll-exec-mode.exp
7557 * gdb.base/gdb1056.exp
7558 * gdb.base/gdb11531.exp
7559 * gdb.base/kill-after-signal.exp
7560 * gdb.base/multi-forks.exp
7561 * gdb.base/overlays.exp
7562 * gdb.base/pending.exp
7563 * gdb.base/sepdebug.exp
7564 * gdb.base/testenv.exp
7565 * gdb.base/valgrind-db-attach.exp
7566 * gdb.base/watch_thread_num.exp
7567 * gdb.base/watchpoint-cond-gone.exp
7568 * gdb.base/watchpoint.exp
7569 * gdb.base/watchpoints.exp
7570 * gdb.cp/arg-reference.exp
7571 * gdb.cp/baseenum.exp
7572 * gdb.cp/operator.exp
7574 * gdb.dwarf2/dw2-op-out-param.exp
7575 * gdb.dwarf2/dw2-reg-undefined.exp
7578 * gdb.go/integers.exp
7579 * gdb.go/methods.exp
7580 * gdb.go/package.exp
7581 * gdb.guile/scm-parameter.exp
7582 * gdb.guile/scm-progspace.exp
7583 * gdb.guile/scm-value.exp
7584 * gdb.mi/mi-pending.exp
7585 * gdb.mi/user-selected-context-sync.exp
7586 * gdb.multi/multi-attach.exp
7587 * gdb.multi/tids.exp
7588 * gdb.opt/clobbered-registers-O2.exp
7589 * gdb.pascal/floats.exp
7590 * gdb.pascal/integers.exp
7591 * gdb.python/py-block.exp
7592 * gdb.python/py-events.exp
7593 * gdb.python/py-parameter.exp
7594 * gdb.python/py-symbol.exp
7595 * gdb.python/py-symtab.exp
7596 * gdb.python/py-type.exp
7597 * gdb.python/py-value.exp
7598 * gdb.python/py-xmethods.exp
7599 * gdb.python/python.exp
7600 * gdb.reverse/break-precsave.exp
7601 * gdb.reverse/consecutive-precsave.exp
7602 * gdb.reverse/finish-precsave.exp
7603 * gdb.reverse/i386-precsave.exp
7604 * gdb.reverse/machinestate-precsave.exp
7605 * gdb.reverse/sigall-precsave.exp
7606 * gdb.reverse/solib-precsave.exp
7607 * gdb.reverse/step-precsave.exp
7608 * gdb.reverse/until-precsave.exp
7609 * gdb.reverse/watch-precsave.exp
7610 * gdb.server/ext-attach.exp
7611 * gdb.server/ext-restart.exp
7612 * gdb.server/ext-run.exp
7613 * gdb.server/ext-wrapper.exp
7614 * gdb.stabs/gdb11479.exp
7615 * gdb.stabs/weird.exp
7616 * gdb.threads/attach-many-short-lived-threads.exp
7617 * gdb.threads/kill.exp
7618 * gdb.threads/watchpoint-fork.exp
7620 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7622 Fix test names starting with uppercase throughout all the files below.
7624 * gdb.ada/array_return.exp
7625 * gdb.ada/catch_ex.exp
7626 * gdb.ada/info_exc.exp
7627 * gdb.ada/mi_catch_ex.exp
7628 * gdb.ada/mi_dyn_arr.exp
7629 * gdb.ada/mi_ex_cond.exp
7630 * gdb.ada/mi_exc_info.exp
7631 * gdb.ada/mi_interface.exp
7632 * gdb.ada/mi_task_arg.exp
7633 * gdb.ada/mi_task_info.exp
7634 * gdb.ada/mi_var_array.exp
7635 * gdb.arch/alpha-step.exp
7636 * gdb.arch/amd64-disp-step.exp
7637 * gdb.arch/arm-disp-step.exp
7638 * gdb.arch/disp-step-insn-reloc.exp
7639 * gdb.arch/e500-prologue.exp
7640 * gdb.arch/ftrace-insn-reloc.exp
7641 * gdb.arch/gdb1558.exp
7642 * gdb.arch/i386-bp_permanent.exp
7643 * gdb.arch/i386-disp-step.exp
7644 * gdb.arch/i386-float.exp
7645 * gdb.arch/i386-gnu-cfi.exp
7646 * gdb.arch/ia64-breakpoint-shadow.exp
7647 * gdb.arch/mips16-thunks.exp
7648 * gdb.arch/pa-nullify.exp
7649 * gdb.arch/powerpc-aix-prologue.exp
7650 * gdb.arch/powerpc-power.exp
7651 * gdb.arch/ppc-dfp.exp
7652 * gdb.arch/s390-tdbregs.exp
7653 * gdb.arch/spu-info.exp
7654 * gdb.arch/spu-ls.exp
7655 * gdb.arch/thumb-bx-pc.exp
7656 * gdb.base/advance.exp
7657 * gdb.base/annota-input-while-running.exp
7658 * gdb.base/arrayidx.exp
7659 * gdb.base/asmlabel.exp
7660 * gdb.base/async.exp
7661 * gdb.base/attach-wait-input.exp
7662 * gdb.base/auto-connect-native-target.exp
7663 * gdb.base/batch-preserve-term-settings.exp
7664 * gdb.base/bfp-test.exp
7665 * gdb.base/bigcore.exp
7666 * gdb.base/bp-permanent.exp
7667 * gdb.base/break-always.exp
7668 * gdb.base/break-fun-addr.exp
7669 * gdb.base/break-idempotent.exp
7670 * gdb.base/break-main-file-remove-fail.exp
7671 * gdb.base/break-probes.exp
7672 * gdb.base/break-unload-file.exp
7673 * gdb.base/break.exp
7674 * gdb.base/call-ar-st.exp
7675 * gdb.base/call-rt-st.exp
7676 * gdb.base/call-sc.exp
7677 * gdb.base/call-signal-resume.exp
7678 * gdb.base/call-strs.exp
7679 * gdb.base/callexit.exp
7680 * gdb.base/callfuncs.exp
7681 * gdb.base/catch-gdb-caused-signals.exp
7682 * gdb.base/catch-signal-siginfo-cond.exp
7683 * gdb.base/catch-syscall.exp
7684 * gdb.base/compare-sections.exp
7685 * gdb.base/cond-eval-mode.exp
7686 * gdb.base/condbreak-call-false.exp
7687 * gdb.base/consecutive-step-over.exp
7688 * gdb.base/cursal.exp
7689 * gdb.base/disabled-location.exp
7690 * gdb.base/disasm-end-cu.exp
7691 * gdb.base/display.exp
7692 * gdb.base/double-prompt-target-event-error.exp
7693 * gdb.base/dprintf-bp-same-addr.exp
7694 * gdb.base/dprintf-detach.exp
7695 * gdb.base/dprintf-next.exp
7696 * gdb.base/dprintf-non-stop.exp
7697 * gdb.base/dprintf-pending.exp
7698 * gdb.base/dso2dso.exp
7699 * gdb.base/ending-run.exp
7700 * gdb.base/enum_cond.exp
7701 * gdb.base/examine-backward.exp
7702 * gdb.base/exe-lock.exp
7703 * gdb.base/exec-invalid-sysroot.exp
7704 * gdb.base/execl-update-breakpoints.exp
7705 * gdb.base/execution-termios.exp
7706 * gdb.base/fileio.exp
7707 * gdb.base/fixsection.exp
7708 * gdb.base/foll-exec-mode.exp
7709 * gdb.base/foll-exec.exp
7710 * gdb.base/fork-running-state.exp
7711 * gdb.base/frame-args.exp
7712 * gdb.base/fullpath-expand.exp
7713 * gdb.base/func-ptr.exp
7714 * gdb.base/gcore-relro-pie.exp
7715 * gdb.base/gdb1090.exp
7716 * gdb.base/gdb1555.exp
7717 * gdb.base/global-var-nested-by-dso.exp
7718 * gdb.base/gnu-ifunc.exp
7719 * gdb.base/hbreak-in-shr-unsupported.exp
7720 * gdb.base/hbreak-unmapped.exp
7721 * gdb.base/hook-stop.exp
7722 * gdb.base/infcall-input.exp
7723 * gdb.base/info-fun.exp
7724 * gdb.base/info-shared.exp
7725 * gdb.base/interrupt-noterm.exp
7726 * gdb.base/jit-so.exp
7728 * gdb.base/line-symtabs.exp
7730 * gdb.base/longjmp.exp
7731 * gdb.base/macscp.exp
7732 * gdb.base/max-value-size.exp
7733 * gdb.base/nodebug.exp
7734 * gdb.base/nofield.exp
7735 * gdb.base/overlays.exp
7736 * gdb.base/paginate-after-ctrl-c-running.exp
7737 * gdb.base/paginate-bg-execution.exp
7738 * gdb.base/paginate-inferior-exit.exp
7739 * gdb.base/pending.exp
7740 * gdb.base/pr11022.exp
7741 * gdb.base/printcmds.exp
7742 * gdb.base/ptr-typedef.exp
7743 * gdb.base/ptype.exp
7744 * gdb.base/randomize.exp
7745 * gdb.base/range-stepping.exp
7746 * gdb.base/realname-expand.exp
7747 * gdb.base/relativedebug.exp
7748 * gdb.base/remote.exp
7749 * gdb.base/savedregs.exp
7750 * gdb.base/sepdebug.exp
7751 * gdb.base/set-noassign.exp
7752 * gdb.base/shlib-call.exp
7753 * gdb.base/shreloc.exp
7754 * gdb.base/sigaltstack.exp
7755 * gdb.base/sigbpt.exp
7756 * gdb.base/siginfo-addr.exp
7757 * gdb.base/siginfo-obj.exp
7758 * gdb.base/siginfo-thread.exp
7759 * gdb.base/signest.exp
7760 * gdb.base/signull.exp
7761 * gdb.base/sigrepeat.exp
7763 * gdb.base/so-impl-ld.exp
7764 * gdb.base/solib-corrupted.exp
7765 * gdb.base/solib-disc.exp
7766 * gdb.base/solib-display.exp
7767 * gdb.base/solib-overlap.exp
7768 * gdb.base/solib-search.exp
7769 * gdb.base/solib-symbol.exp
7770 * gdb.base/source-execution.exp
7771 * gdb.base/sss-bp-on-user-bp-2.exp
7772 * gdb.base/sss-bp-on-user-bp.exp
7773 * gdb.base/stack-checking.exp
7774 * gdb.base/stale-infcall.exp
7775 * gdb.base/step-break.exp
7776 * gdb.base/step-line.exp
7777 * gdb.base/step-over-exit.exp
7778 * gdb.base/step-test.exp
7779 * gdb.base/structs.exp
7780 * gdb.base/sym-file.exp
7781 * gdb.base/symtab-search-order.exp
7783 * gdb.base/type-opaque.exp
7784 * gdb.base/unload.exp
7785 * gdb.base/until-nodebug.exp
7786 * gdb.base/until.exp
7787 * gdb.base/unwindonsignal.exp
7788 * gdb.base/watch-cond.exp
7789 * gdb.base/watch-non-mem.exp
7790 * gdb.base/watch_thread_num.exp
7791 * gdb.base/watchpoint-reuse-slot.exp
7792 * gdb.base/watchpoint-solib.exp
7793 * gdb.base/watchpoint.exp
7794 * gdb.btrace/dlopen.exp
7796 * gdb.cell/break.exp
7800 * gdb.cell/dwarfaddr.exp
7801 * gdb.cell/ea-cache.exp
7802 * gdb.cell/ea-standalone.exp
7803 * gdb.cell/ea-test.exp
7804 * gdb.cell/f-regs.exp
7806 * gdb.cell/gcore.exp
7807 * gdb.cell/mem-access.exp
7808 * gdb.cell/ptype.exp
7809 * gdb.cell/registers.exp
7810 * gdb.cell/sizeof.exp
7811 * gdb.cell/solib-symbol.exp
7812 * gdb.cell/solib.exp
7813 * gdb.compile/compile-tls.exp
7814 * gdb.cp/exception.exp
7815 * gdb.cp/gdb2495.exp
7817 * gdb.cp/mb-inline.exp
7818 * gdb.cp/mb-templates.exp
7819 * gdb.cp/pr10687.exp
7821 * gdb.cp/scope-err.exp
7822 * gdb.cp/templates.exp
7823 * gdb.cp/virtfunc.exp
7824 * gdb.dwarf2/dw2-dir-file-name.exp
7825 * gdb.dwarf2/dw2-single-line-discriminators.exp
7826 * gdb.fortran/complex.exp
7827 * gdb.fortran/library-module.exp
7828 * gdb.guile/guile.exp
7829 * gdb.guile/scm-cmd.exp
7830 * gdb.guile/scm-frame-inline.exp
7831 * gdb.guile/scm-objfile.exp
7832 * gdb.guile/scm-pretty-print.exp
7833 * gdb.guile/scm-symbol.exp
7834 * gdb.guile/scm-type.exp
7835 * gdb.guile/scm-value.exp
7836 * gdb.linespec/keywords.exp
7837 * gdb.linespec/ls-errs.exp
7838 * gdb.linespec/macro-relative.exp
7839 * gdb.linespec/thread.exp
7840 * gdb.mi/mi-breakpoint-changed.exp
7841 * gdb.mi/mi-dprintf-pending.exp
7842 * gdb.mi/mi-fullname-deleted.exp
7843 * gdb.mi/mi-logging.exp
7844 * gdb.mi/mi-pending.exp
7845 * gdb.mi/mi-solib.exp
7846 * gdb.mi/new-ui-mi-sync.exp
7847 * gdb.mi/user-selected-context-sync.exp
7848 * gdb.multi/dummy-frame-restore.exp
7849 * gdb.multi/multi-arch-exec.exp
7850 * gdb.multi/remove-inferiors.exp
7851 * gdb.multi/watchpoint-multi-exit.exp
7852 * gdb.opt/solib-intra-step.exp
7853 * gdb.perf/backtrace.exp
7854 * gdb.perf/single-step.exp
7855 * gdb.perf/skip-command.exp
7856 * gdb.perf/skip-prologue.exp
7857 * gdb.perf/solib.exp
7858 * gdb.python/lib-types.exp
7859 * gdb.python/py-as-string.exp
7860 * gdb.python/py-bad-printers.exp
7861 * gdb.python/py-block.exp
7862 * gdb.python/py-breakpoint.exp
7863 * gdb.python/py-cmd.exp
7864 * gdb.python/py-events.exp
7865 * gdb.python/py-evthreads.exp
7866 * gdb.python/py-finish-breakpoint.exp
7867 * gdb.python/py-finish-breakpoint2.exp
7868 * gdb.python/py-frame-inline.exp
7869 * gdb.python/py-frame.exp
7870 * gdb.python/py-inferior.exp
7871 * gdb.python/py-infthread.exp
7872 * gdb.python/py-mi.exp
7873 * gdb.python/py-objfile.exp
7874 * gdb.python/py-pp-maint.exp
7875 * gdb.python/py-pp-registration.exp
7876 * gdb.python/py-prettyprint.exp
7877 * gdb.python/py-recurse-unwind.exp
7878 * gdb.python/py-shared.exp
7879 * gdb.python/py-symbol.exp
7880 * gdb.python/py-symtab.exp
7881 * gdb.python/py-template.exp
7882 * gdb.python/py-type.exp
7883 * gdb.python/py-unwind-maint.exp
7884 * gdb.python/py-unwind.exp
7885 * gdb.python/py-value.exp
7886 * gdb.python/python.exp
7887 * gdb.reverse/finish-reverse-bkpt.exp
7888 * gdb.reverse/insn-reverse.exp
7889 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7890 * gdb.reverse/solib-precsave.exp
7891 * gdb.reverse/solib-reverse.exp
7892 * gdb.stabs/gdb11479.exp
7893 * gdb.stabs/weird.exp
7894 * gdb.threads/fork-child-threads.exp
7895 * gdb.threads/fork-plus-threads.exp
7896 * gdb.threads/fork-thread-pending.exp
7897 * gdb.threads/forking-threads-plus-breakpoint.exp
7898 * gdb.threads/hand-call-in-threads.exp
7899 * gdb.threads/interrupted-hand-call.exp
7900 * gdb.threads/linux-dp.exp
7901 * gdb.threads/local-watch-wrong-thread.exp
7902 * gdb.threads/next-while-other-thread-longjmps.exp
7903 * gdb.threads/non-ldr-exit.exp
7904 * gdb.threads/pending-step.exp
7905 * gdb.threads/print-threads.exp
7906 * gdb.threads/process-dies-while-detaching.exp
7907 * gdb.threads/process-dies-while-handling-bp.exp
7908 * gdb.threads/pthreads.exp
7909 * gdb.threads/queue-signal.exp
7910 * gdb.threads/reconnect-signal.exp
7911 * gdb.threads/signal-command-handle-nopass.exp
7912 * gdb.threads/signal-command-multiple-signals-pending.exp
7913 * gdb.threads/signal-delivered-right-thread.exp
7914 * gdb.threads/signal-sigtrap.exp
7915 * gdb.threads/sigthread.exp
7916 * gdb.threads/staticthreads.exp
7917 * gdb.threads/stepi-random-signal.exp
7918 * gdb.threads/thread-unwindonsignal.exp
7919 * gdb.threads/thread_check.exp
7920 * gdb.threads/thread_events.exp
7921 * gdb.threads/tid-reuse.exp
7922 * gdb.threads/tls-nodebug.exp
7923 * gdb.threads/tls-shared.exp
7924 * gdb.threads/tls-so_extern.exp
7925 * gdb.threads/tls.exp
7926 * gdb.threads/wp-replication.exp
7927 * gdb.trace/actions-changed.exp
7928 * gdb.trace/actions.exp
7929 * gdb.trace/backtrace.exp
7930 * gdb.trace/change-loc.exp
7931 * gdb.trace/collection.exp
7932 * gdb.trace/deltrace.exp
7933 * gdb.trace/disconnected-tracing.exp
7934 * gdb.trace/entry-values.exp
7935 * gdb.trace/ftrace-lock.exp
7936 * gdb.trace/ftrace.exp
7937 * gdb.trace/infotrace.exp
7938 * gdb.trace/mi-trace-frame-collected.exp
7939 * gdb.trace/mi-trace-unavailable.exp
7940 * gdb.trace/mi-traceframe-changed.exp
7941 * gdb.trace/mi-tracepoint-changed.exp
7942 * gdb.trace/mi-tsv-changed.exp
7943 * gdb.trace/no-attach-trace.exp
7944 * gdb.trace/packetlen.exp
7945 * gdb.trace/passc-dyn.exp
7946 * gdb.trace/passcount.exp
7947 * gdb.trace/pending.exp
7948 * gdb.trace/pr16508.exp
7949 * gdb.trace/qtro.exp
7950 * gdb.trace/range-stepping.exp
7951 * gdb.trace/read-memory.exp
7952 * gdb.trace/report.exp
7953 * gdb.trace/save-trace.exp
7954 * gdb.trace/signal.exp
7955 * gdb.trace/stap-trace.exp
7956 * gdb.trace/status-stop.exp
7957 * gdb.trace/strace.exp
7958 * gdb.trace/tfile.exp
7959 * gdb.trace/tfind.exp
7960 * gdb.trace/trace-break.exp
7961 * gdb.trace/trace-condition.exp
7962 * gdb.trace/trace-enable-disable.exp
7963 * gdb.trace/trace-mt.exp
7964 * gdb.trace/tracecmd.exp
7965 * gdb.trace/tracefile-pseudo-reg.exp
7966 * gdb.trace/tspeed.exp
7967 * gdb.trace/tstatus.exp
7969 * gdb.trace/unavailable.exp
7970 * gdb.trace/while-dyn.exp
7971 * gdb.trace/while-stepping.exp
7974 * lib/mi-support.exp
7977 * lib/prelink-support.exp
7978 * lib/selftest-support.exp
7980 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7982 * Makefile.in: Include disable-implicit-rules.mk.
7984 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7986 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7987 non-byte-aligned bit fields.
7989 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7992 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7993 respects the DW_AT_data_bit_offset attribute.
7995 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7997 * gdb.base/default.exp: Fix output of "set language".
7999 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8001 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8002 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8004 * configure.ac: Remove checks for the make program.
8005 * configure: Re-generate.
8007 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8009 * gdb.python/py-recurse-unwind.c (main): Add loop.
8010 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8011 to read_register() and gdb.parse_and_eval(). Make each code
8012 call a separate case that can be individually tested.
8013 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8014 proc. Call cont_and_backtrace for each of the code paths that
8015 we want to test in the unwinder.
8017 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8019 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8020 the definition of struct S.
8022 2016-11-11 Catherine Moore <clm@codesourcery.com>
8024 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8026 2016-11-09 Pedro Alves <palves@redhat.com>
8028 * gdb.base/commands.exp (runto_or_return): New procedure.
8029 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8030 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8031 (progvar_simple_while_test, progvar_complex_if_while_test)
8032 (if_while_breakpoint_command_test)
8033 (infrun_breakpoint_command_test, breakpoint_command_test)
8034 (user_defined_command_test, watchpoint_command_test)
8035 (test_command_prompt_position, redefine_hook_test)
8036 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8037 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8038 multi_line_input and multi_line. Remove gdb_expect and
8039 gdb_stop_suppressing_tests uses.
8040 * lib/gdb.exp (valnum_re): New global.
8041 (multi_line_input): New procedure.
8043 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8045 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8047 (test_setup): Define with proc_with_prefix.
8048 (test_cli_inferior): Likewise.
8049 (test_cli_thread): Likewise.
8050 (test_cli_frame): Likewise.
8051 (test_cli_select_frame): Likewise.
8052 (test_cli_up_down): Likewise.
8053 (test_mi_thread_select): Likewise.
8054 (test_mi_stack_select_frame): Likewise.
8055 (test_cli_in_mi_inferior): Likewise.
8056 (test_cli_in_mi_thread): Likewise.
8057 (test_cli_in_mi_frame): Likewise.
8058 (top level): Do not use with_test_prefix_procname.
8060 2016-11-09 Pedro Alves <palves@redhat.com>
8062 * gdb.base/commands.exp (gdbvar_simple_if_test)
8063 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8064 (progvar_simple_if_test, progvar_simple_while_test)
8065 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8066 (infrun_breakpoint_command_test, breakpoint_command_test)
8067 (user_defined_command_test, watchpoint_command_test)
8068 (test_command_prompt_position, deprecated_command_test)
8069 (bp_deleted_in_command, temporary_breakpoint_commands)
8070 (stray_arg0_test, source_file_with_indented_comment)
8071 (recursive_source_test, if_commands_test)
8072 (error_clears_commands_left, redefine_hook_test)
8073 (redefine_backtrace_test): Use proc_with_prefix.
8074 * lib/gdb.exp (proc_with_prefix): New proc.
8076 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8078 * gdb.base/tui-layout.c: New file.
8079 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8080 disassembly window contains very long lines.
8082 2016-11-08 Tom Tromey <tom@tromey.com>
8084 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8087 2016-11-08 Tom Tromey <tom@tromey.com>
8089 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8092 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8094 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8096 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8098 * gdb.rust/simple.rs: Add test for univariant enums without
8099 discriminants and for encoded struct-like enums.
8101 2016-10-28 Pedro Alves <palves@redhat.com>
8103 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8104 gdb_test_multiple, tighten regexps and match symtabs and line
8105 tables incrementally.
8107 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8109 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8112 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8114 * gdb.base/exec-invalid-sysroot.exp: New file.
8116 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8118 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8120 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8122 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8124 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8126 * gdb.base/killed-outside.exp: Remove $options from a call to
8127 `prepare_for_testing'.
8129 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8131 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8132 Change test message.
8134 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8136 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8139 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8141 * gdb.trace/mi-trace-save.exp: New file.
8143 2016-10-13 Yao Qi <yao.qi@linaro.org>
8145 * gdb.base/code_elim.exp (get_var_address): Remove.
8146 * gdb.base/relocate.exp: Likewise.
8147 * gdb.base/shreloc.exp: Likewise.
8148 * lib/gdb.exp (get_var_address): New.
8150 2016-10-13 Yao Qi <yao.qi@linaro.org>
8152 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8153 floating point tests if $skip_float_test is false.
8155 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8157 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8158 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8160 Add 1 to argc so we guarantee distinct initial/modified argc values.
8162 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8164 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8166 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8168 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8169 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8170 * gdb.arch/vsx-regs.exp: Likewise.
8172 2016-10-07 Yao Qi <yao.qi@linaro.org>
8174 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8176 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8178 * gdb.python/python.exp: Test decode_line("*0").
8180 2016-10-06 Doug Evans <dje@google.com>
8182 * gdb.python/py-value.exp (test_value_creation): Add test for large
8183 unsigned 64-bit value.
8185 2016-10-06 Tom Tromey <tom@tromey.com>
8187 * gdb.compile/compile.exp: Change java tests to rust.
8188 * gdb.base/setshow.exp: Change java tests to rust.
8189 * gdb.base/default.exp: Remove java from language list.
8190 * README (Examples): Update language example.
8191 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8193 * lib/gdb.exp (skip_java_tests): Remove.
8194 * lib/java.exp: Remove.
8197 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8199 * gdb.arch/mips-fcr.exp: New test.
8200 * gdb.arch/mips-fcr.c: Source for the new test.
8202 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8204 * gdb.base/solib-disc.exp: Use `standard_output_file'
8207 2016-10-06 Pedro Alves <palves@redhat.com>
8209 * gdb.base/jit-simple-dl.c: New file.
8210 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8211 * gdb.base/jit-simple.c: ... this.
8212 * gdb.base/jit-simple.exp (jit_run): Delete.
8213 (build_jit): New proc.
8214 (jit_test_reread): Recompile either the main program or the shared
8215 library, depending on what is being tested. Skip changing address
8216 if caller wants to. Compare before/after addresses. If testing
8217 standalone, explicitly load the binary. Test "maint info
8219 (top level): Add "standalone vs shared lib" and "change address"
8220 vs "same address" axes.
8222 2016-10-06 Pedro Alves <palves@redhat.com>
8224 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8227 (jit_test_reread): Use with_test_prefix. Reload the main binary
8228 explicitly. Compare the before/after addresses of the JIT
8231 2016-08-15 Doug Evans <dje@google.com>
8233 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8234 for single bitfields is bool.
8235 * gdb.xml/tdesc-regs.exp: Ditto.
8237 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8239 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8241 2016-10-05 Yao Qi <yao.qi@linaro.org>
8243 * lib/gdb.exp (support_complex_tests): Return zero if
8244 gdb_skip_float_test return true.
8246 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8247 Simon Marchi <simon.marchi@ericsson.com>
8250 * gdb.mi/user-selected-context-sync.exp: New file.
8251 * gdb.mi/user-selected-context-sync.c: New file.
8253 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8254 Simon Marchi <simon.marchi@ericsson.com>
8257 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8258 =thread-select-event check.
8260 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8262 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8263 the compulsory L operand changes.
8264 * gdb.arch/powerpc-power.s: Likewise.
8266 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8268 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8269 * gdb.base/jit-attach-pie.c: New file.
8270 * gdb.base/jit-attach-pie.exp: New file.
8272 2016-09-28 Pedro Alves <palves@redhat.com>
8274 * gdb.base/infcall-input.c: New file.
8275 * gdb.base/infcall-input.exp: New file.
8277 2016-09-22 Yao Qi <yao.qi@linaro.org>
8279 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8280 (gdb_exit): Rename it to ...
8281 (gdbserver_gdb_exit): ... Close GDBserver.
8282 (gdb_exit): New proc, call gdbserver_gdb_exit.
8283 (mi_gdb_exit): Likewise.
8285 2016-09-22 Yao Qi <yao.qi@linaro.org>
8287 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8289 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8292 2016-09-22 Yao Qi <yao.qi@linaro.org>
8294 * lib/gdbserver-support.exp: Check the existence of
8295 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8297 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8299 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8301 2016-09-21 Tom Tromey <tom@tromey.com>
8304 * gdb.base/quit.exp: New file.
8306 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8308 * .gitignore: New file.
8310 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8312 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8315 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8317 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8319 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8321 * gdb.cp/casts.cc (decltype): Move it ...
8322 (main): ... with its call to ...
8323 * gdb.cp/casts03.cc: ... a new file.
8324 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8326 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8328 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8330 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8332 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8333 and sync up the test with tests in gas/testsuite/gas/ppc.
8334 * gdb.arch/powerpc-power.exp: Likewise.
8336 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8338 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8340 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8341 Jan Kratochvil <jan.kratochvil@redhat.com>
8343 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8344 make m1's definition to be different from m2's. Use 'dummy' as an
8345 argument for probe 'two'.
8347 2016-09-10 Jon Beniston <jon@beniston.com>
8349 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8352 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8354 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8355 variable declaration.
8356 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8357 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8358 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8359 received HWCAP as its argument.
8361 2016-09-06 Pedro Alves <palves@redhat.com>
8363 * gdb.base/new-ui-pending-input.c: New file.
8364 * gdb.base/new-ui-pending-input.exp: New file.
8365 * gdb.exp (clear_gdb_spawn_id): New procedure.
8366 (with_spawn_id): Check whether gdb_spawn_id exists before
8367 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8370 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8372 * gdb.base/float128.c: New file.
8373 * gdb.base/float128.exp: Likewise.
8374 * gdb.base/floatn.c: Likewise.
8375 * gdb.base/floatn.exp: Likewise.
8377 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8379 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8381 2016-09-05 Pedro Alves <palves@redhat.com>
8384 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8385 unwinders are immediately called as side effect of "source" or
8386 "disable unwinder" commands.
8387 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8389 2016-09-02 Yao Qi <yao.qi@linaro.org>
8391 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8392 is true and $type is "float" or "double".
8394 2016-09-02 Yao Qi <yao.qi@linaro.org>
8396 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8398 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8399 * gdb.base/call-rt-st.exp: Likewise.
8400 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8401 return value instead of gdb,skip_float_test.
8402 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8403 (do_function_calls): Use its return value instead of
8404 gdb,skip_float_test.
8405 * gdb.base/finish.exp: Likewise.
8406 * gdb.base/funcargs.exp: Likewise.
8407 * gdb.base/return.exp: Likewise.
8408 * gdb.base/return2.exp: Likewise.
8409 * gdb.base/varargs.exp: Likewise.
8410 * lib/gdb.exp (gdb_skip_float_test): Change it to
8411 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8413 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8415 * gdb.multi/tids.exp: Test "thread apply all".
8417 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8419 * gdb.base/default.exp (tty): Remove.
8421 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8423 * gdb.python/py-recurse-unwind.c: New file.
8424 * gdb.python/py-recurse-unwind.py: New file.
8425 * gdb.python/py-recurse-unwind.exp: New file.
8427 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8429 * gdb.base/set-inferior-tty.exp: New file.
8430 * gdb.base/set-inferior-tty.c: New file.
8432 2016-08-23 Pedro Alves <palves@redhat.com>
8435 * gdb.base/new-ui-echo.c: New file.
8436 * gdb.base/new-ui-echo.exp: New file.
8438 2016-08-23 Yao Qi <yao.qi@linaro.org>
8440 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8442 * gdb.server/connect-without-multi-process.exp (do_test):
8445 2016-08-23 Yao Qi <yao.qi@linaro.org>
8447 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8448 standalone_txt. Delete gdb_txt and standalone_txt on host
8449 and target. Spawn the binary on target. Copy files from
8452 2016-08-22 Pedro Alves <palves@redhat.com>
8455 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8456 with_test_prefix. Factor out bits to ...
8457 (test_no_vdso): ... this new procedure.
8459 2016-08-19 Carl Love <cel@us.ibm.com>
8461 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8462 maintaining separate logic for constructing the output path.
8463 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8464 * gdb.arch/ppc-dfp.exp: Likewise.
8465 * gdb.arch/ppc-fp.exp: Likewise.
8466 * gdb.arch/vsx-regs.exp: Likewise.
8467 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8468 binprefix for generating the additional binary files.
8470 2016-08-19 Pedro Alves <palves@redhat.com>
8472 * gdb.trace/mi-trace-frame-collected.exp
8473 (test_trace_frame_collected): On x32, expect two registers.
8475 2016-08-18 Carl Love <cel@us.ibm.com>
8477 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8478 and sync up the test with tests in gas/testsuite/gas/ppc.
8479 * gdb.arch/powerpc-power.exp: Likewise.
8481 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8483 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8484 expected error message.
8486 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8488 * gdb.multi/remove-inferiors.exp: New file.
8489 * gdb.multi/remove-inferiors.c: New file.
8491 2016-08-12 Yao Qi <yao.qi@linaro.org>
8493 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8496 2016-08-10 Pedro Alves <palves@redhat.com>
8499 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8502 2016-08-09 Pedro Alves <palves@redhat.com>
8503 Simon Marchi <simon.marchi@ericsson.com>
8506 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8507 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8509 2016-08-09 Pedro Alves <palves@redhat.com>
8512 * gdb.mi/mi-cmd-error.exp: New file.
8514 2016-08-09 Pedro Alves <palves@redhat.com>
8517 * gdb.base/signals-state-child.c: New file.
8518 * gdb.base/signals-state-child.exp: New file.
8519 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8521 2016-08-09 Pedro Alves <palves@redhat.com>
8523 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8525 2016-08-03 Tom Tromey <tom@tromey.com>
8528 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8530 2016-08-01 Yao Qi <yao.qi@linaro.org>
8532 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8533 variable mode to "multi-process" if $multi_process is 1, otherwise
8534 set it to "single-process".
8536 2016-08-01 Yao Qi <yao.qi@linaro.org>
8538 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8539 * gdb.cp/cpexprs.exp: Likewise.
8540 * gdb.cp/m-static.exp: Likewise.
8542 2016-07-26 Tom Tromey <tom@tromey.com>
8545 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8548 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8550 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8551 selecting assembly source files.
8552 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8553 assembly source files.
8554 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8555 assembly source files.
8556 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8557 selecting assembly source files.
8559 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8561 * gdb.base/new-ui.exp (do_test_invalid_args): New
8564 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8566 * gdb.btrace/reconnect.c: New file.
8567 * gdb.btrace/reconnect.exp: New file.
8569 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8571 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8572 to test_catch_syscall_group.
8573 (test_catch_syscall_group): New.
8575 2016-07-21 Tom Tromey <tom@tromey.com>
8577 * gdb.rust/simple.rs (main): Use empty struct expression.
8578 * gdb.rust/simple.exp: Add tests for empty struct expression.
8580 2016-07-21 Yao Qi <yao.qi@linaro.org>
8582 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8583 if gdb_skip_xml_test is true on some targets.
8585 2016-07-21 Yao Qi <yao.qi@linaro.org>
8587 * gdb.server/solib-list.exp: Unset last_loaded_file.
8589 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8591 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8592 "step into captured_main (args)".
8594 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8596 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8598 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8600 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8602 2016-07-19 Pedro Alves <palves@redhat.com>
8604 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8605 * gdb.opt/inline-bt.exp: Likewise.
8606 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8607 additional_flags=-Winline.
8608 * gdb.opt/inline-locals.exp: Likewise.
8609 * gdb.opt/inline-markers.c (ATTR): Define.
8610 (inlined_fn): Use it.
8612 2016-07-19 Yao Qi <yao.qi@linaro.org>
8614 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8615 (test_with_self): Remove some code. Remove argument executable.
8616 (top-level): Use do_self_tests.
8618 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8619 Don Breazeal <donb@codesourcery.com>
8621 * gdb.base/maint.exp: Escape paths used in regular expressions.
8622 * gdb.stabs/weird.exp: Likewise.
8624 2016-07-13 Tom Tromey <tom@tromey.com>
8626 PR python/15620, PR python/18620:
8627 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8628 (test_bkpt_events): New procs.
8630 2016-07-13 Tom Tromey <tom@tromey.com>
8633 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8635 (test_watchpoints): Likewise.
8636 (test_bkpt_pending): New proc.
8638 2016-07-13 Tom Tromey <tom@tromey.com>
8641 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8644 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8646 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8647 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8648 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8650 (g): Rename g_end_lbl to g_label.
8651 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8653 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8655 2016-07-12 Tom Tromey <tom@tromey.com>
8658 * gdb.python/py-unwind-maint.exp: Update tests.
8660 2016-07-12 Yao Qi <yao.qi@linaro.org>
8662 * lib/selftest-support.exp (selftest_setup): Match the output
8663 when captured_main is inlined.
8665 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8667 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8669 (print this%a, print this%b, print this): New tests.
8670 * gdb.fortran/derived-types.f90 (this): New object and
8673 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8675 * gdb.ada/arraydim.exp: Remove extra directory level in build
8678 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8680 * lib/ada.exp: Remove extra directory level in build directory.
8681 * gdb.ada/cond_lang.exp: Likewise.
8682 * gdb.ada/exec_changed.exp: Likewise.
8683 * gdb.ada/lang_switch.exp: Likewise.
8685 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8687 * simple.rs: Add test for raw pointer subscripting.
8688 * simple.exp: Add test expectations.
8690 2016-07-05 Yao Qi <yao.qi@linaro.org>
8692 * gdb.mi/mi-reverse.exp: Match =record-started output.
8694 2016-07-01 Pedro Alves <palves@redhat.com>
8696 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8698 (jit_reader_test): Test the jit reader's unwinder.
8699 * gdb.base/jithost.c (jit_function_00_code): New global.
8700 (main): Use memcpy to fill in the mmapped code, instead of poking
8701 bytes manually here.
8702 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8704 (read_debug_info): Save the function's range.
8705 (read_sp): New function.
8706 (unwind_frame): Use it. Also unwind RBP.
8707 (get_frame_id): Use read_sp.
8708 (gdb_init_reader): Use calloc instead of malloc.
8709 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8710 parameter. Use gdb_test_multiple.
8712 2016-07-01 Pedro Alves <palves@redhat.com>
8713 Antoine Tremblay <antoine.tremblay@ericsson.com>
8715 * gdb.threads/process-dies-while-detaching.c: New file.
8716 * gdb.threads/process-dies-while-detaching.exp: New file.
8718 2016-07-01 Pedro Alves <palves@redhat.com>
8720 * gdb.multi/watchpoint-multi-exit.c: New file.
8721 * gdb.multi/watchpoint-multi-exit.exp: New file.
8723 2016-06-30 Pedro Alves <palves@redhat.com>
8725 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8726 unset inferior_spawn_id.
8728 2016-06-30 Pedro Alves <palves@redhat.com>
8730 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8731 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8733 2016-06-29 Yao Qi <yao.qi@linaro.org>
8735 * gdb.base/return.c: Add copyright header.
8737 2016-06-29 Tom Tromey <tom@tromey.com>
8740 * gdb.python/py-framefilter.exp: Add tests for setting priority
8741 and disabling of non-existent frame filter.
8743 2016-06-29 Yao Qi <yao.qi@linaro.org>
8745 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8748 2016-06-28 Yao Qi <yao.qi@linaro.org>
8750 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8751 triplets. Start gdb, execute catch syscall, and continue. Check
8752 gdb's output to determine catch syscall is supported.
8754 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8756 * gdb.rust/simple.rs: Add test for returning unit in a function.
8757 * gdb.rust/simple.exp: Add expectation for functions returning
8760 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8762 * gdb.python/py-breakpoint-create-fail.c,
8763 gdb.python/py-breakpoint-create-fail.exp,
8764 gdb.python/py-breakpoint-create-fail.py: New testcase.
8766 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8769 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8770 * gdb.rust/simple.exp: Add test expectations for new NonZero
8773 2016-06-24 David Taylor <dtaylor@emc.com>
8775 * gdb.base/offsets.exp: New file.
8776 * gdb.base/offsets.c: New file.
8778 2016-06-23 Tom Tromey <tom@tromey.com>
8781 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8782 before any filters are loaded.
8784 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8786 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8787 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8789 * gdb.fortran/derived-type-function.exp: New file.
8790 * gdb.fortran/derived-type-function.f90: New file.
8793 2016-06-21 Pedro Alves <palves@redhat.com>
8795 * gdb.base/new-ui.exp: New file.
8796 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8797 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8798 (with_spawn_id): New procedure.
8800 2016-06-21 Pedro Alves <palves@redhat.com>
8802 * gdb.mi/mi-exec-run.exp: New file.
8804 2016-06-21 Pedro Alves <palves@redhat.com>
8806 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8807 breakpoint command's output on the main UI.
8808 (test_break): New procedure, factored out from calls in the top
8810 (top level): Use foreach_with_prefix to test MI as main UI and as
8813 2016-06-21 Pedro Alves <palves@redhat.com>
8815 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8816 (test_awatch_creation_and_listing)
8817 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8818 Remove 'type' parameter.
8819 (test_watchpoint_all): New parameter mi_mode. Remove
8821 (top level): Use foreach_with_prefix, and add main/separate UI MI
8824 2016-06-21 Pedro Alves <palves@redhat.com>
8826 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8827 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8828 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8829 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8830 (gdb_main_spawn_id, mi_spawn_id): Declare and
8832 (mi_create_inferior_pty): New procedure,
8833 factored out from default_mi_gdb_start.
8834 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8836 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8837 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8838 Use mi_create_inferior_pty.
8839 (mi_gdb_start): Use eval to pass down args list.
8841 2016-06-21 Pedro Alves <palves@redhat.com>
8843 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8844 * gdb.opt/inline-cmds.exp: Add MI tests.
8846 2016-06-21 Pedro Alves <palves@redhat.com>
8848 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8850 2016-06-21 Pedro Alves <palves@redhat.com>
8852 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8853 (top level): Use it instead of mi_execute_to.
8855 2016-06-21 Pedro Alves <palves@redhat.com>
8857 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8858 (cont_handler_str): New.
8859 (signal_stop_handler): Set stop_handler_str instead of printing to
8861 (continue_handler): Set cont_handler_str instead of printing to
8863 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8864 mi_send_resuming_command. Print stop_handler_str and
8865 cont_handler_str instead of expecting the python events print
8868 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8870 * gdb.base/jit-reader.exp: New file.
8871 * gdb.base/jithost.c: New file.
8872 * gdb.base/jithost.h: New file.
8873 * gdb.base/jitreader.c : New file.
8874 * gdb.base/jit-protocol.h: New file.
8876 2016-06-17 Yao Qi <yao.qi@linaro.org>
8878 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8879 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8880 and detach-on-fork. Adjust tests.
8881 (top level): Invoke break_cond_on_syscall with combinations of
8882 syscall, follow-fork-mode and detach-on-fork.
8884 2016-06-17 Yao Qi <yao.qi@linaro.org>
8886 * gdb.base/step-over-exit.c: New.
8887 * gdb.base/step-over-exit.exp: New.
8889 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8891 * gdb.base/float.exp: Add target check for nds32*-*-*.
8892 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8894 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8896 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8897 for unsupported target features.
8898 * gdb.base/call-rt-st.exp: Likewise.
8899 * gdb.base/call-sc.exp: Likewise.
8900 * gdb.base/call-signal-resume.exp: Likewise.
8901 * gdb.base/call-strs.exp: Likewise.
8902 * gdb.base/callexit.exp: Likewise.
8903 * gdb.base/callfuncs.exp: Likewise.
8904 * gdb.base/nodebug.exp: Likewise.
8905 * gdb.base/printcmds.exp: Likewise.
8906 * gdb.base/ptype.exp: Likewise.
8907 * gdb.base/structs.exp: Likewise.
8908 * gdb.base/unwindonsignal.exp: Likewise.
8909 * gdb.cp/gdb2495.exp: Likewise.
8910 * gdb.cp/templates.exp: Likewise.
8911 * gdb.cp/virtfunc.exp: Likewise.
8912 * gdb.threads/hand-call-in-threads.exp: Likewise.
8913 * gdb.threads/interrupted-hand-call.exp: Likewise.
8914 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8916 2016-06-10 Tom Tromey <tom@tromey.com>
8919 * gdb.rust/expr.exp: Add test for integer constant larger than
8922 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8924 * gdb.fortran/nested-funcs.exp: New.
8925 * gdb.fortran/nested-funcs.f90: New.
8927 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8929 * gdb.base/examine-backward.c: New file.
8930 * gdb.base/examine-backward.exp: New file.
8932 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8934 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8937 2016-06-02 Tom Tromey <tom@tromey.com>
8940 * gdb.python/py-shared.exp: Add solib_name test.
8942 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8944 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8946 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8949 * gdb.dwarf2/implref.exp: Rename to...
8950 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8951 * gdb.dwarf2/implref-array.c: New file.
8952 * gdb.dwarf2/implref-array.exp: Likewise.
8953 * gdb.dwarf2/implref-global.c: Likewise.
8954 * gdb.dwarf2/implref-global.exp: Likewise.
8955 * gdb.dwarf2/implref-struct.c: Likewise.
8956 * gdb.dwarf2/implref-struct.exp: Likewise.
8958 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8960 * gdb.trace/trace-condition.exp: Add 64bit tests.
8962 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8964 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8966 (main): Adapt to 8 to 64 bits types.
8967 * gdb.trace/trace-condition.exp: Add new tests.
8969 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8971 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8973 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8975 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8976 Move condition tests...
8977 * gdb.trace/trace-condition.exp: Here.
8979 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8981 * gdb.trace/trace-condition.exp: Add counter-case tests.
8983 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8986 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8987 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8989 2016-05-27 Pedro Alves <palves@redhat.com>
8991 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8993 (top level): Call it, and bail out of DejaGnu is known to be bad.
8995 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8997 * gdb.base/whatis.c: Extend the test case.
8998 * gdb.base/whatis.exp: Add additional tests.
9000 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9002 * gdb.fortran/type.f90: Add pointer variable.
9003 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9005 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9007 * gdb.fortran/vla-type.exp: Fix testcase name.
9009 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9011 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9013 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9015 * gdb.fortran/type.f90: Add nested structures.
9016 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9017 * gdb.fortran/derived-type.exp: Adapt expected output.
9018 * gdb.fortran/vla-type.exp: Adapt expected output.
9020 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9022 * gdb.fortran/whatis_type.exp: Adapt expected output.
9024 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9026 * gdb.fortran/print_type.exp: Fix expected output.
9027 * gdb.fortran/whatis_type.exp: Fix expected output.
9029 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9031 * gdb.fortran/whatis_type.exp: Use multi_line.
9033 2016-05-24 Tom Tromey <tom@tromey.com>
9036 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9037 use value as an index.
9039 2016-05-23 Tom Tromey <tom@tromey.com>
9042 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9045 2016-05-24 Pedro Alves <palves@redhat.com>
9048 * gdb.threads/clone-attach-detach.c: New file.
9049 * gdb.threads/clone-attach-detach.exp: New file.
9051 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9053 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9055 2016-05-23 Tom Tromey <tom@tromey.com>
9057 PR python/19438, PR python/18393:
9058 * gdb.python/py-progspace.exp: Add "dir" test.
9059 * gdb.python/py-objfile.exp: Add "dir" test.
9061 2016-05-23 Yao Qi <yao.qi@linaro.org>
9063 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9064 * gdb.arch/thumb2-it.exp: Likewise.
9066 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9068 * gdb.mi/mi-threads-interrupt.c: New file.
9069 * gdb.mi/mi-threads-interrupt.exp: New file.
9071 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9074 * gdb.mi/mi-async-run.exp: New file.
9075 * gdb.mi/mi-async-run.c: New file.
9077 2016-05-17 Tom Tromey <tom@tromey.com>
9078 Manish Goregaokar <manishsmail@gmail.com>
9080 * lib/rust-support.exp: New file.
9081 * lib/gdb.exp (skip_rust_tests): New proc.
9082 (build_executable_from_specs): Handle rust.
9083 * lib/future.exp (gdb_find_rustc): New proc.
9084 (gdb_default_target_compile): Handle rust.
9085 * gdb.rust/expr.exp: New file.
9086 * gdb.rust/generics.exp: New file.
9087 * gdb.rust/generics.rs: New file.
9088 * gdb.rust/methods.exp: New file.
9089 * gdb.rust/methods.rs: New file.
9090 * gdb.rust/modules.exp: New file.
9091 * gdb.rust/modules.rs: New file.
9092 * gdb.rust/simple.exp: New file.
9093 * gdb.rust/simple.rs: New file.
9095 2016-05-17 Tom Tromey <tom@tromey.com>
9097 * gdb.base/default.exp (set language): Add rust.
9099 2016-05-17 Tom Tromey <tom@tromey.com>
9101 * gdb.gdb/unittest.exp: New file.
9103 2016-05-16 Yao Qi <yao.qi@linaro.org>
9105 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9106 shell_prompt. Update shell_prompt_re.
9108 2016-05-12 Doug Evans <dje@google.com>
9111 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9112 $options when building executable.
9113 * gdb.dwarf2/fission-loclists-pie.S: New file.
9114 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9116 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9118 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
9119 of [is_remote target],
9121 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9123 * lib/gdb.exp (use_gdb_stub): New procedure.
9125 2016-05-03 Yunlian Jiang <yunlian@google.com>
9126 Doug Evans <dje@google.com>
9129 * gdb.dwarf2/dwp-sepdebug.c: New file.
9130 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9132 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9134 * gdb.base/detach.exp: Remove is_remote check.
9136 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9138 * gdb.base/annota-input-while-running.exp: Don't check for
9139 [is_remote target]. Enable annotations after running to main.
9140 Remove unused "set test..." line.
9142 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9144 * gdb.trace/trace-enable-disable.exp: New file.
9145 * gdb.trace/trace-enable-disable.c: New file.
9147 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9149 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9150 use it in info sharedlibrary test.
9151 * gdb.trace/ftrace-lock.exp: Likewise.
9152 * gdb.trace/ftrace.exp: Likewise.
9153 * gdb.trace/range-stepping.exp: Likewise.
9154 * gdb.trace/trace-break.exp: Likewise.
9155 * gdb.trace/trace-condition.exp: Likewise.
9156 * gdb.trace/trace-mt.exp: Likewise.
9158 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9160 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9161 (gdb_load_shlib): ... this.
9162 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9164 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9165 * gdb.base/ctxobj.exp: Likewise.
9166 * gdb.base/dprintf-pending.exp: Likewise.
9167 * gdb.base/dso2dso.exp: Likewise.
9168 * gdb.base/fixsection.exp: Likewise.
9169 * gdb.base/gcore-relro.exp: Likewise.
9170 * gdb.base/gdb1555.exp: Likewise.
9171 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9172 * gdb.base/gnu-ifunc.exp: Likewise.
9173 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9174 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9175 * gdb.base/pending.exp: Likewise.
9176 * gdb.base/print-file-var.exp: Likewise.
9177 * gdb.base/print-symbol-loading.exp: Likewise.
9178 * gdb.base/shlib-call.exp: Likewise.
9179 * gdb.base/shreloc.exp: Likewise.
9180 * gdb.base/so-impl-ld.exp: Likewise.
9181 * gdb.base/solib-disc.exp: Likewise.
9182 * gdb.base/solib-nodir.exp: Likewise.
9183 * gdb.base/solib-overlap.exp: Likewise.
9184 * gdb.base/solib-symbol.exp: Likewise.
9185 * gdb.base/solib-weak.exp (do_test): Likewise.
9186 * gdb.base/sym-file.exp: Likewise.
9187 * gdb.base/symtab-search-order.exp: Likewise.
9188 * gdb.base/type-opaque.exp: Likewise.
9189 * gdb.base/unload.exp: Likewise.
9190 * gdb.base/watchpoint-solib.exp: Likewise.
9191 * gdb.compile/compile.exp: Likewise.
9192 * gdb.cp/gdb2384.exp: Likewise.
9193 * gdb.cp/infcall-dlopen.exp: Likewise.
9194 * gdb.cp/re-set-overloaded.exp: Likewise.
9195 * gdb.fortran/library-module.exp: Likewise.
9196 * gdb.opt/solib-intra-step.exp: Likewise.
9197 * gdb.python/py-finish-breakpoint.exp: Likewise.
9198 * gdb.python/py-shared.exp: Likewise.
9199 * gdb.reverse/solib-precsave.exp: Likewise.
9200 * gdb.reverse/solib-reverse.exp: Likewise.
9201 * gdb.server/solib-list.exp: Likewise.
9202 * gdb.threads/dlopen-libpthread.exp: Likewise.
9203 * gdb.threads/tls-shared.exp: Likewise.
9204 * gdb.threads/tls-so_extern.exp: Likewise.
9205 * gdb.trace/change-loc.exp: Likewise.
9206 * gdb.trace/ftrace-lock.exp: Likewise.
9207 * gdb.trace/ftrace.exp: Likewise.
9208 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9209 * gdb.trace/pending.exp: Likewise.
9210 * gdb.trace/range-stepping.exp: Likewise.
9211 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9212 (strace_info_marker): Likewise.
9213 (strace_probe_marker): Likewise.
9214 (strace_trace_on_same_addr): Likewise.
9215 (strace_trace_on_diff_addr): Likewise.
9216 * gdb.trace/trace-break.exp: Likewise.
9217 * gdb.trace/trace-condition.exp: Likewise.
9218 * gdb.trace/trace-mt.exp: Likewise.
9220 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9222 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9223 result of gdb_remote_download.
9224 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9225 * gdb.base/dso2dso.exp: Likewise.
9226 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9227 * gdb.base/print-file-var.exp: Likewise.
9228 * gdb.base/shlib-call.exp: Likewise.
9229 * gdb.base/shreloc.exp: Likewise.
9230 * gdb.base/solib-overlap.exp: Likewise.
9231 * gdb.base/solib-weak.exp (do_test): Likewise.
9232 * gdb.base/unload.exp: Likewise.
9234 2016-04-27 Yao Qi <yao.qi@linaro.org>
9236 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9239 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9241 * vla-type.exp: Print structure from toplevel.
9243 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9245 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9247 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9250 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9252 * gdb.fortran/vla-type.f90: New file.
9253 * gdb.fortran/vla-type.exp: New file.
9255 2016-04-25 Yao Qi <yao.qi@linaro.org>
9257 * gdb.base/branch-to-self.c: New file.
9258 * gdb.base/branch-to-self.exp: New file.
9260 2016-04-22 Yao Qi <yao.qi@linaro.org>
9262 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9265 2016-04-22 Yao Qi <yao.qi@linaro.org>
9267 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9268 * gdb.base/annota3.exp: Likewise.
9270 2016-04-22 Yao Qi <yao.qi@linaro.org>
9272 * gdb.reverse/step-precsave.exp: Do one step and test program
9273 stops in "callee" and do multiple steps until program goes out
9275 * gdb.reverse/step-reverse.exp: Likewise.
9277 2016-04-22 Yao Qi <yao.qi@linaro.org>
9279 * gdb.trace/signal.exp: Also pass if
9280 $tracepoint_hits($i) > $iterations.
9282 2016-04-22 Yao Qi <yao.qi@linaro.org>
9284 * gdb.trace/signal.c: New file.
9285 * gdb.trace/signal.exp: New file.
9287 2016-04-19 Doug Evans <xdje42@gmail.com>
9289 * gdb.base/bad-file.exp: New file.
9291 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9293 * gdb.dwarf2/implref.exp: New file.
9295 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9297 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9298 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9299 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9300 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9301 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9302 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9303 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9304 * lib/fortran.exp (fortran_int4): New procedure.
9305 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9306 (fortran_logical4): Likewise.
9308 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9310 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9312 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9314 * lib/compiler.c: Add Intel specific preprocessor macros.
9315 * lib/compiler.cc: Likewise.
9317 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9319 * gdb.server/connect-with-no-symbol-file.c: New file.
9320 * gdb.server/connect-with-no-symbol-file.exp: New file.
9322 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9324 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9326 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9328 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9329 standard output directory.
9331 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9333 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9335 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9337 * gdb.btrace/instruction_history.c (loop): Add declaration.
9339 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9341 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9343 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9345 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9346 parentheses to print.
9347 (continue_handler): Likewise.
9349 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9351 * gdb.server/solib-list.exp: Remove is_remote check.
9352 Pass shlib= to gdb_compile. Don't link shared library with
9353 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9354 Run binary filename through "readlink -f" on the target.
9356 2016-04-08 Pedro Alves <palves@redhat.com>
9358 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9359 interpreter filename as argument to gdbserver_spawn.
9360 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9361 Return empty if $last_loaded_file does not exist.
9363 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9365 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9366 * gdb.base/jit-main.c: Use exit after usage.
9368 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9370 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9371 GDBHISTSIZE prior to the tests.
9372 * gdb.base/gdbinit-history.exp: Likewise.
9374 2016-04-07 Pedro Alves <palves@redhat.com>
9376 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9377 instead of build_executable. Use gdb_load_shlibs.
9379 2016-04-07 Yao Qi <yao.qi@linaro.org>
9381 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9382 Execute "si" command.
9384 2016-04-07 Yao Qi <yao.qi@linaro.org>
9386 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9387 number instead of the comments on some line.
9389 2016-04-06 Don Breazeal <donb@codesourcery.com>
9391 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9392 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9394 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9396 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9397 standard_output_file. Remove unused binfile variable.
9399 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9401 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9402 * gdb.python/py-mi-objfile.exp: Match "list main" output
9405 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9407 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9410 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9412 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9414 * gdb.trace/ftrace.exp: Likewise.
9415 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9417 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9418 (gdb_load_shlibs): Copy libraries to test directory when testing
9419 natively. Only set solib-search-path if testing remotely.
9420 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9422 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9424 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9425 gdb_download. Use it even if the target is not remote.
9426 * gdb.base/jit.exp (compile_jit_test): Likewise.
9427 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9428 output directory if the destination board is local, otherwise use
9429 the standard remote_download from DejaGnu.
9430 (gdb_download): Remove.
9431 (gdb_load_shlibs): Use gdb_remote_download instead of
9433 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9434 Use gdb_remote_download instead of gdb_download. Use it even if
9435 the target is not remote.
9436 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9437 instead of gdb_download.
9439 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9441 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9442 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9445 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9448 * gdb.base/printcmds.exp: Add artificial arrays tests.
9450 2016-03-31 Pedro Alves <palves@redhat.com>
9453 * gdb.base/jit-main.c: Include unistd.h.
9454 (ATTACH): Define to 0 if not already defined.
9455 (wait_for_gdb, mypid): New globals.
9456 (WAIT_FOR_GDB): New macro.
9457 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9458 some breakpoint locations.
9459 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9461 (one_jit_test): Add REATTACH parameter, and handle it. Use
9462 continue_to_test_location.
9463 (top level): Test attach, and adjusts calls to one_jit_test.
9465 2016-03-31 Pedro Alves <palves@redhat.com>
9468 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9469 BINSUFFIX parameter, and handle it.
9470 (top level): Adjust calls compile_jit_test.
9472 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9475 * gdb.python/py-mi-events-gdb.py: New file.
9476 * gdb.python/py-mi-events.c: New file.
9477 * gdb.python/py-mi-events.exp: New file.
9479 2016-03-30 Yao Qi <yao.qi@linaro.org>
9481 * gdb.reverse/until-precsave.exp: Match function name only.
9482 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9483 Move malloc to a condition block.
9484 * gdb.reverse/until-reverse.exp: Match function name only.
9486 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9488 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9489 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9490 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9491 variable for GPR 0 instead of assuming it is register 0.
9492 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9493 * lib/trace-support.exp: Add s390 registers.
9495 2016-03-29 Yao Qi <yao.qi@linaro.org>
9497 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9499 2016-03-24 Yao Qi <yao.qi@linaro.org>
9501 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9504 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9506 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9507 maintaining separate logic for constructing the output path.
9509 2016-03-16 Don Breazeal <donb@codesourcery.com>
9511 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9512 Retry fork and waitpid on interrupted system call errors.
9513 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9514 Use with_timeout_factor to increase timeout by factor of 10.
9516 2016-03-15 Don Breazeal <donb@codesourcery.com>
9518 * gdb.cp/scope-err.cc: New test program.
9519 * gdb.cp/scope-err.exp: New test script.
9520 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9521 lines and "set breakpoint here" comment.
9522 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9523 Fixed some whitespace and format issues.
9524 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9525 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9527 2016-03-15 Doug Evans <dje@google.com>
9529 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9530 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9531 All callers updated. Add tests for enums, mixed flags register.
9533 2016-03-15 Doug Evans <dje@google.com>
9535 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9536 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9538 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9540 * gdb.base/default.exp: Add $_as_string to the list of expected
9541 convenience functions.
9543 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9545 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9547 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9549 * gdb.python/py-as-string.exp: New file.
9550 * gdb.python/py-as-string.c: New file.
9552 2016-03-09 Pedro Alves <palves@redhat.com>
9554 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9555 signal" -> "Thread NN received signal" output change.
9556 * gdb.threads/ia64-sigill.exp: Likewise.
9557 * gdb.threads/linux-dp.exp: Likewise.
9558 * gdb.threads/manythreads.exp: Likewise.
9559 * gdb.threads/pending-step.exp: Likewise.
9560 * gdb.threads/print-threads.exp: Likewise.
9561 * gdb.threads/sigstep-threads.exp: Likewise.
9562 * gdb.threads/staticthreads.exp: Likewise.
9563 * gdb.threads/tls.exp: Likewise.
9565 2016-03-09 Pedro Alves <palves@redhat.com>
9567 * gdb.base/command-line-input.exp: New file.
9569 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9571 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9572 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9573 * gdb.trace/pending.exp: Accept leading dot before function name.
9574 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9575 * lib/trace-support.exp: Set registers for ppc.
9577 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9579 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9580 use it for disassembly; accept .main in addition to main in backtrace.
9582 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9583 Marcin Kościelnicki <koriakin@0x04.net>
9585 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9586 (gdb_recursion_test_ptr): New global variable.
9587 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9589 (gdb_c_test): Ditto.
9591 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9593 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9596 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9598 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9599 (bar): Add bar_start_lbl label.
9600 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9601 of foo/bar for emitting DWARF and tracing.
9603 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9605 * analyze-racy-logs.py: Set executable bit.
9607 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9609 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9610 (CHECK_TARGET_TMP): Likewise.
9611 (check-single-racy): New rule.
9612 (check-parallel-racy): Likewise.
9613 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9614 (do-check-parallel-racy): New rule.
9615 (check-racy/%.exp): Likewise.
9616 * README (Racy testcases): New section.
9617 * analyze-racy-logs.py: New file.
9619 2016-03-03 Doug Evans <dje@google.com>
9621 * gdb.base/skip.exp: Use with_test_prefix.
9623 2016-03-03 Yao Qi <yao.qi@linaro.org>
9625 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9626 Invoke step_over_syscall "clone" and break_cond_on_syscall
9628 * gdb.base/step-over-clone.c: New file.
9630 2016-03-03 Yao Qi <yao.qi@linaro.org>
9632 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9635 2016-03-03 Yao Qi <yao.qi@linaro.org>
9637 * gdb.base/disp-step-fork.c: Rename to ...
9638 * gdb.base/step-over-fork.c: ... it. New file.
9639 * gdb.base/disp-step-vfork.c: Rename to ...
9640 * gdb.base/step-over-vfork.c: ... it. New file.
9641 * gdb.base/disp-step-syscall.exp: Rename to ...
9642 * gdb.base/step-over-syscall.exp: ... it. New file.
9643 (disp_step_cross_syscall): Rename to ...
9644 (step_over_syscall): ... it.
9646 2016-03-03 Yao Qi <yao.qi@linaro.org>
9648 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9649 If target supports condition evaluation on target, invoke
9650 break_cond_on_syscall for fork and vfork.
9652 2016-03-03 Yao Qi <yao.qi@linaro.org>
9654 * gdb.base/disp-step-syscall.exp: Don't invoke
9655 support_displaced_stepping.
9656 (disp_step_cross_syscall): Test with displaced stepping off and
9659 2016-03-03 Yao Qi <yao.qi@linaro.org>
9661 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9664 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9667 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9669 * gdb.fortran/vla-history.exp: Remove breakpoint.
9671 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9673 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9676 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9678 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9681 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9683 * gdb.mi/vla.f90: Nullify pointer after declaration.
9685 2016-03-01 Pedro Alves <palves@redhat.com>
9687 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9689 2016-03-01 Pedro Alves <palves@redhat.com>
9691 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9692 before anything else.
9693 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9695 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9696 before anything else.
9697 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9699 2016-03-01 Pedro Alves <palves@redhat.com>
9701 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9703 2016-03-01 Yao Qi <yao.qi@linaro.org>
9705 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9706 prepare_for_testing.
9708 2016-03-01 Yao Qi <yao.qi@linaro.org>
9710 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9712 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9714 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9715 manually constructing the output path.
9717 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9719 * gdb.arch/s390-stackless.S: New.
9720 * gdb.arch/s390-stackless.exp: New.
9722 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9724 * gdb.dlang/circular.c: New file.
9725 * gdb.dlang/circular.exp: New file.
9727 2016-02-26 Yao Qi <yao.qi@linaro.org>
9729 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9730 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9731 (testcases): Update.
9733 2016-02-26 Yao Qi <yao.qi@linaro.org>
9735 * gdb.reverse/aarch64.c: Rename to ...
9736 * gdb.reverse/insn-reverse.c: ... it.
9737 * gdb.reverse/aarch64.exp: Rename to ...
9738 * gdb.reverse/insn-reverse.exp: ... it.
9740 2016-02-26 Yao Qi <yao.qi@linaro.org>
9742 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9743 (testcase_ftype): New.
9744 (testcases): New array.
9746 (main): Call each element in testcases.
9747 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9748 (read_testcase): New.
9749 Do the tests in a loop.
9751 2016-02-25 Yao Qi <yao.qi@linaro.org>
9753 * gdb.base/branches.c: Remove.
9755 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9758 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9760 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9762 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9764 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9766 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9767 change x86_64 call_insn to 'callq'.
9769 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9771 * gdb.trace/tfile-avx.c: Move to...
9772 * gdb.trace/tracefile-pseudo-reg.c: Here.
9773 * gdb.trace/tfile-avx.exp: Move to...
9774 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9776 2016-02-24 Gary Benson <gbenson@redhat.com>
9778 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9781 2016-02-23 Doug Evans <dje@google.com>
9783 * gdb.base/skip.c (test_skip): New function.
9784 (end_test_skip_file_and_function): New function.
9785 (test_skip_file_and_function): New function.
9786 * gdb.base/skip1.c (test_skip): New function.
9787 (skip1_test_skip_file_and_function): New function.
9788 * gdb.base/skip.exp: Add tests for new skip options.
9789 * gdb.base/skip-solib.exp: Update expected output.
9790 * gdb.perf/skip-command.cc: New file.
9791 * gdb.perf/skip-command.exp: New file.
9792 * gdb.perf/skip-command.py: New file.
9794 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9796 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9797 info registers pattern.
9799 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9801 * lib/future.exp: Add D support.
9802 (gdb_find_gdc): New proc.
9803 (gdb_default_target_compile): Add D support.
9805 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9807 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9809 (trace_speed_test): Determine the iteration count for a time
9810 between 15..30 seconds.
9812 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9814 * gdb.arch/i386-mpx-sigsegv.c: New file.
9815 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9816 * gdb.arch/i386-mpx-simple_segv.c: New file.
9817 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9819 2016-02-18 Yao Qi <yao.qi@linaro.org>
9821 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9822 Don't call setup_kfail.
9824 2016-02-18 Yao Qi <yao.qi@linaro.org>
9826 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9827 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9829 2016-02-16 Doug Evans <dje@google.com>
9831 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9832 * gdb.base/skip1.c: Ditto.
9833 * gdb.base/skip.exp: Whitespace cleanup.
9835 2016-02-16 Don Breazeal <donb@codesourcery.com>
9838 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9839 Remove kfail for PR remote/19496.
9841 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9843 * lib/gdb.exp (standard_temp_file): Return a path specific to
9844 the runtest invocation.
9846 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9848 * gdb.trace/save-trace.exp: Change relative path to be in the
9849 standard output directory.
9851 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9853 * gdb.arch/i386-prologue.c: Add missing prototypes.
9855 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9857 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9858 * gdb.arch/i386-prologue.exp: Likewise.
9859 * gdb.arch/i386-size.exp: Likewise.
9861 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9863 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9864 define object file path.
9865 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9867 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9868 standard_output_file to define binfile.
9870 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9872 Fix compatibility with recent gfortran-5.3.1.
9873 * gdb.fortran/vla-history.exp (print vla1 allocated)
9874 (print vla2 allocated, print $2, print $3): Remove
9875 (print $4): Rename to ...
9876 (print $2): ... here.
9877 (print $9): Rename to ...
9878 (print $5): ... here.
9879 (print $10): Rename to ...
9880 (print $6): ... here.
9881 * gdb.fortran/vla.f90: Add pvla initialization.
9883 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9885 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9887 * gdb.fortran/vla-value-sub.exp: Likewise.
9889 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9891 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9893 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9895 * i386-biarch-core.exp: Define corefile using
9896 standard_output_file.
9898 2016-02-12 Yao Qi <yao.qi@linaro.org>
9900 * gdb.arch/arm-single-step-kernel-helper.c: New.
9901 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9903 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9905 * gdb.btrace/tailcall-only.exp: New.
9906 * gdb.btrace/tailcall-only.c: New.
9907 * gdb.btrace/x86_64-tailcall-only.S: New.
9908 * gdb.btrace/i686-tailcall-only.S: New.
9910 2016-02-11 Pedro Alves <palves@redhat.com>
9912 * README (Parallel testing): Add missing double quotes.
9914 2016-02-11 Pedro Alves <palves@redhat.com>
9916 * README (Parallel testing): New section.
9917 (GDB_PARALLEL): Rewrite.
9918 (FORCE_PARALLEL): Document.
9920 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9922 * gdb.trace/tfile-avx.c: New test.
9923 * gdb.trace/tfile-avx.exp: New test.
9925 2016-02-09 Keith Seitz <keiths@redhat.com>
9927 PR breakpoints/19546
9928 * gdb.base/infcall-exec.c: New file.
9929 * gdb.base/infcall-exec2.c: New file.
9930 * gdb.base/infcall-exec.exp: New file.
9932 2016-02-09 Keith Seitz <keiths@redhat.com>
9934 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9935 (toplevel): Call test_bkpt_address.
9937 2016-02-09 Keith Seitz <keiths@redhat.com>
9940 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9941 (toplevel): Call test_bkpt_address.
9943 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9945 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9947 * configure: Regenerate.
9949 2016-02-09 Pedro Alves <palves@redhat.com>
9951 PR breakpoints/19548
9952 * gdb.base/execl-update-breakpoints.c (some_function): New
9955 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9956 Tighten expected GDB output.
9958 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9960 * Makefile.in (ALL_SUBDIRS): Remove.
9961 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9962 (distclean maintainer-clean realclean): Likewise.
9963 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9964 * configure: Regenerate.
9965 * gdb.ada/Makefile.in: Delete.
9966 * gdb.arch/Makefile.in: Likewise.
9967 * gdb.asm/Makefile.in: Likewise.
9968 * gdb.base/Makefile.in: Likewise.
9969 * gdb.btrace/Makefile.in: Likewise.
9970 * gdb.cell/Makefile.in: Likewise.
9971 * gdb.compile/Makefile.in: Likewise.
9972 * gdb.cp/Makefile.in: Likewise.
9973 * gdb.disasm/Makefile.in: Likewise.
9974 * gdb.dlang/Makefile.in: Likewise.
9975 * gdb.dwarf2/Makefile.in: Likewise.
9976 * gdb.fortran/Makefile.in: Likewise.
9977 * gdb.gdb/Makefile.in: Likewise.
9978 * gdb.go/Makefile.in: Likewise.
9979 * gdb.guile/Makefile.in: Likewise.
9980 * gdb.java/Makefile.in: Likewise.
9981 * gdb.linespec/Makefile.in: Likewise.
9982 * gdb.mi/Makefile.in: Likewise.
9983 * gdb.modula2/Makefile.in: Likewise.
9984 * gdb.multi/Makefile.in: Likewise.
9985 * gdb.objc/Makefile.in: Likewise.
9986 * gdb.opencl/Makefile.in: Likewise.
9987 * gdb.opt/Makefile.in: Likewise.
9988 * gdb.pascal/Makefile.in: Likewise.
9989 * gdb.perf/Makefile.in: Likewise.
9990 * gdb.python/Makefile.in: Likewise.
9991 * gdb.reverse/Makefile.in: Likewise.
9992 * gdb.server/Makefile.in: Likewise.
9993 * gdb.stabs/Makefile.in: Likewise.
9994 * gdb.threads/Makefile.in: Likewise.
9995 * gdb.trace/Makefile.in: Likewise.
9996 * gdb.xml/Makefile.in: Likewise.
9997 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9999 (standard_output_file): Remove check for GDB_PARALLEL, always
10000 return path in outputs/$subdir/$testname.
10002 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10004 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10005 (site.exp): Assign abs_srcdir to tcl's srcdir.
10007 2016-02-04 Yao Qi <yao.qi@linaro.org>
10009 * gdb.base/foll-exec-mode.c: Include limits.h.
10010 (main): Add parameters argc and argv. Get directory from
10012 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10014 * gdb.base/foll-exec.c: Include limits.h.
10015 (main): Add parameters argc and argv.
10016 Get directory from argv[0].
10017 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10018 Adjust tests on the number of lines as source code changed.
10019 * gdb.base/foll-vfork-exit.c: Include limits.h.
10020 (main): Add one line of statement before vfork.
10021 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10022 (main): Add parameters argc and argv. Get directory from
10024 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10025 (setup_gdb): Set tbreak to skip some source lines.
10026 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10027 (main): Add parameters argc and argv. Get directory from
10029 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10031 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10032 (main): Add parameters argc and argv. Get directory from
10034 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10037 2016-02-01 Doug Evans <dje@google.com>
10039 * gdb.base/skip.exp: Clean up multiple references to same test name.
10041 2016-02-01 Pedro Alves <palves@redhat.com>
10044 * gdb.threads/forking-threads-plus-breakpoint.exp
10045 (displaced_stepping_supported): New global.
10046 (probe_displaced_stepping_support): New procedure.
10047 (do_test): Add 'displaced' parameter, and use it.
10048 (top level): Check for displaced stepping support. Add displaced
10049 stepping on/off testing axis.
10051 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10053 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10054 pointer. Don't perform further tests on the unassociated pointer
10055 if the first test fails.
10057 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10059 * gdb.base/max-value-size.c: New file.
10060 * gdb.base/max-value-size.exp: New file.
10061 * gdb.base/huge.exp: Disable max-value-size for this test.
10063 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10065 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10067 2016-01-28 Yao Qi <yao.qi@linaro.org>
10069 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10071 2016-01-25 Pedro Alves <palves@redhat.com>
10074 * gdb.base/fork-running-state.c: New file.
10075 * gdb.base/fork-running-state.exp: New file.
10077 2016-01-25 Pedro Alves <palves@redhat.com>
10080 * gdb.base/catch-fork-kill.c: New file.
10081 * gdb.base/catch-fork-kill.exp: New file.
10083 2016-01-25 Pedro Alves <palves@redhat.com>
10085 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10086 Delete, moved to lib/gdb.exp.
10087 * gdb.threads/forking-threads-plus-breakpoint.exp
10088 (foreach_with_prefix): Likewise.
10089 * gdb.threads/process-dies-while-handling-bp.exp
10090 (foreach_with_prefix): Likewise.
10091 * lib/gdb.exp (foreach_with_prefix): New procedure.
10093 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10095 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10096 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10098 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10100 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10103 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10104 Pedro Alves <palves@redhat.com>
10106 Fix testsuite compatibility with Guile.
10107 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10110 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10112 Fix testsuite compatibility with Guile.
10113 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10114 (thread 1): New test for backtrace through signal handler.
10116 2016-01-22 Yao Qi <yao.qi@linaro.org>
10119 * gdb.base/multi-forks.c: Include
10120 ../lib/unbuffer_output.c
10121 (main): Call gdb_unbuffer_output.
10123 2016-01-21 Doug Evans <dje@google.com>
10125 * lib/ada.exp (gdb_compile_ada): Fix typo.
10127 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10129 * gdb.base/break-fun-addr.exp: New file.
10130 * gdb.base/break-fun-addr1.c: New file.
10131 * gdb.base/break-fun-addr2.c: New file.
10133 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10135 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10136 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10139 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10141 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10142 when GDB can not set the vector return value. Add more comments
10145 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10147 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10150 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10152 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10154 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10156 * Makefile.in (check-single): Pass --status to runtest.
10157 (check/%.exp): Likewise.
10159 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10161 * Makefile.in (check-parallel): Propagate return code from make
10164 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10166 * gdb.trace/ftrace.exp: Fix expected message on continue.
10167 * gdb.trace/pending.exp: Fix expected message on continue.
10168 * gdb.trace/trace-break.exp: Fix expected message on continue.
10170 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10172 * lib/gdb.exp (gdb_test): Remove unused global references.
10174 2016-01-18 Pedro Alves <palves@redhat.com>
10176 * gdb.base/async-shell.exp: Adjust expected output.
10177 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10178 * gdb.base/siginfo-thread.exp: Adjust expected output.
10179 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10180 * gdb.java/jnpe.exp: Adjust expected output.
10181 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10182 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10183 * gdb.threads/leader-exit.exp: Adjust expected output.
10184 * gdb.threads/manythreads.exp: Adjust expected output.
10185 * gdb.threads/pthreads.exp: Adjust expected output.
10186 * gdb.threads/schedlock.exp: Adjust expected output.
10187 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10188 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10190 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10192 * gdb.threads/sigthread.exp: Adjust expected output.
10193 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10195 2016-01-18 Yao Qi <yao.qi@linaro.org>
10197 * gdb.guile/scm-section-script.c: Replace @progbits with
10199 * gdb.python/py-section-script.c: Likewise.
10201 2016-01-15 Pedro Alves <palves@redhat.com>
10203 * gdb.multi/tids.exp: Test star wildcard ranges.
10205 2016-01-15 Pedro Alves <palves@redhat.com>
10207 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10208 command from "thread apply" invocation.
10209 (thr_apply_info_thr_invalid): Default the expected output to the
10211 (top level): Add tests that use convenience variables. Add tests
10212 for "thread apply" with a valid TID list, but missing the command.
10214 2016-01-13 Pedro Alves <palves@redhat.com>
10216 * gdb.base/default.exp: Expect $_gthread as well.
10217 * gdb.multi/tids.exp: Test $_gthread.
10218 * gdb.threads/thread-specific.exp: Test $_gthread.
10220 2016-01-13 Pedro Alves <palves@redhat.com>
10222 * gdb.multi/tids.exp: Test "info threads -gid".
10224 2016-01-13 Pedro Alves <palves@redhat.com>
10226 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10228 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10230 2016-01-07 Pedro Alves <palves@redhat.com>
10232 * gdb.base/break.exp: Adjust to output changes.
10233 * gdb.base/hbreak2.exp: Likewise.
10234 * gdb.base/sepdebug.exp: Likewise.
10235 * gdb.base/watch_thread_num.exp: Likewise.
10236 * gdb.linespec/keywords.exp: Likewise.
10237 * gdb.multi/info-threads.exp: Likewise.
10238 * gdb.threads/thread-find.exp: Likewise.
10239 * gdb.multi/tids.c: New file.
10240 * gdb.multi/tids.exp: New file.
10242 2016-01-13 Pedro Alves <palves@redhat.com>
10244 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10246 2016-01-13 Pedro Alves <palves@redhat.com>
10248 * gdb.base/default.exp: Expect $_inferior as well.
10249 * gdb.multi/base.exp: Test $_inferior.
10251 2016-01-13 Pedro Alves <palves@redhat.com>
10253 PR breakpoints/19388
10254 * gdb.base/catch-signal-siginfo-cond.c: New file.
10255 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10257 2016-01-12 Josh Stone <jistone@redhat.com>
10258 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10260 * gdb.base/catch-syscall.c (do_execve): New variable.
10261 (main): Conditionally trigger an execve.
10262 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10263 (test_catch_syscall_execve): New, check entry/return across execve.
10264 (do_syscall_tests): Call test_catch_syscall_execve.
10266 2016-01-12 Pedro Alves <palves@redhat.com>
10268 * gdb.base/random-signal.exp (do_test): New procedure, with body
10269 of testcase moved in.
10271 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10272 Pedro Alves <palves@redhat.com>
10274 * gdb.base/funcargs.exp (finish from indirectly called function):
10275 Reintroduce the case for 'First'.
10277 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10278 Pedro Alves <palves@redhat.com>
10280 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10281 (tcatch_vfork_then_child_follow_exec)
10282 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10285 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10287 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10288 and repeats to unlimited.
10289 * gdb.python/py-value.exp: Likewise.
10290 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10291 and repeats to unlimited.
10293 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10295 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10296 and reordering the functions.
10297 * gdb.multi/hangout.c: Likewise.
10298 * gdb.multi/hello.c: Likewise.
10300 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10302 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10304 (SingleStatisticTestResult.report): Use dict.keys instead of
10307 2016-01-06 Pedro Alves <palves@redhat.com>
10309 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10311 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10313 * gdb.btrace/dlopen.exp: New.
10314 * gdb.btrace/dlopen.c: New.
10315 * gdb.btrace/dlopen-dso.c: New.
10317 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10319 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10320 PATTERN argument is optional.
10322 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10324 * lib/ada.exp (target_compile_ada_from_dir): New function.
10325 (gdb_compile_ada): Reimplement avoiding the use of project files.
10326 * gdb.ada/gnat_ada.gpr: Delete.
10327 * gdb.ada/cond_lang.exp: Adjust test to make path before
10329 * gdb.ada/small_reg_param.exp: Likewise.
10331 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10333 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10335 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10337 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10340 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10342 * gdb.base/break.exp: Remove dead code.
10343 * gdb.base/sepdebug.exp: Likewise.
10345 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10347 * gdb.asm/asm-source.exp: Remove HP-UX references.
10348 * gdb.base/annota1.exp: Likewise.
10349 * gdb.base/annota3.exp: Likewise.
10350 * gdb.base/attach.exp: Likewise.
10351 * gdb.base/bigcore.exp: Likewise.
10352 * gdb.base/break.exp: Likewise.
10353 * gdb.base/call-ar-st.exp: Likewise.
10354 * gdb.base/callfuncs.exp: Likewise.
10355 * gdb.base/catch-fork-static.exp: Likewise.
10356 * gdb.base/display.exp: Likewise.
10357 * gdb.base/foll-exec-mode.exp: Likewise.
10358 * gdb.base/foll-exec.exp: Likewise.
10359 * gdb.base/foll-fork.exp: Likewise.
10360 * gdb.base/foll-vfork.exp: Likewise.
10361 * gdb.base/funcargs.exp: Likewise.
10362 * gdb.base/hbreak2.exp: Likewise.
10363 * gdb.base/inferior-died.exp: Likewise.
10364 * gdb.base/interrupt.exp: Likewise.
10365 * gdb.base/multi-forks.exp: Likewise.
10366 * gdb.base/nodebug.exp: Likewise.
10367 * gdb.base/sepdebug.exp: Likewise.
10368 * gdb.base/solib1.c: Likewise.
10369 * gdb.base/step-test.exp: Likewise.
10370 * gdb.mi/non-stop.c: Likewise.
10371 * gdb.mi/pthreads.c: Likewise.
10372 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10373 * gdb.threads/pthreads.c: Likewise.
10374 * gdb.threads/staticthreads.exp: Likewise.
10375 * lib/future.exp: Likewise.
10376 * lib/gdb.exp: Likewise.
10377 * gdb.base/so-indr-cl.c: Remove.
10378 * gdb.base/so-indr-cl.exp: Likewise.
10379 * gdb.base/solib.c: Likewise.
10380 * gdb.base/solib.exp: Likewise.
10381 * gdb.base/solib2.c: Likewise.
10383 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10385 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10386 * gdb.base/call-ar-st.exp: Likewise.
10387 * gdb.base/callfuncs.exp: Likewise.
10388 * gdb.base/condbreak.exp: Likewise.
10389 * gdb.base/constvars.exp: Likewise.
10390 * gdb.base/hbreak2.exp: Likewise.
10391 * gdb.base/langs.exp: Likewise.
10392 * gdb.base/list.exp: Likewise.
10393 * gdb.base/long_long.exp: Likewise.
10394 * gdb.base/ptype.exp: Likewise.
10395 * gdb.base/scope.exp: Likewise.
10396 * gdb.base/signals.exp: Likewise.
10397 * gdb.base/so-impl-ld.exp: Likewise.
10398 * gdb.base/varargs.exp: Likewise.
10399 * gdb.base/volatile.exp: Likewise.
10400 * gdb.base/whatis.exp: Likewise.
10401 * gdb.cp/cplusfuncs.exp: Likewise.
10402 * gdb.cp/inherit.exp: Likewise.
10403 * gdb.cp/local.exp: Likewise.
10404 * gdb.cp/member-ptr.exp: Likewise.
10405 * gdb.cp/method.exp: Likewise.
10406 * gdb.cp/overload.exp: Likewise.
10407 * gdb.cp/templates.exp: Likewise.
10408 * gdb.stabs/weird.exp: Likewise.
10409 * lib/compiler.c: Likewise.
10410 * lib/compiler.cc: Likewise.
10411 * lib/cp-support.exp: Likewise.
10412 * lib/gdb.exp: Likewise.
10414 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10416 * configure.ac: Remove HP-UX case.
10417 * configure: Regenerate.
10419 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10421 * lib/gdb.exp (gdb_compile): Add function doc.
10423 2015-12-17 Pedro Alves <palves@redhat.com>
10426 * gdb.multi/info-threads.exp: New file.
10428 2015-12-15 Yao Qi <yao.qi@linaro.org>
10430 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10433 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10435 * gdb.base/history-duplicates.exp: Skip if no readline support.
10437 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10439 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10441 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10443 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10445 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10447 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10448 ctrl-C if nointerrupts target property is set.
10449 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10450 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10451 * gdb.base/paginate-bg-execution.exp: Likewise.
10452 * gdb.base/paginate-execution-startup.exp: Likewise.
10453 * gdb.base/random-signal.exp: Likewise.
10454 * gdb.base/range-stepping.exp: Likewise.
10455 * gdb.cp/annota2.exp: Likewise.
10456 * gdb.cp/annota3.exp: Likewise.
10457 * gdb.gdb/selftest.exp: Likewise.
10458 * gdb.threads/continue-pending-status.exp: Likewise.
10459 * gdb.threads/leader-exit.exp: Likewise.
10460 * gdb.threads/manythreads.exp: Likewise.
10461 * gdb.threads/pthreads.exp: Likewise.
10462 * gdb.threads/schedlock.exp: Likewise.
10463 * gdb.threads/sigthread.exp: Likewise.
10465 2015-12-11 Don Breazeal <donb@codesourcery.com>
10467 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10469 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10470 * gdb.base/foll-exec.exp (main): Enable for target remote.
10471 * gdb.base/foll-fork.exp (main): Likewise.
10472 * gdb.base/foll-vfork.exp (main): Likewise.
10473 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10474 (proc continue_to_exit_bp_loc): Use clean_restart.
10475 * gdb.base/pie-execl.exp (main): Disable for target remote.
10476 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10477 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10478 * gdb.threads/execl.exp (main): Likewise.
10479 * gdb.threads/fork-child-threads.exp (main): Likewise.
10480 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10482 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10484 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10485 pid.tid style ptids, instead of just tid.
10486 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10487 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10488 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10489 ptids, instead of just tid.
10491 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10493 * gdb.base/list.exp (test_list_forward): Add end of file error
10495 (test_repeat_list_command): Add end of file error test.
10496 (test_list_backwards): Add beginning of file error test.
10498 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10500 * gdb.base/list.exp (test_list_invalid_args): New function,
10501 defined, and called.
10503 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10505 * gdb.base/list.exp (test_list): Make test names unique.
10507 2015-12-11 Yao Qi <yao.qi@linaro.org>
10509 * gdb.base/coremaker2.c: Remove.
10511 2015-12-10 Pedro Alves <palves@redhat.com>
10513 * gdb.multi/base.exp: Remove stale "spaces" references.
10515 2015-12-10 Pedro Alves <palves@redhat.com>
10517 * gdb.multi/base.exp: Don't use nowarnings.
10518 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10519 * gdb.multi/hangout.c: Include stdio.h.
10520 * gdb.multi/hello.c: Include stdlib.h.
10521 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10522 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10523 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10525 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10527 * gdb.dwarf2/dw2-ranges-base.c: New file.
10528 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10529 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10530 support additional line table, and debug ranges generation.
10531 (Dwarf::ranges): New function, generate .debug_ranges.
10532 (Dwarf::lines): Support generating simple line table programs.
10533 (Dwarf::assemble): Initialise new namespace variables.
10535 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10537 * gdb.base/async.exp (proc test_background): Add case for
10538 asynchronous execution not supported.
10540 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10542 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10543 format and change test names to make them unique.
10545 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10546 Pedro Alves <pedro@redhat.com>
10549 Add checking of floatformats setup on x86_64 hosts.
10550 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10551 (smallval, bigval): New labels/constants.
10552 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10553 float" after loading bigval and smallval.
10555 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10557 * gdb.ada/fun_overload_menu.exp: New testcase.
10558 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10560 2015-12-04 Josh Stone <jistone@redhat.com>
10562 * gdb.base/catch-fork-static.exp: New.
10564 2015-12-03 Yao Qi <yao.qi@linaro.org>
10566 * gdb.base/sizeof.c: Don't include stdio.h and
10567 ../lib/unbuffer_output.c.
10568 (main): New variable 'size' and 'value'. Remove printf and
10569 gdb_unbuffer_output. Assign return value to size and value.
10570 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10572 (check_sizeof): Check the result by printing variable 'size'.
10573 (check_valueof): Check the result by printing variable 'value'.
10575 2015-12-01 Yao Qi <yao.qi@linaro.org>
10577 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10578 for aarch64*-*-linux* target.
10580 2015-11-30 Pedro Alves <palves@redhat.com>
10582 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10584 2015-11-30 Pedro Alves <palves@redhat.com>
10586 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10587 Handle non-stop mode vCont replies.
10589 2015-11-30 Pedro Alves <palves@redhat.com>
10591 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10592 prepare_for_testing. Start gdb with "set non-stop on" appended to
10593 GDBFLAGS. Lax expected stop output.
10595 2015-11-27 Yao Qi <yao.qi@linaro.org>
10597 * gdb.arch/arm-neon.exp: New.
10598 * gdb.arch/arm-neon.c: New.
10600 2015-11-27 Yao Qi <yao.qi@linaro.org>
10602 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10604 2015-11-27 Yao Qi <yao.qi@linaro.org>
10606 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10607 frames-invalid annotation.
10609 2015-11-27 Yao Qi <yao.qi@linaro.org>
10611 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10613 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10615 * gdb.threads/names.exp: New file.
10616 * gdb.threads/names.c: New file.
10617 * README: Mention gdb,no_thread_names.
10619 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10622 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10625 2015-11-24 Pedro Alves <palves@redhat.com>
10628 * gdb.base/display.exp: Expect displays to be sorted in ascending
10629 order. Use multi_line.
10630 * gdb.base/solib-display.exp: Likewise.
10632 2015-11-24 Pedro Alves <palves@redhat.com>
10635 * gdb.base/display.exp: Expect displays to be sorted in ascending
10636 order. Use multi_line.
10637 * gdb.base/solib-display.exp: Likewise.
10639 2015-11-24 Pedro Alves <palves@redhat.com>
10642 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10643 threads in ascending order.
10644 * gdb.base/foll-fork.exp: Likewise.
10645 * gdb.base/foll-vfork.exp: Likewise.
10646 * gdb.base/multi-forks.exp: Likewise.
10647 * gdb.mi/mi-nonstop.exp: Likewise.
10648 * gdb.mi/mi-nsintrall.exp: Likewise.
10649 * gdb.multi/base.exp: Likewise.
10650 * gdb.multi/multi-arch.exp: Likewise.
10651 * gdb.python/py-inferior.exp: Likewise.
10652 * gdb.threads/break-while-running.exp: Likewise.
10653 * gdb.threads/execl.exp: Likewise.
10654 * gdb.threads/gcore-thread.exp: Likewise.
10655 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10656 * gdb.threads/kill.exp: Likewise.
10657 * gdb.threads/linux-dp.exp: Likewise.
10658 * gdb.threads/multiple-step-overs.exp: Likewise.
10659 * gdb.threads/next-bp-other-thread.exp: Likewise.
10660 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10661 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10662 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10663 * gdb.threads/thread-find.exp: Likewise.
10664 * gdb.threads/tls.exp: Likewise.
10665 * lib/mi-support.exp (mi_reverse_list): Delete.
10666 (mi_check_thread_states): No longer reverse list.
10668 2015-11-24 Pedro Alves <palves@redhat.com>
10670 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10673 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10675 * gdb.trace/actions.c: Include trace-common.h.
10676 (main): Add a location for a fast tracepoint.
10677 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10678 the normal tracepoints.
10679 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10681 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10683 * save-trace.exp: Factor out code to these...
10684 (gdb_save_tracepoints): New.
10685 (gdb_load_tracepoints): New.
10686 (do_save_load_test): New.
10688 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10690 * gdb.base/asmlabel.exp: New test.
10691 * gdb.base/asmlabel.c: New test case.
10693 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10695 * gdb.base/wrong_frame_bt_full-main.c: New file.
10696 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10697 * gdb.base/wrong_frame_bt_full.exp: New file.
10699 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10701 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10703 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10705 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10706 pstate register when comparing registers values in
10707 sparc64-*-linux-gnu targets to avoid spurious differences.
10709 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10711 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10713 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10715 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10716 as type argument to gdb_compile.
10717 * gdb.base/nested-subp2.exp: Likewise.
10718 * gdb.base/nested-subp3.exp: Likewise.
10720 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10722 * lib/dwarf.exp (_note): Fix left shift of negative value.
10723 * gdb.trace/trace-condition.exp: Likewise.
10725 2015-11-13 Yao Qi <yao.qi@linaro.org>
10727 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10728 comments about d10v.
10729 (test_scalar_returns): Likewise.
10730 * gdb.base/d10v.ld: Remove.
10731 * gdb.base/overlays.exp: Remove the target triplet checking for
10733 * gdb.base/structs.exp (test_struct_returns): Remove the
10734 comments about d10v.
10735 (test_struct_calls): Likewise.
10737 2015-11-13 Yao Qi <yao.qi@linaro.org>
10739 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10740 * gdb.base/gnu_vector.c: Don't include stdio.h.
10741 (main): Don't print res and call add_some_intvecs.
10743 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10745 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10748 (func4): Use FAST_TRACEPOINT_LABEL.
10749 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10752 (thread_function): Use FAST_TRACEPOINT_LABEL.
10753 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10755 (marker): Use FAST_TRACEPOINT_LABEL.
10756 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10757 (pendfunc1): Remove.
10758 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10759 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10761 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10762 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10765 (marker): Use FAST_TRACEPOINT_LABEL.
10766 * gdb.trace/trace-common.h: New header.
10767 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10770 (marker): Use FAST_TRACEPOINT_LABEL.
10771 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10773 (thread_function): Use FAST_TRACEPOINT_LABEL.
10775 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10777 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10779 * gdb.trace/change-loc.exp: Use global pcreg definition.
10780 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10781 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10783 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10784 * gdb.trace/pending.exp: Likewise.
10785 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10786 * gdb.trace/trace-break.exp: Likewise.
10787 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10789 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10790 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10792 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10794 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10796 * gdb.ada/fin_fun_out: New testcase.
10798 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10800 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10801 value associated with DW_AT_byte_size.
10802 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10803 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10806 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10808 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10809 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10811 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10812 gdb.dwarf2/dw2-canonicalize-type.exp,
10813 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10814 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10815 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10816 provided by gdb_target_symbol_prefix_flags_asm.
10817 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10818 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10819 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10820 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10821 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10822 macros where needed). Use this macro for symbols which require
10823 the prefix provided by SYMBOL_PREFIX.
10825 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10827 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10829 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10830 representing expressions, of more than one list element.
10831 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10832 to prepend linker symbol prefix to f.
10833 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10834 table_1 and table_2.
10835 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10836 Likewise, for f and g.
10837 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10839 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10841 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10842 table_1_ptr and table_2_ptr.
10844 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10845 Joel Brobecker <brobecker@adacore.com>
10847 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10849 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10851 * gdb.reverse/s390-mvcle.c: New test.
10852 * gdb.reverse/s390-mvcle.exp: New file.
10853 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10855 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10857 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10859 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10861 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10863 * gdb.reverse/getresuid-reverse.exp: Likewise.
10864 * gdb.reverse/pipe-reverse.exp: Likewise.
10865 * gdb.reverse/readv-reverse.exp: Likewise.
10866 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10867 * gdb.reverse/time-reverse.exp: Likewise.
10868 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10870 2015-10-30 Yao Qi <yao.qi@linaro.org>
10872 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10873 (empty_cycle): Remove.
10874 (main): Don't call empty_cycle. Don't use watch_count_done.
10875 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10876 empty_cycle. Rewrite the code counting HW watchpoints.
10878 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10880 * gdb.reverse/fstatat-reverse.c: New test.
10881 * gdb.reverse/fstatat-reverse.exp: New file.
10882 * gdb.reverse/getresuid-reverse.c: New test.
10883 * gdb.reverse/getresuid-reverse.exp: New file.
10884 * gdb.reverse/pipe-reverse.c: New test.
10885 * gdb.reverse/pipe-reverse.exp: New file.
10886 * gdb.reverse/readv-reverse.c: New test.
10887 * gdb.reverse/readv-reverse.exp: New file.
10888 * gdb.reverse/recvmsg-reverse.c: New test.
10889 * gdb.reverse/recvmsg-reverse.exp: New file.
10890 * gdb.reverse/time-reverse.c: New test.
10891 * gdb.reverse/time-reverse.exp: New file.
10892 * gdb.reverse/waitpid-reverse.c: New test.
10893 * gdb.reverse/waitpid-reverse.exp: New file.
10895 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10897 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10899 2015-10-26 Doug Evans <dje@google.com>
10902 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10903 * gdb.dwarf2/bad-regnum.c: New file.
10904 * gdb.dwarf2/bad-regnum.exp: New file.
10906 2015-10-26 Doug Evans <dje@google.com>
10909 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10912 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10914 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10915 for a change by "Mention language in compile error message".
10917 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10920 * gdb.python/py-type.c (C::a_method): New.
10921 (C::a_const_method): New.
10922 (C::a_static_method): New.
10924 * gdb.python/py-type.exp (test_fields): Test getting fields
10925 from function and method.
10927 2015-10-21 Keven Boell <keven.boell@intel.com>
10929 * gdb.fortran/vla-alloc-assoc.exp: New file.
10930 * gdb.fortran/vla-datatypes.exp: New file.
10931 * gdb.fortran/vla-datatypes.f90: New file.
10932 * gdb.fortran/vla-history.exp: New file.
10933 * gdb.fortran/vla-ptype-sub.exp: New file.
10934 * gdb.fortran/vla-ptype.exp: New file.
10935 * gdb.fortran/vla-sizeof.exp: New file.
10936 * gdb.fortran/vla-sub.f90: New file.
10937 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10938 * gdb.fortran/vla-value-sub-finish.exp: New file.
10939 * gdb.fortran/vla-value-sub.exp: New file.
10940 * gdb.fortran/vla-value.exp: New file.
10941 * gdb.fortran/vla-ptr-info.exp: New file.
10942 * gdb.mi/mi-vla-fortran.exp: New file.
10943 * gdb.mi/vla.f90: New file.
10945 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10947 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10948 of hardwired timeout value.
10950 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10951 Pedro Alves <palves@redhat.com>
10953 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10954 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10956 2015-10-19 Josh Stone <jistone@redhat.com>
10958 * gdb.base/catch-syscall.c: Include <sched.h>.
10959 (unknown_syscall): New variable.
10960 (main): Trigger a vfork and an unknown syscall.
10961 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10962 (unknown_syscall_number): Likewise.
10963 (check_call_to_syscall): Accept an optional syscall pattern.
10964 (check_return_from_syscall): Likewise.
10965 (check_continue): Likewise.
10966 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10967 (test_catch_syscall_skipping_return): New test toggling off 'catch
10968 syscall' to step over the syscall return, then toggling back on.
10969 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10970 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10971 (do_syscall_tests): Call test_catch_syscall_without_args and
10972 test_catch_syscall_mid_vfork.
10973 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10974 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10976 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10978 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10979 print g_vE): Add new pass patterns.
10980 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10981 print various symbol names for vptr fields.
10983 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10985 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10988 2015-10-12 Yao Qi <yao.qi@linaro.org>
10990 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10992 2015-10-12 Yao Qi <yao.qi@linaro.org>
10994 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10995 is aarch64*-*-linux*.
10997 2015-10-12 Yao Qi <yao.qi@linaro.org>
10999 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11000 (can_relocate_bcond_true): ... it.
11001 (can_relocate_bcond_false): New function.
11003 (can_relocate_bl): Likewise.
11004 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11007 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11009 * gdb.base/nested-addr.c: New file.
11010 * gdb.base/nested-addr.exp: New testcase.
11012 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11014 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11015 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11016 its output. Ignore the output of "record goto begin" and instead
11017 check that GDB is replaying.
11019 2015-10-09 Pedro Alves <palves@redhat.com>
11021 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11022 (top level): Use it in the run with no args test.
11024 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11026 * gdb.dlang/properties.exp: New file.
11028 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11030 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11031 whether or not address 0x1000 is mapped on the target.
11033 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11035 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11038 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11040 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11041 instruction-history test.
11043 2015-09-28 Doug Evans <dje@google.com>
11045 * gdb.base/gcore.c (array_func): Add reference to static_array.
11047 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11049 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11052 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11054 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11055 short or char as base type.
11057 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11059 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11060 to allow any size enum.
11062 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11064 * gdb.ada/array_ptr_renaming.exp: New testcase.
11065 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11066 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11068 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11070 * gdb.trace/ftrace-lock.c: New file.
11071 * gdb.trace/ftrace-lock.exp: New file.
11073 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11075 * gdb.arch/insn-reloc.c: New file.
11076 * gdb.arch/ftrace-insn-reloc.exp: New file.
11078 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11080 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11082 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11083 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11084 * gdb.trace/range-stepping.c: Likewise.
11085 * gdb.trace/trace-break.c: Likewise.
11086 * gdb.trace/trace-mt.c (thread_function): Likewise.
11087 * gdb.trace/ftrace.c (marker): Likewise.
11088 * gdb.trace/trace-condition.c (marker): Likewise.
11089 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11090 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11093 2015-09-18 Doug Evans <xdje42@gmail.com>
11095 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11096 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11098 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11100 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11103 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11105 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11106 the pending breakpoint. Remove timeout override for "Run till
11107 MI pending breakpoint on pendfunc3 on thread 2" test.
11109 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11111 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11114 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11116 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11117 in breakpoint filename pattern.
11119 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11121 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11123 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11125 * gdb.linespec/explicit.exp: Check for readline support for
11126 tab-completion tests. Fix obvious typo.
11128 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11130 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11133 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11135 * gdb.btrace/non-stop.c: New.
11136 * gdb.btrace/non-stop.exp: New.
11138 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11139 Yao Qi <yao.qi@linaro.org>
11141 * gdb.trace/trace-condition.c: New file.
11142 * gdb.trace/trace-condition.exp: New file.
11144 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11146 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11147 for testing bytecode compilation.
11149 2015-09-16 Pedro Alves <palves@redhat.com>
11150 Sandra Loosemore <sandra@codesourcery.com>
11152 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11153 (SECONDS): Redefine.
11154 (main): Call pthread_kill and alarm early.
11155 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11157 (test): If the target can't hardware step and doesn't support
11158 displaced stepping, increase the timeout.
11160 2015-09-16 Pedro Alves <palves@redhat.com>
11162 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11163 (enable_debug): New procedures.
11164 (test): Use them. Bail out if waiting for threads fails.
11165 (top level): Bail out if a test fails.
11167 2015-09-16 Yao Qi <yao.qi@linaro.org>
11169 * gdb.asm/asm-source.exp: Set asm-arch for
11170 aarch64*-*-* target.
11171 * gdb.asm/aarch64.inc: New file.
11173 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11175 * gdb.ada/array_of_variable_length.exp: New testcase.
11176 * gdb.ada/array_of_variable_length/foo.adb: New file.
11177 * gdb.ada/array_of_variable_length/pck.adb: New file.
11178 * gdb.ada/array_of_variable_length/pck.ads: New file.
11180 2015-09-15 Doug Evans <dje@google.com>
11182 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11183 of function static local variable.
11185 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11187 * gdb.threads/tls-so_extern.exp: New test file.
11188 * gdb.threads/tls-so_extern.c: New test file.
11189 * gdb.threads/tls-so_extern_main.c: New test file.
11191 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11193 * gdb.opt/solib-intra-step-lib.c: New file.
11194 * gdb.opt/solib-intra-step-main.c: New file.
11195 * gdb.opt/solib-intra-step.exp: New file.
11197 2015-09-15 Pedro Alves <palves@redhat.com>
11199 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11200 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11202 2015-09-14 Pedro Alves <palves@redhat.com>
11204 * gdb.base/hook-stop-continue.c: Delete.
11205 * gdb.base/hook-stop-continue.exp: Delete.
11206 * gdb.base/hook-stop-frame.c: Delete.
11207 * gdb.base/hook-stop-frame.exp: Delete.
11208 * gdb.base/hook-stop.c: New file.
11209 * gdb.base/hook-stop.exp: New file.
11211 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11213 * gdb.ada/access_to_packed_array.exp: New testcase.
11214 * gdb.ada/access_to_packed_array/foo.adb: New file.
11215 * gdb.ada/access_to_packed_array/pack.adb: New file.
11216 * gdb.ada/access_to_packed_array/pack.ads: New file.
11218 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11220 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11223 2015-09-11 Don Breazeal <donb@codesourcery.com>
11225 * gdb.base/foll-exec.c: Add copyright header. Fix
11227 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11228 (do_exec_tests): Use clean_restart in place of zap_session,
11229 and for test initialization. Fix formatting issues. Use
11230 fail in place of perror.
11231 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11232 an expect statement to match an expression with output from
11233 the program under debug.
11234 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11235 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11236 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11237 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11238 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11240 2015-09-09 Doug Evans <dje@google.com>
11242 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11244 2015-09-09 Doug Evans <dje@google.com>
11246 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11248 2015-09-09 Doug Evans <dje@google.com>
11250 * gdb.base/savedregs.exp: Fix typo.
11252 2015-09-09 Pedro Alves <palves@redhat.com>
11254 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11256 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11258 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11259 command actually switches threads. Give up on remaining
11260 tests if target fails to stop at breakpoint.
11262 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11264 * gdb.ada/funcall_char.exp: New testcase.
11265 * gdb.ada/funcall_char/foo.adb: New file.
11267 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11269 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11270 expected outputs. Add two testcases for completing ambiguous
11272 * gdb.ada/complete/aux_pck.adb: New file.
11273 * gdb.ada/complete/aux_pck.ads: New file.
11274 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11275 Ambiguous_Func functions.
11276 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11277 * gdb.ada/complete/pck.adb: Likewise.
11279 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11281 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11282 failures to run the test program under GDB.
11284 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11286 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11289 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11291 * gdb.base/run-after-attach.exp: New test file.
11292 * gdb.base/run-after-attach.c: New test file.
11294 2015-08-26 Don Breazeal <donb@codesourcery.com>
11296 * gdb.base/foll-exec-2.c: New test program.
11297 * gdb.base/foll-exec-2.exp: New test.
11299 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11301 * gdb.base/nested-subp1.exp: New file.
11302 * gdb.base/nested-subp1.c: New file.
11303 * gdb.base/nested-subp2.exp: New file.
11304 * gdb.base/nested-subp2.c: New file.
11305 * gdb.base/nested-subp3.exp: New file.
11306 * gdb.base/nested-subp3.c: New file.
11308 2015-08-24 Pedro Alves <palves@redhat.com>
11310 * gdb.server/connect-without-multi-process.c: New file.
11311 * gdb.server/connect-without-multi-process.exp: New file.
11313 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11315 * gdb.opt/inline-markers.c: Make z int.
11317 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11319 * gdb.opt/inline-markers.c: Make z volatile.
11321 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11323 * gdb.opt/inline-bt.c: New volatile global z.
11324 * gdb.opt/inline-cmds.c: Likewise.
11325 * gdb.opt/inline-locals.c: Likewise.
11326 * gdb.opt/inline-markers.c: New extern global z.
11328 (inline_fn): Likewise.
11330 2015-08-24 Pedro Alves <palves@redhat.com>
11332 * config/m32r-stub.exp: Remove file.
11333 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11334 * gdb.base/call-rt-st.exp: Likewise.
11335 * gdb.base/call-strs.exp: Likewise.
11336 * gdb.base/default.exp: Remove references to h8300-*-hms and
11338 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11340 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11342 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11343 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11344 and "return" use KFAIL when GDB can not read/write the vector
11347 2015-08-21 Gary Benson <gbenson@redhat.com>
11349 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11351 2015-08-20 Pedro Alves <palves@redhat.com>
11353 * gdb.server/solib-list.exp: No longer expect an interior stop in
11356 2015-08-20 Pedro Alves <palves@redhat.com>
11358 * gdb.server/connect-stopped-target.c: New file.
11359 * gdb.server/connect-stopped-target.exp: New file.
11361 2015-08-20 Pedro Alves <palves@redhat.com>
11363 * gdb.dwarf2/comp-unit-lang.exp: New file.
11364 * gdb.dwarf2/comp-unit-lang.c: New file.
11366 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11368 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11369 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11371 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11373 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11374 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11376 2015-08-18 Doug Evans <dje@google.com>
11377 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11379 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11380 skip_python_tests. New arg prompt_regexp.
11381 (skip_python_tests): New function.
11382 * lib/mi-support.exp (mi_skip_python_tests): New function.
11383 * gdb.python/py-mi-objfile-gdb.py: New file.
11384 * gdb.python/py-mi-objfile.c: New file.
11385 * gdb.python/py-mi-objfile.exp: New file.
11387 2015-08-17 Keith Seitz <keiths@redhat.com>
11389 * gdb.linespec/explicit.exp: Move strace test from here ...
11390 * gdb.trace/strace.exp: ... to here.
11392 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11394 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11395 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11397 2015-08-14 Doug Evans <xdje42@gmail.com>
11399 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11400 inferior before selecting a new file.
11402 2015-08-14 Doug Evans <xdje42@gmail.com>
11404 * gdb.mi/mi-disassemble.exp: Update.
11405 * gdb.base/disasm-optim.S: New file.
11406 * gdb.base/disasm-optim.c: New file.
11407 * gdb.base/disasm-optim.h: New file.
11408 * gdb.base/disasm-optim.exp: New file.
11410 2015-08-14 Keith Seitz <keiths@redhat.com>
11412 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11415 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11417 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11419 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11421 * gdb.ada/fun_renaming.exp: New testcase.
11422 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11423 * gdb.ada/fun_renaming/pack.adb: New file.
11424 * gdb.ada/fun_renaming/pack.ads: New file.
11426 2015-08-12 Keith Seitz <keiths@redhat.com>
11428 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11429 gdb_get_line_number.
11431 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11433 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11434 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11435 gdb.base/dso2dso.exp: New files.
11437 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11438 Pedro Alves <palves@redhat.com>
11439 Keith Seitz <keiths@redhat.com>
11441 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11444 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11446 * gdb.base/gdbhistsize-history.exp
11447 (test_histsize_history_setting): Use save_vars.
11448 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11450 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11451 * gdb.base/readline.exp: Use save_vars.
11453 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11455 * lib/gdb.exp (save_vars): New proc.
11457 2015-08-11 Keith Seitz <keiths@redhat.com>
11459 * gdb.base/help.exp: Update help_breakpoint_text.
11461 2015-08-11 Keith Seitz <keiths@redhat.com>
11463 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11464 (at toplevel): Call test_explicit_breakpoints.
11465 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11467 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11468 breakpoint conditions, "-cond".
11470 2015-08-11 Keith Seitz <keiths@redhat.com>
11472 * gdb.linespec/3explicit.c: New file.
11473 * gdb.linespec/cpexplicit.cc: New file.
11474 * gdb.linespec/cpexplicit.exp: New file.
11475 * gdb.linespec/explicit.c: New file.
11476 * gdb.linespec/explicit.exp: New file.
11477 * gdb.linespec/explicit2.c: New file.
11478 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11479 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11480 before using in the matching pattern.
11481 Clarify that `prefix' is a regular expression.
11483 2015-08-11 Keith Seitz <keiths@redhat.com>
11485 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11487 Add tests for missing ",FMT" and ",".
11489 2015-08-10 Doug Evans <dje@google.com>
11490 Keith Seitz <keiths@redhat.com>
11493 * gdb.base/completion.exp: Add location completer tests.
11495 2015-08-07 Pedro Alves <palves@redhat.com>
11497 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11499 (top level): Run do_test with and without displaced stepping.
11501 2015-08-07 Pedro Alves <palves@redhat.com>
11503 * gdb.base/valgrind-disp-step.c: New file.
11504 * gdb.base/valgrind-disp-step.exp: New file.
11506 2015-08-07 Pedro Alves <palves@redhat.com>
11508 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11510 (main): Add alarm. Run an infinite loop instead of calling
11512 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11514 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11516 (main): Add alarm. Run an infinite loop instead of calling
11518 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11521 2015-08-07 Pedro Alves <palves@redhat.com>
11523 * gdb.base/checkpoint-ns.exp: New file.
11524 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11527 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11529 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11530 * gdb.btrace/instruction_history.exp: Update.
11531 * gdb.btrace/tsx.exp: New.
11532 * gdb.btrace/tsx.c: New.
11534 2015-08-06 Pedro Alves <palves@redhat.com>
11536 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11538 * gdb.reverse/until-precsave.exp: Bump timeouts.
11540 2015-08-06 Pedro Alves <palves@redhat.com>
11542 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11544 2015-08-06 Pedro Alves <palves@redhat.com>
11547 * gdb.threads/process-dies-while-handling-bp.c: New file.
11548 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11550 2015-08-06 Pedro Alves <palves@redhat.com>
11552 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11553 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11555 2015-08-05 Pedro Alves <palves@redhat.com>
11557 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11558 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11560 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11562 * gdb.base/bp-permanent.exp: Report test as unsupported if
11563 the target cannot stop at the permanent breakpoint.
11565 2015-08-03 Doug Evans <dje@google.com>
11567 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11570 2015-08-03 Doug Evans <dje@google.com>
11572 * Makefile.in (workers/%.worker, build-perf): New rule.
11573 (GDB_PERFTEST_MODE): New variable.
11574 (check-perf): Use it.
11575 (clean): Clean up gdb.perf parallel build subdirs.
11576 * lib/build-piece.exp: New file.
11577 * lib/gdb.exp (make_gdb_parallel_path): New function
11578 (standard_output_file, standard_temp_file): Call it.
11579 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11581 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11583 2015-08-03 Doug Evans <dje@google.com>
11585 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11586 (LOG_FILE_NAME): New global.
11587 (TextReporter.__init__): Initialize self.txt_sum.
11588 (TextReporter.report): Add support for multiple data-points.
11589 Move report to perftest.sum, put raw data in perftest.log.
11590 (TextReporter.start): Open sum and log files.
11591 (TextReporter.end): Close sum and log files.
11592 * gdb.perf/lib/perftest/testresult.py
11593 (SingleStatisticTestResult.record): Handle multiple data-points.
11595 2015-07-31 Pedro Alves <palves@redhat.com>
11597 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11598 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11599 kill_wait_spawned_process instead of explicit "kill -9".
11600 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11601 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11602 kill_wait_spawned_process.
11603 * gdb.base/attach-twice.exp: Likewise.
11604 * gdb.base/attach.exp: Likewise.
11605 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11607 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11608 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11609 kill_wait_spawned_process.
11610 * gdb.base/valgrind-infcall.exp: Likewise.
11611 * gdb.multi/multi-attach.exp: Likewise.
11612 * gdb.python/py-prompt.exp: Likewise.
11613 * gdb.python/py-sync-interp.exp: Likewise.
11614 * gdb.server/ext-attach.exp: Likewise.
11615 * gdb.threads/attach-into-signal.exp (corefunc): Use
11616 spawn_wait_for_attach, spawn_id_get_pid and
11617 kill_wait_spawned_process.
11618 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11619 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11620 spawn_id_get_pid and kill_wait_spawned_process.
11621 * gdb.threads/attach-stopped.exp (corefunc): Use
11622 spawn_wait_for_attach, spawn_id_get_pid and
11623 kill_wait_spawned_process.
11624 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11625 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11626 kill_wait_spawned_process instead of explicit "kill -9".
11627 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11628 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11629 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11630 processes. Don't map cygwin/windows pids here. Now returns a
11633 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11635 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11636 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11639 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11641 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11643 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11646 2014-05-21 Mark Wielaard <mjw@redhat.com>
11648 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11650 2015-07-30 Pedro Alves <palves@redhat.com>
11652 * linux-low.c (handle_extended_wait): Set the child's last
11653 reported status to TARGET_WAITKIND_STOPPED.
11655 2015-07-30 Pedro Alves <palves@redhat.com>
11658 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11659 only shows inferior 1.
11661 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11662 Pedro Alves <palves@redhat.com>
11665 * gdb.threads/fork-plus-threads.c: New file.
11666 * gdb.threads/fork-plus-threads.exp: New file.
11668 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11670 * gdb.base/batch-preserve-term-settings.exp
11671 (test_terminal_settings_preserved_after_cli_exit): Use
11674 2015-07-29 Pedro Alves <palves@redhat.com>
11675 Don Breazeal <donb@codesourcery.com>
11677 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11678 output from both inferior_spawn_id and gdb_spawn_id.
11680 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11682 * gdb.threads/attach-into-signal.exp (corefunc): Use
11683 with_test_prefix on nested loops, uniquefying the test messages.
11685 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11687 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11690 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11692 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11694 (test_terminal_settings_preserved_after_sigterm): New test.
11696 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11698 * gdb.base/batch-preserve-term-settings.exp
11699 (test_terminal_settings_preserved_after_cli_exit): New test.
11701 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11703 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11704 manipulation of saved_gdbflags.
11705 (test_terminal_settings_preserved): Remove global declaration of
11706 the unused variable pagination_prompt. Remove manipulation of
11707 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11710 2015-07-29 Pedro Alves <palves@redhat.com>
11712 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11714 2015-07-29 Pedro Alves <palves@redhat.com>
11716 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11719 2015-07-29 Pedro Alves <palves@redhat.com>
11721 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11722 (main): Call gdb_unbuffer_output.
11723 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11724 (main): Call gdb_unbuffer_output.
11725 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11726 (main): Call gdb_unbuffer_output.
11727 * gdb.base/call-strs.exp: Adjust to step over the
11728 gdb_unbuffer_output call.
11729 * gdb.base/catch-gdb-caused-signals.c: Include
11730 "../lib/unbuffer_output.c".
11731 (main): Call gdb_unbuffer_output.
11732 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11733 (main): Call gdb_unbuffer_output.
11734 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11735 (main): Call gdb_unbuffer_output.
11736 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11737 (main): Call gdb_unbuffer_output.
11738 * gdb.base/shlib-call.exp: Adjust to step over the
11739 gdb_unbuffer_output call.
11740 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11741 (main): Call gdb_unbuffer_output.
11742 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11743 (main): Call gdb_unbuffer_output.
11744 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11745 (main): Rename to ...
11747 (main): Reimplement.
11748 * gdb.base/varargs.exp: Run to test instead of to main.
11749 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11750 (main): Call gdb_unbuffer_output.
11752 2015-07-29 Pedro Alves <palves@redhat.com>
11754 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11755 factore out from mi_continue_dprintf. For call-style dprintfs,
11756 expect dprintf output out of $inferior_spawn_id.
11757 (mi_continue_dprintf): Use mi_expect_dprintf.
11758 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11759 (main): Call gdb_unbuffer_output.
11761 2015-07-29 Pedro Alves <palves@redhat.com>
11763 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11764 (default_mi_gdb_start): Set inferior_spawn_id instead of
11765 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11767 (mi_gdb_test): Always expect inferior output from both
11768 $inferior_spawn_id and $gdb_spawn_id.
11770 2015-07-29 Pedro Alves <palves@redhat.com>
11772 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11773 send_inferior and $inferior_spawn_id.
11775 2015-07-29 Pedro Alves <palves@redhat.com>
11777 * gdb.gdb/complaints.exp (test_initial_complaints)
11778 (test_serial_complaints, test_short_complaints): Use
11780 (test_empty_complaint): Handle $inferior_spawn_id !=
11783 2015-07-29 Pedro Alves <palves@redhat.com>
11785 * gdb.base/varargs.exp: Use gdb_test_stdio.
11787 2015-07-29 Pedro Alves <palves@redhat.com>
11789 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11791 2015-07-29 Pedro Alves <palves@redhat.com>
11793 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11795 2015-07-29 Pedro Alves <palves@redhat.com>
11797 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11798 parameter into two new parameters, "inf_result" and "gdb_result".
11799 Expect inferior output and gdb output from $inferior_spawn_id and
11800 $gdb_spawn_id, respectively. Adjust all callers.
11802 2015-07-29 Pedro Alves <palves@redhat.com>
11804 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11805 of gdb_test_sequence.
11807 2015-07-29 Pedro Alves <palves@redhat.com>
11809 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11810 (saw_spurious_output): Expect inferior output from
11811 $inferior_spawn_id. Use gdb_test_stdio.
11813 2015-07-29 Pedro Alves <palves@redhat.com>
11815 * gdb.base/dprintf.exp: Use standard_testfile. Change
11816 prepare_for_testing call.
11817 (srcfile): Don't set.
11818 (restart): New procedure.
11819 (test_dprintf): New procecure, use to continue over dprintfs.
11820 (test_call, test_agent): New procedures, tests moved here.
11821 Restart gdb and recreate dprintfs. Adjust expected output.
11823 2015-07-29 Pedro Alves <palves@redhat.com>
11825 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11827 2015-07-29 Pedro Alves <palves@redhat.com>
11829 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11831 2015-07-29 Pedro Alves <palves@redhat.com>
11833 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11836 2015-07-29 Pedro Alves <palves@redhat.com>
11838 * lib/gdb.exp (gdb_test_stdio): New procedure.
11840 2015-07-29 Pedro Alves <palves@redhat.com>
11842 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11844 2015-07-29 Pedro Alves <palves@redhat.com>
11846 * gdb.base/call-signal-resume.exp: Remove check for
11847 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11848 * gdb.base/unwindonsignal.exp: Likewise.
11849 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11850 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11852 2015-07-29 Pedro Alves <palves@redhat.com>
11854 * gdb.base/siginfo-addr.c (pass): New function.
11855 (handler): Call it iff si_addr is correct.
11856 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11857 Set a breakpoint at "pass" and continue to it.
11859 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11861 * gdb.python/py-objfile.exp: Make some tests have unique names.
11862 * gdb.python/py-pp-registration.exp: Likewise.
11864 2015-07-28 Pedro Alves <palves@redhat.com>
11866 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11868 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11870 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11872 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11874 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11876 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11878 * gdb.base/gdb-sigterm-2.exp: New test.
11880 2015-07-25 Doug Evans <xdje42@gmail.com>
11883 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11884 (workers/%.worker, build-perf): New rule.
11885 (GDB_PERFTEST_MODE): New variable.
11886 (check-perf): Use it.
11887 (clean): Clean up gdb.perf parallel build subdirs.
11888 * lib/build-piece.exp: New file.
11889 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11890 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11892 (standard_temp_file): Ditto.
11893 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11896 2015-07-24 Doug Evans <dje@google.com>
11898 * gdb.perf/lib/perftest/utils.py: New file.
11899 * gdb.perf/gm-hello.cc: New file.
11900 * gdb.perf/gm-pervasive-typedef.cc: New file.
11901 * gdb.perf/gm-pervasive-typedef.h: New file.
11902 * gdb.perf/gm-std.cc: New file.
11903 * gdb.perf/gm-std.h: New file.
11904 * gdb.perf/gm-use-cerr.cc: New file.
11905 * gdb.perf/gm-utils.h: New file.
11906 * gdb.perf/gmonster-null-lookup.py: New file.
11907 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11908 * gdb.perf/gmonster-print-cerr.py: New file.
11909 * gdb.perf/gmonster-ptype-string.py: New file.
11910 * gdb.perf/gmonster-runto-main.py: New file.
11911 * gdb.perf/gmonster-select-file.py: New file.
11912 * gdb.perf/gmonster1-null-lookup.exp: New file.
11913 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11914 * gdb.perf/gmonster1-print-cerr.exp: New file.
11915 * gdb.perf/gmonster1-ptype-string.exp: New file.
11916 * gdb.perf/gmonster1-runto-main.exp: New file.
11917 * gdb.perf/gmonster1-select-file.exp: New file.
11918 * gdb.perf/gmonster1.cc: New file.
11919 * gdb.perf/gmonster1.exp: New file.
11920 * gdb.perf/gmonster2-null-lookup.exp: New file.
11921 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11922 * gdb.perf/gmonster2-print-cerr.exp: New file.
11923 * gdb.perf/gmonster2-ptype-string.exp: New file.
11924 * gdb.perf/gmonster2-runto-main.exp: New file.
11925 * gdb.perf/gmonster2-select-file.exp: New file.
11926 * gdb.perf/gmonster2.cc: New file.
11927 * gdb.perf/gmonster2.exp: New file.
11929 2015-07-24 Doug Evans <dje@google.com>
11931 * gdb.perf/README: New file.
11932 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11933 * lib/gen-perf-test.exp: New file.
11935 2015-07-24 Doug Evans <dje@google.com>
11937 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11938 (PerfTest::startup): New function.
11939 (PerfTest::run): Return result of calling body.
11940 (PerfTest::assemble): Rewrite.
11941 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11942 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11943 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11944 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11945 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11947 2015-07-24 Doug Evans <dje@google.com>
11949 * lib/gdb.exp (clean_restart): Make executable optional.
11951 2015-07-24 Doug Evans <dje@google.com>
11953 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11954 compiler_info references.
11955 * gdb.cp/temargs.exp: Ditto.
11956 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11957 (get_compiler_info): Early exit if already computed. Set compiler_info
11958 to "unknown" if there was a problem.
11959 (test_compiler_info): Add function comment. Call get_compiler_info.
11961 2015-07-24 Doug Evans <dje@google.com>
11963 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11964 (workers/%.worker, build-perf): New rule.
11965 (GDB_PERFTEST_MODE): New variable.
11966 (check-perf): Use it.
11967 (clean): Clean up gdb.perf parallel build subdirs.
11968 * lib/build-piece.exp: New file.
11969 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11970 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11972 (standard_temp_file): Ditto.
11973 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11976 2015-07-24 Doug Evans <dje@google.com>
11978 * lib/future.exp (gdb_default_target_compile): New option
11980 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11983 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11985 * gdb.base/catch-syscall.exp: Call gdb_exit before
11988 2015-07-24 Pedro Alves <palves@redhat.com>
11990 * gdb.python/py-events.exp: Accept output between the stop event
11992 * gdb.python/py-evsignal.exp: Likewise.
11993 * gdb.python/py-evthreads.exp: Likewise.
11995 2015-07-24 Pedro Alves <palves@redhat.com>
11998 * gdb.threads/non-ldr-exit.c: New file.
11999 * gdb.threads/non-ldr-exit.exp: New file.
12001 2015-07-24 Yao Qi <yao.qi@linaro.org>
12003 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12004 restarting process.
12006 2015-07-24 Yao Qi <yao.qi@linaro.org>
12008 * gdb.server/ext-restart.exp: New file.
12010 2015-07-24 Yao Qi <yao.qi@linaro.org>
12012 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12014 * gdb.server/ext-wrapper.exp: New file.
12016 2015-07-23 Doug Evans <dje@google.com>
12018 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12019 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12021 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12023 * gdb.ada/var_arr_typedef.exp: New testcase.
12024 * gdb.ada/var_arr_typedef/pack.adb: New file.
12025 * gdb.ada/var_arr_typedef/pack.ads: New file.
12026 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12028 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12030 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12032 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12034 * gdb.arch/i386-biarch-core.exp: Replace istarget
12035 by "complete set gnutarget". Remove expectation for the "core-file"
12038 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12040 Revert the previous commit:
12041 Tests for validate symbol file using build-id.
12043 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12045 Tests for validate symbol file using build-id.
12046 * gdb.base/solib-mismatch-lib.c: New file.
12047 * gdb.base/solib-mismatch-libmod.c: New file.
12048 * gdb.base/solib-mismatch.c: New file.
12049 * gdb.base/solib-mismatch.exp: New file.
12051 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12053 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12055 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12056 * gdb.base/siginfo.exp: Likewise.
12057 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12059 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12061 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12063 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12065 * gdb.trace/range-stepping.exp: Check that the target supports
12068 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12070 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12072 2015-07-14 Pedro Alves <palves@redhat.com>
12074 * gdb.base/killed-outside.exp: New file.
12075 * gdb.base/killed-outside.c: New file.
12077 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12079 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12081 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12083 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12085 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12086 infcall tests instead of setting up for KFAIL.
12088 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12090 * gdb.btrace/record_goto-step.exp: New.
12092 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12095 * gdb.compile/compile.c (struct struct_type): Add volatile to
12097 * gdb.compile/compile.exp
12098 (compile code struct_object.selffield = &struct_object): Skip further
12099 struct_object tests if this one xfails.
12101 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12104 * gdb.trace/ax.exp: Add test.
12106 2015-07-07 Yao Qi <yao.qi@linaro.org>
12108 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12109 instead of istarget "aarch64*-*-*".
12110 * gdb.arch/aarch64-fp.exp: Likewise.
12111 * gdb.base/float.exp: Likewise.
12112 * gdb.reverse/aarch64.exp: Likewise.
12113 * lib/gdb.exp (is_aarch64_target): New proc.
12115 2015-07-07 Yao Qi <yao.qi@linaro.org>
12117 * lib/gdb.exp (is_aarch32_target): New proc.
12118 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12119 instead of "istarget "arm*-*-*"".
12120 * gdb.arch/arm-disp-step.exp: Likewise.
12121 * gdb.arch/thumb-bx-pc.exp: Likewise.
12122 * gdb.arch/thumb-prologue.exp: Likewise.
12123 * gdb.arch/thumb-singlestep.exp: Likewise.
12124 * gdb.base/disp-step-syscall.exp: Likewise.
12125 * gdb.base/float.exp: Likewise.
12127 2015-07-07 Yao Qi <yao.qi@linaro.org>
12129 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12130 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12132 2015-07-07 Yao Qi <yao.qi@linaro.org>
12134 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12135 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12137 * gdb.multi/multi-arch.exp: Likewise.
12139 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12141 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12144 2015-07-07 Yao Qi <yao.qi@linaro.org>
12146 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12148 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12150 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12151 '[' and ']' characters.
12153 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12155 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12157 2015-06-29 Pedro Alves <palves@redhat.com>
12160 * gdb.threads/hand-call-new-thread.c: New file.
12161 * gdb.threads/hand-call-new-thread.c: New file.
12163 2015-06-26 Keith Seitz <keiths@redhat.com>
12164 Doug Evans <dje@google.com>
12167 * gdb.cp/var-tag-2.cc: New file.
12168 * gdb.cp/var-tag-3.cc: New file.
12169 * gdb.cp/var-tag-4.cc: New file.
12170 * gdb.cp/var-tag.cc: New file.
12171 * gdb.cp/var-tag.exp: New file.
12173 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12175 * gdb.base/history-duplicates.exp: New test.
12177 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12179 * gdb.base/completion.exp: Test the completion of the "focus"
12182 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12184 * gdb.arch/amd64-prologue-skip.S: New file.
12185 * gdb.arch/amd64-prologue-skip.exp: New file.
12187 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12189 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12190 is_address_zero_readable check.
12192 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12194 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12195 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12197 2015-06-24 Yao Qi <yao.qi@linaro.org>
12199 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12202 2015-06-24 Yao Qi <yao.qi@linaro.org>
12204 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12205 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12206 * gdb.base/siginfo-thread.exp: Likewise.
12208 2015-06-22 Yao Qi <yao.qi@linaro.org>
12210 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12212 2015-06-22 Yao Qi <yao.qi@linaro.org>
12214 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12216 (skip_hw_watchpoint_tests): Likewise.
12218 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12220 * gdb.base/gdbinit-history.exp: Test the interaction between
12221 setting GDBHISTSIZE and setting the history size via .gdbinit.
12223 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12226 * gdb.base/gdbhistsize-history.exp: New test.
12228 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12230 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12232 * gdb.base/readline.exp: Likewise.
12234 2015-06-17 Yao Qi <yao.qi@linaro.org>
12236 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12239 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12241 * gdb.base/gdbinit-history.exp: Add test case to check that
12242 an unlimited history file does not get truncated on exit.
12244 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12246 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12247 (VECTOR): New macro. Use it...
12248 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12249 ...for these typedefs.
12250 (int8, char1, int1, double1): New typedefs.
12251 (struct just_int2, struct two_int2): New structures.
12252 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12253 (add_structvecs, add_singlevecs): New functions.
12254 (main): Call add_some_intvecs twice.
12255 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12256 the compile and exit upon failure. Try compiling for the "native"
12257 architecture. Test inferior function calls with vector arguments
12258 and vector return value handling with "finish" and "return".
12260 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12262 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12263 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12265 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12267 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12269 PR breakpoints/16465
12270 * gdb.mi/mi-dprintf-pending.c: New file.
12271 * gdb.mi/mi-dprintf-pending.exp: New test.
12272 * gdb.mi/mi-dprintf-pendshr.c: New file.
12274 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12275 Mircea Gherzan <mircea.gherzan@intel.com>
12277 * gdb.arch/i386-mpx-map.c: New file.
12278 * gdb.arch/i386-mpx-map.exp: New File.
12280 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12282 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12283 * gdb.arch/i386-mpx.exp: Indentation fixed.
12285 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12287 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12288 function and improved indentation.
12289 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12290 gdb_test_multiple. Added additional tests to skip the test.
12292 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12294 * gdb.arch/i386-avx512.c: Change path in include file.
12295 * gdb.arch/i386-avx512.exp: Change include dir path
12297 * gdb.arch/i386-mpx.c: Change path in include file.
12298 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12301 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12303 * gdb.compile/compile-print.exp (compile print *vararray@3)
12304 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12306 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12308 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12309 (do not keep jit in memory): ... this.
12310 (expect 5): Change it to ...
12311 (expect no 5): ... this.
12313 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12316 * gdb.mi/mi-detach.exp: New file.
12318 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12321 * gdb.arch/amd64-tailcall-self.S: New file.
12322 * gdb.arch/amd64-tailcall-self.c: New file.
12323 * gdb.arch/amd64-tailcall-self.exp: New file.
12325 2015-05-28 Don Breazeal <donb@codesourcery.com>
12327 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12328 tests for remote targets by checking is_target_gdbserver.
12330 2015-05-27 Doug Evans <dje@google.com>
12332 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12333 * gdb.dwarf2/opaque-type-lookup.c: New file.
12334 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12336 2015-05-26 Doug Evans <dje@google.com>
12338 * gdb.cp/iostream.cc: New file.
12339 * gdb.cp/iostream.exp: New file.
12341 2015-05-26 Doug Evans <dje@google.com>
12343 * gdb.dwarf2/dw2-op-call.exp: Update.
12344 * gdb.dwarf2/dw4-sig-types.exp: Update.
12345 * gdb.dwarf2/implptr.exp: Update.
12346 * gdb.mi/mi-cmd-param-changed.exp: Update.
12348 2015-05-26 Doug Evans <dje@google.com>
12350 * gdb.python/py-lazy-string.c: New file.
12351 * gdb.python/py-lazy-string.exp: New file.
12352 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12353 (main): Update. Add estring3.
12354 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12355 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12357 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12358 Yao Qi <yao.qi@linaro.org>
12360 * gdb.reverse/aarch64.c: New.
12361 * gdb.reverse/aarch64.exp: New.
12363 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12365 * lib/gdb.exp (supports_process_record): Return true for
12367 (supports_reverse): Likewise.
12369 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12371 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12372 Use with_test_prefix.
12374 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12376 * gdb.base/completion.exp: Add test for completion of layout
12379 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12381 * lib/gdb.exp (skip_tui_tests): New proc.
12382 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12384 2015-05-19 Pedro Alves <palves@redhat.com>
12386 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12387 Save the whole env array instead of just HOME. Unset HISTSIZE in
12388 the environment while testing. Restore whole environment
12391 2015-05-16 Doug Evans <xdje42@gmail.com>
12393 * gdb.guile/scm-ports.c: New file.
12394 * gdb.guile/scm-ports.exp: Add memory port tests.
12396 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12398 * gdb.compile/compile-print.c: New file.
12399 * gdb.compile/compile-print.exp: New file.
12401 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12403 * gdb.compile/compile-ops.exp: Cast param to void.
12404 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12405 (compile code struct_object.selffield = &struct_object): Add xfail.
12407 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12409 * gdb.ada/arr_enum_with_gap: New testcase.
12411 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12413 * gdb.ada/byte_packed_arr: New testcase.
12415 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12417 * gdb.ada/pckd_neg: New testcase.
12419 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12422 * gdb.base/gdbinit-history.exp: New test.
12423 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12424 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12426 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12428 * gdb.python/py-xmethods.cc: Enhance test case.
12429 * gdb.python/py-xmethods.exp: New tests.
12430 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12432 (B_indexoper): Likewise.
12433 (global_dm_list) : Add new xmethod worker functions.
12435 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12437 * gdb.base/coredump-filter.exp: Correctly unset
12438 "coredump_var_addr" array.
12440 2015-05-08 Pedro Alves <palves@redhat.com>
12442 * gdb.server/non-existing-program.exp: Unset spawn_id.
12444 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12447 * gdb.python/py-xmethods.exp: Add tests.
12449 2015-05-08 Yao Qi <yao.qi@linaro.org>
12452 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12453 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12454 function set_coredump_filter, and remove remote_exec call.
12455 Remove argument ipid. Callers update.
12456 (top level): Don't get inferior's PID.
12458 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12460 * gdb.base/watch_thread_num.exp: Skip test on targets without
12461 access watchpoints.
12463 2015-05-06 Pedro Alves <palves@redhat.com>
12466 * gdb.server/non-existing-program.exp: New file.
12468 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12470 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12472 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12474 * gdb.ada/out_of_line_in_inlined: New testcase.
12476 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12478 * gdb.ada/var_rec_arr: New testcase.
12480 2015-04-30 Yao Qi <yao.qi@linaro.org>
12482 * gdb.base/break-idempotent.exp: If
12483 skip_hw_watchpoint_multi_tests returns true, skip the tests
12484 on "rwatch" and "awatch".
12486 2015-04-30 Yao Qi <yao.qi@linaro.org>
12488 * gdb.base/relativedebug.exp: Invoke gdb command
12489 "info sharedlibrary", and if libc.so doesn't have debug info,
12492 2015-04-29 Doug Evans <dje@google.com>
12494 * gdb.python/py-xmethods.exp: Add ptype tests.
12495 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12496 get_result_type method.
12498 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12500 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12501 the target does not support hardware watchpoints.
12503 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12505 * gdb.base/break-always.exp: Abort testing if writing to memory
12508 2015-04-28 Doug Evans <dje@google.com>
12510 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12511 * gdb.python/py-pp-registration.exp: ... here. New file.
12512 * gdb.python/py-pp-registration.c: New file.
12513 * gdb.python/py-pp-registration.py: New file.
12515 2015-04-28 Doug Evans <dje@google.com>
12517 * gdb.python/py-bad-printers.c: New file.
12518 * gdb.python/py-bad-printers.py: New file.
12519 * gdb.python/py-bad-printers.exp: New file.
12521 2015-04-28 Sasha Smundak <asmundak@google.com>
12523 * gdb.python/py-type.exp: New test.
12525 2015-04-28 Andy Wingo <wingo@igalia.com>
12527 * gdb.python/py-parameter.exp:
12528 * gdb.guile/scm-parameter.exp: Escape the path that we are
12529 matching against, as it might contain characters that are special
12530 to regular expressions.
12532 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12534 * gdb.ada/rec_comp: New testcase.
12536 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12538 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12541 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12543 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12544 new tests for verilog output.
12546 2015-04-24 Yao Qi <yao.qi@linaro.org>
12548 * boards/remote-gdbserver-on-localhost.exp: New file.
12550 2015-04-23 Pedro Alves <palves@redhat.com>
12552 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12553 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12554 "end of file", remove $inferior_spawn_id from the indirect list.
12556 2015-04-23 Pedro Alves <palves@redhat.com>
12558 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12560 2015-04-23 Pedro Alves <palves@redhat.com>
12562 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12563 on $any_spawn_id instead of only on $gdb_spawn_id.
12565 2015-04-21 Pierre Muller <muller@sourceware.org>
12568 * lib/pascal.exp (gpc_compile): Add new option "class".
12569 (fpc_compile): Likewise.
12570 * gdb.pascal/case-insensitive-symbols.pas: New file.
12571 * gdb.pascal/case-insensitive-symbols.exp: New file.
12573 2015-04-20 Gary Benson <gbenson@redhat.com>
12575 * gdb.base/attach.exp: Fix three extended remote failures.
12577 2015-04-17 Gary Benson <gbenson@redhat.com>
12579 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12580 the main executable over the remote protocol.
12582 2015-04-16 Pedro Alves <palves@redhat.com>
12584 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12585 a new gdbserver if gdbserver_reconnect_p is set.
12587 2015-04-16 Pedro Alves <palves@redhat.com>
12589 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12590 is set, don't exit gdbserver.
12592 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12594 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12595 appropriate .insn, such that an older assembler can be used.
12596 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12597 the z/Architecture instruction set on 31-bit targets as well.
12599 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12601 * gdb.go/handcall.exp: Remove all logic related to the first
12602 breakpoint and rely on go_runto_main instead.
12603 * gdb.go/strings.exp: Likewise.
12604 * gdb.go/unsafe.exp: Likewise.
12605 * gdb.go/hello.exp: Likewise. Also rename the remaining
12606 breakpoint marker to "breakpoint 1".
12607 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12608 * gdb.go/strings.go: Likewise.
12609 * gdb.go/unsafe.go: Likewise.
12610 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12611 "set breakpoint 2 here" and rename the remaining breakpoint marker
12614 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12616 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12617 if itertools.imap is not present.
12618 * gdb.python/py-objfile.exp: Add parentheses.
12619 * gdb.python/py-type.exp: Same.
12620 * gdb.python/py-unwind-maint.py: Same.
12622 2015-04-15 Yao Qi <yao.qi@linaro.org>
12624 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12625 of ":$ptr_size" and set its form explicitly.
12627 2015-04-15 Pedro Alves <palves@redhat.com>
12628 Yao Qi <yao.qi@linaro.org>
12630 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12631 timeout by factor of 4.
12632 (test_regular_watch): Likewise.
12633 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12634 * gdb.reverse/sigall-reverse.exp: Likewise.
12635 * gdb.reverse/until-precsave.exp: Likewise.
12636 * lib/gdb.exp (with_timeout_factor): New proc.
12637 (gdb_expect): Move some code to ...
12638 (get_largest_timeout): ... here. New procedure.
12640 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12642 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12644 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12646 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12647 to write to the .text section.
12649 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12651 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12652 Handle the case of targets that do not provide PID information.
12654 2015-04-13 Yao Qi <yao.qi@linaro.org>
12656 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12657 and use expect instead of gdb_expect.
12659 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12661 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12662 "coredump_var_addr" to avoid naming conflict with other testcases.
12664 2015-04-10 Pedro Alves <palves@redhat.com>
12666 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12667 gdb_test_sequence and gdb_assert.
12669 2015-04-10 Pedro Alves <palves@redhat.com>
12671 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12672 test messages that don't include the breakpoint address.
12674 2015-04-10 Yao Qi <yao.qi@linaro.org>
12676 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12677 false for some offset and width combinations which aren't
12678 supported by linux kernel.
12680 2015-04-10 Pedro Alves <palves@redhat.com>
12682 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12683 procedure, factored out from ...
12684 (top level): ... here. Add "set displaced-stepping" testing axis.
12685 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12686 parameter "displaced". Use it.
12687 (top level): Use foreach and add "set displaced-stepping" testing
12690 2015-04-10 Pedro Alves <palves@redhat.com>
12692 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12694 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12695 both the address of the instruction that triggers the watchpoint
12696 and the address of the instruction immediately after, and use
12697 those addresses for the test. Fix comment.
12699 2015-04-10 Pedro Alves <palves@redhat.com>
12701 * gdb.base/sigstep.exp (breakpoint_to_handler)
12702 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12703 Test "backtrace" in handler.
12704 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12705 (top level): Add new "displaced" test axis to
12706 breakpoint_to_handler, breakpoint_to_handler_entry and
12707 breakpoint_over_handler.
12709 2015-04-10 Pedro Alves <palves@redhat.com>
12712 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12714 2015-04-10 Yao Qi <yao.qi@linaro.org>
12716 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12717 (test_add_rn_pc): New function.
12718 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12719 (top level): Invoke test_add_rn_pc.
12721 2015-04-10 Pedro Alves <palves@redhat.com>
12724 * gdb.base/step-over-no-symbols.exp: New file.
12726 2015-04-09 Andy Wingo <wingo@igalia.com>
12728 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12729 after the Python tests.
12731 2015-04-08 Keith Seitz <keiths@redhat.com>
12734 * gdb.python/py-completion.exp: New tests for completion.
12735 * gdb.python/py-completion.py (CompleteLimit1): New class.
12736 (CompleteLimit2): Likewise.
12737 (CompleteLimit3): Likewise.
12738 (CompleteLimit4): Likewise.
12739 (CompleteLimit5): Likewise.
12740 (CompleteLimit6): Likewise.
12741 (CompleteLimit7): Likewise.
12743 2015-04-08 Pedro Alves <palves@redhat.com>
12747 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12749 (main): Install it as SIGUSR1 handler.
12750 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12751 parameter. Always use "setup" as prefix. Toggle "set
12752 displaced-stepping" off/on depending on global. Don't switch to
12754 (top level): Add displaced stepping "off/on" test axis. Update
12755 "setup" calls. Wrap each subtest with with_test_prefix. Test
12756 continuing with a queued signal in each thread.
12758 2015-04-08 Pedro Alves <palves@redhat.com>
12760 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12761 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12762 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12763 Return early if running to main fails.
12764 * gdb.trace/while-stepping.exp: Likewise.
12766 2015-04-07 Pedro Alves <palves@redhat.com>
12768 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12769 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12770 interact with inferior program.
12772 2015-04-07 Pedro Alves <palves@redhat.com>
12774 * lib/gdb.exp (inferior_spawn_id): New global.
12775 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12776 spawn id after processing the user code.
12777 (default_gdb_start): Set inferior_spawn_id.
12778 (send_inferior): New procedure.
12779 * lib/gdbserver-support.exp (gdbserver_start): Set
12781 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12783 2015-04-07 Pedro Alves <palves@redhat.com>
12785 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12786 * lib/gdbserver-support.exp (gdbserver_start): Make
12787 $server_spawn_id global.
12788 (gdbserver_start): Don't wait for gdbserver's spawn id with
12790 (close_gdbserver): New procedure.
12791 (gdb_exit): Rename the default version and reimplement.
12793 2015-04-07 Pedro Alves <palves@redhat.com>
12795 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12796 append the substituted item, not the original item.
12798 2015-04-07 Pedro Alves <palves@redhat.com>
12800 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12803 2015-04-07 Pedro Alves <palves@redhat.com>
12805 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12806 output appearing once only.
12808 2015-04-07 Pedro Alves <palves@redhat.com>
12810 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12811 that doesn't expect anything. Return early if running to main
12814 2015-04-07 Yao Qi <yao.qi@linaro.org>
12816 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12817 (child_function): Call alarm.
12818 (main): Move call to alarm into the loop.
12819 * gdb.threads/non-stop-fair-events.exp: Build program with
12820 -DTIMEOUT=$timeout.
12822 2015-04-06 Doug Evans <xdje42@gmail.com>
12824 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12825 Fix dest parameter to board_info.
12826 (fpc_compile): Ditto.
12827 (gdb_compile_pascal): Rename dest arg to destfile.
12829 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12831 * gdb.ada/funcall_ref.exp: New file.
12832 * gdb.ada/funcall_ref/foo.adb: New file.
12834 2015-04-02 Yao Qi <yao.qi@linaro.org>
12836 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12839 2015-04-02 Gary Benson <gbenson@redhat.com>
12841 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12843 2015-04-01 Sasha Smundak <asmundak@google.com>
12845 * gdb.python/py-unwind-maint.c: New file.
12846 * gdb.python/py-unwind-maint.exp: New test.
12847 * gdb.python/py-unwind-maint.py: New file.
12848 * gdb.python/py-unwind.c: New file.
12849 * gdb.python/py-unwind.exp: New test.
12850 * gdb.python/py-unwind.py: New test.
12852 2015-04-01 Pedro Alves <palves@redhat.com>
12854 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12855 to fail instead of non-existent $test.
12857 2015-04-01 Pedro Alves <palves@redhat.com>
12859 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12860 GDBFLAGS if not empty.
12862 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12864 * gdb.ada/complete.exp: Remove "multi_line".
12865 * gdb.ada/info_exc.exp: Remove "multi_line".
12866 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12867 * gdb.ada/ptype_field.exp: Remove "multi_line".
12868 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12869 * gdb.ada/tagged.exp: Remove "multi_line".
12870 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12872 * gdb.btrace/delta.exp: Likewise.
12873 * gdb.btrace/exception.exp: Likewise.
12874 * gdb.btrace/function_call_history.exp: Likewise.
12875 * gdb.btrace/instruction_history.exp: Likewise.
12876 * gdb.btrace/nohist.exp: Likewise.
12877 * gdb.btrace/record_goto.exp: Likewise.
12878 * gdb.btrace/segv.exp: Likewise.
12879 * gdb.btrace/stepi.exp: Likewise.
12880 * gdb.btrace/tailcall.exp: Likewise.
12881 * gdb.btrace/unknown_functions.exp: Likewise.
12882 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12883 * lib/gdb.exp: Add the "multi_line" helper.
12885 2015-04-01 Pedro Alves <palves@redhat.com>
12887 * gdb.threads/tid-reuse.c: New file.
12888 * gdb.threads/tid-reuse.exp: New file.
12890 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12893 * gdb.base/coredump-filter.c: New file.
12894 * gdb.base/coredump-filter.exp: Likewise.
12896 2015-03-27 Petr Machata <pmachata@redhat.com>
12898 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12899 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12900 (Dwarf::assemble): Initialize them.
12901 (Dwarf::lines): New function.
12903 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12905 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12906 SYMBOL_PREFIX for x86_64-*-cygwin.
12908 2015-03-26 Andy Wingo <wingo@igalia.com>
12911 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12912 const_value but not a location.
12913 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12914 location defined in non-main CUs are visible.
12916 2015-03-26 Yao Qi <yao.qi@linaro.org>
12919 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12920 Add a line number entry for the same line.
12921 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12922 Add a line number entry for the same line.
12924 2015-03-26 Yao Qi <yao.qi@linaro.org>
12926 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12928 (func): Likewise. Add .Lfunc_1 label.
12929 Use .Lfunc_1 label.
12930 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12933 Use .Lfunc_1 label.
12935 2015-03-26 Yao Qi <yao.qi@linaro.org>
12937 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12938 Call gdb_compile instead to compile each .s files without debug
12941 2015-03-26 Yao Qi <yao.qi@linaro.org>
12943 * gdb.base/savedregs.exp (process_saved_regs): Make
12944 "Saved registers:" optional in the pattern.
12946 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12948 * gdb.btrace/next.exp: Merged into step.exp.
12949 * gdb.btrace/finish.exp: Merged into step.exp.
12950 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12951 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12952 "record goto" and checking the exact replay position.
12953 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12954 check for "Recording format" in "info record" output.
12955 * gdb.btrace/record_goto.exp: Choose test file based on target.
12956 * gdb.btrace/x86-record_goto.S: Renamed into ...
12957 * gdb.btrace/x86_64-record_goto.S: ... this.
12958 * gdb.btrace/i686-record_goto.S: New.
12959 * gdb.btrace/x86-tailcall.S: Renamed into ...
12960 * gdb.btrace/x86_64-tailcall.S: ... this.
12961 * gdb.btrace/i686-tailcall.S: New.
12962 * gdb.btrace/x86-tailcall.c: Renamed into ...
12963 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12964 separate statements. Update test.
12965 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12966 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12967 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12968 * gdb.btrace/tailcall.exp: Choose test file based on target.
12969 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12971 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12973 * gdb.btrace/exception.exp: Increase BTS buffer size.
12975 2015-03-24 Pedro Alves <palves@redhat.com>
12977 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12979 2015-03-24 Pedro Alves <palves@redhat.com>
12981 * gdb.threads/schedlock.exp (test_step): No longer expect that
12982 "set scheduler-locking step" with "next" over a function call runs
12985 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12987 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12989 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12991 PR breakpoints/16466
12992 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12993 * gdb.mi/mi-pending.c (thread_func): New function.
12994 (int main): Add threading support required.
12995 * gdb.mi/mi-pending.exp: Add tests for this issue.
12996 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12997 (pendfunc2): Remove stdio dependency.
12998 * gdb.mi/mi-pendshr2.c: New file.
13000 2015-03-23 Keith Seitz <keiths@redhat.com>
13002 * gdb.linespec/keywords.c: New file.
13003 * gdb.linespec/keywords.exp: New file.
13005 2015-03-23 Keith Seitz <keiths@redhat.com>
13008 * gdb.dwarf2/staticvirtual.exp: New test.
13010 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13012 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13013 * README: Remove HP-UX and gdb.hp.
13015 * configure: Regenerate.
13016 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13017 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13018 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13019 gdb.hp/gdb.defects/Makefile.
13020 * gdb.hp/Makefile.in: File deleted.
13021 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13022 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13023 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13024 * gdb.hp/gdb.aCC/run.c: File deleted.
13025 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13026 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13027 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13028 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13029 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13030 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13031 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13032 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13033 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13034 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13035 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13036 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13037 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13038 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13039 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13040 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13041 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13042 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13043 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13044 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13045 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13046 * gdb.hp/gdb.compat/average.c: File deleted.
13047 * gdb.hp/gdb.compat/sum.c: File deleted.
13048 * gdb.hp/gdb.compat/xdb.c: File deleted.
13049 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13050 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13051 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13052 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13053 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13054 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13055 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13056 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13057 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13058 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13059 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13060 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13061 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13062 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13063 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13064 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13065 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13066 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13067 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13068 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13069 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13070 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13071 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13072 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13073 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13074 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13075 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13076 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13077 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13078 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13079 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13080 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13081 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13082 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13083 * gdb.hp/tools/odump: File deleted.
13085 2015-03-19 Pedro Alves <palves@redhat.com>
13087 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13088 (saw_thread_3): New globals.
13089 (top level): Increment them when an event for the corresponding
13091 (no thread starvation): New test.
13093 2015-03-19 Pedro Alves <palves@redhat.com>
13095 * gdb.threads/continue-pending-status.c: New file.
13096 * gdb.threads/continue-pending-status.exp: New file.
13098 2015-03-18 Pedro Alves <palves@redhat.com>
13100 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13101 Use gdb_is_target_remote instead of is_remote. Use
13102 gdb_test_multiple instead of gdb_expect. Exit early if
13103 gdb_test_multiple hits its internal matches. Tighten stepi tests
13104 expected output. Fail on exit with any signal, instead of just
13107 2015-03-18 Yao Qi <yao.qi@linaro.org>
13110 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13112 * gdb.base/catch-syscall.exp: Don't skip it on
13113 aarch64*-*-linux* target. Remove elements in all_syscalls.
13114 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13116 (setup_all_syscalls): New proc.
13118 2015-03-16 Yao Qi <yao.qi@linaro.org>
13120 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13121 (top level): Skip tests if valid_addr_p returns false for
13124 2015-03-11 Andy Wingo <wingo@igalia.com>
13126 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13128 2015-03-11 Yao Qi <yao.qi@linaro.org>
13130 * gdb.base/catch-syscall.exp: Fix typo in comments.
13132 2015-03-11 Yao Qi <yao.qi@linaro.org>
13134 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13136 2015-03-09 Pedro Alves <palves@redhat.com>
13138 * dg-extract-results.py: Delete.
13140 2015-03-09 Pedro Alves <palves@redhat.com>
13142 Merge dg-extract-results.sh from GCC upstream (r218843).
13144 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13145 * dg-extract-results.sh: Use --text with grep to avoid issues with
13146 binary files. Fall back to cat -v, if that doesn't work.
13148 2015-03-05 Pedro Alves <palves@redhat.com>
13150 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13152 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13154 * lib/mi-support.exp (mi_expect_interrupt): Accept
13155 alternative event for when in all-stop mode.
13157 2015-03-04 Pedro Alves <palves@redhat.com>
13159 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13161 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13163 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13165 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13167 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13168 regexps for GDB's current line display, accept a hex address
13169 preceding the line number.
13171 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13173 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13174 the 'arch1' variable for "s390*-linux*" targets.
13176 2015-03-04 Pedro Alves <palves@redhat.com>
13178 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13179 (main): Pass missing retval argument to pthread_join call.
13181 2015-03-02 Pedro Alves <palves@redhat.com>
13183 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13184 (top level): Call do_test with non-stop as well.
13186 2015-03-02 Pedro Alves <palves@redhat.com>
13188 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13191 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13193 * gdb.arch/s390-vregs.exp: New test.
13194 * gdb.arch/s390-vregs.S: New file.
13196 2015-02-27 Pedro Alves <palves@redhat.com>
13198 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13199 call to catch_command_errors.
13200 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13201 catch_command_errors.
13203 2015-02-27 Pedro Alves <palves@redhat.com>
13205 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13206 "true" for boolean result.
13207 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13210 2015-02-27 Pedro Alves <palves@redhat.com>
13212 * lib/unbuffer_output.c: New file.
13213 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13214 (main): Call gdb_unbuffer_output.
13216 2015-02-27 Yao Qi <yao.qi@linaro.org>
13218 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13221 2015-02-26 Doug Evans <dje@google.com>
13223 * gdb.cp/class2.cc (Dbase, D): New classes.
13224 (main): New local delta.
13225 * gdb.cp/class2.exp: Test printing delta.
13226 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13227 (dynbar): New global.
13228 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13230 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13232 * gdb.compile/compile-ifunc.c: New file.
13233 * gdb.compile/compile-ifunc.exp: New file.
13235 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13237 * gdb.base/structs.exp: Check for correct struct on finish.
13239 2015-02-26 Yao Qi <yao.qi@linaro.org>
13241 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13244 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13246 * gdb.arch/cordic.ko.bz2: New file.
13247 * gdb.arch/cordic.ko.debug.bz2: New file.
13248 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13250 2015-02-25 Yao Qi <yao.qi@linaro.org>
13252 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13253 aarch64*-*-* target.
13255 2015-02-23 Pedro Alves <palves@redhat.com>
13257 * lib/gdb.exp (delete_breakpoints): Rewrite using
13260 2015-02-23 Pedro Alves <palves@redhat.com>
13262 * gdb.base/info-os.c: Include stdlib.h.
13264 2015-02-22 Doug Evans <xdje42@gmail.com>
13267 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13268 is read after symbols have been re-read.
13269 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13270 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13272 2015-02-21 Doug Evans <dje@google.com>
13274 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13276 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13279 * gdb.arch/i386-biarch-core.core.bz2: New file.
13280 * gdb.arch/i386-biarch-core.exp: New file.
13282 2015-02-21 Pedro Alves <palves@redhat.com>
13284 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13287 2015-02-20 Pedro Alves <palves@redhat.com>
13289 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13292 2015-02-20 Pedro Alves <palves@redhat.com>
13294 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13296 2015-02-20 Pedro Alves <palves@redhat.com>
13298 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13299 clean_restart before gdb_target_supports_trace.
13301 2015-02-20 Pedro Alves <palves@redhat.com>
13304 * gdb.threads/clone-thread_db.c: New file.
13305 * gdb.threads/clone-thread_db.exp: New file.
13307 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13309 PR breakpoints/16812
13310 * gdb.base/catch-gdb-caused-signals.c: New file.
13311 * gdb.base/catch-gdb-caused-signals.exp: New file.
13313 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13315 * configure: Regenerated.
13316 * configure.ac: Use GDB_AC_TRANSFORM.
13317 * aclocal.m4: sinclude ../transform.m4.
13319 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13321 * lib/dtrace.exp: New file.
13322 * gdb.base/dtrace-probe.exp: Likewise.
13323 * gdb.base/dtrace-probe.d: Likewise.
13324 * gdb.base/dtrace-probe.c: Likewise.
13325 * lib/pdtrace.in: Likewise.
13326 * configure.ac: Output variables with the transformed names of
13327 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13328 * configure: Regenerated.
13330 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13332 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13333 expected message when trying to access $_probe_* convenience
13334 variables while not on a probe.
13336 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13338 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13340 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13342 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13343 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13345 2015-02-10 Doug Evans <xdje42@gmail.com>
13347 * lib/gdb.exp (gdb_load): Always return a result.
13349 2015-02-10 Pedro Alves <palves@redhat.com>
13351 * gdb.threads/signal-sigtrap.c: New file.
13352 * gdb.threads/signal-sigtrap.exp: New file.
13354 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13356 * gdb.trace/no-attach-trace.c: New file.
13357 * gdb.trace/no-attach-trace.exp: New file.
13359 2015-02-09 Mark Wielaard <mjw@redhat.com>
13361 * gdb.dwarf2/atomic.c: New file.
13362 * gdb.dwarf2/atomic-type.exp: Likewise.
13364 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13366 * gdb.btrace/buffer-size.exp: Update "info record" output.
13367 * gdb.btrace/delta.exp: Update "info record" output.
13368 * gdb.btrace/enable.exp: Update "info record" output.
13369 * gdb.btrace/finish.exp: Update "info record" output.
13370 * gdb.btrace/instruction_history.exp: Update "info record" output.
13371 * gdb.btrace/next.exp: Update "info record" output.
13372 * gdb.btrace/nexti.exp: Update "info record" output.
13373 * gdb.btrace/step.exp: Update "info record" output.
13374 * gdb.btrace/stepi.exp: Update "info record" output.
13375 * gdb.btrace/nohist.exp: Update "info record" output.
13377 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13379 * gdb.btrace/buffer-size: New.
13381 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13383 * gdb.btrace/delta.exp: Update "info record" output.
13384 * gdb.btrace/enable.exp: Update "info record" output.
13385 * gdb.btrace/finish.exp: Update "info record" output.
13386 * gdb.btrace/instruction_history.exp: Update "info record" output.
13387 * gdb.btrace/next.exp: Update "info record" output.
13388 * gdb.btrace/nexti.exp: Update "info record" output.
13389 * gdb.btrace/step.exp: Update "info record" output.
13390 * gdb.btrace/stepi.exp: Update "info record" output.
13391 * gdb.btrace/nohist.exp: Update "info record" output.
13393 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13396 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13398 2015-02-06 Pedro Alves <palves@redhat.com>
13400 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13402 (seconds_left, again): New globals.
13403 (main): Wait seconds_left in a 1-second sleep loop instead of
13404 sleeping 180 seconds. If 'again' is set, reset the seconds
13406 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13407 'again' in the inferior before detaching. Print the seconds left.
13408 (options): New global.
13409 (top level): Build program with -DTIMEOUT=$timeout.
13411 2015-02-06 Pedro Alves <palves@redhat.com>
13413 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13414 determine how many seconds to pass to 'alarm'.
13415 * gdb.base/gdb-sigterm.exp (top level): Build program with
13416 -DTIMEOUT=$timeout.
13417 (do_test): Return success/failure indication. Add more verbose
13418 logging. Don't fail if 200 single steps are seen. Instead, fail
13419 when the test times out.
13420 (passes): New global.
13421 (top level): Break the testing loop if testing fails on any
13422 iteration. Use gdb_assert.
13424 2015-02-04 Don Breazeal <donb@codesourcery.com>
13426 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13427 and initialize them.
13428 (ipc_cleanup): New function.
13429 (main): Don't declare shmid, semid, and msqid. Add a call to
13430 atexit so that we call ipc_cleanup on exit.
13432 2015-02-04 Pedro Alves <palves@redhat.com>
13434 * boards/native-extended-gdbserver.exp: Remove any target variant
13435 specifications from the board name before clearing the isremote
13436 flag from board_info.
13438 2015-01-31 Doug Evans <xdje42@gmail.com>
13440 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13442 2015-01-31 Gary Benson <gbenson@redhat.com>
13444 * gdb.base/completion.exp: Disable completion limiting for
13445 existing tests. Add new tests to check completion limiting.
13446 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13448 2015-01-31 Doug Evans <xdje42@gmail.com>
13450 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13452 2015-01-31 Doug Evans <xdje42@gmail.com>
13454 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13455 entries. Duplicate file section script entries.
13456 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13457 inlined entries. Add test for safe-path rejection.
13458 * gdb.python/py-section-script.c: Add duplicate inlined section script
13459 entries. Duplicate file section script entries.
13460 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13461 inlined entries. Add test for safe-path rejection.
13463 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13465 * gdb.ada/disc_arr_bound: New testcase.
13467 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13469 * gdb.ada/mi_var_array: New testcase.
13471 2015-01-27 Doug Evans <dje@google.com>
13473 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13474 Add test for objfile.filename, objfile.username after objfile
13477 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13479 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13480 the second test to print the name attribute of value
13481 returned by the call to gdb.lookup_type, and adjust
13482 the expected output accordingly.
13484 2015-01-25 Mark Wielaard <mjw@redhat.com>
13486 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13487 * gdb.base/disp-step-fork.c: Include unistd.h.
13488 * gdb.base/siginfo-obj.c: Include stdio.h.
13489 * gdb.base/siginfo-thread.c: Likewise.
13490 * gdb.mi/non-stop.c: Include unistd.h.
13491 * gdb.mi/nsthrexec.c: Include stdio.h.
13492 * gdb.mi/pthreads.c: Include unistd.h.
13493 * gdb.modula2/unbounded1.c (main): Declare returns int.
13494 * gdb.reverse/consecutive-reverse.c: Likewise.
13495 * gdb.threads/create-fail.c: Include unistd.h.
13496 * gdb.threads/killed.c: Likewise.
13497 * gdb.threads/linux-dp.c: Likewise.
13498 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13499 * gdb.threads/non-ldr-exc-2.c: Likewise.
13500 * gdb.threads/non-ldr-exc-3.c: Likewise.
13501 * gdb.threads/non-ldr-exc-4.c: Likewise.
13502 * gdb.threads/pthreads.c: Include unistd.h.
13503 (main): Declare returns int.
13504 * gdb.threads/tls-main.c (foo): New declaration.
13505 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13507 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13509 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13510 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13512 2015-01-15 Mark Wielaard <mjw@redhat.com>
13514 * gdb.base/noreturn-return.c: New file.
13515 * gdb.base/noreturn-return.exp: New file.
13516 * gdb.base/noreturn-finish.c: New file.
13517 * gdb.base/noreturn-finish.exp: New file.
13519 2015-01-23 Pedro Alves <palves@redhat.com>
13521 * gdb.threads/continue-pending-after-query.c: New file.
13522 * gdb.threads/continue-pending-after-query.exp: New file.
13524 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13525 Simon Marchi <simon.marchi@ericsson.com>
13527 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13528 * gdb.base/valgrind-db-attach.exp: Same.
13529 * gdb.base/valgrind-infcall.exp: Same.
13530 * lib/mi-support.exp (default_mi_gdb_start): Same.
13531 * lib/prompt.exp (default_prompt_gdb_start): Same.
13532 * lib/gdb.exp (default_gdb_spawn): Same.
13533 (gdb_interact): New.
13536 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13538 * gdb.compile/compile.exp (pointer to jit function): New test.
13540 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13542 * lib/gdb.exp (supports_process_record): Return true for
13544 (supports_reverse): Likewise.
13546 2015-01-15 Don Breazeal <donb@codesourcery.com>
13548 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13549 instead of checking whether the target board is remote and
13550 use spawn_wait_for_attach instead of exec/sleep.
13551 * gdb.base/attach-twice.exp: Likewise.
13553 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13555 * gdb.ada/var_arr_attrs: New testcase.
13557 2015-01-14 Pedro Alves <palves@redhat.com>
13558 Joel Brobecker <brobecker@adacore.com>
13561 * gdb.base/bp-cmds-execution-x-script.c: New file.
13562 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13563 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13565 2015-01-14 Pedro Alves <palves@redhat.com>
13568 * gdb.base/batch-preserve-term-settings.c: New file.
13569 * gdb.base/batch-preserve-term-settings.exp: New file.
13571 2015-01-13 Doug Evans <dje@google.com>
13573 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13576 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13578 * Makefile.in (clean mostlyclean): Do not delete *.py.
13580 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13582 * gdb.python/py-lookup-type.exp: New file.
13584 2015-01-12 Pedro Alves <palves@redhat.com>
13586 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13587 restore GDBFLAGS before returning.
13589 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13591 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13592 is_amd64_regs_target and is_x86_like_target.
13594 2015-01-11 Doug Evans <xdje42@gmail.com>
13596 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13597 is given without an explicit form.
13598 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13600 * gdb.dwarf/corrupt.exp: Ditto.
13601 * gdb.dwarf2/enum-type.exp: Ditto.
13602 * gdb.trace/entry-values.exp: Ditto.
13603 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13605 2015-01-11 Doug Evans <xdje42@gmail.com>
13608 * gdb.base/maint.exp: Remove references to "maint demangle".
13609 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13610 Add tests for explicitly specifying language to demangle.
13611 * gdb.dlang/demangle.exp: Ditto.
13613 2015-01-09 Pedro Alves <palves@redhat.com>
13615 * gdb.threads/non-stop-fair-events.c: New file.
13616 * gdb.threads/non-stop-fair-events.exp: New file.
13618 2015-01-09 Pedro Alves <palves@redhat.com>
13620 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13621 the global scope. Set a breakpoint after all threads are started
13622 rather than stepping over two source lines. Expect the prompt.
13623 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13626 (main): Use threads_started_barrier to wait for all threads to
13627 start. Main thread no longer calls thread_function. Exit after
13629 (loop): New function.
13630 (thread_function): Wait on threads_started_barrier barrier. Call
13631 'loop' at each iteration.
13632 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13633 threads have started, instead of hardcoding number of "next"
13634 steps. Use an access watchpoint instead of a write watchpoint.
13636 2015-01-09 Pedro Alves <palves@redhat.com>
13638 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13639 (thread_func): Wait on barrier.
13640 (main): Wait for all threads to start before stopping GDB.
13641 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13643 (thread1_func, thread2_func): Wait on barrier.
13644 (main): Wait for all threads to start before stopping GDB.
13645 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13647 (thread1_func, thread2_func): Wait on barrier.
13648 (main): Wait for all threads to start before stopping GDB.
13650 2015-01-09 Pedro Alves <palves@redhat.com>
13652 * gdb.threads/attach-many-short-lived-threads.c: New file.
13653 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13655 2014-01-09 Pedro Alves <palves@redhat.com>
13657 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13658 instead of to thread 2.
13659 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13660 Add barrier around each pthread_create call instead of around all
13662 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13663 Set a break on thread_function and have the child threads hit it
13666 2015-01-09 Pedro Alves <palves@redhat.com>
13668 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13669 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13671 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13672 checking whether the target board is remote.
13673 * gdb.multi/multi-attach.exp: Likewise.
13674 * gdb.python/py-sync-interp.exp: Likewise.
13675 * gdb.server/ext-attach.exp: Likewise.
13676 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13677 tests that need to attach, instead of checking whether the target
13678 board is remote at the top of the file.
13680 2015-01-08 Yao Qi <yao@codesourcery.com>
13682 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13684 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13686 Fix testcase compilation.
13687 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13689 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13691 * gdb.python/py-type.exp: Add a couple test about empty
13692 array creation, and negative-length array creation.
13694 2015-01-02 Doug Evans <xdje42@gmail.com>
13696 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13698 2015-01-02 Doug Evans <dje@google.com>
13700 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13702 2014-12-29 Yao Qi <yao@codesourcery.com>
13704 * gdb.trace/entry-values.exp: Update comments. Rename variable
13705 bar_call_foo to returned_from_foo.
13707 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13710 * gdb.linespec/break-asm-file.c: New file.
13711 * gdb.linespec/break-asm-file.exp: New file.
13712 * gdb.linespec/break-asm-file0.s: New file.
13713 * gdb.linespec/break-asm-file1.s: New file.
13715 2014-12-18 Nigel Stephens <nigel@mips.com>
13716 Maciej W. Rozycki <macro@codesourcery.com>
13718 * gdb.base/float.exp: Handle the new output from "info float" on
13721 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13723 Fix MinGW compilation.
13724 * gdb.compile/compile-ops.exp: Update untested message if
13725 !skip_compile_feature_tests.
13726 * gdb.compile/compile-setjmp.exp: Likewise.
13727 * gdb.compile/compile-tls.exp: Likewise.
13728 * gdb.compile/compile.exp: Likewise.
13729 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13730 supported on this host".
13732 2014-12-16 Doug Evans <xdje42@gmail.com>
13734 * boards/stabs.exp: New file.
13736 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13738 * gdb.base/completion.exp: Adjust to format changes of "maint
13739 print user-registers".
13741 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13744 * gdb.arch/aarch64-fp.c: New file.
13745 * gdb.arch/aarch64-fp.exp: New file.
13747 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13749 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13750 r210637, r210913, r211666, r215400, r215817).
13752 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13753 * dg-extract-results.py: New file.
13754 * dg-extract-results.sh: Use it if the environment seems
13757 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13759 * dg-extract-results.py (parse_run): Handle warnings that
13760 are printed before a test harness is run.
13762 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13764 * dg-extract-results.py (Named): Remove __cmp__ method.
13765 (output_variation): Use a key to sort variation.harnesses.
13767 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13769 * dg-extract-results.py: For Python 3, force sys.stdout to
13770 handle surrogate escape sequences.
13771 (safe_open): New function.
13772 (output_segment, main): Use it.
13774 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13776 * dg-extract-results.py (Prog.result_re): Include options
13779 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13781 * dg-extract-results.py (output_variation): Always sort if
13784 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13786 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13787 as long as we get pagination notifications.
13789 2014-12-15 Jason Merrill <jason@redhat.com>
13791 * Makefile.in (check-gdb.%): Restore.
13792 * README: Mention it.
13794 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13796 * gdb.ada/str_uninit: New testcase.
13798 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13801 * gdb.base/vla-stub-define.c: New file.
13802 * gdb.base/vla-stub.c: New file.
13803 * gdb.base/vla-stub.exp: New file.
13805 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13806 Jan Kratochvil <jan.kratochvil@redhat.com>
13807 Tom Tromey <tromey@redhat.com>
13809 * configure.ac: Add gdb.compile/.
13810 * configure: Regenerate.
13811 * gdb.compile/Makefile.in: New file.
13812 * gdb.compile/compile-ops.exp: New file.
13813 * gdb.compile/compile-ops.c: New file.
13814 * gdb.compile/compile-tls.c: New file.
13815 * gdb.compile/compile-tls.exp: New file.
13816 * gdb.compile/compile-constvar.S: New file.
13817 * gdb.compile/compile-constvar.c: New file.
13818 * gdb.compile/compile-mod.c: New file.
13819 * gdb.compile/compile-nodebug.c: New file.
13820 * gdb.compile/compile-setjmp-mod.c: New file.
13821 * gdb.compile/compile-setjmp.c: New file.
13822 * gdb.compile/compile-setjmp.exp: New file.
13823 * gdb.compile/compile-shlib.c: New file.
13824 * gdb.compile/compile.c: New file.
13825 * gdb.compile/compile.exp: New file.
13826 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13828 2014-12-12 Tom Tromey <tromey@redhat.com>
13830 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13831 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13833 2014-12-12 Doug Evans <dje@google.com>
13835 * lib/gdb-python.exp (get_python_valueof): New function.
13836 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13838 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13840 * gdb.base/completion.exp: Add test for completion of "info
13843 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13845 * gdb.base/func-ptrs.c: New file.
13846 * gdb.base/func-ptrs.exp: New file.
13848 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13850 PR breakpoints/17012
13851 * gdb.base/dprintf-detach.c: New file.
13852 * gdb.base/dprintf-detach.exp: New file.
13854 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13856 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13857 * lib/gdb.exp (target_is_gdbserver): New procedure.
13859 2014-12-08 Doug Evans <dje@google.com>
13861 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13863 2014-12-05 Yao Qi <yao@codesourcery.com>
13865 * gdb.guile/scm-error.exp: Remove the third argument to
13866 gdb_remote_download.
13867 * gdb.guile/scm-frame-args.exp: Likewise.
13868 * gdb.guile/scm-section-script.exp: Likewise.
13870 2014-12-05 Yao Qi <yao@codesourcery.com>
13872 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13874 2014-12-04 Doug Evans <dje@google.com>
13876 * gdb.python/py-objfile.exp: Add tests for
13877 objfile.add_separate_debug_file.
13879 2014-12-04 Doug Evans <dje@google.com>
13881 * lib/gdb.exp (get_build_id): New function.
13882 (build_id_debug_filename_get): Rewrite to use it.
13883 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13885 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13887 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13888 `method(long)', not just 0x0.
13889 * gdb.cp/nsalias.exp: Align code labels to 4.
13890 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13891 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13892 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13893 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13894 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13895 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13897 2014-12-02 Doug Evans <dje@google.com>
13900 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13901 * gdb.cp/anon-ns2.cc: ... here. New file.
13902 * gdb.cp/anon-ns.exp: Update.
13904 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13906 * gdb.python/py-events.py (inferior_call_handler): New.
13907 (register_changed_handler, memory_changed_handler): New.
13908 (test_events.invoke): Register new handlers.
13909 * gdb.python/py-events.exp: Add tests for inferior call,
13910 memory_changed and register_changed events.
13912 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13914 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13915 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13916 if the linker doesn't understand this.
13918 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13920 * gdb.python/python.exp: Change expected reply to help().
13922 2014-12-01 Yao Qi <yao@codesourcery.com>
13924 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13925 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13926 * configure: Re-generated.
13928 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13930 * gdb.cp/chained-calls.cc: New file.
13931 * gdb.cp/chained-calls.exp: New file.
13932 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13934 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13936 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13937 * gdb.dwarf2/symtab-producer.exp: Same.
13938 * gdb.gdb/python-interrupts.exp: Same.
13939 * gdb.gdb/python-selftest.exp: Same.
13940 * gdb.python/py-linetable.exp: Same.
13941 * gdb.python/py-type.exp: Same.
13942 * gdb.python/py-value-cc.exp: Same.
13943 * gdb.python/py-value.exp: Same.
13945 2014-11-28 Yao Qi <yao@codesourcery.com>
13947 * gdb.base/break-probes.exp: Match library name prefixed with
13950 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13952 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13953 test expected output. Add parentheses for the call to print.
13954 Remove L suffix from integers.
13956 2014-11-26 Doug Evans <dje@google.com>
13958 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13960 2014-11-22 Yao Qi <yao@codesourcery.com>
13962 * gdb.trace/entry-values.c: Remove asms.
13963 (foo): Add foo_label.
13964 (bar): Add bar_label.
13965 * gdb.trace/entry-values.exp: Remove code computing foo's
13966 length and bar's length.
13967 (Dwarf::assemble): Invoke function_range for bar and use
13968 MACRO_AT_func for foo.
13970 2014-11-22 Yao Qi <yao@codesourcery.com>
13972 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13973 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13974 Use .Lgcc43_procstart instead of gcc43.
13976 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13978 * gdb.ada/n_arr_bound: New testcase.
13980 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13982 PR breakpoints/10737
13983 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13984 test_catch_syscall_multi_arch.
13985 (test_catch_syscall_multi_arch): New function.
13987 2014-11-20 Doug Evans <xdje42@gmail.com>
13989 * gdb.base/maint.exp: Update expected output.
13991 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13993 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13994 4-byte instruction on S390.
13996 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13998 * gdb.ada/arr_arr: New testcase.
14000 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14002 * gdb.ada/pkd_arr_elem: New Testcase.
14004 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14006 * gdb.reverse/break-precsave: Expect completion message for
14008 * gdb.reverse/consecutive-precsave.exp: Likewise.
14009 * gdb.reverse/finish-precsave.exp: Likewise.
14010 * gdb.reverse/i386-precsave.exp: Likewise.
14011 * gdb.reverse/machinestate-precsave.exp: Likewise.
14012 * gdb.reverse/sigall-precsave.exp: Likewise.
14013 * gdb.reverse/solib-precsave.exp: Likewise.
14014 * gdb.reverse/step-precsave.exp: Likewise.
14015 * gdb.reverse/until-precsave.exp: Likewise.
14016 * gdb.reverse/watch-precsave.exp: Likewise.
14018 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14020 * gdb.base/bp-permanent.c: Include unistd.h.
14021 * gdb.python/py-framefilter-mi.c (main): Add return type.
14022 * gdb.python/py-framefilter.c (main): Likewise.
14023 * gdb.trace/actions-changed.c (main): Likewise.
14025 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14027 * gdb.mi/until.c: Add eye-catchers.
14028 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14031 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14033 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14034 function header variants in break1.c.
14035 * gdb.base/ena-dis-br.exp: Likewise.
14036 * gdb.base/hbreak2.exp: Likewise.
14037 * gdb.reverse/until-precsave.exp: Drop references to removed
14038 non-prototype function header variants in ur1.c.
14039 * gdb.reverse/until-reverse.exp: Likewise.
14041 2014-11-17 Petr Machata <pmachata@redhat.com>
14043 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14044 ${_cu_offset_size} bytes abbrev offset.
14046 2014-11-15 Doug Evans <xdje42@gmail.com>
14049 * gdb.base/line-symtabs.exp: New file.
14050 * gdb.base/line-symtabs.c: New file.
14051 * gdb.base/line-symtabs.h: New file.
14053 2014-11-14 Yao Qi <yao@codesourcery.com>
14055 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14056 (func): Add label func_label.
14057 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14058 Replace low_pc and high_pc with MACRO_AT_range.
14059 Replace name, low_pc and high_pc with MACRO_AT_func.
14061 2014-11-14 Yao Qi <yao@codesourcery.com>
14063 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14064 Replace name, low_pc and high_pc with MACRO_AT_func.
14066 2014-11-14 Yao Qi <yao@codesourcery.com>
14068 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14069 produce debug information.
14070 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14072 2014-11-14 Yao Qi <yao@codesourcery.com>
14074 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14075 object and get function length.
14076 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14077 with MACRO_AT_func.
14078 (top-level): Replace gdb_compile and clean_restart with
14079 prepare_for_testing.
14080 * gdb.dwarf2/main.c (main): Add label main_label.
14082 2014-11-14 Yao Qi <yao@codesourcery.com>
14084 * lib/dwarf.exp (function_range): New procedure.
14085 (Dwarf::_handle_macro_at_func): New procedure.
14086 (Dwarf::_handle_macro_at_range): New procedure.
14087 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14089 2014-11-14 Yao Qi <yao@codesourcery.com>
14091 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14092 (_handle_attribute): New procedure.
14094 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14096 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14097 * gdb.base/call-sc.c (zed): Likewise.
14098 * gdb.base/checkpoint.c (main): Likewise.
14099 * gdb.base/dump.c (main): Likewise.
14100 * gdb.base/gcore.c (main): Likewise.
14101 * gdb.base/huge.c (main): Likewise.
14102 * gdb.base/multi-forks.c (main): Likewise.
14103 * gdb.base/pr10179-a.c (main): Likewise.
14104 * gdb.base/savedregs.c (main): Likewise.
14105 * gdb.base/sigaltstack.c (main): Likewise.
14106 * gdb.base/siginfo.c (main): Likewise.
14107 * gdb.base/structs.c (zed): Likewise.
14108 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14109 * gdb.mi/mi-syn-frame.c (main): Likewise.
14110 * gdb.mi/until.c (foo, main): Likewise.
14111 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14112 * gdb.base/solib-weak.c (foo): Declare.
14113 * gdb.base/attach-twice.c: Include stdio.h.
14114 * gdb.base/weaklib1.c: Likewise.
14115 * gdb.base/weaklib2.c: Likewise.
14116 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14117 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14119 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14120 * gdb.mi/mi-exit-code.c: Likewise.
14121 * gdb.base/break-interp-lib.c: Include string.h.
14122 * gdb.base/coremaker.c: Likewise.
14123 * gdb.base/testenv.c: Likewise.
14124 * gdb.python/py-finish-breakpoint.c: Likewise.
14125 * gdb.base/inferior-died.c: Include sys/wait.h.
14126 * gdb.base/fileio.c: Include time.h.
14127 * gdb.base/async-shell.c: Include unistd.h.
14128 * gdb.base/dprintf-non-stop.c: Likewise.
14129 * gdb.base/info-os.c: Likewise.
14130 * gdb.mi/mi-console.c: Likewise.
14131 * gdb.mi/watch-nonstop.c: Likewise.
14132 * gdb.python/py-events.c: Likewise.
14133 * gdb.base/async.c (baz): Move up before its invocation.
14134 * gdb.base/code_elim2.c (my_global_func): Likewise.
14135 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14136 * gdb.base/advance.c (func2): Likewise.
14138 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14140 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14142 * gdb.base/annota3.c: Likewise.
14143 * gdb.base/async.c: Likewise.
14144 * gdb.base/average.c: Likewise.
14145 * gdb.base/call-ar-st.c: Likewise.
14146 * gdb.base/call-rt-st.c: Likewise.
14147 * gdb.base/call-sc.c: Likewise.
14148 * gdb.base/call-strs.c: Likewise.
14149 * gdb.base/ending-run.c: Likewise.
14150 * gdb.base/execd-prog.c: Likewise.
14151 * gdb.base/exprs.c: Likewise.
14152 * gdb.base/foll-exec.c: Likewise.
14153 * gdb.base/foll-fork.c: Likewise.
14154 * gdb.base/foll-vfork.c: Likewise.
14155 * gdb.base/funcargs.c: Likewise.
14156 * gdb.base/gcore.c: Likewise.
14157 * gdb.base/jump.c: Likewise.
14158 * gdb.base/langs0.c: Likewise.
14159 * gdb.base/langs1.c: Likewise.
14160 * gdb.base/langs2.c: Likewise.
14161 * gdb.base/mips_pro.c: Likewise.
14162 * gdb.base/nodebug.c: Likewise.
14163 * gdb.base/opaque0.c: Likewise.
14164 * gdb.base/opaque1.c: Likewise.
14165 * gdb.base/recurse.c: Likewise.
14166 * gdb.base/run.c: Likewise.
14167 * gdb.base/scope0.c: Likewise.
14168 * gdb.base/scope1.c: Likewise.
14169 * gdb.base/setshow.c: Likewise.
14170 * gdb.base/setvar.c: Likewise.
14171 * gdb.base/shmain.c: Likewise.
14172 * gdb.base/shr1.c: Likewise.
14173 * gdb.base/shr2.c: Likewise.
14174 * gdb.base/sigall.c: Likewise.
14175 * gdb.base/signals.c: Likewise.
14176 * gdb.base/so-indr-cl.c: Likewise.
14177 * gdb.base/solib2.c: Likewise.
14178 * gdb.base/structs.c: Likewise.
14179 * gdb.base/sum.c: Likewise.
14180 * gdb.base/vforked-prog.c: Likewise.
14181 * gdb.base/watchpoint.c: Likewise.
14182 * gdb.reverse/shr2.c: Likewise.
14183 * gdb.reverse/until-reverse.c: Likewise.
14184 * gdb.reverse/ur1.c: Likewise.
14185 * gdb.reverse/watch-reverse.c: Likewise.
14187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14189 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14191 * gdb.base/sepdebug.exp: Drop references to removed code.
14193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14195 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14196 variant. Preserve original line numbering.
14197 * gdb.base/list1.c: Likewise.
14199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14201 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14203 * gdb.base/break1.c: Likewise.
14204 * gdb.base/break.exp: Drop references to removed code.
14206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14208 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14211 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14213 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14215 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14217 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14218 logic into perform_all_tests() and invoke it with and without
14219 function header prototypes.
14220 (do_function_calls): Remove conditional XFAIL for PR 5318.
14221 (rerun_and_prepare): Remove duplicate code.
14222 (perform_all_tests): New. Main logic moved here.
14224 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14226 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14227 code guarded by #ifdef NO_PROTOTYPES.
14228 (t_double_many_args): Likewise.
14229 (DEF_FUNC_MANY_ARGS_1): Likewise.
14230 (DEF_FUNC_VALUES_1): Likewise.
14231 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14232 guarded by #ifdef PROTOTYPES.
14234 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14236 * gdb.mi/mi-console.c: Add eye-catcher.
14237 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14238 instead of literal line number.
14240 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14242 * gdb.base/shr2.c: Add eye-catcher.
14243 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14246 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14248 * gdb.base/jump.c: Add eye-catchers.
14249 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14252 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14254 * gdb.base/execd-prog.c: Add eye-catchers.
14255 * gdb.base/foll-exec.c: Likewise.
14256 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14259 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14261 * gdb.base/ending-run.c: Add eye-catchers.
14262 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14263 literal line numbers.
14265 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14267 * gdb.base/call-rt-st.c: Add eye-catchers.
14268 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14269 literal line numbers.
14271 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14273 * gdb.base/call-ar-st.c: Add eye-catchers.
14274 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14275 literal line numbers.
14277 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14279 * gdb.base/average.c: Add eye-catchers.
14280 * gdb.base/sum.c: Likewise.
14281 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14282 regexps dynamically.
14284 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14286 * gdb.base/solib1.c: Add eye-catchers.
14287 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14288 literal line numbers.
14290 2014-11-12 Pedro Alves <palves@redhat.com>
14292 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14295 2014-11-12 Pedro Alves <palves@redhat.com>
14297 * gdb.arch/i386-bp_permanent.c: New file.
14298 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14299 (srcfile): Set to i386-bp_permanent.c.
14300 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14301 that stepi does not execute the 'leave' instruction, instead of
14302 testing it does execute.
14303 * gdb.base/bp-permanent.c: New file.
14304 * gdb.base/bp-permanent.exp: New file.
14306 2014-11-10 Doug Evans <xdje42@gmail.com>
14309 * gdb.base/symtab-search-order.exp: New file.
14310 * gdb.base/symtab-search-order.c: New file.
14311 * gdb.base/symtab-search-order-1.c: New file.
14312 * gdb.base/symtab-search-order-shlib-1.c: New file.
14314 2014-11-07 Pedro Alves <palves@redhat.com>
14317 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14320 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14323 * gdb.cp/pr17494.cc: New file.
14324 * gdb.cp/pr17494.exp: New file.
14326 2014-11-02 Yao Qi <yao@codesourcery.com>
14328 * gdb.python/python.exp: Get working directory and match the
14329 output of "set extended-prompt \\w " with it.
14331 2014-10-30 Doug Evans <dje@google.com>
14333 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14335 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14338 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14340 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14341 * gdb.base/realname-expand.exp: Likewise.
14342 * gdb.linespec/macro-relative.exp: Likewise.
14344 2014-10-29 Pedro Alves <palves@redhat.com>
14347 * gdb.threads/schedlock.c (some_function): New function.
14348 (call_function): New global.
14349 (MAYBE_CALL_SOME_FUNCTION): New macro.
14350 (thread_function): Call it.
14351 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14352 and use it instead of a global counter. Adjust all callers.
14353 (get_current_thread): Use "find current thread" for test message
14354 here rather than having all callers pass down the same string.
14355 (goto_loop): New procedure, factored out from ...
14356 (my_continue): ... this.
14357 (step_ten_loops): Change parameter from test message to command to
14359 (list_count): Delete global.
14360 (check_result): New procedure, factored out from duplicate top
14362 (continue tests): Wrap in with_test_prefix.
14363 (test_step): New procedure, factored out from duplicate top level
14365 (top level): Test "step" in combination with all scheduler-locking
14366 modes. Test "next" in combination with all scheduler-locking
14367 modes, and in combination with stepping over a function call or
14369 * gdb.threads/next-bp-other-thread.c: New file.
14370 * gdb.threads/next-bp-other-thread.exp: New file.
14372 2014-10-29 Pedro Alves <palves@redhat.com>
14375 * gdb.python/python.exp: Test a multi-line command that spawns
14376 interactive Python.
14377 * gdb.base/multi-line-starts-subshell.exp: New file.
14379 2014-10-29 Yao Qi <yao@codesourcery.com>
14381 * gdb.base/fileio.exp: Make directories on host.
14383 2014-10-29 Yao Qi <yao@codesourcery.com>
14385 * gdb.base/fileio.c (test_write): Close the file.
14387 2014-10-28 Pedro Alves <palves@redhat.com>
14390 * gdb.base/sigstep.c (no_handler): New global.
14391 (main): If 'no_handler is true, set the signal handlers to
14393 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14394 with_sw_watch and no_handler parameters. Handle them.
14395 (top level) <stepping over handler when stopped at a breakpoint
14396 test>: Add a test axis for testing with a software watchpoint, and
14397 another for testing with the signal handler set to SIG_IGN.
14398 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14399 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14401 2014-10-28 Pedro Alves <palves@redhat.com>
14404 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14405 * gdb.base/sigstep.exp (other_handler_location): New global.
14406 (advance): Support stepping into the signal handler, and running
14407 commands while in the handler.
14408 (in_handler_map): New global.
14409 (top level): In the advance test, add combinations for getting
14410 into the handler with stepping commands, and for running commands
14411 in the handler. Add comment descripting the advancei tests.
14413 2014-10-28 Pedro Alves <palves@redhat.com>
14415 * gdb.base/sigstep.exp: Use build_executable instead of
14416 prepare_for_testing.
14417 (top level): Move code that starts GDB, runs to main and creates a
14419 (restart): ... this new procedure.
14420 (top level): Move backtrace from signal handler test to ...
14421 (validate_backtrace): ... this new procedure.
14422 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14423 with_test_prefix. Always restart GDB.
14424 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14425 with_test_prefix. Always restart GDB. No need to delete
14426 breakpoints after the test.
14427 (test_skip_handler): Remove prefix parameter.
14428 (skip_over_handler, breakpoint_to_handler)
14429 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14430 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14431 restart GDB. No need to delete breakpoints after the test.
14432 (top level): Use foreach to call the test procedures with
14433 different commands.
14435 2014-10-28 Pedro Alves <palves@redhat.com>
14437 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14438 instead of GNATS numbers.
14439 * gdb.base/sigbpt.exp: Likewise.
14440 * gdb.base/siginfo.exp: Likewise.
14441 * gdb.base/sigstep.exp: Likewise.
14443 2014-10-27 Pedro Alves <palves@redhat.com>
14445 * gdb.base/sigstep.c (dummy): New global.
14446 (main): Issue a couple writes to the new global.
14447 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14449 (skip_over_handler): Use test_skip_handler.
14450 (top level): Call skip_over_handler for stepi and nexti too.
14451 (breakpoint_over_handler): Use test_skip_handler.
14452 (top level): Call breakpoint_over_handler for stepi and nexti too.
14454 2014-10-27 Yao Qi <yao@codesourcery.com>
14456 * gdb.trace/tfile.c (adjust_function_address)
14457 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14458 function descriptor.
14460 2014-10-24 Don Breazeal <donb@codesourcery.com>
14462 * gdb.base/foll-fork.exp (test_follow_fork,
14463 catch_fork_child_follow): Check for updated fork messages emitted
14465 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14466 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14467 vfork_and_exec_child_follow_through_step): Check for updated vfork
14468 messages emitted from infrun.c.
14470 2014-10-24 Pedro Alves <palves@redhat.com>
14472 * gdb.base/corefile.exp: Remove references to ultrix.
14473 * gdb.base/interrupt.exp: Likewise.
14474 * gdb.base/whatis.exp: Likewise.
14475 * gdb.gdb/selftest.exp: Likewise.
14476 * gdb.threads/manythreads.exp: Likewise.
14477 * gdb.threads/print-threads.exp: Likewise.
14478 * gdb.threads/pthreads.exp:: Likewise.
14479 * gdb.threads/schedlock.exp: Likewise.
14481 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14483 * gdb.cp/non-trivial-retval.cc: Add a test case.
14484 * gdb.cp/non-trivial-retval.exp: Add a test.
14486 2014-10-20 Yao Qi <yao@codesourcery.com>
14488 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14489 * gdb.python/py-objfile-script-gdb.py: New file.
14490 * gdb.python/py-objfile-script.exp: Update reference to
14491 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14492 of remote_download. Remove the dest file.
14494 2014-10-20 Yao Qi <yao@codesourcery.com>
14496 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14497 * gdb.base/step-line.exp: Likewise.
14498 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14499 * gdb.dwarf2/dw2-basic.exp: Likewise.
14500 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14501 * gdb.dwarf2/dw2-filename.exp: Likewise.
14502 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14503 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14504 * gdb.dwarf2/dw2-producer.exp: Likewise.
14505 * gdb.dwarf2/mac-fileno.exp: Likewise.
14506 * gdb.python/py-frame-args.exp: Likewise.
14507 * gdb.python/py-framefilter.exp: Likewise.
14508 * gdb.python/py-mi.exp: Likewise.
14509 * gdb.python/py-objfile-script.exp: Likewise
14510 * gdb.python/py-pp-integral.exp: Likewise.
14511 * gdb.python/py-pp-re-notag.exp: Likewise.
14512 * gdb.python/py-prettyprint.exp: Likewise.
14513 * gdb.python/py-section-script.exp: Likewise.
14514 * gdb.python/py-typeprint.exp: Likewise.
14515 * gdb.python/py-xmethods.exp: Likewise.
14516 * gdb.stabs/weird.exp: Likewise.
14517 * gdb.xml/tdesc-regs.exp: Likewise.
14519 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14521 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14522 (out_cu): Use addr_len for the size of addresses.
14523 (out_line): Likewise. Size DW_LNE_set_address instruction
14524 according to addr_len.
14525 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14526 (FUNC): Add START_INSNS to definition.
14528 2014-10-18 Yao Qi <yao@codesourcery.com>
14530 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14531 gdb_has_argv0 return true.
14532 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14533 check [target_info exists noargs], check [gdb_has_argv0]
14535 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14536 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14539 2014-10-17 Doug Evans <dje@google.com>
14541 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14543 * gdb.python/py-events.py: Add clear_objfiles event.
14545 2014-10-17 Doug Evans <dje@google.com>
14547 * gdb.python/py-objfile.exp: Test progspace attribute.
14549 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14551 * gdb.guile/scm-breakpoint.exp: Do not assume any
14552 directory separators when matching source file paths.
14553 * gdb.python/py-breakpoint.exp: Likewise.
14554 * gdb.reverse/break-precsave.exp: Likewise.
14555 * gdb.reverse/break-reverse.exp: Likewise.
14556 * gdb.reverse/consecutive-precsave.exp: Likewise.
14557 * gdb.reverse/finish-precsave.exp: Likewise.
14558 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14559 * gdb.reverse/finish-reverse.exp: Likewise.
14560 * gdb.reverse/i386-precsave.exp: Likewise.
14561 * gdb.reverse/i387-env-reverse.exp: Likewise.
14562 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14563 * gdb.reverse/machinestate-precsave.exp: Likewise.
14564 * gdb.reverse/machinestate.exp: Likewise.
14565 * gdb.reverse/sigall-precsave.exp: Likewise.
14566 * gdb.reverse/solib-precsave.exp: Likewise.
14567 * gdb.reverse/step-precsave.exp: Likewise.
14568 * gdb.reverse/until-precsave.exp: Likewise.
14569 * gdb.reverse/watch-precsave.exp: Likewise.
14570 * gdb.reverse/watch-reverse.exp: Likewise.
14572 2014-10-17 Yao Qi <yao@codesourcery.com>
14574 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14575 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14577 2014-10-17 Pedro Alves <palves@redhat.com>
14580 * gdb.base/bg-execution-repeat.c: New file.
14581 * gdb.base/bg-execution-repeat.exp: New file.
14583 2014-10-17 Pedro Alves <palves@redhat.com>
14586 * gdb.base/continue-all-already-running.c: New file.
14587 * gdb.base/continue-all-already-running.exp: New file.
14589 2014-10-17 Pedro Alves <palves@redhat.com>
14592 * gdb.base/annota-input-while-running.c: New file.
14593 * gdb.base/annota-input-while-running.exp: New file.
14595 2014-10-17 Pedro Alves <palves@redhat.com>
14597 * gdb.base/callfuncs.exp: emove references to osf.
14598 * gdb.base/sigall.exp: Likewise.
14599 * gdb.gdb/selftest.exp: Likewise.
14600 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14601 * gdb.mi/non-stop.c: Likewise.
14602 * gdb.mi/pthreads.c: Likewise.
14603 * gdb.reverse/sigall-precsave.exp: Likewise.
14604 * gdb.reverse/sigall-reverse.exp: Likewise.
14605 * gdb.threads/pthreads.c: Likewise.
14606 * gdb.threads/pthreads.exp: Likewise.
14608 2014-10-17 Yao Qi <yao@codesourcery.com>
14610 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14611 check 'target_info exists noargs'.
14612 (test_command_prompt_position): Likewise.
14613 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14615 (progvar_simple_while_test): Likewise.
14616 (progvar_complex_if_while_test): Likewise.
14617 (if_while_breakpoint_command_test): Likewise.
14618 (infrun_breakpoint_command_test): Likewise.
14619 (breakpoint_command_test): Likewise.
14620 (watchpoint_command_test): Likewise.
14621 (bp_deleted_in_command_test): Likewise.
14622 (temporary_breakpoint_commands): Likewise.
14624 2014-10-16 Yao Qi <yao@codesourcery.com>
14626 * gdb.base/remotetimeout.exp: Remove noargs checking.
14628 2014-10-15 Pedro Alves <palves@redhat.com>
14630 PR breakpoints/9649
14631 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14632 * gdb.base/breakpoint-in-ro-region.exp
14633 (probe_target_hardware_step): New procedure.
14634 (top level): Probe hardware stepping and hardware breakpoint
14635 support. Test stepping through a read-only region, with both
14636 "breakpoint auto-hw" on and off and both "always-inserted" on and
14639 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14641 * gdb.dlang/demangle.exp: Update for demangling changes.
14643 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14645 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14646 * gdb.cp/non-trivial-retval.exp: Add new tests.
14648 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14652 * gdb.cp/non-trivial-retval.cc: New file.
14653 * gdb.cp/non-trivial-retval.exp: New file.
14655 2014-10-15 Yao Qi <yao@codesourcery.com>
14657 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14660 2014-10-15 Yao Qi <yao@codesourcery.com>
14662 * gdb.python/py-symbol.exp: Match file base name if host is
14663 remote, otherwise match file name with dir name.
14664 * gdb.python/py-symtab.exp: Likewise.
14665 * gdb.python/python.exp: Likewise.
14667 2014-10-15 Yao Qi <yao@codesourcery.com>
14669 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14671 * gdb.python/py-symtab.exp: Likewise.
14672 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14675 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14677 * gdb.ada/addr_arith: New testcase.
14679 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14681 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14682 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14683 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14684 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14686 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14688 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14689 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14690 * gdb.arch/stap-eval-lang-ada.exp: New file.
14692 2014-10-14 Yao Qi <yao@codesourcery.com>
14694 * gdb.mi/mi-var-child.c (nothing1): New function.
14695 (nothing2): New function.
14696 (do_children_tests): Set function pointers by nothing1 and
14698 * gdb.mi/mi-var-child.exp: Step over new added statements.
14699 Update test to match the new output.
14700 * gdb.mi/var-cmd.c (nothing1): New function.
14701 (nothing2): New function.
14702 (do_children_tests): Set function pointers by nothing1 and
14704 * gdb.mi/mi-var-display.exp: Update test to match output.
14705 Step to the line specified by $line_dct_nothing.
14706 Increase the number of lines to step.
14708 2014-10-14 Yao Qi <yao@codesourcery.com>
14710 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14712 * gdb.mi/mi2-var-child.exp: Likewise.
14714 2014-10-13 Doug Evans <dje@google.com>
14716 * gdb.python/py-objfile.exp: Change name of file name test.
14718 2014-10-13 Doug Evans <dje@google.com>
14720 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14721 from the start of the CU.
14723 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14724 Yao Qi <yao@codesourcery.com>
14726 Fix "save breakpoints" for "catch" command.
14727 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14728 Remove -nonewline. Match also the added "main" line.
14730 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14732 Fix "save breakpoints" for "disable $bpnum" command.
14733 * gdb.base/save-bp.c (main): Add label.
14734 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14736 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14738 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14740 2014-10-11 Yao Qi <yao@codesourcery.com>
14742 * gdb.server/server-kill.exp: Execute command
14743 "set remote trace-status-packet on" before "tstatus".
14745 2014-10-11 Yao Qi <yao@codesourcery.com>
14747 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14748 (main): Call getppid.
14749 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14750 and continue to it. Read variable "server_pid".
14752 2014-10-11 Yao Qi <yao@codesourcery.com>
14754 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14756 2014-10-11 Yao Qi <yao@codesourcery.com>
14758 * gdb.threads/thread-find.exp: Don't execute command
14760 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14761 * gdb.threads/linux-dp.exp: Don't check the condition
14762 $threads_created equals to zero.
14764 2014-10-10 Pedro Alves <palves@redhat.com>
14766 * gdb.base/bigcore.exp: Remove references to IRIX.
14767 * gdb.base/funcargs.exp: Likewise.
14768 * gdb.base/interrupt.exp: Likewise.
14769 * gdb.base/mips_pro.exp: Likewise.
14770 * gdb.base/nodebug.exp: Likewise.
14771 * gdb.base/setvar.exp: Likewise.
14772 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14774 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14775 Pedro Alves <palves@redhat.com>
14778 * gdb.base/vdso-warning.c: New file.
14779 * gdb.base/vdso-warning.exp: New file.
14781 2014-10-02 Doug Evans <dje@google.com>
14783 * gdb.base/structs.c (main): Don't run forever.
14785 2014-10-02 Pedro Alves <palves@redhat.com>
14787 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14788 (top level) <stop threads 1, stop threads 2>: Use it.
14790 2014-10-02 Pedro Alves <palves@redhat.com>
14792 * gdb.threads/break-while-running.exp (test): Add new
14793 'update_thread_list' argument. Skip "info threads" if false.
14794 (top level): Add new 'update_thread_list' axis.
14796 2014-10-02 Pedro Alves <palves@redhat.com>
14798 PR breakpoints/17431
14799 * gdb.base/execl-update-breakpoints.c: New file.
14800 * gdb.base/execl-update-breakpoints.exp: New file.
14802 2014-10-01 Pedro Alves <palves@redhat.com>
14804 * gdb.base/breakpoint-in-ro-region.c: New file.
14805 * gdb.base/breakpoint-in-ro-region.exp: New file.
14807 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14809 * gdb.mi/mi-exit-code.exp: New file.
14810 * gdb.mi/mi-exit-code.c: New file.
14812 2014-09-30 Yao Qi <yao@codesourcery.com>
14814 * lib/prelink-support.exp (build_executable_own_libs): Error if
14815 the target isn't native.
14817 2014-09-30 Yao Qi <yao@codesourcery.com>
14819 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14822 2014-09-22 Pedro Alves <palves@redhat.com>
14824 * gdb.threads/break-while-running.exp: New file.
14825 * gdb.threads/break-while-running.c: New file.
14827 2014-09-19 Yao Qi <yao@codesourcery.com>
14829 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14830 Invoke test. Restart GDB with --readnow and invoke test again.
14832 2014-09-19 Yao Qi <yao@codesourcery.com>
14834 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14835 proc set_breakpoint_on_gcd_function. Invoke
14836 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14837 invoke set_breakpoint_on_gcd_function again.
14839 2014-09-18 Doug Evans <dje@google.com>
14841 * gdb.dwarf2/symtab-producer.exp: New file.
14843 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14845 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14846 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14847 * gdb.base/global-var-nested-by-dso.c: Likewise.
14848 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14850 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14851 Pedro Alves <palves@redhat.com>
14853 * gdb.base/watch-bitfields.exp: Pass string other than test file
14854 name to prepare_for_testing.
14855 (watch): New procedure.
14856 (expect_watchpoint): Use with_test_prefix.
14857 (top level): Factor out tests to ...
14858 (test_watch_location, test_regular_watch): ... these new
14859 procedures, and use with_test_prefix and gdb_continue_to_end.
14861 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14863 PR breakpoints/12526
14864 * gdb.base/watch-bitfields.exp: New file.
14865 * gdb.base/watch-bitfields.c: New file.
14867 2014-09-16 Pedro Alves <palves@redhat.com>
14869 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14870 software and hardware addresses, not software address against
14873 2014-09-16 Pedro Alves <palves@redhat.com>
14875 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14876 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14878 2014-09-16 Pedro Alves <palves@redhat.com>
14880 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14882 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14883 "*-*-vxworks*" throughout.
14884 * gdb.base/break.exp: Likewise.
14885 * gdb.base/default.exp: Likewise.
14886 * gdb.base/scope.exp: Likewise.
14887 * gdb.base/sepdebug.exp: Likewise.
14888 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14890 * gdb.base/run.c: Likewise.
14891 * gdb.base/sepdebug.c: Likewise.
14892 * gdb.hp/gdb.aCC/run.c: Likewise.
14893 * gdb.reverse/until-reverse.c: Likewise.
14894 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14896 2014-09-16 Yao Qi <yao@codesourcery.com>
14898 * boards/local-remote-host-native.exp: New file.
14900 2014-09-14 Doug Evans <xdje42@gmail.com>
14902 * gdb.threads/queue-signal.c (thread_count): New variable.
14903 (thread_count_mutex, thread_count_condvar): New variables.
14904 (incr_thread_count, wait_all_threads_running): New functions.
14905 (main): Wait for all threads to be in their thread functions.
14907 2014-09-13 Doug Evans <xdje42@gmail.com>
14909 * gdb.threads/queue-signal.c: New file.
14910 * gdb.threads/queue-signal.exp: New file.
14912 2014-09-13 Doug Evans <xdje42@gmail.com>
14914 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14915 be consistent with what default_gdb_init uses.
14916 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14917 the plain text of the prompt. Add some logging printfs.
14918 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14920 2014-09-12 Pedro Alves <palves@redhat.com>
14922 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14923 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14924 * gdb.arch/i386-size-overlap.exp: Likewise.
14925 * gdb.arch/i386-size.exp: Likewise.
14926 * gdb.arch/i386-unwind.exp: Likewise.
14927 * gdb.base/a2-run.exp: Likewise.
14928 * gdb.base/break.exp: Likewise.
14929 * gdb.base/charset.exp: Likewise.
14930 * gdb.base/chng-syms.exp: Likewise.
14931 * gdb.base/commands.exp: Likewise.
14932 * gdb.base/dbx.exp: Likewise.
14933 * gdb.base/find.exp: Likewise.
14934 * gdb.base/funcargs.exp: Likewise.
14935 * gdb.base/jit-simple.exp: Likewise.
14936 * gdb.base/reread.exp: Likewise.
14937 * gdb.base/sepdebug.exp: Likewise.
14938 * gdb.base/step-bt.exp: Likewise.
14939 * gdb.cp/mb-inline.exp: Likewise.
14940 * gdb.cp/mb-templates.exp: Likewise.
14941 * gdb.objc/basicclass.exp: Likewise.
14942 * gdb.threads/killed.exp: Likewise.
14944 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14947 * gdb.arch/powerpc-stackless.S: New file.
14948 * gdb.arch/powerpc-stackless.exp: New file.
14950 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14952 * gdb.base/attach.c: Include unistd.h.
14953 (main): Call alarm. Add label postloop.
14954 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14955 gdb_breakpoint, gdb_continue_to_breakpoint.
14956 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14958 2014-09-11 Pedro Alves <palves@redhat.com>
14961 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14962 * gdb.base/attach.exp (test_command_line_attach_run): New
14964 (top level): Call it.
14966 2014-09-11 Pedro Alves <palves@redhat.com>
14968 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14969 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14970 (do_command_attach_tests): Use spawn_wait_for_attach.
14971 * gdb.base/solib-overlap.exp: Likewise.
14972 * gdb.multi/multi-attach.exp: Likewise.
14973 * gdb.python/py-prompt.exp: Likewise.
14974 * gdb.python/py-sync-interp.exp: Likewise.
14975 * gdb.server/ext-attach.exp: Likewise.
14977 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14979 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14980 command in testcase. Simplify testcase.
14982 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14984 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14986 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14988 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14990 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14992 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14994 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14996 * gdb.dwarf2/dynarr-ptr.c: New file.
14997 * gdb.dwarf2/dynarr-ptr.exp: New file.
14999 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15001 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15002 of 30 rather than hardcoding 120 for a slow test case. Take the
15003 `gdb,timeout' target setting into account for this calculation.
15004 Don't extend the timeout for the test cases that don't need it.
15006 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15008 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15009 a factor of 2 for a slow test case. Take the `gdb,timeout'
15010 target setting into account for this calculation.
15011 * gdb.reverse/until-precsave.exp: Increase the timeout by
15012 a factor of 15 and 3 respectively rather than adding 120
15013 for a pair of slow test cases. Take the `gdb,timeout'
15014 target setting into account for this calculation.
15016 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15018 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15019 timeout, don't pass one down to gdb_expect.
15020 (gdb_expect): Rework timeout selection.
15022 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15024 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15025 exception on timeout.
15026 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15027 (gdbserver_start_extended): Catch any `gdbserver_start' error
15029 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15030 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15031 `gdbserver_gdb_load' error exceptions.
15033 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15035 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15036 120 on waiting for the TCP socket to open.
15038 2014-09-09 Doug Evans <xdje42@gmail.com>
15040 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15041 _caller_matches, _any_caller_is, _any_caller_matches.
15043 2014-09-09 Doug Evans <xdje42@gmail.com>
15045 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15047 2014-09-09 Yao Qi <yao@codesourcery.com>
15049 * gdb.mi/mi-var-display.exp: Set print symbol off.
15051 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15054 * gdb.base/commands.exp: Add tests to verify user-defined
15055 commands with empty bodies.
15056 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15057 python commands in `show user command`.
15058 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15059 scheme commands in `show user command`.
15061 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15064 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15065 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15066 * gdb.python/py-framefilter-invalidarg.exp: New file.
15067 * gdb.python/py-framefilter-invalidarg.py: New file.
15069 2014-09-06 Doug Evans <xdje42@gmail.com>
15072 * gdb.python/py-caller-is.c: New file.
15073 * gdb.python/py-caller-is.exp: New file.
15075 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15078 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15079 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15081 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15084 * gdb.fortran/print-formatted.exp: New file.
15085 * gdb.fortran/print-formatted.f90: Likewise.
15087 2014-09-03 Sasha Smundak <asmundak@google.com>
15089 * gdb.python/py-frame.exp: Test Frame.read_register.
15091 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15094 * gdb.python/py-completion.exp: New file.
15095 * gdb.python/py-completion.py: Likewise.
15097 2014-08-28 Doug Evans <dje@google.com>
15099 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15100 eax,etc. are live with values set by gdb and thus the compiler can't
15102 * gdb.arch/i386-pseudo.c (main): Ditto.
15104 2014-08-27 Doug Evans <dje@google.com>
15106 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15108 2014-08-25 Doug Evans <dje@google.com>
15110 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15113 2014-08-25 Doug Evans <dje@google.com>
15115 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15117 2014-08-24 Yao Qi <yao@codesourcery.com>
15119 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15121 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15123 2014-08-22 Doug Evans <dje@google.com>
15126 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15127 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15128 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15130 2014-08-22 Yao Qi <yao@codesourcery.com>
15132 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15133 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15134 * gdb.python/python.exp: Likewise. Use .py file on the host
15135 instead of the build.
15137 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15139 * gdb.threads/gcore-stale-thread.c: New file.
15140 * gdb.threads/gcore-stale-thread.exp: New file.
15142 2014-08-21 Pedro Alves <palves@redhat.com>
15144 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15145 * gdb.base/gcore-relro-pie.exp: Likewise.
15146 * gdb.base/gcore-relro.exp: Likewise.
15147 * gdb.base/gcore.exp: Likewise.
15148 * gdb.base/print-symbol-loading.exp: Likewise.
15149 * gdb.threads/gcore-thread.exp: Likewise.
15150 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15152 2014-08-20 Pedro Alves <palves@redhat.com>
15153 Jan Kratochvil <jan.kratochvil@redhat.com>
15155 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15157 (EXPECT): Handle READ1 being set.
15158 (all): Depend on EXTRA_RULES.
15159 (check-read1, expect-read1, read1.so, read1): New rules.
15160 * README (Testsuite Parameters): Document the READ1 make variable.
15161 (Race detection): New section.
15162 * configure: Regenerate.
15163 * configure.ac: If build==host==target, and running under a
15164 GNU/glibc system, add read1 to the extra Makefile rules.
15165 (EXTRA_RULES): AC_SUBST it.
15166 * lib/read1.c: New file.
15168 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15170 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15171 the handling of variables declared as a typedef to an array
15172 which a DW_AT_data_location attribute.
15174 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15175 Pedro Alves <palves@redhat.com>
15179 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15182 2014-08-19 Pedro Alves <palves@redhat.com>
15184 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15186 2014-08-19 Yao Qi <yao@codesourcery.com>
15188 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15191 2014-08-18 David Blaikie <dblaikie@gmail.com>
15193 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15195 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15197 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15198 attribute in array range.
15200 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15202 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15204 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15207 * gdb.cp/pr17132.cc: New file.
15208 * gdb.cp/pr17132.exp: New file.
15210 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15212 * gdb.python/py-xmethods.py (A_getarrayind)
15213 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15214 Use 'print' with function call syntax.
15215 (E_method_matcher.match): Fix tab vs space indentation mixup.
15217 2014-08-15 Yao Qi <yao@codesourcery.com>
15219 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15222 2014-08-15 Yao Qi <yao@codesourcery.com>
15224 * gdb.cp/casts.exp: Set print symbol off.
15225 * gdb.cp/class2.exp: Likewise.
15226 * gdb.cp/overload.exp: Likewise.
15227 * gdb.cp/templates.exp: Likewise.
15229 2014-08-11 Doug Evans <dje@google.com>
15231 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15232 (test_load_shlib): Update.
15234 2014-08-09 Yao Qi <yao@codesourcery.com>
15236 * gdb.base/display.exp: Invoke is_address_zero_readable.
15237 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15238 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15239 * gdb.base/hbreak-unmapped.exp: Return if
15240 is_address_zero_readable returns true.
15241 * gdb.base/signest.exp: Likewise.
15242 * gdb.base/signull.exp: Likewise.
15243 * gdb.base/sigbpt.exp: Likewise.
15244 * gdb.guile/scm-disasm.exp: Do the test if
15245 is_address_zero_readable returns false.
15246 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15247 * gdb.python/py-arch.exp: Likewise.
15248 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15249 * lib/gdb.exp (is_address_zero_readable): New proc.
15251 2014-08-09 Yao Qi <yao@codesourcery.com>
15254 * gdb.mi/mi-var-display.exp: Make test messages unique.
15256 2014-08-04 Tom Tromey <tromey@redhat.com>
15258 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15261 2014-08-04 Tom Tromey <tromey@redhat.com>
15263 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15266 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15268 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15269 inner_vla_struct_object_size.
15270 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15273 2014-07-30 Pedro Alves <palves@redhat.com>
15275 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15278 2014-07-29 Yao Qi <yao@codesourcery.com>
15281 * gdb.base/until-nodebug.exp: New.
15283 2014-07-28 Doug Evans <xdje42@gmail.com>
15286 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15287 previously existing parameter, and previously ambiguously spelled
15290 2014-07-28 Will Newton <will.newton@linaro.org>
15292 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15294 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15295 Doug Evans <xdje42@gmail.com>
15298 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15300 2014-07-25 Pedro Alves <palves@redhat.com>
15302 * gdb.threads/signal-command-handle-nopass.c: New file.
15303 * gdb.threads/signal-command-handle-nopass.exp: New file.
15304 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15305 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15306 * gdb.threads/signal-delivered-right-thread.c: New file.
15307 * gdb.threads/signal-delivered-right-thread.exp: New file.
15309 2014-07-25 Pedro Alves <palves@redhat.com>
15311 * gdb.base/double-prompt-target-event-error.exp
15312 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15314 (cancel_pagination_in_target_event): Rework double prompt
15316 * gdb.base/paginate-after-ctrl-c-running.exp
15317 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15319 * gdb.base/paginate-bg-execution.exp
15320 (test_bg_execution_pagination_return)
15321 (test_bg_execution_pagination_cancel): Remove '-notransfer
15323 * gdb.base/paginate-execution-startup.exp
15324 (test_fg_execution_pagination_return)
15325 (test_fg_execution_pagination_cancel): Remove '-notransfer
15327 * gdb.base/paginate-inferior-exit.exp
15328 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15330 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15331 * lib/gdb.exp (pagination_prompt): Run text through
15333 (gdb_test_multiple): Match $pagination_prompt instead of
15335 (string_to_regexp): Move to lib/gdb-utils.exp.
15337 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15339 * gdb.arch/amd64-entry-value-paramref.S: New file.
15340 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15341 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15342 * gdb.arch/amd64-optimout-repeat.S: New file.
15343 * gdb.arch/amd64-optimout-repeat.c: New file.
15344 * gdb.arch/amd64-optimout-repeat.exp: New file.
15346 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15349 * gdb.base/statistics.exp: New file.
15351 2014-07-17 Doug Evans <dje@google.com>
15354 * gdb.base/maint.exp: Update testing of per-command stats.
15356 2014-07-16 Pedro Alves <palves@redhat.com>
15358 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15359 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15360 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15361 (tfile_write_buf): New functions.
15362 (add_memory_block): Rewrite using the above.
15363 (adjust_function_address): New function.
15364 (FUNCTION_ADDRESS): New macro.
15365 (write_basic_trace_file): Remove short_x local, and use
15366 tfile_write_16. Change type of func_addr local to unsigned long
15367 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15368 here. Cast argument of add_memory_block to char pointer.
15369 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15370 (main): Remove parameters.
15371 * gdb.trace/tfile.exp: Remove nowarnings.
15373 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15375 * gdb.base/debug-expr.exp: Test string evaluation with
15376 "debug expression" on.
15378 2014-07-15 Pedro Alves <palves@redhat.com>
15380 * gdb.base/reread.exp: Use clean_restart.
15382 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15384 * gdb.arch/avr-flash-qualifer.c: New.
15385 * gdb.arch/avr-flash-qualifer.exp: New.
15387 2014-07-14 Pedro Alves <palves@redhat.com>
15389 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15390 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15392 2014-07-14 Pedro Alves <palves@redhat.com>
15394 * gdb.base/double-prompt-target-event-error.c: New file.
15395 * gdb.base/double-prompt-target-event-error.exp: New file.
15397 2014-07-14 Pedro Alves <palves@redhat.com>
15400 * gdb.base/paginate-inferior-exit.c: New file.
15401 * gdb.base/paginate-inferior-exit.exp: New file.
15403 2014-07-14 Pedro Alves <palves@redhat.com>
15406 * gdb.base/paginate-bg-execution.c: New file.
15407 * gdb.base/paginate-bg-execution.exp: New file.
15409 2014-07-14 Pedro Alves <palves@redhat.com>
15412 * gdb.base/paginate-execution-startup.c: New file.
15413 * gdb.base/paginate-execution-startup.exp: New file.
15414 * lib/gdb.exp (pagination_prompt): New global.
15415 (default_gdb_spawn): New procedure, factored out from
15417 (default_gdb_start): Adjust to call default_gdb_spawn.
15418 (gdb_spawn): New procedure.
15420 2014-07-14 Pedro Alves <palves@redhat.com>
15422 * lib/gdb.exp (gdb_assert): New procedure.
15423 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15425 2014-07-14 Pedro Alves <palves@redhat.com>
15427 * gdb.base/execution-termios.c: New file.
15428 * gdb.base/execution-termios.exp: New file.
15430 2014-07-14 Tom Tromey <tromey@redhat.com>
15432 * gdb.cp/vla-cxx.cc: New file.
15433 * gdb.cp/vla-cxx.exp: New file.
15435 2014-07-14 Tom Tromey <tromey@redhat.com>
15437 * gdb.reverse/rerun-prec.c: New file.
15438 * gdb.reverse/rerun-prec.exp: New file.
15440 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15441 Maciej W. Rozycki <macro@codesourcery.com>
15443 * lib/gdb-utils.exp: New file.
15444 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15445 inline `gdb_init_command' processing.
15446 (gdb_start_cmd): Likewise.
15447 * lib/mi-support.exp (mi_run_cmd): Likewise.
15448 * README: Document `gdb_init_command' and `gdb_init_commands'.
15450 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15452 Fix false FAIL running under a very long directory name.
15453 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15454 and "set print elements 10000". Twice.
15456 2014-07-11 Yao Qi <yao@codesourcery.com>
15458 * gdb.base/exprs.exp: "set print symbol off".
15460 2014-07-11 Pedro Alves <palves@redhat.com>
15462 * gdb.threads/kill.c: New file.
15463 * gdb.threads/kill.exp: New file.
15465 2014-07-10 Yao Qi <yao@codesourcery.com>
15467 * gdb.trace/tfile.c (write_basic_trace_file)
15468 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15469 address written to trace file.
15471 2014-07-09 Pedro Alves <palves@redhat.com>
15473 * gdb.base/attach-wait-input.exp: New file.
15474 * gdb.base/attach-wait-input.c: New file.
15476 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15478 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15479 setting up test structures.
15480 (main): Call new test function.
15481 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15482 test function, continue into test function and walk test
15485 2014-07-02 Yao Qi <yao@codesourcery.com>
15487 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15488 'bar_start' at the beginning of functions 'foo' and 'bar'
15490 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15491 instead of 'foo' and 'bar'.
15493 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15495 * gdb.btrace/segv.exp: New.
15496 * gdb.btrace/segv.c: New.
15498 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15500 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15503 2014-06-30 Mark Wielaard <mjw@redhat.com>
15505 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15506 vulture, vilify, villar): New volatile array constants.
15507 (vindictive, vegetation): New const volatile array constants.
15508 * gdb.base/volatile.exp: Test volatile and const volatile array
15511 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15513 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15514 target lacks support for awatch, rwatch, or hbreak.
15516 2014-06-27 Yao Qi <yao@codesourcery.com>
15518 * gdb.multi/dummy-frame-restore.exp: New.
15519 * gdb.multi/dummy-frame-restore.c: New.
15521 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15523 * gdb.btrace/gcore.exp: New.
15525 2014-06-23 Pedro Alves <palves@redhat.com>
15527 * gdb.base/watchpoint-reuse-slot.c: New file.
15528 * gdb.base/watchpoint-reuse-slot.exp: New file.
15530 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15532 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15533 progspace's filename in 'info', 'enable' and 'disable' command
15536 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15538 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15539 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15540 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15542 2014-06-20 Gary Benson <gbenson@redhat.com>
15544 * gdb.arch/i386-avx.exp: Fix include file location.
15545 * gdb.arch/i386-sse.exp: Likewise.
15547 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15549 * gdb.dlang/expression.exp: New file.
15551 2014-06-19 Pedro Alves <palves@redhat.com>
15553 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15555 (top level): ... here. Iterate running tests under different
15556 scheduler-locking settings.
15558 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15560 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15561 to DW_FORM_addr and use non-zero addresses.
15563 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15566 * gdb.python/py-xmethods.cc: Add global function call counters and
15567 increment them in their respective functions. Remove "cout"
15569 * gdb.python/py-xmethods.exp: Make tests check the global function
15570 call counters instead of depending on inferior IO.
15572 2014-06-18 Don Breazeal <donb@codesourcery.com>
15574 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15576 (explicit_fork_parent_follow): Deleted procedure.
15577 (explicit_fork_child_follow): Deleted procedure.
15578 (test_follow_fork): New procedure.
15579 (do_fork_tests): Replace calls to deleted procedures with
15580 calls to test_follow_fork and reset GDB for subsequent
15583 2014-06-17 Yao Qi <yao@codesourcery.com>
15585 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15588 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15590 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15591 Initialize ptr and S explicitly.
15592 (skip_type_update_when_not_use_rtti_test): Likewise.
15594 2014-06-16 Keith Seitz <keiths@redhat.com>
15597 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15598 the inferior is started.
15600 2014-06-16 Pedro Alves <palves@redhat.com>
15602 * gdb.base/break-main-file-remove-fail.c: New file.
15603 * gdb.base/break-main-file-remove-fail.exp: New file.
15604 * gdb.base/break-unload-file.exp: Use build_executable instead of
15605 prepare_for_testing.
15606 (test_break): New parameter "initial_load". Handle it.
15607 (top level): Add initial_load cmdline/file axis.
15609 2014-06-12 Tom Tromey <tromey@redhat.com>
15611 * gdb.base/completion.exp: Don't use directory name in test.
15613 2014-06-09 Gary Benson <gbenson@redhat.com>
15615 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15616 separate the always-available ANSI-standard signals from the
15617 signals that require checking.
15619 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15623 2014-06-07 Keith Seitz <keiths@redhat.com>
15627 * gdb.cp/var-tag.cc: New file.
15628 * gdb.cp/var-tag.exp: New file.
15629 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15630 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15631 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15632 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15634 2014-06-06 Doug Evans <xdje42@gmail.com>
15636 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15638 2014-06-06 Pedro Alves <palves@redhat.com>
15640 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15641 in target debug output instead of looking at RSP packets,
15642 disabling the test on any target that uses hardware stepping.
15645 2014-06-06 Pedro Alves <palves@redhat.com>
15647 * gdb.base/break-unload-file.exp: Fix typo.
15649 2014-06-06 Yao Qi <yao@codesourcery.com>
15651 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15652 from "jit_function" to "^jit_function".
15654 2014-06-06 Yao Qi <yao@codesourcery.com>
15656 * gdb.base/async.c (foo): Add one statement.
15657 * gdb.base/async.exp: Get the next instruction address and
15658 match the output of "nexti" by instruction address. Match
15659 the hex address in the output of "finish".
15661 2014-06-06 Gary Benson <gbenson@redhat.com>
15663 * gdb.base/call-signals.c: Remove preprocessor conditionals
15664 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15665 SIGSEGV and SIGTERM.
15666 * gdb.base/sigall.c: Likewise.
15667 * gdb.base/unwindonsignal.c: Likewise.
15668 * gdb.reverse/sigall-reverse.c: Likewise.
15670 2014-06-06 Yao Qi <yao@codesourcery.com>
15672 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15673 readable, skip the test.
15675 2014-06-06 Yao Qi <yao@codesourcery.com>
15677 * gdb.threads/staticthreads.c (thread_function): Move the line
15678 setting breakpoint on forward.
15679 * gdb.threads/staticthreads.exp: Update comments.
15681 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15683 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15684 "history-append! type error".
15686 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15688 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15689 erroneous dprintf expected input.
15691 2014-06-04 Doug Evans <xdje42@gmail.com>
15693 * gdb.guile/scm-generics.exp: Delete.
15695 2014-06-04 Doug Evans <xdje42@gmail.com>
15697 * gdb.guile/scm-breakpoint.exp: Update.
15698 Add tests for breakpoint registration.
15700 2014-06-04 Tom Tromey <tromey@redhat.com>
15702 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15704 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15705 inner_vla_struct, vla_union types. Initialize objects of those
15706 types and compute their sizes.
15708 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15709 Hui Zhu <hui@codesourcery.com>
15711 * gdb.base/fileio.exp: Add test for shell not available as well as
15713 * gdb.base/fileio.c (test_system): Check for shell twice.
15715 2014-06-04 Yao Qi <yao@codesourcery.com>
15717 * gdb.base/auto-connect-native-target.exp: Remove redundant
15718 space from the regexp pattern.
15720 2014-06-04 Yao Qi <yao@codesourcery.com>
15722 * gdb.base/default.exp: Replace "child" with "native" in
15725 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15727 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15728 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15729 * gdb.python/py-xmethods.py: Python script supporting the
15730 new testcase and tests.
15732 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15733 Pedro Alves <palves@redhat.com>
15735 PR breakpoints/17000
15736 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15737 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15739 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15741 * gdb.base/subst.exp: Add tests to verify partial path matching
15744 2014-06-03 Pedro Alves <palves@redhat.com>
15746 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15747 target that doesn't use software single-stepping.
15749 2014-06-03 Pedro Alves <palves@redhat.com>
15751 PR breakpoints/17000
15752 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15753 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15755 2014-06-02 Doug Evans <xdje42@gmail.com>
15757 * gdb.guile/scm-parameter.exp: New file.
15759 2014-06-02 Doug Evans <xdje42@gmail.com>
15761 * gdb.guile/scm-cmd.c: New file.
15762 * gdb.guile/scm-cmd.exp: New file.
15764 2014-06-02 Doug Evans <xdje42@gmail.com>
15766 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15767 pretty-printer lookup.
15768 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15769 (make-pp_s-printer): Call it.
15770 (make-pretty-printer-from-dict): New function.
15771 (lookup-pretty-printer-maker-from-dict): New function.
15772 (*pretty-printer*): Simplify.
15773 (make-objfile-pp_s-printer): New function.
15774 (install-objfile-pretty-printers!): New function.
15775 (make-progspace-pp_s-printer): New function.
15776 (install-progspace-pretty-printers!): New function.
15777 * gdb.guile/scm-progspace.c: New file.
15778 * gdb.guile/scm-progspace.exp: New file.
15780 2014-06-02 Pedro Alves <palves@redhat.com>
15782 * gdb.base/dprintf-bp-same-addr.c: New file.
15783 * gdb.base/dprintf-bp-same-addr.exp: New file.
15785 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15787 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15788 * gdb.arch/powerpc-power.s: Likewise.
15790 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15792 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15794 2014-06-01 Yao Qi <yao@codesourcery.com>
15796 * gdb.base/watchpoint.exp (test_watch_location): Check null
15797 pointer can be dereferenced. If not, do the test, otherwise
15800 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15802 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15804 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15806 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15808 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15809 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15810 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15811 * gdb.arch/amd64-invalid-stack-top.c: New file.
15812 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15814 2014-05-30 Pedro Alves <palves@redhat.com>
15816 PR breakpoints/17000
15817 * gdb.base/sss-bp-on-user-bp.c: New file.
15818 * gdb.base/sss-bp-on-user-bp.exp: New file.
15820 2014-05-30 David Blaikie <dblaikie@gmail.com>
15822 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15823 gnu_inline semantics via attribute.
15824 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15825 source explicitly specifies the required semantics.
15827 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15829 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15831 2014-05-29 Pedro Alves <palves@redhat.com>
15832 Tom Tromey <tromey@redhat.com>
15834 * gdb.base/async-shell.exp: Don't enable target-async.
15835 * gdb.base/async.exp
15836 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15838 (top level): Don't test with "target-async".
15839 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15840 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15841 * gdb.base/inferior-died.exp: Don't enable target-async.
15842 * gdb.base/interrupt-noterm.exp: Likewise.
15843 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15844 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15845 * gdb.mi/mi-nonstop.exp: Likewise.
15846 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15847 * gdb.mi/mi-nsintrall.exp: Likewise.
15848 * gdb.mi/mi-nsmoribund.exp: Likewise.
15849 * gdb.mi/mi-nsthrexec.exp: Likewise.
15850 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15851 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15852 * gdb.python/py-evsignal.exp: Don't enable target-async.
15853 * gdb.python/py-evthreads.exp: Likewise.
15854 * gdb.python/py-prompt.exp: Likewise.
15855 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15856 * gdb.server/solib-list.exp: Don't enable target-async.
15857 * gdb.threads/thread-specific-bp.exp: Likewise.
15858 * lib/mi-support.exp: Adjust to use mi-async.
15860 2014-05-29 Pedro Alves <palves@redhat.com>
15863 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15864 reason, even in sync mode.
15866 2014-05-29 Pedro Alves <palves@redhat.com>
15867 Hui Zhu <hui@codesourcery.com>
15870 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15871 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15872 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15873 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15875 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15877 * config/monitor.exp (gdb_target_monitor): Replace use of
15878 "set remotebaud" by "set serial baud".
15880 2014-05-26 Andy Wingo <wingo@igalia.com>
15882 * gdb.guile/scm-breakpoint.exp:
15883 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15884 properties instead of gdb-object-properties.
15886 2014-05-26 Yao Qi <yao@codesourcery.com>
15888 * gdb.server/no-thread-db.exp: Specify source file name
15889 explicitly when setting a breakpoint.
15891 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15893 * gdb.btrace/vdso.c: New.
15894 * gdb.btrace/vdso.exp: New.
15896 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15898 * gdb.base/gcore.exp (capture_command_output): Move ...
15899 * lib/gdb.exp (capture_command_output): ... here.
15901 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15903 * gdb.btrace/data.exp: Test memory access during btrace replay.
15905 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15907 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15909 2014-05-21 Pedro Alves <palves@redhat.com>
15912 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15913 (top level): Test that output related to execution commands is
15914 sent to the console with CLI commands, but not with MI commands.
15915 Test that breakpoint events are always mirrored to the console.
15916 Also expect the new source line to be output after a "next" in
15917 async mode too. Make it a pass/fail test.
15918 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15920 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15922 2014-05-21 Pedro Alves <palves@redhat.com>
15924 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15925 Use them to test variations of "list" after reaching a breakpoint.
15926 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15927 Test "list" with listsize 10 after reaching a breakpoint.
15928 * gdb.python/python.exp (decode_line current location line
15929 number): Adjust expected line number.
15931 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15933 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15934 behavior for $args, pass it directly to "run".
15936 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15938 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15941 2014-05-21 Pedro Alves <palves@redhat.com>
15943 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15944 auto-connect-native-target off".
15945 * gdb.base/auto-connect-native-target.c: New file.
15946 * gdb.base/auto-connect-native-target.exp: New file.
15948 2014-05-21 Pedro Alves <palves@redhat.com>
15950 * gdb.base/default.exp: Test "target native" instead of "target
15953 2014-05-21 Mark Wielaard <mjw@redhat.com>
15955 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15957 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15959 Fix TLS access for -static -pthread.
15960 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15961 <HAVE_TLS> (thread_function, main): Initialize it.
15962 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15964 <$have_tls != "">: Check TLSVAR.
15966 2014-05-21 Pedro Alves <palves@redhat.com>
15968 * gdb.base/dcache-line-read-error.c: New.
15969 * gdb.base/dcache-line-read-error.exp: New.
15971 2014-05-20 Pedro Alves <palves@redhat.com>
15973 * gdb.base/compare-sections.c: New file.
15974 * gdb.base/compare-sections.exp: New file.
15976 2014-05-20 Pedro Alves <palves@redhat.com>
15978 * gdb.base/break-idempotent.c: New file.
15979 * gdb.base/break-idempotent.exp: New file.
15981 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15983 * gdb.btrace/nohist.exp: New.
15985 2014-05-20 Yao Qi <yao@codesourcery.com>
15987 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15988 gdb.reverse directory and gdb_reverse_timeout exists in board
15990 * README: Document gdb_reverse_timeout.
15992 2014-05-20 Yao Qi <yao@codesourcery.com>
15994 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15995 'test_file_name'. Treat args as a string instead of a list.
15996 (gdb_init): Rename argument 'args' by 'test_file_name'.
15998 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16000 * gdb.arch/powerpc-power.exp: New file.
16001 * gdb.arch/powerpc-power.s: New file.
16003 2014-05-16 Doug Evans <dje@google.com>
16005 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16006 * gdb.base/completion.exp: Check that all expected files exist
16007 before doing file completion.
16009 2014-05-16 Doug Evans <dje@google.com>
16011 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16013 (do_syscall_tests_without_xml): Update.
16015 2014-05-16 Pedro Alves <palves@redhat.com>
16017 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16018 instead of "unknown output after running".
16020 2014-05-16 Yao Qi <yao@codesourcery.com>
16022 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16023 file1.txt from host at the end.
16024 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16026 2014-05-15 Doug Evans <dje@google.com>
16028 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16029 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16030 loading file. Add test for TU lookup.
16032 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16034 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16035 calling "-exec-arguments" or "set args" before running the
16038 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16040 * lib/mi-support.exp (mi_expect_stop): Expect message for
16041 inferiors that exit with non-zero exit code.
16043 2014-05-14 Yao Qi <yao@codesourcery.com>
16045 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16046 match absolute path on remote host.
16047 (test_file_list_exec_source_files): Remove "/" from the
16050 2014-05-14 Yao Qi <yao@codesourcery.com>
16052 * boards/local-remote-host-notty.exp (${board}_file): New
16055 2014-05-07 Kyle McMartin <kyle@redhat.com>
16057 Pushed by Joel Brobecker <brobecker@adacore.com>.
16058 * gdb.arch/aarch64-atomic-inst.c: New file.
16059 * gdb.arch/aarch64-atomic-inst.exp: New file.
16061 2014-05-07 Yao Qi <yao@codesourcery.com>
16063 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16064 in current context" too.
16066 2014-05-05 Keith Seitz <keiths@redhat.com>
16068 * gdb.linespec/ls-dollar.exp: Add test for linespec
16069 file:convenience_variable.
16071 2014-05-05 Yao Qi <yao@codesourcery.com>
16073 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16074 traceframes into tfile and ctf trace files. Read data from
16075 trace file and test collected data.
16076 (gdb_collect_locals_test): Likewise.
16077 (gdb_unavailable_registers_test): Likewise.
16078 (gdb_unavailable_floats): Likewise.
16079 (gdb_collect_globals_test): Likewise.
16080 (top-level): Append "ctf" to trace_file_targets if GDB
16083 2014-05-05 Yao Qi <yao@codesourcery.com>
16085 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16087 (gdb_collect_args_test_1): ... it. New proc.
16088 (gdb_collect_locals_test): Move some code to ...
16089 (gdb_collect_locals_test_1): ... it. New proc.
16090 (gdb_unavailable_registers_test): Move some code to ...
16091 (gdb_unavailable_registers_test_1): ... it. New proc.
16092 (gdb_unavailable_floats): Move some code to ...
16093 (gdb_unavailable_floats_1): ... it. New proc.
16095 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16097 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16098 probes to test for bitness recognition.
16099 * gdb.arch/amd64-stap-optional-prefix.exp
16100 (test_probe_value_without_reg): New procedure.
16101 Add code to test for different kinds of bitness.
16103 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16105 PR breakpoints/16889
16106 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16107 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16109 2014-05-01 Pedro Alves <palves@redhat.com>
16111 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16112 gdb_file_cmd if no file is specified.
16113 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16114 last_loaded_file to set the remote exec-file.
16116 2014-05-01 Pedro Alves <palves@redhat.com>
16118 * boards/local-remote-host.exp: New file.
16120 2014-05-01 Pedro Alves <palves@redhat.com>
16122 * boards/local-remote-host.exp: Rename to ...
16123 * boards/local-remote-host-notty.exp: ... this.
16125 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16127 * gdb.ada/dyn_arrayidx: New testcase.
16129 2014-04-26 Yao Qi <yao@codesourcery.com>
16131 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16132 and compute the length of function main. Save it in
16134 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16135 (top-level): Use gdb_compile to compile objects into
16136 executable and restart GDB. Remove invocation to
16137 prepare_for_testing.
16139 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16140 Pedro Alves <palves@redhat.com>
16143 * gdb.multi/multi-attach.c: New file.
16144 * gdb.multi/multi-attach.exp: New file.
16146 2014-04-25 Pedro Alves <palves@redhat.com>
16148 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16150 (top level): Test that "set remote conditional-breakpoints-packet
16151 off" works as intended.
16152 * gdb.base/dprintf.exp: Test that "set remote
16153 breakpoint-commands-packet off" works as intended.
16154 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16156 (top level): Call it.
16157 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16158 remote fast-tracepoints-packet off" works as intended.
16159 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16160 * lib/gdb.exp (gdb_is_target_remote): ... here.
16162 2014-04-24 David Blaikie <dblaikie@gmail.com>
16164 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16165 ensure clang would not discard them.
16166 * gdb.base/gdbvars.c: Ditto.
16167 * gdb.base/memattr.c: Ditto.
16168 * gdb.base/whatis.c: Ditto.
16169 * gdb.python/py-prettyprint.c: Ditto.
16170 * gdb.trace/actions.c: Ditto.
16171 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16172 ensure clang would not discard it.
16174 2014-04-24 David Blaikie <dblaikie@gmail.com>
16176 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16177 clang to emit the full definition of type required by the test
16178 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16180 2014-04-24 David Blaikie <dblaikie@gmail.com>
16182 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16183 coax Clang into emitting the definition of the type.
16184 * gdb.cp/pr10728-x.h (y): Ditto.
16185 * gdb.cp/pr10728-y.cc (y): Ditto.
16187 2014-04-24 David Blaikie <dblaikie@gmail.com>
16189 * gdb.base/label.exp: XFAIL label related tests under Clang.
16190 * gdb.cp/cplabel.exp: Ditto.
16191 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16192 under Clang those using labels.
16194 2014-04-25 Yao Qi <yao@codesourcery.com>
16196 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16198 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16199 partial_label and double_label.
16201 2014-04-24 David Blaikie <dblaikie@gmail.com>
16203 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16205 2014-04-24 David Blaikie <dblaikie@gmail.com>
16207 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16208 of the function to work across GCC and Clang.
16209 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16210 pointer types (const void ** const V void **).
16212 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16213 Walfred Tedeschi <walfred.tedeschi@intel.com>
16215 * Makefile.in (EXECUTABLES): Added i386-avx512.
16216 * gdb.arch/i386-avx512.c: New file.
16217 * gdb.arch/i386-avx512.exp: Likewise.
16219 2014-04-23 Keith Seitz <keiths@redhat.com>
16221 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16222 (mi_make_breakpoint_table): New procedure.
16223 (mi_create_breakpoint): Use mi_make_breakpoint
16224 and return the result.
16225 (mi_make_breakpoint): New procedure.
16226 (mi_build_kv_pairs): New procedure.
16228 * gdb.mi/mi-break.exp: Remove unused globals,
16229 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16230 All callers updated.
16231 * gdb.mi/mi-dprintf.exp: Use variable to track command
16233 Update all callers of mi_create_breakpoint and use
16234 mi_make_breakpoint_table.
16235 Remove any unused global variables.
16236 * gdb.mi/mi-nonstop.exp: Likewise.
16237 * gdb.mi/mi-nsintrall.exp: Likewise.
16238 * gdb.mi/mi-nsmoribund.exp: Likewise.
16239 * gdb.mi/mi-nsthrexec.exp: Likewise.
16240 * gdb.mi/mi-reverse.exp: Likewise.
16241 * gdb.mi/mi-simplerun.exp: Likewise.
16242 * gdb.mi/mi-stepn.exp: Likewise.
16243 * gdb.mi/mi-syn-frame.exp: Likewise.
16244 * gdb.mi/mi-until.exp: Likewise.
16245 * gdb.mi/mi-var-cp.exp: Likewise.
16246 * gdb.mi/mi-var-display.exp: Likewise.
16247 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16248 * gdb.mi/mi2-var-child.exp: Likewise.
16249 * gdb.mi/mi-vla-c99.exp: Likewise.
16250 * lib/mi-support.exp: Likewise.
16252 From Ian Lance Taylor <iant@cygnus.com>:
16253 * lib/gdb.exp (parse_args): New procedure.
16255 2014-04-23 Pedro Alves <palves@redhat.com>
16257 * gdb.base/break-unload-file.c: New file.
16258 * gdb.base/break-unload-file.exp: New file.
16259 * gdb.base/sym-file-lib.c (baz): New function.
16260 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16262 (load): Store the segment's mapped size.
16263 (unload): New function.
16264 (unload_shlib): New function.
16265 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16266 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16267 set a breakpoint at baz, and call it.
16268 * gdb.base/sym-file.exp: New tests for stale breakpoint
16271 2014-04-23 Pedro Alves <palves@redhat.com>
16273 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16274 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16275 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16276 * gdb.base/hbreak-unmapped.c: New file.
16277 * gdb.base/hbreak-unmapped.exp: New file.
16278 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16279 * lib/gdb.exp (gdb_is_target_remote): ... here.
16281 2014-04-22 Pedro Alves <palves@redhat.com>
16283 * gdb.base/consecutive-step-over.c: New file.
16284 * gdb.base/consecutive-step-over.exp: New file.
16286 2014-04-22 Pedro Alves <palves@redhat.com>
16288 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16289 instead of send_gdb/gdb_expect.
16291 2014-04-22 Yao Qi <yao@codesourcery.com>
16293 * lib/trace-support.exp (generate_tracefile): New procedure.
16294 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16296 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16297 if generate_tracefile returns 1.
16299 2014-04-18 Tom Tromey <palves@redhat.com>
16300 Pedro alves <tromey@redhat.com>
16303 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16304 with a backtrace limit.
16305 * gdb.python/py-frame-inline.exp: Test running to an inline
16306 function with a backtrace limit, and printing the newest frame.
16307 * gdb.python/py-frame-inline.c (main): Call f.
16309 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16311 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16313 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16315 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16316 Drop prefix from unsupported source file path.
16318 2014-04-17 Yao Qi <yao@codesourcery.com>
16320 * lib/gdb.exp (with_target_charset): New proc.
16321 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16322 with_target_charset.
16323 (test_print_strings): Likewise.
16324 (test_repeat_bytes): Likewise.
16325 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16328 2014-04-16 Keith Seitz <keiths@redhat.com>
16331 * gdb.dwarf2/corrupt.c: New file.
16332 * gdb.dwarf2/corrupt.exp: New file.
16334 2014-04-16 Keith Seitz <keiths@redhat.com>
16337 * gdb.cp/namelessclass.cc: New file.
16338 * gdb.cp/namelessclass.exp: New file.
16339 * gdb.cp/namelessclass.S: New file.
16341 2014-04-16 Doug Evans <dje@google.com>
16343 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16345 (gdbserver_default_get_comm_port): New function.
16346 (gdbserver_start): Check if board file provided
16347 "gdbserver,get_comm_port" and use it if so.
16348 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16349 (gdb,socketport): Set to "stdio".
16350 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16351 (stdio_gdbserver_template): Delete.
16352 (${board}_get_remote_address): Update.
16353 (${board}_build_remote_cmd): Delete.
16354 (${board}_get_comm_port): New function.
16355 (${board}_spawn): Update.
16356 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16358 (${board}_get_remote_address): Update.
16359 (${board}_get_comm_port): New function.
16361 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16363 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16364 appearing in any order.
16366 2014-04-15 Doug Evans <dje@google.com>
16368 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16369 uninitialized value of "description".
16371 2014-04-15 Keith Seitz <keiths@redhat.com>
16373 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16374 Remove unused globals.
16375 (test_running_the_program): Likewise.
16376 (test_controlled_execution): Likewise.
16377 (test_controlling_breakpoints): Likewise.
16378 (test_program_termination): Likewise.
16380 2014-04-15 Keith Seitz <keiths@redhat.com>
16382 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16384 (test_rbreak_creation_and_listing): Likewise.
16385 (test_ignore_count): Likewise.
16386 (test_error): Likewise.
16388 2014-04-15 Pedro Alves <palves@redhat.com>
16390 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16391 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16393 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16394 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16395 to sym-file-loader.c.
16396 (struct library): Forward declare.
16397 (load_shlib, lookup_function): Change prototypes.
16398 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16399 (translate_offset): Remove declarations.
16400 (get_text_addr): New declaration.
16401 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16402 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16404 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16405 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16406 here from sym-file-loader.h.
16407 (struct library): New structure.
16408 (load_shlib, lookup_function): Change prototypes and adjust to
16409 work with a struct library.
16410 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16411 (translate_offset): Make static.
16412 (get_text_addr): New function.
16413 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16415 2014-04-15 Pedro Alves <palves@redhat.com>
16417 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16419 2014-04-15 Pedro Alves <palves@redhat.com>
16421 * gdb.base/sym-file-loader.c: Include <limits.h>.
16422 (SELF_LINK): New define.
16423 (get_origin): New function.
16424 (load_shlib): Use it.
16425 * gdb.base/sym-file.exp: Don't early return if the target is
16426 remote. Use runto_main, and issue fail is that fails. Use
16428 (shlib_name): Delete.
16429 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16431 2014-04-15 Pedro Alves <palves@redhat.com>
16433 * gdb.base/sym-file.exp: Remove regex characters from test
16434 message. Don't refer to breakpoint numbers in test messages.
16436 2014-04-14 Keith Seitz <keiths@redhat.com>
16439 * gdb.cp/var-tag.cc: New file.
16440 * gdb.cp/var-tag.exp: New file.
16441 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16442 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16443 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16444 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16446 2014-04-14 Tom Tromey <tromey@redhat.com>
16448 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16449 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16451 * gdb.cp/enum-class.exp: New file.
16452 * gdb.cp/enum-class.cc: New file.
16454 2014-04-14 Tom Tromey <tromey@redhat.com>
16456 * gdb.dwarf2/enum-type.exp: New file.
16458 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16460 * gdb.mi/mi-vla-c99.exp: New file.
16461 * gdb.mi/vla.c: New file.
16463 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16465 * gdb.base/vla-datatypes.c: New file.
16466 * gdb.base/vla-datatypes.exp: New file.
16468 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16470 * gdb.base/vla-ptr.c: New file.
16471 * gdb.base/vla-ptr.exp: New file.
16473 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16475 * gdb.dwarf2/count.exp: New file.
16477 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16479 * gdb.base/vla-sideeffect.c: New file.
16480 * gdb.base/vla-sideeffect.exp: New file.
16482 2014-04-14 David Blaikie <dblaikie@gmail.com>
16484 * gdb.mi/non-stop.c: Add return value for non-void function return
16486 * gdb.threads/staticthreads.c: Ditto.
16488 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16489 Doug Evans <xdje42@gmail.com>
16491 * gdb.guile/scm-value.c: Improve test case.
16492 * gdb.guile/scm-value.exp: Add new test.
16494 2014-04-11 David Blaikie <dblaikie@gmail.com>
16496 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16497 override Clang's default.
16499 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16501 Revert the following changes (regressions):
16503 * gdb.base/vla-sideeffect.c: New file.
16504 * gdb.base/vla-sideeffect.exp: New file.
16506 * gdb.dwarf2/count.exp: New file.
16508 * gdb.base/vla-multi.c: New file.
16509 * gdb.base/vla-multi.exp: New file.
16511 * gdb.base/vla-ptr.c: New file.
16512 * gdb.base/vla-ptr.exp: New file.
16514 * gdb.base/vla-datatypes.c: New file.
16515 * gdb.base/vla-datatypes.exp: New file.
16517 * gdb.mi/mi-vla-c99.exp: New file.
16518 * gdb.mi/vla.c: New file.
16520 2014-04-11 Keith Seitz <keiths@redhat.com>
16523 * gdb.cp/cpsizeof.exp: New file.
16524 * gdb.cp/cpsizeof.cc: New file.
16526 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16528 * gdb.mi/mi-vla-c99.exp: New file.
16529 * gdb.mi/vla.c: New file.
16531 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16533 * gdb.base/vla-datatypes.c: New file.
16534 * gdb.base/vla-datatypes.exp: New file.
16536 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16538 * gdb.base/vla-ptr.c: New file.
16539 * gdb.base/vla-ptr.exp: New file.
16541 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16543 * gdb.base/vla-multi.c: New file.
16544 * gdb.base/vla-multi.exp: New file.
16546 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16548 * gdb.dwarf2/count.exp: New file.
16550 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16552 * gdb.base/vla-sideeffect.c: New file.
16553 * gdb.base/vla-sideeffect.exp: New file.
16555 2014-04-11 Yao Qi <yao@codesourcery.com>
16557 * gdb.base/completion.exp: Check file exists before running tests
16558 on file completion.
16560 2014-04-10 Pedro Alves <palves@redhat.com>
16562 * gdb.base/cond-eval-mode.c: New file.
16563 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16564 prepare_for_testing to build the new file. Check result of
16566 (test_break, test_watch): New procedures.
16567 (top level): Use them.
16569 2014-04-08 Pierre Muller <muller@sourceware.org>
16571 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16572 Ctrl-V use for mingw hosts.
16574 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16576 * gdb.python/py-value.c: Improve test case.
16577 * gdb.python/py-value.exp: Add new test.
16579 2014-04-07 David Blaikie <dblaikie@gmail.com>
16581 * lib/compiler.c: Identify the clang compiler.
16582 * lib/compiler.cc: Ditto.
16584 2014-04-03 Yao Qi <yao@codesourcery.com>
16586 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16588 2014-04-01 Anton Blanchard <anton@samba.org>
16590 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16593 2014-04-01 Anton Blanchard <anton@samba.org>
16595 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16596 prepare_for_testing.
16598 2014-04-01 Anton Blanchard <anton@samba.org>
16600 * gdb.arch/ppc64-atomic-inst.c: Remove.
16601 * gdb.arch/ppc64-atomic-inst.S: New file.
16602 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16604 2014-03-31 Doug Evans <dje@google.com>
16606 * gdb.base/print-symbol-loading-lib.c: New file.
16607 * gdb.base/print-symbol-loading-main.c: New file.
16608 * gdb.base/print-symbol-loading.exp: New file.
16610 2014-03-31 Yao Qi <yao@codesourcery.com>
16612 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16614 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16616 * gdb.ada/mi_dyn_arr: New testcase.
16618 2014-03-27 Doug Evans <dje@google.com>
16620 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16622 2014-03-27 Yao Qi <yao@codesourcery.com>
16624 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16625 if target is nios2-*-*.
16627 2014-03-26 Yao Qi <yao@codesourcery.com>
16629 * lib/gdb.exp (readline_is_used): New proc.
16630 * gdb.base/completion.exp: Move tests on command complete up.
16631 Skip the rest of tests if readline is not used.
16632 * gdb.ada/complete.exp: Skp the test if readline is not
16634 * gdb.base/filesym.exp: Likewise.
16635 * gdb.base/macscp.exp: Likewise.
16636 * gdb.base/readline-ask.exp: Likewise.
16637 * gdb.base/readline.exp: Likewise.
16638 * gdb.python/py-cmd.exp: Likewise.
16639 * gdb.trace/tfile.exp: Likewise.
16641 2014-03-26 Yao Qi <yao@codesourcery.com>
16643 * gdb.base/macscp.exp: Fix code format issues.
16645 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16647 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16648 * gdb.asm/powerpc64le.inc: New file.
16650 2014-03-25 Pedro Alves <palves@redhat.com>
16651 Doug Evans <dje@google.com>
16653 * gdb.base/source-execution.c: New file.
16654 * gdb.base/source-execution.exp: New file.
16655 * gdb.base/source-execution.gdb: New file.
16657 2014-03-24 Doug Evans <dje@google.com>
16659 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16662 2014-03-24 Hui Zhu <hui@codesourcery.com>
16663 Pedro Alves <palves@redhat.com>
16665 PR breakpoints/16101
16666 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16667 test pass/fail messages. Detect missing support for dprintf when
16668 breakpoints are actually inserted.
16669 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16670 breakpoints are actually inserted.
16671 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16674 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16676 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16678 2014-03-22 Doug Evans <xdje42@gmail.com>
16680 * gdb.python/python.exp (python not supported): Verify multi-line
16681 python command issues an error.
16682 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16683 guile command issues an error.
16685 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16687 * gdb.threads/thread-specific.exp: Handle the lack of usable
16688 $this_breakpoint and $this_thread.
16690 2014-03-21 Hui Zhu <hui@codesourcery.com>
16692 * gdb.base/attach.exp (do_command_attach_tests): New.
16694 2014-03-20 Tom Tromey <tromey@redhat.com>
16695 Pedro Alves <palves@redhat.com>
16698 * gdb.base/condbreak-call-false.c: New file.
16699 * gdb.base/condbreak-call-false.exp: New file.
16701 2014-03-20 Pedro Alves <palves@redhat.com>
16703 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16705 (block_signals, unblock_signals): Delete.
16706 (child_function_2, main): Remove references to deleted variable
16709 2014-03-20 Pedro Alves <palves@redhat.com>
16711 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16712 Use pthread_kill to signal thread 2.
16713 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16714 Adjust to make the test send itself a signal rather than using the
16715 host's "kill" command.
16717 2014-03-20 Pedro Alves <palves@redhat.com>
16719 * gdb.threads/multiple-step-overs.c: New file.
16720 * gdb.threads/multiple-step-overs.exp: New file.
16721 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16722 Adjust expected infrun debug output.
16724 2014-03-20 Pedro Alves <palves@redhat.com>
16726 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16727 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16729 2014-03-20 Pedro Alves <palves@redhat.com>
16731 PR breakpoints/7143
16732 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16733 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16734 of gdb_test_multiple.
16735 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16736 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16738 2014-03-20 Pedro Alves <palves@redhat.com>
16740 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16741 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16743 2014-03-19 Pedro Alves <palves@redhat.com>
16745 * gdb.base/async.exp: Remove early return.
16747 2014-03-19 Pedro Alves <palves@redhat.com>
16749 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16751 2014-03-19 Pedro Alves <palves@redhat.com>
16753 * gdb.base/async.exp (test_background): Expect \r\n after
16754 "completed." in the fail pattern.
16756 2014-03-19 Pedro Alves <palves@redhat.com>
16758 * gdb.base/async.exp (test_background): New procedure.
16759 Use it for all background execution command tests.
16761 2014-03-19 Pedro Alves <palves@redhat.com>
16763 * gdb.base/async.exp: Use prepare_for_testing.
16765 2014-03-19 Pedro Alves <palves@redhat.com>
16767 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16770 2014-03-19 Pedro Alves <palves@redhat.com>
16772 * gdb.base/async.c (main): Add "jump here" and "until here" line
16774 * gdb.base/async.exp (jump_here): New global.
16775 (jump& test): Use it.
16776 (until_here): New global.
16777 (until& test): Use it.
16779 2014-03-19 Pedro Alves <palves@redhat.com>
16781 * gdb.base/async.exp: Don't frob gdb_protocol.
16783 2014-03-18 Doug Evans <xdje42@gmail.com>
16785 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16786 Fix spelling of exec-done-display.
16788 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16791 * gdb.base/gdb-sigterm.c: New file.
16792 * gdb.base/gdb-sigterm.exp: New file.
16794 2014-03-18 Pedro Alves <palves@redhat.com>
16797 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16798 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16801 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16803 * gdb.ada/pckd_arr_ren: New testcase.
16805 2014-03-13 Doug Evans <xdje42@gmail.com>
16808 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16809 collect after discarding symbols.
16811 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16812 Doug Evans <xdje42@gmail.com>
16814 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16815 to history survives a gc.
16817 2014-03-13 Pedro Alves <palves@redhat.com>
16819 * gdb.base/default.exp: Don't test "target procfs".
16821 2014-03-13 Pedro Alves <palves@redhat.com>
16823 * gdb.base/default.exp: Update "target child" and "target procfs"
16824 tests to not expect "Unix".
16826 2014-03-12 Tom Tromey <tromey@redhat.com>
16828 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16829 New procs. Add target-async tests.
16830 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16831 Add target-async tests.
16833 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16835 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16836 'func_start' and 'func_end' for the beginning and end of the
16837 function code, respectively.
16838 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16839 'func_end' instead of 'func' and 'main'.
16841 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16843 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16844 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16845 generate the debug info assembler source.
16847 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16849 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16850 * gdb.dwarf2/arr-subrange.exp: Likewise.
16851 * gdb.dwarf2/dwz.exp: Likewise.
16852 * gdb.dwarf2/method-ptr.exp: Likewise.
16853 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16854 * gdb.dwarf2/subrange.exp: Likewise.
16855 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16856 * gdb.dwarf2/implptrpiece.exp: Likewise.
16857 * gdb.dwarf2/nostaticblock.exp: Likewise.
16859 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16861 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16862 directory to absolute path name arguments.
16864 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16866 * gdb.ada/tagged_access: New testcase.
16868 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16870 * gdb.btrace/data.exp: Update expected output.
16872 2014-03-06 Yao Qi <yao@codesourcery.com>
16874 * gdb.trace/pr16508.exp: New file.
16876 2014-03-05 Pedro Alves <palves@redhat.com>
16879 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16881 (top level): Adjust to use it. Add tests that exercise breakpoint
16882 interaction with the code-cache.
16884 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16886 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16887 test for 'history-append!'.
16889 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16891 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16892 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16893 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16894 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16895 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16896 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16898 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16900 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16901 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16902 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16904 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16906 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16908 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16910 * gdb.dwarf2/arr-stride.c: New file.
16911 * gdb.dwarf2/arr-stride.exp: New file.
16913 2014-02-26 Pedro Alves <palves@redhat.com>
16915 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16916 that won't ever trigger. Make sure that GDB reports the correct
16917 breakpoint that caused the stop.
16919 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16922 * gdb.base/auto-load-script: New file.
16923 * gdb.base/auto-load.c: New file.
16924 * gdb.base/auto-load.exp: New file.
16927 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16929 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16931 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16932 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16934 2014-02-24 Doug Evans <dje@google.com>
16936 * lib/gdb.exp (run_on_host): Log error output if program fails.
16938 2014-02-21 Pedro Alves <palves@redhat.com>
16940 * gdb.threads/step-after-sr-lock.c: Rename to ...
16941 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16942 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16943 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16946 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16949 * gdb.arch/amd64-stap-special-operands.exp: New file.
16950 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16951 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16952 * gdb.arch/amd64-stap-triplet.S: Likewise.
16953 * gdb.arch/amd64-stap-triplet.c: Likewise.
16955 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16957 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16958 in .section pseudo-op.
16960 2014-02-20 lin zuojian <manjian2006@gmail.com>
16961 Joel Brobecker <brobecker@adacore.com>
16962 Doug Evans <xdje42@gmail.com>
16965 * gdb.dwarf2/dw2-icycle.S: New file.
16966 * gdb.dwarf2/dw2-icycle.c: New file.
16967 * gdb.dwarf2/dw2-icycle.exp: New file.
16969 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16971 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16972 operations on gdb.Value objects.
16973 * gdb.python/py-value-cc.exp: Add new test to test operations on
16976 2014-02-18 Doug Evans <dje@google.com>
16978 * Makefile.in (TESTS): New variable.
16979 (expanded_tests, expanded_tests_or_none): New variables
16980 (check-single): Pass $(expanded_tests_or_none) to runtest.
16981 (check-parallel): Only run tests in $(TESTS) if non-empty.
16982 (check/no-matching-tests-found): New rule.
16983 * README: Document TESTS makefile variable.
16985 2014-02-18 Doug Evans <dje@google.com>
16987 * Makefile.in (check-parallel): rm -rf outputs temp.
16989 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16991 Fix "ERROR: no fileid for" in the testsuite.
16992 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16994 2014-02-12 Doug Evans <dje@google.com>
16996 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16997 (MISCELLANEOUS): New variable.
16998 (clean): rm -rf $(MISCELLANEOUS).
16999 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17000 dwp live in the same directory as symlinks, with each symlink pointed
17001 to a differently named file in a different directory.
17003 2014-02-11 Doug Evans <dje@google.com>
17005 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17006 of Tcl file commands.
17008 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17010 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17011 "kill -SIGUSR1 -1".
17013 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17015 * gdb.ada/tick_length_array_enum_idx: New testcase.
17017 2014-02-10 Doug Evans <xdje42@gmail.com>
17019 * configure.ac (AC_OUTPUT): Add gdb.guile.
17020 * configure: Regenerate.
17021 * lib/gdb-guile.exp: New file.
17022 * lib/gdb.exp (get_target_charset): New function.
17023 * gdb.base/help.exp: Update expected output from "apropos apropos".
17024 * gdb.guile/Makefile.in: New file.
17025 * gdb.guile/guile.exp: New file.
17026 * gdb.guile/scm-arch.c: New file.
17027 * gdb.guile/scm-arch.exp: New file.
17028 * gdb.guile/scm-block.c: New file.
17029 * gdb.guile/scm-block.exp: New file.
17030 * gdb.guile/scm-breakpoint.c: New file.
17031 * gdb.guile/scm-breakpoint.exp: New file.
17032 * gdb.guile/scm-disasm.c: New file.
17033 * gdb.guile/scm-disasm.exp: New file.
17034 * gdb.guile/scm-equal.c: New file.
17035 * gdb.guile/scm-equal.exp: New file.
17036 * gdb.guile/scm-error.exp: New file.
17037 * gdb.guile/scm-error.scm: New file.
17038 * gdb.guile/scm-frame-args.c: New file.
17039 * gdb.guile/scm-frame-args.exp: New file.
17040 * gdb.guile/scm-frame-args.scm: New file.
17041 * gdb.guile/scm-frame-inline.c: New file.
17042 * gdb.guile/scm-frame-inline.exp: New file.
17043 * gdb.guile/scm-frame.c: New file.
17044 * gdb.guile/scm-frame.exp: New file.
17045 * gdb.guile/scm-generics.exp: New file.
17046 * gdb.guile/scm-gsmob.exp: New file.
17047 * gdb.guile/scm-iterator.c: New file.
17048 * gdb.guile/scm-iterator.exp: New file.
17049 * gdb.guile/scm-math.c: New file.
17050 * gdb.guile/scm-math.exp: New file.
17051 * gdb.guile/scm-objfile-script-gdb.in: New file.
17052 * gdb.guile/scm-objfile-script.c: New file.
17053 * gdb.guile/scm-objfile-script.exp: New file.
17054 * gdb.guile/scm-objfile.c: New file.
17055 * gdb.guile/scm-objfile.exp: New file.
17056 * gdb.guile/scm-ports.exp: New file.
17057 * gdb.guile/scm-pretty-print.c: New file.
17058 * gdb.guile/scm-pretty-print.exp: New file.
17059 * gdb.guile/scm-pretty-print.scm: New file.
17060 * gdb.guile/scm-section-script.c: New file.
17061 * gdb.guile/scm-section-script.exp: New file.
17062 * gdb.guile/scm-section-script.scm: New file.
17063 * gdb.guile/scm-symbol.c: New file.
17064 * gdb.guile/scm-symbol.exp: New file.
17065 * gdb.guile/scm-symtab-2.c: New file.
17066 * gdb.guile/scm-symtab.c: New file.
17067 * gdb.guile/scm-symtab.exp: New file.
17068 * gdb.guile/scm-type.c: New file.
17069 * gdb.guile/scm-type.exp: New file.
17070 * gdb.guile/scm-value-cc.cc: New file.
17071 * gdb.guile/scm-value-cc.exp: New file.
17072 * gdb.guile/scm-value.c: New file.
17073 * gdb.guile/scm-value.exp: New file.
17074 * gdb.guile/source2.scm: New file.
17075 * gdb.guile/types-module.cc: New file.
17076 * gdb.guile/types-module.exp: New file.
17078 2014-02-10 Yao Qi <yao@codesourcery.com>
17081 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17082 * configure: Regenerated.
17083 * Makefile.in: New file.
17085 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17087 * gdb.python/py-framefilter.exp: Fix typo.
17089 2014-02-08 Yao Qi <yao@codesourcery.com>
17091 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17092 that no =breakpoint-modified is emitted when breakpoints are
17093 modified through MI commands.
17095 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17096 Pedro Alves <palves@redhat.com>
17098 * gdb.threads/step-after-sr-lock.c: New file.
17099 * gdb.threads/step-after-sr-lock.exp: New file.
17101 2014-02-07 Pedro Alves <palves@redhat.com>
17103 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17105 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17107 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17108 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17110 2014-02-06 Doug Evans <xdje42@gmail.com>
17112 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17115 * gdb.gdb/python-interrupts.exp: New file.
17117 2014-02-05 Yao Qi <yao@codesourcery.com>
17119 * gdb.trace/report.exp (use_collected_data): Test the output
17120 of "info threads" and "info inferiors".
17122 2014-02-05 Yao Qi <yao@codesourcery.com>
17126 2013-05-24 Yao Qi <yao@codesourcery.com>
17128 * gdb.trace/tfile.exp: Test inferior and thread.
17130 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17132 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17134 * gdb.base/step-bt.c: Call hello via function pointer to make
17135 sure its first instruction is executed on powerpc64le-linux.
17137 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17139 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17141 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17143 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17144 of the test patterns for use on little-endian systems.
17146 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17148 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17149 (decimal_vector): Fix for little-endian.
17151 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17153 * gdb.arch/sparc-sysstep.exp: New file.
17154 * gdb.arch/sparc-sysstep.c: Likewise.
17156 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17158 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17160 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17162 2014-01-23 Tom Tromey <tromey@redhat.com>
17164 * gdb.ada/array_char_idx: New testcase.
17166 2014-01-23 Tom Tromey <tromey@redhat.com>
17169 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17170 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17173 2014-01-23 Tom Tromey <tromey@redhat.com>
17176 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17177 string from an inferior frame.
17178 * gdb.python/py-framefilter-mi.exp: Update.
17180 2014-01-22 Doug Evans <dje@google.com>
17182 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17184 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17186 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17188 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17190 * gdb.trace/entry-values.exp: Remove excess space character from
17191 regex patterns. Handle s390 call instruction.
17193 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17195 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17196 define "*_start" label. Make "name" static.
17197 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17198 ${name} by references to ${name}_start.
17200 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17202 * gdb.base/info-macros.exp: Remove "debug" from the compile
17205 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17207 * gdb.dlang/demangle.exp: New file.
17209 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17211 * gdb.dlang/primitive-types.exp: New file.
17213 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17215 * configure.ac: Create gdb.dlang/Makefile.
17216 * configure: Regenerate.
17217 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17218 * gdb.dlang/Makefile.in: New file.
17219 * lib/d-support.exp: New file.
17220 * lib/gdb.exp (skip_d_tests): New proc.
17222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17224 * gdb.btrace/delta.exp: Check reverse stepi.
17225 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17226 * gdb.btrace/finish.exp: New.
17227 * gdb.btrace/next.exp: New.
17228 * gdb.btrace/nexti.exp: New.
17229 * gdb.btrace/record_goto.c: Add comments.
17230 * gdb.btrace/step.exp: New.
17231 * gdb.btrace/stepi.exp: New.
17232 * gdb.btrace/multi-thread-step.c: New.
17233 * gdb.btrace/multi-thread-step.exp: New.
17234 * gdb.btrace/rn-dl-bind.c: New.
17235 * gdb.btrace/rn-dl-bind.exp: New.
17236 * gdb.btrace/data.c: New.
17237 * gdb.btrace/data.exp: New.
17238 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17240 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17242 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17243 * gdb.btrace/exception.exp: Update.
17244 * gdb.btrace/instruction_history.exp: Update.
17245 * gdb.btrace/record_goto.exp: Update.
17246 * gdb.btrace/tailcall.exp: Update.
17247 * gdb.btrace/unknown_functions.exp: Update.
17248 * gdb.btrace/delta.exp: New.
17250 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17252 * gdb.btrace/record_goto.exp: Add backtrace test.
17253 * gdb.btrace/tailcall.exp: Add backtrace test.
17255 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17257 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17258 * gdb.btrace/record_goto.c: New.
17259 * gdb.btrace/record_goto.exp: New.
17260 * gdb.btrace/x86-record_goto.S: New.
17262 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17264 * gdb.btrace/function_call_history.exp: Update tests.
17265 * gdb.btrace/instruction_history.exp: Update tests.
17267 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17269 * gdb.btrace/function_call_history.exp: Fix expected field
17270 order for "record function-call-history".
17271 Add new tests for "record function-call-history /c".
17272 * gdb.btrace/exception.cc: New.
17273 * gdb.btrace/exception.exp: New.
17274 * gdb.btrace/tailcall.exp: New.
17275 * gdb.btrace/x86-tailcall.S: New.
17276 * gdb.btrace/x86-tailcall.c: New.
17277 * gdb.btrace/unknown_functions.c: New.
17278 * gdb.btrace/unknown_functions.exp: New.
17279 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17281 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17283 * gdb.btrace/instruction_history.exp: Update.
17284 * gdb.btrace/function_call_history.exp: Update.
17286 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17288 * gdb.btrace/function_call_history.exp: Fix expected function
17290 * gdb.btrace/instruction_history.exp: Initialize traced.
17291 Remove traced_functions.
17293 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17295 * gdb.btrace/function_call_history.exp: Update
17296 * gdb.btrace/instruction_history.exp: Update.
17298 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17300 * gdb.btrace/enable.exp: Update expected text.
17302 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17304 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17307 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17309 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17311 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17313 * lib/gdb.exp (supports_process_record): Return true for
17314 arm*-linux*. (supports_reverse): Likewise.
17316 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17320 * gdb.python/py-type.c: Enhance test case.
17321 * gdb.python/py-value-cc.cc: Likewise
17322 * gdb.python/py-type.exp: Add new tests.
17323 * gdb.python/py-value-cc.exp: Likewise
17325 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17326 Pedro Alves <palves@redhat.com>
17328 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17329 Make "name" extern.
17330 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17331 references to ${name}_start by references to ${name}.
17333 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17335 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17337 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17339 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17341 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17342 Pedro Alves <palves@redhat.com>
17344 * gdb.mi/mi-info-os.exp: Connect to the target with
17345 mi_gdb_target_load.
17347 2014-01-08 Pedro Alves <palves@redhat.com>
17349 * gdb.threads/reconnect-signal.c: New file.
17350 * gdb.threads/reconnect-signal.exp: New file.
17352 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17354 * gdb.base/source-dir.exp: New file.
17356 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17358 * gdb.ada/mi_interface: New testcase.
17360 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17362 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17363 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17364 gdb.ada/pp-rec-component/pck.ads: New files.
17366 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17368 * gdb.python/py-pp-integral.c: New file.
17369 * gdb.python/py-pp-integral.py: New file.
17370 * gdb.python/py-pp-integral.exp: New file.
17372 For older changes see ChangeLog-1993-2013.
17374 ;; Local Variables:
17375 ;; mode: change-log
17378 ;; version-control: never
17381 Copyright 2014-2019 Free Software Foundation, Inc.
17382 Copying and distribution of this file, with or without modification,
17383 are permitted provided the copyright notice and this notice are preserved.