1 2019-10-01 Tom Tromey <tom@tromey.com>
3 * gdb.base/style.exp: Test "pwd".
5 2019-10-01 Tom Tromey <tom@tromey.com>
7 * gdb.base/style.exp: Update tests.
9 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
11 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
13 (s1): Initialize fields 'four' and 'six' instead of 'three' and
14 'five'. Use an all-ones bit pattern for each.
15 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
16 to its changed values.
18 2019-09-30 Tom Tromey <tromey@adacore.com>
20 * gdb.rust/traits.rs: Disable all warnings.
22 2019-09-29 Tom de Vries <tdevries@suse.de>
24 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
26 2019-09-29 Tom de Vries <tdevries@suse.de>
28 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
30 2019-09-27 Tom de Vries <tdevries@suse.de>
32 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
34 2019-09-27 Tom de Vries <tdevries@suse.de>
37 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
39 2019-09-26 Tom Tromey <tromey@adacore.com>
41 * gdb.ada/py_taft.exp: New file.
42 * gdb.ada/py_taft/main.adb: New file.
43 * gdb.ada/py_taft/pkg.adb: New file.
44 * gdb.ada/py_taft/pkg.ads: New file.
46 2019-09-24 Tom de Vries <tdevries@suse.de>
49 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
51 2019-09-22 Tom de Vries <tdevries@suse.de>
53 * gdb.base/restore.exp: Allow register variables to be optimized out at
56 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
58 * gdb.arch/spu-info.exp: Remove file.
59 * gdb.arch/spu-info.c: Remove file.
60 * gdb.arch/spu-ls.exp: Remove file.
61 * gdb.arch/spu-ls.c: Remove file.
63 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
64 * gdb.asm/spu.inc: Remove file.
66 * gdb.base/dump.exp: Remove support for spu*-*-*.
67 * gdb.base/stack-checking.exp: Likewise.
68 * gdb.base/overlays.exp: Likewise.
69 * gdb.base/ovlymgr.c: Likewise.
70 * gdb.base/spu.ld: Remove file.
72 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
73 * gdb.cp/cpexprs.exp: Likewise.
74 * gdb.cp/exception.exp: Likewise.
75 * gdb.cp/gdb2495.exp: Likewise.
76 * gdb.cp/mb-templates.exp: Likewise.
77 * gdb.cp/pr9167.exp: Likewise.
78 * gdb.cp/userdef.exp: Likewise.
80 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
82 * gdb.cell: Remove directory.
83 * lib/cell.exp: Remove file.
85 2019-09-19 Tom de Vries <tdevries@suse.de>
87 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
89 2019-09-19 Tom de Vries <tdevries@suse.de>
91 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
93 2019-09-19 Tom de Vries <tdevries@suse.de>
95 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
96 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
97 (gdb_target_cmd): ... here.
98 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
101 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
103 * gdb.base/source-dir.exp: Avoid having directory names in test
106 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
108 * gdb.base/source-dir.exp: Add extra test for mapped compilation
111 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
113 * gdb.base/list-missing-source.exp: New file.
115 2019-09-14 Tom de Vries <tdevries@suse.de>
118 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
119 * lib/ada.exp (gnatmake_version_at_least): New proc.
121 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
123 * gdb.base/maint.exp: Use exec_has_index_section.
125 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
127 * gdb.base/maint.exp: Add test for 'maint info sections'.
129 2019-09-12 Tom de Vries <tdevries@suse.de>
131 * gdb.base/store.exp: Allow register variables to be optimized out at
134 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
136 * gdb.ada/rdv_wait.exp: Update to new task names.
137 * gdb.base/task_switch_in_core.exp: Likewise.
138 * gdb.base/info_sources_base.c: Likewise.
140 2019-09-10 Tom Tromey <tromey@adacore.com>
142 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
144 2019-09-10 Tom Tromey <tromey@adacore.com>
146 * gdb.ada/dgopt.exp: New file.
147 * gdb.ada/dgopt/x.adb: New file.
149 2019-09-08 Tom Tromey <tom@tromey.com>
151 * gdb.tui/resize.exp: Remove setup_xfail.
152 * gdb.tui/regs.exp: Remove setup_xfail.
153 * gdb.tui/basic.exp: Remove setup_xfail.
155 2019-09-06 David Blaikie <dblaikie@gmail.com>
157 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
158 * gdb.cp/cplabel.exp: Ditto.
159 * gdb.linespec/ls-errs.exp: Ditto.
161 2019-09-05 Tom de Vries <tdevries@suse.de>
163 * lib/gdb.exp (cmp_file_string): New proc.
164 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
165 runto_main. Verify save breakpoints output.
167 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
169 * gdb.base/info-var.exp: Test info variables without running
170 to main, to avoid expect's buffer overflow.
172 2019-09-03 Tom Tromey <tromey@adacore.com>
174 * gdb.ada/bias.exp: New file.
175 * gdb.ada/bias/bias.adb: New file.
176 * gdb.ada/print_chars.exp: Add regression test.
177 * gdb.ada/print_chars/foo.adb (My_Character): New type.
180 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
182 * gdb.base/argv0-symlink.exp: Run only on native target
185 2019-08-29 Tom de Vries <tdevries@suse.de>
187 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
189 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
191 2019-08-28 Tom de Vries <tdevries@suse.de>
193 * gdb.base/info-var.exp: Allow info variables to print info for files
194 other than info-var-f1.c and info-var-f2.c.
196 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
198 * gdb.fortran/info-types.exp: Add module.
199 * gdb.fortran/info-types.f90: Update expected results.
201 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
203 * gdb.fortran/info-types.exp: New file.
204 * gdb.fortran/info-types.f90: New file.
205 * lib/fortran.exp (fortran_character1): New proc.
207 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
209 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
210 functions'. Reindent as needed.
211 * gdb.base/info-var-f1.c: New file.
212 * gdb.base/info-var-f2.c: New file.
213 * gdb.base/info-var.exp: New file.
214 * gdb.base/info-var.h: New file.
216 2019-08-26 Tom de Vries <tdevries@suse.de>
219 * gdb.cp/no-libstdcxx-probe.exp: New test.
221 2019-08-26 Tom de Vries <tdevries@suse.de>
223 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
224 * tests need to be skipped.
225 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
226 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
227 mi_skip_libstdcxx_probe_tests.
229 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
231 * gdb.python/py-xmethods.exp: Use raw strings when passing
232 arguments to SimpleXMethodMatcher.
234 2019-08-22 Tom de Vries <tdevries@suse.de>
236 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
239 2019-08-21 Pedro Alves <palves@redhat.com>
241 * gdb.base/with.exp: Test "with" with no arguments.
243 2019-08-21 Tom de Vries <tdevries@suse.de>
245 * gdb.base/gdb-caching-proc.exp: Sort files.
247 2019-08-20 Tom de Vries <tdevries@suse.de>
249 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
252 2019-08-16 Tom de Vries <tdevries@suse.de>
254 * gdb.base/compare-sections.exp ("after run to main"): Allow
255 mismatched read-only sections for PIE executables.
257 2019-08-16 Tom Tromey <tom@tromey.com>
259 * lib/tuiterm.exp (_csi_Z): New proc.
260 * gdb.tui/basic.exp: Update window positions.
261 * gdb.tui/empty.exp: Update window positions.
263 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
265 * gdb.base/examine-backward.exp: Correct regexp for
266 "examine 3 bytes backward from ${address_zero}".
268 2019-08-15 Tom Tromey <tom@tromey.com>
270 * gdb.tui/empty.exp: Enable resizing tests.
272 2019-08-15 Tom Tromey <tromey@adacore.com>
274 * gdb.ada/char_enum.exp: Add regression tests.
275 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
277 (Char, Gchar): Update.
278 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
280 2019-08-15 Christian Biesinger <cbiesinger@google.com>
282 * gdb.python/python.exp: Expect a leading underscore on
283 GdbOutput{,Error}File.
285 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
287 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
290 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
292 * gdb.base/batch-preserve-term-settings.exp
293 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
295 2019-08-15 Christian Biesinger <cbiesinger@google.com>
297 * lib/gdb.exp: When running on a mingw target, replace
300 2019-08-14 Alan Hayward <alan.hayward@arm.com>
302 * gdb.arch/aarch64-prologue.c: New test.
303 * gdb.arch/aarch64-prologue.exp: New file.
305 2019-08-13 Tom de Vries <tdevries@suse.de>
307 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
310 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
312 * gdb.python/py-completion.exp: Download the .py file to the host
313 and use its host pathname. Conditionalize tests that use
314 tab completion and manipulate files on the build machine.
315 * gdb.python/py-events.exp: Download the .py file to the host
316 and use its host pathname.
317 * gdb.python/py-evsignal.exp: Likewise.
318 * gdb.python/py-evthreads.exp: Likewise.
319 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
321 * gdb.python/py-framefilter.exp: Download the .py file to the right
322 place on the host. Match Windows pathname syntax.
323 * gdb.python/py-mi-var-info-path-expression.exp: Download the
324 .py file to the host and use its host pathname.
325 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
326 * gdb.python/py-objfile.exp: Expect a host pathname, not a
327 build pathname. Skip symlink test on Windows host. Add missing
328 newline at end of file.
329 * gdb.python/py-pp-maint.exp: Download the .py file to the host
330 and use its host pathname.
331 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
332 * gdb.python/py-section-script.exp: Use host location of binfile
333 on safe-path. Use correct path separator on Windows host.
334 Reorder alternatives in gdb_test_multiple to prevent matching
335 the wrong alternative on success.
336 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
338 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
340 * gdb.gdb/selftest.exp (test_with_self): Update test to now
341 expect the GDB inferior to no longer immediately stop after
342 being resumed with "signal SIGINT".
344 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
346 * gdb.linespec/break-ask.exp: Generalize regexps to match
347 Windows pathnames too.
349 2019-08-08 Tom de Vries <tdevries@suse.de>
352 * lib/tuiterm.exp (_accept): Fix CSI regexp.
354 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
356 * gdb.base/style.exp: Update tests for help doc new invariants.
357 * gdb.base/help.exp: Likewise.
359 2019-08-06 Tom Tromey <tom@tromey.com>
361 * gdb.base/style.exp: Add disassemble test.
362 * gdb.base/style.c (some_called_function): New function.
365 2019-08-05 Christian Biesinger <cbiesinger@google.com>
367 * gdb.python/py-block.exp: Test dictionary access on blocks.
369 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
372 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
373 -list-thread-groups --available test when running under
376 2019-08-05 Tom de Vries <tdevries@suse.de>
379 * lib/gdb.exp (with_read1_timeout_factor): New proc.
380 * gdb.base/help.exp: Use with_read1_timeout_factor.
381 * gdb.base/info-macros.exp: Same.
382 * gdb.cp/nested-types.exp: Same.
384 2019-08-05 Tom de Vries <tdevries@suse.de>
386 * lib/gdb.exp (version_at_least): Factor out of ...
387 (tcl_version_at_least): ... here.
388 (gdb_compile): Fail if pie results in non-PIE executable.
389 (readelf_version, readelf_prints_pie): New proc.
390 (exec_is_pie): Return -1 if unknown.
392 2019-08-05 Tom de Vries <tdevries@suse.de>
394 * lib/gdb.exp (tcl_version_at_least): Fix typo.
396 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
398 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
400 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
402 * lib/completion-support.exp (test_gdb_complete_none): Skip
403 tab completion tests if no readline support.
404 (test_gdb_complete_unique_re): Likewise.
405 (test_gdb_complete_multiple): Likewise.
407 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
409 * gdb.base/info_sources.exp: New file.
410 * gdb.base/info_sources.c: New file.
411 * gdb.base/info_sources_base.c: New file.
413 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
415 * gdb.base/batch-exit-status.exp: Call test_exit_status with
417 (test_exit_status): Add prefix argument.
419 2019-08-01 Tom de Vries <tdevries@suse.de>
422 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
423 calling exp_continue for new thread and thread exited messages.
425 2019-08-01 Tom de Vries <tdevries@suse.de>
428 * gdb.base/structs.exp: Fix check-read1 timeout using
430 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
432 2019-08-01 Tom de Vries <tdevries@suse.de>
435 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
438 2019-08-01 Tom de Vries <tdevries@suse.de>
441 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
443 2019-07-30 Tom Tromey <tromey@adacore.com>
445 * gdb.ada/display_nested.exp: New file.
446 * gdb.ada/display_nested/foo.adb: New file.
447 * gdb.ada/display_nested/pack.adb: New file.
448 * gdb.ada/display_nested/pack.ads: New file.
450 2019-07-30 Christian Biesinger <cbiesinger@google.com>
452 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
454 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
456 2019-07-30 Tom de Vries <tdevries@suse.de>
458 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
461 2019-07-30 Tom de Vries <tdevries@suse.de>
464 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
465 (exec_is_pie): New proc.
467 2019-07-29 Christian Biesinger <cbiesinger@google.com>
469 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
471 2019-07-29 Christian Biesinger <cbiesinger@google.com>
473 * gdb.python/py-objfile.c: Add global and static vars.
474 * gdb.python/py-objfile.exp: Test new functions Objfile.
475 lookup_global_symbol and lookup_static_symbol.
477 2019-07-29 Tom Tromey <tom@tromey.com>
479 * lib/tuiterm.exp (Term::_csi_@): New proc.
480 (Term::_csi_X): Don't move cursor.
482 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
484 * gdb.base/options.exp: Update backtrace - completion to
485 new option -frame-info.
486 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
487 Test new 'set print frame-info'. Test backtrace -frame-info
488 overriding 'set print frame-info'.
489 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
490 Test new 'set print frame-info'.
491 Verify consistency of backtrace with and without filters, with and
493 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
496 2019-07-29 Tom de Vries <tdevries@suse.de>
498 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
501 2019-07-29 Tom de Vries <tdevries@suse.de>
503 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
504 is a substring of the first for "complete non-unique file name".
506 2019-07-29 Tom de Vries <tdevries@suse.de>
508 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
511 2019-07-29 Tom de Vries <tdevries@suse.de>
513 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
514 Pass prompt_regexp parameter to gdb_test_multiple calls.
516 2019-07-29 Tom de Vries <tdevries@suse.de>
518 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
519 print registers" regexps.
521 2019-07-29 Tom de Vries <tdevries@suse.de>
523 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
525 2019-07-29 Tom de Vries <tdevries@suse.de>
528 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
529 (skip_python_tests_prompt): Add prompt_regexp argument to
530 gdb_test_multiple calls.
532 2019-07-27 Tom Tromey <tom@tromey.com>
534 * gdb.tui/main.exp: New file.
536 2019-07-27 Tom Tromey <tom@tromey.com>
538 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
540 * gdb.tui/empty.exp: New file.
542 2019-07-27 Tom Tromey <tom@tromey.com>
544 * lib/tuiterm.exp (spawn): New proc.
545 (Term::resize): New proc.
546 * gdb.tui/resize.exp: New file.
548 2019-07-27 Tom Tromey <tom@tromey.com>
550 * gdb.tui/list.exp: New file.
552 2019-07-27 Tom Tromey <tom@tromey.com>
554 * gdb.tui/regs.exp: New file.
556 2019-07-27 Tom Tromey <tom@tromey.com>
558 * gdb.tui/basic.exp: Add "layout split" test.
560 2019-07-27 Tom Tromey <tom@tromey.com>
562 * gdb.tui/basic.exp: Add "layout asm" test.
564 2019-07-27 Tom Tromey <tom@tromey.com>
566 * lib/tuiterm.exp: New file.
567 * gdb.tui/basic.exp: New file.
569 2019-07-27 Kevin Buettner <kevinb@redhat.com>
571 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
572 Enable tests associated with this flag. Adjust regex
573 referencing "foo_low" to now refer to "foo_cold" instead.
575 2019-07-27 Kevin Buettner <kevinb@redhat.com>
577 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
578 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
579 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
580 foo_cold. Revise comments to match.
581 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
582 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
583 were wrapped into this proc; Call do_test in loop from outermost
585 (foo_low): Rename all occurrences to "foo_cold".
586 (backtrace from baz): New test.
587 (x2/i foo_cold): New test.
588 (info line *foo_cold): New test.
590 2019-07-26 Tom de Vries <tdevries@suse.de>
592 * gdb.arch/i386-pkru.exp: Fix unterminated string.
594 2019-07-25 Tom de Vries <tdevries@suse.de>
597 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
598 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
599 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
600 (skip_libstdcxx_probe_tests): ... here.
601 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
603 2019-07-24 Tom de Vries <tdevries@suse.de>
606 * gdb.objc/basicclass.m: Include stdio.h.
607 * gdb.objc/nondebug.m: Same.
608 * gdb.objc/objcdecode.m: Same.
610 2019-07-24 Tom de Vries <tdevries@suse.de>
613 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
616 2019-07-24 Tom de Vries <tdevries@suse.de>
619 * gdb.multi/tids.exp: Update error messages for info threads.
621 2019-07-24 Tom de Vries <tdevries@suse.de>
623 * gdb.base/info-types.exp: Allow info types to print info for more than
626 2019-07-23 Tom de Vries <tdevries@suse.de>
629 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
630 gdb_spawn_with_cmdline_opts.
632 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
634 * gdb.arch/arm-cmse-sgstubs.c: New test.
635 * gdb.arch/arm-cmse-sgstubs.exp: New file.
637 2019-07-23 Tom de Vries <tdevries@suse.de>
640 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
641 issuing next command.
643 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
645 * gdb.ada/info_auto_lang.exp: Update expected results.
646 * gdb.base/info-types.c: Add additional types to check.
647 * gdb.base/info-types.exp: Update expected results.
649 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
651 * gdb.base/info-types.c: New file.
652 * gdb.base/info-types.exp: New file.
654 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
656 * gdb.arch/riscv-bp-infcall.c: New file.
657 * gdb.arch/riscv-bp-infcall.exp: New file.
659 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
662 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
664 2019-07-14 Tom de Vries <tdevries@suse.de>
667 * gdb.objc/basicclass.exp: Fix unterminated string.
669 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
670 Andrew Burgess <andrew.burgess@embecosm.com>
672 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
673 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
675 * gdb.fortran/vla-value.exp: Print elements of an array with
677 * gdb.fortran/vla.f90: Setup an array with negative bounds for
680 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
682 * gdb.base/options.exp (expect_string): Dequote strings in
684 (test-string): Test strings with different quoting and reindent.
686 2019-07-10 Tom Tromey <tromey@adacore.com>
688 * gdb.ada/mi_ex_cond.exp: Update expected results.
689 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
690 * gdb.ada/mi_catch_ex.exp: Update expected results.
691 * gdb.ada/mi_catch_assert.exp: Update expected results.
692 * gdb.ada/catch_ex.exp (catch_exception_info)
693 (catch_exception_entry, catch_assert_entry)
694 (catch_unhandled_entry): Update.
695 * gdb.ada/catch_assert_if.exp: Update expected results.
697 2019-07-10 Richard Bunt <richard.bunt@arm.com>
698 Stephen Roberts <stephen.roberts@arm.com>
700 * gdb.base/define.exp: Restore original prompt.
702 2019-07-09 Pedro Alves <palves@redhat.com>
704 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
706 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
707 * gdb.python/py-breakpoint.exp: No longer expect that "catch
708 throw" creates breakpoint.
709 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
712 2019-07-09 Pedro Alves <palves@redhat.com>
715 * gdb.cp/except-multi-location-lib.cc: New.
716 * gdb.cp/except-multi-location-main.cc: New.
717 * gdb.cp/except-multi-location.exp: New.
719 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
721 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
722 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
723 argument and update callers.
725 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
727 * gdb.arch/amd64-break-on-asm-line.S: New file.
728 * gdb.arch/amd64-break-on-asm-line.exp: New file.
730 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
732 * gdb.base/printcmds.exp: Test printing C string and
733 C wide string convenience vars without transiting via the inferior.
734 Also make test names unique.
736 2019-07-08 Alan Hayward <alan.hayward@arm.com>
738 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
740 2019-07-04 Pedro Alves <palves@redhat.com>
742 * lib/gdb.exp (foreach_with_prefix): Don't return early if
743 body returned ok(0), break(3) or continue(4).
744 * gdb.testsuite/foreach_with_prefix.exp: New file.
746 2019-07-04 Alan Hayward <alan.hayward@arm.com>
748 * gdb.server/unittest.exp: Allow 0 unit tests to run.
750 2019-07-03 Pedro Alves <palves@redhat.com>
752 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
755 2019-07-03 Pedro Alves <palves@redhat.com>
758 * gdb.base/shell.exp: Load completion-support.exp.
759 Adjust expected error output. Add completion tests.
761 2019-07-03 Pedro Alves <palves@redhat.com>
763 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
766 2019-07-03 Pedro Alves <palves@redhat.com>
768 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
769 (expect_integer): Adjust to expect "-string".
770 (expect_string): New.
771 (all_options): Expect "-string".
772 (test-flag, test-boolean): Adjust to expect "-string".
773 (test-string): New proc.
774 (top level): Call it.
776 2019-07-03 Pedro Alves <palves@redhat.com>
778 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
779 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
780 the expected output in the success.
782 2019-07-03 Pedro Alves <palves@redhat.com>
784 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
785 Split one gdb_test_multiple call in two to avoid a race.
787 2019-07-03 Pedro Alves <palves@redhat.com>
789 * gdb.base/with.c: New file.
790 * gdb.base/with.exp: New file.
792 2019-07-03 Pedro Alves <palves@redhat.com>
794 * gdb.base/settings.exp: Replace all references to "maint
795 test-settings set" with references to "maint set test-settings",
796 and all references to "maint test-settings show" with references
797 to "maint show test-settings".
799 2019-07-03 Pedro Alves <palves@redhat.com>
801 * gdb.base/settings.exp (test-string): Adjust expected out when
802 testing "maint test-settings show filename"
804 2019-07-02 Pedro Alves <palves@redhat.com>
806 * gdb.base/options.exp (test-info-threads): New procedure.
807 (top level): Call it.
809 2019-06-28 Tom Tromey <tromey@adacore.com>
811 * gdb.dwarf2/ada-linkage-name.c: New file.
812 * gdb.dwarf2/ada-linkage-name.exp: New file.
814 2019-06-27 Tom Tromey <tromey@adacore.com>
816 * gdb.cp/constexpr-field.exp: Use setup_xfail.
818 2019-06-26 Tom de Vries <tdevries@suse.de>
820 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
822 2019-06-26 Tom de Vries <tdevries@suse.de>
824 * gdb.base/index-cache.exp: Add back missing debug option.
826 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
828 * gdb.base/alias.exp: Test non matching/non existing prefixes.
830 2019-06-25 Tom de Vries <tdevries@suse.de>
833 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
835 2019-06-24 Tom de Vries <tdevries@suse.de>
837 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
839 2019-06-24 Tom de Vries <tdevries@suse.de>
841 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
842 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
843 * gdb.trace/unavailable-dwarf-piece.exp: Same.
845 2019-06-24 Tom de Vries <tdevries@suse.de>
847 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
849 2019-06-21 Tom de Vries <tdevries@suse.de>
851 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
853 2019-06-21 Tom de Vries <tdevries@suse.de>
857 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
860 2019-06-19 Tom Tromey <tromey@adacore.com>
862 * gdb.ada/length_cond.exp: Add intro comment.
864 2019-06-19 Tom Tromey <tromey@adacore.com>
866 * gdb.ada/length_cond.exp: New file.
867 * gdb.ada/length_cond/length_cond.adb: New file.
868 * gdb.ada/length_cond/pck.adb: New file.
869 * gdb.ada/length_cond/pck.ads: New file.
871 2019-06-18 Tom de Vries <tdevries@suse.de>
873 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
875 2019-06-18 Tom Tromey <tromey@adacore.com>
877 * gdb.base/list0.h: Add comment explaining control character.
879 2019-06-18 Tom de Vries <tdevries@suse.de>
881 * boards/fission.exp: Break up long debug_flags line.
883 2019-06-16 Tom de Vries <tdevries@suse.de>
886 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
889 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
892 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
893 improve detection of bug gdb/24541.
895 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
898 * gdb.base/index-cache.exp (uses_readnow,
899 expecting_index_cache_use): Define global variable.
900 (test_cache_enabled_miss, test_cache_enabled_hit): Use
901 expecting_index_cache_use.
903 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
904 Andrew Burgess <andrew.burgess@embecosm.com>
906 * gdb.fortran/pointers.f90: New file.
907 * gdb.fortran/print_type.exp: New file.
908 * gdb.fortran/vla-ptype.exp: Adapt expected results.
909 * gdb.fortran/vla-type.exp: Likewise.
910 * gdb.fortran/vla-value.exp: Likewise.
911 * gdb.mi/mi-vla-fortran.exp: Likewise.
913 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
915 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
916 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
917 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
920 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
922 * gdb.base/annota1.exp: Update expected results.
923 * gdb.cp/annota2.exp: Likewise.
924 * gdb.cp/annota3.exp: Likewise.
926 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
928 * gdb.base/style-logging.exp: Remove path from test name.
930 2019-06-14 Tom Tromey <tromey@adacore.com>
933 * gdb.base/style-logging.exp: New file.
935 2019-06-14 Tom Tromey <tromey@adacore.com>
937 * gdb.base/symfile-warn.exp: New file.
938 * gdb.base/symfile-warn.c: New file.
940 2019-06-14 Tom Tromey <tromey@adacore.com>
942 * gdb.base/annotate-symlink.exp: New file.
944 2019-06-14 Tom Tromey <tromey@adacore.com>
946 * gdb.ada/set_wstr.exp: Add reassignment test.
948 2019-06-14 Tom Tromey <tromey@adacore.com>
950 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
951 'unchecked_access and 'unrestricted_access as well.
953 2019-06-14 Tom Tromey <tromey@adacore.com>
956 * gdb.ada/vla.exp: Update tests.
957 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
960 2019-06-13 Pedro Alves <palves@redhat.com>
962 * gdb.base/settings.exp (test-integer): Test junk after
965 2019-06-13 Pedro Alves <palves@redhat.com>
967 * gdb.base/options.exp (test-thread-apply): New.
968 (top level): Call it.
970 2019-06-13 Pedro Alves <palves@redhat.com>
972 * gdb.base/options.exp (test-frame-apply): New.
973 (top level): Test print commands with different "frame apply"
976 2019-06-13 Pedro Alves <palves@redhat.com>
978 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
979 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
980 'max_completions' parameter and handle it.
981 (test_gdb_completion_offers_commands): New.
983 2019-06-13 Pedro Alves <palves@redhat.com>
985 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
987 2019-06-13 Pedro Alves <palves@redhat.com>
989 * gdb.base/options.exp (test-backtrace): New.
990 (top level): Call it.
992 2019-06-13 Pedro Alves <palves@redhat.com>
994 * gdb.guile/scm-frame-args.exp: Use "set print
995 raw-frame-arguments" instead of "set print raw frame-arguments".
996 * gdb.python/py-frame-args.exp: Likewise.
998 2019-06-13 Pedro Alves <palves@redhat.com>
1000 * gdb.compile/compile.exp: Adjust expected output to option
1003 2019-06-13 Pedro Alves <palves@redhat.com>
1005 * gdb.base/options.exp: Build executable.
1006 (test-print): New procedure.
1007 (top level): Call it, once for "print" and another for "compile
1010 2019-06-13 Pedro Alves <palves@redhat.com>
1012 * gdb.base/options.c: New file.
1013 * gdb.base/options.exp: New file.
1015 2019-06-13 Pedro Alves <palves@redhat.com>
1017 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1018 that "o" is ambiguous.
1020 2019-06-13 Pedro Alves <palves@redhat.com>
1022 * gdb.base/settings.c: New file.
1023 * gdb.base/settings.exp: New file.
1025 2019-06-13 Pedro Alves <palves@redhat.com>
1027 * gdb.base/completion.exp: Fix comment typo.
1029 2019-06-13 Pedro Alves <palves@redhat.com>
1031 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1034 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1036 * gdb.fortran/block-data.f: New.
1037 * gdb.fortran/block-data.exp: New.
1039 2019-06-11 Tom de Vries <tdevries@suse.de>
1042 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1045 2019-06-11 Tom de Vries <tdevries@suse.de>
1048 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1050 2019-06-11 Tom de Vries <tdevries@suse.de>
1052 * boards/readnow.exp: New file.
1054 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1056 * gdb.fortran/vla-sizeof.exp: Update expected results.
1058 2019-06-06 Amos Bird <amosbird@gmail.com>
1060 * gdb.base/annota1.exp (thread_switch): Add test for
1061 thread-exited annotation.
1063 2019-06-06 Tom Tromey <tromey@adacore.com>
1065 * gdb.base/maint.exp: Expect command started/finished output.
1067 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1069 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1071 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1073 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1075 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1076 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1077 * gdb.arch/riscv-unwind-long-insn.c: New file.
1078 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1080 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1082 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1084 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1086 * lib/gdb.exp (help_list_trailer): New regexp variable
1087 factorizing the help trailer message.
1088 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1089 arg to allow to better factorize various tests.
1090 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1091 (test_prefix_command_help): Use help_list_trailer.
1092 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1093 * gdb.guile/scm-cmd.exp: Likewise.
1094 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1095 * gdb.base/help.exp: Use test_user_defined_class_help.
1096 * gdb.base/style.exp: Add tests for styling of help and apropos.
1097 * lib/gdb-utils.exp (style): Add title and highlight styles.
1099 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1101 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1103 * gdb.base/default.exp: Update for new convenience variables.
1105 2019-05-29 Tom Tromey <tromey@adacore.com>
1107 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1108 to "break complete ada" test case's regexp.
1110 2019-05-29 Tom Tromey <tromey@adacore.com>
1113 * gdb.cp/constexpr-field.exp: New file.
1114 * gdb.cp/constexpr-field.cc: New file.
1116 2019-05-29 Tom Tromey <tromey@adacore.com>
1118 * gdb.base/finish.exp (finish_no_print): New proc.
1119 (finish_tests): Call it.
1121 2019-05-24 Tom de Vries <tdevries@suse.de>
1123 * gdb.dwarf2/gdb-add-index.exp: New file.
1125 2019-05-22 Tom Tromey <tromey@adacore.com>
1127 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1128 * gdb.base/style.exp: Use "style".
1129 * lib/gdb-utils.exp (style): New proc.
1131 2019-05-22 Tom de Vries <tdevries@suse.de>
1133 * gdb.base/align.exp: Require c++11.
1135 2019-05-22 Tom de Vries <tdevries@suse.de>
1138 * gdb.python/py-mi-var-info-path-expression.exp: Call
1139 mi_skip_python_tests to check if python is supported.
1141 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1143 * gdb.arch/aarch64-pauth.c: New test.
1144 * gdb.arch/aarch64-pauth.exp: New file.
1146 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1148 * README (Re-running Tests Outside The Testsuite): New section.
1150 2019-05-21 Tom de Vries <tdevries@suse.de>
1152 * gdb.arch/amd64-eval.exp: Require c++11.
1153 * gdb.base/max-depth.exp: Same.
1154 * gdb.compile/compile-cplus-array-decay.exp: Same.
1155 * gdb.cp/meth-typedefs.exp: Same.
1156 * gdb.cp/subtypes.exp: Same.
1157 * gdb.cp/temargs.exp: Same.
1159 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1161 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1163 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1166 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1167 * gdb.fortran/printing-types.exp: Add new test.
1168 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1170 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1173 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1175 * README (Running the Testsuite): Change example.
1176 (Testsuite Parameters): Remove TRANSCRIPT.
1177 * lib/gdb.exp: Remove TRANSCRIPT check.
1179 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1181 * README (Testsuite Parameters): Add replay logging to
1183 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1184 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1185 as a comma separated list.
1186 (gdb_debug_init): Override procedure.
1188 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1190 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1191 (gdb_write_cmd_file): New procedure.
1192 * lib/gdbserver-support.exp (gdbserver_start): Call
1193 gdbserver_write_cmd_file.
1194 (gdbserver_write_cmd_file): New procedure.
1196 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1198 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1199 (delete_breakpoints): Likewise.
1200 (gdb_run_cmd): Likewise.
1201 (gdb_start_cmd): Likewise.
1202 (gdb_starti_cmd): Likewise.
1203 (gdb_internal_error_resync): Likewise.
1204 (gdb_test_multiple): Likewise.
1205 (gdb_reinitialize_dir): Likewise.
1206 (default_gdb_exit): Likewise.
1207 (gdb_file_cmd): Mark kill as optional.
1208 (default_gdb_start): Call gdb_stdin_log_init.
1209 (send_gdb): Call gdb_stdin_log_write.
1210 (rerun_to_main): Mark Y as an answer.
1211 (gdb_stdin_log_init): New function.
1212 (gdb_stdin_log_write): Likewise.
1214 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1216 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1217 * gdb.base/debug-expr.exp: Likewise.
1218 * gdb.base/foll-fork.exp: Likewise.
1219 * gdb.base/foll-vfork.exp: Likewise.
1220 * gdb.base/fork-print-inferior-events.exp: Likewise.
1221 * gdb.base/gdb-sigterm.exp: Likewise.
1222 * gdb.base/gdbinit-history.exp: Likewise.
1223 * gdb.base/osabi.exp: Likewise.
1224 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1225 * gdb.base/ui-redirect.exp: Likewise.
1226 * gdb.gdb/unittest.exp: Likewise.
1227 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1228 * gdb.mi/mi-watch.exp: Likewise.
1229 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1230 * gdb.mi/user-selected-context-sync.exp: Likewise.
1231 * gdb.python/python.exp: Disable debug test when debugging.
1232 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1233 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1235 * gdb.threads/stepi-random-signal.exp: Likewise.
1237 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1239 * Makefile.in: Pass through GDB_DEBUG.
1240 * README (Testsuite Parameters): Add GDB_DEBUG.
1241 (gdb,debug): Add board setting.
1242 * lib/gdb.exp (default_gdb_start): Start debugging.
1243 (gdb_debug_enabled): New procedure.
1244 (gdb_debug_init): Likewise.
1246 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1248 * Makefile.in: Pass through GDB_DEBUG.
1249 * README (Testsuite Parameters): Add GDB_DEBUG.
1250 (gdb,debug): Add board setting.
1251 * lib/gdb.exp (default_gdb_start): Start debugging.
1252 (gdb_debug_enabled): New procedure.
1253 (gdb_debug_init): Likewise.
1255 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1257 * gdb.base/ui-redirect.exp: Add debug redirect tests.
1259 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1261 * gdb.base/ui-redirect.exp: Test redirection.
1263 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
1265 * gdb.mi/mi-complete.exp: New file.
1266 * gdb.mi/mi-complete.cc: Likewise.
1268 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
1270 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
1271 indexed and sliced arrays, and pointers to arrays.
1273 2019-05-14 Tom Tromey <tromey@adacore.com>
1275 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
1278 2019-05-14 Tom de Vries <tdevries@suse.de>
1280 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1281 selection entry encoding.
1283 2019-05-10 Tom Tromey <tromey@adacore.com>
1285 * gdb.ada/info_exc.exp: Add "complete" test.
1287 2019-05-09 Tom de Vries <tdevries@suse.de>
1289 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1292 2019-05-09 Tom de Vries <tdevries@suse.de>
1294 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1297 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1299 * gdb.ada/frame_arg_lang.exp: New testcase.
1300 * gdb.ada/frame_arg_lang/bla.adb: New file.
1301 * gdb.ada/frame_arg_lang/pck.ads: New file.
1302 * gdb.ada/frame_arg_lang/pck.adb: New file.
1303 * gdb.ada/frame_arg_lang/foo.c: New file.
1305 2019-05-08 Tom Tromey <tromey@adacore.com>
1307 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1309 2019-05-08 Tom Tromey <tromey@adacore.com>
1311 * gdb.base/ptype-offsets.exp: Update tests.
1313 2019-05-08 Tom Tromey <tromey@adacore.com>
1315 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1317 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1320 2019-05-08 Tom Tromey <tromey@adacore.com>
1322 * gdb.ada/vla.exp: New file.
1323 * gdb.ada/vla/vla.adb: New file.
1325 2019-05-07 Tom de Vries <tdevries@suse.de>
1327 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1329 2019-05-07 Tom de Vries <tdevries@suse.de>
1332 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1335 2019-05-07 Tom de Vries <tdevries@suse.de>
1338 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1339 .debug_aranges section.
1341 2019-05-07 Tom de Vries <tdevries@suse.de>
1344 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1346 2019-05-06 Tom de Vries <tdevries@suse.de>
1348 * lib/gdb.exp (exec_has_index_section): New proc.
1349 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1352 2019-05-04 Tom de Vries <tdevries@suse.de>
1354 * boards/cc-with-debug-names.exp: New file.
1356 2019-05-03 Tom Tromey <tromey@adacore.com>
1358 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1359 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1360 * gdb.ada/char_enum.exp: Add test.
1362 2019-05-03 Tom de Vries <tdevries@suse.de>
1364 * boards/cc-with-gdb-index.exp: New file.
1366 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1368 * gdb.rust/simple.exp: Add new test case.
1369 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1370 (main): Initialise an instance of the new struct.
1372 2019-05-01 Tom Tromey <tromey@adacore.com>
1374 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1376 (NPR): New variable.
1377 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1380 2019-05-01 Tom Tromey <tromey@adacore.com>
1382 * gdb.ada/packed_array_assign.exp: Add packed assignment
1385 2019-05-01 Tom de Vries <tdevries@suse.de>
1387 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1389 2019-05-01 Tom de Vries <tdevries@suse.de>
1391 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1393 2019-04-30 Ali Tamur <tamur@google.com>
1395 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1397 2019-04-30 Tom Tromey <tromey@adacore.com>
1399 * lib/ada.exp (find_ada_tool): New proc.
1400 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1401 * gdb.ada/catch_ex_std.exp: New file.
1402 * gdb.ada/catch_ex_std/foo.adb: New file.
1403 * gdb.ada/catch_ex_std/some_package.adb: New file.
1404 * gdb.ada/catch_ex_std/some_package.ads: New file.
1406 2019-04-30 Tom Tromey <tromey@adacore.com>
1409 * gdb.cp/temargs.cc: Add test code from PR.
1411 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1413 * gdb.fortran/vla-datatypes.exp: Update expected results.
1414 * gdb.fortran/vla-ptype.exp: Likewise.
1415 * gdb.fortran/vla-type.exp: Likewise.
1416 * gdb.fortran/vla-value.exp: Likewise.
1418 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1420 * gdb.fortran/ptr-indentation.exp: Update expected results.
1421 * gdb.fortran/ptype-on-functions.exp: Likewise.
1422 * gdb.fortran/vla-ptr-info.exp: Likewise.
1423 * gdb.fortran/vla-value.exp: Likewise.
1425 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1427 * gdb.fortran/ptype-on-functions.exp: New file.
1428 * gdb.fortran/ptype-on-functions.f90: New file.
1430 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1432 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1435 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1437 * gdb.fortran/complex.exp: Expand.
1438 * gdb.fortran/complex.f: Renamed to...
1439 * gdb.fortran/complex.f90: ...this, and extended to add more
1442 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1444 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1447 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1448 Richard Bunt <richard.bunt@arm.com>
1450 * gdb.base/max-depth.c: New file.
1451 * gdb.base/max-depth.exp: New file.
1452 * gdb.python/py-nested-maps.c: New file.
1453 * gdb.python/py-nested-maps.exp: New file.
1454 * gdb.python/py-nested-maps.py: New file.
1455 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1456 (test_all_common): Call test_max_depth.
1457 * gdb.fortran/max-depth.exp: New file.
1458 * gdb.fortran/max-depth.f90: New file.
1459 * gdb.go/max-depth.exp: New file.
1460 * gdb.go/max-depth.go: New file.
1461 * gdb.modula2/max-depth.exp: New file.
1462 * gdb.modula2/max-depth.c: New file.
1463 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1465 2019-04-29 Tom de Vries <tdevries@suse.de>
1467 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1469 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1471 * gdb.base/callexit.exp: Test may-call-functions off.
1473 2019-04-25 Keith Seitz <keiths@redhat.com>
1476 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1477 (another_incomplete_struct, test_incomplete): New definitions.
1478 (main): Use new definitions.
1479 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1482 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1486 * gdb.base/coredump-filter-build-id.exp: New file.
1488 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1490 * Makefile.in: Pass through GDBSERVER_DEBUG.
1491 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1492 (gdbserver,debug): Add board setting.
1493 * gdb.trace/tspeed.exp: Skip when debugging.
1494 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1495 * lib/gdbserver-support.exp: Likewise
1497 2019-04-24 Tom Tromey <tromey@adacore.com>
1499 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1502 2019-04-24 Tom Tromey <tromey@adacore.com>
1504 * gdb.arch/amd64-eval.exp: Test bitfield return.
1505 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1506 (class Foo) <return_bitfields>: New method.
1509 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1511 * gdb.cp/many-args.cc: New file.
1512 * gdb.cp/many-args.exp: New file.
1514 2019-04-23 Tom de Vries <tdevries@suse.de>
1517 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1519 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1521 * gdb.trace/backtrace.exp: Use nopie flag.
1522 * gdb.trace/circ.exp: Likewise.
1523 * gdb.trace/collection.exp: Likewise.
1524 * gdb.trace/ftrace.exp: Likewise.
1525 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1526 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1527 * gdb.trace/qtro.exp: Likewise.
1528 * gdb.trace/read-memory.exp: Likewise.
1529 * gdb.trace/report.exp: Likewise.
1530 * gdb.trace/tfile.exp: Likewise.
1531 * gdb.trace/tfind.exp: Likewise.
1532 * gdb.trace/unavailable.exp: Likewise.
1534 2019-04-22 Pedro Alves <palves@redhat.com>
1536 * gdb.base/solib-probes-nosharedlibrary.c,
1537 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1539 2019-04-19 Tom Tromey <tromey@adacore.com>
1541 * gdb.ada/ptype_union.c: New file.
1542 * gdb.ada/ptype_union.exp: New file.
1544 2019-04-19 Tom Tromey <tromey@adacore.com>
1547 * gdb.base/list0.h (foo): Add a control-l character.
1549 2019-04-18 Tom de Vries <tdevries@suse.de>
1552 * boards/local-board.exp: Set sysroot to "".
1554 2019-04-18 Tom de Vries <tdevries@suse.de>
1555 Pedro Alves <palves@redhat.com>
1558 * gdb.threads/vfork-follow-child-exec.c: New file.
1559 * gdb.threads/vfork-follow-child-exec.exp: New file.
1560 * gdb.threads/vfork-follow-child-exit.c: New file.
1561 * gdb.threads/vfork-follow-child-exit.exp: New file.
1563 2019-04-15 Leszek Swirski <leszeks@google.com>
1565 * gdb.arch/amd64-eval.cc: New file.
1566 * gdb.arch/amd64-eval.exp: New file.
1568 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1570 * gdb.server/sysroot.c: New test.
1571 * gdb.server/sysroot.exp: New file.
1572 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1575 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1577 * gdb.base/align.exp: Extend test to cover structures containing
1580 2019-04-11 Tom de Vries <tdevries@suse.de>
1582 * boards/cc-with-dwz-m.exp: New file.
1583 * boards/cc-with-dwz.exp: New file.
1584 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1586 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1588 * gdb.base/start-cpp.exp: New file.
1589 * gdb.base/start-cpp.cc: New file.
1591 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1593 * gdb.python/py-thrhandle.exp: Adjust tests to call
1594 thread_from_handle instead of thread_from_thread_handle.
1596 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1598 * gdb.python/py-thrhandle.exp: Add tests for
1599 gdb.InferiorThread.handle.
1601 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1603 * gdb.python/py-function.exp: Check calling helper function from
1605 * lib/gdb.exp (gdb_supported_languages): New proc.
1607 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1609 * gdb.base/complex-parts.c: New file.
1610 * gdb.base/complex-parts.exp: New file.
1612 2019-04-01 Tom Tromey <tromey@adacore.com>
1615 * gdb.dwarf2/dw2-ranges-main.c: New file.
1616 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1617 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1619 2019-03-30 Simon Marchi <simark@simark.ca>
1621 * gdb.base/default.exp: Add values for $_gdb_major and
1624 2019-03-29 Tom Tromey <tromey@adacore.com>
1626 * gdb.base/help.exp: Tighten apropos regexp.
1628 2019-03-29 Keith Seitz <keiths@redhat.com>
1630 * gdb.fortran/array-bounds.exp: New file.
1631 * gdb.fortran/array-bounds.f90: New file.
1633 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1635 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1637 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1639 * gdb.multi/hello.c (main): Increase alarm timer.
1641 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1643 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1644 factor when no hardware watchpoint support.
1646 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1647 Pedro Alves <palves@redhat.com>
1649 * boards/local-board.exp: set sysroot to /.
1651 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1653 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1656 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1658 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1660 (make_container): Initialise new field.
1661 * gdb.python/py-prettyprint.exp: Add new tests.
1662 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1663 <display_hint>: New method.
1665 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1667 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1668 gdb_continue_to_breakpoint more throughout this test.
1669 (run_lang_tests) Supply unique test names, and use
1672 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1674 * gdb.base/finish-pretty.exp: Update expected results.
1675 * gdb.base/pretty-print.c: New file.
1676 * gdb.base/pretty-print.exp: New file.
1678 2019-03-25 Pedro Alves <palves@redhat.com>
1680 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1681 move comments outside list. Append '-i "" eof' section.
1683 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1685 * README: Add pie options.
1686 * gdb.base/break-interp.exp: Ensure pie is disabled.
1687 * gdb.base/dump.exp: Likewise.
1688 * lib/gdb.exp (gdb_compile): Add pie option.
1690 2019-03-19 Tom Tromey <tromey@adacore.com>
1692 * gdb.mi/mi2-cli-display.c: New file.
1693 * gdb.mi/mi2-cli-display.exp: New file.
1695 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1696 Tom Tromey <tromey@adacore.com>
1698 * gdb.ada/ptype_array/pck.adb: New file.
1699 * gdb.ada/ptype_array/pck.ads: New file.
1700 * gdb.ada/ptype_array/foo.adb: New file.
1701 * gdb.ada/ptype_array.exp: New file.
1703 2019-03-14 Tom Tromey <tromey@adacore.com>
1705 * gdb.base/style.exp: Add "set style sources" test.
1707 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1709 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1710 * mi-breakpoint-multiple-locations.exp: ... this.
1711 (make_breakpoints_pattern): New proc.
1712 (do_test): Add mi_version parameter, test -break-insert,
1713 -break-info and =breakpoint-created.
1715 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1717 * config/default.exp: Remove 'load_lib gdb.exp'.
1718 * config/monitor.exp: Likewise.
1719 * config/sid.exp: Likewise.
1720 * config/sim.exp: Likewise.
1721 * config/slite.exp: Likewise.
1722 * config/unix.exp: Likewise.
1723 * gdb.base/default.exp: Remove unhelpful comment.
1725 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1727 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1729 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1731 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1733 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1735 * gdb.fortran/type-kinds.exp: Update expected results.
1737 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1739 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1741 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1743 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1745 (test_basic_parsing_of_type_kinds): Expand types tested.
1746 (test_parsing_invalid_type_kinds): New function.
1748 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1750 * gdb.fortran/intrinsics.exp: New file.
1751 * gdb.fortran/intrinsics.f90: New file.
1752 * gdb.fortran/type-kinds.exp: New file.
1754 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1756 * gdb.fortran/dot-ops.exp: New file.
1758 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1760 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1761 Check upper and lower case logical literals.
1763 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1765 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1766 Remove duplicate tests.
1768 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1770 * lib/gdb.exp (builtin_cd): rename of cd.
1771 (cd): Override builtin.
1773 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1775 * gdb.fortran/function-calls.exp: New file.
1776 * gdb.fortran/function-calls.f90: New test.
1778 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1780 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1781 on user program standard output.
1782 * gdb.fortran/short-circuit-argument-list.f90: Record function
1785 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1787 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1790 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1793 * gdb.base/interrupt-daemon-attach.c,
1794 gdb.base/interrupt-daemon-attach.exp: New test.
1796 2019-02-27 Pedro Alves <palves@redhat.com>
1798 * gdb.base/page.exp: Add tests for "set width/height -1".
1800 2019-02-27 Pedro Alves <palves@redhat.com>
1802 * gdb.base/page.exp: Add tests for "set/show width/height" with
1805 2019-02-27 Tom Tromey <tromey@adacore.com>
1807 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1809 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1812 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1814 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1815 tests for structs with static members.
1817 2019-02-26 Tom Tromey <tromey@adacore.com>
1819 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1820 ValueError, not TypeError.
1822 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1824 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1825 call from main program.
1827 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1829 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1830 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1831 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1832 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1833 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1835 2019-02-22 Keith Seitz <keiths@redhat.com>
1838 * gdb.base/symlink-sourcefile.c: New file.
1839 * gdb.base/symlink-sourcefile.exp: New file.
1841 2019-02-20 Tom Tromey <tom@tromey.com>
1843 * gdb.base/info_qt.exp: Update.
1845 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1847 * gdb.base/source.exp: Move "error in sourced script" code to
1849 * gdb.base/source-error.gdb: Move contents to
1850 source-error-1.gdb. Add new code to source source-error-1.gdb.
1851 * gdb.base/source-error-1.gdb: New file, from previous
1854 2019-02-17 Tom Tromey <tom@tromey.com>
1856 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1858 * gdb.base/style.c (SOME_MACRO): New macro.
1860 2019-02-17 Tom Tromey <tom@tromey.com>
1862 * gdb.base/style.exp: Add line-wrapping tests.
1863 * gdb.base/page.exp: Add test for quitting during pagination.
1865 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1867 * gdb.ada/big_packed_array: New testcase.
1868 * gdb.ada/homonym.exp: Fix incorrect expected output for
1869 "break <homonym__get_value>" test.
1871 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1873 PR breakpoints/21870
1874 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1875 and prepare_for_testing. Add comment.
1876 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1877 redundant cleanup call. Clean up comment.
1879 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1881 PR breakpoints/21870
1882 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1883 * gdb.arch/aarch64-dbreg-contents.c: New file.
1885 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1887 * gdb.ada/mi_ref_changeable: New testcase.
1889 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1891 * gdb.base/attach.exp: Add double attach test.
1893 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1895 * lib/gdb.exp (default_gdb_start): Don't match pagination
1897 (gdb_init): Set stty_init.
1899 2019-01-27 Tom Tromey <tom@tromey.com>
1901 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1904 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1906 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1908 (struct struct_static_02_02): Likewise.
1909 (struct struct_static_02_03): Likewise.
1910 (struct struct_static_02_04): Likewise.
1911 (struct struct_static_04_01): Likewise.
1912 (struct struct_static_04_02): Likewise.
1913 (struct struct_static_04_03): Likewise.
1914 (struct struct_static_04_04): Likewise.
1915 (struct struct_static_06_01): Likewise.
1916 (struct struct_static_06_02): Likewise.
1917 (struct struct_static_06_03): Likewise.
1918 (struct struct_static_06_04): Likewise.
1919 (cmp_struct_static_02_01): Likewise.
1920 (cmp_struct_static_02_02): Likewise.
1921 (cmp_struct_static_02_03): Likewise.
1922 (cmp_struct_static_02_04): Likewise.
1923 (cmp_struct_static_04_01): Likewise.
1924 (cmp_struct_static_04_02): Likewise.
1925 (cmp_struct_static_04_03): Likewise.
1926 (cmp_struct_static_04_04): Likewise.
1927 (cmp_struct_static_06_01): Likewise.
1928 (cmp_struct_static_06_02): Likewise.
1929 (cmp_struct_static_06_03): Likewise.
1930 (cmp_struct_static_06_04): Likewise.
1931 (call_all): Test new structs.
1932 * gdb.base/infcall-nested-structs.exp: Likewise.
1934 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1935 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1937 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1938 * gdb.base/stack-protector.c: New test.
1939 * gdb.base/stack-protector.exp: New file.
1940 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1941 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1943 (gdb_compile): Remove stack protector for GCC and prevent
1946 2019-01-16 Keith Seitz <keiths@redhat.com>
1949 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1951 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1953 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1955 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1957 * gdb.arch/powerpc-vector-regs.c: New file.
1958 * gdb.arch/powerpc-vector-regs.exp: New file.
1960 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1962 * gdb.arch/altivec-regs.exp: Fix the list passed to
1963 gdb_expect_list when testing "info vector".
1965 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1967 * gdb.base/style.exp: Don't include path in testname.
1969 2019-01-10 Keith Seitz <keiths@redhat.com>
1973 * gdb.dwarf2/multidictionary.exp: New file.
1975 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1977 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1978 (test_gnuv3_style_demangling): ... this.
1979 (test_lucid_style_demangling): Remove.
1980 (test_arm_style_demangling): Remove.
1981 (test_hp_style_demangling): Remove.
1982 (do_tests): Remove calls to the above.
1984 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1986 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1989 2019-01-06 Tom Tromey <tom@tromey.com>
1992 * gdb.dwarf2/typedef-void-finish.exp: New file.
1994 2018-12-28 Tom Tromey <tom@tromey.com>
1995 Simon Marchi <simark@simark.ca>
1997 * gdb.base/jit-exec.exp: New file.
1998 * gdb.base/jit-exec.c: New file.
1999 * gdb.base/jit-execd.c: New file.
2001 2018-12-28 Tom Tromey <tom@tromey.com>
2003 * gdb.base/style.exp: Update test to check for address styling.
2005 2018-12-28 Tom Tromey <tom@tromey.com>
2007 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2010 2018-12-28 Tom Tromey <tom@tromey.com>
2012 * gdb.base/style.exp: Add test for version number styling.
2014 2018-12-28 Tom Tromey <tom@tromey.com>
2016 * gdb.base/style.exp: Add test for print_address_symbolic.
2018 2018-12-28 Tom Tromey <tom@tromey.com>
2020 * gdb.base/style.exp: Add test for breakpoint setting.
2022 2018-12-28 Tom Tromey <tom@tromey.com>
2024 * gdb.base/style.exp: Add test for variable names.
2026 2018-12-28 Tom Tromey <tom@tromey.com>
2028 * gdb.base/style.exp: New file.
2029 * gdb.base/style.c: New file.
2031 2018-12-28 Tom Tromey <tom@tromey.com>
2033 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2035 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2036 the TERM environment variable.
2038 2018-12-27 Tom Tromey <tom@tromey.com>
2040 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2043 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2045 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2046 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2048 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2050 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2051 Filename a.adb changed to bp_fun_addr.adb.
2052 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2054 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2056 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2057 non-PIE executables.
2058 * README: Mention the gdb,nopie_flag board setting.
2059 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2061 * gdb.arch/amd64-entry-value.exp: Likewise.
2062 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2063 * gdb.arch/i386-float.exp: Likewise.
2064 * gdb.arch/i386-signal.exp: Likewise.
2065 * gdb.mi/mi-reg-undefined.exp: Likewise.
2067 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2070 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2072 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2074 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2075 Update order of results accordingly.
2077 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2079 * gdb.base/annota1.exp: Update a test regexp.
2081 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2083 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2085 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2087 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2088 (reuse_time): Initialize to REUSE_TIME_CAP.
2089 (check_rc): New function.
2090 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2091 Check pthread_create rc.
2092 (spawner_thread_func): Check pthread_create and pthread_join rc.
2094 2018-12-08 Pedro Alves <palves@redhat.com>
2096 * gdb.base/list.exp (test_forward_search): Rename to ...
2097 (test_forward_reverse_search): ... this. Also test reverse-search
2098 and the forward-search alias.
2100 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2102 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2103 local timeout variable before return, and remove all local timeout
2105 (gdb_load): Likewise.
2107 2018-12-01 Tom de Vries <tdevries@suse.de>
2109 * gdb.base/gdb-caching-proc.exp: New file.
2111 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2113 * Makefile.in (TIMESTAMP): New variable.
2114 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2116 (check-single-racy): Likewise.
2117 (check/%.exp): Likewise.
2118 (check-racy/%.exp): Likewise.
2119 (workers/%.worker): Likewise.
2120 (build-perf): Likewise.
2121 (check-perf): Likewise.
2122 * README: Describe new "TS" and "TS_FORMAT" variables.
2123 * print-ts.py: New file.
2125 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2128 * gdb.python/python.exp: Test command repetition after
2131 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2133 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2134 is correctly aligned.
2136 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2138 * gdb.ada/info_auto_lang.exp: New testcase.
2139 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2140 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2141 * gdb.ada/info_auto_lang/some_c.c: New file.
2143 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2145 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2146 FUNC_lang language syntax.
2148 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2150 * gdb.base/info_minsym.c: New file.
2151 * gdb.base/info_minsym.exp: New file.
2153 2018-11-19 Tom Tromey <tom@tromey.com>
2156 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2157 * gdb.rust/expr.exp: Update expected output. Change one test.
2159 2018-11-19 Tom Tromey <tom@tromey.com>
2161 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2163 2018-11-19 Pedro Alves <palves@redhat.com>
2165 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2166 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2167 see the expected warning.
2169 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2172 * gdb.cp/infcall-nodebug-lib.c: New test.
2173 * gdb.cp/infcall-nodebug-main.c: New test.
2174 * gdb.cp/infcall-nodebug.exp: New file.
2176 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2178 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2181 2018-11-09 Tom de Vries <tdevries@suse.de>
2183 * gdb.base/msym-lang.c: New test.
2184 * gdb.base/msym-lang.exp: New file.
2185 * gdb.base/msym-lang-main.c: New test.
2187 2018-11-08 Tom Tromey <tom@tromey.com>
2191 * gdb.base/warning.exp: New file.
2193 2018-11-08 Jan Beulich <jbeulich@suse.com>
2195 * testsuite/gdb.arch/i386-avx512.c,
2196 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2198 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2200 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2203 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2205 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2206 * gdb.dwarf2/missing-type-name.exp: New file.
2208 2018-11-06 Tom de Vries <tdevries@suse.de>
2210 * gdb.base/many-headers.c: New test.
2211 * gdb.base/many-headers.exp: New file.
2213 2018-11-06 Jim Wilson <jimw@sifive.com>
2215 * gdb.base/code_elim.exp: For riscv, set additional_flags
2216 to include -msmall-data-limit=0.
2218 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2220 * gdb.ada/watch_minus_l: New testcase.
2222 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2224 * gdb.arch/aix-sighandle.c: New file.
2225 * gdb.arch/aix-sighandle.exp: New file.
2227 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2229 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2230 registers being unions.
2232 2018-10-31 Tom de Vries <tdevries@suse.de>
2234 * lib/valgrind.exp: New file.
2235 (vgdb_start, vgdb_stop): New procs, factored out of ...
2236 * gdb.base/valgrind-bt.exp: ... here, ...
2237 * gdb.base/valgrind-disp-step.exp: ... here and ...
2238 * gdb.base/valgrind-infcall.exp: ... here.
2240 2018-10-31 Tom de Vries <tdevries@suse.de>
2242 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2244 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2246 * gdb.dwarf2/void-type.c: New file.
2247 * gdb.dwarf2/void-type.exp: New file.
2249 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2251 * gdb.base/info_qt.c: New file.
2252 * gdb.base/info_qt.exp: New file.
2254 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2256 * gdb.arch/powerpc-htm-regs.c: New file.
2257 * gdb.arch/powerpc-htm-regs.exp: New file.
2259 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2261 * gdb.arch/powerpc-tar.c: New file.
2262 * gdb.arch/powerpc-tar.exp: New file.
2264 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2266 * gdb.arch/powerpc-ppr-dscr.c: New file.
2267 * gdb.arch/powerpc-ppr-dscr.exp: New file.
2269 2018-10-25 Tom de Vries <tdevries@suse.de>
2271 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
2273 2018-10-24 Tom de Vries <tdevries@suse.de>
2275 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
2276 longer exists error.
2278 2018-10-24 Tom de Vries <tdevries@suse.de>
2280 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2282 2018-10-24 Tom de Vries <tdevries@suse.de>
2284 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2285 --db-attach in valgrind.
2287 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2289 * gdb.arch/riscv-reg-aliases.c: New file.
2290 * gdb.arch/riscv-reg-aliases.exp: New file.
2292 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2294 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2296 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2298 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2300 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2302 * gdb.cp/ovldbreak.exp: Fix regexps.
2304 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2306 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2308 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2311 * gdb.base/restore.exp: New test to check if "restore" with an
2312 invalid file doesn't segfault.
2314 2018-10-18 Tom de Vries <tdevries@suse.de>
2316 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2317 * gdb.ada/excep_handle.exp: Same.
2318 * gdb.ada/mi_string_access.exp: Same.
2319 * gdb.ada/mi_var_union.exp: Same.
2320 * gdb.arch/arc-analyze-prologue.exp: Same.
2321 * gdb.arch/arc-decode-insn.exp: Same.
2322 * gdb.base/readnever.exp: Same.
2323 * gdb.fortran/printing-types.exp: Same.
2324 * gdb.guile/scm-lazy-string.exp: Same.
2326 2018-10-16 Tom de Vries <tdevries@suse.de>
2329 * gdb.base/catch-follow-exec.c: Add copyright notice.
2330 * gdb.base/catch-follow-exec.exp: Rewrite to use
2331 gdb_spawn_with_cmdline_opts. Require gdb-native.
2333 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2335 * gdb.trace/actions-changed.exp: Check for arch support.
2336 * gdb.trace/actions.exp: Likewise.
2337 * gdb.trace/ax.exp: Likewise.
2338 * gdb.trace/backtrace.exp: Likewise.
2339 * gdb.trace/change-loc.exp: Likewise.
2340 * gdb.trace/deltrace.exp: Likewise.
2341 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2342 * gdb.trace/ftrace.exp: Likewise.
2343 * gdb.trace/infotrace.exp: Check for arch support.
2344 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2345 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2346 * gdb.trace/mi-tsv-changed.exp: Likewise.
2347 * gdb.trace/packetlen.exp: Likewise.
2348 * gdb.trace/passc-dyn.exp: Likewise.
2349 * gdb.trace/passcount.exp: Likewise.
2350 * gdb.trace/pending.exp: Likewise.
2351 * gdb.trace/range-stepping.exp: Check for shlib support.
2352 * gdb.trace/report.exp: Check for arch support.
2353 * gdb.trace/save-trace.exp: Likewise.
2354 * gdb.trace/signal.exp: Check for signal support.
2355 * gdb.trace/tfind.exp: Check for arch support.
2356 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2357 * gdb.trace/trace-common.h: Add comment.
2358 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2359 * gdb.trace/trace-enable-disable.exp: Likewise.
2360 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2361 * gdb.trace/tracecmd.exp: Check for arch support.
2362 * gdb.trace/tspeed.exp: Check for shlib and target support.
2363 * gdb.trace/tstatus.exp: Check for arch support.
2364 * gdb.trace/tsv.exp: Likewise.
2365 * gdb.trace/while-dyn.exp: Likewise.
2366 * gdb.trace/while-stepping.exp: Likewise.
2367 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2369 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2371 * gdb.trace/tspeed.exp: Remove nowarnings.
2372 (prepare_for_trace_test): Declare "global ipalib".
2373 * gdb.trace/tspeed.c: Include unistd.h.
2374 (main): Remove superfluous printf argument.
2376 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2378 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2379 directory prefix on the filename.
2381 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2383 * gdb.gdb/unittest.exp: Update expected message informing that
2384 selftests have been disabled.
2385 * gdb.server/unittest.exp: Likewise.
2387 2018-10-09 Tom de Vries <tdevries@suse.de>
2389 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2392 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2395 * gdb.cp/virtbase2.cc: New file.
2396 * gdb.cp/virtbase2.exp: New file.
2398 2018-10-06 Tom Tromey <tom@tromey.com>
2401 * gdb.python/py-inferior.exp: Add architecture test.
2403 2018-10-06 Tom Tromey <tom@tromey.com>
2405 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2406 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2408 2018-10-06 Tom Tromey <tom@tromey.com>
2410 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2411 of a "throw" catchpoint.
2413 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2415 * gdb.base/info-proc.exp: Update string expected from "help info
2418 2018-10-04 Tom Tromey <tom@tromey.com>
2420 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2421 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2422 (test_initial_complaints, test_empty_complaints): Update.
2423 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2425 2018-10-04 Tom Tromey <tom@tromey.com>
2428 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2429 * lib/gdb.exp (gdb_file_cmd): Update.
2430 * gdb.stabs/weird.exp (print_weird_var): Update.
2431 * gdb.server/solib-list.exp: Update.
2432 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2433 * gdb.mi/mi-cli.exp: Update.
2434 * gdb.linespec/linespec.exp: Update.
2435 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2436 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2437 * gdb.cp/cp-relocate.exp: Update.
2438 * gdb.base/sym-file.exp: Update.
2439 * gdb.base/relocate.exp: Update.
2440 * gdb.base/readnever.exp: Update.
2441 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2442 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2443 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2444 * gdb.base/code_elim.exp: Update.
2445 * gdb.base/break-unload-file.exp (test_break): Update.
2446 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2447 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2449 * gdb.base/attach.exp (do_attach_tests): Update.
2450 * gdb.base/sepdebug.exp: Update.
2451 * gdb.python/py-section-script.exp: Update.
2453 2018-10-04 Tom Tromey <tom@tromey.com>
2456 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2457 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2460 2018-10-04 Tom Tromey <tom@tromey.com>
2462 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2463 set width and height to 0.
2464 (test_command_line_attach_run): Use -quiet.
2466 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2468 * lib/gdb.exp (skip_ifunc_tests): New.
2469 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2470 other compile failures.
2471 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2473 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2475 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2476 is_amd64_regs_target.
2478 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2480 * gdb.arch/aarch64-sighandler-regs.c: New test.
2481 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2482 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2484 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2486 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2489 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2491 * gdb.base/frame-selection.exp: New file.
2492 * gdb.base/frame-selection.c: New file.
2494 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2496 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2500 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2502 * gdb.base/large-frame-1.c: New file.
2503 * gdb.base/large-frame-2.c: New file.
2504 * gdb.base/large-frame.exp: New file.
2505 * gdb.base/large-frame.h: New file.
2507 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2510 * gdb.base/write_mem.exp: New test.
2511 * gdb.base/write_mem.c: Likewise.
2513 2018-09-23 Tom Tromey <tom@tromey.com>
2516 * gdb.python/py-parameter.exp: Add test for parameter that throws
2519 2018-09-23 Tom Tromey <tom@tromey.com>
2522 * gdb.python/py-template.exp (test_template_arg): Add test for
2523 negative template argument number.
2525 2018-09-23 Tom Tromey <tom@tromey.com>
2528 * gdb.python/python.exp: Add test for post_event error.
2530 2018-09-23 Tom Tromey <tom@tromey.com>
2533 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2534 convert pointers to int and long.
2536 2018-09-23 Tom Tromey <tom@tromey.com>
2539 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2540 signed-ness conversion tests.
2542 2018-09-23 Tom Tromey <tom@tromey.com>
2545 * gdb.python/py-value.exp (test_float_conversion): New proc.
2548 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2550 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2552 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2554 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2556 * gdb.base/utf8-identifiers.exp: Likewise.
2557 * gdb.cp/cpcompletion.exp: Likewise.
2558 * gdb.linespec/cpcompletion.exp: Likewise.
2559 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2560 * gdb.linespec/cpls-ops.exp: Likewise.
2562 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2563 Chris January <chris.january@arm.com>
2565 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2566 * gdb.fortran/short-circuit-argument-list.exp: New file.
2567 * gdb.fortran/short-circuit-argument-list.f90: New test.
2569 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2571 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2572 "arch=" keyword when executing "-stack-list-frames".
2574 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2576 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2577 "arch=" keyword when executing "-stack-list-frames".
2579 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2581 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2584 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2587 * gdb.python/python.exp: Test gdb.execute("show commands").
2589 2018-09-16 Tom Tromey <tom@tromey.com>
2591 * gdb.base/new-ui.exp (do_execution_tests): Update.
2592 * gdb.base/dbx.exp (test_breakpoints): Update.
2594 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2596 * lib/gdb.exp (gdb_simple_compile): Add proc.
2597 (is_elf_target): Use gdb_simple_compile.
2598 (skip_altivec_tests): Likewise.
2599 (skip_vsx_tests): Likewise.
2600 (skip_tsx_tests): Likewise.
2601 (skip_btrace_tests): Likewise.
2602 (skip_btrace_pt_tests): Likewise.
2603 (gdb_can_simple_compile): Likewise.
2604 (gdb_has_argv0): Likewise.
2605 (gdb_target_symbol_prefix): Likewise.
2606 (target_supports_scheduler_locking): Likewise.
2608 2018-09-13 Tom Tromey <tom@tromey.com>
2610 * Makefile.in (TAGS): Recognize proc_with_prefix and
2613 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2615 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2618 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2620 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2621 and a few other Inferior properties when the Inferior is no
2624 2018-09-13 Tom Tromey <tom@tromey.com>
2627 * gdb.rust/simple.exp: Add test for enum field access error.
2629 2018-09-13 Tom Tromey <tom@tromey.com>
2632 * gdb.rust/simple.rs (EmptyEnum): New type.
2634 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2636 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2638 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2639 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2640 * gdb.python/py-symtab.exp: Update test printing an objfile.
2642 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2644 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2647 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2649 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2650 (support_complex_tests): Use gdb_can_simple_compile.
2651 (is_ilp32_target): Likewise.
2652 (is_lp64_target): Likewise.
2653 (is_64_target): Likewise.
2654 (is_amd64_regs_target): Likewise.
2655 (is_aarch32_target): Likewise.
2656 (gdb_int128_helper): Likewise.
2658 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2660 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2662 2018-09-10 Jerome Guitton <guitton@adacore.com>
2664 * gdb.ada/same_component_name: Add test for case of tagged record
2665 with variable-length fields.
2667 2018-09-10 Xavier Roirand <roirand@adacore.com>
2669 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2670 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2671 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2672 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2674 2018-09-10 Xavier Roirand <roirand@adacore.com>
2676 * gdb.ada/mi_string_access.exp: New testcase.
2677 * gdb.ada/mi_string_access/bar.adb: New file.
2678 * gdb.ada/mi_string_access/pck.adb: New file.
2679 * gdb.ada/mi_string_access/pck.asd: New file.
2681 2018-09-10 Xavier Roirand <roirand@adacore.com>
2683 * gdb.ada/mi_var_union.exp: New testcase.
2684 * gdb.ada/mi_var_union/bar.adb: New file.
2685 * gdb.ada/mi_var_union/pck.adb: New file.
2686 * gdb.ada/mi_var_union/pck.asd: New file.
2688 2018-09-08 Tom Tromey <tom@tromey.com>
2690 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2692 2018-09-08 Tom Tromey <tom@tromey.com>
2695 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2696 (register_pretty_printers): Register new printer.
2697 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2699 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2700 (an_int_type3): New global.
2702 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2704 * gdb.ada/expr_with_funcall: New testcase.
2706 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2708 * gdb.ada/packed_array_assign: New testcase.
2710 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2712 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2713 names, and add test prefixes to make test names unique.
2715 2018-09-05 Tom de Vries <tdevries@suse.de>
2717 * gdb.dwarf2/varval.exp: Add test.
2719 2018-09-04 Gary Benson <gbenson@redhat.com>
2721 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2722 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2724 2018-08-31 Tom Tromey <tom@tromey.com>
2726 * gdb.rust/simple.rs: Rename second variable "v".
2728 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2730 * gdb.base/funcargs.c (use_a): New function.
2731 (recurse): Call use_a.
2733 2018-08-29 Keith Seitz <keiths@redhat.com>
2735 * gdb.compile/compile-cplus-anonymous.cc: New file.
2736 * gdb.compile/compile-cplus-anonymous.exp: New file.
2737 * gdb.compile/compile-cplus-array-decay.cc: New file.
2738 * gdb.compile/compile-cplus-array-decay.exp: New file.
2739 * gdb.compile/compile-cplus-inherit.cc: New file.
2740 * gdb.compile/compile-cplus-inherit.exp: New file.
2741 * gdb.compile/compile-cplus-member.cc: New file.
2742 * gdb.compile/compile-cplus-member.exp: New file.
2743 * gdb.compile/compile-cplus-method.cc: New file.
2744 * gdb.compile/compile-cplus-method.exp: New file.
2745 * gdb.compile/compile-cplus-mod.c: "New" file.
2746 * gdb.compile/compile-cplus-namespace.cc: New file.
2747 * gdb.compile/compile-cplus-namespace.exp: New file.
2748 * gdb.compile/compile-cplus-nested.cc: New file.
2749 * gdb.compile/compile-cplus-nested.exp: New file.
2750 * gdb.compile/compile-cplus-print.c: "New" file.
2751 * gdb.compile/compile-cplus-print.exp: "New" file.
2752 * gdb.compile/compile-cplus-virtual.cc: New file.
2753 * gdb.compile/compile-cplus-virtual.exp: New file.
2754 * gdb.compile/compile-cplus.c: "New" file.
2755 * gdb.compile/compile-cplus.exp: "New" file.
2756 * lib/compile-support.exp: New file.
2758 2018-08-16 Gary Benson <gbenson@redhat.com>
2761 * gdb.base/batch-exit-status.exp: New file.
2762 * gdb.base/batch-exit-status.good-commands: Likewise.
2763 * gdb.base/batch-exit-status.bad-commands: Likewise.
2765 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2767 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2768 (struct struct02): Likewise.
2769 (struct struct03): Likewise.
2770 (struct struct04): Likewise.
2771 (struct struct_01_01): New struct.
2772 (struct struct_01_02): Likewise.
2773 (struct struct_01_03): Likewise.
2774 (struct struct_01_04): Likewise.
2775 (struct struct_02_01): Likewise.
2776 (struct struct_02_02): Likewise.
2777 (struct struct_02_03): Likewise.
2778 (struct struct_02_04): Likewise.
2779 (struct struct_04_01): Likewise.
2780 (struct struct_04_02): Likewise.
2781 (struct struct_04_03): Likewise.
2782 (struct struct_04_04): Likewise.
2783 (struct struct_05_01): Likewise.
2784 (struct struct_05_02): Likewise.
2785 (struct struct_05_03): Likewise.
2786 (struct struct_05_04): Likewise.
2787 (cmp_struct01): Remove function.
2788 (cmp_struct02): Likewise.
2789 (cmp_struct03): Likewise.
2790 (cmp_struct04): Likewise.
2791 (cmp_struct_01_01): Add Function.
2792 (cmp_struct_01_02): Likewise.
2793 (cmp_struct_01_03): Likewise.
2794 (cmp_struct_01_04): Likewise.
2795 (cmp_struct_02_01): Likewise.
2796 (cmp_struct_02_02): Likewise.
2797 (cmp_struct_02_03): Likewise.
2798 (cmp_struct_02_04): Likewise.
2799 (cmp_struct_04_01): Likewise.
2800 (cmp_struct_04_02): Likewise.
2801 (cmp_struct_04_03): Likewise.
2802 (cmp_struct_04_04): Likewise.
2803 (cmp_struct_05_01): Likewise.
2804 (cmp_struct_05_02): Likewise.
2805 (cmp_struct_05_03): Likewise.
2806 (cmp_struct_05_04): Likewise.
2807 (call_all): Add new structs.
2808 * gdb.base/infcall-nested-structs.exp: Likewise.
2810 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2812 * gdb.python/py-framefilter-mi.exp: Update regexp to
2813 check for "arch" field in frame output.
2815 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2817 * gdb.dwarf2/dw2-ranges-func.c: New file.
2818 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2820 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2822 * gdb.base/term.exp: Compare terminal settings with values from
2824 * gdb.base/term.c: Get and set terminal settings.
2826 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2828 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2829 accommodate new "arch" field in frame output.
2830 * gdb.mi/mi-return.exp: Likewise.
2831 * gdb.mi/mi-stack.exp: Likewise.
2832 * gdb.mi/mi-syn-frame.exp: Likewise.
2833 * gdb.mi/user-selected-context-sync.exp: Likewise.
2835 2018-08-19 Michael Spang <spang@google.com>
2838 * gdb.base/gcore-tls-pie.c: New file.
2839 * gdb.base/gcore-tls-pie.exp: New file.
2841 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2843 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2844 * gdb.dwarf2/varval.c: New file.
2845 * gdb.dwarf2/varval.exp: New file.
2847 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2850 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2852 2018-08-16 Keith Seitz <keiths@redhat.com>
2854 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2855 tests expected to pass.
2857 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2859 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2860 -data-disassemble -a.
2861 (test_disassembly_bogus_args): Likewise.
2863 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2865 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2867 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2869 * gdb.base/vla-optimized-out.exp: Add new test.
2871 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2873 * gdb.base/vla-optimized-out-o3.exp: Delete.
2874 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2875 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2878 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2881 * gdb.server/extended-remote-restart.c: New file.
2882 * gdb.server/extended-remote-restart.exp: New file.
2884 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2886 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2887 "set variable index = 42".
2889 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2891 * boards/index-cache-gdb.exp: New file.
2892 * gdb.dwarf2/index-cache.exp: New file.
2893 * gdb.dwarf2/index-cache.c: New file.
2894 * gdb.base/maint.exp: Check if we are using the index cache.
2896 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2898 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2901 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2903 * dg-extract-results.sh: Move to toplevel contrib.
2904 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2905 * Makefile.in (check-parallel-racy): Likewise.
2907 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2909 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2910 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2911 tests if the target supports scheduler locking.
2913 2018-08-04 Tom de Vries <tdevries@suse.de>
2915 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2917 2018-08-02 Tom Tromey <tom@tromey.com>
2920 * gdb.cp/temargs.exp: Test "info address" of a template
2923 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2925 * gdb.python/py-mi-var-info-path-expression.c: New file.
2926 * gdb.python/py-mi-var-info-path-expression.py: New file.
2927 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2929 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2931 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2932 error after "cannot resolve name" string.
2934 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2936 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2938 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2940 2018-07-28 Tom de Vries <tdevries@suse.de>
2942 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2944 2018-07-26 Tom de Vries <tdevries@suse.de>
2946 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2948 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2950 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2953 2018-07-26 Tom de Vries <tdevries@suse.de>
2955 PR breakpoints/23366
2956 * gdb.base/catch-follow-exec.c: New test.
2957 * gdb.base/catch-follow-exec.exp: New file.
2959 2018-07-25 Tom de Vries <tdevries@suse.de>
2961 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2962 vla-optimized-out.c.
2964 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2966 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2967 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2969 2018-07-20 Tom de Vries <tdevries@suse.de>
2971 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2973 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2975 2018-07-19 Tom de Vries <tdevries@suse.de>
2977 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2980 2018-07-18 Tom de Vries <tdevries@suse.de>
2982 * gdb.base/vla-optimized-out.c: New test.
2983 * gdb.base/vla-optimized-out.exp: New file.
2985 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2987 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2988 message "No address associated with hostname" when gdbserver
2989 cannot resolve the hostname.
2991 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2993 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2994 Add some test prefixes to make tests unique.
2996 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2998 * gdb.base/frameapply.c: New file.
2999 * gdb.base/frameapply.exp: New file.
3001 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3003 * gdb.base/skip.exp: Update expected error message.
3005 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3006 Jan Kratochvil <jan.kratochvil@redhat.com>
3007 Paul Fertser <fercerpav@gmail.com>
3008 Tsutomu Seki <sekiriki@gmail.com>
3010 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3012 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3014 * boards/native-gdbserver.exp: Likewise.
3015 * gdb.server/run-without-local-binary.exp: Improve regexp used
3016 for detecting when a remote debugging connection succeeds.
3017 * gdb.server/server-connect.exp: New file.
3018 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3019 Do not prefix the port number with ":".
3020 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3021 support for detecting and using it. Add '$debughost_gdbserver'
3022 to the list of arguments used to start gdbserver. Handle case
3023 when gdbserver cannot resolve a network name.
3025 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3028 * gdb.base/ptype-offsets.cc (struct static_member): New
3030 (main) <stmember>: New variable.
3031 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3032 with a static member in it.
3034 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3036 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3037 watchpoints enabled and disabled.
3039 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3041 * gdb.base/examine-backward.exp: Still run tests around address
3042 0x0, even if address 0x0 is not readable. Update the pattern for
3043 matching address 0x0 in expected output.
3045 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3047 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3050 2018-07-04 Tom de Vries <tdevries@suse.de>
3052 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3054 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3057 * gdb.arch/mips-disassembler-options.exp: New test.
3058 * gdb.arch/mips-disassembler-options.s: New test source.
3060 2018-06-29 Pedro Alves <palves@redhat.com>
3062 * gdb.threads/names.exp: Adjust expected "info threads" output.
3064 2018-06-29 Pedro Alves <palves@redhat.com>
3066 * gdb.opt/inline-break.exp (line number, address): Add "info
3069 2018-06-29 Pedro Alves <palves@redhat.com>
3071 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3072 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3073 number and address and running to them.
3075 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3077 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3079 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3081 * lib/compiler.c: Remove executable permission flag.
3083 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3085 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3087 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3089 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3091 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3093 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3095 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3096 address argument is omitted.
3098 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3100 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3102 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3105 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3106 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3108 2018-06-26 Tom Tromey <tom@tromey.com>
3111 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3112 * gdb.rust/simple.rs (struct SimpleLayout): New.
3114 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3116 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3117 "info registers" output.
3119 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3121 * gdb.base/watchpoint-hw-attach.c: New test.
3122 * gdb.base/watchpoint-hw-attach.exp: New file.
3124 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3126 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3128 * boards/dwarf4-gdb-index.exp: Likewise.
3129 * boards/fission-dwp.exp: Likewise.
3131 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3133 * gdb.base/float128.exp: Add comment and improved fail message
3134 to the failure case of "print large128" test.
3136 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3138 * configure.ac: Remove AC_PREREQ.
3139 * configure: Re-generate.
3141 2018-06-19 Pedro Alves <palves@redhat.com>
3143 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3144 (func_extern_caller): New.
3145 (main): Call func_extern_caller.
3146 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3149 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3152 * gdb.cp/typedef-base.cc: New file.
3153 * gdb.cp/typedef-base.exp: New file.
3155 2018-06-18 Tom de Vries <tdevries@suse.de>
3157 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3159 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3160 Richard Bunt <Richard.Bunt@arm.com>
3162 * gdb.threads/attach-slow-waitpid.c: New file.
3163 * gdb.threads/attach-slow-waitpid.exp: New file.
3164 * gdb.threads/slow-waitpid.c: New file.
3166 2018-06-14 Pedro Alves <palves@redhat.com>
3168 * gdb.base/fork-running-state.c: Include <errno.h>.
3169 (exit_if_relative_exits): New.
3170 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3172 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3175 2018-06-14 Tom de Vries <tdevries@suse.de>
3178 * gdb.base/finish-pretty.c: New test.
3179 * gdb.base/finish-pretty.exp: New file.
3181 2018-06-14 Pedro Alves <palves@redhat.com>
3183 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3184 gdb's expected startup output.
3186 2018-06-14 Pedro Alves <palves@redhat.com>
3188 * lib/selftest-support.exp (selftest_setup): Remove inlined
3191 2018-06-14 Tom de Vries <tdevries@suse.de>
3193 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3194 matching of breakpoint printing.
3196 2018-06-13 Tom de Vries <tdevries@suse.de>
3199 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3200 (fork_child): ... here, and ...
3201 (fork_parent): ... here.
3203 2018-06-12 Tom de Vries <tdevries@suse.de>
3205 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3207 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3208 Stephen Roberts <stephen.roberts@arm.com>
3210 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3211 rewrite test to describe action performed, rather than possible
3214 2018-06-08 Gary Benson <gbenson@redhat.com>
3216 * gdb.threads/check-libthread-db.exp: New file.
3217 * gdb.threads/check-libthread-db.c: Likewise.
3219 2018-06-05 Tom Tromey <tom@tromey.com>
3221 * gdb.base/default.exp: Update expected "show version" output.
3223 2018-06-05 Tom Tromey <tom@tromey.com>
3226 * gdb.cp/static-print-quit.exp: Update.
3227 * lib/gdb.exp (pagination_prompt): Update.
3228 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3229 * gdb.python/python.exp: Update.
3231 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3233 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3235 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3237 * gdb.ada/bp_fun_addr: New testcase.
3239 2018-06-01 Tom Tromey <tom@tromey.com>
3241 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3243 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3244 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3245 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3246 * gdb.base/maint.exp (maint_pass_if): Update.
3248 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3250 * gdb.base/endian.exp: New test.
3251 * gdb.base/endian.c: New test source.
3253 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3256 * gdb.base/bt-selected-frame.c: New file.
3257 * gdb.base/bt-selected-frame.exp: New file.
3258 * lib/gdb.exp (get_current_frame_number): New function.
3260 2018-05-24 Maciej W. Rozycki <macro@mips.com>
3261 Pedro Alves <palves@redhat.com>
3263 * gdb.threads/tls-core.c: Include <stdlib.h>
3264 (thread_proc): Call `abort'.
3265 * gdb.threads/tls-core.exp: Generate a core with core_find too.
3266 (tls_core_test): New procedure, bits factored out from ...
3267 (top level): ... here. Test both native cores and gcore cores.
3269 2018-05-23 Tom Tromey <tom@tromey.com>
3271 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
3273 2018-05-23 Tom Tromey <tom@tromey.com>
3275 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
3277 (test_short_complaints): Likewise.
3278 (test_empty_complaints): Likewise.
3279 (test_initial_complaints): Update.
3281 2018-05-23 Tom Tromey <tom@tromey.com>
3283 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3285 2018-05-23 Tom Tromey <tom@tromey.com>
3287 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3288 (test_short_complaints): Update.
3290 2018-05-22 Pedro Alves <palves@redhat.com>
3292 * gdb.base/remote.exp: Only gdb_start after compiling the
3293 testcase. Issue "disconnect" before testing "set remote" command
3294 defaults. Issue clean_restart before running to main.
3296 2018-05-22 Pedro Alves <palves@redhat.com>
3298 * gdb.base/remote.exp: Adjust expected output of "show remote
3299 memory-write-packet-size". Add tests for "set remote
3300 memory-write-packet-size 0" and "set remote
3301 memory-write-packet-size fixed/limit".
3303 2018-05-22 Pedro Alves <palves@redhat.com>
3306 * gdb.base/utf8-identifiers.c: New file.
3307 * gdb.base/utf8-identifiers.exp: New file.
3309 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3311 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3313 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3315 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3317 2018-05-18 Tom Tromey <tom@tromey.com>
3319 * gdb.base/ptype-offsets.exp: Update.
3321 2018-05-17 Keith Seitz <keiths@redhat.com>
3323 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3324 in expected breakpoint stop locations.
3325 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3326 move to proper scope to test variable values.
3327 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3328 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3330 (main): Call not_inline_func3.
3331 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3332 inline_func1, inline_func2, and inline_func3. Test that when each
3333 breakpoint is hit, GDB properly reports both the stop location
3334 and the backtrace. Repeat tests for temporary breakpoints.
3336 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3338 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3339 rather then trying to access it in determining whether the PID
3340 of `gdbserver' could have been retrieved.
3342 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3344 * gdb.arch/amd64-init-x87-values.S: New file.
3345 * gdb.arch/amd64-init-x87-values.exp: New file.
3347 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3349 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3351 2018-05-04 Tom Tromey <tom@tromey.com>
3354 * gdb.python/python.exp: Test multi-line execute.
3356 2018-05-04 Tom Tromey <tom@tromey.com>
3359 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3361 2018-05-04 Tom Tromey <tom@tromey.com>
3364 * gdb.base/define.exp: Test defining a user command inside a user
3366 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3368 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3369 Pedro Alves <palves@redhat.com>
3371 PR breakpoints/19806 and support for PR external/20207.
3372 * gdb.base/watchpoint-unaligned.c: New file.
3373 * gdb.base/watchpoint-unaligned.exp: New file.
3375 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3377 * gdb.base/maint.exp: Make test names unique, use
3378 test_prefix_command_help to test 'help maint info', and remove
3379 repeated test of 'help maint'.
3381 2018-05-04 Tom Tromey <tom@tromey.com>
3384 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3387 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3389 * gdb.base/maint.exp: Process output from 'maint print registers'
3392 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3394 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3397 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3399 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3402 2018-05-02 Pedro Alves <palves@redhat.com>
3404 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3405 to_log_command renames.
3406 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3408 2018-05-02 Tom Tromey <tom@tromey.com>
3410 * gdb.python/py-parameter.exp: Set test message.
3412 2018-05-02 Tom Tromey <tom@tromey.com>
3415 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3416 PARAM_ZUINTEGER_UNLIMITED tests.
3418 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3421 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3424 2018-04-30 Tom Tromey <tom@tromey.com>
3426 * gdb.python/py-type.exp: Check align attribute.
3427 * gdb.python/py-type.c: New "aligncheck" global.
3429 2018-04-30 Tom Tromey <tom@tromey.com>
3432 * gdb.dwarf2/dw2-align.exp: New file.
3433 * gdb.cp/align.exp: New file.
3434 * gdb.base/align.exp: New file.
3435 * lib/gdb.exp (gdb_int128_helper): New proc.
3436 (has_int128_c, has_int128_cxx): New caching procs.
3438 2018-04-27 Tom Tromey <tom@tromey.com>
3441 * gdb.rust/simple.exp: Add inclusive range tests.
3443 2018-04-26 Pedro Alves <palves@redhat.com>
3445 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3446 ifunc breakpoint locations correctly of ifunc breakpoints set
3447 while the program resolves the ifunc.
3449 2018-04-26 Pedro Alves <palves@redhat.com>
3451 * gdb.base/gnu-ifunc-final.c: New file.
3452 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3453 * gdb.base/gnu-ifunc.exp (executable): Delete.
3454 (staticexecutable): Adjust.
3455 (lib_opts, exec_opts): Delete.
3456 (make_binsuffix, build, set-break): New procedures.
3457 (misc_tests): New, with tests factored out from the top level.
3458 (top level): Test different combinations of ifunc resolver name,
3459 resolver with and with debug info, and ifunc target with and
3460 without debug info. Wrap static tests with with_target_prefix.
3462 2018-04-26 Pedro Alves <palves@redhat.com>
3464 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3465 return type" warnings.
3467 2018-04-25 Pedro Alves <palves@redhat.com>
3469 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3471 * gdb.base/kill-after-signal.exp: Likewise.
3472 * gdb.threads/kill.exp: Likewise.
3474 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3475 Sergio Durigan Junior <sergiodj@redhat.com>
3476 Pedro Alves <palves@redhat.com>
3478 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3479 regexps to expect for '[Inferior ... detached]' as well.
3480 * gdb.base/attach.exp: Likewise.
3481 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3482 "gdb_continue_to_end".
3483 (test_catch_syscall_with_wrong_args): Likewise.
3484 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3485 ']'. Don't set 'verbose' on.
3486 * gdb.base/foll-vfork.exp: Likewise.
3487 * gdb.base/fork-print-inferior-events.c: New file.
3488 * gdb.base/fork-print-inferior-events.exp: New file.
3489 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3490 '[Inferior ... has been killed]' message.
3491 * gdb.base/kill-after-signal.exp: Likewise.
3492 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3494 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3496 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3497 regexps to expect for '[Inferior ... detached]' as well.
3498 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3500 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3503 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3505 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3507 * gdb.threads/multiple-successive-infcall.c: New test.
3508 * gdb.threads/multiple-successive-infcall.exp: New file.
3510 2018-04-17 Tom Tromey <tom@tromey.com>
3512 * gdb.rust/simple.rs (Union): New type.
3513 (main): New local "u".
3514 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3516 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3518 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3519 number information in output of "whereis" command.
3520 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3522 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3524 * gdb.ada/info_types.exp: Adjust expected output to the line
3525 numbers now printed by "info var/func/type".
3526 * gdb.base/completion.exp: Likewise.
3527 * gdb.base/included.exp: Likewise.
3528 * gdb.cp/cp-relocate.exp: Likewise.
3529 * gdb.cp/cplusfuncs.exp: Likewise.
3530 * gdb.cp/namespace.exp: Likewise.
3531 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3533 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3535 * gdb.btrace/cpu.exp: New.
3537 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3539 * gdb.base/step-indirect-call-thunk.exp: New.
3540 * gdb.base/step-indirect-call-thunk.c: New.
3541 * gdb.reverse/step-indirect-call-thunk.exp: New.
3542 * gdb.reverse/step-indirect-call-thunk.c: New.
3544 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3546 * gdb.base/pie-fork.c: New file.
3547 * gdb.base/pie-fork.exp: New file.
3549 2018-04-11 Tom Tromey <tom@tromey.com>
3551 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3553 2018-04-10 Pedro Alves <palves@redhat.com>
3555 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3556 exits. Instead loop running forever.
3557 (fork_parent): Run forever too.
3559 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3561 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3562 mi_continue_to_line.
3563 * gdb.mi/mi-stack.c (callee4): Add comment.
3565 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3567 * gdb.mi/mi-stack.exp: Fix indentation.
3569 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3572 * gdb.arch/amd64-osabi.exp: New file.
3574 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3577 * gdb.base/osabi.exp: New file.
3579 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3581 * gdb.cp/static-typedef-print.exp: New file.
3582 * gdb.cp/static-typedef-print.cc: New file.
3584 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3586 * gdb.ada/varsize_limit: New testcase.
3588 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3590 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3592 * gdb.ada/notcplusplus: New testcase.
3594 * gdb.base/c-linkage-name.c: New file.
3595 * gdb.base/c-linkage-name.exp: New testcase.
3597 2018-03-26 Tom Tromey <tom@tromey.com>
3599 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3600 * gdb.python/py-framefilter.py (name_error): New global.
3601 (ErrorInName.function): Use name_error.
3603 2018-03-26 Tom Tromey <tom@tromey.com>
3606 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3608 2018-03-23 Keith Seitz <keiths@redhat.com>
3611 * gdb.cp/subtypes.exp: New file.
3612 * gdb.cp/subtypes.h: New file.
3613 * gdb.cp/subtypes.cc: New file.
3614 * gdb.cp/subtypes-2.cc: New file.
3616 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3618 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3619 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3620 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3621 -nostartfiles when compiling the test. Confirm that all registers
3622 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3624 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3626 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3627 option, syntax was wrong anyway.
3628 * gdb.arch/arm-disp-step.exp: Likewise.
3629 * gdb.arch/sparc64-regs.exp: Likewise.
3630 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3631 option, syntax was wrong anyway, switch to use
3632 prepare_for_testing.
3633 * gdb.arch/i386-disp-step.exp: Likewise.
3635 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3637 * gdb.ada/exec_changed.exp: Replace "target_info exists
3638 use_gdb_stub" by "use_gdb_stub".
3639 * gdb.ada/start.exp: Likewise.
3640 * gdb.base/async-shell.exp: Likewise.
3641 * gdb.base/attach-pie-misread.exp: Likewise.
3642 * gdb.base/attach-wait-input.exp: Likewise.
3643 * gdb.base/break-entry.exp: Likewise.
3644 * gdb.base/break-interp.exp: Likewise.
3645 * gdb.base/dprintf-detach.exp: Likewise.
3646 * gdb.base/nostdlib.exp: Likewise.
3647 * gdb.base/solib-nodir.exp: Likewise.
3648 * gdb.base/statistics.exp: Likewise.
3649 * gdb.base/testenv.exp: Likewise.
3650 * gdb.mi/mi-exec-run.exp: Likewise.
3651 * gdb.mi/mi-start.exp: Likewise.
3652 * gdb.multi/dummy-frame-restore.exp: Likewise.
3653 * gdb.multi/multi-arch-exec.exp: Likewise.
3654 * gdb.multi/multi-arch.exp: Likewise.
3655 * gdb.multi/tids.exp: Likewise.
3656 * gdb.multi/watchpoint-multi.exp: Likewise.
3657 * gdb.python/py-events.exp: Likewise.
3658 * gdb.threads/attach-into-signal.exp: Likewise.
3659 * gdb.threads/attach-stopped.exp: Likewise.
3660 * gdb.threads/threadapply.exp: Likewise.
3661 * lib/selftest-support.exp: Likewise.
3663 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3665 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3667 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3669 * gdb.perf/template-breakpoints.cc: New file.
3670 * gdb.perf/template-breakpoints.exp: New file.
3671 * gdb.perf/template-breakpoints.py: New file.
3673 2018-03-19 Tom Tromey <tom@tromey.com>
3675 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3677 * gdb.rust/simple.exp: Test bare identifier form of struct
3680 2018-03-19 Tom Tromey <tom@tromey.com>
3682 * gdb.gdb/observer.exp: Remove.
3684 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3686 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3687 "qualified" option when setting breakpoints.
3688 * gdb.trace/backtrace.exp: Likewise.
3689 * gdb.trace/circ.exp: Likewise.
3690 * gdb.trace/collection.exp: Likewise.
3691 * gdb.trace/disconnected-tracing.exp: Likewise.
3692 * gdb.trace/ftrace-lock.exp: Likewise.
3693 * gdb.trace/ftrace.exp: Likewise.
3694 * gdb.trace/infotrace.exp: Likewise.
3695 * gdb.trace/packetlen.exp: Likewise.
3696 * gdb.trace/passc-dyn.exp: Likewise.
3697 * gdb.trace/qtro.exp: Likewise.
3698 * gdb.trace/read-memory.exp: Likewise.
3699 * gdb.trace/report.exp: Likewise.
3700 * gdb.trace/signal.exp: Likewise.
3701 * gdb.trace/status-stop.exp: Likewise.
3702 * gdb.trace/strace.exp: Likewise.
3703 * gdb.trace/tfind.exp: Likewise.
3704 * gdb.trace/trace-break.exp: Likewise.
3705 * gdb.trace/trace-condition.exp: Likewise.
3706 * gdb.trace/trace-mt.exp: Likewise.
3707 * gdb.trace/tstatus.exp: Likewise.
3708 * gdb.trace/tsv.exp: Likewise.
3709 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3710 * gdb.trace/unavailable.exp: Likewise.
3711 * gdb.trace/while-dyn.exp: Likewise.
3713 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3715 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3716 that libinproctrace is copied to the target.
3718 2018-03-14 Tom Tromey <tom@tromey.com>
3721 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3723 * gdb.base/wchar.exp: Likewise.
3725 2018-03-14 Tom Tromey <tom@tromey.com>
3728 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3731 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3734 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3735 "target" to remote_exec.
3737 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3740 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3741 ${board}_upload): Remove.
3743 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3745 * gdb.cp/watch-cp.cc: New test.
3746 * gdb.cp/watch-cp.exp: New file.
3748 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3750 * gdb.base/infcall-nested-structs.exp: New file.
3751 * gdb.base/infcall-nested-structs.c: New file.
3752 * gdb.base/float.exp: Add riscv support.
3754 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3756 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3757 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3759 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3761 * gdb.server/abspath.exp: New file.
3762 * lib/gdb.exp (with_cwd): New procedure.
3764 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3766 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3768 (gdb_is_target_remote_prompt): New proc.
3769 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3770 (gdb_is_target_native): Pass prompt parameter to
3773 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3775 * gdb.base/load-command.c: New file.
3776 * gdb.base/load-command.exp: New file.
3777 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3778 (gdb_is_target_1): ...this, and generalize for other targets
3780 (gdb_is_target_remote): Use gdb_is_target_1.
3781 (gdb_is_target_native): use gdb_is_target_1.
3783 2018-02-26 Tom Tromey <tom@tromey.com>
3786 * gdb.python/py-framefilter.exp: Update test.
3788 2018-02-26 Tom Tromey <tom@tromey.com>
3790 * gdb.dwarf2/variant.c: New file.
3791 * gdb.dwarf2/variant.exp: New file.
3793 2018-02-26 Tom Tromey <tom@tromey.com>
3795 * gdb.rust/simple.exp: Accept more possible results in enum test.
3797 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3799 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3802 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3804 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3805 name of a variable: $actual_linejj -> $actual_line.
3807 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3809 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3811 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3813 * gdb.btrace/buffer-size.exp: Do not force BTS.
3815 2018-02-14 Pedro Alves <palves@redhat.com>
3817 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3820 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3822 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3825 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3827 * gdb.cp/m-static.exp: Check type of optimized out static
3830 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3832 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3833 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3835 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3836 Leszek Swirski <leszeks@google.com>
3838 * gdb.python/py-prettyprint.c
3839 (struct to_string_returns_value_inner,
3840 struct to_string_returns_value_wrapper): New.
3841 (main): Add tsrvw variable.
3842 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3843 ToStringReturnsValueWrapper): New classes.
3844 (register_pretty_printers): Register new pretty-printers.
3845 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3846 recursive pretty printer.
3847 * gdb.python/py-mi.exp: Likewise.
3849 2018-02-01 Leszek Swirski <leszeks@google.com>
3851 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3852 functions with the same name as an include file are parsed
3855 2018-02-01 Yao Qi <yao.qi@linaro.org>
3857 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3860 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3862 * gdb.arch/powerpc-prologue-frame.s: New file.
3863 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3864 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3866 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3868 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3870 2018-01-30 Pedro Alves <palves@redhat.com>
3873 * gdb.base/interrupt-daemon.c: New.
3874 * gdb.base/interrupt-daemon.exp: New.
3875 * gdb.multi/multi-term-settings.c: New.
3876 * gdb.multi/multi-term-settings.exp: New.
3878 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3880 * gdb.base/break.exp: Save the location where the breakpoint
3881 on break.c:47 was actually inserted when debugging the version
3882 compiled at -O2 and use it in the expected output of the "info
3883 break" test performed soon after.
3885 2018-01-22 Pedro Alves <palves@redhat.com>
3886 Sergio Durigan Junior <sergiodj@redhat.com>
3888 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3889 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3891 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3893 * gdb.base/break-include.c, gdb.base/break-include.inc,
3894 gdb.base/break-include.exp: New files.
3895 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3896 line number now being the actual line number where the breakpoint
3898 * gdb.mi/mi-break.exp: Likewise.
3899 * gdb.mi/mi-reverse.exp: Likewise.
3900 * gdb.mi/mi-simplerun.exp: Ditto.
3902 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3904 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3906 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3908 2018-01-21 Don Breazeal <donb@codesourcery.com>
3909 Andrew Burgess <andrew.burgess@embecosm.com>
3911 * gdb.mi/basics.c: Add new global.
3912 * gdb.mi/mi-frame-regs.exp: New file.
3913 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3916 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3918 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3919 non-parameter, and on an unknown symbol.
3921 2018-01-19 Tom Tromey <tom@tromey.com>
3923 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3924 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3926 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3928 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3929 setrlimit and chdir to int.
3931 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3933 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3935 (my_tend): Likewise.
3936 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3937 rationale of avoiding FP- and vector instructions.
3939 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3941 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3942 "info reg" with "\[ \t\]*".
3943 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3945 * gdb.arch/s390-multiarch.exp: Ditto.
3946 * gdb.base/pc-fp.exp: Ditto.
3947 * gdb.reverse/i386-precsave.exp: Ditto.
3948 * gdb.reverse/i386-reverse.exp: Ditto.
3949 * gdb.reverse/i387-env-reverse.exp: Ditto.
3950 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3952 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3954 * lib/gdb.exp (gdb_compile): Re-enable use of
3955 universal_compile_options for languages other than Rust.
3957 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3959 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3961 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3964 * gdb.base/solib-vanish.exp: New.
3965 * gdb.base/solib-vanish-main.c: New.
3966 * gdb.base/solib-vanish-lib1.c: New.
3967 * gdb.base/solib-vanish-lib2.c: New.
3969 2018-01-17 Yao Qi <yao.qi@linaro.org>
3971 * gdb.compile/compile.exp: Match the address printed for
3972 frame in the output of command "bt".
3974 2018-01-15 Tom Tromey <tom@tromey.com>
3976 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3979 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3981 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3983 (prepare): Return 0 on error, 1 on success.
3985 2018-01-12 Pedro Alves <palves@redhat.com>
3987 * gdb.base/continue-after-aborted-step-over.c: New.
3988 * gdb.base/continue-after-aborted-step-over.exp: New.
3990 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3992 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3993 options when not creating an executable.
3995 2018-01-11 Pedro Alves <palves@redhat.com>
3998 * gdb.server/stop-reply-no-thread.c: New file.
3999 * gdb.server/stop-reply-no-thread.exp: New file.
4001 2018-01-10 Pedro Alves <palves@redhat.com>
4004 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4005 functions too. Test setting breakpoints and printing C functions
4006 with no debug info too.
4007 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4009 2018-01-10 Pedro Alves <palves@redhat.com>
4012 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4015 2018-01-10 Pedro Alves <palves@redhat.com>
4018 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4020 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4022 * gdb.server/unittest.exp: Match the output in non-development
4025 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4027 * gdb.gdb/unittest.exp: Match output in non-development mode.
4029 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4031 * gdb.ada/access_tagged_param.exp: Relax expected output
4032 for value of "ObjL" in "continue" to pck.inspect breakpoint
4035 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4037 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4038 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4040 2018-01-05 Pedro Alves <palves@redhat.com>
4043 * gdb.base/libsegfault.exp: New.
4045 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4048 * gdb.ada/access_tagged_param.exp: New file.
4049 * gdb.ada/access_tagged_param/foo.adb: New file.
4051 2018-01-05 Pedro Alves <palves@redhat.com>
4054 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4055 exercise lower case too, and to exercise both full matching and
4058 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4060 * gdb.ada/rename_subscript_param: New testcase.
4062 2018-01-05 Jerome Guitton <guitton@adacore.com>
4064 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4066 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4068 * gdb.ada/convvar_comp: New testcase.
4070 2018-01-05 Xavier Roirand <roirand@adacore.com>
4072 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4073 (My_Table): New global variable.
4074 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4076 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4079 * gdb.ada/maint_with_ada: New testcase.
4081 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4084 * gdb.ada/bp_c_mixed_case: New testcase.
4086 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4089 * gdb.ada/complete.exp: Add "complete break ada" test.
4091 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4094 * gdb.ada/info_addr_mixed_case: New testcase.
4096 2018-01-03 Xavier Roirand <roirand@adacore.com>
4098 * gdb.ada/excep_handle.exp: New testcase.
4099 * gdb.ada/excep_handle/foo.adb: New file.
4100 * gdb.ada/excep_handle/pck.ads: New file.
4102 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4104 * gdb.base/step-line.c: Add extra empty line in copyright header.
4105 * gdb.base/step-line.inp: Likewise.
4107 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4109 * gdb.ada/dyn_stride.exp: Add slice test.
4111 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4113 * gdb.ada/dyn_stride: New testcase.
4115 2017-12-27 Stafford Horne <shorne@gmail.com>
4117 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4118 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4120 2017-12-27 Stafford Horne <shorne@gmail.com>
4122 * gdb.base/reggroups.c: New file.
4123 * gdb.base/reggroups.exp: New file.
4125 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4127 * gdb.dwarf2/ada-valprint-error.c: New file.
4128 * gdb.dwarf2/ada-valprint-error.exp: New file.
4130 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4132 * gdb.ada/assign_arr: New testcase.
4134 2017-12-18 Xavier Roirand <roirand@adacore.com>
4136 * gdb.ada/funcall_ptr: New testcase.
4138 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4141 * gdb.base/ptype-offsets.cc: New file.
4142 * gdb.base/ptype-offsets.exp: New file.
4144 2017-12-15 Yao Qi <yao.qi@linaro.org>
4146 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4149 2017-12-15 Xavier Roirand <roirand@adacore.com>
4151 * gdb.ada/same_component_name: New testcase.
4153 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4155 * gdb.ada/str_binop_equal: New testcase.
4157 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4159 * gdb.ada/task_switch_in_core: New testcase.
4161 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4163 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4164 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4165 call test_bkpt_qualified.
4166 (test_bkpt_qualified): New proc.
4168 2017-12-13 Pedro Alves <palves@redhat.com>
4170 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4171 Tighten regexp by matching with an anchor.
4173 2017-12-13 Pedro Alves <palves@redhat.com>
4175 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4176 ("expression with namespace"): New set of tests.
4177 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4178 (Nested::Test_NS::qux): New.
4179 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4180 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4182 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4184 * gdb.base/server-del-break.c: New file.
4185 * gdb.base/server-del-break.exp: New file.
4187 2017-12-12 Stafford Horne <shorne@gmail.com>
4189 * gdb.xml/tdesc-regs.exp: Add or1k support.
4191 2017-12-12 Stafford Horne <shorne@gmail.com>
4193 * gdb.base/bp-permanent.c: Define nop of or1k.
4195 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4197 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4198 output with components being reordered.
4200 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4202 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4203 output with components being reordered.
4205 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4206 Pedro Alves <palves@redhat.com>
4208 * gdb.base/maint.exp (check for .gdb_index): Check also for
4210 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4211 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4212 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4213 (.gdb_index used after symbol reloading): Support also .debug_names.
4214 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4216 2017-12-08 Yao Qi <yao.qi@linaro.org>
4218 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4219 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4221 2017-12-08 Yao Qi <yao.qi@linaro.org>
4223 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4224 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4226 2017-12-08 Yao Qi <yao.qi@linaro.org>
4228 * gdb.arch/aarch64-tagged-pointer.c: New file.
4229 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4231 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4233 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4236 2017-12-07 Keith Seitz <keiths@redhat.com>
4238 PR breakpoints/22569
4239 * gdb.linespec/ls-errs.exp: Change expected result of "break
4240 -source this file has spaces.c -line 3".
4241 Check that an explicit source file followed by whitespace is
4242 identified as an invalid explicit location.
4244 2017-12-07 Keith Seitz <keiths@redhat.com>
4246 * gdb.cp/nested-types.cc: New file.
4247 * gdb.cp/nested-types.exp: New file.
4248 * lib/cp-support.exp: Load data-structures.exp library.
4249 (debug_cp_test_ptype_class): New global.
4250 (cp_ptype_class_verbose, next_line): New procedures.
4251 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4252 Add and document new return value.
4253 Switch the list of lines to a queue.
4254 Add support for new `type' key for nested type definitions.
4255 Add debugging/troubleshooting messages.
4256 * lib/data-structures.exp: New file.
4258 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
4260 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
4261 with proc_with_prefix, don't use with_test_prefix.
4263 2017-12-07 Tom Tromey <tom@tromey.com>
4265 * gdb.base/break.exp: Add test for empty "commands".
4267 2017-12-07 Yao Qi <yao.qi@linaro.org>
4269 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
4270 malloc and catch syscall.
4272 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
4274 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
4275 tests for explicit locations.
4277 2017-12-06 Pedro Alves <palves@redhat.com>
4279 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4280 force-disabling XML descriptions.
4282 2017-12-04 Pedro Alves <palves@redhat.com>
4285 * gdb.arch/amd64-disp-step-avx.S: New file.
4286 * gdb.arch/amd64-disp-step-avx.exp: New file.
4288 2017-12-03 Pedro Alves <palves@redhat.com>
4290 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4292 (parent_function): Print distinct messages when waitpid fails, or
4293 the child exits with a signal, or the child exits for an unhandled
4295 * gdb.threads/process-dies-while-detaching.exp
4296 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4297 it. Wait for both inferior output and GDB's prompt. Use an
4298 indirect spawn id list.
4299 (do_detach): New parameter 'child_exit'. Use it to compute
4300 expected inferior output.
4301 (test_detach, test_detach_watch, test_detach_killed_outside):
4302 Adjust to pass down the expected child exit kind.
4304 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4305 Sergio Durigan Junior <sergiodj@redhat.com>
4306 Pedro Alves <palves@redhat.com>
4308 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4310 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4312 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4313 to 'symbol-file' and 'add-symbol-file' can be
4314 position-independent.
4316 2017-12-01 Yao Qi <yao.qi@linaro.org>
4318 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4319 the URL in copyright header.
4320 * gdb.arch/aarch64-fp.exp: Likewise.
4321 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4322 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4323 * gdb.base/expand-psymtabs.exp: Likewise.
4324 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4325 * gdb.fortran/common-block.exp: Likewise.
4326 * gdb.fortran/common-block.f90: Likewise.
4327 * gdb.fortran/logical.exp: Likewise.
4328 * gdb.fortran/vla-datatypes.f90: Likewise.
4329 * gdb.fortran/vla-sub.f90: Likewise.
4331 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4333 * gdb.ada/repeat_dyn: New testcase.
4335 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4337 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4338 Update for changed thread numbering.
4339 * gdb.cell/bt.exp: Update for changed GDB output.
4341 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4343 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4344 setting isremote by hand.
4345 * boards/dwarf4-gdb-index.exp: Likewise.
4346 * boards/fission.exp: Likewise.
4347 * boards/stabs.exp: Likewise.
4349 2017-11-30 Pedro Alves <palves@redhat.com>
4351 * gdb.linespec/cpls-ops.exp
4352 (check_explicit_skips_function_argument): Extract the underlying
4353 type of size_t instead of hardcoding it.
4355 2017-11-29 Pedro Alves <palves@redhat.com>
4358 * gdb.linespec/cpls-abi-tag.cc: New file.
4359 * gdb.linespec/cpls-abi-tag.exp: New file.
4361 2017-11-29 Pedro Alves <palves@redhat.com>
4363 * gdb.base/langs.exp: Use -qualified.
4364 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4366 * gdb.cp/namespace.exp: Use -qualified.
4367 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4368 (overload-3, template-overload, template-ret-type, const-overload)
4369 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4371 (test_driver): Call them.
4372 * gdb.cp/save-bp-qualified.cc: New.
4373 * gdb.cp/save-bp-qualified.exp: New.
4374 * gdb.linespec/explicit.exp: Test -qualified.
4375 * lib/completion-support.exp (completion::explicit_opts_list): Add
4377 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4379 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4381 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4383 2017-11-29 Tom Tromey <tom@tromey.com>
4385 * gdb.base/relocate.exp: Update invalid argument test.
4386 Add new tests for invalid arguments.
4388 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4390 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4392 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4394 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4396 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4397 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4398 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4400 * gdb.cp/shadow.cc (B.func): Return 0.
4402 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4404 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4405 expected output in gdb_expect call to allow the exception
4406 message to be present as well. Fix syntax confusion to avoid
4407 TCL thinking that exception_name is an array.
4409 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4411 * gdb.arch/spu-info.c: Include <unistd.h>.
4412 (do_signal_test): Fix broken calls to write.
4413 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4414 Fix checks for empty mailboxes. Update signal tests for corrected
4415 do_signal_test routine. Allow nonzero event status.
4416 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4417 * gdb.cell/arch.exp: Use standard_output_file.
4418 * gdb.cell/break.exp: Likewise.
4419 * gdb.cell/bt.exp: Likewise.
4420 * gdb.cell/core.exp: Likewise.
4421 * gdb.cell/dwarfaddr.exp: Likewise.
4422 * gdb.cell/ea-cache.exp: Likewise.
4423 * gdb.cell/ea-standalone.exp: Likewise.
4424 * gdb.cell/f-regs.exp: Likewise.
4425 * gdb.cell/fork.exp: Likewise.
4426 * gdb.cell/gcore.exp: Likewise.
4427 * gdb.cell/mem-access.exp: Likewise.
4428 * gdb.cell/ptype.exp: Likewise.
4429 * gdb.cell/registers.exp: Likewise.
4430 * gdb.cell/sizeof.exp: Likewise.
4431 * gdb.cell/solib-symbol.exp: Likewise.
4432 * gdb.cell/solib.exp: Likewise.
4434 2017-11-25 Pedro Alves <palves@redhat.com>
4436 * gdb.base/complete-empty.exp: New file.
4437 * gdb.base/completion.exp: Adjust.
4439 2017-11-25 Pedro Alves <palves@redhat.com>
4441 * gdb.linespec/cpls-ops.cc: New file.
4442 * gdb.linespec/cpls-ops.exp: New file.
4443 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4444 factored out from ...
4445 (test_complete_prefix_range): ... this.
4447 2017-11-24 Pedro Alves <palves@redhat.com>
4449 * gdb.linespec/cpcompletion.exp: New file.
4450 * gdb.linespec/cpls-hyphen.cc: New file.
4451 * gdb.linespec/cpls.cc: New file.
4452 * gdb.linespec/cpls2.cc: New file.
4453 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4454 test to use test_gdb_complete_unique. Add label completion,
4455 keyword completion and explicit location completion tests.
4456 * lib/completion-support.exp: New file.
4458 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4460 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4461 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4462 when hitting an exception catchpoint.
4464 2017-11-22 Yao Qi <yao.qi@linaro.org>
4466 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4468 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4470 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4471 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4472 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4474 2017-11-22 Yao Qi <yao.qi@linaro.org>
4476 * gdb.base/info-os.exp: Pass pthreads.
4477 * gdb.multi/multi-attach.exp: Likewise.
4479 2017-11-22 Yao Qi <yao.qi@linaro.org>
4481 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4484 2017-11-22 Yao Qi <yao.qi@linaro.org>
4486 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4487 * gdb.base/break-interp.exp: Likewise.
4488 * gdb.base/jit-attach-pie.exp: Likewise.
4490 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4492 * gdb.base/float128.c (large128): New variable.
4493 * gdb.base/float128.exp: Add test to print largest __float128 value.
4495 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4497 * gdb.arch/vsx-regs.exp: Update register content checks.
4499 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4501 * gdb.arch/ppc-longdouble.exp: New file.
4502 * gdb.arch/ppc-longdouble.c: Likewise.
4504 2017-11-21 Pedro Alves <palves@redhat.com>
4506 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4508 2017-11-20 Pedro Alves <palves@redhat.com>
4510 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4511 (long_double_typedef): New typedefs.
4512 Use DEF on double and long double.
4513 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4515 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4516 and 'long_double_ptr_same_size' locals. Use them to decide
4517 whether cast from array/function to float is valid/invalid.
4519 2017-11-17 Tom Tromey <tom@tromey.com>
4521 * gdb.rust/traits.rs: New file.
4522 * gdb.rust/traits.exp: New file.
4524 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4526 * gdb.ada/minsyms: New testcase.
4528 2017-11-16 Pedro Alves <palves@redhat.com>
4530 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4531 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4533 2017-11-16 Pedro Alves <palves@redhat.com>
4535 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4536 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4538 2017-11-16 Pedro Alves <palves@redhat.com>
4540 * gdb.server/reconnect-ctrl-c.c: New file.
4541 * gdb.server/reconnect-ctrl-c.exp: New file.
4543 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4545 * gdb.python/py-rbreak.exp: New file.
4546 * gdb.python/py-rbreak.c: New file.
4547 * gdb.python/py-rbreak-func2.c: New file.
4549 2017-11-16 Pedro Alves <palves@redhat.com>
4551 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4553 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4556 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4558 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4561 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4563 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4566 2017-11-09 Pedro Alves <palves@redhat.com>
4568 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4569 factored out from ...
4570 (top level): ... here, and adjusted to avoid expecting beyond the
4571 prompt in a single gdb_test_multiple.
4573 2017-11-09 Pedro Alves <palves@redhat.com>
4575 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4577 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4578 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4579 * gdb.server/ext-run.exp ("kill" test): Likewise.
4580 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4582 2017-11-09 Pedro Alves <palves@redhat.com>
4584 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4585 match till end of line.
4587 2017-11-09 Pedro Alves <palves@redhat.com>
4589 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4591 2017-11-09 Pedro Alves <palves@redhat.com>
4593 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4594 New procedures, factored out from ...
4595 (top level): ... here, and adjusted to avoid expecting beyond the
4598 2017-11-09 Pedro Alves <palves@redhat.com>
4600 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4601 output. Fix '?' match.
4603 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4605 * gdb.ada/scoped_watch: New testcase.
4606 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4607 which is actually correct.
4608 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4609 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4611 2017-11-08 Pedro Alves <palves@redhat.com>
4613 * gdb.gdb/complaints.exp (test_initial_complaints)
4614 (test_serial_complaints, test_short_complaints): Call
4615 complaint_internal instead of complaint.
4617 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4619 * gdb.threads/tls-core.c: New file.
4620 * gdb.threads/tls-core.exp: Likewise.
4622 2017-11-08 Pedro Alves <palves@redhat.com>
4624 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4625 (p Exported_Capitalized): New test.
4626 (p exported_capitalized): New test.
4628 2017-11-07 Pedro Alves <palves@redhat.com>
4630 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4632 2017-11-07 Pedro Alves <palves@redhat.com>
4634 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4635 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4636 (disable_invalid, disable_inverted, disable_negative): New
4638 ("bad numbers"): New set of tests.
4640 2017-11-07 Pedro Alves <palves@redhat.com>
4642 * gdb.cp/ena-dis-br-range.exp: Add tests.
4644 2017-11-07 Pedro Alves <palves@redhat.com>
4646 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4648 2017-11-07 Xavier Roirand <roirand@adacore.com>
4649 Pedro Alves <palves@redhat.com>
4651 * gdb.base/ena-dis-br.exp: Add reference to
4652 gdb.cp/ena-dis-br-range.exp.
4653 * gdb.cp/ena-dis-br-range.exp: New file.
4654 * gdb.cp/ena-dis-br-range.cc: New file.
4656 2017-11-06 Pedro Alves <palves@redhat.com>
4658 * gdb.base/attach-non-pgrp-leader.c: New.
4659 * gdb.base/attach-non-pgrp-leader.exp: New.
4661 2017-11-06 Pedro Alves <palves@redhat.com>
4663 * configure.ac: No longer check for termio.h and sgtty.h.
4664 * configure: Regenerate.
4665 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4666 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4667 Remove termio and sgtty code.
4669 2017-11-03 Yao Qi <yao.qi@linaro.org>
4671 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4674 2017-11-03 Yao Qi <yao.qi@linaro.org>
4676 * gdb.python/py-thrhandle.exp: Skip it if python is not
4679 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4681 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4682 as a breakpoint command.
4684 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4687 * gdb.python/py-infthread.exp: Test calling
4688 InferiorThread.inferior () multiple times in a row.
4690 2017-10-27 Keith Seitz <keiths@redhat.com>
4692 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4693 Test "info break" for every inlined function breakpoint.
4695 2017-10-27 Yao Qi <yao.qi@linaro.org>
4697 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4699 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4701 * gdb.cp/classes.exp (test_static_members): Test printing
4703 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4704 (Inner::instance, Outer::instance): New.
4706 2017-10-24 Pedro Alves <palves@redhat.com>
4708 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4709 extra console" test in two stages.
4711 2017-10-24 Pedro Alves <palves@redhat.com>
4713 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4715 2017-10-24 Pedro Alves <palves@redhat.com>
4717 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4720 2017-10-24 Pedro Alves <palves@redhat.com>
4722 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4723 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4725 2017-10-24 Pedro Alves <palves@redhat.com>
4727 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4728 parameter and handle it. Don't output read value in test name.
4730 2017-10-24 Pedro Alves <palves@redhat.com>
4732 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4735 2017-10-24 Pedro Alves <palves@redhat.com>
4737 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4738 include the unstable output directory name in the test's name.
4739 (initial_setup_simple) <'set args'>: Use custom test name.
4741 2017-10-24 Pedro Alves <palves@redhat.com>
4743 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4744 with explicit test name.
4746 2017-10-20 Pedro Alves <palves@redhat.com>
4748 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4749 'wait -i'. Use gdb_assert and remote_close.
4751 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4753 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4754 number from variable rather than hard-coded.
4756 2017-10-19 Pedro Alves <palves@redhat.com>
4758 * gdb.base/long-inferior-output.c: New file.
4759 * gdb.base/long-inferior-output.exp: New file.
4761 2017-11-18 Keith Seitz <keiths@redhat.com>
4763 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4766 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4767 Add additional user-defined conversion operator tests.
4769 2017-10-17 Pedro Alves <palves@redhat.com>
4771 * boards/native-stdio-gdbserver.exp: Load "local-board".
4773 2017-10-17 Pedro Alves <palves@redhat.com>
4775 * gdb.base/quit-live.c: New file.
4776 * gdb.base/quit-live.exp: New file.
4778 2017-10-16 Keith Seitz <keiths@redhat.com>
4780 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4781 (class_with_protected_typedef, class_with_private_typedef)
4782 (struct_with_public_typedef, struct_with_protected_typedef)
4783 (struct_with_private_typedef): New classes/structs.
4784 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4785 typedefs and access specifiers.
4787 2017-10-16 Pedro Alves <palves@redhat.com>
4788 Simon Marchi <simon.marchi@polymtl.ca>
4790 * README (Local vs Remote vs Native): New section.
4791 * boards/local-board.exp: New file, with bits factored out from
4793 * boards/native-extended-gdbserver.exp: ... here. Load
4795 * boards/native-gdbserver.exp: Load "local-board".
4796 (${board}_spawn, ${board}_exec): Delete.
4797 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4799 * boards/stdio-gdbserver-base.exp: ... this new file.
4800 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4801 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4803 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4804 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4805 stdio_gdbserver_command.
4806 (${board}_get_remote_address, ${board}_get_comm_port)
4807 (${board}_download, ${board}_upload): Delete.
4808 (get_target_remote_pipe_cmd): New.
4810 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4812 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4813 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4814 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4815 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4816 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4817 remove with_test_prefix.
4819 2017-10-13 Pedro Alves <palves@redhat.com>
4821 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4822 * gdb.base/annota1.exp: Use it instead of is_remote.
4823 * gdb.base/annota3.exp: Use it instead of is_remote.
4824 * gdb.cp/annota2.exp: Use it instead of is_remote.
4825 * gdb.cp/annota3.exp: Use it instead of is_remote.
4826 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4828 2017-10-13 Pedro Alves <palves@redhat.com>
4830 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4831 (test_num_test_vars, run_and_count_vars, find_env)
4832 (test_set_unset_env, test_inherit_env_var): New procedures.
4833 (top level): Use them.
4835 2017-10-13 Pedro Alves <palves@redhat.com>
4837 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4838 also skip on stub-like targets.
4840 2017-10-13 Pedro Alves <palves@redhat.com>
4843 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4844 (top level): Move some tests to ...
4845 (test_not_found): ... this new procedure.
4846 (top level): Call it.
4848 2017-10-13 Pedro Alves <palves@redhat.com>
4850 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4851 expect different "info terminal" output if testing with a
4854 2017-10-13 Pedro Alves <palves@redhat.com>
4855 Simon Marchi <simon.marchi@polymtl.ca>
4858 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4860 2017-10-13 Pedro Alves <palves@redhat.com>
4862 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4865 2017-10-13 Pedro Alves <palves@redhat.com>
4867 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4870 2017-10-13 Pedro Alves <palves@redhat.com>
4872 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4875 2017-10-13 Pedro Alves <palves@redhat.com>
4877 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4879 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4880 instead of is_remote.
4882 2017-10-13 Pedro Alves <palves@redhat.com>
4884 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4885 (top level): Add comment.
4887 2017-10-13 Pedro Alves <palves@redhat.com>
4889 * gdb.base/remote.exp (top level): Fix comment typo and add
4892 2017-10-13 Pedro Alves <palves@redhat.com>
4893 Simon Marchi <simon.marchi@polymtl.ca>
4895 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4896 calls and add comments. Skip test if use_gdb_stub is set.
4897 (top level): Use "set cwd" command instead of "cd" command.
4899 2017-10-13 Pedro Alves <palves@redhat.com>
4901 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4902 is_remote target check.
4904 2017-10-13 Pedro Alves <palves@redhat.com>
4906 * gdb.base/scope.exp: Use build_executable + clean_restart +
4907 gdb_file_cmd instead of prepare_for_testing and no longer skip
4908 "before run" tests on is_remote target boards. Update comments.
4909 * boards/native-extended-gdbserver.exp
4910 (extended_gdbserver_load_last_file): New, factored out from ...
4911 (gdb_load): ... this. Move further below and add comment.
4912 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4914 2017-10-12 Pedro Alves <palves@redhat.com>
4916 * gdb.base/attach.exp: Remove references to gdb64.
4917 * gdb.base/dbx.exp: Remove references to gdb64.
4919 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4920 Pedro Alves <palves@redhat.com>
4922 * gdb.base/label.exp: Remove is_remote target check.
4924 2017-10-12 Pedro Alves <palves@redhat.com>
4926 * gdb.base/auvx.exp (coredir): Update comment.
4927 (top level) <core_works>: Use "set cwd" command instead of "cd"
4930 2017-10-12 Pedro Alves <palves@redhat.com>
4931 Simon Marchi <simon.marchi@polymtl.ca>
4933 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4936 2017-10-12 Pedro Alves <palves@redhat.com>
4937 Simon Marchi <simon.marchi@polymtl.ca>
4939 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4940 Instead skip if there's any gdb_protocol set.
4942 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4943 Pedro Alves <palves@redhat.com>
4945 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4947 2017-10-12 Pedro Alves <palves@redhat.com>
4948 Simon Marchi <simon.marchi@polymtl.ca>
4950 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4951 instead of on dejagnu remote boards.
4953 2017-10-12 Pedro Alves <palves@redhat.com>
4954 Simon Marchi <simon.marchi@polymtl.ca>
4956 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4957 checks. Use build_executable + clean_restart instead of
4958 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4959 of enabling non-stop after starting gdb.
4961 2017-10-12 Pedro Alves <palves@redhat.com>
4963 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4964 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4965 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4966 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4968 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4970 * gdb.arch/arc-tdesc-cpu.exp: New file.
4971 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4973 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4975 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4977 2017-10-10 Pedro Alves <palves@redhat.com>
4979 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4982 2017-10-10 Pedro Alves <palves@redhat.com>
4984 * lib/selftest-support.exp (selftest_setup): Update for
4985 captured_command_loop's prototype change.
4987 2017-10-09 Pedro Alves <palves@redhat.com>
4989 Test both arch1=>arch2 and arch2=>arch1.
4991 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4992 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4994 (append_arch1_options, append_arch2_options, append_arch_options)
4995 (build_executables): New procedures.
4996 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4998 (top level): Add new 'first_arch' testing axis.
5000 2017-10-09 Pedro Alves <palves@redhat.com>
5002 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5004 (thread_start, all_started): New functions.
5005 (main): Spawn new thread and wait until it is scheduled.
5006 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5008 (do_test): Add 'selected_thread' parameter. Run to all_started
5009 instead of main. Explicitly set the breakpoint at main. Switch
5010 to the SELECTED_THREAD thread.
5011 (top level): Test handling the exec event with either the main
5012 thread or the second thread selected.
5014 2017-10-09 Pedro Alves <palves@redhat.com>
5016 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5017 logic. Move STOP marker after the value checks.
5018 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5021 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5023 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5025 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5027 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5028 integer-to-dfp conversion.
5029 * gdb.base/dfp-test.exp: Likewise.
5031 2017-10-04 Pedro Alves <palves@redhat.com>
5033 * gdb.multi/hangout.c: Include <unistd.h>.
5034 (hangout_loop): New function.
5035 (main): Call alarm. Call hangout_loop in a loop.
5036 * gdb.multi/hello.c: Include <unistd.h>.
5037 (hello_loop): New function.
5038 (main): Call alarm. Call hangout_loop in a loop.
5039 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5040 inferior with the other selected.
5042 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5044 * gdb.mi/list-thread-groups-available.exp: New file.
5045 * gdb.mi/list-thread-groups-available.c: New file.
5047 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5049 * gdb.base/set-cwd.exp: Make it available on
5050 native-extended-gdbserver.
5052 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5054 * gdb.base/set-cwd.c: New file.
5055 * gdb.base/set-cwd.exp: Likewise.
5057 2017-10-02 Tom Tromey <tom@tromey.com>
5060 * gdb.rust/simple.rs (main): New variable "fslice".
5061 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5063 2017-10-02 Tom Tromey <tom@tromey.com>
5065 * gdb.rust/simple.exp: Test ptype of a slice.
5067 2017-10-02 Tom Tromey <tom@tromey.com>
5069 * gdb.rust/simple.exp: Test index of slice.
5071 2017-09-27 Tom Tromey <tom@tromey.com>
5073 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5075 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5076 Pedro Alves <palves@redhat.com>
5078 * gdb.base/compare-sections.exp (get value of read-only section): Read
5080 (corrupt read-only section): Likewise and don't set written if patching
5083 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5085 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5088 2017-09-20 Pedro Alves <palves@redhat.com>
5090 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5091 symbol names in gdb's output.
5092 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5094 2017-09-20 Pedro Alves <palves@redhat.com>
5096 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5098 (test_list_ambiguous_symbol): ... this and add a symbol name
5100 (test_list_ambiguous_function): Reimplement on top of
5101 test_list_ambiguous_symbol and also test listing ambiguous
5103 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5104 (ambiguous_fun): ... this.
5105 (ambiguous_var): New.
5106 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5107 (ambiguous_fun): ... this.
5108 (ambiguous_var): New.
5110 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5112 * gdb.base/starti.c: New file.
5113 * gdb.base/starti.exp: New file.
5114 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5116 2017-09-14 Pedro Alves <palves@redhat.com>
5118 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5119 (top level): Use it instead of runto.
5121 2017-09-11 Tom Tromey <tom@tromey.com>
5123 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5125 2017-09-11 Tom Tromey <tom@tromey.com>
5127 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5128 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5130 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5132 * gdb.fortran/printing-types.exp: New file.
5133 * gdb.fortran/printing-types.exp: New file.
5135 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5137 * gdb.fortran/vla-ptype.exp: Fix typos.
5138 * gdb.fortran/vla-value.exp: Same.
5140 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5142 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5143 * gdb.mi/mi-var-child-f.exp: Likewise.
5144 * gdb.mi/mi-vla-fortran.exp: Likewise.
5146 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5147 Christoph Weinmann <christoph.t.weinmann@intel.com>
5148 Bernhard Heckel <bernhard.heckel@intel.com>
5150 * gdb.fortran/ptr-indentation.f90: New file.
5151 * gdb.fortran/ptr-indentation.exp: New file.
5153 2017-09-05 Tom Tromey <tom@tromey.com>
5156 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5158 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5160 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5162 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5164 * gdb.threads/tls-nodebug-pie.c: New file.
5165 * gdb.threads/tls-nodebug-pie.exp: New file.
5167 2017-09-05 Tom Tromey <tom@tromey.com>
5169 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5172 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5174 * gdb.multi/multi-arch-exec.exp: Test with different
5175 "follow-exec-mode" settings.
5176 (do_test): New procedure.
5178 2017-09-04 Pedro Alves <palves@redhat.com>
5180 * gdb.base/func-static.c (S::method const, S::method volatile)
5181 (S::method volatile const): New methods.
5182 (c_s, v_s, cv_s): New instances.
5183 (main): Call method() on them.
5184 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5185 (cannot_resolve): New procedure.
5186 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5187 print-quote-unquoted columns.
5188 (do_test): Test printing each scope too.
5190 2017-09-04 Pedro Alves <palves@redhat.com>
5192 * gdb.base/local-static.exp: Also test with
5193 class::method::variable wholly quoted.
5194 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5196 2017-09-04 Pedro Alves <palves@redhat.com>
5198 * gdb.base/local-static.c: New.
5199 * gdb.base/local-static.cc: New.
5200 * gdb.base/local-static.exp: New.
5202 2017-09-04 Pedro Alves <palves@redhat.com>
5204 * gdb.asm/asm-source.exp: Add casts to int.
5205 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5206 (dataglobal64_1, dataglobal64_2): New globals.
5207 * gdb.base/nodebug.exp: Test different expressions involving the
5208 new globals, with print, whatis and ptype. Add casts to int.
5209 * gdb.base/solib-display.exp: Add casts to int.
5210 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5211 * gdb.cp/m-static.exp: Add cast to int.
5212 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5213 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5214 tls variable with no debug info without a cast. Test with a cast
5216 * gdb.trace/entry-values.exp: Add casts.
5218 2017-09-04 Pedro Alves <palves@redhat.com>
5220 * gdb.base/nodebug.exp: Test that ptype's error about functions
5221 with unknown return type includes the function name too.
5223 2017-09-04 Pedro Alves <palves@redhat.com>
5225 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5226 return type of munmap in infcall.
5227 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5228 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5229 type of ftell in infcall.
5230 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5231 type of getpid in infcall.
5232 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5234 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5235 Bail on failure to extract the pid.
5236 * gdb.base/nodebug.c: #include <stdint.h>.
5237 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5239 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5240 Change expected output of print/whatis/ptype with functions with
5241 no debug info. Test all supported languages. Call
5242 test_call_promotion.
5243 * gdb.compile/compile.exp: Adjust expected output to expect
5245 * gdb.threads/siginfo-threads.exp: Likewise.
5247 2017-09-04 Pedro Alves <palves@redhat.com>
5249 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5250 "prototypes". Test calling float functions via prototyped and
5251 unprototyped function pointers.
5252 (perform_all_tests): New parameter "prototypes". Pass it down.
5253 (top level): Pass down "prototypes" parameter to
5256 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5258 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
5259 Test with nested loops.
5261 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5263 * gdb.base/commands.exp: Call the new procedures.
5264 (loop_break_test, loop_continue_test): New procedures.
5266 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
5268 * gdb.base/commands.exp: Call new procedure.
5269 (define_if_without_arg_test): New procedure.
5271 2017-09-04 Pedro Alves <palves@redhat.com>
5273 * gdb.base/list-ambiguous.exp: New file.
5274 * gdb.base/list-ambiguous0.c: New file.
5275 * gdb.base/list-ambiguous1.c: New file.
5276 * gdb.base/list.exp (test_list_range): Adjust expected output.
5278 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5280 * gdb.base/share-env-with-gdbserver.c: New file.
5281 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5283 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5285 * gdb.base/commands.exp (gdbvar_simple_if_test,
5286 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5287 progvar_simple_if_test, progvar_simple_while_test,
5288 progvar_complex_if_while_test, user_defined_command_test,
5289 user_defined_command_args_eval,
5290 user_defined_command_args_stack_test,
5291 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5292 temporary_breakpoint_commands,
5293 gdb_test_no_prompt, redefine_hook_test,
5294 redefine_backtrace_test): Remove "global gdb_prompt".
5296 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5298 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5299 New proc, call it from toplevel.
5301 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5304 * gdb.server/normal.c: New file, copied from gdb.base.
5305 * gdb.server/run-without-local-binary.exp: New file.
5307 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5309 * gdb.arch/sparc64-adi.exp: New file.
5310 * gdb.arch/sparc64-adi.c: New file.
5312 2017-08-22 Pedro Alves <palves@redhat.com>
5314 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5315 (top level): Add "list all overloads" tests.
5317 2017-08-22 Tom Tromey <tom@tromey.com>
5319 * gdb.gdb/xfullpath.exp: Remove.
5321 2017-08-21 Pedro Alves <palves@redhat.com>
5324 * gdb.base/symbol-alias.c: New.
5325 * gdb.base/symbol-alias2.c: New.
5326 * gdb.base/symbol-alias.exp: New.
5328 2017-08-21 Pedro Alves <palves@redhat.com>
5330 * gdb.base/dfp-test.c
5331 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5332 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5333 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5334 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5335 * gdb.base/whatis-ptype-typedefs.c: New.
5336 * gdb.base/whatis-ptype-typedefs.exp: New.
5337 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5338 (an_int, an_int_type, an_int_type2): New globals.
5339 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5340 involving typedefs and cast expressions.
5341 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5342 (lookup_typedefs_function): New.
5343 (typedefs_pretty_printers_dict): New.
5344 (top level): Register lookup_typedefs_function in
5345 gdb.pretty_printers.
5347 2017-08-18 Yao Qi <yao.qi@linaro.org>
5349 * gdb.server/unittest.exp: New.
5351 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5354 * gdb.base/environ.exp: Add test to check if 'unset environment'
5357 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5359 * lib/gdb.exp (universal_compile_options): New caching proc.
5360 (gdb_compile): Suppress GCC's coloring of messages.
5362 2017-08-14 Tom Tromey <tom@tromey.com>
5365 * gdb.base/printcmds.exp (test_radices): New function.
5366 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5367 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5368 * lib/gdb.exp (get_integer_valueof): Use p/d.
5370 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5372 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5375 2017-08-05 Tom Tromey <tom@tromey.com>
5377 * gdb.rust/simple.exp: Allow String to appear in a different
5380 2017-07-26 Yao Qi <yao.qi@linaro.org>
5382 * gdb.gdb/unittest.exp: Invoke command
5383 "maintenance check xml-descriptions".
5385 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5387 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5389 (hex128): Drop erroneous calculation of parameters.
5391 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5393 * gdb.python/py-unwind.exp: Disable stack protection when
5396 2017-07-20 Pedro Alves <palves@redhat.com>
5398 * gdb.base/default.exp (set language): Adjust expected output.
5400 2017-07-20 Pedro Alves <palves@redhat.com>
5402 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5403 (test_minsym): ... this, and make static.
5404 (get_pck__foo__bar__minsym): Rename to ...
5405 (get_test_minsym): ... this.
5406 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5407 symbol names and comments.
5408 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5409 (get_test_minsym): ... this.
5410 (pck__foo__bar__minsym__2): Rename to ...
5411 (test_minsym): ... this.
5414 2017-07-17 Pedro Alves <palves@redhat.com>
5416 * gdb.base/completion.exp: Adjust expected output.
5417 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5418 the completer works.
5420 2017-07-17 Pedro Alves <palves@redhat.com>
5422 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5424 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5426 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5428 2017-07-14 Tom Tromey <tom@tromey.com>
5431 * gdb.rust/simple.exp: Add tests.
5433 2017-07-14 Tom Tromey <tom@tromey.com>
5435 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5437 2017-07-14 Pedro Alves <palves@redhat.com>
5439 * gdb.linespec/base/one/thefile.cc (z1): New function.
5440 * gdb.linespec/base/two/thefile.cc (z2): New function.
5441 * gdb.linespec/linespec.exp: Add tests.
5443 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5445 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5446 to mi_create_breakpoint.
5448 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5450 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5451 mi_create_breakpoint.
5453 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5455 * gdb.dlang/demangle.exp: Update for demangling changes.
5457 2017-07-09 Tom Tromey <tom@tromey.com>
5459 * gdb.dwarf2/shortpiece.exp: New file.
5461 2017-07-06 David Blaikie <dblaikie@gmail.com>
5463 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5464 built from fissiont-multi-cu{1,2}.c.
5465 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5466 except putting 'main' and 'func' in separate CUs in the same DWO file.
5467 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5469 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5472 2017-07-06 Pedro Alves <palves@redhat.com>
5474 * gdb.python/py-unwind.exp: Test flushregs.
5476 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5479 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5480 tests for alias commands and trailing whitespace.
5482 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5485 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5488 2017-06-29 Pedro Alves <palves@redhat.com>
5490 * gdb.base/printcmds.exp: Add tests.
5492 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5495 * gdb.base/reread-readsym.exp: New file.
5496 * gdb.base/reread-readsym.c: New file.
5498 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5500 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5503 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5505 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5507 * gdb.arch/powerpc-power9.s: Likewise.
5509 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5511 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5512 on 32-bit x86 targets. Exploit is_*_target macros where
5515 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5517 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5520 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5522 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5523 located in one or more DWARF pieces.
5525 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5527 * lib/gdb.exp (get_endianness): New proc.
5528 * gdb.arch/aarch64-fp.exp: Use it.
5529 * gdb.arch/altivec-regs.exp: Likewise.
5530 * gdb.arch/e500-regs.exp: Likewise.
5531 * gdb.arch/vsx-regs.exp: Likewise.
5532 * gdb.base/dump.exp: Likewise.
5533 * gdb.base/funcargs.exp: Likewise.
5534 * gdb.base/gnu_vector.exp: Likewise.
5535 * gdb.dwarf2/formdata16.exp: Likewise.
5536 * gdb.dwarf2/implptrpiece.exp: Likewise.
5537 * gdb.dwarf2/nonvar-access.exp: Likewise.
5538 * gdb.python/py-inferior.exp: Likewise.
5539 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5541 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5544 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5545 stack value pieces are taken from the LSB end.
5547 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5549 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5550 variable at nonzero offset.
5552 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5554 * gdb.dwarf2/var-access.c: New file.
5555 * gdb.dwarf2/var-access.exp: New test.
5556 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5558 2017-06-12 Tom Tromey <tom@tromey.com>
5560 * gdb.dwarf2/formdata16.exp: Add tests.
5562 2017-06-12 Tom Tromey <tom@tromey.com>
5564 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5566 2017-06-12 Tom Tromey <tom@tromey.com>
5569 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5570 * gdb.arch/vsx-regs.exp: Update tests.
5571 * gdb.arch/s390-vregs.exp (hex128): New proc.
5573 * gdb.arch/altivec-regs.exp: Update tests.
5575 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5577 * gdb.base/startup-with-shell.c: New file.
5578 * gdb.base/startup-with-shell.exp: Likewise.
5580 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5582 * gdb.server/non-existing-program.exp: Update regex in order to
5583 reflect the fact that gdbserver is now using fork_inferior (with a
5584 shell) to startup the inferior.
5586 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5588 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5589 support function calls from GDB.
5591 2017-05-21 Tom Tromey <tom@tromey.com>
5594 * gdb.rust/unsized.exp: New file.
5595 * gdb.rust/unsized.rs: New file.
5597 2017-05-19 Tom Tromey <tom@tromey.com>
5600 * gdb.rust/watch.exp: New file.
5601 * gdb.rust/watch.rs: New file.
5603 2017-05-18 Tom Tromey <tom@tromey.com>
5605 * gdb.rust/simple.exp: Allow Box to be qualified.
5607 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5609 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5611 2017-05-18 Pedro Alves <palves@redhat.com>
5613 * gdb.base/fileio.c (test_write, test_read, test_close)
5614 (test_fstat): Don't print 'ret' in the fail path.
5616 2017-05-18 Pedro Alves <palves@redhat.com>
5618 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5619 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5620 (test_system, test_rename, test_unlink, test_time): Change
5622 * gdb.base/fileio.exp (stop_msg): Adjust.
5624 2017-05-18 Pedro Alves <palves@redhat.com>
5626 * gdb.base/fileio.c (null_str): New global.
5627 (test_stat): Use it.
5628 * gdb.base/fileio.exp: Remove nowarnings.
5630 2017-05-17 Yao Qi <yao.qi@linaro.org>
5632 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5634 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5636 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5638 (top-level): Invoke test_set_inferior_tty.
5640 2017-05-04 Pedro Alves <palves@redhat.com>
5642 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5643 Add parens to print call for Python 3.
5645 2017-05-03 Keith Seitz <keiths@redhat.com>
5647 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5650 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5652 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5655 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5657 * gdb.python/py-record-btrace.exp: Remove test for
5658 gdb.BtraceInstruction.error.
5660 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5662 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5664 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5666 * gdb.python/py-record-btrace-threads.c: New file.
5667 * gdb.python/py-record-btrace-threads.exp: New file.
5669 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5672 * gdb.base/environ.exp: Make test available in all architectures.
5673 Move bits related to "info program" testing to
5674 gdb.base/info-program.exp. Rewrite tests to use the two new
5675 procedures mentione below.
5676 (test_set_show_env_var) New procedure.
5677 (test_set_show_env_var_equal): Likewise.
5678 * gdb.base/info-program.exp: New file.
5680 2017-04-27 Keith Seitz <keiths@redhat.com>
5682 * gdb.cp/oranking.cc (test15): New function.
5683 (main): Call test15 and declare additional variables for testing.
5684 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5685 "p foo101('abc')" tests.
5686 Add tests for cv qualifier overloads.
5687 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5688 "lvalue reference overload" test.
5689 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5690 "print value of f1 on Child&& in f2" test.
5692 2017-04-19 Pedro Alves <palves@redhat.com>
5694 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5696 (top level): Call it.
5697 * lib/gdb.exp (gdb_define_cmd): New procedure.
5699 2017-04-12 Pedro Alves <palves@redhat.com>
5702 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5703 (wchar): New global.
5704 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5705 (do_test_wide_char, wide_char_types_no_program, top level): Add
5708 2017-04-12 Pedro Alves <palves@redhat.com>
5711 * gdb.cp/wide_char_types.c: New file.
5712 * gdb.cp/wide_char_types.exp: New file.
5714 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5717 * gdb.trace/tsv.exp: Add test for "tsave -r".
5719 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5721 * gdb.dlang/watch-loc.c: New file.
5722 * gdb.dlang/watch-loc.exp: New file.
5724 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5726 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5728 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5730 * gdb.arch/arc-analyze-prologue.S: New file.
5731 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5733 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5735 * gdb.arch/arc-decode-insn.S: New file.
5736 * gdb.arch/arc-decode-insn.exp: Likewise.
5738 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5741 * gdb.arch/sparc64-regs.exp: New file.
5742 * gdb.arch/sparc64-regs.S: Likewise.
5744 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5746 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5747 and memory view on Python 3.
5749 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5750 Keith Seitz <keiths@redhat.com>
5753 * gdb.cp/demangle.exp: Add rvalue reference tests.
5754 * gdb.cp/rvalue-ref-casts.cc: New file.
5755 * gdb.cp/rvalue-ref-casts.exp: New file.
5756 * gdb.cp/rvalue-ref-overload.cc: New file.
5757 * gdb.cp/rvalue-ref-overload.exp: New file.
5758 * gdb.cp/rvalue-ref-params.cc: New file.
5759 * gdb.cp/rvalue-ref-params.exp: New file.
5760 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5761 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5762 * gdb.cp/rvalue-ref-types.cc: New file.
5763 * gdb.cp/rvalue-ref-types.exp: New file.
5764 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5765 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5767 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5769 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5772 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5774 * lib/mi-support.exp (mi_gdb_test): Add additional message
5775 for unexpected output.
5777 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5779 * gdb.base/examine-backward.c (Barrier): New character array
5780 constant, to ensure that TestStrings is preceded by a string
5783 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5785 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5786 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5787 and implicit pointer into such a location.
5789 2017-03-16 Doug Evans <dje@google.com>
5791 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5793 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5795 * gdb.cp/m-static.exp: Fix expectation for prototype of
5796 test5.single_constructor and single_constructor::single_constructor.
5798 2017-03-16 Doug Evans <dje@google.com>
5800 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5801 * gdb.guile/scm-lazy-string.c: New file.
5802 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5803 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5804 for pointer, array, typedef lazy strings.
5806 2017-03-16 Doug Evans <dje@google.com>
5808 PR python/17728, python/18439, python/18779
5809 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5810 * gdb.python/py-lazy-string.c (pointer): New typedef.
5811 (main): New locals ptr, array, typedef_ptr.
5812 * gdb.python/py-value.exp: Move lazy string tests to ...
5813 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5814 array, typedef lazy strings.
5816 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5818 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5819 Add optional 'test' parameter.
5821 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5823 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5824 Skip for versions of DejaGnu < 1.5.
5826 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5828 * lib/gdb.exp (dejagnu_version): New proc.
5829 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5830 Use dejagnu_version.
5832 2017-03-10 Keith Seitz <keiths@redhat.com>
5835 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5836 type from destructor regexps.
5837 Add a branch which actually passes the test.
5838 Adjust "ptype t5i" test names.
5840 2017-03-08 Pedro Alves <palves@redhat.com>
5842 * gdb.base/step-over-exit.exp: Add explicit test message.
5844 2017-03-08 Pedro Alves <palves@redhat.com>
5847 * gdb.threads/interrupt-while-step-over.c: New file.
5848 * gdb.threads/interrupt-while-step-over.exp: New file.
5850 2017-03-08 Pedro Alves <palves@redhat.com>
5852 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5853 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5855 2017-03-08 Pedro Alves <palves@redhat.com>
5857 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5858 PKRU as not supported as a PASS.
5860 2017-03-08 Pedro Alves <palves@redhat.com>
5862 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5863 prefix instead of $binfile1/$binfile2.
5864 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5866 * gdb.python/py-completion.exp: Use "load python file" as test
5867 messages instead of unstable path names.
5869 2017-03-08 Pedro Alves <palves@redhat.com>
5870 Jan Kratochvil <jan.kratochvil@redhat.com>
5873 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5875 (top level): Call it.
5877 2017-03-08 Pedro Alves <palves@redhat.com>
5880 * gdb.tui/tui-nl-filtered-output.exp: New file.
5882 2017-03-08 Pedro Alves <palves@redhat.com>
5884 * gdb.base/completion.exp: Move TUI completion tests to ...
5885 * gdb.tui/completion.exp: ... this new file.
5887 2017-03-08 Pedro Alves <palves@redhat.com>
5889 * gdb.base/tui-disasm-long-lines.c,
5890 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5891 gdb.base/tui-layout.exp: Move to ...
5892 * gdb.tui/: ... this new directory.
5894 2017-03-07 Pedro Alves <palves@redhat.com>
5896 * gdb.base/tui-layout.c: New file.
5897 * gdb.base/tui-layout.exp: New file.
5899 2017-03-07 Pedro Alves <palves@redhat.com>
5901 * gdb.base/tui-layout.c: Rename to ...
5902 * gdb.base/tui-disasm-long-lines.c: ... this.
5903 * gdb.base/tui-layout.exp: Rename to ...
5904 * gdb.base/tui-disasm-long-lines.exp: ... this.
5906 2017-03-07 Pedro Alves <palves@redhat.com>
5908 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5910 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5912 * i386-mpx-call.c: New file.
5913 * i386-mpx-call.exp: New file.
5915 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5917 * gdb.arch/powerpc-power.exp: Delete test.
5918 * gdb.arch/powerpc-power.s: Likewise.
5919 * gdb.disasm/disassembler-options.exp: New test.
5920 * gdb.arch/powerpc-altivec.exp: Likewise.
5921 * gdb.arch/powerpc-altivec.s: Likewise.
5922 * gdb.arch/powerpc-altivec2.exp: Likewise.
5923 * gdb.arch/powerpc-altivec2.s: Likewise.
5924 * gdb.arch/powerpc-altivec3.exp: Likewise.
5925 * gdb.arch/powerpc-altivec3.s: Likewise.
5926 * gdb.arch/powerpc-power7.exp: Likewise.
5927 * gdb.arch/powerpc-power7.s: Likewise.
5928 * gdb.arch/powerpc-power8.exp: Likewise.
5929 * gdb.arch/powerpc-power8.s: Likewise.
5930 * gdb.arch/powerpc-power9.exp: Likewise.
5931 * gdb.arch/powerpc-power9.s: Likewise.
5932 * gdb.arch/powerpc-vsx.exp: Likewise.
5933 * gdb.arch/powerpc-vsx.s: Likewise.
5934 * gdb.arch/powerpc-vsx2.exp: Likewise.
5935 * gdb.arch/powerpc-vsx2.s: Likewise.
5936 * gdb.arch/powerpc-vsx3.exp: Likewise.
5937 * gdb.arch/powerpc-vsx3.s: Likewise.
5938 * gdb.arch/arm-disassembler-options.exp: Likewise.
5939 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5940 * gdb.arch/s390-disassembler-options.exp: Likewise.
5942 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5944 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5945 (check_supported_features): ... this. Changed return type to void.
5946 (supports_rdseed): New static global.
5947 (rdseed): Check supports_rdseed.
5948 (initialize): Call check_supported_features.
5950 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5952 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5953 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5955 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5956 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5958 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5960 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5963 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5965 * gdb.dwarf2/formdata16.c: New file.
5966 * gdb.dwarf2/formdata16.exp: New file.
5967 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5969 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5971 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5972 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5973 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5974 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5977 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5979 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5981 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5984 * gdb.base/maint.exp: Add testcases for when the commands do
5987 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5989 * gdb.cp/chained-calls.exp: Use p instead of P.
5991 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5993 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5994 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5996 2017-02-14 Tom Tromey <tom@tromey.com>
5999 * gdb.python/py-events.exp: Add before_prompt event tests.
6001 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6003 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6005 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6007 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6008 (main): Call my_unique_function_name.
6009 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6010 completion of patterns with a single match.
6011 Add missing -re switches to gdb_test_multiple calls.
6013 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6015 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6016 return if core file is not recognized.
6018 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6020 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6023 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6025 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6028 2017-02-10 Tom Tromey <tom@tromey.com>
6030 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6032 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6035 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6037 2017-02-08 Jerome Guitton <guitton@adacore.com>
6039 * gdb.base/define.exp: Add test for command abbreviations
6042 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6044 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6045 * gdb.reverse/insn-reverse-x86.c: New file.
6047 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6050 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6052 2017-02-03 Tom Tromey <tom@tromey.com>
6055 * gdb.rust/simple.exp: Add new tests.
6057 2017-02-02 Pedro Alves <palves@redhat.com>
6059 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6062 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6064 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6065 taking a 2-byte value out of a 4-byte DWARF implicit value on
6067 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6068 logic. Add test cases for DW_OP_implicit.
6070 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6072 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6074 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6076 * gdb.btrace/enable.exp: Call gdb_exit before
6077 skip_gdbserver_tests.
6079 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6081 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6084 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6086 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6087 the test is skipped.
6088 * gdb.btrace/data.exp: Likewise.
6089 * gdb.btrace/delta.exp: Likewise.
6090 * gdb.btrace/dlopen.exp: Likewise.
6091 * gdb.btrace/enable-running.exp: Likewise.
6092 * gdb.btrace/enable.exp: Likewise.
6093 * gdb.btrace/exception.exp: Likewise.
6094 * gdb.btrace/function_call_history.exp: Likewise.
6095 * gdb.btrace/gcore.exp: Likewise.
6096 * gdb.btrace/instruction_history.exp: Likewise.
6097 * gdb.btrace/multi-thread-step.exp: Likewise.
6098 * gdb.btrace/nohist.exp: Likewise.
6099 * gdb.btrace/non-stop.exp: Likewise.
6100 * gdb.btrace/reconnect.exp: Likewise.
6101 * gdb.btrace/record_goto-step.exp: Likewise.
6102 * gdb.btrace/record_goto.exp: Likewise.
6103 * gdb.btrace/rn-dl-bind.exp: Likewise.
6104 * gdb.btrace/segv.exp: Likewise.
6105 * gdb.btrace/step.exp: Likewise.
6106 * gdb.btrace/stepi.exp: Likewise.
6107 * gdb.btrace/tailcall-only.exp: Likewise.
6108 * gdb.btrace/tailcall.exp: Likewise.
6109 * gdb.btrace/tsx.exp: Likewise.
6110 * gdb.btrace/unknown_functions.exp: Likewise.
6111 * gdb.btrace/vdso.exp: Likewise.
6113 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6115 * gdb.btrace/enable-running.c: New.
6116 * gdb.btrace/enable-running.exp: New.
6118 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6120 * gdb.arch/amd64-gs_base.c: New file.
6121 * gdb.arch/amd64-gs_base.exp: New file.
6123 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6125 * lib/memory.exp: Remove spurious empty newlines.
6127 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6129 * gdb.python/py-bad-printers.exp: Load python file using "source".
6130 * gdb.python/py-events.exp: Likewise.
6131 * gdb.python/py-evsignal.exp: Likewise.
6132 * gdb.python/py-evthreads.exp: Likewise.
6133 * gdb.python/py-frame-args.exp: Likewise.
6134 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6135 * gdb.python/py-framefilter-mi.exp: Likewise.
6136 * gdb.python/py-framefilter.exp: Likewise.
6137 * gdb.python/py-mi.exp: Likewise.
6138 * gdb.python/py-pp-maint.exp: Likewise.
6139 * gdb.python/py-pp-registration.exp: Likewise.
6140 * gdb.python/py-prettyprint.exp: Likewise.
6141 (run_lang_tests): Likewise.
6142 * gdb.python/py-typeprint.exp: Likewise.
6144 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6146 * lib/memory.exp: New file.
6147 * lib/gdb.exp: Load memory.exp.
6148 * gdb.base/memattr.exp (delete_memory): Move proc to
6149 lib/memory.exp and rename to delete_memory_regions.
6150 Replace delete_memory with delete_memory_regions.
6151 Cleanup memory regions before tests.
6152 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6155 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6157 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6159 (initialize): New function conditionally defined.
6160 (testcases): Move within conditional block.
6161 (main): Call initialize.
6162 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6163 of gdb.reverse/insn-reverse.c.
6164 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6165 gdb.reverse/insn-reverse.c.
6167 2017-01-26 Yao Qi <yao.qi@linaro.org>
6169 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6170 disassemble on address 0.
6172 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6173 Yao Qi <yao.qi@linaro.org>
6175 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6176 * gdb.dwarf2/implptr-64bit.S: Remove.
6177 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6178 variables in caller's context. Add DW_OP_implicit_value.
6180 2017-01-25 Yao Qi <yao.qi@linaro.org>
6182 * lib/dwarf.exp (Dwarf::_location): Handle
6183 DW_OP_GNU_implicit_pointer with proper size.
6185 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6187 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6188 and add untested calls.
6190 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6192 * gdb.python/python.exp: Check line number against what GDB thinks
6193 the line number is for func1.
6195 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6197 * gdb.dlang/debug-expr.exp: New file.
6199 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6201 Fix test names for the following files:
6203 * gdb.ada/exec_changed.exp
6204 * gdb.ada/info_types.exp
6205 * gdb.arch/aarch64-atomic-inst.exp
6206 * gdb.arch/aarch64-fp.exp
6207 * gdb.arch/altivec-abi.exp
6208 * gdb.arch/altivec-regs.exp
6209 * gdb.arch/amd64-byte.exp
6210 * gdb.arch/amd64-disp-step.exp
6211 * gdb.arch/amd64-dword.exp
6212 * gdb.arch/amd64-entry-value-inline.exp
6213 * gdb.arch/amd64-entry-value-param.exp
6214 * gdb.arch/amd64-entry-value-paramref.exp
6215 * gdb.arch/amd64-entry-value.exp
6216 * gdb.arch/amd64-i386-address.exp
6217 * gdb.arch/amd64-invalid-stack-middle.exp
6218 * gdb.arch/amd64-invalid-stack-top.exp
6219 * gdb.arch/amd64-optimout-repeat.exp
6220 * gdb.arch/amd64-prologue-skip.exp
6221 * gdb.arch/amd64-prologue-xmm.exp
6222 * gdb.arch/amd64-stap-special-operands.exp
6223 * gdb.arch/amd64-stap-wrong-subexp.exp
6224 * gdb.arch/amd64-tailcall-cxx.exp
6225 * gdb.arch/amd64-tailcall-noret.exp
6226 * gdb.arch/amd64-tailcall-ret.exp
6227 * gdb.arch/amd64-tailcall-self.exp
6228 * gdb.arch/amd64-word.exp
6229 * gdb.arch/arm-bl-branch-dest.exp
6230 * gdb.arch/arm-disp-step.exp
6231 * gdb.arch/arm-neon.exp
6232 * gdb.arch/arm-single-step-kernel-helper.exp
6233 * gdb.arch/avr-flash-qualifier.exp
6234 * gdb.arch/disp-step-insn-reloc.exp
6235 * gdb.arch/e500-abi.exp
6236 * gdb.arch/e500-regs.exp
6237 * gdb.arch/ftrace-insn-reloc.exp
6238 * gdb.arch/i386-avx512.exp
6239 * gdb.arch/i386-bp_permanent.exp
6240 * gdb.arch/i386-byte.exp
6241 * gdb.arch/i386-cfi-notcurrent.exp
6242 * gdb.arch/i386-disp-step.exp
6243 * gdb.arch/i386-dr3-watch.exp
6244 * gdb.arch/i386-float.exp
6245 * gdb.arch/i386-gnu-cfi.exp
6246 * gdb.arch/i386-mpx-map.exp
6247 * gdb.arch/i386-mpx-sigsegv.exp
6248 * gdb.arch/i386-mpx-simple_segv.exp
6249 * gdb.arch/i386-mpx.exp
6250 * gdb.arch/i386-permbkpt.exp
6251 * gdb.arch/i386-prologue.exp
6252 * gdb.arch/i386-signal.exp
6253 * gdb.arch/i386-size-overlap.exp
6254 * gdb.arch/i386-unwind.exp
6255 * gdb.arch/i386-word.exp
6256 * gdb.arch/mips-fcr.exp
6257 * gdb.arch/powerpc-d128-regs.exp
6258 * gdb.arch/powerpc-stackless.exp
6259 * gdb.arch/ppc64-atomic-inst.exp
6260 * gdb.arch/s390-stackless.exp
6261 * gdb.arch/s390-tdbregs.exp
6262 * gdb.arch/s390-vregs.exp
6263 * gdb.arch/sparc-sysstep.exp
6264 * gdb.arch/thumb-bx-pc.exp
6265 * gdb.arch/thumb-singlestep.exp
6266 * gdb.arch/thumb2-it.exp
6267 * gdb.arch/vsx-regs.exp
6268 * gdb.asm/asm-source.exp
6269 * gdb.base/a2-run.exp
6270 * gdb.base/advance.exp
6271 * gdb.base/all-bin.exp
6274 * gdb.base/arithmet.exp
6275 * gdb.base/async-shell.exp
6276 * gdb.base/async.exp
6277 * gdb.base/attach-pie-noexec.exp
6278 * gdb.base/attach-twice.exp
6279 * gdb.base/auto-load.exp
6281 * gdb.base/bitfields.exp
6282 * gdb.base/break-always.exp
6283 * gdb.base/break-caller-line.exp
6284 * gdb.base/break-entry.exp
6285 * gdb.base/break-inline.exp
6286 * gdb.base/break-on-linker-gcd-function.exp
6287 * gdb.base/break-probes.exp
6288 * gdb.base/break.exp
6289 * gdb.base/breakpoint-shadow.exp
6290 * gdb.base/call-ar-st.exp
6291 * gdb.base/call-sc.exp
6292 * gdb.base/call-signal-resume.exp
6293 * gdb.base/call-strs.exp
6294 * gdb.base/callfuncs.exp
6295 * gdb.base/catch-fork-static.exp
6296 * gdb.base/catch-gdb-caused-signals.exp
6297 * gdb.base/catch-load.exp
6298 * gdb.base/catch-signal-fork.exp
6299 * gdb.base/catch-signal.exp
6300 * gdb.base/catch-syscall.exp
6301 * gdb.base/charset.exp
6302 * gdb.base/checkpoint.exp
6303 * gdb.base/chng-syms.exp
6304 * gdb.base/code-expr.exp
6305 * gdb.base/code_elim.exp
6306 * gdb.base/commands.exp
6307 * gdb.base/completion.exp
6308 * gdb.base/complex.exp
6309 * gdb.base/cond-expr.exp
6310 * gdb.base/condbreak.exp
6311 * gdb.base/consecutive.exp
6312 * gdb.base/continue-all-already-running.exp
6313 * gdb.base/coredump-filter.exp
6314 * gdb.base/corefile.exp
6316 * gdb.base/debug-expr.exp
6317 * gdb.base/define.exp
6319 * gdb.base/disabled-location.exp
6320 * gdb.base/disasm-end-cu.exp
6321 * gdb.base/disasm-optim.exp
6322 * gdb.base/display.exp
6323 * gdb.base/duplicate-bp.exp
6324 * gdb.base/ena-dis-br.exp
6325 * gdb.base/ending-run.exp
6326 * gdb.base/enumval.exp
6327 * gdb.base/environ.exp
6328 * gdb.base/eu-strip-infcall.exp
6329 * gdb.base/eval-avoid-side-effects.exp
6330 * gdb.base/eval-skip.exp
6331 * gdb.base/exitsignal.exp
6332 * gdb.base/expand-psymtabs.exp
6333 * gdb.base/filesym.exp
6334 * gdb.base/find-unmapped.exp
6335 * gdb.base/finish.exp
6336 * gdb.base/float.exp
6337 * gdb.base/foll-exec-mode.exp
6338 * gdb.base/foll-exec.exp
6339 * gdb.base/foll-fork.exp
6340 * gdb.base/fortran-sym-case.exp
6341 * gdb.base/freebpcmd.exp
6342 * gdb.base/func-ptr.exp
6343 * gdb.base/func-ptrs.exp
6344 * gdb.base/funcargs.exp
6345 * gdb.base/gcore-buffer-overflow.exp
6346 * gdb.base/gcore-relro-pie.exp
6347 * gdb.base/gcore-relro.exp
6348 * gdb.base/gcore.exp
6349 * gdb.base/gdb1090.exp
6350 * gdb.base/gdb11530.exp
6351 * gdb.base/gdb11531.exp
6352 * gdb.base/gdb1821.exp
6353 * gdb.base/gdbindex-stabs.exp
6354 * gdb.base/gdbvars.exp
6355 * gdb.base/hbreak.exp
6356 * gdb.base/hbreak2.exp
6357 * gdb.base/included.exp
6358 * gdb.base/infcall-input.exp
6359 * gdb.base/inferior-died.exp
6360 * gdb.base/infnan.exp
6361 * gdb.base/info-macros.exp
6362 * gdb.base/info-os.exp
6363 * gdb.base/info-proc.exp
6364 * gdb.base/info-shared.exp
6365 * gdb.base/info-target.exp
6366 * gdb.base/infoline.exp
6367 * gdb.base/interp.exp
6368 * gdb.base/interrupt.exp
6369 * gdb.base/jit-reader.exp
6370 * gdb.base/jit-simple.exp
6371 * gdb.base/kill-after-signal.exp
6372 * gdb.base/kill-detach-inferiors-cmd.exp
6373 * gdb.base/label.exp
6374 * gdb.base/langs.exp
6375 * gdb.base/ldbl_e308.exp
6376 * gdb.base/line-symtabs.exp
6377 * gdb.base/linespecs.exp
6379 * gdb.base/long_long.exp
6380 * gdb.base/longest-types.exp
6381 * gdb.base/maint.exp
6382 * gdb.base/max-value-size.exp
6383 * gdb.base/memattr.exp
6384 * gdb.base/mips_pro.exp
6385 * gdb.base/morestack.exp
6386 * gdb.base/moribund-step.exp
6387 * gdb.base/multi-forks.exp
6388 * gdb.base/nested-addr.exp
6389 * gdb.base/nextoverexit.exp
6390 * gdb.base/noreturn-finish.exp
6391 * gdb.base/noreturn-return.exp
6392 * gdb.base/nostdlib.exp
6393 * gdb.base/offsets.exp
6394 * gdb.base/opaque.exp
6395 * gdb.base/pc-fp.exp
6396 * gdb.base/permissions.exp
6397 * gdb.base/print-symbol-loading.exp
6398 * gdb.base/prologue-include.exp
6399 * gdb.base/psymtab.exp
6400 * gdb.base/ptype.exp
6401 * gdb.base/random-signal.exp
6402 * gdb.base/randomize.exp
6403 * gdb.base/range-stepping.exp
6404 * gdb.base/readline-ask.exp
6405 * gdb.base/recpar.exp
6406 * gdb.base/recurse.exp
6407 * gdb.base/relational.exp
6408 * gdb.base/restore.exp
6409 * gdb.base/return-nodebug.exp
6410 * gdb.base/return.exp
6411 * gdb.base/run-after-attach.exp
6412 * gdb.base/save-bp.exp
6413 * gdb.base/scope.exp
6414 * gdb.base/sect-cmd.exp
6415 * gdb.base/set-lang-auto.exp
6416 * gdb.base/set-noassign.exp
6417 * gdb.base/setvar.exp
6418 * gdb.base/sigall.exp
6419 * gdb.base/sigbpt.exp
6420 * gdb.base/siginfo-addr.exp
6421 * gdb.base/siginfo-infcall.exp
6422 * gdb.base/siginfo-obj.exp
6423 * gdb.base/siginfo.exp
6424 * gdb.base/signals-state-child.exp
6425 * gdb.base/signest.exp
6426 * gdb.base/sigstep.exp
6427 * gdb.base/sizeof.exp
6429 * gdb.base/solib-corrupted.exp
6430 * gdb.base/solib-nodir.exp
6431 * gdb.base/solib-search.exp
6432 * gdb.base/stack-checking.exp
6433 * gdb.base/stale-infcall.exp
6434 * gdb.base/stap-probe.exp
6435 * gdb.base/start.exp
6436 * gdb.base/step-break.exp
6437 * gdb.base/step-bt.exp
6438 * gdb.base/step-line.exp
6439 * gdb.base/step-over-exit.exp
6440 * gdb.base/step-over-syscall.exp
6441 * gdb.base/step-resume-infcall.exp
6442 * gdb.base/step-test.exp
6443 * gdb.base/store.exp
6444 * gdb.base/structs3.exp
6445 * gdb.base/sym-file.exp
6446 * gdb.base/symbol-without-target_section.exp
6448 * gdb.base/testenv.exp
6449 * gdb.base/ui-redirect.exp
6450 * gdb.base/until.exp
6451 * gdb.base/unwindonsignal.exp
6452 * gdb.base/value-double-free.exp
6453 * gdb.base/vla-datatypes.exp
6454 * gdb.base/vla-ptr.exp
6455 * gdb.base/vla-sideeffect.exp
6456 * gdb.base/volatile.exp
6457 * gdb.base/watch-cond-infcall.exp
6458 * gdb.base/watch-cond.exp
6459 * gdb.base/watch-non-mem.exp
6460 * gdb.base/watch-read.exp
6461 * gdb.base/watch-vfork.exp
6462 * gdb.base/watchpoint-cond-gone.exp
6463 * gdb.base/watchpoint-delete.exp
6464 * gdb.base/watchpoint-hw-hit-once.exp
6465 * gdb.base/watchpoint-hw.exp
6466 * gdb.base/watchpoint-stops-at-right-insn.exp
6467 * gdb.base/watchpoints.exp
6468 * gdb.base/wchar.exp
6469 * gdb.base/whatis-exp.exp
6470 * gdb.btrace/buffer-size.exp
6471 * gdb.btrace/data.exp
6472 * gdb.btrace/delta.exp
6473 * gdb.btrace/dlopen.exp
6474 * gdb.btrace/enable.exp
6475 * gdb.btrace/exception.exp
6476 * gdb.btrace/function_call_history.exp
6477 * gdb.btrace/gcore.exp
6478 * gdb.btrace/instruction_history.exp
6479 * gdb.btrace/nohist.exp
6480 * gdb.btrace/reconnect.exp
6481 * gdb.btrace/record_goto-step.exp
6482 * gdb.btrace/record_goto.exp
6483 * gdb.btrace/rn-dl-bind.exp
6484 * gdb.btrace/segv.exp
6485 * gdb.btrace/step.exp
6486 * gdb.btrace/stepi.exp
6487 * gdb.btrace/tailcall-only.exp
6488 * gdb.btrace/tailcall.exp
6489 * gdb.btrace/tsx.exp
6490 * gdb.btrace/unknown_functions.exp
6491 * gdb.btrace/vdso.exp
6492 * gdb.compile/compile-ifunc.exp
6493 * gdb.compile/compile-ops.exp
6494 * gdb.compile/compile-print.exp
6495 * gdb.compile/compile-setjmp.exp
6496 * gdb.cp/abstract-origin.exp
6497 * gdb.cp/ambiguous.exp
6498 * gdb.cp/annota2.exp
6499 * gdb.cp/annota3.exp
6500 * gdb.cp/anon-ns.exp
6501 * gdb.cp/anon-struct.exp
6502 * gdb.cp/anon-union.exp
6503 * gdb.cp/arg-reference.exp
6504 * gdb.cp/baseenum.exp
6506 * gdb.cp/breakpoint.exp
6507 * gdb.cp/bs15503.exp
6510 * gdb.cp/chained-calls.exp
6512 * gdb.cp/classes.exp
6513 * gdb.cp/cmpd-minsyms.exp
6514 * gdb.cp/converts.exp
6515 * gdb.cp/cp-relocate.exp
6516 * gdb.cp/cpcompletion.exp
6517 * gdb.cp/cpexprs.exp
6518 * gdb.cp/cplabel.exp
6519 * gdb.cp/cplusfuncs.exp
6520 * gdb.cp/cpsizeof.exp
6522 * gdb.cp/derivation.exp
6523 * gdb.cp/destrprint.exp
6524 * gdb.cp/dispcxx.exp
6525 * gdb.cp/enum-class.exp
6526 * gdb.cp/exception.exp
6527 * gdb.cp/exceptprint.exp
6528 * gdb.cp/expand-psymtabs-cxx.exp
6529 * gdb.cp/expand-sals.exp
6530 * gdb.cp/extern-c.exp
6531 * gdb.cp/filename.exp
6532 * gdb.cp/formatted-ref.exp
6533 * gdb.cp/fpointer.exp
6534 * gdb.cp/gdb1355.exp
6535 * gdb.cp/gdb2495.exp
6537 * gdb.cp/impl-this.exp
6538 * gdb.cp/infcall-dlopen.exp
6539 * gdb.cp/inherit.exp
6540 * gdb.cp/iostream.exp
6544 * gdb.cp/m-static.exp
6545 * gdb.cp/mb-ctor.exp
6546 * gdb.cp/mb-inline.exp
6547 * gdb.cp/mb-templates.exp
6548 * gdb.cp/member-name.exp
6549 * gdb.cp/member-ptr.exp
6550 * gdb.cp/meth-typedefs.exp
6552 * gdb.cp/method2.exp
6553 * gdb.cp/minsym-fallback.exp
6555 * gdb.cp/namelessclass.exp
6556 * gdb.cp/namespace-enum.exp
6557 * gdb.cp/namespace-nested-import.exp
6558 * gdb.cp/namespace.exp
6559 * gdb.cp/nextoverthrow.exp
6560 * gdb.cp/no-dmgl-verbose.exp
6561 * gdb.cp/non-trivial-retval.exp
6562 * gdb.cp/noparam.exp
6564 * gdb.cp/nsimport.exp
6565 * gdb.cp/nsnested.exp
6566 * gdb.cp/nsnoimports.exp
6567 * gdb.cp/nsrecurs.exp
6568 * gdb.cp/nsstress.exp
6569 * gdb.cp/nsusing.exp
6570 * gdb.cp/operator.exp
6571 * gdb.cp/oranking.exp
6572 * gdb.cp/overload-const.exp
6573 * gdb.cp/overload.exp
6574 * gdb.cp/ovldbreak.exp
6576 * gdb.cp/paren-type.exp
6577 * gdb.cp/parse-lang.exp
6578 * gdb.cp/pass-by-ref.exp
6579 * gdb.cp/pr-1023.exp
6580 * gdb.cp/pr-1210.exp
6582 * gdb.cp/pr10687.exp
6583 * gdb.cp/pr12028.exp
6584 * gdb.cp/pr17132.exp
6585 * gdb.cp/pr17494.exp
6589 * gdb.cp/printmethod.exp
6591 * gdb.cp/psymtab-parameter.exp
6592 * gdb.cp/ptype-cv-cp.exp
6593 * gdb.cp/ptype-flags.exp
6594 * gdb.cp/re-set-overloaded.exp
6595 * gdb.cp/ref-types.exp
6597 * gdb.cp/scope-err.exp
6600 * gdb.cp/static-method.exp
6601 * gdb.cp/static-print-quit.exp
6602 * gdb.cp/temargs.exp
6603 * gdb.cp/templates.exp
6604 * gdb.cp/try_catch.exp
6605 * gdb.cp/typedef-operator.exp
6607 * gdb.cp/userdef.exp
6608 * gdb.cp/using-crash.exp
6609 * gdb.cp/var-tag.exp
6610 * gdb.cp/virtbase.exp
6611 * gdb.cp/virtfunc.exp
6612 * gdb.cp/virtfunc2.exp
6613 * gdb.cp/vla-cxx.exp
6614 * gdb.disasm/t01_mov.exp
6615 * gdb.disasm/t02_mova.exp
6616 * gdb.disasm/t03_add.exp
6617 * gdb.disasm/t04_sub.exp
6618 * gdb.disasm/t05_cmp.exp
6619 * gdb.disasm/t06_ari2.exp
6620 * gdb.disasm/t07_ari3.exp
6621 * gdb.disasm/t08_or.exp
6622 * gdb.disasm/t09_xor.exp
6623 * gdb.disasm/t10_and.exp
6624 * gdb.disasm/t11_logs.exp
6625 * gdb.disasm/t12_bit.exp
6626 * gdb.disasm/t13_otr.exp
6627 * gdb.dlang/circular.exp
6628 * gdb.dwarf2/arr-stride.exp
6629 * gdb.dwarf2/arr-subrange.exp
6630 * gdb.dwarf2/atomic-type.exp
6631 * gdb.dwarf2/bad-regnum.exp
6632 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6633 * gdb.dwarf2/callframecfa.exp
6634 * gdb.dwarf2/clztest.exp
6635 * gdb.dwarf2/corrupt.exp
6636 * gdb.dwarf2/data-loc.exp
6637 * gdb.dwarf2/dup-psym.exp
6638 * gdb.dwarf2/dw2-anon-mptr.exp
6639 * gdb.dwarf2/dw2-anonymous-func.exp
6640 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6641 * gdb.dwarf2/dw2-bad-unresolved.exp
6642 * gdb.dwarf2/dw2-basic.exp
6643 * gdb.dwarf2/dw2-canonicalize-type.exp
6644 * gdb.dwarf2/dw2-case-insensitive.exp
6645 * gdb.dwarf2/dw2-common-block.exp
6646 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6647 * gdb.dwarf2/dw2-compressed.exp
6648 * gdb.dwarf2/dw2-const.exp
6649 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6650 * gdb.dwarf2/dw2-cu-size.exp
6651 * gdb.dwarf2/dw2-dup-frame.exp
6652 * gdb.dwarf2/dw2-entry-value.exp
6653 * gdb.dwarf2/dw2-icycle.exp
6654 * gdb.dwarf2/dw2-ifort-parameter.exp
6655 * gdb.dwarf2/dw2-inline-break.exp
6656 * gdb.dwarf2/dw2-inline-param.exp
6657 * gdb.dwarf2/dw2-intercu.exp
6658 * gdb.dwarf2/dw2-intermix.exp
6659 * gdb.dwarf2/dw2-lexical-block-bare.exp
6660 * gdb.dwarf2/dw2-linkage-name-trust.exp
6661 * gdb.dwarf2/dw2-minsym-in-cu.exp
6662 * gdb.dwarf2/dw2-noloc.exp
6663 * gdb.dwarf2/dw2-op-call.exp
6664 * gdb.dwarf2/dw2-op-out-param.exp
6665 * gdb.dwarf2/dw2-opt-structptr.exp
6666 * gdb.dwarf2/dw2-param-error.exp
6667 * gdb.dwarf2/dw2-producer.exp
6668 * gdb.dwarf2/dw2-ranges-base.exp
6669 * gdb.dwarf2/dw2-ref-missing-frame.exp
6670 * gdb.dwarf2/dw2-reg-undefined.exp
6671 * gdb.dwarf2/dw2-regno-invalid.exp
6672 * gdb.dwarf2/dw2-restore.exp
6673 * gdb.dwarf2/dw2-restrict.exp
6674 * gdb.dwarf2/dw2-single-line-discriminators.exp
6675 * gdb.dwarf2/dw2-strp.exp
6676 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6677 * gdb.dwarf2/dw2-unresolved.exp
6678 * gdb.dwarf2/dw2-var-zero-addr.exp
6679 * gdb.dwarf2/dw4-sig-types.exp
6680 * gdb.dwarf2/dwz.exp
6681 * gdb.dwarf2/dynarr-ptr.exp
6682 * gdb.dwarf2/enum-type.exp
6683 * gdb.dwarf2/gdb-index.exp
6684 * gdb.dwarf2/implptr-64bit.exp
6685 * gdb.dwarf2/implptr-optimized-out.exp
6686 * gdb.dwarf2/implptr.exp
6687 * gdb.dwarf2/implref-array.exp
6688 * gdb.dwarf2/implref-const.exp
6689 * gdb.dwarf2/implref-global.exp
6690 * gdb.dwarf2/implref-struct.exp
6691 * gdb.dwarf2/mac-fileno.exp
6692 * gdb.dwarf2/main-subprogram.exp
6693 * gdb.dwarf2/member-ptr-forwardref.exp
6694 * gdb.dwarf2/method-ptr.exp
6695 * gdb.dwarf2/missing-sig-type.exp
6696 * gdb.dwarf2/nonvar-access.exp
6697 * gdb.dwarf2/opaque-type-lookup.exp
6698 * gdb.dwarf2/pieces-optimized-out.exp
6699 * gdb.dwarf2/pieces.exp
6700 * gdb.dwarf2/pr10770.exp
6701 * gdb.dwarf2/pr13961.exp
6702 * gdb.dwarf2/staticvirtual.exp
6703 * gdb.dwarf2/subrange.exp
6704 * gdb.dwarf2/symtab-producer.exp
6705 * gdb.dwarf2/trace-crash.exp
6706 * gdb.dwarf2/typeddwarf.exp
6707 * gdb.dwarf2/valop.exp
6708 * gdb.dwarf2/watch-notconst.exp
6709 * gdb.fortran/array-element.exp
6710 * gdb.fortran/charset.exp
6711 * gdb.fortran/common-block.exp
6712 * gdb.fortran/complex.exp
6713 * gdb.fortran/derived-type-function.exp
6714 * gdb.fortran/derived-type.exp
6715 * gdb.fortran/logical.exp
6716 * gdb.fortran/module.exp
6717 * gdb.fortran/multi-dim.exp
6718 * gdb.fortran/nested-funcs.exp
6719 * gdb.fortran/print-formatted.exp
6720 * gdb.fortran/subarray.exp
6721 * gdb.fortran/vla-alloc-assoc.exp
6722 * gdb.fortran/vla-datatypes.exp
6723 * gdb.fortran/vla-history.exp
6724 * gdb.fortran/vla-ptr-info.exp
6725 * gdb.fortran/vla-ptype-sub.exp
6726 * gdb.fortran/vla-ptype.exp
6727 * gdb.fortran/vla-sizeof.exp
6728 * gdb.fortran/vla-type.exp
6729 * gdb.fortran/vla-value-sub-arbitrary.exp
6730 * gdb.fortran/vla-value-sub-finish.exp
6731 * gdb.fortran/vla-value-sub.exp
6732 * gdb.fortran/vla-value.exp
6733 * gdb.fortran/whatis_type.exp
6735 * gdb.go/handcall.exp
6737 * gdb.go/integers.exp
6738 * gdb.go/methods.exp
6739 * gdb.go/package.exp
6740 * gdb.go/strings.exp
6743 * gdb.guile/scm-arch.exp
6744 * gdb.guile/scm-block.exp
6745 * gdb.guile/scm-breakpoint.exp
6746 * gdb.guile/scm-cmd.exp
6747 * gdb.guile/scm-disasm.exp
6748 * gdb.guile/scm-equal.exp
6749 * gdb.guile/scm-frame-args.exp
6750 * gdb.guile/scm-frame-inline.exp
6751 * gdb.guile/scm-frame.exp
6752 * gdb.guile/scm-iterator.exp
6753 * gdb.guile/scm-math.exp
6754 * gdb.guile/scm-objfile.exp
6755 * gdb.guile/scm-ports.exp
6756 * gdb.guile/scm-symbol.exp
6757 * gdb.guile/scm-symtab.exp
6758 * gdb.guile/scm-value-cc.exp
6759 * gdb.guile/types-module.exp
6760 * gdb.linespec/break-ask.exp
6761 * gdb.linespec/cpexplicit.exp
6762 * gdb.linespec/explicit.exp
6763 * gdb.linespec/keywords.exp
6764 * gdb.linespec/linespec.exp
6765 * gdb.linespec/ls-dollar.exp
6766 * gdb.linespec/ls-errs.exp
6767 * gdb.linespec/skip-two.exp
6768 * gdb.linespec/thread.exp
6769 * gdb.mi/mi-async.exp
6770 * gdb.mi/mi-basics.exp
6771 * gdb.mi/mi-break.exp
6772 * gdb.mi/mi-catch-load.exp
6774 * gdb.mi/mi-cmd-param-changed.exp
6775 * gdb.mi/mi-console.exp
6776 * gdb.mi/mi-detach.exp
6777 * gdb.mi/mi-disassemble.exp
6778 * gdb.mi/mi-eval.exp
6779 * gdb.mi/mi-file-transfer.exp
6780 * gdb.mi/mi-file.exp
6781 * gdb.mi/mi-fill-memory.exp
6782 * gdb.mi/mi-inheritance-syntax-error.exp
6783 * gdb.mi/mi-linespec-err-cp.exp
6784 * gdb.mi/mi-logging.exp
6785 * gdb.mi/mi-memory-changed.exp
6786 * gdb.mi/mi-read-memory.exp
6787 * gdb.mi/mi-record-changed.exp
6788 * gdb.mi/mi-reg-undefined.exp
6789 * gdb.mi/mi-regs.exp
6790 * gdb.mi/mi-return.exp
6791 * gdb.mi/mi-reverse.exp
6792 * gdb.mi/mi-simplerun.exp
6793 * gdb.mi/mi-solib.exp
6794 * gdb.mi/mi-stack.exp
6795 * gdb.mi/mi-stepi.exp
6796 * gdb.mi/mi-syn-frame.exp
6797 * gdb.mi/mi-until.exp
6798 * gdb.mi/mi-var-block.exp
6799 * gdb.mi/mi-var-child.exp
6800 * gdb.mi/mi-var-cmd.exp
6801 * gdb.mi/mi-var-cp.exp
6802 * gdb.mi/mi-var-display.exp
6803 * gdb.mi/mi-var-invalidate.exp
6804 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6805 * gdb.mi/mi-vla-fortran.exp
6806 * gdb.mi/mi-watch.exp
6807 * gdb.mi/mi2-var-child.exp
6808 * gdb.mi/user-selected-context-sync.exp
6809 * gdb.modula2/unbounded-array.exp
6810 * gdb.multi/dummy-frame-restore.exp
6811 * gdb.multi/multi-arch-exec.exp
6812 * gdb.multi/multi-arch.exp
6813 * gdb.multi/tids.exp
6814 * gdb.multi/watchpoint-multi.exp
6815 * gdb.opencl/callfuncs.exp
6816 * gdb.opencl/convs_casts.exp
6817 * gdb.opencl/datatypes.exp
6818 * gdb.opencl/operators.exp
6819 * gdb.opencl/vec_comps.exp
6820 * gdb.opt/clobbered-registers-O2.exp
6821 * gdb.opt/inline-break.exp
6822 * gdb.opt/inline-bt.exp
6823 * gdb.opt/inline-cmds.exp
6824 * gdb.opt/inline-locals.exp
6825 * gdb.pascal/case-insensitive-symbols.exp
6826 * gdb.pascal/floats.exp
6827 * gdb.pascal/gdb11492.exp
6828 * gdb.python/lib-types.exp
6829 * gdb.python/py-arch.exp
6830 * gdb.python/py-as-string.exp
6831 * gdb.python/py-bad-printers.exp
6832 * gdb.python/py-block.exp
6833 * gdb.python/py-breakpoint-create-fail.exp
6834 * gdb.python/py-breakpoint.exp
6835 * gdb.python/py-caller-is.exp
6836 * gdb.python/py-cmd.exp
6837 * gdb.python/py-explore-cc.exp
6838 * gdb.python/py-explore.exp
6839 * gdb.python/py-finish-breakpoint.exp
6840 * gdb.python/py-finish-breakpoint2.exp
6841 * gdb.python/py-frame-args.exp
6842 * gdb.python/py-frame-inline.exp
6843 * gdb.python/py-frame.exp
6844 * gdb.python/py-framefilter-mi.exp
6845 * gdb.python/py-infthread.exp
6846 * gdb.python/py-lazy-string.exp
6847 * gdb.python/py-linetable.exp
6848 * gdb.python/py-mi-events.exp
6849 * gdb.python/py-mi-objfile.exp
6850 * gdb.python/py-mi.exp
6851 * gdb.python/py-objfile.exp
6852 * gdb.python/py-pp-integral.exp
6853 * gdb.python/py-pp-maint.exp
6854 * gdb.python/py-pp-re-notag.exp
6855 * gdb.python/py-pp-registration.exp
6856 * gdb.python/py-recurse-unwind.exp
6857 * gdb.python/py-strfns.exp
6858 * gdb.python/py-symbol.exp
6859 * gdb.python/py-symtab.exp
6860 * gdb.python/py-sync-interp.exp
6861 * gdb.python/py-typeprint.exp
6862 * gdb.python/py-unwind-maint.exp
6863 * gdb.python/py-unwind.exp
6864 * gdb.python/py-value-cc.exp
6865 * gdb.python/py-xmethods.exp
6866 * gdb.reverse/amd64-tailcall-reverse.exp
6867 * gdb.reverse/break-precsave.exp
6868 * gdb.reverse/break-reverse.exp
6869 * gdb.reverse/consecutive-precsave.exp
6870 * gdb.reverse/consecutive-reverse.exp
6871 * gdb.reverse/finish-precsave.exp
6872 * gdb.reverse/finish-reverse-bkpt.exp
6873 * gdb.reverse/finish-reverse.exp
6874 * gdb.reverse/fstatat-reverse.exp
6875 * gdb.reverse/getresuid-reverse.exp
6876 * gdb.reverse/i386-precsave.exp
6877 * gdb.reverse/i386-reverse.exp
6878 * gdb.reverse/i386-sse-reverse.exp
6879 * gdb.reverse/i387-env-reverse.exp
6880 * gdb.reverse/i387-stack-reverse.exp
6881 * gdb.reverse/insn-reverse.exp
6882 * gdb.reverse/machinestate-precsave.exp
6883 * gdb.reverse/machinestate.exp
6884 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6885 * gdb.reverse/pipe-reverse.exp
6886 * gdb.reverse/readv-reverse.exp
6887 * gdb.reverse/recvmsg-reverse.exp
6888 * gdb.reverse/rerun-prec.exp
6889 * gdb.reverse/s390-mvcle.exp
6890 * gdb.reverse/step-precsave.exp
6891 * gdb.reverse/step-reverse.exp
6892 * gdb.reverse/time-reverse.exp
6893 * gdb.reverse/until-precsave.exp
6894 * gdb.reverse/until-reverse.exp
6895 * gdb.reverse/waitpid-reverse.exp
6896 * gdb.reverse/watch-precsave.exp
6897 * gdb.reverse/watch-reverse.exp
6898 * gdb.rust/generics.exp
6899 * gdb.rust/methods.exp
6900 * gdb.rust/modules.exp
6901 * gdb.rust/simple.exp
6902 * gdb.server/connect-with-no-symbol-file.exp
6903 * gdb.server/ext-attach.exp
6904 * gdb.server/ext-restart.exp
6905 * gdb.server/ext-wrapper.exp
6906 * gdb.server/file-transfer.exp
6907 * gdb.server/server-exec-info.exp
6908 * gdb.server/server-kill.exp
6909 * gdb.server/server-mon.exp
6910 * gdb.server/wrapper.exp
6911 * gdb.stabs/exclfwd.exp
6912 * gdb.stabs/gdb11479.exp
6913 * gdb.threads/clone-new-thread-event.exp
6914 * gdb.threads/corethreads.exp
6915 * gdb.threads/current-lwp-dead.exp
6916 * gdb.threads/dlopen-libpthread.exp
6917 * gdb.threads/gcore-thread.exp
6918 * gdb.threads/sigstep-threads.exp
6919 * gdb.threads/watchpoint-fork.exp
6920 * gdb.trace/actions-changed.exp
6921 * gdb.trace/backtrace.exp
6922 * gdb.trace/change-loc.exp
6923 * gdb.trace/circ.exp
6924 * gdb.trace/collection.exp
6925 * gdb.trace/disconnected-tracing.exp
6926 * gdb.trace/ftrace.exp
6927 * gdb.trace/mi-trace-frame-collected.exp
6928 * gdb.trace/mi-trace-unavailable.exp
6929 * gdb.trace/mi-traceframe-changed.exp
6930 * gdb.trace/mi-tsv-changed.exp
6931 * gdb.trace/no-attach-trace.exp
6932 * gdb.trace/passc-dyn.exp
6933 * gdb.trace/qtro.exp
6934 * gdb.trace/range-stepping.exp
6935 * gdb.trace/read-memory.exp
6936 * gdb.trace/save-trace.exp
6937 * gdb.trace/signal.exp
6938 * gdb.trace/status-stop.exp
6939 * gdb.trace/tfile.exp
6940 * gdb.trace/trace-break.exp
6941 * gdb.trace/trace-buffer-size.exp
6942 * gdb.trace/trace-condition.exp
6943 * gdb.trace/tracefile-pseudo-reg.exp
6944 * gdb.trace/tstatus.exp
6945 * gdb.trace/unavailable.exp
6946 * gdb.trace/while-dyn.exp
6947 * gdb.trace/while-stepping.exp
6949 2016-12-22 Doug Evans <xdje42@gmail.com>
6951 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6954 2016-12-19 Yao Qi <yao.qi@linaro.org>
6956 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6957 (test_with_self): Don't call do_steps_and_nexts, and remove
6958 code about stepping into xmalloc.
6960 2016-12-09 Yao Qi <yao.qi@linaro.org>
6962 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6964 2016-12-09 Yao Qi <yao.qi@linaro.org>
6966 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6968 2016-12-09 Pedro Alves <palves@redhat.com>
6970 * gdb.base/all-architectures-0.exp: New file.
6971 * gdb.base/all-architectures-1.exp: New file.
6972 * gdb.base/all-architectures-2.exp: New file.
6973 * gdb.base/all-architectures-3.exp: New file.
6974 * gdb.base/all-architectures-4.exp: New file.
6975 * gdb.base/all-architectures-5.exp: New file.
6976 * gdb.base/all-architectures-6.exp: New file.
6977 * gdb.base/all-architectures-7.exp: New file.
6978 * gdb.base/all-architectures.exp.in: New file.
6980 2016-12-09 Yao Qi <yao.qi@linaro.org>
6982 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6984 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6986 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6988 Remove useless pattern-matching code.
6990 2016-12-02 Pedro Alves <palves@redhat.com>
6992 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6994 (top level): Call it.
6996 2016-12-02 Pedro Alves <palves@redhat.com>
6998 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7000 (top level): Call it.
7002 2016-12-02 Pedro Alves <palves@redhat.com>
7005 * gdb.base/commands.exp (user_defined_command_args_eval): New
7007 (top level): Call it.
7009 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7011 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7014 2016-12-02 Tom Tromey <tom@tromey.com>
7016 * gdb.dwarf2/main-subprogram.c: New file.
7017 * gdb.dwarf2/main-subprogram.exp: New file.
7019 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7021 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7022 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7023 gdb_test_no_output for a couple of cases.
7024 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7026 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7028 Fix test names and standardize compilation error messages throughout
7029 the following files:
7032 * gdb.arch/alpha-step.exp
7033 * gdb.arch/e500-prologue.exp
7034 * gdb.arch/ftrace-insn-reloc.exp
7035 * gdb.arch/gdb1291.exp
7036 * gdb.arch/gdb1431.exp
7037 * gdb.arch/gdb1558.exp
7038 * gdb.arch/i386-dr3-watch.exp
7039 * gdb.arch/i386-sse-stack-align.exp
7040 * gdb.arch/ia64-breakpoint-shadow.exp
7041 * gdb.arch/pa-nullify.exp
7042 * gdb.arch/powerpc-aix-prologue.exp
7043 * gdb.arch/thumb-bx-pc.exp
7044 * gdb.base/annota1.exp
7045 * gdb.base/annota3.exp
7046 * gdb.base/arrayidx.exp
7047 * gdb.base/assign.exp
7048 * gdb.base/attach.exp
7051 * gdb.base/bfp-test.exp
7052 * gdb.base/bigcore.exp
7053 * gdb.base/bitfields2.exp
7054 * gdb.base/break-fun-addr.exp
7055 * gdb.base/break-probes.exp
7056 * gdb.base/call-rt-st.exp
7057 * gdb.base/callexit.exp
7058 * gdb.base/catch-fork-kill.exp
7059 * gdb.base/charset.exp
7060 * gdb.base/checkpoint.exp
7061 * gdb.base/comprdebug.exp
7062 * gdb.base/constvars.exp
7063 * gdb.base/coredump-filter.exp
7064 * gdb.base/cursal.exp
7065 * gdb.base/cvexpr.exp
7066 * gdb.base/detach.exp
7067 * gdb.base/display.exp
7068 * gdb.base/dmsym.exp
7069 * gdb.base/dprintf-pending.exp
7070 * gdb.base/dso2dso.exp
7071 * gdb.base/dtrace-probe.exp
7073 * gdb.base/enum_cond.exp
7074 * gdb.base/exe-lock.exp
7075 * gdb.base/exec-invalid-sysroot.exp
7076 * gdb.base/execl-update-breakpoints.exp
7077 * gdb.base/exprs.exp
7078 * gdb.base/fileio.exp
7080 * gdb.base/finish.exp
7081 * gdb.base/fixsection.exp
7082 * gdb.base/foll-vfork.exp
7083 * gdb.base/frame-args.exp
7084 * gdb.base/gcore.exp
7085 * gdb.base/gdb1250.exp
7086 * gdb.base/global-var-nested-by-dso.exp
7087 * gdb.base/gnu-ifunc.exp
7088 * gdb.base/hashline1.exp
7089 * gdb.base/hashline2.exp
7090 * gdb.base/hashline3.exp
7091 * gdb.base/hbreak-in-shr-unsupported.exp
7093 * gdb.base/infcall-input.exp
7094 * gdb.base/info-fun.exp
7095 * gdb.base/info-shared.exp
7096 * gdb.base/jit-simple.exp
7097 * gdb.base/jit-so.exp
7100 * gdb.base/label.exp
7101 * gdb.base/lineinc.exp
7102 * gdb.base/logical.exp
7103 * gdb.base/longjmp.exp
7104 * gdb.base/macscp.exp
7105 * gdb.base/miscexprs.exp
7106 * gdb.base/new-ui-echo.exp
7107 * gdb.base/new-ui-pending-input.exp
7108 * gdb.base/new-ui.exp
7109 * gdb.base/nodebug.exp
7110 * gdb.base/nofield.exp
7111 * gdb.base/offsets.exp
7112 * gdb.base/overlays.exp
7113 * gdb.base/pending.exp
7114 * gdb.base/pointers.exp
7115 * gdb.base/pr11022.exp
7116 * gdb.base/printcmds.exp
7117 * gdb.base/prologue.exp
7118 * gdb.base/ptr-typedef.exp
7119 * gdb.base/realname-expand.exp
7120 * gdb.base/relativedebug.exp
7121 * gdb.base/relocate.exp
7122 * gdb.base/remote.exp
7123 * gdb.base/reread.exp
7124 * gdb.base/return2.exp
7125 * gdb.base/savedregs.exp
7127 * gdb.base/sepdebug.exp
7128 * gdb.base/sepsymtab.exp
7129 * gdb.base/set-inferior-tty.exp
7130 * gdb.base/setshow.exp
7131 * gdb.base/shlib-call.exp
7132 * gdb.base/sigaltstack.exp
7133 * gdb.base/siginfo-addr.exp
7134 * gdb.base/signals.exp
7135 * gdb.base/signull.exp
7136 * gdb.base/sigrepeat.exp
7137 * gdb.base/so-impl-ld.exp
7138 * gdb.base/solib-display.exp
7139 * gdb.base/solib-overlap.exp
7140 * gdb.base/solib-search.exp
7141 * gdb.base/solib-symbol.exp
7142 * gdb.base/structs.exp
7143 * gdb.base/structs2.exp
7144 * gdb.base/symtab-search-order.exp
7145 * gdb.base/twice.exp
7146 * gdb.base/unload.exp
7147 * gdb.base/varargs.exp
7148 * gdb.base/watchpoint-solib.exp
7149 * gdb.base/watchpoint.exp
7150 * gdb.base/whatis.exp
7151 * gdb.base/wrong_frame_bt_full.exp
7152 * gdb.btrace/dlopen.exp
7153 * gdb.cell/ea-standalone.exp
7154 * gdb.cell/ea-test.exp
7155 * gdb.cp/dispcxx.exp
7156 * gdb.cp/gdb2384.exp
7157 * gdb.cp/method2.exp
7158 * gdb.cp/nextoverthrow.exp
7159 * gdb.cp/pr10728.exp
7160 * gdb.disasm/am33.exp
7161 * gdb.disasm/h8300s.exp
7162 * gdb.disasm/mn10300.exp
7163 * gdb.disasm/sh3.exp
7164 * gdb.dwarf2/dw2-dir-file-name.exp
7165 * gdb.fortran/complex.exp
7166 * gdb.fortran/library-module.exp
7167 * gdb.guile/scm-pretty-print.exp
7168 * gdb.guile/scm-symbol.exp
7169 * gdb.guile/scm-type.exp
7170 * gdb.guile/scm-value.exp
7171 * gdb.linespec/linespec.exp
7174 * gdb.mi/mi-breakpoint-changed.exp
7175 * gdb.mi/mi-dprintf-pending.exp
7176 * gdb.mi/mi-dprintf.exp
7177 * gdb.mi/mi-exit-code.exp
7178 * gdb.mi/mi-pending.exp
7179 * gdb.mi/mi-solib.exp
7180 * gdb.mi/new-ui-mi-sync.exp
7181 * gdb.mi/pr11022.exp
7182 * gdb.mi/user-selected-context-sync.exp
7183 * gdb.opt/solib-intra-step.exp
7184 * gdb.python/py-events.exp
7185 * gdb.python/py-finish-breakpoint.exp
7186 * gdb.python/py-mi.exp
7187 * gdb.python/py-prettyprint.exp
7188 * gdb.python/py-shared.exp
7189 * gdb.python/py-symbol.exp
7190 * gdb.python/py-template.exp
7191 * gdb.python/py-type.exp
7192 * gdb.python/py-value.exp
7193 * gdb.reverse/solib-precsave.exp
7194 * gdb.reverse/solib-reverse.exp
7195 * gdb.server/solib-list.exp
7196 * gdb.stabs/weird.exp
7197 * gdb.threads/reconnect-signal.exp
7198 * gdb.threads/stepi-random-signal.exp
7199 * gdb.trace/actions.exp
7201 * gdb.trace/backtrace.exp
7202 * gdb.trace/change-loc.exp
7203 * gdb.trace/deltrace.exp
7204 * gdb.trace/ftrace-lock.exp
7205 * gdb.trace/ftrace.exp
7206 * gdb.trace/infotrace.exp
7207 * gdb.trace/mi-tracepoint-changed.exp
7208 * gdb.trace/packetlen.exp
7209 * gdb.trace/passcount.exp
7210 * gdb.trace/pending.exp
7211 * gdb.trace/range-stepping.exp
7212 * gdb.trace/report.exp
7213 * gdb.trace/stap-trace.exp
7214 * gdb.trace/tfind.exp
7215 * gdb.trace/trace-break.exp
7216 * gdb.trace/trace-condition.exp
7217 * gdb.trace/trace-enable-disable.exp
7218 * gdb.trace/trace-mt.exp
7219 * gdb.trace/tracecmd.exp
7220 * gdb.trace/tspeed.exp
7224 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7226 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7227 with gdb_test_no_output.
7228 Use command as test name.
7230 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7232 Fix test names starting with uppercase throughout the files.
7234 * gdb.ada/assign_1.exp
7235 * gdb.ada/boolean_expr.exp
7236 * gdb.base/arrayidx.exp
7238 * gdb.base/gcore-buffer-overflow.exp
7239 * gdb.base/testenv.exp
7240 * gdb.compile/compile.exp
7241 * gdb.python/py-framefilter-invalidarg.exp
7242 * gdb.python/py-framefilter.exp
7244 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7246 Fix test names starting with uppercase throughout the files.
7248 * gdb.ada/array_return.exp
7249 * gdb.ada/expr_delims.exp
7250 * gdb.ada/mi_dyn_arr.exp
7251 * gdb.ada/mi_interface.exp
7252 * gdb.ada/mi_var_array.exp
7253 * gdb.ada/watch_arg.exp
7254 * gdb.arch/alpha-step.exp
7255 * gdb.arch/altivec-regs.exp
7256 * gdb.arch/e500-regs.exp
7257 * gdb.arch/powerpc-d128-regs.exp
7258 * gdb.base/arrayidx.exp
7259 * gdb.base/break.exp
7260 * gdb.base/checkpoint.exp
7261 * gdb.base/debug-expr.exp
7262 * gdb.base/dmsym.exp
7263 * gdb.base/radix.exp
7264 * gdb.base/sepdebug.exp
7265 * gdb.base/testenv.exp
7266 * gdb.base/watch_thread_num.exp
7267 * gdb.base/watchpoint-cond-gone.exp
7268 * gdb.cell/break.exp
7269 * gdb.cell/ea-cache.exp
7270 * gdb.compile/compile.exp
7271 * gdb.cp/gdb2495.exp
7272 * gdb.gdb/selftest.exp
7273 * gdb.gdb/xfullpath.exp
7275 * gdb.go/integers.exp
7276 * gdb.objc/basicclass.exp
7277 * gdb.pascal/hello.exp
7278 * gdb.pascal/integers.exp
7279 * gdb.python/py-breakpoint.exp
7280 * gdb.python/py-cmd.exp
7281 * gdb.python/py-linetable.exp
7282 * gdb.python/py-xmethods.exp
7283 * gdb.python/python.exp
7284 * gdb.reverse/consecutive-precsave.exp
7285 * gdb.reverse/finish-precsave.exp
7286 * gdb.reverse/i386-precsave.exp
7287 * gdb.reverse/machinestate-precsave.exp
7288 * gdb.reverse/sigall-precsave.exp
7289 * gdb.reverse/solib-precsave.exp
7290 * gdb.reverse/step-precsave.exp
7291 * gdb.reverse/until-precsave.exp
7292 * gdb.reverse/watch-precsave.exp
7293 * gdb.threads/leader-exit.exp
7294 * gdb.threads/pthreads.exp
7295 * gdb.threads/wp-replication.exp
7296 * gdb.trace/actions.exp
7297 * gdb.trace/mi-tsv-changed.exp
7300 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7302 Fix test names starting with uppercase throughout the files.
7304 * gdb.arch/i386-bp_permanent.exp
7305 * gdb.arch/i386-gnu-cfi.exp
7306 * gdb.base/disasm-end-cu.exp
7307 * gdb.base/macscp.exp
7308 * gdb.base/pending.exp
7309 * gdb.base/watch_thread_num.exp
7310 * gdb.cp/exception.exp
7311 * gdb.cp/gdb2495.exp
7313 * gdb.python/py-evsignal.exp
7314 * gdb.python/python.exp
7315 * gdb.trace/tracecmd.exp
7317 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7319 Fix test names starting with uppercase throughout the files.
7321 * gdb.base/charset.exp
7323 * gdb.base/multi-forks.exp
7324 * gdb.guile/scm-progspace.exp
7325 * gdb.opencl/datatypes.exp
7326 * gdb.python/py-block.exp
7327 * gdb.python/py-function.exp
7328 * gdb.python/py-symbol.exp
7329 * gdb.python/py-symtab.exp
7330 * gdb.python/py-xmethods.exp
7331 * gdb.reverse/break-precsave.exp
7332 * gdb.reverse/break-reverse.exp
7333 * gdb.reverse/consecutive-precsave.exp
7334 * gdb.reverse/consecutive-reverse.exp
7335 * gdb.reverse/finish-precsave.exp
7336 * gdb.reverse/finish-reverse-bkpt.exp
7337 * gdb.reverse/finish-reverse.exp
7338 * gdb.reverse/fstatat-reverse.exp
7339 * gdb.reverse/getresuid-reverse.exp
7340 * gdb.reverse/i386-precsave.exp
7341 * gdb.reverse/i386-reverse.exp
7342 * gdb.reverse/i386-sse-reverse.exp
7343 * gdb.reverse/i387-stack-reverse.exp
7344 * gdb.reverse/insn-reverse.exp
7345 * gdb.reverse/machinestate-precsave.exp
7346 * gdb.reverse/machinestate.exp
7347 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7348 * gdb.reverse/pipe-reverse.exp
7349 * gdb.reverse/readv-reverse.exp
7350 * gdb.reverse/recvmsg-reverse.exp
7351 * gdb.reverse/rerun-prec.exp
7352 * gdb.reverse/s390-mvcle.exp
7353 * gdb.reverse/sigall-precsave.exp
7354 * gdb.reverse/sigall-reverse.exp
7355 * gdb.reverse/solib-precsave.exp
7356 * gdb.reverse/solib-reverse.exp
7357 * gdb.reverse/step-precsave.exp
7358 * gdb.reverse/step-reverse.exp
7359 * gdb.reverse/time-reverse.exp
7360 * gdb.reverse/until-precsave.exp
7361 * gdb.reverse/until-reverse.exp
7362 * gdb.reverse/waitpid-reverse.exp
7363 * gdb.reverse/watch-precsave.exp
7364 * gdb.reverse/watch-reverse.exp
7366 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7368 Fix test names starting with uppercase throughout the files.
7370 * gdb.arch/i386-mpx-simple_segv.exp
7371 * gdb.arch/i386-mpx.exp
7372 * gdb.arch/i386-permbkpt.exp
7373 * gdb.arch/pa-nullify.exp
7374 * gdb.arch/powerpc-d128-regs.exp
7375 * gdb.arch/vsx-regs.exp
7376 * gdb.base/bfp-test.exp
7377 * gdb.base/break.exp
7378 * gdb.base/breakpoint-shadow.exp
7379 * gdb.base/callfuncs.exp
7380 * gdb.base/charset.exp
7381 * gdb.base/commands.exp
7382 * gdb.base/completion.exp
7383 * gdb.base/dfp-test.exp
7385 * gdb.base/ending-run.exp
7387 * gdb.base/expand-psymtabs.exp
7388 * gdb.base/float128.exp
7389 * gdb.base/floatn.exp
7390 * gdb.base/foll-exec-mode.exp
7391 * gdb.base/gdb1056.exp
7392 * gdb.base/gdb11531.exp
7393 * gdb.base/kill-after-signal.exp
7394 * gdb.base/multi-forks.exp
7395 * gdb.base/overlays.exp
7396 * gdb.base/pending.exp
7397 * gdb.base/sepdebug.exp
7398 * gdb.base/testenv.exp
7399 * gdb.base/valgrind-db-attach.exp
7400 * gdb.base/watch_thread_num.exp
7401 * gdb.base/watchpoint-cond-gone.exp
7402 * gdb.base/watchpoint.exp
7403 * gdb.base/watchpoints.exp
7404 * gdb.cp/arg-reference.exp
7405 * gdb.cp/baseenum.exp
7406 * gdb.cp/operator.exp
7408 * gdb.dwarf2/dw2-op-out-param.exp
7409 * gdb.dwarf2/dw2-reg-undefined.exp
7412 * gdb.go/integers.exp
7413 * gdb.go/methods.exp
7414 * gdb.go/package.exp
7415 * gdb.guile/scm-parameter.exp
7416 * gdb.guile/scm-progspace.exp
7417 * gdb.guile/scm-value.exp
7418 * gdb.mi/mi-pending.exp
7419 * gdb.mi/user-selected-context-sync.exp
7420 * gdb.multi/multi-attach.exp
7421 * gdb.multi/tids.exp
7422 * gdb.opt/clobbered-registers-O2.exp
7423 * gdb.pascal/floats.exp
7424 * gdb.pascal/integers.exp
7425 * gdb.python/py-block.exp
7426 * gdb.python/py-events.exp
7427 * gdb.python/py-parameter.exp
7428 * gdb.python/py-symbol.exp
7429 * gdb.python/py-symtab.exp
7430 * gdb.python/py-type.exp
7431 * gdb.python/py-value.exp
7432 * gdb.python/py-xmethods.exp
7433 * gdb.python/python.exp
7434 * gdb.reverse/break-precsave.exp
7435 * gdb.reverse/consecutive-precsave.exp
7436 * gdb.reverse/finish-precsave.exp
7437 * gdb.reverse/i386-precsave.exp
7438 * gdb.reverse/machinestate-precsave.exp
7439 * gdb.reverse/sigall-precsave.exp
7440 * gdb.reverse/solib-precsave.exp
7441 * gdb.reverse/step-precsave.exp
7442 * gdb.reverse/until-precsave.exp
7443 * gdb.reverse/watch-precsave.exp
7444 * gdb.server/ext-attach.exp
7445 * gdb.server/ext-restart.exp
7446 * gdb.server/ext-run.exp
7447 * gdb.server/ext-wrapper.exp
7448 * gdb.stabs/gdb11479.exp
7449 * gdb.stabs/weird.exp
7450 * gdb.threads/attach-many-short-lived-threads.exp
7451 * gdb.threads/kill.exp
7452 * gdb.threads/watchpoint-fork.exp
7454 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7456 Fix test names starting with uppercase throughout all the files below.
7458 * gdb.ada/array_return.exp
7459 * gdb.ada/catch_ex.exp
7460 * gdb.ada/info_exc.exp
7461 * gdb.ada/mi_catch_ex.exp
7462 * gdb.ada/mi_dyn_arr.exp
7463 * gdb.ada/mi_ex_cond.exp
7464 * gdb.ada/mi_exc_info.exp
7465 * gdb.ada/mi_interface.exp
7466 * gdb.ada/mi_task_arg.exp
7467 * gdb.ada/mi_task_info.exp
7468 * gdb.ada/mi_var_array.exp
7469 * gdb.arch/alpha-step.exp
7470 * gdb.arch/amd64-disp-step.exp
7471 * gdb.arch/arm-disp-step.exp
7472 * gdb.arch/disp-step-insn-reloc.exp
7473 * gdb.arch/e500-prologue.exp
7474 * gdb.arch/ftrace-insn-reloc.exp
7475 * gdb.arch/gdb1558.exp
7476 * gdb.arch/i386-bp_permanent.exp
7477 * gdb.arch/i386-disp-step.exp
7478 * gdb.arch/i386-float.exp
7479 * gdb.arch/i386-gnu-cfi.exp
7480 * gdb.arch/ia64-breakpoint-shadow.exp
7481 * gdb.arch/mips16-thunks.exp
7482 * gdb.arch/pa-nullify.exp
7483 * gdb.arch/powerpc-aix-prologue.exp
7484 * gdb.arch/powerpc-power.exp
7485 * gdb.arch/ppc-dfp.exp
7486 * gdb.arch/s390-tdbregs.exp
7487 * gdb.arch/spu-info.exp
7488 * gdb.arch/spu-ls.exp
7489 * gdb.arch/thumb-bx-pc.exp
7490 * gdb.base/advance.exp
7491 * gdb.base/annota-input-while-running.exp
7492 * gdb.base/arrayidx.exp
7493 * gdb.base/asmlabel.exp
7494 * gdb.base/async.exp
7495 * gdb.base/attach-wait-input.exp
7496 * gdb.base/auto-connect-native-target.exp
7497 * gdb.base/batch-preserve-term-settings.exp
7498 * gdb.base/bfp-test.exp
7499 * gdb.base/bigcore.exp
7500 * gdb.base/bp-permanent.exp
7501 * gdb.base/break-always.exp
7502 * gdb.base/break-fun-addr.exp
7503 * gdb.base/break-idempotent.exp
7504 * gdb.base/break-main-file-remove-fail.exp
7505 * gdb.base/break-probes.exp
7506 * gdb.base/break-unload-file.exp
7507 * gdb.base/break.exp
7508 * gdb.base/call-ar-st.exp
7509 * gdb.base/call-rt-st.exp
7510 * gdb.base/call-sc.exp
7511 * gdb.base/call-signal-resume.exp
7512 * gdb.base/call-strs.exp
7513 * gdb.base/callexit.exp
7514 * gdb.base/callfuncs.exp
7515 * gdb.base/catch-gdb-caused-signals.exp
7516 * gdb.base/catch-signal-siginfo-cond.exp
7517 * gdb.base/catch-syscall.exp
7518 * gdb.base/compare-sections.exp
7519 * gdb.base/cond-eval-mode.exp
7520 * gdb.base/condbreak-call-false.exp
7521 * gdb.base/consecutive-step-over.exp
7522 * gdb.base/cursal.exp
7523 * gdb.base/disabled-location.exp
7524 * gdb.base/disasm-end-cu.exp
7525 * gdb.base/display.exp
7526 * gdb.base/double-prompt-target-event-error.exp
7527 * gdb.base/dprintf-bp-same-addr.exp
7528 * gdb.base/dprintf-detach.exp
7529 * gdb.base/dprintf-next.exp
7530 * gdb.base/dprintf-non-stop.exp
7531 * gdb.base/dprintf-pending.exp
7532 * gdb.base/dso2dso.exp
7533 * gdb.base/ending-run.exp
7534 * gdb.base/enum_cond.exp
7535 * gdb.base/examine-backward.exp
7536 * gdb.base/exe-lock.exp
7537 * gdb.base/exec-invalid-sysroot.exp
7538 * gdb.base/execl-update-breakpoints.exp
7539 * gdb.base/execution-termios.exp
7540 * gdb.base/fileio.exp
7541 * gdb.base/fixsection.exp
7542 * gdb.base/foll-exec-mode.exp
7543 * gdb.base/foll-exec.exp
7544 * gdb.base/fork-running-state.exp
7545 * gdb.base/frame-args.exp
7546 * gdb.base/fullpath-expand.exp
7547 * gdb.base/func-ptr.exp
7548 * gdb.base/gcore-relro-pie.exp
7549 * gdb.base/gdb1090.exp
7550 * gdb.base/gdb1555.exp
7551 * gdb.base/global-var-nested-by-dso.exp
7552 * gdb.base/gnu-ifunc.exp
7553 * gdb.base/hbreak-in-shr-unsupported.exp
7554 * gdb.base/hbreak-unmapped.exp
7555 * gdb.base/hook-stop.exp
7556 * gdb.base/infcall-input.exp
7557 * gdb.base/info-fun.exp
7558 * gdb.base/info-shared.exp
7559 * gdb.base/interrupt-noterm.exp
7560 * gdb.base/jit-so.exp
7562 * gdb.base/line-symtabs.exp
7564 * gdb.base/longjmp.exp
7565 * gdb.base/macscp.exp
7566 * gdb.base/max-value-size.exp
7567 * gdb.base/nodebug.exp
7568 * gdb.base/nofield.exp
7569 * gdb.base/overlays.exp
7570 * gdb.base/paginate-after-ctrl-c-running.exp
7571 * gdb.base/paginate-bg-execution.exp
7572 * gdb.base/paginate-inferior-exit.exp
7573 * gdb.base/pending.exp
7574 * gdb.base/pr11022.exp
7575 * gdb.base/printcmds.exp
7576 * gdb.base/ptr-typedef.exp
7577 * gdb.base/ptype.exp
7578 * gdb.base/randomize.exp
7579 * gdb.base/range-stepping.exp
7580 * gdb.base/realname-expand.exp
7581 * gdb.base/relativedebug.exp
7582 * gdb.base/remote.exp
7583 * gdb.base/savedregs.exp
7584 * gdb.base/sepdebug.exp
7585 * gdb.base/set-noassign.exp
7586 * gdb.base/shlib-call.exp
7587 * gdb.base/shreloc.exp
7588 * gdb.base/sigaltstack.exp
7589 * gdb.base/sigbpt.exp
7590 * gdb.base/siginfo-addr.exp
7591 * gdb.base/siginfo-obj.exp
7592 * gdb.base/siginfo-thread.exp
7593 * gdb.base/signest.exp
7594 * gdb.base/signull.exp
7595 * gdb.base/sigrepeat.exp
7597 * gdb.base/so-impl-ld.exp
7598 * gdb.base/solib-corrupted.exp
7599 * gdb.base/solib-disc.exp
7600 * gdb.base/solib-display.exp
7601 * gdb.base/solib-overlap.exp
7602 * gdb.base/solib-search.exp
7603 * gdb.base/solib-symbol.exp
7604 * gdb.base/source-execution.exp
7605 * gdb.base/sss-bp-on-user-bp-2.exp
7606 * gdb.base/sss-bp-on-user-bp.exp
7607 * gdb.base/stack-checking.exp
7608 * gdb.base/stale-infcall.exp
7609 * gdb.base/step-break.exp
7610 * gdb.base/step-line.exp
7611 * gdb.base/step-over-exit.exp
7612 * gdb.base/step-test.exp
7613 * gdb.base/structs.exp
7614 * gdb.base/sym-file.exp
7615 * gdb.base/symtab-search-order.exp
7617 * gdb.base/type-opaque.exp
7618 * gdb.base/unload.exp
7619 * gdb.base/until-nodebug.exp
7620 * gdb.base/until.exp
7621 * gdb.base/unwindonsignal.exp
7622 * gdb.base/watch-cond.exp
7623 * gdb.base/watch-non-mem.exp
7624 * gdb.base/watch_thread_num.exp
7625 * gdb.base/watchpoint-reuse-slot.exp
7626 * gdb.base/watchpoint-solib.exp
7627 * gdb.base/watchpoint.exp
7628 * gdb.btrace/dlopen.exp
7630 * gdb.cell/break.exp
7634 * gdb.cell/dwarfaddr.exp
7635 * gdb.cell/ea-cache.exp
7636 * gdb.cell/ea-standalone.exp
7637 * gdb.cell/ea-test.exp
7638 * gdb.cell/f-regs.exp
7640 * gdb.cell/gcore.exp
7641 * gdb.cell/mem-access.exp
7642 * gdb.cell/ptype.exp
7643 * gdb.cell/registers.exp
7644 * gdb.cell/sizeof.exp
7645 * gdb.cell/solib-symbol.exp
7646 * gdb.cell/solib.exp
7647 * gdb.compile/compile-tls.exp
7648 * gdb.cp/exception.exp
7649 * gdb.cp/gdb2495.exp
7651 * gdb.cp/mb-inline.exp
7652 * gdb.cp/mb-templates.exp
7653 * gdb.cp/pr10687.exp
7655 * gdb.cp/scope-err.exp
7656 * gdb.cp/templates.exp
7657 * gdb.cp/virtfunc.exp
7658 * gdb.dwarf2/dw2-dir-file-name.exp
7659 * gdb.dwarf2/dw2-single-line-discriminators.exp
7660 * gdb.fortran/complex.exp
7661 * gdb.fortran/library-module.exp
7662 * gdb.guile/guile.exp
7663 * gdb.guile/scm-cmd.exp
7664 * gdb.guile/scm-frame-inline.exp
7665 * gdb.guile/scm-objfile.exp
7666 * gdb.guile/scm-pretty-print.exp
7667 * gdb.guile/scm-symbol.exp
7668 * gdb.guile/scm-type.exp
7669 * gdb.guile/scm-value.exp
7670 * gdb.linespec/keywords.exp
7671 * gdb.linespec/ls-errs.exp
7672 * gdb.linespec/macro-relative.exp
7673 * gdb.linespec/thread.exp
7674 * gdb.mi/mi-breakpoint-changed.exp
7675 * gdb.mi/mi-dprintf-pending.exp
7676 * gdb.mi/mi-fullname-deleted.exp
7677 * gdb.mi/mi-logging.exp
7678 * gdb.mi/mi-pending.exp
7679 * gdb.mi/mi-solib.exp
7680 * gdb.mi/new-ui-mi-sync.exp
7681 * gdb.mi/user-selected-context-sync.exp
7682 * gdb.multi/dummy-frame-restore.exp
7683 * gdb.multi/multi-arch-exec.exp
7684 * gdb.multi/remove-inferiors.exp
7685 * gdb.multi/watchpoint-multi-exit.exp
7686 * gdb.opt/solib-intra-step.exp
7687 * gdb.perf/backtrace.exp
7688 * gdb.perf/single-step.exp
7689 * gdb.perf/skip-command.exp
7690 * gdb.perf/skip-prologue.exp
7691 * gdb.perf/solib.exp
7692 * gdb.python/lib-types.exp
7693 * gdb.python/py-as-string.exp
7694 * gdb.python/py-bad-printers.exp
7695 * gdb.python/py-block.exp
7696 * gdb.python/py-breakpoint.exp
7697 * gdb.python/py-cmd.exp
7698 * gdb.python/py-events.exp
7699 * gdb.python/py-evthreads.exp
7700 * gdb.python/py-finish-breakpoint.exp
7701 * gdb.python/py-finish-breakpoint2.exp
7702 * gdb.python/py-frame-inline.exp
7703 * gdb.python/py-frame.exp
7704 * gdb.python/py-inferior.exp
7705 * gdb.python/py-infthread.exp
7706 * gdb.python/py-mi.exp
7707 * gdb.python/py-objfile.exp
7708 * gdb.python/py-pp-maint.exp
7709 * gdb.python/py-pp-registration.exp
7710 * gdb.python/py-prettyprint.exp
7711 * gdb.python/py-recurse-unwind.exp
7712 * gdb.python/py-shared.exp
7713 * gdb.python/py-symbol.exp
7714 * gdb.python/py-symtab.exp
7715 * gdb.python/py-template.exp
7716 * gdb.python/py-type.exp
7717 * gdb.python/py-unwind-maint.exp
7718 * gdb.python/py-unwind.exp
7719 * gdb.python/py-value.exp
7720 * gdb.python/python.exp
7721 * gdb.reverse/finish-reverse-bkpt.exp
7722 * gdb.reverse/insn-reverse.exp
7723 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7724 * gdb.reverse/solib-precsave.exp
7725 * gdb.reverse/solib-reverse.exp
7726 * gdb.stabs/gdb11479.exp
7727 * gdb.stabs/weird.exp
7728 * gdb.threads/fork-child-threads.exp
7729 * gdb.threads/fork-plus-threads.exp
7730 * gdb.threads/fork-thread-pending.exp
7731 * gdb.threads/forking-threads-plus-breakpoint.exp
7732 * gdb.threads/hand-call-in-threads.exp
7733 * gdb.threads/interrupted-hand-call.exp
7734 * gdb.threads/linux-dp.exp
7735 * gdb.threads/local-watch-wrong-thread.exp
7736 * gdb.threads/next-while-other-thread-longjmps.exp
7737 * gdb.threads/non-ldr-exit.exp
7738 * gdb.threads/pending-step.exp
7739 * gdb.threads/print-threads.exp
7740 * gdb.threads/process-dies-while-detaching.exp
7741 * gdb.threads/process-dies-while-handling-bp.exp
7742 * gdb.threads/pthreads.exp
7743 * gdb.threads/queue-signal.exp
7744 * gdb.threads/reconnect-signal.exp
7745 * gdb.threads/signal-command-handle-nopass.exp
7746 * gdb.threads/signal-command-multiple-signals-pending.exp
7747 * gdb.threads/signal-delivered-right-thread.exp
7748 * gdb.threads/signal-sigtrap.exp
7749 * gdb.threads/sigthread.exp
7750 * gdb.threads/staticthreads.exp
7751 * gdb.threads/stepi-random-signal.exp
7752 * gdb.threads/thread-unwindonsignal.exp
7753 * gdb.threads/thread_check.exp
7754 * gdb.threads/thread_events.exp
7755 * gdb.threads/tid-reuse.exp
7756 * gdb.threads/tls-nodebug.exp
7757 * gdb.threads/tls-shared.exp
7758 * gdb.threads/tls-so_extern.exp
7759 * gdb.threads/tls.exp
7760 * gdb.threads/wp-replication.exp
7761 * gdb.trace/actions-changed.exp
7762 * gdb.trace/actions.exp
7763 * gdb.trace/backtrace.exp
7764 * gdb.trace/change-loc.exp
7765 * gdb.trace/collection.exp
7766 * gdb.trace/deltrace.exp
7767 * gdb.trace/disconnected-tracing.exp
7768 * gdb.trace/entry-values.exp
7769 * gdb.trace/ftrace-lock.exp
7770 * gdb.trace/ftrace.exp
7771 * gdb.trace/infotrace.exp
7772 * gdb.trace/mi-trace-frame-collected.exp
7773 * gdb.trace/mi-trace-unavailable.exp
7774 * gdb.trace/mi-traceframe-changed.exp
7775 * gdb.trace/mi-tracepoint-changed.exp
7776 * gdb.trace/mi-tsv-changed.exp
7777 * gdb.trace/no-attach-trace.exp
7778 * gdb.trace/packetlen.exp
7779 * gdb.trace/passc-dyn.exp
7780 * gdb.trace/passcount.exp
7781 * gdb.trace/pending.exp
7782 * gdb.trace/pr16508.exp
7783 * gdb.trace/qtro.exp
7784 * gdb.trace/range-stepping.exp
7785 * gdb.trace/read-memory.exp
7786 * gdb.trace/report.exp
7787 * gdb.trace/save-trace.exp
7788 * gdb.trace/signal.exp
7789 * gdb.trace/stap-trace.exp
7790 * gdb.trace/status-stop.exp
7791 * gdb.trace/strace.exp
7792 * gdb.trace/tfile.exp
7793 * gdb.trace/tfind.exp
7794 * gdb.trace/trace-break.exp
7795 * gdb.trace/trace-condition.exp
7796 * gdb.trace/trace-enable-disable.exp
7797 * gdb.trace/trace-mt.exp
7798 * gdb.trace/tracecmd.exp
7799 * gdb.trace/tracefile-pseudo-reg.exp
7800 * gdb.trace/tspeed.exp
7801 * gdb.trace/tstatus.exp
7803 * gdb.trace/unavailable.exp
7804 * gdb.trace/while-dyn.exp
7805 * gdb.trace/while-stepping.exp
7808 * lib/mi-support.exp
7811 * lib/prelink-support.exp
7812 * lib/selftest-support.exp
7814 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7816 * Makefile.in: Include disable-implicit-rules.mk.
7818 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7820 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7821 non-byte-aligned bit fields.
7823 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7826 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7827 respects the DW_AT_data_bit_offset attribute.
7829 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7831 * gdb.base/default.exp: Fix output of "set language".
7833 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7835 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7836 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7838 * configure.ac: Remove checks for the make program.
7839 * configure: Re-generate.
7841 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7843 * gdb.python/py-recurse-unwind.c (main): Add loop.
7844 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7845 to read_register() and gdb.parse_and_eval(). Make each code
7846 call a separate case that can be individually tested.
7847 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7848 proc. Call cont_and_backtrace for each of the code paths that
7849 we want to test in the unwinder.
7851 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7853 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7854 the definition of struct S.
7856 2016-11-11 Catherine Moore <clm@codesourcery.com>
7858 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7860 2016-11-09 Pedro Alves <palves@redhat.com>
7862 * gdb.base/commands.exp (runto_or_return): New procedure.
7863 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7864 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7865 (progvar_simple_while_test, progvar_complex_if_while_test)
7866 (if_while_breakpoint_command_test)
7867 (infrun_breakpoint_command_test, breakpoint_command_test)
7868 (user_defined_command_test, watchpoint_command_test)
7869 (test_command_prompt_position, redefine_hook_test)
7870 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7871 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7872 multi_line_input and multi_line. Remove gdb_expect and
7873 gdb_stop_suppressing_tests uses.
7874 * lib/gdb.exp (valnum_re): New global.
7875 (multi_line_input): New procedure.
7877 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7879 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7881 (test_setup): Define with proc_with_prefix.
7882 (test_cli_inferior): Likewise.
7883 (test_cli_thread): Likewise.
7884 (test_cli_frame): Likewise.
7885 (test_cli_select_frame): Likewise.
7886 (test_cli_up_down): Likewise.
7887 (test_mi_thread_select): Likewise.
7888 (test_mi_stack_select_frame): Likewise.
7889 (test_cli_in_mi_inferior): Likewise.
7890 (test_cli_in_mi_thread): Likewise.
7891 (test_cli_in_mi_frame): Likewise.
7892 (top level): Do not use with_test_prefix_procname.
7894 2016-11-09 Pedro Alves <palves@redhat.com>
7896 * gdb.base/commands.exp (gdbvar_simple_if_test)
7897 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7898 (progvar_simple_if_test, progvar_simple_while_test)
7899 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7900 (infrun_breakpoint_command_test, breakpoint_command_test)
7901 (user_defined_command_test, watchpoint_command_test)
7902 (test_command_prompt_position, deprecated_command_test)
7903 (bp_deleted_in_command, temporary_breakpoint_commands)
7904 (stray_arg0_test, source_file_with_indented_comment)
7905 (recursive_source_test, if_commands_test)
7906 (error_clears_commands_left, redefine_hook_test)
7907 (redefine_backtrace_test): Use proc_with_prefix.
7908 * lib/gdb.exp (proc_with_prefix): New proc.
7910 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7912 * gdb.base/tui-layout.c: New file.
7913 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7914 disassembly window contains very long lines.
7916 2016-11-08 Tom Tromey <tom@tromey.com>
7918 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7921 2016-11-08 Tom Tromey <tom@tromey.com>
7923 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7926 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7928 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7930 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7932 * gdb.rust/simple.rs: Add test for univariant enums without
7933 discriminants and for encoded struct-like enums.
7935 2016-10-28 Pedro Alves <palves@redhat.com>
7937 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7938 gdb_test_multiple, tighten regexps and match symtabs and line
7939 tables incrementally.
7941 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7943 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7946 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7948 * gdb.base/exec-invalid-sysroot.exp: New file.
7950 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7952 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7954 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7956 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7958 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7960 * gdb.base/killed-outside.exp: Remove $options from a call to
7961 `prepare_for_testing'.
7963 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7965 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7966 Change test message.
7968 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7970 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7973 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7975 * gdb.trace/mi-trace-save.exp: New file.
7977 2016-10-13 Yao Qi <yao.qi@linaro.org>
7979 * gdb.base/code_elim.exp (get_var_address): Remove.
7980 * gdb.base/relocate.exp: Likewise.
7981 * gdb.base/shreloc.exp: Likewise.
7982 * lib/gdb.exp (get_var_address): New.
7984 2016-10-13 Yao Qi <yao.qi@linaro.org>
7986 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7987 floating point tests if $skip_float_test is false.
7989 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7991 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7992 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7994 Add 1 to argc so we guarantee distinct initial/modified argc values.
7996 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7998 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8000 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8002 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8003 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8004 * gdb.arch/vsx-regs.exp: Likewise.
8006 2016-10-07 Yao Qi <yao.qi@linaro.org>
8008 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8010 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8012 * gdb.python/python.exp: Test decode_line("*0").
8014 2016-10-06 Doug Evans <dje@google.com>
8016 * gdb.python/py-value.exp (test_value_creation): Add test for large
8017 unsigned 64-bit value.
8019 2016-10-06 Tom Tromey <tom@tromey.com>
8021 * gdb.compile/compile.exp: Change java tests to rust.
8022 * gdb.base/setshow.exp: Change java tests to rust.
8023 * gdb.base/default.exp: Remove java from language list.
8024 * README (Examples): Update language example.
8025 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8027 * lib/gdb.exp (skip_java_tests): Remove.
8028 * lib/java.exp: Remove.
8031 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8033 * gdb.arch/mips-fcr.exp: New test.
8034 * gdb.arch/mips-fcr.c: Source for the new test.
8036 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8038 * gdb.base/solib-disc.exp: Use `standard_output_file'
8041 2016-10-06 Pedro Alves <palves@redhat.com>
8043 * gdb.base/jit-simple-dl.c: New file.
8044 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8045 * gdb.base/jit-simple.c: ... this.
8046 * gdb.base/jit-simple.exp (jit_run): Delete.
8047 (build_jit): New proc.
8048 (jit_test_reread): Recompile either the main program or the shared
8049 library, depending on what is being tested. Skip changing address
8050 if caller wants to. Compare before/after addresses. If testing
8051 standalone, explicitly load the binary. Test "maint info
8053 (top level): Add "standalone vs shared lib" and "change address"
8054 vs "same address" axes.
8056 2016-10-06 Pedro Alves <palves@redhat.com>
8058 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8061 (jit_test_reread): Use with_test_prefix. Reload the main binary
8062 explicitly. Compare the before/after addresses of the JIT
8065 2016-08-15 Doug Evans <dje@google.com>
8067 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8068 for single bitfields is bool.
8069 * gdb.xml/tdesc-regs.exp: Ditto.
8071 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8073 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8075 2016-10-05 Yao Qi <yao.qi@linaro.org>
8077 * lib/gdb.exp (support_complex_tests): Return zero if
8078 gdb_skip_float_test return true.
8080 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8081 Simon Marchi <simon.marchi@ericsson.com>
8084 * gdb.mi/user-selected-context-sync.exp: New file.
8085 * gdb.mi/user-selected-context-sync.c: New file.
8087 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8088 Simon Marchi <simon.marchi@ericsson.com>
8091 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8092 =thread-select-event check.
8094 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8096 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8097 the compulsory L operand changes.
8098 * gdb.arch/powerpc-power.s: Likewise.
8100 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8102 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8103 * gdb.base/jit-attach-pie.c: New file.
8104 * gdb.base/jit-attach-pie.exp: New file.
8106 2016-09-28 Pedro Alves <palves@redhat.com>
8108 * gdb.base/infcall-input.c: New file.
8109 * gdb.base/infcall-input.exp: New file.
8111 2016-09-22 Yao Qi <yao.qi@linaro.org>
8113 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8114 (gdb_exit): Rename it to ...
8115 (gdbserver_gdb_exit): ... Close GDBserver.
8116 (gdb_exit): New proc, call gdbserver_gdb_exit.
8117 (mi_gdb_exit): Likewise.
8119 2016-09-22 Yao Qi <yao.qi@linaro.org>
8121 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8123 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8126 2016-09-22 Yao Qi <yao.qi@linaro.org>
8128 * lib/gdbserver-support.exp: Check the existence of
8129 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8131 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8133 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8135 2016-09-21 Tom Tromey <tom@tromey.com>
8138 * gdb.base/quit.exp: New file.
8140 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8142 * .gitignore: New file.
8144 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8146 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8149 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8151 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8153 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8155 * gdb.cp/casts.cc (decltype): Move it ...
8156 (main): ... with its call to ...
8157 * gdb.cp/casts03.cc: ... a new file.
8158 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8160 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8162 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8164 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8166 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8167 and sync up the test with tests in gas/testsuite/gas/ppc.
8168 * gdb.arch/powerpc-power.exp: Likewise.
8170 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8172 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8174 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8175 Jan Kratochvil <jan.kratochvil@redhat.com>
8177 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8178 make m1's definition to be different from m2's. Use 'dummy' as an
8179 argument for probe 'two'.
8181 2016-09-10 Jon Beniston <jon@beniston.com>
8183 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8186 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8188 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8189 variable declaration.
8190 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8191 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8192 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8193 received HWCAP as its argument.
8195 2016-09-06 Pedro Alves <palves@redhat.com>
8197 * gdb.base/new-ui-pending-input.c: New file.
8198 * gdb.base/new-ui-pending-input.exp: New file.
8199 * gdb.exp (clear_gdb_spawn_id): New procedure.
8200 (with_spawn_id): Check whether gdb_spawn_id exists before
8201 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8204 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8206 * gdb.base/float128.c: New file.
8207 * gdb.base/float128.exp: Likewise.
8208 * gdb.base/floatn.c: Likewise.
8209 * gdb.base/floatn.exp: Likewise.
8211 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8213 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8215 2016-09-05 Pedro Alves <palves@redhat.com>
8218 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8219 unwinders are immediately called as side effect of "source" or
8220 "disable unwinder" commands.
8221 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8223 2016-09-02 Yao Qi <yao.qi@linaro.org>
8225 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8226 is true and $type is "float" or "double".
8228 2016-09-02 Yao Qi <yao.qi@linaro.org>
8230 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8232 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8233 * gdb.base/call-rt-st.exp: Likewise.
8234 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8235 return value instead of gdb,skip_float_test.
8236 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8237 (do_function_calls): Use its return value instead of
8238 gdb,skip_float_test.
8239 * gdb.base/finish.exp: Likewise.
8240 * gdb.base/funcargs.exp: Likewise.
8241 * gdb.base/return.exp: Likewise.
8242 * gdb.base/return2.exp: Likewise.
8243 * gdb.base/varargs.exp: Likewise.
8244 * lib/gdb.exp (gdb_skip_float_test): Change it to
8245 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8247 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8249 * gdb.multi/tids.exp: Test "thread apply all".
8251 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8253 * gdb.base/default.exp (tty): Remove.
8255 2016-08-24 Kevin Buettner <kevinb@redhat.com>
8257 * gdb.python/py-recurse-unwind.c: New file.
8258 * gdb.python/py-recurse-unwind.py: New file.
8259 * gdb.python/py-recurse-unwind.exp: New file.
8261 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
8263 * gdb.base/set-inferior-tty.exp: New file.
8264 * gdb.base/set-inferior-tty.c: New file.
8266 2016-08-23 Pedro Alves <palves@redhat.com>
8269 * gdb.base/new-ui-echo.c: New file.
8270 * gdb.base/new-ui-echo.exp: New file.
8272 2016-08-23 Yao Qi <yao.qi@linaro.org>
8274 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
8276 * gdb.server/connect-without-multi-process.exp (do_test):
8279 2016-08-23 Yao Qi <yao.qi@linaro.org>
8281 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8282 standalone_txt. Delete gdb_txt and standalone_txt on host
8283 and target. Spawn the binary on target. Copy files from
8286 2016-08-22 Pedro Alves <palves@redhat.com>
8289 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8290 with_test_prefix. Factor out bits to ...
8291 (test_no_vdso): ... this new procedure.
8293 2016-08-19 Carl Love <cel@us.ibm.com>
8295 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8296 maintaining separate logic for constructing the output path.
8297 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8298 * gdb.arch/ppc-dfp.exp: Likewise.
8299 * gdb.arch/ppc-fp.exp: Likewise.
8300 * gdb.arch/vsx-regs.exp: Likewise.
8301 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8302 binprefix for generating the additional binary files.
8304 2016-08-19 Pedro Alves <palves@redhat.com>
8306 * gdb.trace/mi-trace-frame-collected.exp
8307 (test_trace_frame_collected): On x32, expect two registers.
8309 2016-08-18 Carl Love <cel@us.ibm.com>
8311 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8312 and sync up the test with tests in gas/testsuite/gas/ppc.
8313 * gdb.arch/powerpc-power.exp: Likewise.
8315 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8317 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8318 expected error message.
8320 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8322 * gdb.multi/remove-inferiors.exp: New file.
8323 * gdb.multi/remove-inferiors.c: New file.
8325 2016-08-12 Yao Qi <yao.qi@linaro.org>
8327 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8330 2016-08-10 Pedro Alves <palves@redhat.com>
8333 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8336 2016-08-09 Pedro Alves <palves@redhat.com>
8337 Simon Marchi <simon.marchi@ericsson.com>
8340 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8341 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8343 2016-08-09 Pedro Alves <palves@redhat.com>
8346 * gdb.mi/mi-cmd-error.exp: New file.
8348 2016-08-09 Pedro Alves <palves@redhat.com>
8351 * gdb.base/signals-state-child.c: New file.
8352 * gdb.base/signals-state-child.exp: New file.
8353 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8355 2016-08-09 Pedro Alves <palves@redhat.com>
8357 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8359 2016-08-03 Tom Tromey <tom@tromey.com>
8362 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8364 2016-08-01 Yao Qi <yao.qi@linaro.org>
8366 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8367 variable mode to "multi-process" if $multi_process is 1, otherwise
8368 set it to "single-process".
8370 2016-08-01 Yao Qi <yao.qi@linaro.org>
8372 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8373 * gdb.cp/cpexprs.exp: Likewise.
8374 * gdb.cp/m-static.exp: Likewise.
8376 2016-07-26 Tom Tromey <tom@tromey.com>
8379 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8382 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8384 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8385 selecting assembly source files.
8386 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8387 assembly source files.
8388 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8389 assembly source files.
8390 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8391 selecting assembly source files.
8393 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8395 * gdb.base/new-ui.exp (do_test_invalid_args): New
8398 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8400 * gdb.btrace/reconnect.c: New file.
8401 * gdb.btrace/reconnect.exp: New file.
8403 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8405 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8406 to test_catch_syscall_group.
8407 (test_catch_syscall_group): New.
8409 2016-07-21 Tom Tromey <tom@tromey.com>
8411 * gdb.rust/simple.rs (main): Use empty struct expression.
8412 * gdb.rust/simple.exp: Add tests for empty struct expression.
8414 2016-07-21 Yao Qi <yao.qi@linaro.org>
8416 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8417 if gdb_skip_xml_test is true on some targets.
8419 2016-07-21 Yao Qi <yao.qi@linaro.org>
8421 * gdb.server/solib-list.exp: Unset last_loaded_file.
8423 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8425 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8426 "step into captured_main (args)".
8428 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8430 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8432 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8434 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8436 2016-07-19 Pedro Alves <palves@redhat.com>
8438 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8439 * gdb.opt/inline-bt.exp: Likewise.
8440 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8441 additional_flags=-Winline.
8442 * gdb.opt/inline-locals.exp: Likewise.
8443 * gdb.opt/inline-markers.c (ATTR): Define.
8444 (inlined_fn): Use it.
8446 2016-07-19 Yao Qi <yao.qi@linaro.org>
8448 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8449 (test_with_self): Remove some code. Remove argument executable.
8450 (top-level): Use do_self_tests.
8452 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8453 Don Breazeal <donb@codesourcery.com>
8455 * gdb.base/maint.exp: Escape paths used in regular expressions.
8456 * gdb.stabs/weird.exp: Likewise.
8458 2016-07-13 Tom Tromey <tom@tromey.com>
8460 PR python/15620, PR python/18620:
8461 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8462 (test_bkpt_events): New procs.
8464 2016-07-13 Tom Tromey <tom@tromey.com>
8467 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8469 (test_watchpoints): Likewise.
8470 (test_bkpt_pending): New proc.
8472 2016-07-13 Tom Tromey <tom@tromey.com>
8475 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8478 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8480 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8481 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8482 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8484 (g): Rename g_end_lbl to g_label.
8485 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8487 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8489 2016-07-12 Tom Tromey <tom@tromey.com>
8492 * gdb.python/py-unwind-maint.exp: Update tests.
8494 2016-07-12 Yao Qi <yao.qi@linaro.org>
8496 * lib/selftest-support.exp (selftest_setup): Match the output
8497 when captured_main is inlined.
8499 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8501 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8503 (print this%a, print this%b, print this): New tests.
8504 * gdb.fortran/derived-types.f90 (this): New object and
8507 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8509 * gdb.ada/arraydim.exp: Remove extra directory level in build
8512 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8514 * lib/ada.exp: Remove extra directory level in build directory.
8515 * gdb.ada/cond_lang.exp: Likewise.
8516 * gdb.ada/exec_changed.exp: Likewise.
8517 * gdb.ada/lang_switch.exp: Likewise.
8519 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8521 * simple.rs: Add test for raw pointer subscripting.
8522 * simple.exp: Add test expectations.
8524 2016-07-05 Yao Qi <yao.qi@linaro.org>
8526 * gdb.mi/mi-reverse.exp: Match =record-started output.
8528 2016-07-01 Pedro Alves <palves@redhat.com>
8530 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8532 (jit_reader_test): Test the jit reader's unwinder.
8533 * gdb.base/jithost.c (jit_function_00_code): New global.
8534 (main): Use memcpy to fill in the mmapped code, instead of poking
8535 bytes manually here.
8536 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8538 (read_debug_info): Save the function's range.
8539 (read_sp): New function.
8540 (unwind_frame): Use it. Also unwind RBP.
8541 (get_frame_id): Use read_sp.
8542 (gdb_init_reader): Use calloc instead of malloc.
8543 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8544 parameter. Use gdb_test_multiple.
8546 2016-07-01 Pedro Alves <palves@redhat.com>
8547 Antoine Tremblay <antoine.tremblay@ericsson.com>
8549 * gdb.threads/process-dies-while-detaching.c: New file.
8550 * gdb.threads/process-dies-while-detaching.exp: New file.
8552 2016-07-01 Pedro Alves <palves@redhat.com>
8554 * gdb.multi/watchpoint-multi-exit.c: New file.
8555 * gdb.multi/watchpoint-multi-exit.exp: New file.
8557 2016-06-30 Pedro Alves <palves@redhat.com>
8559 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8560 unset inferior_spawn_id.
8562 2016-06-30 Pedro Alves <palves@redhat.com>
8564 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8565 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8567 2016-06-29 Yao Qi <yao.qi@linaro.org>
8569 * gdb.base/return.c: Add copyright header.
8571 2016-06-29 Tom Tromey <tom@tromey.com>
8574 * gdb.python/py-framefilter.exp: Add tests for setting priority
8575 and disabling of non-existent frame filter.
8577 2016-06-29 Yao Qi <yao.qi@linaro.org>
8579 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8582 2016-06-28 Yao Qi <yao.qi@linaro.org>
8584 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8585 triplets. Start gdb, execute catch syscall, and continue. Check
8586 gdb's output to determine catch syscall is supported.
8588 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8590 * gdb.rust/simple.rs: Add test for returning unit in a function.
8591 * gdb.rust/simple.exp: Add expectation for functions returning
8594 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8596 * gdb.python/py-breakpoint-create-fail.c,
8597 gdb.python/py-breakpoint-create-fail.exp,
8598 gdb.python/py-breakpoint-create-fail.py: New testcase.
8600 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8603 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8604 * gdb.rust/simple.exp: Add test expectations for new NonZero
8607 2016-06-24 David Taylor <dtaylor@emc.com>
8609 * gdb.base/offsets.exp: New file.
8610 * gdb.base/offsets.c: New file.
8612 2016-06-23 Tom Tromey <tom@tromey.com>
8615 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8616 before any filters are loaded.
8618 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8620 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8621 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8623 * gdb.fortran/derived-type-function.exp: New file.
8624 * gdb.fortran/derived-type-function.f90: New file.
8627 2016-06-21 Pedro Alves <palves@redhat.com>
8629 * gdb.base/new-ui.exp: New file.
8630 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8631 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8632 (with_spawn_id): New procedure.
8634 2016-06-21 Pedro Alves <palves@redhat.com>
8636 * gdb.mi/mi-exec-run.exp: New file.
8638 2016-06-21 Pedro Alves <palves@redhat.com>
8640 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8641 breakpoint command's output on the main UI.
8642 (test_break): New procedure, factored out from calls in the top
8644 (top level): Use foreach_with_prefix to test MI as main UI and as
8647 2016-06-21 Pedro Alves <palves@redhat.com>
8649 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8650 (test_awatch_creation_and_listing)
8651 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8652 Remove 'type' parameter.
8653 (test_watchpoint_all): New parameter mi_mode. Remove
8655 (top level): Use foreach_with_prefix, and add main/separate UI MI
8658 2016-06-21 Pedro Alves <palves@redhat.com>
8660 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8661 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8662 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8663 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8664 (gdb_main_spawn_id, mi_spawn_id): Declare and
8666 (mi_create_inferior_pty): New procedure,
8667 factored out from default_mi_gdb_start.
8668 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8670 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8671 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8672 Use mi_create_inferior_pty.
8673 (mi_gdb_start): Use eval to pass down args list.
8675 2016-06-21 Pedro Alves <palves@redhat.com>
8677 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8678 * gdb.opt/inline-cmds.exp: Add MI tests.
8680 2016-06-21 Pedro Alves <palves@redhat.com>
8682 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8684 2016-06-21 Pedro Alves <palves@redhat.com>
8686 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8687 (top level): Use it instead of mi_execute_to.
8689 2016-06-21 Pedro Alves <palves@redhat.com>
8691 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8692 (cont_handler_str): New.
8693 (signal_stop_handler): Set stop_handler_str instead of printing to
8695 (continue_handler): Set cont_handler_str instead of printing to
8697 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8698 mi_send_resuming_command. Print stop_handler_str and
8699 cont_handler_str instead of expecting the python events print
8702 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8704 * gdb.base/jit-reader.exp: New file.
8705 * gdb.base/jithost.c: New file.
8706 * gdb.base/jithost.h: New file.
8707 * gdb.base/jitreader.c : New file.
8708 * gdb.base/jit-protocol.h: New file.
8710 2016-06-17 Yao Qi <yao.qi@linaro.org>
8712 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8713 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8714 and detach-on-fork. Adjust tests.
8715 (top level): Invoke break_cond_on_syscall with combinations of
8716 syscall, follow-fork-mode and detach-on-fork.
8718 2016-06-17 Yao Qi <yao.qi@linaro.org>
8720 * gdb.base/step-over-exit.c: New.
8721 * gdb.base/step-over-exit.exp: New.
8723 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8725 * gdb.base/float.exp: Add target check for nds32*-*-*.
8726 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8728 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8730 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8731 for unsupported target features.
8732 * gdb.base/call-rt-st.exp: Likewise.
8733 * gdb.base/call-sc.exp: Likewise.
8734 * gdb.base/call-signal-resume.exp: Likewise.
8735 * gdb.base/call-strs.exp: Likewise.
8736 * gdb.base/callexit.exp: Likewise.
8737 * gdb.base/callfuncs.exp: Likewise.
8738 * gdb.base/nodebug.exp: Likewise.
8739 * gdb.base/printcmds.exp: Likewise.
8740 * gdb.base/ptype.exp: Likewise.
8741 * gdb.base/structs.exp: Likewise.
8742 * gdb.base/unwindonsignal.exp: Likewise.
8743 * gdb.cp/gdb2495.exp: Likewise.
8744 * gdb.cp/templates.exp: Likewise.
8745 * gdb.cp/virtfunc.exp: Likewise.
8746 * gdb.threads/hand-call-in-threads.exp: Likewise.
8747 * gdb.threads/interrupted-hand-call.exp: Likewise.
8748 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8750 2016-06-10 Tom Tromey <tom@tromey.com>
8753 * gdb.rust/expr.exp: Add test for integer constant larger than
8756 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8758 * gdb.fortran/nested-funcs.exp: New.
8759 * gdb.fortran/nested-funcs.f90: New.
8761 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8763 * gdb.base/examine-backward.c: New file.
8764 * gdb.base/examine-backward.exp: New file.
8766 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8768 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8771 2016-06-02 Tom Tromey <tom@tromey.com>
8774 * gdb.python/py-shared.exp: Add solib_name test.
8776 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8778 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8780 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8783 * gdb.dwarf2/implref.exp: Rename to...
8784 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8785 * gdb.dwarf2/implref-array.c: New file.
8786 * gdb.dwarf2/implref-array.exp: Likewise.
8787 * gdb.dwarf2/implref-global.c: Likewise.
8788 * gdb.dwarf2/implref-global.exp: Likewise.
8789 * gdb.dwarf2/implref-struct.c: Likewise.
8790 * gdb.dwarf2/implref-struct.exp: Likewise.
8792 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8794 * gdb.trace/trace-condition.exp: Add 64bit tests.
8796 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8798 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8800 (main): Adapt to 8 to 64 bits types.
8801 * gdb.trace/trace-condition.exp: Add new tests.
8803 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8805 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8807 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8809 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8810 Move condition tests...
8811 * gdb.trace/trace-condition.exp: Here.
8813 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8815 * gdb.trace/trace-condition.exp: Add counter-case tests.
8817 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8820 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8821 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8823 2016-05-27 Pedro Alves <palves@redhat.com>
8825 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8827 (top level): Call it, and bail out of DejaGnu is known to be bad.
8829 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8831 * gdb.base/whatis.c: Extend the test case.
8832 * gdb.base/whatis.exp: Add additional tests.
8834 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8836 * gdb.fortran/type.f90: Add pointer variable.
8837 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8839 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8841 * gdb.fortran/vla-type.exp: Fix testcase name.
8843 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8845 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8847 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8849 * gdb.fortran/type.f90: Add nested structures.
8850 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8851 * gdb.fortran/derived-type.exp: Adapt expected output.
8852 * gdb.fortran/vla-type.exp: Adapt expected output.
8854 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8856 * gdb.fortran/whatis_type.exp: Adapt expected output.
8858 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8860 * gdb.fortran/print_type.exp: Fix expected output.
8861 * gdb.fortran/whatis_type.exp: Fix expected output.
8863 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8865 * gdb.fortran/whatis_type.exp: Use multi_line.
8867 2016-05-24 Tom Tromey <tom@tromey.com>
8870 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8871 use value as an index.
8873 2016-05-23 Tom Tromey <tom@tromey.com>
8876 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8879 2016-05-24 Pedro Alves <palves@redhat.com>
8882 * gdb.threads/clone-attach-detach.c: New file.
8883 * gdb.threads/clone-attach-detach.exp: New file.
8885 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8887 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8889 2016-05-23 Tom Tromey <tom@tromey.com>
8891 PR python/19438, PR python/18393:
8892 * gdb.python/py-progspace.exp: Add "dir" test.
8893 * gdb.python/py-objfile.exp: Add "dir" test.
8895 2016-05-23 Yao Qi <yao.qi@linaro.org>
8897 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8898 * gdb.arch/thumb2-it.exp: Likewise.
8900 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8902 * gdb.mi/mi-threads-interrupt.c: New file.
8903 * gdb.mi/mi-threads-interrupt.exp: New file.
8905 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8908 * gdb.mi/mi-async-run.exp: New file.
8909 * gdb.mi/mi-async-run.c: New file.
8911 2016-05-17 Tom Tromey <tom@tromey.com>
8912 Manish Goregaokar <manishsmail@gmail.com>
8914 * lib/rust-support.exp: New file.
8915 * lib/gdb.exp (skip_rust_tests): New proc.
8916 (build_executable_from_specs): Handle rust.
8917 * lib/future.exp (gdb_find_rustc): New proc.
8918 (gdb_default_target_compile): Handle rust.
8919 * gdb.rust/expr.exp: New file.
8920 * gdb.rust/generics.exp: New file.
8921 * gdb.rust/generics.rs: New file.
8922 * gdb.rust/methods.exp: New file.
8923 * gdb.rust/methods.rs: New file.
8924 * gdb.rust/modules.exp: New file.
8925 * gdb.rust/modules.rs: New file.
8926 * gdb.rust/simple.exp: New file.
8927 * gdb.rust/simple.rs: New file.
8929 2016-05-17 Tom Tromey <tom@tromey.com>
8931 * gdb.base/default.exp (set language): Add rust.
8933 2016-05-17 Tom Tromey <tom@tromey.com>
8935 * gdb.gdb/unittest.exp: New file.
8937 2016-05-16 Yao Qi <yao.qi@linaro.org>
8939 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8940 shell_prompt. Update shell_prompt_re.
8942 2016-05-12 Doug Evans <dje@google.com>
8945 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8946 $options when building executable.
8947 * gdb.dwarf2/fission-loclists-pie.S: New file.
8948 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8950 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8952 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
8953 of [is_remote target],
8955 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8957 * lib/gdb.exp (use_gdb_stub): New procedure.
8959 2016-05-03 Yunlian Jiang <yunlian@google.com>
8960 Doug Evans <dje@google.com>
8963 * gdb.dwarf2/dwp-sepdebug.c: New file.
8964 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8966 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8968 * gdb.base/detach.exp: Remove is_remote check.
8970 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8972 * gdb.base/annota-input-while-running.exp: Don't check for
8973 [is_remote target]. Enable annotations after running to main.
8974 Remove unused "set test..." line.
8976 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8978 * gdb.trace/trace-enable-disable.exp: New file.
8979 * gdb.trace/trace-enable-disable.c: New file.
8981 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8983 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8984 use it in info sharedlibrary test.
8985 * gdb.trace/ftrace-lock.exp: Likewise.
8986 * gdb.trace/ftrace.exp: Likewise.
8987 * gdb.trace/range-stepping.exp: Likewise.
8988 * gdb.trace/trace-break.exp: Likewise.
8989 * gdb.trace/trace-condition.exp: Likewise.
8990 * gdb.trace/trace-mt.exp: Likewise.
8992 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8994 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8995 (gdb_load_shlib): ... this.
8996 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8998 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8999 * gdb.base/ctxobj.exp: Likewise.
9000 * gdb.base/dprintf-pending.exp: Likewise.
9001 * gdb.base/dso2dso.exp: Likewise.
9002 * gdb.base/fixsection.exp: Likewise.
9003 * gdb.base/gcore-relro.exp: Likewise.
9004 * gdb.base/gdb1555.exp: Likewise.
9005 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9006 * gdb.base/gnu-ifunc.exp: Likewise.
9007 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9008 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9009 * gdb.base/pending.exp: Likewise.
9010 * gdb.base/print-file-var.exp: Likewise.
9011 * gdb.base/print-symbol-loading.exp: Likewise.
9012 * gdb.base/shlib-call.exp: Likewise.
9013 * gdb.base/shreloc.exp: Likewise.
9014 * gdb.base/so-impl-ld.exp: Likewise.
9015 * gdb.base/solib-disc.exp: Likewise.
9016 * gdb.base/solib-nodir.exp: Likewise.
9017 * gdb.base/solib-overlap.exp: Likewise.
9018 * gdb.base/solib-symbol.exp: Likewise.
9019 * gdb.base/solib-weak.exp (do_test): Likewise.
9020 * gdb.base/sym-file.exp: Likewise.
9021 * gdb.base/symtab-search-order.exp: Likewise.
9022 * gdb.base/type-opaque.exp: Likewise.
9023 * gdb.base/unload.exp: Likewise.
9024 * gdb.base/watchpoint-solib.exp: Likewise.
9025 * gdb.compile/compile.exp: Likewise.
9026 * gdb.cp/gdb2384.exp: Likewise.
9027 * gdb.cp/infcall-dlopen.exp: Likewise.
9028 * gdb.cp/re-set-overloaded.exp: Likewise.
9029 * gdb.fortran/library-module.exp: Likewise.
9030 * gdb.opt/solib-intra-step.exp: Likewise.
9031 * gdb.python/py-finish-breakpoint.exp: Likewise.
9032 * gdb.python/py-shared.exp: Likewise.
9033 * gdb.reverse/solib-precsave.exp: Likewise.
9034 * gdb.reverse/solib-reverse.exp: Likewise.
9035 * gdb.server/solib-list.exp: Likewise.
9036 * gdb.threads/dlopen-libpthread.exp: Likewise.
9037 * gdb.threads/tls-shared.exp: Likewise.
9038 * gdb.threads/tls-so_extern.exp: Likewise.
9039 * gdb.trace/change-loc.exp: Likewise.
9040 * gdb.trace/ftrace-lock.exp: Likewise.
9041 * gdb.trace/ftrace.exp: Likewise.
9042 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9043 * gdb.trace/pending.exp: Likewise.
9044 * gdb.trace/range-stepping.exp: Likewise.
9045 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9046 (strace_info_marker): Likewise.
9047 (strace_probe_marker): Likewise.
9048 (strace_trace_on_same_addr): Likewise.
9049 (strace_trace_on_diff_addr): Likewise.
9050 * gdb.trace/trace-break.exp: Likewise.
9051 * gdb.trace/trace-condition.exp: Likewise.
9052 * gdb.trace/trace-mt.exp: Likewise.
9054 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9056 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9057 result of gdb_remote_download.
9058 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9059 * gdb.base/dso2dso.exp: Likewise.
9060 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9061 * gdb.base/print-file-var.exp: Likewise.
9062 * gdb.base/shlib-call.exp: Likewise.
9063 * gdb.base/shreloc.exp: Likewise.
9064 * gdb.base/solib-overlap.exp: Likewise.
9065 * gdb.base/solib-weak.exp (do_test): Likewise.
9066 * gdb.base/unload.exp: Likewise.
9068 2016-04-27 Yao Qi <yao.qi@linaro.org>
9070 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9073 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9075 * vla-type.exp: Print structure from toplevel.
9077 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9079 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9081 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9084 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9086 * gdb.fortran/vla-type.f90: New file.
9087 * gdb.fortran/vla-type.exp: New file.
9089 2016-04-25 Yao Qi <yao.qi@linaro.org>
9091 * gdb.base/branch-to-self.c: New file.
9092 * gdb.base/branch-to-self.exp: New file.
9094 2016-04-22 Yao Qi <yao.qi@linaro.org>
9096 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9099 2016-04-22 Yao Qi <yao.qi@linaro.org>
9101 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9102 * gdb.base/annota3.exp: Likewise.
9104 2016-04-22 Yao Qi <yao.qi@linaro.org>
9106 * gdb.reverse/step-precsave.exp: Do one step and test program
9107 stops in "callee" and do multiple steps until program goes out
9109 * gdb.reverse/step-reverse.exp: Likewise.
9111 2016-04-22 Yao Qi <yao.qi@linaro.org>
9113 * gdb.trace/signal.exp: Also pass if
9114 $tracepoint_hits($i) > $iterations.
9116 2016-04-22 Yao Qi <yao.qi@linaro.org>
9118 * gdb.trace/signal.c: New file.
9119 * gdb.trace/signal.exp: New file.
9121 2016-04-19 Doug Evans <xdje42@gmail.com>
9123 * gdb.base/bad-file.exp: New file.
9125 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9127 * gdb.dwarf2/implref.exp: New file.
9129 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9131 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9132 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9133 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9134 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9135 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9136 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9137 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9138 * lib/fortran.exp (fortran_int4): New procedure.
9139 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9140 (fortran_logical4): Likewise.
9142 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9144 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9146 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9148 * lib/compiler.c: Add Intel specific preprocessor macros.
9149 * lib/compiler.cc: Likewise.
9151 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9153 * gdb.server/connect-with-no-symbol-file.c: New file.
9154 * gdb.server/connect-with-no-symbol-file.exp: New file.
9156 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9158 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9160 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9162 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9163 standard output directory.
9165 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9167 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9169 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9171 * gdb.btrace/instruction_history.c (loop): Add declaration.
9173 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9175 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9177 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9179 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9180 parentheses to print.
9181 (continue_handler): Likewise.
9183 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9185 * gdb.server/solib-list.exp: Remove is_remote check.
9186 Pass shlib= to gdb_compile. Don't link shared library with
9187 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9188 Run binary filename through "readlink -f" on the target.
9190 2016-04-08 Pedro Alves <palves@redhat.com>
9192 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9193 interpreter filename as argument to gdbserver_spawn.
9194 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9195 Return empty if $last_loaded_file does not exist.
9197 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9199 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9200 * gdb.base/jit-main.c: Use exit after usage.
9202 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9204 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9205 GDBHISTSIZE prior to the tests.
9206 * gdb.base/gdbinit-history.exp: Likewise.
9208 2016-04-07 Pedro Alves <palves@redhat.com>
9210 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9211 instead of build_executable. Use gdb_load_shlibs.
9213 2016-04-07 Yao Qi <yao.qi@linaro.org>
9215 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9216 Execute "si" command.
9218 2016-04-07 Yao Qi <yao.qi@linaro.org>
9220 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9221 number instead of the comments on some line.
9223 2016-04-06 Don Breazeal <donb@codesourcery.com>
9225 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9226 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9228 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9230 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9231 standard_output_file. Remove unused binfile variable.
9233 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9235 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9236 * gdb.python/py-mi-objfile.exp: Match "list main" output
9239 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9241 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9244 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9246 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9248 * gdb.trace/ftrace.exp: Likewise.
9249 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9251 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9252 (gdb_load_shlibs): Copy libraries to test directory when testing
9253 natively. Only set solib-search-path if testing remotely.
9254 * lib/mi-support.exp (mi_load_shlibs): Likewise.
9256 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9258 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
9259 gdb_download. Use it even if the target is not remote.
9260 * gdb.base/jit.exp (compile_jit_test): Likewise.
9261 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
9262 output directory if the destination board is local, otherwise use
9263 the standard remote_download from DejaGnu.
9264 (gdb_download): Remove.
9265 (gdb_load_shlibs): Use gdb_remote_download instead of
9267 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9268 Use gdb_remote_download instead of gdb_download. Use it even if
9269 the target is not remote.
9270 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
9271 instead of gdb_download.
9273 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
9275 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
9276 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9279 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9282 * gdb.base/printcmds.exp: Add artificial arrays tests.
9284 2016-03-31 Pedro Alves <palves@redhat.com>
9287 * gdb.base/jit-main.c: Include unistd.h.
9288 (ATTACH): Define to 0 if not already defined.
9289 (wait_for_gdb, mypid): New globals.
9290 (WAIT_FOR_GDB): New macro.
9291 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9292 some breakpoint locations.
9293 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9295 (one_jit_test): Add REATTACH parameter, and handle it. Use
9296 continue_to_test_location.
9297 (top level): Test attach, and adjusts calls to one_jit_test.
9299 2016-03-31 Pedro Alves <palves@redhat.com>
9302 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9303 BINSUFFIX parameter, and handle it.
9304 (top level): Adjust calls compile_jit_test.
9306 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9309 * gdb.python/py-mi-events-gdb.py: New file.
9310 * gdb.python/py-mi-events.c: New file.
9311 * gdb.python/py-mi-events.exp: New file.
9313 2016-03-30 Yao Qi <yao.qi@linaro.org>
9315 * gdb.reverse/until-precsave.exp: Match function name only.
9316 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9317 Move malloc to a condition block.
9318 * gdb.reverse/until-reverse.exp: Match function name only.
9320 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9322 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9323 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9324 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9325 variable for GPR 0 instead of assuming it is register 0.
9326 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9327 * lib/trace-support.exp: Add s390 registers.
9329 2016-03-29 Yao Qi <yao.qi@linaro.org>
9331 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9333 2016-03-24 Yao Qi <yao.qi@linaro.org>
9335 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9338 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9340 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9341 maintaining separate logic for constructing the output path.
9343 2016-03-16 Don Breazeal <donb@codesourcery.com>
9345 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9346 Retry fork and waitpid on interrupted system call errors.
9347 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9348 Use with_timeout_factor to increase timeout by factor of 10.
9350 2016-03-15 Don Breazeal <donb@codesourcery.com>
9352 * gdb.cp/scope-err.cc: New test program.
9353 * gdb.cp/scope-err.exp: New test script.
9354 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9355 lines and "set breakpoint here" comment.
9356 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9357 Fixed some whitespace and format issues.
9358 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9359 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9361 2016-03-15 Doug Evans <dje@google.com>
9363 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9364 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9365 All callers updated. Add tests for enums, mixed flags register.
9367 2016-03-15 Doug Evans <dje@google.com>
9369 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9370 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9372 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9374 * gdb.base/default.exp: Add $_as_string to the list of expected
9375 convenience functions.
9377 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9379 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9381 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9383 * gdb.python/py-as-string.exp: New file.
9384 * gdb.python/py-as-string.c: New file.
9386 2016-03-09 Pedro Alves <palves@redhat.com>
9388 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9389 signal" -> "Thread NN received signal" output change.
9390 * gdb.threads/ia64-sigill.exp: Likewise.
9391 * gdb.threads/linux-dp.exp: Likewise.
9392 * gdb.threads/manythreads.exp: Likewise.
9393 * gdb.threads/pending-step.exp: Likewise.
9394 * gdb.threads/print-threads.exp: Likewise.
9395 * gdb.threads/sigstep-threads.exp: Likewise.
9396 * gdb.threads/staticthreads.exp: Likewise.
9397 * gdb.threads/tls.exp: Likewise.
9399 2016-03-09 Pedro Alves <palves@redhat.com>
9401 * gdb.base/command-line-input.exp: New file.
9403 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9405 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9406 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9407 * gdb.trace/pending.exp: Accept leading dot before function name.
9408 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9409 * lib/trace-support.exp: Set registers for ppc.
9411 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9413 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9414 use it for disassembly; accept .main in addition to main in backtrace.
9416 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9417 Marcin Kościelnicki <koriakin@0x04.net>
9419 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9420 (gdb_recursion_test_ptr): New global variable.
9421 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9423 (gdb_c_test): Ditto.
9425 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9427 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9430 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9432 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9433 (bar): Add bar_start_lbl label.
9434 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9435 of foo/bar for emitting DWARF and tracing.
9437 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9439 * analyze-racy-logs.py: Set executable bit.
9441 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9443 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9444 (CHECK_TARGET_TMP): Likewise.
9445 (check-single-racy): New rule.
9446 (check-parallel-racy): Likewise.
9447 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9448 (do-check-parallel-racy): New rule.
9449 (check-racy/%.exp): Likewise.
9450 * README (Racy testcases): New section.
9451 * analyze-racy-logs.py: New file.
9453 2016-03-03 Doug Evans <dje@google.com>
9455 * gdb.base/skip.exp: Use with_test_prefix.
9457 2016-03-03 Yao Qi <yao.qi@linaro.org>
9459 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9460 Invoke step_over_syscall "clone" and break_cond_on_syscall
9462 * gdb.base/step-over-clone.c: New file.
9464 2016-03-03 Yao Qi <yao.qi@linaro.org>
9466 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9469 2016-03-03 Yao Qi <yao.qi@linaro.org>
9471 * gdb.base/disp-step-fork.c: Rename to ...
9472 * gdb.base/step-over-fork.c: ... it. New file.
9473 * gdb.base/disp-step-vfork.c: Rename to ...
9474 * gdb.base/step-over-vfork.c: ... it. New file.
9475 * gdb.base/disp-step-syscall.exp: Rename to ...
9476 * gdb.base/step-over-syscall.exp: ... it. New file.
9477 (disp_step_cross_syscall): Rename to ...
9478 (step_over_syscall): ... it.
9480 2016-03-03 Yao Qi <yao.qi@linaro.org>
9482 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9483 If target supports condition evaluation on target, invoke
9484 break_cond_on_syscall for fork and vfork.
9486 2016-03-03 Yao Qi <yao.qi@linaro.org>
9488 * gdb.base/disp-step-syscall.exp: Don't invoke
9489 support_displaced_stepping.
9490 (disp_step_cross_syscall): Test with displaced stepping off and
9493 2016-03-03 Yao Qi <yao.qi@linaro.org>
9495 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9498 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9501 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9503 * gdb.fortran/vla-history.exp: Remove breakpoint.
9505 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9507 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9510 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9512 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9515 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9517 * gdb.mi/vla.f90: Nullify pointer after declaration.
9519 2016-03-01 Pedro Alves <palves@redhat.com>
9521 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9523 2016-03-01 Pedro Alves <palves@redhat.com>
9525 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9526 before anything else.
9527 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9529 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9530 before anything else.
9531 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9533 2016-03-01 Pedro Alves <palves@redhat.com>
9535 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9537 2016-03-01 Yao Qi <yao.qi@linaro.org>
9539 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9540 prepare_for_testing.
9542 2016-03-01 Yao Qi <yao.qi@linaro.org>
9544 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9546 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9548 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9549 manually constructing the output path.
9551 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9553 * gdb.arch/s390-stackless.S: New.
9554 * gdb.arch/s390-stackless.exp: New.
9556 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9558 * gdb.dlang/circular.c: New file.
9559 * gdb.dlang/circular.exp: New file.
9561 2016-02-26 Yao Qi <yao.qi@linaro.org>
9563 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9564 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9565 (testcases): Update.
9567 2016-02-26 Yao Qi <yao.qi@linaro.org>
9569 * gdb.reverse/aarch64.c: Rename to ...
9570 * gdb.reverse/insn-reverse.c: ... it.
9571 * gdb.reverse/aarch64.exp: Rename to ...
9572 * gdb.reverse/insn-reverse.exp: ... it.
9574 2016-02-26 Yao Qi <yao.qi@linaro.org>
9576 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9577 (testcase_ftype): New.
9578 (testcases): New array.
9580 (main): Call each element in testcases.
9581 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9582 (read_testcase): New.
9583 Do the tests in a loop.
9585 2016-02-25 Yao Qi <yao.qi@linaro.org>
9587 * gdb.base/branches.c: Remove.
9589 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9592 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9594 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9596 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9598 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9600 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9601 change x86_64 call_insn to 'callq'.
9603 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9605 * gdb.trace/tfile-avx.c: Move to...
9606 * gdb.trace/tracefile-pseudo-reg.c: Here.
9607 * gdb.trace/tfile-avx.exp: Move to...
9608 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9610 2016-02-24 Gary Benson <gbenson@redhat.com>
9612 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9615 2016-02-23 Doug Evans <dje@google.com>
9617 * gdb.base/skip.c (test_skip): New function.
9618 (end_test_skip_file_and_function): New function.
9619 (test_skip_file_and_function): New function.
9620 * gdb.base/skip1.c (test_skip): New function.
9621 (skip1_test_skip_file_and_function): New function.
9622 * gdb.base/skip.exp: Add tests for new skip options.
9623 * gdb.base/skip-solib.exp: Update expected output.
9624 * gdb.perf/skip-command.cc: New file.
9625 * gdb.perf/skip-command.exp: New file.
9626 * gdb.perf/skip-command.py: New file.
9628 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9630 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9631 info registers pattern.
9633 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9635 * lib/future.exp: Add D support.
9636 (gdb_find_gdc): New proc.
9637 (gdb_default_target_compile): Add D support.
9639 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9641 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9643 (trace_speed_test): Determine the iteration count for a time
9644 between 15..30 seconds.
9646 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9648 * gdb.arch/i386-mpx-sigsegv.c: New file.
9649 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9650 * gdb.arch/i386-mpx-simple_segv.c: New file.
9651 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9653 2016-02-18 Yao Qi <yao.qi@linaro.org>
9655 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9656 Don't call setup_kfail.
9658 2016-02-18 Yao Qi <yao.qi@linaro.org>
9660 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9661 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9663 2016-02-16 Doug Evans <dje@google.com>
9665 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9666 * gdb.base/skip1.c: Ditto.
9667 * gdb.base/skip.exp: Whitespace cleanup.
9669 2016-02-16 Don Breazeal <donb@codesourcery.com>
9672 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9673 Remove kfail for PR remote/19496.
9675 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9677 * lib/gdb.exp (standard_temp_file): Return a path specific to
9678 the runtest invocation.
9680 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9682 * gdb.trace/save-trace.exp: Change relative path to be in the
9683 standard output directory.
9685 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9687 * gdb.arch/i386-prologue.c: Add missing prototypes.
9689 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9691 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9692 * gdb.arch/i386-prologue.exp: Likewise.
9693 * gdb.arch/i386-size.exp: Likewise.
9695 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9697 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9698 define object file path.
9699 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9701 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9702 standard_output_file to define binfile.
9704 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9706 Fix compatibility with recent gfortran-5.3.1.
9707 * gdb.fortran/vla-history.exp (print vla1 allocated)
9708 (print vla2 allocated, print $2, print $3): Remove
9709 (print $4): Rename to ...
9710 (print $2): ... here.
9711 (print $9): Rename to ...
9712 (print $5): ... here.
9713 (print $10): Rename to ...
9714 (print $6): ... here.
9715 * gdb.fortran/vla.f90: Add pvla initialization.
9717 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9719 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9721 * gdb.fortran/vla-value-sub.exp: Likewise.
9723 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9725 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9727 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9729 * i386-biarch-core.exp: Define corefile using
9730 standard_output_file.
9732 2016-02-12 Yao Qi <yao.qi@linaro.org>
9734 * gdb.arch/arm-single-step-kernel-helper.c: New.
9735 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9737 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9739 * gdb.btrace/tailcall-only.exp: New.
9740 * gdb.btrace/tailcall-only.c: New.
9741 * gdb.btrace/x86_64-tailcall-only.S: New.
9742 * gdb.btrace/i686-tailcall-only.S: New.
9744 2016-02-11 Pedro Alves <palves@redhat.com>
9746 * README (Parallel testing): Add missing double quotes.
9748 2016-02-11 Pedro Alves <palves@redhat.com>
9750 * README (Parallel testing): New section.
9751 (GDB_PARALLEL): Rewrite.
9752 (FORCE_PARALLEL): Document.
9754 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9756 * gdb.trace/tfile-avx.c: New test.
9757 * gdb.trace/tfile-avx.exp: New test.
9759 2016-02-09 Keith Seitz <keiths@redhat.com>
9761 PR breakpoints/19546
9762 * gdb.base/infcall-exec.c: New file.
9763 * gdb.base/infcall-exec2.c: New file.
9764 * gdb.base/infcall-exec.exp: New file.
9766 2016-02-09 Keith Seitz <keiths@redhat.com>
9768 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9769 (toplevel): Call test_bkpt_address.
9771 2016-02-09 Keith Seitz <keiths@redhat.com>
9774 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9775 (toplevel): Call test_bkpt_address.
9777 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9779 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9781 * configure: Regenerate.
9783 2016-02-09 Pedro Alves <palves@redhat.com>
9785 PR breakpoints/19548
9786 * gdb.base/execl-update-breakpoints.c (some_function): New
9789 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9790 Tighten expected GDB output.
9792 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9794 * Makefile.in (ALL_SUBDIRS): Remove.
9795 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9796 (distclean maintainer-clean realclean): Likewise.
9797 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9798 * configure: Regenerate.
9799 * gdb.ada/Makefile.in: Delete.
9800 * gdb.arch/Makefile.in: Likewise.
9801 * gdb.asm/Makefile.in: Likewise.
9802 * gdb.base/Makefile.in: Likewise.
9803 * gdb.btrace/Makefile.in: Likewise.
9804 * gdb.cell/Makefile.in: Likewise.
9805 * gdb.compile/Makefile.in: Likewise.
9806 * gdb.cp/Makefile.in: Likewise.
9807 * gdb.disasm/Makefile.in: Likewise.
9808 * gdb.dlang/Makefile.in: Likewise.
9809 * gdb.dwarf2/Makefile.in: Likewise.
9810 * gdb.fortran/Makefile.in: Likewise.
9811 * gdb.gdb/Makefile.in: Likewise.
9812 * gdb.go/Makefile.in: Likewise.
9813 * gdb.guile/Makefile.in: Likewise.
9814 * gdb.java/Makefile.in: Likewise.
9815 * gdb.linespec/Makefile.in: Likewise.
9816 * gdb.mi/Makefile.in: Likewise.
9817 * gdb.modula2/Makefile.in: Likewise.
9818 * gdb.multi/Makefile.in: Likewise.
9819 * gdb.objc/Makefile.in: Likewise.
9820 * gdb.opencl/Makefile.in: Likewise.
9821 * gdb.opt/Makefile.in: Likewise.
9822 * gdb.pascal/Makefile.in: Likewise.
9823 * gdb.perf/Makefile.in: Likewise.
9824 * gdb.python/Makefile.in: Likewise.
9825 * gdb.reverse/Makefile.in: Likewise.
9826 * gdb.server/Makefile.in: Likewise.
9827 * gdb.stabs/Makefile.in: Likewise.
9828 * gdb.threads/Makefile.in: Likewise.
9829 * gdb.trace/Makefile.in: Likewise.
9830 * gdb.xml/Makefile.in: Likewise.
9831 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9833 (standard_output_file): Remove check for GDB_PARALLEL, always
9834 return path in outputs/$subdir/$testname.
9836 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9838 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9839 (site.exp): Assign abs_srcdir to tcl's srcdir.
9841 2016-02-04 Yao Qi <yao.qi@linaro.org>
9843 * gdb.base/foll-exec-mode.c: Include limits.h.
9844 (main): Add parameters argc and argv. Get directory from
9846 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9848 * gdb.base/foll-exec.c: Include limits.h.
9849 (main): Add parameters argc and argv.
9850 Get directory from argv[0].
9851 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9852 Adjust tests on the number of lines as source code changed.
9853 * gdb.base/foll-vfork-exit.c: Include limits.h.
9854 (main): Add one line of statement before vfork.
9855 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9856 (main): Add parameters argc and argv. Get directory from
9858 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9859 (setup_gdb): Set tbreak to skip some source lines.
9860 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9861 (main): Add parameters argc and argv. Get directory from
9863 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9865 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9866 (main): Add parameters argc and argv. Get directory from
9868 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9871 2016-02-01 Doug Evans <dje@google.com>
9873 * gdb.base/skip.exp: Clean up multiple references to same test name.
9875 2016-02-01 Pedro Alves <palves@redhat.com>
9878 * gdb.threads/forking-threads-plus-breakpoint.exp
9879 (displaced_stepping_supported): New global.
9880 (probe_displaced_stepping_support): New procedure.
9881 (do_test): Add 'displaced' parameter, and use it.
9882 (top level): Check for displaced stepping support. Add displaced
9883 stepping on/off testing axis.
9885 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9887 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9888 pointer. Don't perform further tests on the unassociated pointer
9889 if the first test fails.
9891 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9893 * gdb.base/max-value-size.c: New file.
9894 * gdb.base/max-value-size.exp: New file.
9895 * gdb.base/huge.exp: Disable max-value-size for this test.
9897 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9899 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9901 2016-01-28 Yao Qi <yao.qi@linaro.org>
9903 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9905 2016-01-25 Pedro Alves <palves@redhat.com>
9908 * gdb.base/fork-running-state.c: New file.
9909 * gdb.base/fork-running-state.exp: New file.
9911 2016-01-25 Pedro Alves <palves@redhat.com>
9914 * gdb.base/catch-fork-kill.c: New file.
9915 * gdb.base/catch-fork-kill.exp: New file.
9917 2016-01-25 Pedro Alves <palves@redhat.com>
9919 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9920 Delete, moved to lib/gdb.exp.
9921 * gdb.threads/forking-threads-plus-breakpoint.exp
9922 (foreach_with_prefix): Likewise.
9923 * gdb.threads/process-dies-while-handling-bp.exp
9924 (foreach_with_prefix): Likewise.
9925 * lib/gdb.exp (foreach_with_prefix): New procedure.
9927 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9929 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9930 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9932 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9934 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9937 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9938 Pedro Alves <palves@redhat.com>
9940 Fix testsuite compatibility with Guile.
9941 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9944 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9946 Fix testsuite compatibility with Guile.
9947 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9948 (thread 1): New test for backtrace through signal handler.
9950 2016-01-22 Yao Qi <yao.qi@linaro.org>
9953 * gdb.base/multi-forks.c: Include
9954 ../lib/unbuffer_output.c
9955 (main): Call gdb_unbuffer_output.
9957 2016-01-21 Doug Evans <dje@google.com>
9959 * lib/ada.exp (gdb_compile_ada): Fix typo.
9961 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9963 * gdb.base/break-fun-addr.exp: New file.
9964 * gdb.base/break-fun-addr1.c: New file.
9965 * gdb.base/break-fun-addr2.c: New file.
9967 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9969 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9970 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9973 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9975 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9976 when GDB can not set the vector return value. Add more comments
9979 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9981 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9984 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9986 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9988 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9990 * Makefile.in (check-single): Pass --status to runtest.
9991 (check/%.exp): Likewise.
9993 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9995 * Makefile.in (check-parallel): Propagate return code from make
9998 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10000 * gdb.trace/ftrace.exp: Fix expected message on continue.
10001 * gdb.trace/pending.exp: Fix expected message on continue.
10002 * gdb.trace/trace-break.exp: Fix expected message on continue.
10004 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10006 * lib/gdb.exp (gdb_test): Remove unused global references.
10008 2016-01-18 Pedro Alves <palves@redhat.com>
10010 * gdb.base/async-shell.exp: Adjust expected output.
10011 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10012 * gdb.base/siginfo-thread.exp: Adjust expected output.
10013 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10014 * gdb.java/jnpe.exp: Adjust expected output.
10015 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10016 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10017 * gdb.threads/leader-exit.exp: Adjust expected output.
10018 * gdb.threads/manythreads.exp: Adjust expected output.
10019 * gdb.threads/pthreads.exp: Adjust expected output.
10020 * gdb.threads/schedlock.exp: Adjust expected output.
10021 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10022 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10024 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10026 * gdb.threads/sigthread.exp: Adjust expected output.
10027 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10029 2016-01-18 Yao Qi <yao.qi@linaro.org>
10031 * gdb.guile/scm-section-script.c: Replace @progbits with
10033 * gdb.python/py-section-script.c: Likewise.
10035 2016-01-15 Pedro Alves <palves@redhat.com>
10037 * gdb.multi/tids.exp: Test star wildcard ranges.
10039 2016-01-15 Pedro Alves <palves@redhat.com>
10041 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10042 command from "thread apply" invocation.
10043 (thr_apply_info_thr_invalid): Default the expected output to the
10045 (top level): Add tests that use convenience variables. Add tests
10046 for "thread apply" with a valid TID list, but missing the command.
10048 2016-01-13 Pedro Alves <palves@redhat.com>
10050 * gdb.base/default.exp: Expect $_gthread as well.
10051 * gdb.multi/tids.exp: Test $_gthread.
10052 * gdb.threads/thread-specific.exp: Test $_gthread.
10054 2016-01-13 Pedro Alves <palves@redhat.com>
10056 * gdb.multi/tids.exp: Test "info threads -gid".
10058 2016-01-13 Pedro Alves <palves@redhat.com>
10060 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10062 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10064 2016-01-07 Pedro Alves <palves@redhat.com>
10066 * gdb.base/break.exp: Adjust to output changes.
10067 * gdb.base/hbreak2.exp: Likewise.
10068 * gdb.base/sepdebug.exp: Likewise.
10069 * gdb.base/watch_thread_num.exp: Likewise.
10070 * gdb.linespec/keywords.exp: Likewise.
10071 * gdb.multi/info-threads.exp: Likewise.
10072 * gdb.threads/thread-find.exp: Likewise.
10073 * gdb.multi/tids.c: New file.
10074 * gdb.multi/tids.exp: New file.
10076 2016-01-13 Pedro Alves <palves@redhat.com>
10078 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10080 2016-01-13 Pedro Alves <palves@redhat.com>
10082 * gdb.base/default.exp: Expect $_inferior as well.
10083 * gdb.multi/base.exp: Test $_inferior.
10085 2016-01-13 Pedro Alves <palves@redhat.com>
10087 PR breakpoints/19388
10088 * gdb.base/catch-signal-siginfo-cond.c: New file.
10089 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10091 2016-01-12 Josh Stone <jistone@redhat.com>
10092 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10094 * gdb.base/catch-syscall.c (do_execve): New variable.
10095 (main): Conditionally trigger an execve.
10096 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10097 (test_catch_syscall_execve): New, check entry/return across execve.
10098 (do_syscall_tests): Call test_catch_syscall_execve.
10100 2016-01-12 Pedro Alves <palves@redhat.com>
10102 * gdb.base/random-signal.exp (do_test): New procedure, with body
10103 of testcase moved in.
10105 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10106 Pedro Alves <palves@redhat.com>
10108 * gdb.base/funcargs.exp (finish from indirectly called function):
10109 Reintroduce the case for 'First'.
10111 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10112 Pedro Alves <palves@redhat.com>
10114 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10115 (tcatch_vfork_then_child_follow_exec)
10116 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10119 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10121 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10122 and repeats to unlimited.
10123 * gdb.python/py-value.exp: Likewise.
10124 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10125 and repeats to unlimited.
10127 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10129 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10130 and reordering the functions.
10131 * gdb.multi/hangout.c: Likewise.
10132 * gdb.multi/hello.c: Likewise.
10134 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10136 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10138 (SingleStatisticTestResult.report): Use dict.keys instead of
10141 2016-01-06 Pedro Alves <palves@redhat.com>
10143 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10145 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10147 * gdb.btrace/dlopen.exp: New.
10148 * gdb.btrace/dlopen.c: New.
10149 * gdb.btrace/dlopen-dso.c: New.
10151 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10153 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10154 PATTERN argument is optional.
10156 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10158 * lib/ada.exp (target_compile_ada_from_dir): New function.
10159 (gdb_compile_ada): Reimplement avoiding the use of project files.
10160 * gdb.ada/gnat_ada.gpr: Delete.
10161 * gdb.ada/cond_lang.exp: Adjust test to make path before
10163 * gdb.ada/small_reg_param.exp: Likewise.
10165 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10167 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10169 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10171 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10174 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10176 * gdb.base/break.exp: Remove dead code.
10177 * gdb.base/sepdebug.exp: Likewise.
10179 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10181 * gdb.asm/asm-source.exp: Remove HP-UX references.
10182 * gdb.base/annota1.exp: Likewise.
10183 * gdb.base/annota3.exp: Likewise.
10184 * gdb.base/attach.exp: Likewise.
10185 * gdb.base/bigcore.exp: Likewise.
10186 * gdb.base/break.exp: Likewise.
10187 * gdb.base/call-ar-st.exp: Likewise.
10188 * gdb.base/callfuncs.exp: Likewise.
10189 * gdb.base/catch-fork-static.exp: Likewise.
10190 * gdb.base/display.exp: Likewise.
10191 * gdb.base/foll-exec-mode.exp: Likewise.
10192 * gdb.base/foll-exec.exp: Likewise.
10193 * gdb.base/foll-fork.exp: Likewise.
10194 * gdb.base/foll-vfork.exp: Likewise.
10195 * gdb.base/funcargs.exp: Likewise.
10196 * gdb.base/hbreak2.exp: Likewise.
10197 * gdb.base/inferior-died.exp: Likewise.
10198 * gdb.base/interrupt.exp: Likewise.
10199 * gdb.base/multi-forks.exp: Likewise.
10200 * gdb.base/nodebug.exp: Likewise.
10201 * gdb.base/sepdebug.exp: Likewise.
10202 * gdb.base/solib1.c: Likewise.
10203 * gdb.base/step-test.exp: Likewise.
10204 * gdb.mi/non-stop.c: Likewise.
10205 * gdb.mi/pthreads.c: Likewise.
10206 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10207 * gdb.threads/pthreads.c: Likewise.
10208 * gdb.threads/staticthreads.exp: Likewise.
10209 * lib/future.exp: Likewise.
10210 * lib/gdb.exp: Likewise.
10211 * gdb.base/so-indr-cl.c: Remove.
10212 * gdb.base/so-indr-cl.exp: Likewise.
10213 * gdb.base/solib.c: Likewise.
10214 * gdb.base/solib.exp: Likewise.
10215 * gdb.base/solib2.c: Likewise.
10217 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10219 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10220 * gdb.base/call-ar-st.exp: Likewise.
10221 * gdb.base/callfuncs.exp: Likewise.
10222 * gdb.base/condbreak.exp: Likewise.
10223 * gdb.base/constvars.exp: Likewise.
10224 * gdb.base/hbreak2.exp: Likewise.
10225 * gdb.base/langs.exp: Likewise.
10226 * gdb.base/list.exp: Likewise.
10227 * gdb.base/long_long.exp: Likewise.
10228 * gdb.base/ptype.exp: Likewise.
10229 * gdb.base/scope.exp: Likewise.
10230 * gdb.base/signals.exp: Likewise.
10231 * gdb.base/so-impl-ld.exp: Likewise.
10232 * gdb.base/varargs.exp: Likewise.
10233 * gdb.base/volatile.exp: Likewise.
10234 * gdb.base/whatis.exp: Likewise.
10235 * gdb.cp/cplusfuncs.exp: Likewise.
10236 * gdb.cp/inherit.exp: Likewise.
10237 * gdb.cp/local.exp: Likewise.
10238 * gdb.cp/member-ptr.exp: Likewise.
10239 * gdb.cp/method.exp: Likewise.
10240 * gdb.cp/overload.exp: Likewise.
10241 * gdb.cp/templates.exp: Likewise.
10242 * gdb.stabs/weird.exp: Likewise.
10243 * lib/compiler.c: Likewise.
10244 * lib/compiler.cc: Likewise.
10245 * lib/cp-support.exp: Likewise.
10246 * lib/gdb.exp: Likewise.
10248 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10250 * configure.ac: Remove HP-UX case.
10251 * configure: Regenerate.
10253 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10255 * lib/gdb.exp (gdb_compile): Add function doc.
10257 2015-12-17 Pedro Alves <palves@redhat.com>
10260 * gdb.multi/info-threads.exp: New file.
10262 2015-12-15 Yao Qi <yao.qi@linaro.org>
10264 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
10267 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10269 * gdb.base/history-duplicates.exp: Skip if no readline support.
10271 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10273 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
10275 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10277 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10279 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10281 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10282 ctrl-C if nointerrupts target property is set.
10283 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10284 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10285 * gdb.base/paginate-bg-execution.exp: Likewise.
10286 * gdb.base/paginate-execution-startup.exp: Likewise.
10287 * gdb.base/random-signal.exp: Likewise.
10288 * gdb.base/range-stepping.exp: Likewise.
10289 * gdb.cp/annota2.exp: Likewise.
10290 * gdb.cp/annota3.exp: Likewise.
10291 * gdb.gdb/selftest.exp: Likewise.
10292 * gdb.threads/continue-pending-status.exp: Likewise.
10293 * gdb.threads/leader-exit.exp: Likewise.
10294 * gdb.threads/manythreads.exp: Likewise.
10295 * gdb.threads/pthreads.exp: Likewise.
10296 * gdb.threads/schedlock.exp: Likewise.
10297 * gdb.threads/sigthread.exp: Likewise.
10299 2015-12-11 Don Breazeal <donb@codesourcery.com>
10301 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10303 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10304 * gdb.base/foll-exec.exp (main): Enable for target remote.
10305 * gdb.base/foll-fork.exp (main): Likewise.
10306 * gdb.base/foll-vfork.exp (main): Likewise.
10307 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10308 (proc continue_to_exit_bp_loc): Use clean_restart.
10309 * gdb.base/pie-execl.exp (main): Disable for target remote.
10310 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10311 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10312 * gdb.threads/execl.exp (main): Likewise.
10313 * gdb.threads/fork-child-threads.exp (main): Likewise.
10314 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10316 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10318 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10319 pid.tid style ptids, instead of just tid.
10320 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10321 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10322 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10323 ptids, instead of just tid.
10325 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10327 * gdb.base/list.exp (test_list_forward): Add end of file error
10329 (test_repeat_list_command): Add end of file error test.
10330 (test_list_backwards): Add beginning of file error test.
10332 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10334 * gdb.base/list.exp (test_list_invalid_args): New function,
10335 defined, and called.
10337 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10339 * gdb.base/list.exp (test_list): Make test names unique.
10341 2015-12-11 Yao Qi <yao.qi@linaro.org>
10343 * gdb.base/coremaker2.c: Remove.
10345 2015-12-10 Pedro Alves <palves@redhat.com>
10347 * gdb.multi/base.exp: Remove stale "spaces" references.
10349 2015-12-10 Pedro Alves <palves@redhat.com>
10351 * gdb.multi/base.exp: Don't use nowarnings.
10352 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10353 * gdb.multi/hangout.c: Include stdio.h.
10354 * gdb.multi/hello.c: Include stdlib.h.
10355 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10356 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10357 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10359 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10361 * gdb.dwarf2/dw2-ranges-base.c: New file.
10362 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10363 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10364 support additional line table, and debug ranges generation.
10365 (Dwarf::ranges): New function, generate .debug_ranges.
10366 (Dwarf::lines): Support generating simple line table programs.
10367 (Dwarf::assemble): Initialise new namespace variables.
10369 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10371 * gdb.base/async.exp (proc test_background): Add case for
10372 asynchronous execution not supported.
10374 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10376 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10377 format and change test names to make them unique.
10379 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10380 Pedro Alves <pedro@redhat.com>
10383 Add checking of floatformats setup on x86_64 hosts.
10384 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10385 (smallval, bigval): New labels/constants.
10386 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10387 float" after loading bigval and smallval.
10389 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10391 * gdb.ada/fun_overload_menu.exp: New testcase.
10392 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10394 2015-12-04 Josh Stone <jistone@redhat.com>
10396 * gdb.base/catch-fork-static.exp: New.
10398 2015-12-03 Yao Qi <yao.qi@linaro.org>
10400 * gdb.base/sizeof.c: Don't include stdio.h and
10401 ../lib/unbuffer_output.c.
10402 (main): New variable 'size' and 'value'. Remove printf and
10403 gdb_unbuffer_output. Assign return value to size and value.
10404 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10406 (check_sizeof): Check the result by printing variable 'size'.
10407 (check_valueof): Check the result by printing variable 'value'.
10409 2015-12-01 Yao Qi <yao.qi@linaro.org>
10411 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10412 for aarch64*-*-linux* target.
10414 2015-11-30 Pedro Alves <palves@redhat.com>
10416 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10418 2015-11-30 Pedro Alves <palves@redhat.com>
10420 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10421 Handle non-stop mode vCont replies.
10423 2015-11-30 Pedro Alves <palves@redhat.com>
10425 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10426 prepare_for_testing. Start gdb with "set non-stop on" appended to
10427 GDBFLAGS. Lax expected stop output.
10429 2015-11-27 Yao Qi <yao.qi@linaro.org>
10431 * gdb.arch/arm-neon.exp: New.
10432 * gdb.arch/arm-neon.c: New.
10434 2015-11-27 Yao Qi <yao.qi@linaro.org>
10436 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10438 2015-11-27 Yao Qi <yao.qi@linaro.org>
10440 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10441 frames-invalid annotation.
10443 2015-11-27 Yao Qi <yao.qi@linaro.org>
10445 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10447 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10449 * gdb.threads/names.exp: New file.
10450 * gdb.threads/names.c: New file.
10451 * README: Mention gdb,no_thread_names.
10453 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10456 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10459 2015-11-24 Pedro Alves <palves@redhat.com>
10462 * gdb.base/display.exp: Expect displays to be sorted in ascending
10463 order. Use multi_line.
10464 * gdb.base/solib-display.exp: Likewise.
10466 2015-11-24 Pedro Alves <palves@redhat.com>
10469 * gdb.base/display.exp: Expect displays to be sorted in ascending
10470 order. Use multi_line.
10471 * gdb.base/solib-display.exp: Likewise.
10473 2015-11-24 Pedro Alves <palves@redhat.com>
10476 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10477 threads in ascending order.
10478 * gdb.base/foll-fork.exp: Likewise.
10479 * gdb.base/foll-vfork.exp: Likewise.
10480 * gdb.base/multi-forks.exp: Likewise.
10481 * gdb.mi/mi-nonstop.exp: Likewise.
10482 * gdb.mi/mi-nsintrall.exp: Likewise.
10483 * gdb.multi/base.exp: Likewise.
10484 * gdb.multi/multi-arch.exp: Likewise.
10485 * gdb.python/py-inferior.exp: Likewise.
10486 * gdb.threads/break-while-running.exp: Likewise.
10487 * gdb.threads/execl.exp: Likewise.
10488 * gdb.threads/gcore-thread.exp: Likewise.
10489 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10490 * gdb.threads/kill.exp: Likewise.
10491 * gdb.threads/linux-dp.exp: Likewise.
10492 * gdb.threads/multiple-step-overs.exp: Likewise.
10493 * gdb.threads/next-bp-other-thread.exp: Likewise.
10494 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10495 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10496 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10497 * gdb.threads/thread-find.exp: Likewise.
10498 * gdb.threads/tls.exp: Likewise.
10499 * lib/mi-support.exp (mi_reverse_list): Delete.
10500 (mi_check_thread_states): No longer reverse list.
10502 2015-11-24 Pedro Alves <palves@redhat.com>
10504 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10507 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10509 * gdb.trace/actions.c: Include trace-common.h.
10510 (main): Add a location for a fast tracepoint.
10511 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10512 the normal tracepoints.
10513 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10515 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10517 * save-trace.exp: Factor out code to these...
10518 (gdb_save_tracepoints): New.
10519 (gdb_load_tracepoints): New.
10520 (do_save_load_test): New.
10522 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10524 * gdb.base/asmlabel.exp: New test.
10525 * gdb.base/asmlabel.c: New test case.
10527 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10529 * gdb.base/wrong_frame_bt_full-main.c: New file.
10530 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10531 * gdb.base/wrong_frame_bt_full.exp: New file.
10533 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10535 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10537 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10539 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10540 pstate register when comparing registers values in
10541 sparc64-*-linux-gnu targets to avoid spurious differences.
10543 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10545 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10547 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10549 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10550 as type argument to gdb_compile.
10551 * gdb.base/nested-subp2.exp: Likewise.
10552 * gdb.base/nested-subp3.exp: Likewise.
10554 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10556 * lib/dwarf.exp (_note): Fix left shift of negative value.
10557 * gdb.trace/trace-condition.exp: Likewise.
10559 2015-11-13 Yao Qi <yao.qi@linaro.org>
10561 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10562 comments about d10v.
10563 (test_scalar_returns): Likewise.
10564 * gdb.base/d10v.ld: Remove.
10565 * gdb.base/overlays.exp: Remove the target triplet checking for
10567 * gdb.base/structs.exp (test_struct_returns): Remove the
10568 comments about d10v.
10569 (test_struct_calls): Likewise.
10571 2015-11-13 Yao Qi <yao.qi@linaro.org>
10573 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10574 * gdb.base/gnu_vector.c: Don't include stdio.h.
10575 (main): Don't print res and call add_some_intvecs.
10577 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10579 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10582 (func4): Use FAST_TRACEPOINT_LABEL.
10583 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10586 (thread_function): Use FAST_TRACEPOINT_LABEL.
10587 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10589 (marker): Use FAST_TRACEPOINT_LABEL.
10590 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10591 (pendfunc1): Remove.
10592 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10593 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10595 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10596 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10599 (marker): Use FAST_TRACEPOINT_LABEL.
10600 * gdb.trace/trace-common.h: New header.
10601 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10604 (marker): Use FAST_TRACEPOINT_LABEL.
10605 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10607 (thread_function): Use FAST_TRACEPOINT_LABEL.
10609 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10611 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10613 * gdb.trace/change-loc.exp: Use global pcreg definition.
10614 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10615 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10617 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10618 * gdb.trace/pending.exp: Likewise.
10619 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10620 * gdb.trace/trace-break.exp: Likewise.
10621 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10623 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10624 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10626 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10628 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10630 * gdb.ada/fin_fun_out: New testcase.
10632 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10634 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10635 value associated with DW_AT_byte_size.
10636 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10637 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10640 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10642 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10643 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10645 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10646 gdb.dwarf2/dw2-canonicalize-type.exp,
10647 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10648 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10649 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10650 provided by gdb_target_symbol_prefix_flags_asm.
10651 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10652 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10653 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10654 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10655 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10656 macros where needed). Use this macro for symbols which require
10657 the prefix provided by SYMBOL_PREFIX.
10659 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10661 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10663 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10664 representing expressions, of more than one list element.
10665 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10666 to prepend linker symbol prefix to f.
10667 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10668 table_1 and table_2.
10669 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10670 Likewise, for f and g.
10671 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10673 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10675 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10676 table_1_ptr and table_2_ptr.
10678 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10679 Joel Brobecker <brobecker@adacore.com>
10681 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10683 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10685 * gdb.reverse/s390-mvcle.c: New test.
10686 * gdb.reverse/s390-mvcle.exp: New file.
10687 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10689 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10691 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10693 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10695 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10697 * gdb.reverse/getresuid-reverse.exp: Likewise.
10698 * gdb.reverse/pipe-reverse.exp: Likewise.
10699 * gdb.reverse/readv-reverse.exp: Likewise.
10700 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10701 * gdb.reverse/time-reverse.exp: Likewise.
10702 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10704 2015-10-30 Yao Qi <yao.qi@linaro.org>
10706 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10707 (empty_cycle): Remove.
10708 (main): Don't call empty_cycle. Don't use watch_count_done.
10709 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10710 empty_cycle. Rewrite the code counting HW watchpoints.
10712 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10714 * gdb.reverse/fstatat-reverse.c: New test.
10715 * gdb.reverse/fstatat-reverse.exp: New file.
10716 * gdb.reverse/getresuid-reverse.c: New test.
10717 * gdb.reverse/getresuid-reverse.exp: New file.
10718 * gdb.reverse/pipe-reverse.c: New test.
10719 * gdb.reverse/pipe-reverse.exp: New file.
10720 * gdb.reverse/readv-reverse.c: New test.
10721 * gdb.reverse/readv-reverse.exp: New file.
10722 * gdb.reverse/recvmsg-reverse.c: New test.
10723 * gdb.reverse/recvmsg-reverse.exp: New file.
10724 * gdb.reverse/time-reverse.c: New test.
10725 * gdb.reverse/time-reverse.exp: New file.
10726 * gdb.reverse/waitpid-reverse.c: New test.
10727 * gdb.reverse/waitpid-reverse.exp: New file.
10729 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10731 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10733 2015-10-26 Doug Evans <dje@google.com>
10736 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10737 * gdb.dwarf2/bad-regnum.c: New file.
10738 * gdb.dwarf2/bad-regnum.exp: New file.
10740 2015-10-26 Doug Evans <dje@google.com>
10743 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10746 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10748 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10749 for a change by "Mention language in compile error message".
10751 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10754 * gdb.python/py-type.c (C::a_method): New.
10755 (C::a_const_method): New.
10756 (C::a_static_method): New.
10758 * gdb.python/py-type.exp (test_fields): Test getting fields
10759 from function and method.
10761 2015-10-21 Keven Boell <keven.boell@intel.com>
10763 * gdb.fortran/vla-alloc-assoc.exp: New file.
10764 * gdb.fortran/vla-datatypes.exp: New file.
10765 * gdb.fortran/vla-datatypes.f90: New file.
10766 * gdb.fortran/vla-history.exp: New file.
10767 * gdb.fortran/vla-ptype-sub.exp: New file.
10768 * gdb.fortran/vla-ptype.exp: New file.
10769 * gdb.fortran/vla-sizeof.exp: New file.
10770 * gdb.fortran/vla-sub.f90: New file.
10771 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10772 * gdb.fortran/vla-value-sub-finish.exp: New file.
10773 * gdb.fortran/vla-value-sub.exp: New file.
10774 * gdb.fortran/vla-value.exp: New file.
10775 * gdb.fortran/vla-ptr-info.exp: New file.
10776 * gdb.mi/mi-vla-fortran.exp: New file.
10777 * gdb.mi/vla.f90: New file.
10779 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10781 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10782 of hardwired timeout value.
10784 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10785 Pedro Alves <palves@redhat.com>
10787 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10788 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10790 2015-10-19 Josh Stone <jistone@redhat.com>
10792 * gdb.base/catch-syscall.c: Include <sched.h>.
10793 (unknown_syscall): New variable.
10794 (main): Trigger a vfork and an unknown syscall.
10795 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10796 (unknown_syscall_number): Likewise.
10797 (check_call_to_syscall): Accept an optional syscall pattern.
10798 (check_return_from_syscall): Likewise.
10799 (check_continue): Likewise.
10800 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10801 (test_catch_syscall_skipping_return): New test toggling off 'catch
10802 syscall' to step over the syscall return, then toggling back on.
10803 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10804 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10805 (do_syscall_tests): Call test_catch_syscall_without_args and
10806 test_catch_syscall_mid_vfork.
10807 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10808 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10810 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10812 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10813 print g_vE): Add new pass patterns.
10814 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10815 print various symbol names for vptr fields.
10817 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10819 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10822 2015-10-12 Yao Qi <yao.qi@linaro.org>
10824 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10826 2015-10-12 Yao Qi <yao.qi@linaro.org>
10828 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10829 is aarch64*-*-linux*.
10831 2015-10-12 Yao Qi <yao.qi@linaro.org>
10833 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10834 (can_relocate_bcond_true): ... it.
10835 (can_relocate_bcond_false): New function.
10837 (can_relocate_bl): Likewise.
10838 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10841 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10843 * gdb.base/nested-addr.c: New file.
10844 * gdb.base/nested-addr.exp: New testcase.
10846 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10848 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10849 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10850 its output. Ignore the output of "record goto begin" and instead
10851 check that GDB is replaying.
10853 2015-10-09 Pedro Alves <palves@redhat.com>
10855 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10856 (top level): Use it in the run with no args test.
10858 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10860 * gdb.dlang/properties.exp: New file.
10862 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10864 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10865 whether or not address 0x1000 is mapped on the target.
10867 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10869 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10872 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10874 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10875 instruction-history test.
10877 2015-09-28 Doug Evans <dje@google.com>
10879 * gdb.base/gcore.c (array_func): Add reference to static_array.
10881 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10883 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10886 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10888 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10889 short or char as base type.
10891 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10893 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10894 to allow any size enum.
10896 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10898 * gdb.ada/array_ptr_renaming.exp: New testcase.
10899 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10900 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10902 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10904 * gdb.trace/ftrace-lock.c: New file.
10905 * gdb.trace/ftrace-lock.exp: New file.
10907 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10909 * gdb.arch/insn-reloc.c: New file.
10910 * gdb.arch/ftrace-insn-reloc.exp: New file.
10912 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10914 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10916 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10917 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10918 * gdb.trace/range-stepping.c: Likewise.
10919 * gdb.trace/trace-break.c: Likewise.
10920 * gdb.trace/trace-mt.c (thread_function): Likewise.
10921 * gdb.trace/ftrace.c (marker): Likewise.
10922 * gdb.trace/trace-condition.c (marker): Likewise.
10923 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10924 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10927 2015-09-18 Doug Evans <xdje42@gmail.com>
10929 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10930 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10932 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10934 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10937 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10939 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10940 the pending breakpoint. Remove timeout override for "Run till
10941 MI pending breakpoint on pendfunc3 on thread 2" test.
10943 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10945 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10948 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10950 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10951 in breakpoint filename pattern.
10953 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10955 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10957 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10959 * gdb.linespec/explicit.exp: Check for readline support for
10960 tab-completion tests. Fix obvious typo.
10962 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10964 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10967 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10969 * gdb.btrace/non-stop.c: New.
10970 * gdb.btrace/non-stop.exp: New.
10972 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10973 Yao Qi <yao.qi@linaro.org>
10975 * gdb.trace/trace-condition.c: New file.
10976 * gdb.trace/trace-condition.exp: New file.
10978 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10980 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10981 for testing bytecode compilation.
10983 2015-09-16 Pedro Alves <palves@redhat.com>
10984 Sandra Loosemore <sandra@codesourcery.com>
10986 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10987 (SECONDS): Redefine.
10988 (main): Call pthread_kill and alarm early.
10989 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10991 (test): If the target can't hardware step and doesn't support
10992 displaced stepping, increase the timeout.
10994 2015-09-16 Pedro Alves <palves@redhat.com>
10996 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10997 (enable_debug): New procedures.
10998 (test): Use them. Bail out if waiting for threads fails.
10999 (top level): Bail out if a test fails.
11001 2015-09-16 Yao Qi <yao.qi@linaro.org>
11003 * gdb.asm/asm-source.exp: Set asm-arch for
11004 aarch64*-*-* target.
11005 * gdb.asm/aarch64.inc: New file.
11007 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11009 * gdb.ada/array_of_variable_length.exp: New testcase.
11010 * gdb.ada/array_of_variable_length/foo.adb: New file.
11011 * gdb.ada/array_of_variable_length/pck.adb: New file.
11012 * gdb.ada/array_of_variable_length/pck.ads: New file.
11014 2015-09-15 Doug Evans <dje@google.com>
11016 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11017 of function static local variable.
11019 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11021 * gdb.threads/tls-so_extern.exp: New test file.
11022 * gdb.threads/tls-so_extern.c: New test file.
11023 * gdb.threads/tls-so_extern_main.c: New test file.
11025 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11027 * gdb.opt/solib-intra-step-lib.c: New file.
11028 * gdb.opt/solib-intra-step-main.c: New file.
11029 * gdb.opt/solib-intra-step.exp: New file.
11031 2015-09-15 Pedro Alves <palves@redhat.com>
11033 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11034 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11036 2015-09-14 Pedro Alves <palves@redhat.com>
11038 * gdb.base/hook-stop-continue.c: Delete.
11039 * gdb.base/hook-stop-continue.exp: Delete.
11040 * gdb.base/hook-stop-frame.c: Delete.
11041 * gdb.base/hook-stop-frame.exp: Delete.
11042 * gdb.base/hook-stop.c: New file.
11043 * gdb.base/hook-stop.exp: New file.
11045 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11047 * gdb.ada/access_to_packed_array.exp: New testcase.
11048 * gdb.ada/access_to_packed_array/foo.adb: New file.
11049 * gdb.ada/access_to_packed_array/pack.adb: New file.
11050 * gdb.ada/access_to_packed_array/pack.ads: New file.
11052 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11054 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11057 2015-09-11 Don Breazeal <donb@codesourcery.com>
11059 * gdb.base/foll-exec.c: Add copyright header. Fix
11061 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11062 (do_exec_tests): Use clean_restart in place of zap_session,
11063 and for test initialization. Fix formatting issues. Use
11064 fail in place of perror.
11065 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11066 an expect statement to match an expression with output from
11067 the program under debug.
11068 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11069 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11070 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11071 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11072 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11074 2015-09-09 Doug Evans <dje@google.com>
11076 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11078 2015-09-09 Doug Evans <dje@google.com>
11080 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11082 2015-09-09 Doug Evans <dje@google.com>
11084 * gdb.base/savedregs.exp: Fix typo.
11086 2015-09-09 Pedro Alves <palves@redhat.com>
11088 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11090 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11092 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11093 command actually switches threads. Give up on remaining
11094 tests if target fails to stop at breakpoint.
11096 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11098 * gdb.ada/funcall_char.exp: New testcase.
11099 * gdb.ada/funcall_char/foo.adb: New file.
11101 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11103 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11104 expected outputs. Add two testcases for completing ambiguous
11106 * gdb.ada/complete/aux_pck.adb: New file.
11107 * gdb.ada/complete/aux_pck.ads: New file.
11108 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11109 Ambiguous_Func functions.
11110 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11111 * gdb.ada/complete/pck.adb: Likewise.
11113 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11115 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11116 failures to run the test program under GDB.
11118 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11120 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11123 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11125 * gdb.base/run-after-attach.exp: New test file.
11126 * gdb.base/run-after-attach.c: New test file.
11128 2015-08-26 Don Breazeal <donb@codesourcery.com>
11130 * gdb.base/foll-exec-2.c: New test program.
11131 * gdb.base/foll-exec-2.exp: New test.
11133 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11135 * gdb.base/nested-subp1.exp: New file.
11136 * gdb.base/nested-subp1.c: New file.
11137 * gdb.base/nested-subp2.exp: New file.
11138 * gdb.base/nested-subp2.c: New file.
11139 * gdb.base/nested-subp3.exp: New file.
11140 * gdb.base/nested-subp3.c: New file.
11142 2015-08-24 Pedro Alves <palves@redhat.com>
11144 * gdb.server/connect-without-multi-process.c: New file.
11145 * gdb.server/connect-without-multi-process.exp: New file.
11147 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11149 * gdb.opt/inline-markers.c: Make z int.
11151 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11153 * gdb.opt/inline-markers.c: Make z volatile.
11155 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11157 * gdb.opt/inline-bt.c: New volatile global z.
11158 * gdb.opt/inline-cmds.c: Likewise.
11159 * gdb.opt/inline-locals.c: Likewise.
11160 * gdb.opt/inline-markers.c: New extern global z.
11162 (inline_fn): Likewise.
11164 2015-08-24 Pedro Alves <palves@redhat.com>
11166 * config/m32r-stub.exp: Remove file.
11167 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11168 * gdb.base/call-rt-st.exp: Likewise.
11169 * gdb.base/call-strs.exp: Likewise.
11170 * gdb.base/default.exp: Remove references to h8300-*-hms and
11172 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11174 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11176 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11177 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11178 and "return" use KFAIL when GDB can not read/write the vector
11181 2015-08-21 Gary Benson <gbenson@redhat.com>
11183 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11185 2015-08-20 Pedro Alves <palves@redhat.com>
11187 * gdb.server/solib-list.exp: No longer expect an interior stop in
11190 2015-08-20 Pedro Alves <palves@redhat.com>
11192 * gdb.server/connect-stopped-target.c: New file.
11193 * gdb.server/connect-stopped-target.exp: New file.
11195 2015-08-20 Pedro Alves <palves@redhat.com>
11197 * gdb.dwarf2/comp-unit-lang.exp: New file.
11198 * gdb.dwarf2/comp-unit-lang.c: New file.
11200 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11202 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11203 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11205 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11207 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11208 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11210 2015-08-18 Doug Evans <dje@google.com>
11211 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11213 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11214 skip_python_tests. New arg prompt_regexp.
11215 (skip_python_tests): New function.
11216 * lib/mi-support.exp (mi_skip_python_tests): New function.
11217 * gdb.python/py-mi-objfile-gdb.py: New file.
11218 * gdb.python/py-mi-objfile.c: New file.
11219 * gdb.python/py-mi-objfile.exp: New file.
11221 2015-08-17 Keith Seitz <keiths@redhat.com>
11223 * gdb.linespec/explicit.exp: Move strace test from here ...
11224 * gdb.trace/strace.exp: ... to here.
11226 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11228 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11229 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11231 2015-08-14 Doug Evans <xdje42@gmail.com>
11233 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11234 inferior before selecting a new file.
11236 2015-08-14 Doug Evans <xdje42@gmail.com>
11238 * gdb.mi/mi-disassemble.exp: Update.
11239 * gdb.base/disasm-optim.S: New file.
11240 * gdb.base/disasm-optim.c: New file.
11241 * gdb.base/disasm-optim.h: New file.
11242 * gdb.base/disasm-optim.exp: New file.
11244 2015-08-14 Keith Seitz <keiths@redhat.com>
11246 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11249 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11251 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11253 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11255 * gdb.ada/fun_renaming.exp: New testcase.
11256 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
11257 * gdb.ada/fun_renaming/pack.adb: New file.
11258 * gdb.ada/fun_renaming/pack.ads: New file.
11260 2015-08-12 Keith Seitz <keiths@redhat.com>
11262 * gdb.base/dso2dso.exp: Pass basename of source file in call to
11263 gdb_get_line_number.
11265 2015-08-12 Joel Brobecker <brobecker@adacore.com>
11267 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
11268 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
11269 gdb.base/dso2dso.exp: New files.
11271 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
11272 Pedro Alves <palves@redhat.com>
11273 Keith Seitz <keiths@redhat.com>
11275 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
11278 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11280 * gdb.base/gdbhistsize-history.exp
11281 (test_histsize_history_setting): Use save_vars.
11282 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11284 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11285 * gdb.base/readline.exp: Use save_vars.
11287 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11289 * lib/gdb.exp (save_vars): New proc.
11291 2015-08-11 Keith Seitz <keiths@redhat.com>
11293 * gdb.base/help.exp: Update help_breakpoint_text.
11295 2015-08-11 Keith Seitz <keiths@redhat.com>
11297 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11298 (at toplevel): Call test_explicit_breakpoints.
11299 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11301 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11302 breakpoint conditions, "-cond".
11304 2015-08-11 Keith Seitz <keiths@redhat.com>
11306 * gdb.linespec/3explicit.c: New file.
11307 * gdb.linespec/cpexplicit.cc: New file.
11308 * gdb.linespec/cpexplicit.exp: New file.
11309 * gdb.linespec/explicit.c: New file.
11310 * gdb.linespec/explicit.exp: New file.
11311 * gdb.linespec/explicit2.c: New file.
11312 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11313 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11314 before using in the matching pattern.
11315 Clarify that `prefix' is a regular expression.
11317 2015-08-11 Keith Seitz <keiths@redhat.com>
11319 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11321 Add tests for missing ",FMT" and ",".
11323 2015-08-10 Doug Evans <dje@google.com>
11324 Keith Seitz <keiths@redhat.com>
11327 * gdb.base/completion.exp: Add location completer tests.
11329 2015-08-07 Pedro Alves <palves@redhat.com>
11331 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11333 (top level): Run do_test with and without displaced stepping.
11335 2015-08-07 Pedro Alves <palves@redhat.com>
11337 * gdb.base/valgrind-disp-step.c: New file.
11338 * gdb.base/valgrind-disp-step.exp: New file.
11340 2015-08-07 Pedro Alves <palves@redhat.com>
11342 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11344 (main): Add alarm. Run an infinite loop instead of calling
11346 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11348 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11350 (main): Add alarm. Run an infinite loop instead of calling
11352 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11355 2015-08-07 Pedro Alves <palves@redhat.com>
11357 * gdb.base/checkpoint-ns.exp: New file.
11358 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11361 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11363 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11364 * gdb.btrace/instruction_history.exp: Update.
11365 * gdb.btrace/tsx.exp: New.
11366 * gdb.btrace/tsx.c: New.
11368 2015-08-06 Pedro Alves <palves@redhat.com>
11370 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11372 * gdb.reverse/until-precsave.exp: Bump timeouts.
11374 2015-08-06 Pedro Alves <palves@redhat.com>
11376 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11378 2015-08-06 Pedro Alves <palves@redhat.com>
11381 * gdb.threads/process-dies-while-handling-bp.c: New file.
11382 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11384 2015-08-06 Pedro Alves <palves@redhat.com>
11386 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11387 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11389 2015-08-05 Pedro Alves <palves@redhat.com>
11391 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11392 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11394 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11396 * gdb.base/bp-permanent.exp: Report test as unsupported if
11397 the target cannot stop at the permanent breakpoint.
11399 2015-08-03 Doug Evans <dje@google.com>
11401 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11404 2015-08-03 Doug Evans <dje@google.com>
11406 * Makefile.in (workers/%.worker, build-perf): New rule.
11407 (GDB_PERFTEST_MODE): New variable.
11408 (check-perf): Use it.
11409 (clean): Clean up gdb.perf parallel build subdirs.
11410 * lib/build-piece.exp: New file.
11411 * lib/gdb.exp (make_gdb_parallel_path): New function
11412 (standard_output_file, standard_temp_file): Call it.
11413 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11415 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11417 2015-08-03 Doug Evans <dje@google.com>
11419 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11420 (LOG_FILE_NAME): New global.
11421 (TextReporter.__init__): Initialize self.txt_sum.
11422 (TextReporter.report): Add support for multiple data-points.
11423 Move report to perftest.sum, put raw data in perftest.log.
11424 (TextReporter.start): Open sum and log files.
11425 (TextReporter.end): Close sum and log files.
11426 * gdb.perf/lib/perftest/testresult.py
11427 (SingleStatisticTestResult.record): Handle multiple data-points.
11429 2015-07-31 Pedro Alves <palves@redhat.com>
11431 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11432 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11433 kill_wait_spawned_process instead of explicit "kill -9".
11434 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11435 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11436 kill_wait_spawned_process.
11437 * gdb.base/attach-twice.exp: Likewise.
11438 * gdb.base/attach.exp: Likewise.
11439 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11441 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11442 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11443 kill_wait_spawned_process.
11444 * gdb.base/valgrind-infcall.exp: Likewise.
11445 * gdb.multi/multi-attach.exp: Likewise.
11446 * gdb.python/py-prompt.exp: Likewise.
11447 * gdb.python/py-sync-interp.exp: Likewise.
11448 * gdb.server/ext-attach.exp: Likewise.
11449 * gdb.threads/attach-into-signal.exp (corefunc): Use
11450 spawn_wait_for_attach, spawn_id_get_pid and
11451 kill_wait_spawned_process.
11452 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11453 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11454 spawn_id_get_pid and kill_wait_spawned_process.
11455 * gdb.threads/attach-stopped.exp (corefunc): Use
11456 spawn_wait_for_attach, spawn_id_get_pid and
11457 kill_wait_spawned_process.
11458 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11459 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11460 kill_wait_spawned_process instead of explicit "kill -9".
11461 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11462 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11463 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11464 processes. Don't map cygwin/windows pids here. Now returns a
11467 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11469 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11470 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11473 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11475 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11477 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11480 2014-05-21 Mark Wielaard <mjw@redhat.com>
11482 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11484 2015-07-30 Pedro Alves <palves@redhat.com>
11486 * linux-low.c (handle_extended_wait): Set the child's last
11487 reported status to TARGET_WAITKIND_STOPPED.
11489 2015-07-30 Pedro Alves <palves@redhat.com>
11492 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11493 only shows inferior 1.
11495 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11496 Pedro Alves <palves@redhat.com>
11499 * gdb.threads/fork-plus-threads.c: New file.
11500 * gdb.threads/fork-plus-threads.exp: New file.
11502 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11504 * gdb.base/batch-preserve-term-settings.exp
11505 (test_terminal_settings_preserved_after_cli_exit): Use
11508 2015-07-29 Pedro Alves <palves@redhat.com>
11509 Don Breazeal <donb@codesourcery.com>
11511 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11512 output from both inferior_spawn_id and gdb_spawn_id.
11514 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11516 * gdb.threads/attach-into-signal.exp (corefunc): Use
11517 with_test_prefix on nested loops, uniquefying the test messages.
11519 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11521 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11524 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11526 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11528 (test_terminal_settings_preserved_after_sigterm): New test.
11530 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11532 * gdb.base/batch-preserve-term-settings.exp
11533 (test_terminal_settings_preserved_after_cli_exit): New test.
11535 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11537 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11538 manipulation of saved_gdbflags.
11539 (test_terminal_settings_preserved): Remove global declaration of
11540 the unused variable pagination_prompt. Remove manipulation of
11541 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11544 2015-07-29 Pedro Alves <palves@redhat.com>
11546 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11548 2015-07-29 Pedro Alves <palves@redhat.com>
11550 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11553 2015-07-29 Pedro Alves <palves@redhat.com>
11555 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11556 (main): Call gdb_unbuffer_output.
11557 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11558 (main): Call gdb_unbuffer_output.
11559 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11560 (main): Call gdb_unbuffer_output.
11561 * gdb.base/call-strs.exp: Adjust to step over the
11562 gdb_unbuffer_output call.
11563 * gdb.base/catch-gdb-caused-signals.c: Include
11564 "../lib/unbuffer_output.c".
11565 (main): Call gdb_unbuffer_output.
11566 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11567 (main): Call gdb_unbuffer_output.
11568 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11569 (main): Call gdb_unbuffer_output.
11570 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11571 (main): Call gdb_unbuffer_output.
11572 * gdb.base/shlib-call.exp: Adjust to step over the
11573 gdb_unbuffer_output call.
11574 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11575 (main): Call gdb_unbuffer_output.
11576 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11577 (main): Call gdb_unbuffer_output.
11578 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11579 (main): Rename to ...
11581 (main): Reimplement.
11582 * gdb.base/varargs.exp: Run to test instead of to main.
11583 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11584 (main): Call gdb_unbuffer_output.
11586 2015-07-29 Pedro Alves <palves@redhat.com>
11588 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11589 factore out from mi_continue_dprintf. For call-style dprintfs,
11590 expect dprintf output out of $inferior_spawn_id.
11591 (mi_continue_dprintf): Use mi_expect_dprintf.
11592 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11593 (main): Call gdb_unbuffer_output.
11595 2015-07-29 Pedro Alves <palves@redhat.com>
11597 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11598 (default_mi_gdb_start): Set inferior_spawn_id instead of
11599 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11601 (mi_gdb_test): Always expect inferior output from both
11602 $inferior_spawn_id and $gdb_spawn_id.
11604 2015-07-29 Pedro Alves <palves@redhat.com>
11606 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11607 send_inferior and $inferior_spawn_id.
11609 2015-07-29 Pedro Alves <palves@redhat.com>
11611 * gdb.gdb/complaints.exp (test_initial_complaints)
11612 (test_serial_complaints, test_short_complaints): Use
11614 (test_empty_complaint): Handle $inferior_spawn_id !=
11617 2015-07-29 Pedro Alves <palves@redhat.com>
11619 * gdb.base/varargs.exp: Use gdb_test_stdio.
11621 2015-07-29 Pedro Alves <palves@redhat.com>
11623 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11625 2015-07-29 Pedro Alves <palves@redhat.com>
11627 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11629 2015-07-29 Pedro Alves <palves@redhat.com>
11631 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11632 parameter into two new parameters, "inf_result" and "gdb_result".
11633 Expect inferior output and gdb output from $inferior_spawn_id and
11634 $gdb_spawn_id, respectively. Adjust all callers.
11636 2015-07-29 Pedro Alves <palves@redhat.com>
11638 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11639 of gdb_test_sequence.
11641 2015-07-29 Pedro Alves <palves@redhat.com>
11643 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11644 (saw_spurious_output): Expect inferior output from
11645 $inferior_spawn_id. Use gdb_test_stdio.
11647 2015-07-29 Pedro Alves <palves@redhat.com>
11649 * gdb.base/dprintf.exp: Use standard_testfile. Change
11650 prepare_for_testing call.
11651 (srcfile): Don't set.
11652 (restart): New procedure.
11653 (test_dprintf): New procecure, use to continue over dprintfs.
11654 (test_call, test_agent): New procedures, tests moved here.
11655 Restart gdb and recreate dprintfs. Adjust expected output.
11657 2015-07-29 Pedro Alves <palves@redhat.com>
11659 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11661 2015-07-29 Pedro Alves <palves@redhat.com>
11663 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11665 2015-07-29 Pedro Alves <palves@redhat.com>
11667 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11670 2015-07-29 Pedro Alves <palves@redhat.com>
11672 * lib/gdb.exp (gdb_test_stdio): New procedure.
11674 2015-07-29 Pedro Alves <palves@redhat.com>
11676 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11678 2015-07-29 Pedro Alves <palves@redhat.com>
11680 * gdb.base/call-signal-resume.exp: Remove check for
11681 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11682 * gdb.base/unwindonsignal.exp: Likewise.
11683 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11684 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11686 2015-07-29 Pedro Alves <palves@redhat.com>
11688 * gdb.base/siginfo-addr.c (pass): New function.
11689 (handler): Call it iff si_addr is correct.
11690 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11691 Set a breakpoint at "pass" and continue to it.
11693 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11695 * gdb.python/py-objfile.exp: Make some tests have unique names.
11696 * gdb.python/py-pp-registration.exp: Likewise.
11698 2015-07-28 Pedro Alves <palves@redhat.com>
11700 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11702 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11704 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11706 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11708 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11710 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11712 * gdb.base/gdb-sigterm-2.exp: New test.
11714 2015-07-25 Doug Evans <xdje42@gmail.com>
11717 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11718 (workers/%.worker, build-perf): New rule.
11719 (GDB_PERFTEST_MODE): New variable.
11720 (check-perf): Use it.
11721 (clean): Clean up gdb.perf parallel build subdirs.
11722 * lib/build-piece.exp: New file.
11723 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11724 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11726 (standard_temp_file): Ditto.
11727 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11730 2015-07-24 Doug Evans <dje@google.com>
11732 * gdb.perf/lib/perftest/utils.py: New file.
11733 * gdb.perf/gm-hello.cc: New file.
11734 * gdb.perf/gm-pervasive-typedef.cc: New file.
11735 * gdb.perf/gm-pervasive-typedef.h: New file.
11736 * gdb.perf/gm-std.cc: New file.
11737 * gdb.perf/gm-std.h: New file.
11738 * gdb.perf/gm-use-cerr.cc: New file.
11739 * gdb.perf/gm-utils.h: New file.
11740 * gdb.perf/gmonster-null-lookup.py: New file.
11741 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11742 * gdb.perf/gmonster-print-cerr.py: New file.
11743 * gdb.perf/gmonster-ptype-string.py: New file.
11744 * gdb.perf/gmonster-runto-main.py: New file.
11745 * gdb.perf/gmonster-select-file.py: New file.
11746 * gdb.perf/gmonster1-null-lookup.exp: New file.
11747 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11748 * gdb.perf/gmonster1-print-cerr.exp: New file.
11749 * gdb.perf/gmonster1-ptype-string.exp: New file.
11750 * gdb.perf/gmonster1-runto-main.exp: New file.
11751 * gdb.perf/gmonster1-select-file.exp: New file.
11752 * gdb.perf/gmonster1.cc: New file.
11753 * gdb.perf/gmonster1.exp: New file.
11754 * gdb.perf/gmonster2-null-lookup.exp: New file.
11755 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11756 * gdb.perf/gmonster2-print-cerr.exp: New file.
11757 * gdb.perf/gmonster2-ptype-string.exp: New file.
11758 * gdb.perf/gmonster2-runto-main.exp: New file.
11759 * gdb.perf/gmonster2-select-file.exp: New file.
11760 * gdb.perf/gmonster2.cc: New file.
11761 * gdb.perf/gmonster2.exp: New file.
11763 2015-07-24 Doug Evans <dje@google.com>
11765 * gdb.perf/README: New file.
11766 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11767 * lib/gen-perf-test.exp: New file.
11769 2015-07-24 Doug Evans <dje@google.com>
11771 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11772 (PerfTest::startup): New function.
11773 (PerfTest::run): Return result of calling body.
11774 (PerfTest::assemble): Rewrite.
11775 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11776 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11777 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11778 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11779 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11781 2015-07-24 Doug Evans <dje@google.com>
11783 * lib/gdb.exp (clean_restart): Make executable optional.
11785 2015-07-24 Doug Evans <dje@google.com>
11787 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11788 compiler_info references.
11789 * gdb.cp/temargs.exp: Ditto.
11790 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11791 (get_compiler_info): Early exit if already computed. Set compiler_info
11792 to "unknown" if there was a problem.
11793 (test_compiler_info): Add function comment. Call get_compiler_info.
11795 2015-07-24 Doug Evans <dje@google.com>
11797 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11798 (workers/%.worker, build-perf): New rule.
11799 (GDB_PERFTEST_MODE): New variable.
11800 (check-perf): Use it.
11801 (clean): Clean up gdb.perf parallel build subdirs.
11802 * lib/build-piece.exp: New file.
11803 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11804 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11806 (standard_temp_file): Ditto.
11807 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11810 2015-07-24 Doug Evans <dje@google.com>
11812 * lib/future.exp (gdb_default_target_compile): New option
11814 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11817 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11819 * gdb.base/catch-syscall.exp: Call gdb_exit before
11822 2015-07-24 Pedro Alves <palves@redhat.com>
11824 * gdb.python/py-events.exp: Accept output between the stop event
11826 * gdb.python/py-evsignal.exp: Likewise.
11827 * gdb.python/py-evthreads.exp: Likewise.
11829 2015-07-24 Pedro Alves <palves@redhat.com>
11832 * gdb.threads/non-ldr-exit.c: New file.
11833 * gdb.threads/non-ldr-exit.exp: New file.
11835 2015-07-24 Yao Qi <yao.qi@linaro.org>
11837 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11838 restarting process.
11840 2015-07-24 Yao Qi <yao.qi@linaro.org>
11842 * gdb.server/ext-restart.exp: New file.
11844 2015-07-24 Yao Qi <yao.qi@linaro.org>
11846 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11848 * gdb.server/ext-wrapper.exp: New file.
11850 2015-07-23 Doug Evans <dje@google.com>
11852 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11853 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11855 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11857 * gdb.ada/var_arr_typedef.exp: New testcase.
11858 * gdb.ada/var_arr_typedef/pack.adb: New file.
11859 * gdb.ada/var_arr_typedef/pack.ads: New file.
11860 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11862 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11864 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11866 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11868 * gdb.arch/i386-biarch-core.exp: Replace istarget
11869 by "complete set gnutarget". Remove expectation for the "core-file"
11872 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11874 Revert the previous commit:
11875 Tests for validate symbol file using build-id.
11877 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11879 Tests for validate symbol file using build-id.
11880 * gdb.base/solib-mismatch-lib.c: New file.
11881 * gdb.base/solib-mismatch-libmod.c: New file.
11882 * gdb.base/solib-mismatch.c: New file.
11883 * gdb.base/solib-mismatch.exp: New file.
11885 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11887 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11889 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11890 * gdb.base/siginfo.exp: Likewise.
11891 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11893 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11895 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11897 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11899 * gdb.trace/range-stepping.exp: Check that the target supports
11902 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11904 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11906 2015-07-14 Pedro Alves <palves@redhat.com>
11908 * gdb.base/killed-outside.exp: New file.
11909 * gdb.base/killed-outside.c: New file.
11911 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11913 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11915 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11917 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11919 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11920 infcall tests instead of setting up for KFAIL.
11922 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11924 * gdb.btrace/record_goto-step.exp: New.
11926 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11929 * gdb.compile/compile.c (struct struct_type): Add volatile to
11931 * gdb.compile/compile.exp
11932 (compile code struct_object.selffield = &struct_object): Skip further
11933 struct_object tests if this one xfails.
11935 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11938 * gdb.trace/ax.exp: Add test.
11940 2015-07-07 Yao Qi <yao.qi@linaro.org>
11942 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11943 instead of istarget "aarch64*-*-*".
11944 * gdb.arch/aarch64-fp.exp: Likewise.
11945 * gdb.base/float.exp: Likewise.
11946 * gdb.reverse/aarch64.exp: Likewise.
11947 * lib/gdb.exp (is_aarch64_target): New proc.
11949 2015-07-07 Yao Qi <yao.qi@linaro.org>
11951 * lib/gdb.exp (is_aarch32_target): New proc.
11952 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11953 instead of "istarget "arm*-*-*"".
11954 * gdb.arch/arm-disp-step.exp: Likewise.
11955 * gdb.arch/thumb-bx-pc.exp: Likewise.
11956 * gdb.arch/thumb-prologue.exp: Likewise.
11957 * gdb.arch/thumb-singlestep.exp: Likewise.
11958 * gdb.base/disp-step-syscall.exp: Likewise.
11959 * gdb.base/float.exp: Likewise.
11961 2015-07-07 Yao Qi <yao.qi@linaro.org>
11963 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11964 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11966 2015-07-07 Yao Qi <yao.qi@linaro.org>
11968 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11969 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11971 * gdb.multi/multi-arch.exp: Likewise.
11973 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11975 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11978 2015-07-07 Yao Qi <yao.qi@linaro.org>
11980 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11982 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11984 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11985 '[' and ']' characters.
11987 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11989 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11991 2015-06-29 Pedro Alves <palves@redhat.com>
11994 * gdb.threads/hand-call-new-thread.c: New file.
11995 * gdb.threads/hand-call-new-thread.c: New file.
11997 2015-06-26 Keith Seitz <keiths@redhat.com>
11998 Doug Evans <dje@google.com>
12001 * gdb.cp/var-tag-2.cc: New file.
12002 * gdb.cp/var-tag-3.cc: New file.
12003 * gdb.cp/var-tag-4.cc: New file.
12004 * gdb.cp/var-tag.cc: New file.
12005 * gdb.cp/var-tag.exp: New file.
12007 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12009 * gdb.base/history-duplicates.exp: New test.
12011 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12013 * gdb.base/completion.exp: Test the completion of the "focus"
12016 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12018 * gdb.arch/amd64-prologue-skip.S: New file.
12019 * gdb.arch/amd64-prologue-skip.exp: New file.
12021 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12023 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12024 is_address_zero_readable check.
12026 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12028 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12029 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12031 2015-06-24 Yao Qi <yao.qi@linaro.org>
12033 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12036 2015-06-24 Yao Qi <yao.qi@linaro.org>
12038 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12039 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12040 * gdb.base/siginfo-thread.exp: Likewise.
12042 2015-06-22 Yao Qi <yao.qi@linaro.org>
12044 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12046 2015-06-22 Yao Qi <yao.qi@linaro.org>
12048 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12050 (skip_hw_watchpoint_tests): Likewise.
12052 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12054 * gdb.base/gdbinit-history.exp: Test the interaction between
12055 setting GDBHISTSIZE and setting the history size via .gdbinit.
12057 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12060 * gdb.base/gdbhistsize-history.exp: New test.
12062 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12064 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12066 * gdb.base/readline.exp: Likewise.
12068 2015-06-17 Yao Qi <yao.qi@linaro.org>
12070 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12073 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12075 * gdb.base/gdbinit-history.exp: Add test case to check that
12076 an unlimited history file does not get truncated on exit.
12078 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12080 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12081 (VECTOR): New macro. Use it...
12082 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12083 ...for these typedefs.
12084 (int8, char1, int1, double1): New typedefs.
12085 (struct just_int2, struct two_int2): New structures.
12086 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12087 (add_structvecs, add_singlevecs): New functions.
12088 (main): Call add_some_intvecs twice.
12089 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12090 the compile and exit upon failure. Try compiling for the "native"
12091 architecture. Test inferior function calls with vector arguments
12092 and vector return value handling with "finish" and "return".
12094 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12096 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12097 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12099 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12101 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12103 PR breakpoints/16465
12104 * gdb.mi/mi-dprintf-pending.c: New file.
12105 * gdb.mi/mi-dprintf-pending.exp: New test.
12106 * gdb.mi/mi-dprintf-pendshr.c: New file.
12108 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12109 Mircea Gherzan <mircea.gherzan@intel.com>
12111 * gdb.arch/i386-mpx-map.c: New file.
12112 * gdb.arch/i386-mpx-map.exp: New File.
12114 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12116 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12117 * gdb.arch/i386-mpx.exp: Indentation fixed.
12119 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12121 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12122 function and improved indentation.
12123 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12124 gdb_test_multiple. Added additional tests to skip the test.
12126 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12128 * gdb.arch/i386-avx512.c: Change path in include file.
12129 * gdb.arch/i386-avx512.exp: Change include dir path
12131 * gdb.arch/i386-mpx.c: Change path in include file.
12132 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12135 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12137 * gdb.compile/compile-print.exp (compile print *vararray@3)
12138 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12140 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12142 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12143 (do not keep jit in memory): ... this.
12144 (expect 5): Change it to ...
12145 (expect no 5): ... this.
12147 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12150 * gdb.mi/mi-detach.exp: New file.
12152 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12155 * gdb.arch/amd64-tailcall-self.S: New file.
12156 * gdb.arch/amd64-tailcall-self.c: New file.
12157 * gdb.arch/amd64-tailcall-self.exp: New file.
12159 2015-05-28 Don Breazeal <donb@codesourcery.com>
12161 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12162 tests for remote targets by checking is_target_gdbserver.
12164 2015-05-27 Doug Evans <dje@google.com>
12166 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12167 * gdb.dwarf2/opaque-type-lookup.c: New file.
12168 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12170 2015-05-26 Doug Evans <dje@google.com>
12172 * gdb.cp/iostream.cc: New file.
12173 * gdb.cp/iostream.exp: New file.
12175 2015-05-26 Doug Evans <dje@google.com>
12177 * gdb.dwarf2/dw2-op-call.exp: Update.
12178 * gdb.dwarf2/dw4-sig-types.exp: Update.
12179 * gdb.dwarf2/implptr.exp: Update.
12180 * gdb.mi/mi-cmd-param-changed.exp: Update.
12182 2015-05-26 Doug Evans <dje@google.com>
12184 * gdb.python/py-lazy-string.c: New file.
12185 * gdb.python/py-lazy-string.exp: New file.
12186 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12187 (main): Update. Add estring3.
12188 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12189 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12191 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12192 Yao Qi <yao.qi@linaro.org>
12194 * gdb.reverse/aarch64.c: New.
12195 * gdb.reverse/aarch64.exp: New.
12197 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12199 * lib/gdb.exp (supports_process_record): Return true for
12201 (supports_reverse): Likewise.
12203 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12205 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12206 Use with_test_prefix.
12208 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12210 * gdb.base/completion.exp: Add test for completion of layout
12213 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12215 * lib/gdb.exp (skip_tui_tests): New proc.
12216 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12218 2015-05-19 Pedro Alves <palves@redhat.com>
12220 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12221 Save the whole env array instead of just HOME. Unset HISTSIZE in
12222 the environment while testing. Restore whole environment
12225 2015-05-16 Doug Evans <xdje42@gmail.com>
12227 * gdb.guile/scm-ports.c: New file.
12228 * gdb.guile/scm-ports.exp: Add memory port tests.
12230 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12232 * gdb.compile/compile-print.c: New file.
12233 * gdb.compile/compile-print.exp: New file.
12235 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12237 * gdb.compile/compile-ops.exp: Cast param to void.
12238 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12239 (compile code struct_object.selffield = &struct_object): Add xfail.
12241 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12243 * gdb.ada/arr_enum_with_gap: New testcase.
12245 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12247 * gdb.ada/byte_packed_arr: New testcase.
12249 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12251 * gdb.ada/pckd_neg: New testcase.
12253 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12256 * gdb.base/gdbinit-history.exp: New test.
12257 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
12258 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
12260 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
12262 * gdb.python/py-xmethods.cc: Enhance test case.
12263 * gdb.python/py-xmethods.exp: New tests.
12264 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
12266 (B_indexoper): Likewise.
12267 (global_dm_list) : Add new xmethod worker functions.
12269 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
12271 * gdb.base/coredump-filter.exp: Correctly unset
12272 "coredump_var_addr" array.
12274 2015-05-08 Pedro Alves <palves@redhat.com>
12276 * gdb.server/non-existing-program.exp: Unset spawn_id.
12278 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12281 * gdb.python/py-xmethods.exp: Add tests.
12283 2015-05-08 Yao Qi <yao.qi@linaro.org>
12286 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12287 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12288 function set_coredump_filter, and remove remote_exec call.
12289 Remove argument ipid. Callers update.
12290 (top level): Don't get inferior's PID.
12292 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12294 * gdb.base/watch_thread_num.exp: Skip test on targets without
12295 access watchpoints.
12297 2015-05-06 Pedro Alves <palves@redhat.com>
12300 * gdb.server/non-existing-program.exp: New file.
12302 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12304 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12306 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12308 * gdb.ada/out_of_line_in_inlined: New testcase.
12310 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12312 * gdb.ada/var_rec_arr: New testcase.
12314 2015-04-30 Yao Qi <yao.qi@linaro.org>
12316 * gdb.base/break-idempotent.exp: If
12317 skip_hw_watchpoint_multi_tests returns true, skip the tests
12318 on "rwatch" and "awatch".
12320 2015-04-30 Yao Qi <yao.qi@linaro.org>
12322 * gdb.base/relativedebug.exp: Invoke gdb command
12323 "info sharedlibrary", and if libc.so doesn't have debug info,
12326 2015-04-29 Doug Evans <dje@google.com>
12328 * gdb.python/py-xmethods.exp: Add ptype tests.
12329 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12330 get_result_type method.
12332 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12334 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12335 the target does not support hardware watchpoints.
12337 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12339 * gdb.base/break-always.exp: Abort testing if writing to memory
12342 2015-04-28 Doug Evans <dje@google.com>
12344 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12345 * gdb.python/py-pp-registration.exp: ... here. New file.
12346 * gdb.python/py-pp-registration.c: New file.
12347 * gdb.python/py-pp-registration.py: New file.
12349 2015-04-28 Doug Evans <dje@google.com>
12351 * gdb.python/py-bad-printers.c: New file.
12352 * gdb.python/py-bad-printers.py: New file.
12353 * gdb.python/py-bad-printers.exp: New file.
12355 2015-04-28 Sasha Smundak <asmundak@google.com>
12357 * gdb.python/py-type.exp: New test.
12359 2015-04-28 Andy Wingo <wingo@igalia.com>
12361 * gdb.python/py-parameter.exp:
12362 * gdb.guile/scm-parameter.exp: Escape the path that we are
12363 matching against, as it might contain characters that are special
12364 to regular expressions.
12366 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12368 * gdb.ada/rec_comp: New testcase.
12370 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12372 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12375 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12377 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12378 new tests for verilog output.
12380 2015-04-24 Yao Qi <yao.qi@linaro.org>
12382 * boards/remote-gdbserver-on-localhost.exp: New file.
12384 2015-04-23 Pedro Alves <palves@redhat.com>
12386 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12387 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12388 "end of file", remove $inferior_spawn_id from the indirect list.
12390 2015-04-23 Pedro Alves <palves@redhat.com>
12392 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12394 2015-04-23 Pedro Alves <palves@redhat.com>
12396 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12397 on $any_spawn_id instead of only on $gdb_spawn_id.
12399 2015-04-21 Pierre Muller <muller@sourceware.org>
12402 * lib/pascal.exp (gpc_compile): Add new option "class".
12403 (fpc_compile): Likewise.
12404 * gdb.pascal/case-insensitive-symbols.pas: New file.
12405 * gdb.pascal/case-insensitive-symbols.exp: New file.
12407 2015-04-20 Gary Benson <gbenson@redhat.com>
12409 * gdb.base/attach.exp: Fix three extended remote failures.
12411 2015-04-17 Gary Benson <gbenson@redhat.com>
12413 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12414 the main executable over the remote protocol.
12416 2015-04-16 Pedro Alves <palves@redhat.com>
12418 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12419 a new gdbserver if gdbserver_reconnect_p is set.
12421 2015-04-16 Pedro Alves <palves@redhat.com>
12423 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12424 is set, don't exit gdbserver.
12426 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12428 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12429 appropriate .insn, such that an older assembler can be used.
12430 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12431 the z/Architecture instruction set on 31-bit targets as well.
12433 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12435 * gdb.go/handcall.exp: Remove all logic related to the first
12436 breakpoint and rely on go_runto_main instead.
12437 * gdb.go/strings.exp: Likewise.
12438 * gdb.go/unsafe.exp: Likewise.
12439 * gdb.go/hello.exp: Likewise. Also rename the remaining
12440 breakpoint marker to "breakpoint 1".
12441 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12442 * gdb.go/strings.go: Likewise.
12443 * gdb.go/unsafe.go: Likewise.
12444 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12445 "set breakpoint 2 here" and rename the remaining breakpoint marker
12448 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12450 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12451 if itertools.imap is not present.
12452 * gdb.python/py-objfile.exp: Add parentheses.
12453 * gdb.python/py-type.exp: Same.
12454 * gdb.python/py-unwind-maint.py: Same.
12456 2015-04-15 Yao Qi <yao.qi@linaro.org>
12458 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12459 of ":$ptr_size" and set its form explicitly.
12461 2015-04-15 Pedro Alves <palves@redhat.com>
12462 Yao Qi <yao.qi@linaro.org>
12464 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12465 timeout by factor of 4.
12466 (test_regular_watch): Likewise.
12467 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12468 * gdb.reverse/sigall-reverse.exp: Likewise.
12469 * gdb.reverse/until-precsave.exp: Likewise.
12470 * lib/gdb.exp (with_timeout_factor): New proc.
12471 (gdb_expect): Move some code to ...
12472 (get_largest_timeout): ... here. New procedure.
12474 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12476 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12478 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12480 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12481 to write to the .text section.
12483 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12485 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12486 Handle the case of targets that do not provide PID information.
12488 2015-04-13 Yao Qi <yao.qi@linaro.org>
12490 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12491 and use expect instead of gdb_expect.
12493 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12495 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12496 "coredump_var_addr" to avoid naming conflict with other testcases.
12498 2015-04-10 Pedro Alves <palves@redhat.com>
12500 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12501 gdb_test_sequence and gdb_assert.
12503 2015-04-10 Pedro Alves <palves@redhat.com>
12505 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12506 test messages that don't include the breakpoint address.
12508 2015-04-10 Yao Qi <yao.qi@linaro.org>
12510 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12511 false for some offset and width combinations which aren't
12512 supported by linux kernel.
12514 2015-04-10 Pedro Alves <palves@redhat.com>
12516 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12517 procedure, factored out from ...
12518 (top level): ... here. Add "set displaced-stepping" testing axis.
12519 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12520 parameter "displaced". Use it.
12521 (top level): Use foreach and add "set displaced-stepping" testing
12524 2015-04-10 Pedro Alves <palves@redhat.com>
12526 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12528 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12529 both the address of the instruction that triggers the watchpoint
12530 and the address of the instruction immediately after, and use
12531 those addresses for the test. Fix comment.
12533 2015-04-10 Pedro Alves <palves@redhat.com>
12535 * gdb.base/sigstep.exp (breakpoint_to_handler)
12536 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12537 Test "backtrace" in handler.
12538 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12539 (top level): Add new "displaced" test axis to
12540 breakpoint_to_handler, breakpoint_to_handler_entry and
12541 breakpoint_over_handler.
12543 2015-04-10 Pedro Alves <palves@redhat.com>
12546 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12548 2015-04-10 Yao Qi <yao.qi@linaro.org>
12550 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12551 (test_add_rn_pc): New function.
12552 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12553 (top level): Invoke test_add_rn_pc.
12555 2015-04-10 Pedro Alves <palves@redhat.com>
12558 * gdb.base/step-over-no-symbols.exp: New file.
12560 2015-04-09 Andy Wingo <wingo@igalia.com>
12562 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12563 after the Python tests.
12565 2015-04-08 Keith Seitz <keiths@redhat.com>
12568 * gdb.python/py-completion.exp: New tests for completion.
12569 * gdb.python/py-completion.py (CompleteLimit1): New class.
12570 (CompleteLimit2): Likewise.
12571 (CompleteLimit3): Likewise.
12572 (CompleteLimit4): Likewise.
12573 (CompleteLimit5): Likewise.
12574 (CompleteLimit6): Likewise.
12575 (CompleteLimit7): Likewise.
12577 2015-04-08 Pedro Alves <palves@redhat.com>
12581 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12583 (main): Install it as SIGUSR1 handler.
12584 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12585 parameter. Always use "setup" as prefix. Toggle "set
12586 displaced-stepping" off/on depending on global. Don't switch to
12588 (top level): Add displaced stepping "off/on" test axis. Update
12589 "setup" calls. Wrap each subtest with with_test_prefix. Test
12590 continuing with a queued signal in each thread.
12592 2015-04-08 Pedro Alves <palves@redhat.com>
12594 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12595 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12596 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12597 Return early if running to main fails.
12598 * gdb.trace/while-stepping.exp: Likewise.
12600 2015-04-07 Pedro Alves <palves@redhat.com>
12602 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12603 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12604 interact with inferior program.
12606 2015-04-07 Pedro Alves <palves@redhat.com>
12608 * lib/gdb.exp (inferior_spawn_id): New global.
12609 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12610 spawn id after processing the user code.
12611 (default_gdb_start): Set inferior_spawn_id.
12612 (send_inferior): New procedure.
12613 * lib/gdbserver-support.exp (gdbserver_start): Set
12615 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12617 2015-04-07 Pedro Alves <palves@redhat.com>
12619 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12620 * lib/gdbserver-support.exp (gdbserver_start): Make
12621 $server_spawn_id global.
12622 (gdbserver_start): Don't wait for gdbserver's spawn id with
12624 (close_gdbserver): New procedure.
12625 (gdb_exit): Rename the default version and reimplement.
12627 2015-04-07 Pedro Alves <palves@redhat.com>
12629 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12630 append the substituted item, not the original item.
12632 2015-04-07 Pedro Alves <palves@redhat.com>
12634 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12637 2015-04-07 Pedro Alves <palves@redhat.com>
12639 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12640 output appearing once only.
12642 2015-04-07 Pedro Alves <palves@redhat.com>
12644 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12645 that doesn't expect anything. Return early if running to main
12648 2015-04-07 Yao Qi <yao.qi@linaro.org>
12650 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12651 (child_function): Call alarm.
12652 (main): Move call to alarm into the loop.
12653 * gdb.threads/non-stop-fair-events.exp: Build program with
12654 -DTIMEOUT=$timeout.
12656 2015-04-06 Doug Evans <xdje42@gmail.com>
12658 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12659 Fix dest parameter to board_info.
12660 (fpc_compile): Ditto.
12661 (gdb_compile_pascal): Rename dest arg to destfile.
12663 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12665 * gdb.ada/funcall_ref.exp: New file.
12666 * gdb.ada/funcall_ref/foo.adb: New file.
12668 2015-04-02 Yao Qi <yao.qi@linaro.org>
12670 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12673 2015-04-02 Gary Benson <gbenson@redhat.com>
12675 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12677 2015-04-01 Sasha Smundak <asmundak@google.com>
12679 * gdb.python/py-unwind-maint.c: New file.
12680 * gdb.python/py-unwind-maint.exp: New test.
12681 * gdb.python/py-unwind-maint.py: New file.
12682 * gdb.python/py-unwind.c: New file.
12683 * gdb.python/py-unwind.exp: New test.
12684 * gdb.python/py-unwind.py: New test.
12686 2015-04-01 Pedro Alves <palves@redhat.com>
12688 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12689 to fail instead of non-existent $test.
12691 2015-04-01 Pedro Alves <palves@redhat.com>
12693 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12694 GDBFLAGS if not empty.
12696 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12698 * gdb.ada/complete.exp: Remove "multi_line".
12699 * gdb.ada/info_exc.exp: Remove "multi_line".
12700 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12701 * gdb.ada/ptype_field.exp: Remove "multi_line".
12702 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12703 * gdb.ada/tagged.exp: Remove "multi_line".
12704 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12706 * gdb.btrace/delta.exp: Likewise.
12707 * gdb.btrace/exception.exp: Likewise.
12708 * gdb.btrace/function_call_history.exp: Likewise.
12709 * gdb.btrace/instruction_history.exp: Likewise.
12710 * gdb.btrace/nohist.exp: Likewise.
12711 * gdb.btrace/record_goto.exp: Likewise.
12712 * gdb.btrace/segv.exp: Likewise.
12713 * gdb.btrace/stepi.exp: Likewise.
12714 * gdb.btrace/tailcall.exp: Likewise.
12715 * gdb.btrace/unknown_functions.exp: Likewise.
12716 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12717 * lib/gdb.exp: Add the "multi_line" helper.
12719 2015-04-01 Pedro Alves <palves@redhat.com>
12721 * gdb.threads/tid-reuse.c: New file.
12722 * gdb.threads/tid-reuse.exp: New file.
12724 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12727 * gdb.base/coredump-filter.c: New file.
12728 * gdb.base/coredump-filter.exp: Likewise.
12730 2015-03-27 Petr Machata <pmachata@redhat.com>
12732 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12733 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12734 (Dwarf::assemble): Initialize them.
12735 (Dwarf::lines): New function.
12737 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12739 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12740 SYMBOL_PREFIX for x86_64-*-cygwin.
12742 2015-03-26 Andy Wingo <wingo@igalia.com>
12745 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12746 const_value but not a location.
12747 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12748 location defined in non-main CUs are visible.
12750 2015-03-26 Yao Qi <yao.qi@linaro.org>
12753 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12754 Add a line number entry for the same line.
12755 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12756 Add a line number entry for the same line.
12758 2015-03-26 Yao Qi <yao.qi@linaro.org>
12760 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12762 (func): Likewise. Add .Lfunc_1 label.
12763 Use .Lfunc_1 label.
12764 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12767 Use .Lfunc_1 label.
12769 2015-03-26 Yao Qi <yao.qi@linaro.org>
12771 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12772 Call gdb_compile instead to compile each .s files without debug
12775 2015-03-26 Yao Qi <yao.qi@linaro.org>
12777 * gdb.base/savedregs.exp (process_saved_regs): Make
12778 "Saved registers:" optional in the pattern.
12780 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12782 * gdb.btrace/next.exp: Merged into step.exp.
12783 * gdb.btrace/finish.exp: Merged into step.exp.
12784 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12785 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12786 "record goto" and checking the exact replay position.
12787 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12788 check for "Recording format" in "info record" output.
12789 * gdb.btrace/record_goto.exp: Choose test file based on target.
12790 * gdb.btrace/x86-record_goto.S: Renamed into ...
12791 * gdb.btrace/x86_64-record_goto.S: ... this.
12792 * gdb.btrace/i686-record_goto.S: New.
12793 * gdb.btrace/x86-tailcall.S: Renamed into ...
12794 * gdb.btrace/x86_64-tailcall.S: ... this.
12795 * gdb.btrace/i686-tailcall.S: New.
12796 * gdb.btrace/x86-tailcall.c: Renamed into ...
12797 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12798 separate statements. Update test.
12799 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12800 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12801 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12802 * gdb.btrace/tailcall.exp: Choose test file based on target.
12803 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12805 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12807 * gdb.btrace/exception.exp: Increase BTS buffer size.
12809 2015-03-24 Pedro Alves <palves@redhat.com>
12811 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12813 2015-03-24 Pedro Alves <palves@redhat.com>
12815 * gdb.threads/schedlock.exp (test_step): No longer expect that
12816 "set scheduler-locking step" with "next" over a function call runs
12819 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12821 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12823 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12825 PR breakpoints/16466
12826 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12827 * gdb.mi/mi-pending.c (thread_func): New function.
12828 (int main): Add threading support required.
12829 * gdb.mi/mi-pending.exp: Add tests for this issue.
12830 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12831 (pendfunc2): Remove stdio dependency.
12832 * gdb.mi/mi-pendshr2.c: New file.
12834 2015-03-23 Keith Seitz <keiths@redhat.com>
12836 * gdb.linespec/keywords.c: New file.
12837 * gdb.linespec/keywords.exp: New file.
12839 2015-03-23 Keith Seitz <keiths@redhat.com>
12842 * gdb.dwarf2/staticvirtual.exp: New test.
12844 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12846 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12847 * README: Remove HP-UX and gdb.hp.
12849 * configure: Regenerate.
12850 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12851 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12852 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12853 gdb.hp/gdb.defects/Makefile.
12854 * gdb.hp/Makefile.in: File deleted.
12855 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12856 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12857 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12858 * gdb.hp/gdb.aCC/run.c: File deleted.
12859 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12860 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12861 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12862 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12863 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12864 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12865 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12866 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12867 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12868 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12869 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12870 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12871 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12872 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12873 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12874 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12875 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12876 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12877 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12878 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12879 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12880 * gdb.hp/gdb.compat/average.c: File deleted.
12881 * gdb.hp/gdb.compat/sum.c: File deleted.
12882 * gdb.hp/gdb.compat/xdb.c: File deleted.
12883 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12884 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12885 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12886 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12887 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12888 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12889 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12890 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12891 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12892 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12893 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12894 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12895 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12896 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12897 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12898 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12899 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12900 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12901 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12902 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12903 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12904 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12905 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12906 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12907 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12908 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12909 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12910 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12911 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12912 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12913 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12914 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12915 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12916 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12917 * gdb.hp/tools/odump: File deleted.
12919 2015-03-19 Pedro Alves <palves@redhat.com>
12921 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12922 (saw_thread_3): New globals.
12923 (top level): Increment them when an event for the corresponding
12925 (no thread starvation): New test.
12927 2015-03-19 Pedro Alves <palves@redhat.com>
12929 * gdb.threads/continue-pending-status.c: New file.
12930 * gdb.threads/continue-pending-status.exp: New file.
12932 2015-03-18 Pedro Alves <palves@redhat.com>
12934 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12935 Use gdb_is_target_remote instead of is_remote. Use
12936 gdb_test_multiple instead of gdb_expect. Exit early if
12937 gdb_test_multiple hits its internal matches. Tighten stepi tests
12938 expected output. Fail on exit with any signal, instead of just
12941 2015-03-18 Yao Qi <yao.qi@linaro.org>
12944 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12946 * gdb.base/catch-syscall.exp: Don't skip it on
12947 aarch64*-*-linux* target. Remove elements in all_syscalls.
12948 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12950 (setup_all_syscalls): New proc.
12952 2015-03-16 Yao Qi <yao.qi@linaro.org>
12954 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12955 (top level): Skip tests if valid_addr_p returns false for
12958 2015-03-11 Andy Wingo <wingo@igalia.com>
12960 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12962 2015-03-11 Yao Qi <yao.qi@linaro.org>
12964 * gdb.base/catch-syscall.exp: Fix typo in comments.
12966 2015-03-11 Yao Qi <yao.qi@linaro.org>
12968 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12970 2015-03-09 Pedro Alves <palves@redhat.com>
12972 * dg-extract-results.py: Delete.
12974 2015-03-09 Pedro Alves <palves@redhat.com>
12976 Merge dg-extract-results.sh from GCC upstream (r218843).
12978 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12979 * dg-extract-results.sh: Use --text with grep to avoid issues with
12980 binary files. Fall back to cat -v, if that doesn't work.
12982 2015-03-05 Pedro Alves <palves@redhat.com>
12984 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12986 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12988 * lib/mi-support.exp (mi_expect_interrupt): Accept
12989 alternative event for when in all-stop mode.
12991 2015-03-04 Pedro Alves <palves@redhat.com>
12993 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12995 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12997 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12999 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13001 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13002 regexps for GDB's current line display, accept a hex address
13003 preceding the line number.
13005 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13007 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13008 the 'arch1' variable for "s390*-linux*" targets.
13010 2015-03-04 Pedro Alves <palves@redhat.com>
13012 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13013 (main): Pass missing retval argument to pthread_join call.
13015 2015-03-02 Pedro Alves <palves@redhat.com>
13017 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13018 (top level): Call do_test with non-stop as well.
13020 2015-03-02 Pedro Alves <palves@redhat.com>
13022 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13025 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13027 * gdb.arch/s390-vregs.exp: New test.
13028 * gdb.arch/s390-vregs.S: New file.
13030 2015-02-27 Pedro Alves <palves@redhat.com>
13032 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13033 call to catch_command_errors.
13034 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13035 catch_command_errors.
13037 2015-02-27 Pedro Alves <palves@redhat.com>
13039 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13040 "true" for boolean result.
13041 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13044 2015-02-27 Pedro Alves <palves@redhat.com>
13046 * lib/unbuffer_output.c: New file.
13047 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13048 (main): Call gdb_unbuffer_output.
13050 2015-02-27 Yao Qi <yao.qi@linaro.org>
13052 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13055 2015-02-26 Doug Evans <dje@google.com>
13057 * gdb.cp/class2.cc (Dbase, D): New classes.
13058 (main): New local delta.
13059 * gdb.cp/class2.exp: Test printing delta.
13060 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13061 (dynbar): New global.
13062 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13064 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13066 * gdb.compile/compile-ifunc.c: New file.
13067 * gdb.compile/compile-ifunc.exp: New file.
13069 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13071 * gdb.base/structs.exp: Check for correct struct on finish.
13073 2015-02-26 Yao Qi <yao.qi@linaro.org>
13075 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13078 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13080 * gdb.arch/cordic.ko.bz2: New file.
13081 * gdb.arch/cordic.ko.debug.bz2: New file.
13082 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13084 2015-02-25 Yao Qi <yao.qi@linaro.org>
13086 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13087 aarch64*-*-* target.
13089 2015-02-23 Pedro Alves <palves@redhat.com>
13091 * lib/gdb.exp (delete_breakpoints): Rewrite using
13094 2015-02-23 Pedro Alves <palves@redhat.com>
13096 * gdb.base/info-os.c: Include stdlib.h.
13098 2015-02-22 Doug Evans <xdje42@gmail.com>
13101 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13102 is read after symbols have been re-read.
13103 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13104 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13106 2015-02-21 Doug Evans <dje@google.com>
13108 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13110 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13113 * gdb.arch/i386-biarch-core.core.bz2: New file.
13114 * gdb.arch/i386-biarch-core.exp: New file.
13116 2015-02-21 Pedro Alves <palves@redhat.com>
13118 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13121 2015-02-20 Pedro Alves <palves@redhat.com>
13123 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13126 2015-02-20 Pedro Alves <palves@redhat.com>
13128 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13130 2015-02-20 Pedro Alves <palves@redhat.com>
13132 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13133 clean_restart before gdb_target_supports_trace.
13135 2015-02-20 Pedro Alves <palves@redhat.com>
13138 * gdb.threads/clone-thread_db.c: New file.
13139 * gdb.threads/clone-thread_db.exp: New file.
13141 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13143 PR breakpoints/16812
13144 * gdb.base/catch-gdb-caused-signals.c: New file.
13145 * gdb.base/catch-gdb-caused-signals.exp: New file.
13147 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13149 * configure: Regenerated.
13150 * configure.ac: Use GDB_AC_TRANSFORM.
13151 * aclocal.m4: sinclude ../transform.m4.
13153 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13155 * lib/dtrace.exp: New file.
13156 * gdb.base/dtrace-probe.exp: Likewise.
13157 * gdb.base/dtrace-probe.d: Likewise.
13158 * gdb.base/dtrace-probe.c: Likewise.
13159 * lib/pdtrace.in: Likewise.
13160 * configure.ac: Output variables with the transformed names of
13161 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13162 * configure: Regenerated.
13164 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13166 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13167 expected message when trying to access $_probe_* convenience
13168 variables while not on a probe.
13170 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13172 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13174 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13176 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13177 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13179 2015-02-10 Doug Evans <xdje42@gmail.com>
13181 * lib/gdb.exp (gdb_load): Always return a result.
13183 2015-02-10 Pedro Alves <palves@redhat.com>
13185 * gdb.threads/signal-sigtrap.c: New file.
13186 * gdb.threads/signal-sigtrap.exp: New file.
13188 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13190 * gdb.trace/no-attach-trace.c: New file.
13191 * gdb.trace/no-attach-trace.exp: New file.
13193 2015-02-09 Mark Wielaard <mjw@redhat.com>
13195 * gdb.dwarf2/atomic.c: New file.
13196 * gdb.dwarf2/atomic-type.exp: Likewise.
13198 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13200 * gdb.btrace/buffer-size.exp: Update "info record" output.
13201 * gdb.btrace/delta.exp: Update "info record" output.
13202 * gdb.btrace/enable.exp: Update "info record" output.
13203 * gdb.btrace/finish.exp: Update "info record" output.
13204 * gdb.btrace/instruction_history.exp: Update "info record" output.
13205 * gdb.btrace/next.exp: Update "info record" output.
13206 * gdb.btrace/nexti.exp: Update "info record" output.
13207 * gdb.btrace/step.exp: Update "info record" output.
13208 * gdb.btrace/stepi.exp: Update "info record" output.
13209 * gdb.btrace/nohist.exp: Update "info record" output.
13211 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13213 * gdb.btrace/buffer-size: New.
13215 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13217 * gdb.btrace/delta.exp: Update "info record" output.
13218 * gdb.btrace/enable.exp: Update "info record" output.
13219 * gdb.btrace/finish.exp: Update "info record" output.
13220 * gdb.btrace/instruction_history.exp: Update "info record" output.
13221 * gdb.btrace/next.exp: Update "info record" output.
13222 * gdb.btrace/nexti.exp: Update "info record" output.
13223 * gdb.btrace/step.exp: Update "info record" output.
13224 * gdb.btrace/stepi.exp: Update "info record" output.
13225 * gdb.btrace/nohist.exp: Update "info record" output.
13227 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13230 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13232 2015-02-06 Pedro Alves <palves@redhat.com>
13234 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13236 (seconds_left, again): New globals.
13237 (main): Wait seconds_left in a 1-second sleep loop instead of
13238 sleeping 180 seconds. If 'again' is set, reset the seconds
13240 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13241 'again' in the inferior before detaching. Print the seconds left.
13242 (options): New global.
13243 (top level): Build program with -DTIMEOUT=$timeout.
13245 2015-02-06 Pedro Alves <palves@redhat.com>
13247 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13248 determine how many seconds to pass to 'alarm'.
13249 * gdb.base/gdb-sigterm.exp (top level): Build program with
13250 -DTIMEOUT=$timeout.
13251 (do_test): Return success/failure indication. Add more verbose
13252 logging. Don't fail if 200 single steps are seen. Instead, fail
13253 when the test times out.
13254 (passes): New global.
13255 (top level): Break the testing loop if testing fails on any
13256 iteration. Use gdb_assert.
13258 2015-02-04 Don Breazeal <donb@codesourcery.com>
13260 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
13261 and initialize them.
13262 (ipc_cleanup): New function.
13263 (main): Don't declare shmid, semid, and msqid. Add a call to
13264 atexit so that we call ipc_cleanup on exit.
13266 2015-02-04 Pedro Alves <palves@redhat.com>
13268 * boards/native-extended-gdbserver.exp: Remove any target variant
13269 specifications from the board name before clearing the isremote
13270 flag from board_info.
13272 2015-01-31 Doug Evans <xdje42@gmail.com>
13274 * gdb.base/maint.exp <maint print type argc>: Update expected output.
13276 2015-01-31 Gary Benson <gbenson@redhat.com>
13278 * gdb.base/completion.exp: Disable completion limiting for
13279 existing tests. Add new tests to check completion limiting.
13280 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13282 2015-01-31 Doug Evans <xdje42@gmail.com>
13284 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13286 2015-01-31 Doug Evans <xdje42@gmail.com>
13288 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13289 entries. Duplicate file section script entries.
13290 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13291 inlined entries. Add test for safe-path rejection.
13292 * gdb.python/py-section-script.c: Add duplicate inlined section script
13293 entries. Duplicate file section script entries.
13294 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13295 inlined entries. Add test for safe-path rejection.
13297 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13299 * gdb.ada/disc_arr_bound: New testcase.
13301 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13303 * gdb.ada/mi_var_array: New testcase.
13305 2015-01-27 Doug Evans <dje@google.com>
13307 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13308 Add test for objfile.filename, objfile.username after objfile
13311 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13313 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13314 the second test to print the name attribute of value
13315 returned by the call to gdb.lookup_type, and adjust
13316 the expected output accordingly.
13318 2015-01-25 Mark Wielaard <mjw@redhat.com>
13320 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13321 * gdb.base/disp-step-fork.c: Include unistd.h.
13322 * gdb.base/siginfo-obj.c: Include stdio.h.
13323 * gdb.base/siginfo-thread.c: Likewise.
13324 * gdb.mi/non-stop.c: Include unistd.h.
13325 * gdb.mi/nsthrexec.c: Include stdio.h.
13326 * gdb.mi/pthreads.c: Include unistd.h.
13327 * gdb.modula2/unbounded1.c (main): Declare returns int.
13328 * gdb.reverse/consecutive-reverse.c: Likewise.
13329 * gdb.threads/create-fail.c: Include unistd.h.
13330 * gdb.threads/killed.c: Likewise.
13331 * gdb.threads/linux-dp.c: Likewise.
13332 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13333 * gdb.threads/non-ldr-exc-2.c: Likewise.
13334 * gdb.threads/non-ldr-exc-3.c: Likewise.
13335 * gdb.threads/non-ldr-exc-4.c: Likewise.
13336 * gdb.threads/pthreads.c: Include unistd.h.
13337 (main): Declare returns int.
13338 * gdb.threads/tls-main.c (foo): New declaration.
13339 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13341 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13343 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13344 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13346 2015-01-15 Mark Wielaard <mjw@redhat.com>
13348 * gdb.base/noreturn-return.c: New file.
13349 * gdb.base/noreturn-return.exp: New file.
13350 * gdb.base/noreturn-finish.c: New file.
13351 * gdb.base/noreturn-finish.exp: New file.
13353 2015-01-23 Pedro Alves <palves@redhat.com>
13355 * gdb.threads/continue-pending-after-query.c: New file.
13356 * gdb.threads/continue-pending-after-query.exp: New file.
13358 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13359 Simon Marchi <simon.marchi@ericsson.com>
13361 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13362 * gdb.base/valgrind-db-attach.exp: Same.
13363 * gdb.base/valgrind-infcall.exp: Same.
13364 * lib/mi-support.exp (default_mi_gdb_start): Same.
13365 * lib/prompt.exp (default_prompt_gdb_start): Same.
13366 * lib/gdb.exp (default_gdb_spawn): Same.
13367 (gdb_interact): New.
13370 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13372 * gdb.compile/compile.exp (pointer to jit function): New test.
13374 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13376 * lib/gdb.exp (supports_process_record): Return true for
13378 (supports_reverse): Likewise.
13380 2015-01-15 Don Breazeal <donb@codesourcery.com>
13382 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13383 instead of checking whether the target board is remote and
13384 use spawn_wait_for_attach instead of exec/sleep.
13385 * gdb.base/attach-twice.exp: Likewise.
13387 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13389 * gdb.ada/var_arr_attrs: New testcase.
13391 2015-01-14 Pedro Alves <palves@redhat.com>
13392 Joel Brobecker <brobecker@adacore.com>
13395 * gdb.base/bp-cmds-execution-x-script.c: New file.
13396 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13397 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13399 2015-01-14 Pedro Alves <palves@redhat.com>
13402 * gdb.base/batch-preserve-term-settings.c: New file.
13403 * gdb.base/batch-preserve-term-settings.exp: New file.
13405 2015-01-13 Doug Evans <dje@google.com>
13407 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13410 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13412 * Makefile.in (clean mostlyclean): Do not delete *.py.
13414 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13416 * gdb.python/py-lookup-type.exp: New file.
13418 2015-01-12 Pedro Alves <palves@redhat.com>
13420 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13421 restore GDBFLAGS before returning.
13423 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13425 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13426 is_amd64_regs_target and is_x86_like_target.
13428 2015-01-11 Doug Evans <xdje42@gmail.com>
13430 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13431 is given without an explicit form.
13432 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13434 * gdb.dwarf/corrupt.exp: Ditto.
13435 * gdb.dwarf2/enum-type.exp: Ditto.
13436 * gdb.trace/entry-values.exp: Ditto.
13437 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13439 2015-01-11 Doug Evans <xdje42@gmail.com>
13442 * gdb.base/maint.exp: Remove references to "maint demangle".
13443 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13444 Add tests for explicitly specifying language to demangle.
13445 * gdb.dlang/demangle.exp: Ditto.
13447 2015-01-09 Pedro Alves <palves@redhat.com>
13449 * gdb.threads/non-stop-fair-events.c: New file.
13450 * gdb.threads/non-stop-fair-events.exp: New file.
13452 2015-01-09 Pedro Alves <palves@redhat.com>
13454 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13455 the global scope. Set a breakpoint after all threads are started
13456 rather than stepping over two source lines. Expect the prompt.
13457 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13460 (main): Use threads_started_barrier to wait for all threads to
13461 start. Main thread no longer calls thread_function. Exit after
13463 (loop): New function.
13464 (thread_function): Wait on threads_started_barrier barrier. Call
13465 'loop' at each iteration.
13466 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13467 threads have started, instead of hardcoding number of "next"
13468 steps. Use an access watchpoint instead of a write watchpoint.
13470 2015-01-09 Pedro Alves <palves@redhat.com>
13472 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13473 (thread_func): Wait on barrier.
13474 (main): Wait for all threads to start before stopping GDB.
13475 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13477 (thread1_func, thread2_func): Wait on barrier.
13478 (main): Wait for all threads to start before stopping GDB.
13479 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13481 (thread1_func, thread2_func): Wait on barrier.
13482 (main): Wait for all threads to start before stopping GDB.
13484 2015-01-09 Pedro Alves <palves@redhat.com>
13486 * gdb.threads/attach-many-short-lived-threads.c: New file.
13487 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13489 2014-01-09 Pedro Alves <palves@redhat.com>
13491 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13492 instead of to thread 2.
13493 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13494 Add barrier around each pthread_create call instead of around all
13496 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13497 Set a break on thread_function and have the child threads hit it
13500 2015-01-09 Pedro Alves <palves@redhat.com>
13502 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13503 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13505 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13506 checking whether the target board is remote.
13507 * gdb.multi/multi-attach.exp: Likewise.
13508 * gdb.python/py-sync-interp.exp: Likewise.
13509 * gdb.server/ext-attach.exp: Likewise.
13510 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13511 tests that need to attach, instead of checking whether the target
13512 board is remote at the top of the file.
13514 2015-01-08 Yao Qi <yao@codesourcery.com>
13516 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13518 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13520 Fix testcase compilation.
13521 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13523 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13525 * gdb.python/py-type.exp: Add a couple test about empty
13526 array creation, and negative-length array creation.
13528 2015-01-02 Doug Evans <xdje42@gmail.com>
13530 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13532 2015-01-02 Doug Evans <dje@google.com>
13534 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13536 2014-12-29 Yao Qi <yao@codesourcery.com>
13538 * gdb.trace/entry-values.exp: Update comments. Rename variable
13539 bar_call_foo to returned_from_foo.
13541 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13544 * gdb.linespec/break-asm-file.c: New file.
13545 * gdb.linespec/break-asm-file.exp: New file.
13546 * gdb.linespec/break-asm-file0.s: New file.
13547 * gdb.linespec/break-asm-file1.s: New file.
13549 2014-12-18 Nigel Stephens <nigel@mips.com>
13550 Maciej W. Rozycki <macro@codesourcery.com>
13552 * gdb.base/float.exp: Handle the new output from "info float" on
13555 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13557 Fix MinGW compilation.
13558 * gdb.compile/compile-ops.exp: Update untested message if
13559 !skip_compile_feature_tests.
13560 * gdb.compile/compile-setjmp.exp: Likewise.
13561 * gdb.compile/compile-tls.exp: Likewise.
13562 * gdb.compile/compile.exp: Likewise.
13563 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13564 supported on this host".
13566 2014-12-16 Doug Evans <xdje42@gmail.com>
13568 * boards/stabs.exp: New file.
13570 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13572 * gdb.base/completion.exp: Adjust to format changes of "maint
13573 print user-registers".
13575 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13578 * gdb.arch/aarch64-fp.c: New file.
13579 * gdb.arch/aarch64-fp.exp: New file.
13581 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13583 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13584 r210637, r210913, r211666, r215400, r215817).
13586 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13587 * dg-extract-results.py: New file.
13588 * dg-extract-results.sh: Use it if the environment seems
13591 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13593 * dg-extract-results.py (parse_run): Handle warnings that
13594 are printed before a test harness is run.
13596 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13598 * dg-extract-results.py (Named): Remove __cmp__ method.
13599 (output_variation): Use a key to sort variation.harnesses.
13601 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13603 * dg-extract-results.py: For Python 3, force sys.stdout to
13604 handle surrogate escape sequences.
13605 (safe_open): New function.
13606 (output_segment, main): Use it.
13608 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13610 * dg-extract-results.py (Prog.result_re): Include options
13613 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13615 * dg-extract-results.py (output_variation): Always sort if
13618 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13620 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13621 as long as we get pagination notifications.
13623 2014-12-15 Jason Merrill <jason@redhat.com>
13625 * Makefile.in (check-gdb.%): Restore.
13626 * README: Mention it.
13628 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13630 * gdb.ada/str_uninit: New testcase.
13632 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13635 * gdb.base/vla-stub-define.c: New file.
13636 * gdb.base/vla-stub.c: New file.
13637 * gdb.base/vla-stub.exp: New file.
13639 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13640 Jan Kratochvil <jan.kratochvil@redhat.com>
13641 Tom Tromey <tromey@redhat.com>
13643 * configure.ac: Add gdb.compile/.
13644 * configure: Regenerate.
13645 * gdb.compile/Makefile.in: New file.
13646 * gdb.compile/compile-ops.exp: New file.
13647 * gdb.compile/compile-ops.c: New file.
13648 * gdb.compile/compile-tls.c: New file.
13649 * gdb.compile/compile-tls.exp: New file.
13650 * gdb.compile/compile-constvar.S: New file.
13651 * gdb.compile/compile-constvar.c: New file.
13652 * gdb.compile/compile-mod.c: New file.
13653 * gdb.compile/compile-nodebug.c: New file.
13654 * gdb.compile/compile-setjmp-mod.c: New file.
13655 * gdb.compile/compile-setjmp.c: New file.
13656 * gdb.compile/compile-setjmp.exp: New file.
13657 * gdb.compile/compile-shlib.c: New file.
13658 * gdb.compile/compile.c: New file.
13659 * gdb.compile/compile.exp: New file.
13660 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13662 2014-12-12 Tom Tromey <tromey@redhat.com>
13664 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13665 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13667 2014-12-12 Doug Evans <dje@google.com>
13669 * lib/gdb-python.exp (get_python_valueof): New function.
13670 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13672 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13674 * gdb.base/completion.exp: Add test for completion of "info
13677 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13679 * gdb.base/func-ptrs.c: New file.
13680 * gdb.base/func-ptrs.exp: New file.
13682 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13684 PR breakpoints/17012
13685 * gdb.base/dprintf-detach.c: New file.
13686 * gdb.base/dprintf-detach.exp: New file.
13688 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13690 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13691 * lib/gdb.exp (target_is_gdbserver): New procedure.
13693 2014-12-08 Doug Evans <dje@google.com>
13695 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13697 2014-12-05 Yao Qi <yao@codesourcery.com>
13699 * gdb.guile/scm-error.exp: Remove the third argument to
13700 gdb_remote_download.
13701 * gdb.guile/scm-frame-args.exp: Likewise.
13702 * gdb.guile/scm-section-script.exp: Likewise.
13704 2014-12-05 Yao Qi <yao@codesourcery.com>
13706 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13708 2014-12-04 Doug Evans <dje@google.com>
13710 * gdb.python/py-objfile.exp: Add tests for
13711 objfile.add_separate_debug_file.
13713 2014-12-04 Doug Evans <dje@google.com>
13715 * lib/gdb.exp (get_build_id): New function.
13716 (build_id_debug_filename_get): Rewrite to use it.
13717 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13719 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13721 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13722 `method(long)', not just 0x0.
13723 * gdb.cp/nsalias.exp: Align code labels to 4.
13724 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13725 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13726 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13727 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13728 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13729 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13731 2014-12-02 Doug Evans <dje@google.com>
13734 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13735 * gdb.cp/anon-ns2.cc: ... here. New file.
13736 * gdb.cp/anon-ns.exp: Update.
13738 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13740 * gdb.python/py-events.py (inferior_call_handler): New.
13741 (register_changed_handler, memory_changed_handler): New.
13742 (test_events.invoke): Register new handlers.
13743 * gdb.python/py-events.exp: Add tests for inferior call,
13744 memory_changed and register_changed events.
13746 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13748 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13749 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13750 if the linker doesn't understand this.
13752 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13754 * gdb.python/python.exp: Change expected reply to help().
13756 2014-12-01 Yao Qi <yao@codesourcery.com>
13758 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13759 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13760 * configure: Re-generated.
13762 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13764 * gdb.cp/chained-calls.cc: New file.
13765 * gdb.cp/chained-calls.exp: New file.
13766 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13768 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13770 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13771 * gdb.dwarf2/symtab-producer.exp: Same.
13772 * gdb.gdb/python-interrupts.exp: Same.
13773 * gdb.gdb/python-selftest.exp: Same.
13774 * gdb.python/py-linetable.exp: Same.
13775 * gdb.python/py-type.exp: Same.
13776 * gdb.python/py-value-cc.exp: Same.
13777 * gdb.python/py-value.exp: Same.
13779 2014-11-28 Yao Qi <yao@codesourcery.com>
13781 * gdb.base/break-probes.exp: Match library name prefixed with
13784 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13786 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13787 test expected output. Add parentheses for the call to print.
13788 Remove L suffix from integers.
13790 2014-11-26 Doug Evans <dje@google.com>
13792 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13794 2014-11-22 Yao Qi <yao@codesourcery.com>
13796 * gdb.trace/entry-values.c: Remove asms.
13797 (foo): Add foo_label.
13798 (bar): Add bar_label.
13799 * gdb.trace/entry-values.exp: Remove code computing foo's
13800 length and bar's length.
13801 (Dwarf::assemble): Invoke function_range for bar and use
13802 MACRO_AT_func for foo.
13804 2014-11-22 Yao Qi <yao@codesourcery.com>
13806 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13807 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13808 Use .Lgcc43_procstart instead of gcc43.
13810 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13812 * gdb.ada/n_arr_bound: New testcase.
13814 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13816 PR breakpoints/10737
13817 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13818 test_catch_syscall_multi_arch.
13819 (test_catch_syscall_multi_arch): New function.
13821 2014-11-20 Doug Evans <xdje42@gmail.com>
13823 * gdb.base/maint.exp: Update expected output.
13825 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13827 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13828 4-byte instruction on S390.
13830 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13832 * gdb.ada/arr_arr: New testcase.
13834 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13836 * gdb.ada/pkd_arr_elem: New Testcase.
13838 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13840 * gdb.reverse/break-precsave: Expect completion message for
13842 * gdb.reverse/consecutive-precsave.exp: Likewise.
13843 * gdb.reverse/finish-precsave.exp: Likewise.
13844 * gdb.reverse/i386-precsave.exp: Likewise.
13845 * gdb.reverse/machinestate-precsave.exp: Likewise.
13846 * gdb.reverse/sigall-precsave.exp: Likewise.
13847 * gdb.reverse/solib-precsave.exp: Likewise.
13848 * gdb.reverse/step-precsave.exp: Likewise.
13849 * gdb.reverse/until-precsave.exp: Likewise.
13850 * gdb.reverse/watch-precsave.exp: Likewise.
13852 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13854 * gdb.base/bp-permanent.c: Include unistd.h.
13855 * gdb.python/py-framefilter-mi.c (main): Add return type.
13856 * gdb.python/py-framefilter.c (main): Likewise.
13857 * gdb.trace/actions-changed.c (main): Likewise.
13859 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13861 * gdb.mi/until.c: Add eye-catchers.
13862 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13865 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13867 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13868 function header variants in break1.c.
13869 * gdb.base/ena-dis-br.exp: Likewise.
13870 * gdb.base/hbreak2.exp: Likewise.
13871 * gdb.reverse/until-precsave.exp: Drop references to removed
13872 non-prototype function header variants in ur1.c.
13873 * gdb.reverse/until-reverse.exp: Likewise.
13875 2014-11-17 Petr Machata <pmachata@redhat.com>
13877 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13878 ${_cu_offset_size} bytes abbrev offset.
13880 2014-11-15 Doug Evans <xdje42@gmail.com>
13883 * gdb.base/line-symtabs.exp: New file.
13884 * gdb.base/line-symtabs.c: New file.
13885 * gdb.base/line-symtabs.h: New file.
13887 2014-11-14 Yao Qi <yao@codesourcery.com>
13889 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13890 (func): Add label func_label.
13891 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13892 Replace low_pc and high_pc with MACRO_AT_range.
13893 Replace name, low_pc and high_pc with MACRO_AT_func.
13895 2014-11-14 Yao Qi <yao@codesourcery.com>
13897 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13898 Replace name, low_pc and high_pc with MACRO_AT_func.
13900 2014-11-14 Yao Qi <yao@codesourcery.com>
13902 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13903 produce debug information.
13904 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13906 2014-11-14 Yao Qi <yao@codesourcery.com>
13908 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13909 object and get function length.
13910 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13911 with MACRO_AT_func.
13912 (top-level): Replace gdb_compile and clean_restart with
13913 prepare_for_testing.
13914 * gdb.dwarf2/main.c (main): Add label main_label.
13916 2014-11-14 Yao Qi <yao@codesourcery.com>
13918 * lib/dwarf.exp (function_range): New procedure.
13919 (Dwarf::_handle_macro_at_func): New procedure.
13920 (Dwarf::_handle_macro_at_range): New procedure.
13921 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13923 2014-11-14 Yao Qi <yao@codesourcery.com>
13925 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13926 (_handle_attribute): New procedure.
13928 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13930 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13931 * gdb.base/call-sc.c (zed): Likewise.
13932 * gdb.base/checkpoint.c (main): Likewise.
13933 * gdb.base/dump.c (main): Likewise.
13934 * gdb.base/gcore.c (main): Likewise.
13935 * gdb.base/huge.c (main): Likewise.
13936 * gdb.base/multi-forks.c (main): Likewise.
13937 * gdb.base/pr10179-a.c (main): Likewise.
13938 * gdb.base/savedregs.c (main): Likewise.
13939 * gdb.base/sigaltstack.c (main): Likewise.
13940 * gdb.base/siginfo.c (main): Likewise.
13941 * gdb.base/structs.c (zed): Likewise.
13942 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13943 * gdb.mi/mi-syn-frame.c (main): Likewise.
13944 * gdb.mi/until.c (foo, main): Likewise.
13945 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13946 * gdb.base/solib-weak.c (foo): Declare.
13947 * gdb.base/attach-twice.c: Include stdio.h.
13948 * gdb.base/weaklib1.c: Likewise.
13949 * gdb.base/weaklib2.c: Likewise.
13950 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13951 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13953 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13954 * gdb.mi/mi-exit-code.c: Likewise.
13955 * gdb.base/break-interp-lib.c: Include string.h.
13956 * gdb.base/coremaker.c: Likewise.
13957 * gdb.base/testenv.c: Likewise.
13958 * gdb.python/py-finish-breakpoint.c: Likewise.
13959 * gdb.base/inferior-died.c: Include sys/wait.h.
13960 * gdb.base/fileio.c: Include time.h.
13961 * gdb.base/async-shell.c: Include unistd.h.
13962 * gdb.base/dprintf-non-stop.c: Likewise.
13963 * gdb.base/info-os.c: Likewise.
13964 * gdb.mi/mi-console.c: Likewise.
13965 * gdb.mi/watch-nonstop.c: Likewise.
13966 * gdb.python/py-events.c: Likewise.
13967 * gdb.base/async.c (baz): Move up before its invocation.
13968 * gdb.base/code_elim2.c (my_global_func): Likewise.
13969 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13970 * gdb.base/advance.c (func2): Likewise.
13972 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13974 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13976 * gdb.base/annota3.c: Likewise.
13977 * gdb.base/async.c: Likewise.
13978 * gdb.base/average.c: Likewise.
13979 * gdb.base/call-ar-st.c: Likewise.
13980 * gdb.base/call-rt-st.c: Likewise.
13981 * gdb.base/call-sc.c: Likewise.
13982 * gdb.base/call-strs.c: Likewise.
13983 * gdb.base/ending-run.c: Likewise.
13984 * gdb.base/execd-prog.c: Likewise.
13985 * gdb.base/exprs.c: Likewise.
13986 * gdb.base/foll-exec.c: Likewise.
13987 * gdb.base/foll-fork.c: Likewise.
13988 * gdb.base/foll-vfork.c: Likewise.
13989 * gdb.base/funcargs.c: Likewise.
13990 * gdb.base/gcore.c: Likewise.
13991 * gdb.base/jump.c: Likewise.
13992 * gdb.base/langs0.c: Likewise.
13993 * gdb.base/langs1.c: Likewise.
13994 * gdb.base/langs2.c: Likewise.
13995 * gdb.base/mips_pro.c: Likewise.
13996 * gdb.base/nodebug.c: Likewise.
13997 * gdb.base/opaque0.c: Likewise.
13998 * gdb.base/opaque1.c: Likewise.
13999 * gdb.base/recurse.c: Likewise.
14000 * gdb.base/run.c: Likewise.
14001 * gdb.base/scope0.c: Likewise.
14002 * gdb.base/scope1.c: Likewise.
14003 * gdb.base/setshow.c: Likewise.
14004 * gdb.base/setvar.c: Likewise.
14005 * gdb.base/shmain.c: Likewise.
14006 * gdb.base/shr1.c: Likewise.
14007 * gdb.base/shr2.c: Likewise.
14008 * gdb.base/sigall.c: Likewise.
14009 * gdb.base/signals.c: Likewise.
14010 * gdb.base/so-indr-cl.c: Likewise.
14011 * gdb.base/solib2.c: Likewise.
14012 * gdb.base/structs.c: Likewise.
14013 * gdb.base/sum.c: Likewise.
14014 * gdb.base/vforked-prog.c: Likewise.
14015 * gdb.base/watchpoint.c: Likewise.
14016 * gdb.reverse/shr2.c: Likewise.
14017 * gdb.reverse/until-reverse.c: Likewise.
14018 * gdb.reverse/ur1.c: Likewise.
14019 * gdb.reverse/watch-reverse.c: Likewise.
14021 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14023 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14025 * gdb.base/sepdebug.exp: Drop references to removed code.
14027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14029 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14030 variant. Preserve original line numbering.
14031 * gdb.base/list1.c: Likewise.
14033 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14035 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14037 * gdb.base/break1.c: Likewise.
14038 * gdb.base/break.exp: Drop references to removed code.
14040 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14042 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14047 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14051 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14052 logic into perform_all_tests() and invoke it with and without
14053 function header prototypes.
14054 (do_function_calls): Remove conditional XFAIL for PR 5318.
14055 (rerun_and_prepare): Remove duplicate code.
14056 (perform_all_tests): New. Main logic moved here.
14058 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14060 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14061 code guarded by #ifdef NO_PROTOTYPES.
14062 (t_double_many_args): Likewise.
14063 (DEF_FUNC_MANY_ARGS_1): Likewise.
14064 (DEF_FUNC_VALUES_1): Likewise.
14065 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14066 guarded by #ifdef PROTOTYPES.
14068 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14070 * gdb.mi/mi-console.c: Add eye-catcher.
14071 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14072 instead of literal line number.
14074 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14076 * gdb.base/shr2.c: Add eye-catcher.
14077 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14082 * gdb.base/jump.c: Add eye-catchers.
14083 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14086 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14088 * gdb.base/execd-prog.c: Add eye-catchers.
14089 * gdb.base/foll-exec.c: Likewise.
14090 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14093 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14095 * gdb.base/ending-run.c: Add eye-catchers.
14096 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14097 literal line numbers.
14099 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14101 * gdb.base/call-rt-st.c: Add eye-catchers.
14102 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14103 literal line numbers.
14105 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14107 * gdb.base/call-ar-st.c: Add eye-catchers.
14108 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14109 literal line numbers.
14111 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14113 * gdb.base/average.c: Add eye-catchers.
14114 * gdb.base/sum.c: Likewise.
14115 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14116 regexps dynamically.
14118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14120 * gdb.base/solib1.c: Add eye-catchers.
14121 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14122 literal line numbers.
14124 2014-11-12 Pedro Alves <palves@redhat.com>
14126 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14129 2014-11-12 Pedro Alves <palves@redhat.com>
14131 * gdb.arch/i386-bp_permanent.c: New file.
14132 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14133 (srcfile): Set to i386-bp_permanent.c.
14134 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14135 that stepi does not execute the 'leave' instruction, instead of
14136 testing it does execute.
14137 * gdb.base/bp-permanent.c: New file.
14138 * gdb.base/bp-permanent.exp: New file.
14140 2014-11-10 Doug Evans <xdje42@gmail.com>
14143 * gdb.base/symtab-search-order.exp: New file.
14144 * gdb.base/symtab-search-order.c: New file.
14145 * gdb.base/symtab-search-order-1.c: New file.
14146 * gdb.base/symtab-search-order-shlib-1.c: New file.
14148 2014-11-07 Pedro Alves <palves@redhat.com>
14151 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14154 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14157 * gdb.cp/pr17494.cc: New file.
14158 * gdb.cp/pr17494.exp: New file.
14160 2014-11-02 Yao Qi <yao@codesourcery.com>
14162 * gdb.python/python.exp: Get working directory and match the
14163 output of "set extended-prompt \\w " with it.
14165 2014-10-30 Doug Evans <dje@google.com>
14167 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14169 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14172 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14174 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14175 * gdb.base/realname-expand.exp: Likewise.
14176 * gdb.linespec/macro-relative.exp: Likewise.
14178 2014-10-29 Pedro Alves <palves@redhat.com>
14181 * gdb.threads/schedlock.c (some_function): New function.
14182 (call_function): New global.
14183 (MAYBE_CALL_SOME_FUNCTION): New macro.
14184 (thread_function): Call it.
14185 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14186 and use it instead of a global counter. Adjust all callers.
14187 (get_current_thread): Use "find current thread" for test message
14188 here rather than having all callers pass down the same string.
14189 (goto_loop): New procedure, factored out from ...
14190 (my_continue): ... this.
14191 (step_ten_loops): Change parameter from test message to command to
14193 (list_count): Delete global.
14194 (check_result): New procedure, factored out from duplicate top
14196 (continue tests): Wrap in with_test_prefix.
14197 (test_step): New procedure, factored out from duplicate top level
14199 (top level): Test "step" in combination with all scheduler-locking
14200 modes. Test "next" in combination with all scheduler-locking
14201 modes, and in combination with stepping over a function call or
14203 * gdb.threads/next-bp-other-thread.c: New file.
14204 * gdb.threads/next-bp-other-thread.exp: New file.
14206 2014-10-29 Pedro Alves <palves@redhat.com>
14209 * gdb.python/python.exp: Test a multi-line command that spawns
14210 interactive Python.
14211 * gdb.base/multi-line-starts-subshell.exp: New file.
14213 2014-10-29 Yao Qi <yao@codesourcery.com>
14215 * gdb.base/fileio.exp: Make directories on host.
14217 2014-10-29 Yao Qi <yao@codesourcery.com>
14219 * gdb.base/fileio.c (test_write): Close the file.
14221 2014-10-28 Pedro Alves <palves@redhat.com>
14224 * gdb.base/sigstep.c (no_handler): New global.
14225 (main): If 'no_handler is true, set the signal handlers to
14227 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14228 with_sw_watch and no_handler parameters. Handle them.
14229 (top level) <stepping over handler when stopped at a breakpoint
14230 test>: Add a test axis for testing with a software watchpoint, and
14231 another for testing with the signal handler set to SIG_IGN.
14232 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14233 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14235 2014-10-28 Pedro Alves <palves@redhat.com>
14238 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14239 * gdb.base/sigstep.exp (other_handler_location): New global.
14240 (advance): Support stepping into the signal handler, and running
14241 commands while in the handler.
14242 (in_handler_map): New global.
14243 (top level): In the advance test, add combinations for getting
14244 into the handler with stepping commands, and for running commands
14245 in the handler. Add comment descripting the advancei tests.
14247 2014-10-28 Pedro Alves <palves@redhat.com>
14249 * gdb.base/sigstep.exp: Use build_executable instead of
14250 prepare_for_testing.
14251 (top level): Move code that starts GDB, runs to main and creates a
14253 (restart): ... this new procedure.
14254 (top level): Move backtrace from signal handler test to ...
14255 (validate_backtrace): ... this new procedure.
14256 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
14257 with_test_prefix. Always restart GDB.
14258 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
14259 with_test_prefix. Always restart GDB. No need to delete
14260 breakpoints after the test.
14261 (test_skip_handler): Remove prefix parameter.
14262 (skip_over_handler, breakpoint_to_handler)
14263 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
14264 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
14265 restart GDB. No need to delete breakpoints after the test.
14266 (top level): Use foreach to call the test procedures with
14267 different commands.
14269 2014-10-28 Pedro Alves <palves@redhat.com>
14271 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
14272 instead of GNATS numbers.
14273 * gdb.base/sigbpt.exp: Likewise.
14274 * gdb.base/siginfo.exp: Likewise.
14275 * gdb.base/sigstep.exp: Likewise.
14277 2014-10-27 Pedro Alves <palves@redhat.com>
14279 * gdb.base/sigstep.c (dummy): New global.
14280 (main): Issue a couple writes to the new global.
14281 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14283 (skip_over_handler): Use test_skip_handler.
14284 (top level): Call skip_over_handler for stepi and nexti too.
14285 (breakpoint_over_handler): Use test_skip_handler.
14286 (top level): Call breakpoint_over_handler for stepi and nexti too.
14288 2014-10-27 Yao Qi <yao@codesourcery.com>
14290 * gdb.trace/tfile.c (adjust_function_address)
14291 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14292 function descriptor.
14294 2014-10-24 Don Breazeal <donb@codesourcery.com>
14296 * gdb.base/foll-fork.exp (test_follow_fork,
14297 catch_fork_child_follow): Check for updated fork messages emitted
14299 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14300 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14301 vfork_and_exec_child_follow_through_step): Check for updated vfork
14302 messages emitted from infrun.c.
14304 2014-10-24 Pedro Alves <palves@redhat.com>
14306 * gdb.base/corefile.exp: Remove references to ultrix.
14307 * gdb.base/interrupt.exp: Likewise.
14308 * gdb.base/whatis.exp: Likewise.
14309 * gdb.gdb/selftest.exp: Likewise.
14310 * gdb.threads/manythreads.exp: Likewise.
14311 * gdb.threads/print-threads.exp: Likewise.
14312 * gdb.threads/pthreads.exp:: Likewise.
14313 * gdb.threads/schedlock.exp: Likewise.
14315 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14317 * gdb.cp/non-trivial-retval.cc: Add a test case.
14318 * gdb.cp/non-trivial-retval.exp: Add a test.
14320 2014-10-20 Yao Qi <yao@codesourcery.com>
14322 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14323 * gdb.python/py-objfile-script-gdb.py: New file.
14324 * gdb.python/py-objfile-script.exp: Update reference to
14325 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14326 of remote_download. Remove the dest file.
14328 2014-10-20 Yao Qi <yao@codesourcery.com>
14330 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14331 * gdb.base/step-line.exp: Likewise.
14332 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14333 * gdb.dwarf2/dw2-basic.exp: Likewise.
14334 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14335 * gdb.dwarf2/dw2-filename.exp: Likewise.
14336 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14337 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14338 * gdb.dwarf2/dw2-producer.exp: Likewise.
14339 * gdb.dwarf2/mac-fileno.exp: Likewise.
14340 * gdb.python/py-frame-args.exp: Likewise.
14341 * gdb.python/py-framefilter.exp: Likewise.
14342 * gdb.python/py-mi.exp: Likewise.
14343 * gdb.python/py-objfile-script.exp: Likewise
14344 * gdb.python/py-pp-integral.exp: Likewise.
14345 * gdb.python/py-pp-re-notag.exp: Likewise.
14346 * gdb.python/py-prettyprint.exp: Likewise.
14347 * gdb.python/py-section-script.exp: Likewise.
14348 * gdb.python/py-typeprint.exp: Likewise.
14349 * gdb.python/py-xmethods.exp: Likewise.
14350 * gdb.stabs/weird.exp: Likewise.
14351 * gdb.xml/tdesc-regs.exp: Likewise.
14353 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14355 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14356 (out_cu): Use addr_len for the size of addresses.
14357 (out_line): Likewise. Size DW_LNE_set_address instruction
14358 according to addr_len.
14359 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14360 (FUNC): Add START_INSNS to definition.
14362 2014-10-18 Yao Qi <yao@codesourcery.com>
14364 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14365 gdb_has_argv0 return true.
14366 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14367 check [target_info exists noargs], check [gdb_has_argv0]
14369 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14370 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14373 2014-10-17 Doug Evans <dje@google.com>
14375 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14377 * gdb.python/py-events.py: Add clear_objfiles event.
14379 2014-10-17 Doug Evans <dje@google.com>
14381 * gdb.python/py-objfile.exp: Test progspace attribute.
14383 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14385 * gdb.guile/scm-breakpoint.exp: Do not assume any
14386 directory separators when matching source file paths.
14387 * gdb.python/py-breakpoint.exp: Likewise.
14388 * gdb.reverse/break-precsave.exp: Likewise.
14389 * gdb.reverse/break-reverse.exp: Likewise.
14390 * gdb.reverse/consecutive-precsave.exp: Likewise.
14391 * gdb.reverse/finish-precsave.exp: Likewise.
14392 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14393 * gdb.reverse/finish-reverse.exp: Likewise.
14394 * gdb.reverse/i386-precsave.exp: Likewise.
14395 * gdb.reverse/i387-env-reverse.exp: Likewise.
14396 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14397 * gdb.reverse/machinestate-precsave.exp: Likewise.
14398 * gdb.reverse/machinestate.exp: Likewise.
14399 * gdb.reverse/sigall-precsave.exp: Likewise.
14400 * gdb.reverse/solib-precsave.exp: Likewise.
14401 * gdb.reverse/step-precsave.exp: Likewise.
14402 * gdb.reverse/until-precsave.exp: Likewise.
14403 * gdb.reverse/watch-precsave.exp: Likewise.
14404 * gdb.reverse/watch-reverse.exp: Likewise.
14406 2014-10-17 Yao Qi <yao@codesourcery.com>
14408 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14409 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14411 2014-10-17 Pedro Alves <palves@redhat.com>
14414 * gdb.base/bg-execution-repeat.c: New file.
14415 * gdb.base/bg-execution-repeat.exp: New file.
14417 2014-10-17 Pedro Alves <palves@redhat.com>
14420 * gdb.base/continue-all-already-running.c: New file.
14421 * gdb.base/continue-all-already-running.exp: New file.
14423 2014-10-17 Pedro Alves <palves@redhat.com>
14426 * gdb.base/annota-input-while-running.c: New file.
14427 * gdb.base/annota-input-while-running.exp: New file.
14429 2014-10-17 Pedro Alves <palves@redhat.com>
14431 * gdb.base/callfuncs.exp: emove references to osf.
14432 * gdb.base/sigall.exp: Likewise.
14433 * gdb.gdb/selftest.exp: Likewise.
14434 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14435 * gdb.mi/non-stop.c: Likewise.
14436 * gdb.mi/pthreads.c: Likewise.
14437 * gdb.reverse/sigall-precsave.exp: Likewise.
14438 * gdb.reverse/sigall-reverse.exp: Likewise.
14439 * gdb.threads/pthreads.c: Likewise.
14440 * gdb.threads/pthreads.exp: Likewise.
14442 2014-10-17 Yao Qi <yao@codesourcery.com>
14444 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14445 check 'target_info exists noargs'.
14446 (test_command_prompt_position): Likewise.
14447 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14449 (progvar_simple_while_test): Likewise.
14450 (progvar_complex_if_while_test): Likewise.
14451 (if_while_breakpoint_command_test): Likewise.
14452 (infrun_breakpoint_command_test): Likewise.
14453 (breakpoint_command_test): Likewise.
14454 (watchpoint_command_test): Likewise.
14455 (bp_deleted_in_command_test): Likewise.
14456 (temporary_breakpoint_commands): Likewise.
14458 2014-10-16 Yao Qi <yao@codesourcery.com>
14460 * gdb.base/remotetimeout.exp: Remove noargs checking.
14462 2014-10-15 Pedro Alves <palves@redhat.com>
14464 PR breakpoints/9649
14465 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14466 * gdb.base/breakpoint-in-ro-region.exp
14467 (probe_target_hardware_step): New procedure.
14468 (top level): Probe hardware stepping and hardware breakpoint
14469 support. Test stepping through a read-only region, with both
14470 "breakpoint auto-hw" on and off and both "always-inserted" on and
14473 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14475 * gdb.dlang/demangle.exp: Update for demangling changes.
14477 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14479 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14480 * gdb.cp/non-trivial-retval.exp: Add new tests.
14482 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14486 * gdb.cp/non-trivial-retval.cc: New file.
14487 * gdb.cp/non-trivial-retval.exp: New file.
14489 2014-10-15 Yao Qi <yao@codesourcery.com>
14491 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14494 2014-10-15 Yao Qi <yao@codesourcery.com>
14496 * gdb.python/py-symbol.exp: Match file base name if host is
14497 remote, otherwise match file name with dir name.
14498 * gdb.python/py-symtab.exp: Likewise.
14499 * gdb.python/python.exp: Likewise.
14501 2014-10-15 Yao Qi <yao@codesourcery.com>
14503 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14505 * gdb.python/py-symtab.exp: Likewise.
14506 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14509 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14511 * gdb.ada/addr_arith: New testcase.
14513 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14515 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14516 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14517 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14518 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14520 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14522 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14523 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14524 * gdb.arch/stap-eval-lang-ada.exp: New file.
14526 2014-10-14 Yao Qi <yao@codesourcery.com>
14528 * gdb.mi/mi-var-child.c (nothing1): New function.
14529 (nothing2): New function.
14530 (do_children_tests): Set function pointers by nothing1 and
14532 * gdb.mi/mi-var-child.exp: Step over new added statements.
14533 Update test to match the new output.
14534 * gdb.mi/var-cmd.c (nothing1): New function.
14535 (nothing2): New function.
14536 (do_children_tests): Set function pointers by nothing1 and
14538 * gdb.mi/mi-var-display.exp: Update test to match output.
14539 Step to the line specified by $line_dct_nothing.
14540 Increase the number of lines to step.
14542 2014-10-14 Yao Qi <yao@codesourcery.com>
14544 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14546 * gdb.mi/mi2-var-child.exp: Likewise.
14548 2014-10-13 Doug Evans <dje@google.com>
14550 * gdb.python/py-objfile.exp: Change name of file name test.
14552 2014-10-13 Doug Evans <dje@google.com>
14554 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14555 from the start of the CU.
14557 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14558 Yao Qi <yao@codesourcery.com>
14560 Fix "save breakpoints" for "catch" command.
14561 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14562 Remove -nonewline. Match also the added "main" line.
14564 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14566 Fix "save breakpoints" for "disable $bpnum" command.
14567 * gdb.base/save-bp.c (main): Add label.
14568 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14570 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14572 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14574 2014-10-11 Yao Qi <yao@codesourcery.com>
14576 * gdb.server/server-kill.exp: Execute command
14577 "set remote trace-status-packet on" before "tstatus".
14579 2014-10-11 Yao Qi <yao@codesourcery.com>
14581 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14582 (main): Call getppid.
14583 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14584 and continue to it. Read variable "server_pid".
14586 2014-10-11 Yao Qi <yao@codesourcery.com>
14588 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14590 2014-10-11 Yao Qi <yao@codesourcery.com>
14592 * gdb.threads/thread-find.exp: Don't execute command
14594 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14595 * gdb.threads/linux-dp.exp: Don't check the condition
14596 $threads_created equals to zero.
14598 2014-10-10 Pedro Alves <palves@redhat.com>
14600 * gdb.base/bigcore.exp: Remove references to IRIX.
14601 * gdb.base/funcargs.exp: Likewise.
14602 * gdb.base/interrupt.exp: Likewise.
14603 * gdb.base/mips_pro.exp: Likewise.
14604 * gdb.base/nodebug.exp: Likewise.
14605 * gdb.base/setvar.exp: Likewise.
14606 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14608 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14609 Pedro Alves <palves@redhat.com>
14612 * gdb.base/vdso-warning.c: New file.
14613 * gdb.base/vdso-warning.exp: New file.
14615 2014-10-02 Doug Evans <dje@google.com>
14617 * gdb.base/structs.c (main): Don't run forever.
14619 2014-10-02 Pedro Alves <palves@redhat.com>
14621 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14622 (top level) <stop threads 1, stop threads 2>: Use it.
14624 2014-10-02 Pedro Alves <palves@redhat.com>
14626 * gdb.threads/break-while-running.exp (test): Add new
14627 'update_thread_list' argument. Skip "info threads" if false.
14628 (top level): Add new 'update_thread_list' axis.
14630 2014-10-02 Pedro Alves <palves@redhat.com>
14632 PR breakpoints/17431
14633 * gdb.base/execl-update-breakpoints.c: New file.
14634 * gdb.base/execl-update-breakpoints.exp: New file.
14636 2014-10-01 Pedro Alves <palves@redhat.com>
14638 * gdb.base/breakpoint-in-ro-region.c: New file.
14639 * gdb.base/breakpoint-in-ro-region.exp: New file.
14641 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14643 * gdb.mi/mi-exit-code.exp: New file.
14644 * gdb.mi/mi-exit-code.c: New file.
14646 2014-09-30 Yao Qi <yao@codesourcery.com>
14648 * lib/prelink-support.exp (build_executable_own_libs): Error if
14649 the target isn't native.
14651 2014-09-30 Yao Qi <yao@codesourcery.com>
14653 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14656 2014-09-22 Pedro Alves <palves@redhat.com>
14658 * gdb.threads/break-while-running.exp: New file.
14659 * gdb.threads/break-while-running.c: New file.
14661 2014-09-19 Yao Qi <yao@codesourcery.com>
14663 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14664 Invoke test. Restart GDB with --readnow and invoke test again.
14666 2014-09-19 Yao Qi <yao@codesourcery.com>
14668 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14669 proc set_breakpoint_on_gcd_function. Invoke
14670 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14671 invoke set_breakpoint_on_gcd_function again.
14673 2014-09-18 Doug Evans <dje@google.com>
14675 * gdb.dwarf2/symtab-producer.exp: New file.
14677 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14679 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14680 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14681 * gdb.base/global-var-nested-by-dso.c: Likewise.
14682 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14684 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14685 Pedro Alves <palves@redhat.com>
14687 * gdb.base/watch-bitfields.exp: Pass string other than test file
14688 name to prepare_for_testing.
14689 (watch): New procedure.
14690 (expect_watchpoint): Use with_test_prefix.
14691 (top level): Factor out tests to ...
14692 (test_watch_location, test_regular_watch): ... these new
14693 procedures, and use with_test_prefix and gdb_continue_to_end.
14695 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14697 PR breakpoints/12526
14698 * gdb.base/watch-bitfields.exp: New file.
14699 * gdb.base/watch-bitfields.c: New file.
14701 2014-09-16 Pedro Alves <palves@redhat.com>
14703 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14704 software and hardware addresses, not software address against
14707 2014-09-16 Pedro Alves <palves@redhat.com>
14709 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14710 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14712 2014-09-16 Pedro Alves <palves@redhat.com>
14714 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14716 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14717 "*-*-vxworks*" throughout.
14718 * gdb.base/break.exp: Likewise.
14719 * gdb.base/default.exp: Likewise.
14720 * gdb.base/scope.exp: Likewise.
14721 * gdb.base/sepdebug.exp: Likewise.
14722 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14724 * gdb.base/run.c: Likewise.
14725 * gdb.base/sepdebug.c: Likewise.
14726 * gdb.hp/gdb.aCC/run.c: Likewise.
14727 * gdb.reverse/until-reverse.c: Likewise.
14728 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14730 2014-09-16 Yao Qi <yao@codesourcery.com>
14732 * boards/local-remote-host-native.exp: New file.
14734 2014-09-14 Doug Evans <xdje42@gmail.com>
14736 * gdb.threads/queue-signal.c (thread_count): New variable.
14737 (thread_count_mutex, thread_count_condvar): New variables.
14738 (incr_thread_count, wait_all_threads_running): New functions.
14739 (main): Wait for all threads to be in their thread functions.
14741 2014-09-13 Doug Evans <xdje42@gmail.com>
14743 * gdb.threads/queue-signal.c: New file.
14744 * gdb.threads/queue-signal.exp: New file.
14746 2014-09-13 Doug Evans <xdje42@gmail.com>
14748 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14749 be consistent with what default_gdb_init uses.
14750 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14751 the plain text of the prompt. Add some logging printfs.
14752 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14754 2014-09-12 Pedro Alves <palves@redhat.com>
14756 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14757 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14758 * gdb.arch/i386-size-overlap.exp: Likewise.
14759 * gdb.arch/i386-size.exp: Likewise.
14760 * gdb.arch/i386-unwind.exp: Likewise.
14761 * gdb.base/a2-run.exp: Likewise.
14762 * gdb.base/break.exp: Likewise.
14763 * gdb.base/charset.exp: Likewise.
14764 * gdb.base/chng-syms.exp: Likewise.
14765 * gdb.base/commands.exp: Likewise.
14766 * gdb.base/dbx.exp: Likewise.
14767 * gdb.base/find.exp: Likewise.
14768 * gdb.base/funcargs.exp: Likewise.
14769 * gdb.base/jit-simple.exp: Likewise.
14770 * gdb.base/reread.exp: Likewise.
14771 * gdb.base/sepdebug.exp: Likewise.
14772 * gdb.base/step-bt.exp: Likewise.
14773 * gdb.cp/mb-inline.exp: Likewise.
14774 * gdb.cp/mb-templates.exp: Likewise.
14775 * gdb.objc/basicclass.exp: Likewise.
14776 * gdb.threads/killed.exp: Likewise.
14778 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14781 * gdb.arch/powerpc-stackless.S: New file.
14782 * gdb.arch/powerpc-stackless.exp: New file.
14784 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14786 * gdb.base/attach.c: Include unistd.h.
14787 (main): Call alarm. Add label postloop.
14788 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14789 gdb_breakpoint, gdb_continue_to_breakpoint.
14790 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14792 2014-09-11 Pedro Alves <palves@redhat.com>
14795 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14796 * gdb.base/attach.exp (test_command_line_attach_run): New
14798 (top level): Call it.
14800 2014-09-11 Pedro Alves <palves@redhat.com>
14802 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14803 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14804 (do_command_attach_tests): Use spawn_wait_for_attach.
14805 * gdb.base/solib-overlap.exp: Likewise.
14806 * gdb.multi/multi-attach.exp: Likewise.
14807 * gdb.python/py-prompt.exp: Likewise.
14808 * gdb.python/py-sync-interp.exp: Likewise.
14809 * gdb.server/ext-attach.exp: Likewise.
14811 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14813 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14814 command in testcase. Simplify testcase.
14816 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14818 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14820 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14822 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14824 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14826 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14828 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14830 * gdb.dwarf2/dynarr-ptr.c: New file.
14831 * gdb.dwarf2/dynarr-ptr.exp: New file.
14833 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14835 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14836 of 30 rather than hardcoding 120 for a slow test case. Take the
14837 `gdb,timeout' target setting into account for this calculation.
14838 Don't extend the timeout for the test cases that don't need it.
14840 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14842 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14843 a factor of 2 for a slow test case. Take the `gdb,timeout'
14844 target setting into account for this calculation.
14845 * gdb.reverse/until-precsave.exp: Increase the timeout by
14846 a factor of 15 and 3 respectively rather than adding 120
14847 for a pair of slow test cases. Take the `gdb,timeout'
14848 target setting into account for this calculation.
14850 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14852 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14853 timeout, don't pass one down to gdb_expect.
14854 (gdb_expect): Rework timeout selection.
14856 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14858 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14859 exception on timeout.
14860 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14861 (gdbserver_start_extended): Catch any `gdbserver_start' error
14863 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14864 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14865 `gdbserver_gdb_load' error exceptions.
14867 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14869 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14870 120 on waiting for the TCP socket to open.
14872 2014-09-09 Doug Evans <xdje42@gmail.com>
14874 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14875 _caller_matches, _any_caller_is, _any_caller_matches.
14877 2014-09-09 Doug Evans <xdje42@gmail.com>
14879 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14881 2014-09-09 Yao Qi <yao@codesourcery.com>
14883 * gdb.mi/mi-var-display.exp: Set print symbol off.
14885 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14888 * gdb.base/commands.exp: Add tests to verify user-defined
14889 commands with empty bodies.
14890 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14891 python commands in `show user command`.
14892 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14893 scheme commands in `show user command`.
14895 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14898 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14899 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14900 * gdb.python/py-framefilter-invalidarg.exp: New file.
14901 * gdb.python/py-framefilter-invalidarg.py: New file.
14903 2014-09-06 Doug Evans <xdje42@gmail.com>
14906 * gdb.python/py-caller-is.c: New file.
14907 * gdb.python/py-caller-is.exp: New file.
14909 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14912 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14913 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14915 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14918 * gdb.fortran/print-formatted.exp: New file.
14919 * gdb.fortran/print-formatted.f90: Likewise.
14921 2014-09-03 Sasha Smundak <asmundak@google.com>
14923 * gdb.python/py-frame.exp: Test Frame.read_register.
14925 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14928 * gdb.python/py-completion.exp: New file.
14929 * gdb.python/py-completion.py: Likewise.
14931 2014-08-28 Doug Evans <dje@google.com>
14933 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14934 eax,etc. are live with values set by gdb and thus the compiler can't
14936 * gdb.arch/i386-pseudo.c (main): Ditto.
14938 2014-08-27 Doug Evans <dje@google.com>
14940 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14942 2014-08-25 Doug Evans <dje@google.com>
14944 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14947 2014-08-25 Doug Evans <dje@google.com>
14949 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14951 2014-08-24 Yao Qi <yao@codesourcery.com>
14953 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14955 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14957 2014-08-22 Doug Evans <dje@google.com>
14960 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14961 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14962 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14964 2014-08-22 Yao Qi <yao@codesourcery.com>
14966 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14967 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14968 * gdb.python/python.exp: Likewise. Use .py file on the host
14969 instead of the build.
14971 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14973 * gdb.threads/gcore-stale-thread.c: New file.
14974 * gdb.threads/gcore-stale-thread.exp: New file.
14976 2014-08-21 Pedro Alves <palves@redhat.com>
14978 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14979 * gdb.base/gcore-relro-pie.exp: Likewise.
14980 * gdb.base/gcore-relro.exp: Likewise.
14981 * gdb.base/gcore.exp: Likewise.
14982 * gdb.base/print-symbol-loading.exp: Likewise.
14983 * gdb.threads/gcore-thread.exp: Likewise.
14984 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14986 2014-08-20 Pedro Alves <palves@redhat.com>
14987 Jan Kratochvil <jan.kratochvil@redhat.com>
14989 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14991 (EXPECT): Handle READ1 being set.
14992 (all): Depend on EXTRA_RULES.
14993 (check-read1, expect-read1, read1.so, read1): New rules.
14994 * README (Testsuite Parameters): Document the READ1 make variable.
14995 (Race detection): New section.
14996 * configure: Regenerate.
14997 * configure.ac: If build==host==target, and running under a
14998 GNU/glibc system, add read1 to the extra Makefile rules.
14999 (EXTRA_RULES): AC_SUBST it.
15000 * lib/read1.c: New file.
15002 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15004 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15005 the handling of variables declared as a typedef to an array
15006 which a DW_AT_data_location attribute.
15008 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15009 Pedro Alves <palves@redhat.com>
15013 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15016 2014-08-19 Pedro Alves <palves@redhat.com>
15018 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15020 2014-08-19 Yao Qi <yao@codesourcery.com>
15022 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15025 2014-08-18 David Blaikie <dblaikie@gmail.com>
15027 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15029 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15031 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15032 attribute in array range.
15034 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15036 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15038 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15041 * gdb.cp/pr17132.cc: New file.
15042 * gdb.cp/pr17132.exp: New file.
15044 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15046 * gdb.python/py-xmethods.py (A_getarrayind)
15047 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15048 Use 'print' with function call syntax.
15049 (E_method_matcher.match): Fix tab vs space indentation mixup.
15051 2014-08-15 Yao Qi <yao@codesourcery.com>
15053 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15056 2014-08-15 Yao Qi <yao@codesourcery.com>
15058 * gdb.cp/casts.exp: Set print symbol off.
15059 * gdb.cp/class2.exp: Likewise.
15060 * gdb.cp/overload.exp: Likewise.
15061 * gdb.cp/templates.exp: Likewise.
15063 2014-08-11 Doug Evans <dje@google.com>
15065 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15066 (test_load_shlib): Update.
15068 2014-08-09 Yao Qi <yao@codesourcery.com>
15070 * gdb.base/display.exp: Invoke is_address_zero_readable.
15071 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15072 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15073 * gdb.base/hbreak-unmapped.exp: Return if
15074 is_address_zero_readable returns true.
15075 * gdb.base/signest.exp: Likewise.
15076 * gdb.base/signull.exp: Likewise.
15077 * gdb.base/sigbpt.exp: Likewise.
15078 * gdb.guile/scm-disasm.exp: Do the test if
15079 is_address_zero_readable returns false.
15080 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15081 * gdb.python/py-arch.exp: Likewise.
15082 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15083 * lib/gdb.exp (is_address_zero_readable): New proc.
15085 2014-08-09 Yao Qi <yao@codesourcery.com>
15088 * gdb.mi/mi-var-display.exp: Make test messages unique.
15090 2014-08-04 Tom Tromey <tromey@redhat.com>
15092 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15095 2014-08-04 Tom Tromey <tromey@redhat.com>
15097 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15100 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15102 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15103 inner_vla_struct_object_size.
15104 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15107 2014-07-30 Pedro Alves <palves@redhat.com>
15109 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15112 2014-07-29 Yao Qi <yao@codesourcery.com>
15115 * gdb.base/until-nodebug.exp: New.
15117 2014-07-28 Doug Evans <xdje42@gmail.com>
15120 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15121 previously existing parameter, and previously ambiguously spelled
15124 2014-07-28 Will Newton <will.newton@linaro.org>
15126 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15128 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15129 Doug Evans <xdje42@gmail.com>
15132 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15134 2014-07-25 Pedro Alves <palves@redhat.com>
15136 * gdb.threads/signal-command-handle-nopass.c: New file.
15137 * gdb.threads/signal-command-handle-nopass.exp: New file.
15138 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15139 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15140 * gdb.threads/signal-delivered-right-thread.c: New file.
15141 * gdb.threads/signal-delivered-right-thread.exp: New file.
15143 2014-07-25 Pedro Alves <palves@redhat.com>
15145 * gdb.base/double-prompt-target-event-error.exp
15146 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15148 (cancel_pagination_in_target_event): Rework double prompt
15150 * gdb.base/paginate-after-ctrl-c-running.exp
15151 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15153 * gdb.base/paginate-bg-execution.exp
15154 (test_bg_execution_pagination_return)
15155 (test_bg_execution_pagination_cancel): Remove '-notransfer
15157 * gdb.base/paginate-execution-startup.exp
15158 (test_fg_execution_pagination_return)
15159 (test_fg_execution_pagination_cancel): Remove '-notransfer
15161 * gdb.base/paginate-inferior-exit.exp
15162 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15164 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15165 * lib/gdb.exp (pagination_prompt): Run text through
15167 (gdb_test_multiple): Match $pagination_prompt instead of
15169 (string_to_regexp): Move to lib/gdb-utils.exp.
15171 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15173 * gdb.arch/amd64-entry-value-paramref.S: New file.
15174 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15175 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15176 * gdb.arch/amd64-optimout-repeat.S: New file.
15177 * gdb.arch/amd64-optimout-repeat.c: New file.
15178 * gdb.arch/amd64-optimout-repeat.exp: New file.
15180 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15183 * gdb.base/statistics.exp: New file.
15185 2014-07-17 Doug Evans <dje@google.com>
15188 * gdb.base/maint.exp: Update testing of per-command stats.
15190 2014-07-16 Pedro Alves <palves@redhat.com>
15192 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15193 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15194 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15195 (tfile_write_buf): New functions.
15196 (add_memory_block): Rewrite using the above.
15197 (adjust_function_address): New function.
15198 (FUNCTION_ADDRESS): New macro.
15199 (write_basic_trace_file): Remove short_x local, and use
15200 tfile_write_16. Change type of func_addr local to unsigned long
15201 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15202 here. Cast argument of add_memory_block to char pointer.
15203 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15204 (main): Remove parameters.
15205 * gdb.trace/tfile.exp: Remove nowarnings.
15207 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15209 * gdb.base/debug-expr.exp: Test string evaluation with
15210 "debug expression" on.
15212 2014-07-15 Pedro Alves <palves@redhat.com>
15214 * gdb.base/reread.exp: Use clean_restart.
15216 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15218 * gdb.arch/avr-flash-qualifer.c: New.
15219 * gdb.arch/avr-flash-qualifer.exp: New.
15221 2014-07-14 Pedro Alves <palves@redhat.com>
15223 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15224 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15226 2014-07-14 Pedro Alves <palves@redhat.com>
15228 * gdb.base/double-prompt-target-event-error.c: New file.
15229 * gdb.base/double-prompt-target-event-error.exp: New file.
15231 2014-07-14 Pedro Alves <palves@redhat.com>
15234 * gdb.base/paginate-inferior-exit.c: New file.
15235 * gdb.base/paginate-inferior-exit.exp: New file.
15237 2014-07-14 Pedro Alves <palves@redhat.com>
15240 * gdb.base/paginate-bg-execution.c: New file.
15241 * gdb.base/paginate-bg-execution.exp: New file.
15243 2014-07-14 Pedro Alves <palves@redhat.com>
15246 * gdb.base/paginate-execution-startup.c: New file.
15247 * gdb.base/paginate-execution-startup.exp: New file.
15248 * lib/gdb.exp (pagination_prompt): New global.
15249 (default_gdb_spawn): New procedure, factored out from
15251 (default_gdb_start): Adjust to call default_gdb_spawn.
15252 (gdb_spawn): New procedure.
15254 2014-07-14 Pedro Alves <palves@redhat.com>
15256 * lib/gdb.exp (gdb_assert): New procedure.
15257 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
15259 2014-07-14 Pedro Alves <palves@redhat.com>
15261 * gdb.base/execution-termios.c: New file.
15262 * gdb.base/execution-termios.exp: New file.
15264 2014-07-14 Tom Tromey <tromey@redhat.com>
15266 * gdb.cp/vla-cxx.cc: New file.
15267 * gdb.cp/vla-cxx.exp: New file.
15269 2014-07-14 Tom Tromey <tromey@redhat.com>
15271 * gdb.reverse/rerun-prec.c: New file.
15272 * gdb.reverse/rerun-prec.exp: New file.
15274 2014-07-12 Maciej W. Rozycki <macro@mips.com>
15275 Maciej W. Rozycki <macro@codesourcery.com>
15277 * lib/gdb-utils.exp: New file.
15278 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15279 inline `gdb_init_command' processing.
15280 (gdb_start_cmd): Likewise.
15281 * lib/mi-support.exp (mi_run_cmd): Likewise.
15282 * README: Document `gdb_init_command' and `gdb_init_commands'.
15284 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15286 Fix false FAIL running under a very long directory name.
15287 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15288 and "set print elements 10000". Twice.
15290 2014-07-11 Yao Qi <yao@codesourcery.com>
15292 * gdb.base/exprs.exp: "set print symbol off".
15294 2014-07-11 Pedro Alves <palves@redhat.com>
15296 * gdb.threads/kill.c: New file.
15297 * gdb.threads/kill.exp: New file.
15299 2014-07-10 Yao Qi <yao@codesourcery.com>
15301 * gdb.trace/tfile.c (write_basic_trace_file)
15302 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15303 address written to trace file.
15305 2014-07-09 Pedro Alves <palves@redhat.com>
15307 * gdb.base/attach-wait-input.exp: New file.
15308 * gdb.base/attach-wait-input.c: New file.
15310 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15312 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15313 setting up test structures.
15314 (main): Call new test function.
15315 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15316 test function, continue into test function and walk test
15319 2014-07-02 Yao Qi <yao@codesourcery.com>
15321 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15322 'bar_start' at the beginning of functions 'foo' and 'bar'
15324 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15325 instead of 'foo' and 'bar'.
15327 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15329 * gdb.btrace/segv.exp: New.
15330 * gdb.btrace/segv.c: New.
15332 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15334 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15337 2014-06-30 Mark Wielaard <mjw@redhat.com>
15339 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15340 vulture, vilify, villar): New volatile array constants.
15341 (vindictive, vegetation): New const volatile array constants.
15342 * gdb.base/volatile.exp: Test volatile and const volatile array
15345 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15347 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15348 target lacks support for awatch, rwatch, or hbreak.
15350 2014-06-27 Yao Qi <yao@codesourcery.com>
15352 * gdb.multi/dummy-frame-restore.exp: New.
15353 * gdb.multi/dummy-frame-restore.c: New.
15355 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15357 * gdb.btrace/gcore.exp: New.
15359 2014-06-23 Pedro Alves <palves@redhat.com>
15361 * gdb.base/watchpoint-reuse-slot.c: New file.
15362 * gdb.base/watchpoint-reuse-slot.exp: New file.
15364 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15366 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15367 progspace's filename in 'info', 'enable' and 'disable' command
15370 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15372 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15373 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15374 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15376 2014-06-20 Gary Benson <gbenson@redhat.com>
15378 * gdb.arch/i386-avx.exp: Fix include file location.
15379 * gdb.arch/i386-sse.exp: Likewise.
15381 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15383 * gdb.dlang/expression.exp: New file.
15385 2014-06-19 Pedro Alves <palves@redhat.com>
15387 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15389 (top level): ... here. Iterate running tests under different
15390 scheduler-locking settings.
15392 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15394 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15395 to DW_FORM_addr and use non-zero addresses.
15397 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15400 * gdb.python/py-xmethods.cc: Add global function call counters and
15401 increment them in their respective functions. Remove "cout"
15403 * gdb.python/py-xmethods.exp: Make tests check the global function
15404 call counters instead of depending on inferior IO.
15406 2014-06-18 Don Breazeal <donb@codesourcery.com>
15408 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15410 (explicit_fork_parent_follow): Deleted procedure.
15411 (explicit_fork_child_follow): Deleted procedure.
15412 (test_follow_fork): New procedure.
15413 (do_fork_tests): Replace calls to deleted procedures with
15414 calls to test_follow_fork and reset GDB for subsequent
15417 2014-06-17 Yao Qi <yao@codesourcery.com>
15419 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15422 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15424 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15425 Initialize ptr and S explicitly.
15426 (skip_type_update_when_not_use_rtti_test): Likewise.
15428 2014-06-16 Keith Seitz <keiths@redhat.com>
15431 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15432 the inferior is started.
15434 2014-06-16 Pedro Alves <palves@redhat.com>
15436 * gdb.base/break-main-file-remove-fail.c: New file.
15437 * gdb.base/break-main-file-remove-fail.exp: New file.
15438 * gdb.base/break-unload-file.exp: Use build_executable instead of
15439 prepare_for_testing.
15440 (test_break): New parameter "initial_load". Handle it.
15441 (top level): Add initial_load cmdline/file axis.
15443 2014-06-12 Tom Tromey <tromey@redhat.com>
15445 * gdb.base/completion.exp: Don't use directory name in test.
15447 2014-06-09 Gary Benson <gbenson@redhat.com>
15449 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15450 separate the always-available ANSI-standard signals from the
15451 signals that require checking.
15453 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15457 2014-06-07 Keith Seitz <keiths@redhat.com>
15461 * gdb.cp/var-tag.cc: New file.
15462 * gdb.cp/var-tag.exp: New file.
15463 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15464 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15465 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15466 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15468 2014-06-06 Doug Evans <xdje42@gmail.com>
15470 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15472 2014-06-06 Pedro Alves <palves@redhat.com>
15474 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15475 in target debug output instead of looking at RSP packets,
15476 disabling the test on any target that uses hardware stepping.
15479 2014-06-06 Pedro Alves <palves@redhat.com>
15481 * gdb.base/break-unload-file.exp: Fix typo.
15483 2014-06-06 Yao Qi <yao@codesourcery.com>
15485 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15486 from "jit_function" to "^jit_function".
15488 2014-06-06 Yao Qi <yao@codesourcery.com>
15490 * gdb.base/async.c (foo): Add one statement.
15491 * gdb.base/async.exp: Get the next instruction address and
15492 match the output of "nexti" by instruction address. Match
15493 the hex address in the output of "finish".
15495 2014-06-06 Gary Benson <gbenson@redhat.com>
15497 * gdb.base/call-signals.c: Remove preprocessor conditionals
15498 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15499 SIGSEGV and SIGTERM.
15500 * gdb.base/sigall.c: Likewise.
15501 * gdb.base/unwindonsignal.c: Likewise.
15502 * gdb.reverse/sigall-reverse.c: Likewise.
15504 2014-06-06 Yao Qi <yao@codesourcery.com>
15506 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15507 readable, skip the test.
15509 2014-06-06 Yao Qi <yao@codesourcery.com>
15511 * gdb.threads/staticthreads.c (thread_function): Move the line
15512 setting breakpoint on forward.
15513 * gdb.threads/staticthreads.exp: Update comments.
15515 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15517 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15518 "history-append! type error".
15520 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15522 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15523 erroneous dprintf expected input.
15525 2014-06-04 Doug Evans <xdje42@gmail.com>
15527 * gdb.guile/scm-generics.exp: Delete.
15529 2014-06-04 Doug Evans <xdje42@gmail.com>
15531 * gdb.guile/scm-breakpoint.exp: Update.
15532 Add tests for breakpoint registration.
15534 2014-06-04 Tom Tromey <tromey@redhat.com>
15536 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15538 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15539 inner_vla_struct, vla_union types. Initialize objects of those
15540 types and compute their sizes.
15542 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15543 Hui Zhu <hui@codesourcery.com>
15545 * gdb.base/fileio.exp: Add test for shell not available as well as
15547 * gdb.base/fileio.c (test_system): Check for shell twice.
15549 2014-06-04 Yao Qi <yao@codesourcery.com>
15551 * gdb.base/auto-connect-native-target.exp: Remove redundant
15552 space from the regexp pattern.
15554 2014-06-04 Yao Qi <yao@codesourcery.com>
15556 * gdb.base/default.exp: Replace "child" with "native" in
15559 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15561 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15562 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15563 * gdb.python/py-xmethods.py: Python script supporting the
15564 new testcase and tests.
15566 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15567 Pedro Alves <palves@redhat.com>
15569 PR breakpoints/17000
15570 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15571 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15573 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15575 * gdb.base/subst.exp: Add tests to verify partial path matching
15578 2014-06-03 Pedro Alves <palves@redhat.com>
15580 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15581 target that doesn't use software single-stepping.
15583 2014-06-03 Pedro Alves <palves@redhat.com>
15585 PR breakpoints/17000
15586 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15587 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15589 2014-06-02 Doug Evans <xdje42@gmail.com>
15591 * gdb.guile/scm-parameter.exp: New file.
15593 2014-06-02 Doug Evans <xdje42@gmail.com>
15595 * gdb.guile/scm-cmd.c: New file.
15596 * gdb.guile/scm-cmd.exp: New file.
15598 2014-06-02 Doug Evans <xdje42@gmail.com>
15600 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15601 pretty-printer lookup.
15602 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15603 (make-pp_s-printer): Call it.
15604 (make-pretty-printer-from-dict): New function.
15605 (lookup-pretty-printer-maker-from-dict): New function.
15606 (*pretty-printer*): Simplify.
15607 (make-objfile-pp_s-printer): New function.
15608 (install-objfile-pretty-printers!): New function.
15609 (make-progspace-pp_s-printer): New function.
15610 (install-progspace-pretty-printers!): New function.
15611 * gdb.guile/scm-progspace.c: New file.
15612 * gdb.guile/scm-progspace.exp: New file.
15614 2014-06-02 Pedro Alves <palves@redhat.com>
15616 * gdb.base/dprintf-bp-same-addr.c: New file.
15617 * gdb.base/dprintf-bp-same-addr.exp: New file.
15619 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15621 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15622 * gdb.arch/powerpc-power.s: Likewise.
15624 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15626 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15628 2014-06-01 Yao Qi <yao@codesourcery.com>
15630 * gdb.base/watchpoint.exp (test_watch_location): Check null
15631 pointer can be dereferenced. If not, do the test, otherwise
15634 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15636 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15638 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15640 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15642 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15643 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15644 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15645 * gdb.arch/amd64-invalid-stack-top.c: New file.
15646 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15648 2014-05-30 Pedro Alves <palves@redhat.com>
15650 PR breakpoints/17000
15651 * gdb.base/sss-bp-on-user-bp.c: New file.
15652 * gdb.base/sss-bp-on-user-bp.exp: New file.
15654 2014-05-30 David Blaikie <dblaikie@gmail.com>
15656 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15657 gnu_inline semantics via attribute.
15658 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15659 source explicitly specifies the required semantics.
15661 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15663 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15665 2014-05-29 Pedro Alves <palves@redhat.com>
15666 Tom Tromey <tromey@redhat.com>
15668 * gdb.base/async-shell.exp: Don't enable target-async.
15669 * gdb.base/async.exp
15670 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15672 (top level): Don't test with "target-async".
15673 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15674 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15675 * gdb.base/inferior-died.exp: Don't enable target-async.
15676 * gdb.base/interrupt-noterm.exp: Likewise.
15677 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15678 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15679 * gdb.mi/mi-nonstop.exp: Likewise.
15680 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15681 * gdb.mi/mi-nsintrall.exp: Likewise.
15682 * gdb.mi/mi-nsmoribund.exp: Likewise.
15683 * gdb.mi/mi-nsthrexec.exp: Likewise.
15684 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15685 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15686 * gdb.python/py-evsignal.exp: Don't enable target-async.
15687 * gdb.python/py-evthreads.exp: Likewise.
15688 * gdb.python/py-prompt.exp: Likewise.
15689 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15690 * gdb.server/solib-list.exp: Don't enable target-async.
15691 * gdb.threads/thread-specific-bp.exp: Likewise.
15692 * lib/mi-support.exp: Adjust to use mi-async.
15694 2014-05-29 Pedro Alves <palves@redhat.com>
15697 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15698 reason, even in sync mode.
15700 2014-05-29 Pedro Alves <palves@redhat.com>
15701 Hui Zhu <hui@codesourcery.com>
15704 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15705 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15706 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15707 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15709 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15711 * config/monitor.exp (gdb_target_monitor): Replace use of
15712 "set remotebaud" by "set serial baud".
15714 2014-05-26 Andy Wingo <wingo@igalia.com>
15716 * gdb.guile/scm-breakpoint.exp:
15717 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15718 properties instead of gdb-object-properties.
15720 2014-05-26 Yao Qi <yao@codesourcery.com>
15722 * gdb.server/no-thread-db.exp: Specify source file name
15723 explicitly when setting a breakpoint.
15725 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15727 * gdb.btrace/vdso.c: New.
15728 * gdb.btrace/vdso.exp: New.
15730 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15732 * gdb.base/gcore.exp (capture_command_output): Move ...
15733 * lib/gdb.exp (capture_command_output): ... here.
15735 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15737 * gdb.btrace/data.exp: Test memory access during btrace replay.
15739 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15741 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15743 2014-05-21 Pedro Alves <palves@redhat.com>
15746 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15747 (top level): Test that output related to execution commands is
15748 sent to the console with CLI commands, but not with MI commands.
15749 Test that breakpoint events are always mirrored to the console.
15750 Also expect the new source line to be output after a "next" in
15751 async mode too. Make it a pass/fail test.
15752 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15754 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15756 2014-05-21 Pedro Alves <palves@redhat.com>
15758 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15759 Use them to test variations of "list" after reaching a breakpoint.
15760 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15761 Test "list" with listsize 10 after reaching a breakpoint.
15762 * gdb.python/python.exp (decode_line current location line
15763 number): Adjust expected line number.
15765 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15767 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15768 behavior for $args, pass it directly to "run".
15770 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15772 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15775 2014-05-21 Pedro Alves <palves@redhat.com>
15777 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15778 auto-connect-native-target off".
15779 * gdb.base/auto-connect-native-target.c: New file.
15780 * gdb.base/auto-connect-native-target.exp: New file.
15782 2014-05-21 Pedro Alves <palves@redhat.com>
15784 * gdb.base/default.exp: Test "target native" instead of "target
15787 2014-05-21 Mark Wielaard <mjw@redhat.com>
15789 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15791 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15793 Fix TLS access for -static -pthread.
15794 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15795 <HAVE_TLS> (thread_function, main): Initialize it.
15796 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15798 <$have_tls != "">: Check TLSVAR.
15800 2014-05-21 Pedro Alves <palves@redhat.com>
15802 * gdb.base/dcache-line-read-error.c: New.
15803 * gdb.base/dcache-line-read-error.exp: New.
15805 2014-05-20 Pedro Alves <palves@redhat.com>
15807 * gdb.base/compare-sections.c: New file.
15808 * gdb.base/compare-sections.exp: New file.
15810 2014-05-20 Pedro Alves <palves@redhat.com>
15812 * gdb.base/break-idempotent.c: New file.
15813 * gdb.base/break-idempotent.exp: New file.
15815 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15817 * gdb.btrace/nohist.exp: New.
15819 2014-05-20 Yao Qi <yao@codesourcery.com>
15821 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15822 gdb.reverse directory and gdb_reverse_timeout exists in board
15824 * README: Document gdb_reverse_timeout.
15826 2014-05-20 Yao Qi <yao@codesourcery.com>
15828 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15829 'test_file_name'. Treat args as a string instead of a list.
15830 (gdb_init): Rename argument 'args' by 'test_file_name'.
15832 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15834 * gdb.arch/powerpc-power.exp: New file.
15835 * gdb.arch/powerpc-power.s: New file.
15837 2014-05-16 Doug Evans <dje@google.com>
15839 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15840 * gdb.base/completion.exp: Check that all expected files exist
15841 before doing file completion.
15843 2014-05-16 Doug Evans <dje@google.com>
15845 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15847 (do_syscall_tests_without_xml): Update.
15849 2014-05-16 Pedro Alves <palves@redhat.com>
15851 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15852 instead of "unknown output after running".
15854 2014-05-16 Yao Qi <yao@codesourcery.com>
15856 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15857 file1.txt from host at the end.
15858 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15860 2014-05-15 Doug Evans <dje@google.com>
15862 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15863 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15864 loading file. Add test for TU lookup.
15866 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15868 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15869 calling "-exec-arguments" or "set args" before running the
15872 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15874 * lib/mi-support.exp (mi_expect_stop): Expect message for
15875 inferiors that exit with non-zero exit code.
15877 2014-05-14 Yao Qi <yao@codesourcery.com>
15879 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15880 match absolute path on remote host.
15881 (test_file_list_exec_source_files): Remove "/" from the
15884 2014-05-14 Yao Qi <yao@codesourcery.com>
15886 * boards/local-remote-host-notty.exp (${board}_file): New
15889 2014-05-07 Kyle McMartin <kyle@redhat.com>
15891 Pushed by Joel Brobecker <brobecker@adacore.com>.
15892 * gdb.arch/aarch64-atomic-inst.c: New file.
15893 * gdb.arch/aarch64-atomic-inst.exp: New file.
15895 2014-05-07 Yao Qi <yao@codesourcery.com>
15897 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15898 in current context" too.
15900 2014-05-05 Keith Seitz <keiths@redhat.com>
15902 * gdb.linespec/ls-dollar.exp: Add test for linespec
15903 file:convenience_variable.
15905 2014-05-05 Yao Qi <yao@codesourcery.com>
15907 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15908 traceframes into tfile and ctf trace files. Read data from
15909 trace file and test collected data.
15910 (gdb_collect_locals_test): Likewise.
15911 (gdb_unavailable_registers_test): Likewise.
15912 (gdb_unavailable_floats): Likewise.
15913 (gdb_collect_globals_test): Likewise.
15914 (top-level): Append "ctf" to trace_file_targets if GDB
15917 2014-05-05 Yao Qi <yao@codesourcery.com>
15919 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15921 (gdb_collect_args_test_1): ... it. New proc.
15922 (gdb_collect_locals_test): Move some code to ...
15923 (gdb_collect_locals_test_1): ... it. New proc.
15924 (gdb_unavailable_registers_test): Move some code to ...
15925 (gdb_unavailable_registers_test_1): ... it. New proc.
15926 (gdb_unavailable_floats): Move some code to ...
15927 (gdb_unavailable_floats_1): ... it. New proc.
15929 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15931 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15932 probes to test for bitness recognition.
15933 * gdb.arch/amd64-stap-optional-prefix.exp
15934 (test_probe_value_without_reg): New procedure.
15935 Add code to test for different kinds of bitness.
15937 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15939 PR breakpoints/16889
15940 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15941 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15943 2014-05-01 Pedro Alves <palves@redhat.com>
15945 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15946 gdb_file_cmd if no file is specified.
15947 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15948 last_loaded_file to set the remote exec-file.
15950 2014-05-01 Pedro Alves <palves@redhat.com>
15952 * boards/local-remote-host.exp: New file.
15954 2014-05-01 Pedro Alves <palves@redhat.com>
15956 * boards/local-remote-host.exp: Rename to ...
15957 * boards/local-remote-host-notty.exp: ... this.
15959 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15961 * gdb.ada/dyn_arrayidx: New testcase.
15963 2014-04-26 Yao Qi <yao@codesourcery.com>
15965 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15966 and compute the length of function main. Save it in
15968 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15969 (top-level): Use gdb_compile to compile objects into
15970 executable and restart GDB. Remove invocation to
15971 prepare_for_testing.
15973 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15974 Pedro Alves <palves@redhat.com>
15977 * gdb.multi/multi-attach.c: New file.
15978 * gdb.multi/multi-attach.exp: New file.
15980 2014-04-25 Pedro Alves <palves@redhat.com>
15982 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15984 (top level): Test that "set remote conditional-breakpoints-packet
15985 off" works as intended.
15986 * gdb.base/dprintf.exp: Test that "set remote
15987 breakpoint-commands-packet off" works as intended.
15988 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15990 (top level): Call it.
15991 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15992 remote fast-tracepoints-packet off" works as intended.
15993 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15994 * lib/gdb.exp (gdb_is_target_remote): ... here.
15996 2014-04-24 David Blaikie <dblaikie@gmail.com>
15998 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15999 ensure clang would not discard them.
16000 * gdb.base/gdbvars.c: Ditto.
16001 * gdb.base/memattr.c: Ditto.
16002 * gdb.base/whatis.c: Ditto.
16003 * gdb.python/py-prettyprint.c: Ditto.
16004 * gdb.trace/actions.c: Ditto.
16005 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16006 ensure clang would not discard it.
16008 2014-04-24 David Blaikie <dblaikie@gmail.com>
16010 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16011 clang to emit the full definition of type required by the test
16012 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16014 2014-04-24 David Blaikie <dblaikie@gmail.com>
16016 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16017 coax Clang into emitting the definition of the type.
16018 * gdb.cp/pr10728-x.h (y): Ditto.
16019 * gdb.cp/pr10728-y.cc (y): Ditto.
16021 2014-04-24 David Blaikie <dblaikie@gmail.com>
16023 * gdb.base/label.exp: XFAIL label related tests under Clang.
16024 * gdb.cp/cplabel.exp: Ditto.
16025 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16026 under Clang those using labels.
16028 2014-04-25 Yao Qi <yao@codesourcery.com>
16030 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16032 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16033 partial_label and double_label.
16035 2014-04-24 David Blaikie <dblaikie@gmail.com>
16037 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16039 2014-04-24 David Blaikie <dblaikie@gmail.com>
16041 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16042 of the function to work across GCC and Clang.
16043 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16044 pointer types (const void ** const V void **).
16046 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16047 Walfred Tedeschi <walfred.tedeschi@intel.com>
16049 * Makefile.in (EXECUTABLES): Added i386-avx512.
16050 * gdb.arch/i386-avx512.c: New file.
16051 * gdb.arch/i386-avx512.exp: Likewise.
16053 2014-04-23 Keith Seitz <keiths@redhat.com>
16055 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16056 (mi_make_breakpoint_table): New procedure.
16057 (mi_create_breakpoint): Use mi_make_breakpoint
16058 and return the result.
16059 (mi_make_breakpoint): New procedure.
16060 (mi_build_kv_pairs): New procedure.
16062 * gdb.mi/mi-break.exp: Remove unused globals,
16063 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16064 All callers updated.
16065 * gdb.mi/mi-dprintf.exp: Use variable to track command
16067 Update all callers of mi_create_breakpoint and use
16068 mi_make_breakpoint_table.
16069 Remove any unused global variables.
16070 * gdb.mi/mi-nonstop.exp: Likewise.
16071 * gdb.mi/mi-nsintrall.exp: Likewise.
16072 * gdb.mi/mi-nsmoribund.exp: Likewise.
16073 * gdb.mi/mi-nsthrexec.exp: Likewise.
16074 * gdb.mi/mi-reverse.exp: Likewise.
16075 * gdb.mi/mi-simplerun.exp: Likewise.
16076 * gdb.mi/mi-stepn.exp: Likewise.
16077 * gdb.mi/mi-syn-frame.exp: Likewise.
16078 * gdb.mi/mi-until.exp: Likewise.
16079 * gdb.mi/mi-var-cp.exp: Likewise.
16080 * gdb.mi/mi-var-display.exp: Likewise.
16081 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16082 * gdb.mi/mi2-var-child.exp: Likewise.
16083 * gdb.mi/mi-vla-c99.exp: Likewise.
16084 * lib/mi-support.exp: Likewise.
16086 From Ian Lance Taylor <iant@cygnus.com>:
16087 * lib/gdb.exp (parse_args): New procedure.
16089 2014-04-23 Pedro Alves <palves@redhat.com>
16091 * gdb.base/break-unload-file.c: New file.
16092 * gdb.base/break-unload-file.exp: New file.
16093 * gdb.base/sym-file-lib.c (baz): New function.
16094 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16096 (load): Store the segment's mapped size.
16097 (unload): New function.
16098 (unload_shlib): New function.
16099 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16100 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16101 set a breakpoint at baz, and call it.
16102 * gdb.base/sym-file.exp: New tests for stale breakpoint
16105 2014-04-23 Pedro Alves <palves@redhat.com>
16107 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16108 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16109 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16110 * gdb.base/hbreak-unmapped.c: New file.
16111 * gdb.base/hbreak-unmapped.exp: New file.
16112 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16113 * lib/gdb.exp (gdb_is_target_remote): ... here.
16115 2014-04-22 Pedro Alves <palves@redhat.com>
16117 * gdb.base/consecutive-step-over.c: New file.
16118 * gdb.base/consecutive-step-over.exp: New file.
16120 2014-04-22 Pedro Alves <palves@redhat.com>
16122 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16123 instead of send_gdb/gdb_expect.
16125 2014-04-22 Yao Qi <yao@codesourcery.com>
16127 * lib/trace-support.exp (generate_tracefile): New procedure.
16128 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16130 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16131 if generate_tracefile returns 1.
16133 2014-04-18 Tom Tromey <palves@redhat.com>
16134 Pedro alves <tromey@redhat.com>
16137 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16138 with a backtrace limit.
16139 * gdb.python/py-frame-inline.exp: Test running to an inline
16140 function with a backtrace limit, and printing the newest frame.
16141 * gdb.python/py-frame-inline.c (main): Call f.
16143 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16145 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16147 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16149 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16150 Drop prefix from unsupported source file path.
16152 2014-04-17 Yao Qi <yao@codesourcery.com>
16154 * lib/gdb.exp (with_target_charset): New proc.
16155 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16156 with_target_charset.
16157 (test_print_strings): Likewise.
16158 (test_repeat_bytes): Likewise.
16159 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16162 2014-04-16 Keith Seitz <keiths@redhat.com>
16165 * gdb.dwarf2/corrupt.c: New file.
16166 * gdb.dwarf2/corrupt.exp: New file.
16168 2014-04-16 Keith Seitz <keiths@redhat.com>
16171 * gdb.cp/namelessclass.cc: New file.
16172 * gdb.cp/namelessclass.exp: New file.
16173 * gdb.cp/namelessclass.S: New file.
16175 2014-04-16 Doug Evans <dje@google.com>
16177 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16179 (gdbserver_default_get_comm_port): New function.
16180 (gdbserver_start): Check if board file provided
16181 "gdbserver,get_comm_port" and use it if so.
16182 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16183 (gdb,socketport): Set to "stdio".
16184 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16185 (stdio_gdbserver_template): Delete.
16186 (${board}_get_remote_address): Update.
16187 (${board}_build_remote_cmd): Delete.
16188 (${board}_get_comm_port): New function.
16189 (${board}_spawn): Update.
16190 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16192 (${board}_get_remote_address): Update.
16193 (${board}_get_comm_port): New function.
16195 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16197 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16198 appearing in any order.
16200 2014-04-15 Doug Evans <dje@google.com>
16202 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16203 uninitialized value of "description".
16205 2014-04-15 Keith Seitz <keiths@redhat.com>
16207 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16208 Remove unused globals.
16209 (test_running_the_program): Likewise.
16210 (test_controlled_execution): Likewise.
16211 (test_controlling_breakpoints): Likewise.
16212 (test_program_termination): Likewise.
16214 2014-04-15 Keith Seitz <keiths@redhat.com>
16216 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16218 (test_rbreak_creation_and_listing): Likewise.
16219 (test_ignore_count): Likewise.
16220 (test_error): Likewise.
16222 2014-04-15 Pedro Alves <palves@redhat.com>
16224 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16225 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16227 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16228 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16229 to sym-file-loader.c.
16230 (struct library): Forward declare.
16231 (load_shlib, lookup_function): Change prototypes.
16232 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16233 (translate_offset): Remove declarations.
16234 (get_text_addr): New declaration.
16235 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16236 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16238 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16239 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16240 here from sym-file-loader.h.
16241 (struct library): New structure.
16242 (load_shlib, lookup_function): Change prototypes and adjust to
16243 work with a struct library.
16244 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16245 (translate_offset): Make static.
16246 (get_text_addr): New function.
16247 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16249 2014-04-15 Pedro Alves <palves@redhat.com>
16251 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16253 2014-04-15 Pedro Alves <palves@redhat.com>
16255 * gdb.base/sym-file-loader.c: Include <limits.h>.
16256 (SELF_LINK): New define.
16257 (get_origin): New function.
16258 (load_shlib): Use it.
16259 * gdb.base/sym-file.exp: Don't early return if the target is
16260 remote. Use runto_main, and issue fail is that fails. Use
16262 (shlib_name): Delete.
16263 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
16265 2014-04-15 Pedro Alves <palves@redhat.com>
16267 * gdb.base/sym-file.exp: Remove regex characters from test
16268 message. Don't refer to breakpoint numbers in test messages.
16270 2014-04-14 Keith Seitz <keiths@redhat.com>
16273 * gdb.cp/var-tag.cc: New file.
16274 * gdb.cp/var-tag.exp: New file.
16275 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16276 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16277 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16278 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16280 2014-04-14 Tom Tromey <tromey@redhat.com>
16282 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16283 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16285 * gdb.cp/enum-class.exp: New file.
16286 * gdb.cp/enum-class.cc: New file.
16288 2014-04-14 Tom Tromey <tromey@redhat.com>
16290 * gdb.dwarf2/enum-type.exp: New file.
16292 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16294 * gdb.mi/mi-vla-c99.exp: New file.
16295 * gdb.mi/vla.c: New file.
16297 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16299 * gdb.base/vla-datatypes.c: New file.
16300 * gdb.base/vla-datatypes.exp: New file.
16302 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16304 * gdb.base/vla-ptr.c: New file.
16305 * gdb.base/vla-ptr.exp: New file.
16307 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16309 * gdb.dwarf2/count.exp: New file.
16311 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16313 * gdb.base/vla-sideeffect.c: New file.
16314 * gdb.base/vla-sideeffect.exp: New file.
16316 2014-04-14 David Blaikie <dblaikie@gmail.com>
16318 * gdb.mi/non-stop.c: Add return value for non-void function return
16320 * gdb.threads/staticthreads.c: Ditto.
16322 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16323 Doug Evans <xdje42@gmail.com>
16325 * gdb.guile/scm-value.c: Improve test case.
16326 * gdb.guile/scm-value.exp: Add new test.
16328 2014-04-11 David Blaikie <dblaikie@gmail.com>
16330 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16331 override Clang's default.
16333 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16335 Revert the following changes (regressions):
16337 * gdb.base/vla-sideeffect.c: New file.
16338 * gdb.base/vla-sideeffect.exp: New file.
16340 * gdb.dwarf2/count.exp: New file.
16342 * gdb.base/vla-multi.c: New file.
16343 * gdb.base/vla-multi.exp: New file.
16345 * gdb.base/vla-ptr.c: New file.
16346 * gdb.base/vla-ptr.exp: New file.
16348 * gdb.base/vla-datatypes.c: New file.
16349 * gdb.base/vla-datatypes.exp: New file.
16351 * gdb.mi/mi-vla-c99.exp: New file.
16352 * gdb.mi/vla.c: New file.
16354 2014-04-11 Keith Seitz <keiths@redhat.com>
16357 * gdb.cp/cpsizeof.exp: New file.
16358 * gdb.cp/cpsizeof.cc: New file.
16360 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16362 * gdb.mi/mi-vla-c99.exp: New file.
16363 * gdb.mi/vla.c: New file.
16365 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16367 * gdb.base/vla-datatypes.c: New file.
16368 * gdb.base/vla-datatypes.exp: New file.
16370 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16372 * gdb.base/vla-ptr.c: New file.
16373 * gdb.base/vla-ptr.exp: New file.
16375 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16377 * gdb.base/vla-multi.c: New file.
16378 * gdb.base/vla-multi.exp: New file.
16380 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16382 * gdb.dwarf2/count.exp: New file.
16384 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16386 * gdb.base/vla-sideeffect.c: New file.
16387 * gdb.base/vla-sideeffect.exp: New file.
16389 2014-04-11 Yao Qi <yao@codesourcery.com>
16391 * gdb.base/completion.exp: Check file exists before running tests
16392 on file completion.
16394 2014-04-10 Pedro Alves <palves@redhat.com>
16396 * gdb.base/cond-eval-mode.c: New file.
16397 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16398 prepare_for_testing to build the new file. Check result of
16400 (test_break, test_watch): New procedures.
16401 (top level): Use them.
16403 2014-04-08 Pierre Muller <muller@sourceware.org>
16405 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16406 Ctrl-V use for mingw hosts.
16408 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16410 * gdb.python/py-value.c: Improve test case.
16411 * gdb.python/py-value.exp: Add new test.
16413 2014-04-07 David Blaikie <dblaikie@gmail.com>
16415 * lib/compiler.c: Identify the clang compiler.
16416 * lib/compiler.cc: Ditto.
16418 2014-04-03 Yao Qi <yao@codesourcery.com>
16420 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16422 2014-04-01 Anton Blanchard <anton@samba.org>
16424 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16427 2014-04-01 Anton Blanchard <anton@samba.org>
16429 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16430 prepare_for_testing.
16432 2014-04-01 Anton Blanchard <anton@samba.org>
16434 * gdb.arch/ppc64-atomic-inst.c: Remove.
16435 * gdb.arch/ppc64-atomic-inst.S: New file.
16436 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16438 2014-03-31 Doug Evans <dje@google.com>
16440 * gdb.base/print-symbol-loading-lib.c: New file.
16441 * gdb.base/print-symbol-loading-main.c: New file.
16442 * gdb.base/print-symbol-loading.exp: New file.
16444 2014-03-31 Yao Qi <yao@codesourcery.com>
16446 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16448 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16450 * gdb.ada/mi_dyn_arr: New testcase.
16452 2014-03-27 Doug Evans <dje@google.com>
16454 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16456 2014-03-27 Yao Qi <yao@codesourcery.com>
16458 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16459 if target is nios2-*-*.
16461 2014-03-26 Yao Qi <yao@codesourcery.com>
16463 * lib/gdb.exp (readline_is_used): New proc.
16464 * gdb.base/completion.exp: Move tests on command complete up.
16465 Skip the rest of tests if readline is not used.
16466 * gdb.ada/complete.exp: Skp the test if readline is not
16468 * gdb.base/filesym.exp: Likewise.
16469 * gdb.base/macscp.exp: Likewise.
16470 * gdb.base/readline-ask.exp: Likewise.
16471 * gdb.base/readline.exp: Likewise.
16472 * gdb.python/py-cmd.exp: Likewise.
16473 * gdb.trace/tfile.exp: Likewise.
16475 2014-03-26 Yao Qi <yao@codesourcery.com>
16477 * gdb.base/macscp.exp: Fix code format issues.
16479 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16481 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16482 * gdb.asm/powerpc64le.inc: New file.
16484 2014-03-25 Pedro Alves <palves@redhat.com>
16485 Doug Evans <dje@google.com>
16487 * gdb.base/source-execution.c: New file.
16488 * gdb.base/source-execution.exp: New file.
16489 * gdb.base/source-execution.gdb: New file.
16491 2014-03-24 Doug Evans <dje@google.com>
16493 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16496 2014-03-24 Hui Zhu <hui@codesourcery.com>
16497 Pedro Alves <palves@redhat.com>
16499 PR breakpoints/16101
16500 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16501 test pass/fail messages. Detect missing support for dprintf when
16502 breakpoints are actually inserted.
16503 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16504 breakpoints are actually inserted.
16505 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16508 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16510 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16512 2014-03-22 Doug Evans <xdje42@gmail.com>
16514 * gdb.python/python.exp (python not supported): Verify multi-line
16515 python command issues an error.
16516 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16517 guile command issues an error.
16519 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16521 * gdb.threads/thread-specific.exp: Handle the lack of usable
16522 $this_breakpoint and $this_thread.
16524 2014-03-21 Hui Zhu <hui@codesourcery.com>
16526 * gdb.base/attach.exp (do_command_attach_tests): New.
16528 2014-03-20 Tom Tromey <tromey@redhat.com>
16529 Pedro Alves <palves@redhat.com>
16532 * gdb.base/condbreak-call-false.c: New file.
16533 * gdb.base/condbreak-call-false.exp: New file.
16535 2014-03-20 Pedro Alves <palves@redhat.com>
16537 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16539 (block_signals, unblock_signals): Delete.
16540 (child_function_2, main): Remove references to deleted variable
16543 2014-03-20 Pedro Alves <palves@redhat.com>
16545 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16546 Use pthread_kill to signal thread 2.
16547 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16548 Adjust to make the test send itself a signal rather than using the
16549 host's "kill" command.
16551 2014-03-20 Pedro Alves <palves@redhat.com>
16553 * gdb.threads/multiple-step-overs.c: New file.
16554 * gdb.threads/multiple-step-overs.exp: New file.
16555 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16556 Adjust expected infrun debug output.
16558 2014-03-20 Pedro Alves <palves@redhat.com>
16560 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16561 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16563 2014-03-20 Pedro Alves <palves@redhat.com>
16565 PR breakpoints/7143
16566 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16567 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16568 of gdb_test_multiple.
16569 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16570 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16572 2014-03-20 Pedro Alves <palves@redhat.com>
16574 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16575 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16577 2014-03-19 Pedro Alves <palves@redhat.com>
16579 * gdb.base/async.exp: Remove early return.
16581 2014-03-19 Pedro Alves <palves@redhat.com>
16583 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16585 2014-03-19 Pedro Alves <palves@redhat.com>
16587 * gdb.base/async.exp (test_background): Expect \r\n after
16588 "completed." in the fail pattern.
16590 2014-03-19 Pedro Alves <palves@redhat.com>
16592 * gdb.base/async.exp (test_background): New procedure.
16593 Use it for all background execution command tests.
16595 2014-03-19 Pedro Alves <palves@redhat.com>
16597 * gdb.base/async.exp: Use prepare_for_testing.
16599 2014-03-19 Pedro Alves <palves@redhat.com>
16601 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16604 2014-03-19 Pedro Alves <palves@redhat.com>
16606 * gdb.base/async.c (main): Add "jump here" and "until here" line
16608 * gdb.base/async.exp (jump_here): New global.
16609 (jump& test): Use it.
16610 (until_here): New global.
16611 (until& test): Use it.
16613 2014-03-19 Pedro Alves <palves@redhat.com>
16615 * gdb.base/async.exp: Don't frob gdb_protocol.
16617 2014-03-18 Doug Evans <xdje42@gmail.com>
16619 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16620 Fix spelling of exec-done-display.
16622 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16625 * gdb.base/gdb-sigterm.c: New file.
16626 * gdb.base/gdb-sigterm.exp: New file.
16628 2014-03-18 Pedro Alves <palves@redhat.com>
16631 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16632 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16635 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16637 * gdb.ada/pckd_arr_ren: New testcase.
16639 2014-03-13 Doug Evans <xdje42@gmail.com>
16642 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16643 collect after discarding symbols.
16645 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16646 Doug Evans <xdje42@gmail.com>
16648 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16649 to history survives a gc.
16651 2014-03-13 Pedro Alves <palves@redhat.com>
16653 * gdb.base/default.exp: Don't test "target procfs".
16655 2014-03-13 Pedro Alves <palves@redhat.com>
16657 * gdb.base/default.exp: Update "target child" and "target procfs"
16658 tests to not expect "Unix".
16660 2014-03-12 Tom Tromey <tromey@redhat.com>
16662 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16663 New procs. Add target-async tests.
16664 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16665 Add target-async tests.
16667 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16669 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16670 'func_start' and 'func_end' for the beginning and end of the
16671 function code, respectively.
16672 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16673 'func_end' instead of 'func' and 'main'.
16675 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16677 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16678 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16679 generate the debug info assembler source.
16681 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16683 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16684 * gdb.dwarf2/arr-subrange.exp: Likewise.
16685 * gdb.dwarf2/dwz.exp: Likewise.
16686 * gdb.dwarf2/method-ptr.exp: Likewise.
16687 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16688 * gdb.dwarf2/subrange.exp: Likewise.
16689 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16690 * gdb.dwarf2/implptrpiece.exp: Likewise.
16691 * gdb.dwarf2/nostaticblock.exp: Likewise.
16693 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16695 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16696 directory to absolute path name arguments.
16698 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16700 * gdb.ada/tagged_access: New testcase.
16702 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16704 * gdb.btrace/data.exp: Update expected output.
16706 2014-03-06 Yao Qi <yao@codesourcery.com>
16708 * gdb.trace/pr16508.exp: New file.
16710 2014-03-05 Pedro Alves <palves@redhat.com>
16713 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16715 (top level): Adjust to use it. Add tests that exercise breakpoint
16716 interaction with the code-cache.
16718 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16720 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16721 test for 'history-append!'.
16723 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16725 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16726 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16727 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16728 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16729 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16730 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16732 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16734 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16735 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16736 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16738 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16740 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16742 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16744 * gdb.dwarf2/arr-stride.c: New file.
16745 * gdb.dwarf2/arr-stride.exp: New file.
16747 2014-02-26 Pedro Alves <palves@redhat.com>
16749 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16750 that won't ever trigger. Make sure that GDB reports the correct
16751 breakpoint that caused the stop.
16753 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16756 * gdb.base/auto-load-script: New file.
16757 * gdb.base/auto-load.c: New file.
16758 * gdb.base/auto-load.exp: New file.
16761 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16763 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16765 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16766 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16768 2014-02-24 Doug Evans <dje@google.com>
16770 * lib/gdb.exp (run_on_host): Log error output if program fails.
16772 2014-02-21 Pedro Alves <palves@redhat.com>
16774 * gdb.threads/step-after-sr-lock.c: Rename to ...
16775 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16776 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16777 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16780 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16783 * gdb.arch/amd64-stap-special-operands.exp: New file.
16784 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16785 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16786 * gdb.arch/amd64-stap-triplet.S: Likewise.
16787 * gdb.arch/amd64-stap-triplet.c: Likewise.
16789 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16791 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16792 in .section pseudo-op.
16794 2014-02-20 lin zuojian <manjian2006@gmail.com>
16795 Joel Brobecker <brobecker@adacore.com>
16796 Doug Evans <xdje42@gmail.com>
16799 * gdb.dwarf2/dw2-icycle.S: New file.
16800 * gdb.dwarf2/dw2-icycle.c: New file.
16801 * gdb.dwarf2/dw2-icycle.exp: New file.
16803 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16805 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16806 operations on gdb.Value objects.
16807 * gdb.python/py-value-cc.exp: Add new test to test operations on
16810 2014-02-18 Doug Evans <dje@google.com>
16812 * Makefile.in (TESTS): New variable.
16813 (expanded_tests, expanded_tests_or_none): New variables
16814 (check-single): Pass $(expanded_tests_or_none) to runtest.
16815 (check-parallel): Only run tests in $(TESTS) if non-empty.
16816 (check/no-matching-tests-found): New rule.
16817 * README: Document TESTS makefile variable.
16819 2014-02-18 Doug Evans <dje@google.com>
16821 * Makefile.in (check-parallel): rm -rf outputs temp.
16823 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16825 Fix "ERROR: no fileid for" in the testsuite.
16826 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16828 2014-02-12 Doug Evans <dje@google.com>
16830 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16831 (MISCELLANEOUS): New variable.
16832 (clean): rm -rf $(MISCELLANEOUS).
16833 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16834 dwp live in the same directory as symlinks, with each symlink pointed
16835 to a differently named file in a different directory.
16837 2014-02-11 Doug Evans <dje@google.com>
16839 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16840 of Tcl file commands.
16842 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16844 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16845 "kill -SIGUSR1 -1".
16847 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16849 * gdb.ada/tick_length_array_enum_idx: New testcase.
16851 2014-02-10 Doug Evans <xdje42@gmail.com>
16853 * configure.ac (AC_OUTPUT): Add gdb.guile.
16854 * configure: Regenerate.
16855 * lib/gdb-guile.exp: New file.
16856 * lib/gdb.exp (get_target_charset): New function.
16857 * gdb.base/help.exp: Update expected output from "apropos apropos".
16858 * gdb.guile/Makefile.in: New file.
16859 * gdb.guile/guile.exp: New file.
16860 * gdb.guile/scm-arch.c: New file.
16861 * gdb.guile/scm-arch.exp: New file.
16862 * gdb.guile/scm-block.c: New file.
16863 * gdb.guile/scm-block.exp: New file.
16864 * gdb.guile/scm-breakpoint.c: New file.
16865 * gdb.guile/scm-breakpoint.exp: New file.
16866 * gdb.guile/scm-disasm.c: New file.
16867 * gdb.guile/scm-disasm.exp: New file.
16868 * gdb.guile/scm-equal.c: New file.
16869 * gdb.guile/scm-equal.exp: New file.
16870 * gdb.guile/scm-error.exp: New file.
16871 * gdb.guile/scm-error.scm: New file.
16872 * gdb.guile/scm-frame-args.c: New file.
16873 * gdb.guile/scm-frame-args.exp: New file.
16874 * gdb.guile/scm-frame-args.scm: New file.
16875 * gdb.guile/scm-frame-inline.c: New file.
16876 * gdb.guile/scm-frame-inline.exp: New file.
16877 * gdb.guile/scm-frame.c: New file.
16878 * gdb.guile/scm-frame.exp: New file.
16879 * gdb.guile/scm-generics.exp: New file.
16880 * gdb.guile/scm-gsmob.exp: New file.
16881 * gdb.guile/scm-iterator.c: New file.
16882 * gdb.guile/scm-iterator.exp: New file.
16883 * gdb.guile/scm-math.c: New file.
16884 * gdb.guile/scm-math.exp: New file.
16885 * gdb.guile/scm-objfile-script-gdb.in: New file.
16886 * gdb.guile/scm-objfile-script.c: New file.
16887 * gdb.guile/scm-objfile-script.exp: New file.
16888 * gdb.guile/scm-objfile.c: New file.
16889 * gdb.guile/scm-objfile.exp: New file.
16890 * gdb.guile/scm-ports.exp: New file.
16891 * gdb.guile/scm-pretty-print.c: New file.
16892 * gdb.guile/scm-pretty-print.exp: New file.
16893 * gdb.guile/scm-pretty-print.scm: New file.
16894 * gdb.guile/scm-section-script.c: New file.
16895 * gdb.guile/scm-section-script.exp: New file.
16896 * gdb.guile/scm-section-script.scm: New file.
16897 * gdb.guile/scm-symbol.c: New file.
16898 * gdb.guile/scm-symbol.exp: New file.
16899 * gdb.guile/scm-symtab-2.c: New file.
16900 * gdb.guile/scm-symtab.c: New file.
16901 * gdb.guile/scm-symtab.exp: New file.
16902 * gdb.guile/scm-type.c: New file.
16903 * gdb.guile/scm-type.exp: New file.
16904 * gdb.guile/scm-value-cc.cc: New file.
16905 * gdb.guile/scm-value-cc.exp: New file.
16906 * gdb.guile/scm-value.c: New file.
16907 * gdb.guile/scm-value.exp: New file.
16908 * gdb.guile/source2.scm: New file.
16909 * gdb.guile/types-module.cc: New file.
16910 * gdb.guile/types-module.exp: New file.
16912 2014-02-10 Yao Qi <yao@codesourcery.com>
16915 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16916 * configure: Regenerated.
16917 * Makefile.in: New file.
16919 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16921 * gdb.python/py-framefilter.exp: Fix typo.
16923 2014-02-08 Yao Qi <yao@codesourcery.com>
16925 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16926 that no =breakpoint-modified is emitted when breakpoints are
16927 modified through MI commands.
16929 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16930 Pedro Alves <palves@redhat.com>
16932 * gdb.threads/step-after-sr-lock.c: New file.
16933 * gdb.threads/step-after-sr-lock.exp: New file.
16935 2014-02-07 Pedro Alves <palves@redhat.com>
16937 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16939 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16941 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16942 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16944 2014-02-06 Doug Evans <xdje42@gmail.com>
16946 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16949 * gdb.gdb/python-interrupts.exp: New file.
16951 2014-02-05 Yao Qi <yao@codesourcery.com>
16953 * gdb.trace/report.exp (use_collected_data): Test the output
16954 of "info threads" and "info inferiors".
16956 2014-02-05 Yao Qi <yao@codesourcery.com>
16960 2013-05-24 Yao Qi <yao@codesourcery.com>
16962 * gdb.trace/tfile.exp: Test inferior and thread.
16964 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16966 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16968 * gdb.base/step-bt.c: Call hello via function pointer to make
16969 sure its first instruction is executed on powerpc64le-linux.
16971 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16973 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16975 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16977 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16978 of the test patterns for use on little-endian systems.
16980 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16982 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16983 (decimal_vector): Fix for little-endian.
16985 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16987 * gdb.arch/sparc-sysstep.exp: New file.
16988 * gdb.arch/sparc-sysstep.c: Likewise.
16990 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16992 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16994 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16996 2014-01-23 Tom Tromey <tromey@redhat.com>
16998 * gdb.ada/array_char_idx: New testcase.
17000 2014-01-23 Tom Tromey <tromey@redhat.com>
17003 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17004 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17007 2014-01-23 Tom Tromey <tromey@redhat.com>
17010 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17011 string from an inferior frame.
17012 * gdb.python/py-framefilter-mi.exp: Update.
17014 2014-01-22 Doug Evans <dje@google.com>
17016 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17018 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17020 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17022 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17024 * gdb.trace/entry-values.exp: Remove excess space character from
17025 regex patterns. Handle s390 call instruction.
17027 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17029 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17030 define "*_start" label. Make "name" static.
17031 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17032 ${name} by references to ${name}_start.
17034 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17036 * gdb.base/info-macros.exp: Remove "debug" from the compile
17039 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17041 * gdb.dlang/demangle.exp: New file.
17043 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17045 * gdb.dlang/primitive-types.exp: New file.
17047 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17049 * configure.ac: Create gdb.dlang/Makefile.
17050 * configure: Regenerate.
17051 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17052 * gdb.dlang/Makefile.in: New file.
17053 * lib/d-support.exp: New file.
17054 * lib/gdb.exp (skip_d_tests): New proc.
17056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17058 * gdb.btrace/delta.exp: Check reverse stepi.
17059 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17060 * gdb.btrace/finish.exp: New.
17061 * gdb.btrace/next.exp: New.
17062 * gdb.btrace/nexti.exp: New.
17063 * gdb.btrace/record_goto.c: Add comments.
17064 * gdb.btrace/step.exp: New.
17065 * gdb.btrace/stepi.exp: New.
17066 * gdb.btrace/multi-thread-step.c: New.
17067 * gdb.btrace/multi-thread-step.exp: New.
17068 * gdb.btrace/rn-dl-bind.c: New.
17069 * gdb.btrace/rn-dl-bind.exp: New.
17070 * gdb.btrace/data.c: New.
17071 * gdb.btrace/data.exp: New.
17072 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17074 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17076 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17077 * gdb.btrace/exception.exp: Update.
17078 * gdb.btrace/instruction_history.exp: Update.
17079 * gdb.btrace/record_goto.exp: Update.
17080 * gdb.btrace/tailcall.exp: Update.
17081 * gdb.btrace/unknown_functions.exp: Update.
17082 * gdb.btrace/delta.exp: New.
17084 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17086 * gdb.btrace/record_goto.exp: Add backtrace test.
17087 * gdb.btrace/tailcall.exp: Add backtrace test.
17089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17091 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17092 * gdb.btrace/record_goto.c: New.
17093 * gdb.btrace/record_goto.exp: New.
17094 * gdb.btrace/x86-record_goto.S: New.
17096 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17098 * gdb.btrace/function_call_history.exp: Update tests.
17099 * gdb.btrace/instruction_history.exp: Update tests.
17101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17103 * gdb.btrace/function_call_history.exp: Fix expected field
17104 order for "record function-call-history".
17105 Add new tests for "record function-call-history /c".
17106 * gdb.btrace/exception.cc: New.
17107 * gdb.btrace/exception.exp: New.
17108 * gdb.btrace/tailcall.exp: New.
17109 * gdb.btrace/x86-tailcall.S: New.
17110 * gdb.btrace/x86-tailcall.c: New.
17111 * gdb.btrace/unknown_functions.c: New.
17112 * gdb.btrace/unknown_functions.exp: New.
17113 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17115 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17117 * gdb.btrace/instruction_history.exp: Update.
17118 * gdb.btrace/function_call_history.exp: Update.
17120 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17122 * gdb.btrace/function_call_history.exp: Fix expected function
17124 * gdb.btrace/instruction_history.exp: Initialize traced.
17125 Remove traced_functions.
17127 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17129 * gdb.btrace/function_call_history.exp: Update
17130 * gdb.btrace/instruction_history.exp: Update.
17132 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17134 * gdb.btrace/enable.exp: Update expected text.
17136 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17138 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17141 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17143 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17145 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17147 * lib/gdb.exp (supports_process_record): Return true for
17148 arm*-linux*. (supports_reverse): Likewise.
17150 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17154 * gdb.python/py-type.c: Enhance test case.
17155 * gdb.python/py-value-cc.cc: Likewise
17156 * gdb.python/py-type.exp: Add new tests.
17157 * gdb.python/py-value-cc.exp: Likewise
17159 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17160 Pedro Alves <palves@redhat.com>
17162 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17163 Make "name" extern.
17164 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17165 references to ${name}_start by references to ${name}.
17167 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17169 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17171 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17173 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17175 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17176 Pedro Alves <palves@redhat.com>
17178 * gdb.mi/mi-info-os.exp: Connect to the target with
17179 mi_gdb_target_load.
17181 2014-01-08 Pedro Alves <palves@redhat.com>
17183 * gdb.threads/reconnect-signal.c: New file.
17184 * gdb.threads/reconnect-signal.exp: New file.
17186 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17188 * gdb.base/source-dir.exp: New file.
17190 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17192 * gdb.ada/mi_interface: New testcase.
17194 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17196 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17197 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17198 gdb.ada/pp-rec-component/pck.ads: New files.
17200 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17202 * gdb.python/py-pp-integral.c: New file.
17203 * gdb.python/py-pp-integral.py: New file.
17204 * gdb.python/py-pp-integral.exp: New file.
17206 For older changes see ChangeLog-1993-2013.
17208 ;; Local Variables:
17209 ;; mode: change-log
17212 ;; version-control: never
17215 Copyright 2014-2019 Free Software Foundation, Inc.
17216 Copying and distribution of this file, with or without modification,
17217 are permitted provided the copyright notice and this notice are preserved.