1 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3 * gdb.base/printcmds.exp: Add test to verify printf of a
4 variable holding an address.
6 2020-03-03 Tom de Vries <tdevries@suse.de>
8 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
10 2020-03-03 Tom de Vries <tdevries@suse.de>
12 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
13 gdb_test_multiple call.
15 2020-03-03 Tom de Vries <tdevries@suse.de>
17 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
18 gdb_test_multiple calls.
20 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
22 * gdb.base/default.exp: Remove test of 'set history filename'.
23 * gdb.base/gdbinit-history.exp: Add tests for setting the history
24 filename to the empty string.
25 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
28 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
30 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
33 2020-03-02 Pedro Alves <palves@redhat.com>
34 Tom de Vries <tdevries@suse.de>
36 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
37 -prompt prefix, before user_code argument. Add -lbl option likewise.
38 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
39 (gdb_is_target_1): Add -prompt prefix and move to before user_code
41 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
42 have "\r\n" at start-of-line, instead of at end-of-line.
44 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
46 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
49 2020-02-28 Luis Machado <luis.machado@linaro.org>
51 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
54 2020-02-28 Luis Machado <luis.machado@linaro.org>
56 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
57 asm/ptrace.h and error.h.
59 2020-02-28 Tom de Vries <tdevries@suse.de>
61 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
62 (struct wrapper, do_something, mundane/symada__cS): Move ...
63 * gdb.base/c-linkage-name-2.c: ... here. New source file.
64 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
65 Update "print symada__cS before partial symtab expansion" regexp.
66 Update breakpoint location. Flush symbol cache after expansion.
68 2020-02-28 Luis Machado <luis.machado@linaro.org>
70 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
72 2020-02-27 Tom de Vries <tdevries@suse.de>
74 * config/sid.exp: Remove unused globals.
75 * gdb.base/attach.exp: Same.
76 * gdb.base/catch-load.exp: Same.
77 * gdb.base/dbx.exp: Same.
79 * lib/mi-support.exp: Same.
80 * lib/prompt.exp: Same.
82 2020-02-27 Tom de Vries <tdevries@suse.de>
84 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
87 2020-02-26 Aaron Merey <amerey@redhat.com>
89 * gdb.debuginfod: New directory for debuginfod tests.
90 * gdb.debuginfod/main.c: New test file.
91 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
93 2020-02-26 Tom de Vries <tdevries@suse.de>
96 * gdb.base/persistent-lang.cc: New test.
97 * gdb.base/persistent-lang.exp: New file.
99 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
101 * gdb.fortran/derived-type-striding.exp: Add a new test.
102 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
105 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
107 * gdb.base/cached-source-file.exp: Avoid source file paths in test
110 2020-02-25 Tom de Vries <tdevries@suse.de>
113 * gdb.go/methods.exp: Remove gcc/93866 xfail.
115 2020-02-24 Tom de Vries <tdevries@suse.de>
118 * gdb.base/info-locals-unused-static-var.c: New test.
119 * gdb.base/info-locals-unused-static-var.exp: New file.
121 2020-02-22 Tom Tromey <tom@tromey.com>
123 * gdb.python/tui-window.exp: New file.
124 * gdb.python/tui-window.py: New file.
126 2020-02-22 Tom Tromey <tom@tromey.com>
129 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
132 2020-02-22 Tom Tromey <tom@tromey.com>
134 * gdb.tui/new-layout.exp: Add sub-layout tests.
136 2020-02-22 Tom Tromey <tom@tromey.com>
138 * gdb.tui/new-layout.exp: New file.
140 2020-02-22 Tom Tromey <tom@tromey.com>
142 * gdb.rust/rust-style.rs: New file.
143 * gdb.rust/rust-style.exp: New file.
144 * gdb.base/style.exp: Test structure printing.
145 * gdb.base/style.c (struct some_struct): New type.
146 (enum etype): New type.
147 (struct_value): New global.
149 2020-02-21 Tom de Vries <tdevries@suse.de>
152 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
153 Remove blanket xfails. Use message argument for gdb_breakpoint.
154 Make continuing to breakpoint test conditional on setting breakpoint.
155 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
156 DW_AT_name attribute. Add xfail for GCC PR93866.
158 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
160 * gdb.dwarf2/cpp-linkage-name.c: New file.
161 * gdb.dwarf2/cpp-linkage-name.exp: New file.
163 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
165 * lib/gdb.exp (gdb_wrapper_init): Reset
166 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
169 2020-02-20 Tom de Vries <tdevries@suse.de>
172 * gdb.go/hello.exp: Copy ...
173 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
174 print of st to print value of global definition. Add xfail for GCC
176 * gdb.go/hello.exp: Remove printing of st before definition.
177 * gdb.go/hello.go: Copy ...
178 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
180 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
182 2020-02-20 Tom de Vries <tdevries@suse.de>
184 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
185 (gdb_simple_compile): Handle compile_flags go by using .go extension
187 * gdb.go/chan.exp: Use support_go_compile.
188 * gdb.go/handcall.exp: Same.
189 * gdb.go/hello.exp: Same.
190 * gdb.go/integers.exp: Same.
191 * gdb.go/max-depth.exp: Same.
192 * gdb.go/methods.exp: Same.
193 * gdb.go/package.exp: Same.
194 * gdb.go/strings.exp: Same.
195 * gdb.go/types.exp: Same.
196 * gdb.go/unsafe.exp: Same.
198 2020-02-19 Tom de Vries <tdevries@suse.de>
200 * gdb.python/lib-types.exp: Make xfail more strict.
202 2020-02-19 Tom de Vries <tdevries@suse.de>
204 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
206 2020-02-19 Doug Evans <dje@google.com>
209 * gdb.rust/simple.exp: Add test.
210 * gdb.rust/simple.rs: Add test.
212 2020-02-19 Tom de Vries <tdevries@suse.de>
214 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
217 2020-02-19 Tom de Vries <tdevries@suse.de>
219 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
221 2020-02-19 Tom de Vries <tdevries@suse.de>
223 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
226 2020-02-19 Tom de Vries <tdevries@suse.de>
228 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
229 (gdb_do_cache): Use gdb_do_cache_wrap.
230 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
232 2020-02-19 Tom de Vries <tdevries@suse.de>
234 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
237 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
239 * gdb.base/printcmds.exp (test_print_enums): Update expected
242 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
244 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
247 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
249 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
252 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
254 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
257 (enum flag_enum_without_zero): New enum.
258 (flag_enum_without_zero): New variable.
259 (enum not_flag_enum): New enum.
260 (three_not_flag): New variable.
261 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
262 (test_print_enums): Add more tests for printing flag enums.
264 2020-02-18 Tom de Vries <tdevries@suse.de>
266 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
267 (gdb_compile_ada): ... here.
268 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
269 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
271 2020-02-14 Tom Tromey <tom@tromey.com>
273 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
275 * boards/gdbserver-base.exp: Update path to gdbserver.
277 2020-02-13 Tom de Vries <tdevries@suse.de>
279 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
281 2020-02-13 Tom de Vries <tdevries@suse.de>
283 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
286 2020-02-13 Tom de Vries <tdevries@suse.de>
288 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
291 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
294 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
295 * gdb.base/cached-source-file.c: New file.
296 * gdb.base/cached-source-file.exp: New file.
298 2020-02-11 Tom de Vries <tdevries@suse.de>
301 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
303 2020-02-10 Tom de Vries <tdevries@suse.de>
305 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
307 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
309 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
310 and $after_addr are both integers before making a comparison.
312 2020-02-09 Tom de Vries <tdevries@suse.de>
314 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
315 command output and paste it into gdb.log. If any, paste catch message
318 2020-02-07 Tom Tromey <tromey@adacore.com>
320 PR breakpoints/24915:
321 * gdb.base/annotate-symlink.exp: Use setup_xfail.
323 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
325 * gdb.tui/tui-missing-src.exp: Add the "missing source
326 file" test for the TUI.
328 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
330 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
331 including a port number in the output.
333 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
335 * lib/fortran.exp (fortran_int4): Handle clang.
336 (fortran_int8): Likewise.
337 (fortran_real4): Likewise.
338 (fortran_real8): Likewise.
339 (fortran_complex4): Likewise.
340 (fortran_logical4): Likewise.
341 (fortran_character1): Likewise.
343 2020-02-04 Tom de Vries <tdevries@suse.de>
345 * README (Race detection): Add note.
347 2020-02-04 Tom de Vries <tdevries@suse.de>
349 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
351 2020-02-04 Tom de Vries <tdevries@suse.de>
353 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
355 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
357 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
358 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
359 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
361 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
362 binary for blttar, bnetarl.
363 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
364 wait instruction. Delete ldmx test.
365 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
367 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
369 * gdb.fortran/array-bounds-high.exp: New file.
370 * gdb.fortran/array-bounds-high.f90: New file.
372 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
374 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
375 Replace #include of <sys/fcntl.h> by <fcntl.h>.
377 2020-02-01 Tom de Vries <tdevries@suse.de>
379 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
381 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
384 * gdb.tui/tui-layout-asm-short-prog.S: New file.
385 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
387 2020-01-29 Luis Machado <luis.machado@linaro.org>
389 * gdb.arch/aarch64-brk-patterns.c: New source file.
390 * gdb.arch/aarch64-brk-patterns.exp: New test.
392 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
394 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
396 * gdb.cp/pass-by-ref.exp: Ditto.
398 2020-01-29 Tom de Vries <tdevries@suse.de>
400 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
401 * gdb.threads/watchpoint-fork-mt.c: Same.
402 * gdb.threads/watchpoint-fork-parent.c: Same.
403 * gdb.threads/watchpoint-fork-st.c: Same.
404 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
406 2020-01-27 Luis Machado <luis.machado@linaro.org>
408 * gdb.base/step-over-syscall.exp (setup): Check if we're already
409 sitting at a syscall instruction when we hit the syscall function's
411 Check PC against one obtained with the x command.
412 Validate syscall number.
413 (step_over_syscall): Don't continue to the syscall instruction if
416 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
418 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
420 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
422 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
423 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
425 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
427 * gdb.dwarf2/dw2-inline-stepping.c: New file.
428 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
430 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
432 * gdb.base/maint.exp: Update line table parsing test.
433 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
435 2020-01-24 Pedro Alves <palves@redhat.com>
438 * gdb.multi/multi-re-run-1.c: New.
439 * gdb.multi/multi-re-run-2.c: New.
440 * gdb.multi/multi-re-run.exp: New.
442 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
445 * gdb.server/server-kill-python.exp: New file.
447 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
449 * gdb.server/multi-ui-errors.c: New file.
450 * gdb.server/multi-ui-errors.exp: New file.
452 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
455 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
457 2020-01-19 Tom Tromey <tom@tromey.com>
459 * gdb.tui/main.exp: Add check for plain "file".
461 2020-01-16 Christian Biesinger <cbiesinger@google.com>
463 * lib/gdb.exp: Fix spelling error (seperatelly).
465 2020-01-14 Tom Tromey <tom@tromey.com>
468 * gdb.python/python.exp: Test decode_line with empty string
471 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
473 * gdb.base/skip-inline.exp: Extend test.
475 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
477 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
478 * gdb.dwarf2/dw2-bad-elf.c: New file.
479 * gdb.dwarf2/dw2-bad-elf.exp: New file.
481 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
483 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
486 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
488 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
491 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
493 * gdb.multi/multi-target.exp (setup): Factor out "info
494 connections" and "info inferiors" tests to ...
495 (test_info_inferiors): ... this new procedure.
496 (top level): Run new "info-inferiors" tests.
498 2020-01-10 Pedro Alves <palves@redhat.com>
500 * gdb.server/bkpt-other-inferior.exp: New file.
502 2020-01-10 Pedro Alves <palves@redhat.com>
504 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
506 * gdb.base/quit-live.exp: Likewise.
507 * gdb.base/remote-exec-file.exp: Likewise.
508 * gdb.guile/scm-progspace.exp: Likewise.
509 * gdb.linespec/linespec.exp: Likewise.
510 * gdb.mi/new-ui-mi-sync.exp: Likewise.
511 * gdb.mi/user-selected-context-sync.exp: Likewise.
512 * gdb.multi/multi-target.exp (setup): Add "info connection" and
513 "info inferiors" tests.
514 * gdb.multi/remove-inferiors.exp: Adjust expected output of
516 * gdb.multi/watchpoint-multi.exp: Likewise.
517 * gdb.python/py-inferior.exp: Likewise.
518 * gdb.server/extended-remote-restart.exp: Likewise.
519 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
521 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
522 * gdb.trace/report.exp: Likewise.
524 2020-01-10 Pedro Alves <palves@redhat.com>
526 * gdb.multi/multi-target.c: New file.
527 * gdb.multi/multi-target.exp: New file.
528 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
529 mode requested, but remote does not support non-stop".
531 2020-01-10 Pedro Alves <palves@redhat.com>
533 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
534 disconnect before reconnecting.
536 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
537 Pedro Alves <palves@redhat.com>
539 * gdb.server/connect-without-multi-process.exp: Also test
542 2020-01-10 Pedro Alves <palves@redhat.com>
544 * gdb.base/remote-exec-file.exp: New file.
546 2020-01-10 Pedro Alves <palves@redhat.com>
548 * gdb.base/fork-running-state.exp (do_test): Adjust expected
550 * gdb.threads/async.c: New.
551 * gdb.threads/async.exp: New.
552 * gdb.multi/tids-gid-reset.c: New.
553 * gdb.multi/tids-gid-reset.exp: New.
555 2020-01-10 George Barrett <bob@bob131.so>
557 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
558 to help in finding the image relocation offset.
559 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
560 options in arguments.
561 (stap_test_no_debuginfo): Likewise.
562 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
564 (stap_test): Add null semaphore relocation test.
566 2020-01-10 George Barrett <bob@bob131.so>
568 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
569 * gdb.base/stap-probe.exp: Likewise.
570 (stap_test): Pass argument as an additional flag.
571 (stap_test_no_debuginfo): Likewise.
572 (stap_test): Check `info probes stap' output for semaphore
573 addresses if the test binary is supposed to have them.
575 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
577 * gdb.tui/basic.exp: Add more scrolling tests.
579 2020-01-09 Tom Tromey <tom@tromey.com>
582 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
584 (Term::command, Term::resize): Update.
585 * gdb.tui/basic.exp: Add scrolling test.
587 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
589 * gdb.tui/tui-layout-asm.exp: New file.
591 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
593 * lib/tuiterm.exp (Term::check_box_contents): New proc.
595 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
597 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
598 (Term::enter_tui): Use Term::prepare_for_tui.
600 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
602 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
605 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
607 * gdb.base/skip.exp: Fix race condition in test.
609 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
611 * gdb.base/backtrace.c: New file.
612 * gdb.base/backtrace.exp: New file.
614 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
616 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
618 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
620 * gdb.base/style.exp: Test that warnings are styled.
622 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
624 * gdb.base/line65535.exp: New file.
625 * gdb.base/line65535.c: New file.
627 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
629 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
630 * lib/gnat_debug_info_test.adb: New file.
631 * gdb.ada/ptype_tagged_param.exp: Use
632 gnat_runtime_has_debug_info, expect a different output if
633 runtime does not have debug info.
635 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
637 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
638 (another) quote in test name.
640 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
642 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
643 Add quote in test name.
645 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
647 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
649 * gdb.cp/pass-by-ref.exp: Extend with more cases.
650 * gdb.cp/pass-by-ref-2.cc: New file.
651 * gdb.cp/pass-by-ref-2.exp: New file.
653 2019-12-20 Tom Tromey <tom@tromey.com>
655 * gdb.tui/list-before.exp: New file.
657 2019-12-20 Tom Tromey <tom@tromey.com>
659 * gdb.tui/list.exp: Check for source on initial listing.
661 2019-12-11 Tom Tromey <tromey@adacore.com>
663 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
666 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
668 * gdb.base/default.exp: Update value of $_gdb_major.
670 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
672 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
674 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
676 * gdb.base/skip.exp: Whitespace fix.
678 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
680 * gdb.base/skip-inline.c: New file.
681 * gdb.base/skip-inline.exp: New file.
683 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
685 * gdb.base/jit-reader.exp (jit_reader_test): Rename
686 jit_function_00 to jit_function_stack_mangle.
687 * gdb.base/jithost.c (jit_function_t): Rename to...
688 (jit_function_stack_mangle_t): ... this.
689 (jit_function_add_t): New typedef.
690 (jit_function_00_code): Rename to...
691 (jit_function_stack_mangle_code): ... this, make static.
692 (jit_function_add_code): New.
693 (main): Generate "add" function and call it. Adjust to changes
695 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
696 (struct jithost_abi) <begin, end>: Remove fields.
697 <object, function_stack_mangle, function_add>: New fields.
698 * gdb.base/jitreader.c (struct reader_state) <code_begin,
699 code_end>: Remove fields.
700 <func_stack_mangle>: New field.
701 (read_debug_info): Adjust to renaming, create block for "add"
703 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
705 2019-12-11 Tom Tromey <tom@tromey.com>
707 * gdb.tui/resize.exp: Fix regexp.
708 * gdb.tui/regs.exp: Fix regexps.
709 * gdb.tui/main.exp: Fix regexp.
711 2019-12-11 Tom Tromey <tom@tromey.com>
713 * gdb.tui/resize.exp: Update.
714 * gdb.tui/empty.exp (layouts): Update.
716 2019-12-11 Tom Tromey <tom@tromey.com>
718 * gdb.tui/regs.exp: Update.
719 * gdb.tui/empty.exp (layouts): Update.
720 * gdb.tui/basic.exp: Update.
721 * lib/tuiterm.exp (_check_box): Don't check bottom border.
723 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
725 * gdb.base/options.exp: Add -raw-values in the print completion list.
726 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
728 2019-12-10 Kevin Buettner <kevinb@redhat.com>
730 * gdb.threads/omp-par-scope.c: New file.
731 * gdb/threads/omp-par-scope.exp: New file.
733 2019-12-10 Kevin Buettner <kevinb@redhat.com>
735 * lib/gdb.exp (support_nested_function_tests): New proc.
737 2019-12-10 Kevin Buettner <kevinb@redhat.com>
739 * lib/gdb.exp (gdb_compile_openmp): New proc.
740 (build_executable_from_specs): Add an "openmp" option.
741 (gdb_compile_pthreads): Add non-executable case.
743 2019-12-10 Tom Tromey <tromey@adacore.com>
745 * gdb.ada/unchecked_union.exp: New file.
746 * gdb.ada/unchecked_union/pck.adb: New file.
747 * gdb.ada/unchecked_union/pck.ads: New file.
748 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
749 * gdb-utils.exp (string_to_regexp): Also quote "?".
751 2019-12-10 George Barrett <bob@bob131.so>
753 Test scripted probe breakpoints.
754 * gdb.guile/scm-breakpoint.c (main): Add probe point.
755 * gdb.python/py-breakpoint.c (main): Likewise.
756 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
758 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
760 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
762 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
764 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
767 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
769 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
772 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
774 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
775 broken version of GCC.
777 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
779 * gdb.fortran/info-modules.exp: Rewrite to make use of new
780 sym-info-cmds library.
781 * gdb.fortran/info-types.exp: Likewise.
782 * lib/sym-info-cmds.exp: New file.
784 2019-12-08 Tom de Vries <tdevries@suse.de>
786 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
788 2019-12-07 Keith Seitz <keiths@redhat.com>
790 * gdb.base/corefile-buildid-shlib-shr.c: New file.
791 * gdb.base/corefile-buildid-shlib.c: New file.
792 * gdb.base/corefile-buildid.c: New file.
793 * gdb.base/corefile-buildid.exp: New file.
795 2019-12-06 Tom de Vries <tdevries@suse.de>
797 * gdb.dwarf2/varval.exp: Add decl before def test.
799 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
801 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
803 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
805 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
806 CV and reference conversion for overload resolution.
807 * gdb.cp/rvalue-ref-overload.exp: Test it.
809 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
811 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
812 * gdb.base/frameapply.exp: Test faas without command.
814 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
816 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
818 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
821 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
823 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
824 casting to type with no kind specified.
825 (test_basic_parsing_of_type_kinds): Additional tests for types
826 with no kind specified, and add tests for single/double
827 precision/complex types.
829 2019-12-04 Tom Tromey <tromey@adacore.com>
831 * gdb.base/endianity.c (struct other) <x>: New field.
832 (main): Initialize it.
833 * gdb.base/endianity.exp: Update.
835 2019-12-04 Tom Tromey <tromey@adacore.com>
837 * gdb.ada/scalar_storage/storage.adb: New file.
838 * gdb.ada/scalar_storage/pck.adb: New file.
839 * gdb.ada/scalar_storage/pck.ads: New file.
840 * gdb.ada/scalar_storage.exp: New file.
842 2019-12-04 Tom Tromey <tromey@adacore.com>
844 * gdb.base/endianity.c (struct otherendian) <f>: New field.
845 (main): Initialize it.
846 * gdb.base/endianity.exp: Update.
848 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
850 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
852 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
854 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
855 -symbol-info-module-functions and -symbol-info-module-variables.
857 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
859 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
861 2019-12-01 Richard Bunt <richard.bunt@arm.com>
862 Andrew Burgess <andrew.burgess@embecosm.com>
864 * gdb.fortran/derived-type-striding.exp: New file.
865 * gdb.fortran/derived-type-striding.f90: New file.
866 * gdb.fortran/array-slices.exp: New file.
867 * gdb.fortran/array-slices.f90: New file.
869 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
871 * gdb.base/define.exp: Test . in command names.
872 * gdb.base/setshow.exp: Update test, as . is now part of
875 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
877 * gdb.base/define-prefix.exp: New file.
879 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
881 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
883 (skip_btrace_pt_tests): Likewise.
885 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
887 * gdb.fortran/info-modules.exp: Compile source files in correct
890 2019-11-27 Kevin Buettner <kevinb@redhat.com>
892 * gdb.dwarf2/imported-unit.exp: New file.
893 * gdb.dwarf2/imported-unit.c: New file.
895 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
897 * gdb.mi/mi-fortran-modules-2.f90: New file.
898 * gdb.mi/mi-fortran-modules.exp: New file.
899 * gdb.mi/mi-fortran-modules.f90: New file.
901 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
903 * gdb.mi/mi-sym-info-1.c: New file.
904 * gdb.mi/mi-sym-info-2.c: New file.
905 * gdb.mi/mi-sym-info.exp: New file.
907 2019-11-22 Tom Tromey <tromey@adacore.com>
909 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
910 * gdb.ada/tasks/foo.adb: Add another stopping location.
912 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
914 * gdb.base/endianity.c: New test.
915 * gdb.base/endianity.exp: New file.
917 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
919 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
921 2019-11-21 Tom de Vries <tdevries@suse.de>
924 * gdb.base/ui-redirect.exp: Test output of user-defined command.
926 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
928 * gdb.python/py-progspace.exp: Add missing parentheses on some
931 2019-11-19 Tom Tromey <tom@tromey.com>
933 * gdb.tui/winheight.exp: New file.
935 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
937 * gdb.base/ctf-whatis.c: Delete.
938 * gdb.base/ctf-whatis.exp: Delete.
939 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
941 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
943 * gdb.base/ctf-cvexpr.exp: Delete.
944 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
946 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
948 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
949 the compiler. Clean up header comment a little.
950 * gdb.base/ctf-ptype.exp: Likewise.
951 * gdb.base/ctf-whatis.exp: Likewise.
952 * lib/gdb.exp (skip_ctf_tests): New proc.
954 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
956 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
957 * gdb.tui/corefile-run.exp: New file.
959 2019-11-14 Tom Tromey <tromey@adacore.com>
961 * gdb.base/gdbvars.exp (test_convenience_variables): Add
964 2019-11-12 Tom Tromey <tom@tromey.com>
966 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
967 after any command. Expect prompt after WAIT_FOR is seen.
968 (enter_tui): Enable resize messages.
969 (command): Expect command in output.
970 (get_line): Avoid error when cursor appears to be off-screen.
971 (dump_screen): Include screen size in title.
972 (_do_resize): New proc, from "resize".
973 (resize): Rewrite. Do resize in two steps.
974 * gdb.tui/empty.exp (layouts): Fix entries.
975 (check_boxes): Remove xfail.
976 (check_text): Dump screen on failure.
978 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
980 * gdb.python/py-symbol.exp: Add test for
981 gdb.lookup_static_symbols.
983 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
985 * gdb.python/py-symbol.c: Declare and call function from new
987 * gdb.python/py-symbol.exp: Compile both source files, and add new
988 tests for gdb.lookup_static_symbol.
989 * gdb.python/py-symbol-2.c: New file.
991 2019-11-02 Tom de Vries <tdevries@suse.de>
993 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
994 * gdb.base/anon.exp: Same.
995 * gdb.base/auto-connect-native-target.exp: Same.
996 * gdb.base/call-ar-st.exp: Same.
997 * gdb.base/catch-syscall.exp: Same.
998 * gdb.base/commands.exp: Same.
999 * gdb.base/default.exp: Same.
1000 * gdb.base/display.exp: Same.
1001 * gdb.base/float.exp: Same.
1002 * gdb.base/foll-fork.exp: Same.
1003 * gdb.base/help.exp: Same.
1004 * gdb.base/info-macros.exp: Same.
1005 * gdb.base/info-proc.exp: Same.
1006 * gdb.base/info-target.exp: Same.
1007 * gdb.base/long_long.exp: Same.
1008 * gdb.base/macscp.exp: Same.
1009 * gdb.base/memattr.exp: Same.
1010 * gdb.base/nofield.exp: Same.
1011 * gdb.base/pointers.exp: Same.
1012 * gdb.base/printcmds.exp: Same.
1013 * gdb.base/ptype.exp: Same.
1014 * gdb.base/restore.exp: Same.
1015 * gdb.base/return.exp: Same.
1016 * gdb.base/scope.exp: Same.
1017 * gdb.base/set-noassign.exp: Same.
1018 * gdb.base/setshow.exp: Same.
1019 * gdb.base/shlib-call.exp: Same.
1020 * gdb.base/signals.exp: Same.
1021 * gdb.base/sigstep.exp: Same.
1022 * gdb.base/skip.exp: Same.
1023 * gdb.base/solib-symbol.exp: Same.
1024 * gdb.base/stap-probe.exp: Same.
1025 * gdb.base/step-line.exp: Same.
1026 * gdb.base/step-test.exp: Same.
1027 * gdb.base/style.exp: Same.
1028 * gdb.base/varargs.exp: Same.
1029 * gdb.base/vla-datatypes.exp: Same.
1030 * gdb.base/vla-ptr.exp: Same.
1031 * gdb.base/vla-sideeffect.exp: Same.
1032 * gdb.base/volatile.exp: Same.
1033 * gdb.base/watch-cond-infcall.exp: Same.
1034 * gdb.base/watchpoint.exp: Same.
1036 2019-11-02 Tom de Vries <tdevries@suse.de>
1038 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1039 * gdb.cp/cpexprs.exp: Same.
1040 * gdb.cp/except-multi-location.exp: Same.
1041 * gdb.cp/exceptprint.exp: Same.
1042 * gdb.cp/gdb2384.exp: Same.
1043 * gdb.cp/inherit.exp: Same.
1044 * gdb.cp/m-static.exp: Same.
1045 * gdb.cp/meth-typedefs.exp: Same.
1046 * gdb.cp/misc.exp: Same.
1047 * gdb.cp/namespace.exp: Same.
1048 * gdb.cp/non-trivial-retval.exp: Same.
1049 * gdb.cp/overload.exp: Same.
1050 * gdb.cp/pr17132.exp: Same.
1051 * gdb.cp/re-set-overloaded.exp: Same.
1052 * gdb.cp/rvalue-ref-types.exp: Same.
1053 * gdb.cp/templates.exp: Same.
1055 2019-11-01 Luis Machado <luis.machado@linaro.org>
1059 * gdb.arch/pr25124.S: New file.
1060 * gdb.arch/pr25124.exp: New file.
1062 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1064 * gdb.fortran/info-modules.exp: Update expected results, and add
1065 additional tests for 'info module functinos', and 'info module
1067 * gdb.fortran/info-types.exp: Update expected results.
1068 * gdb.fortran/info-types.f90: Extend testcase with additional
1069 module variables and functions.
1071 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1073 * gdb.fortran/info-modules.exp: New file.
1074 * gdb.fortran/info-types.exp: Build with new file.
1075 * gdb.fortran/info-types.f90: Include and use new module.
1076 * gdb.fortran/info-types-2.f90: New file.
1078 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1080 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1081 * gdb.base/settings.exp: Test all settings types using
1082 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1083 that now verifies that the value of "maint show" is the same as
1084 returned by the settings functions. Test the type of the
1085 maintenance settings.
1086 * gdb.base/default.exp: Update show_conv_list.
1088 2019-10-31 Tom de Vries <tdevries@suse.de>
1090 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1092 * gdb.arch/amd64-disp-step.exp: Same.
1093 * gdb.asm/asm-source.exp: Same.
1094 * gdb.btrace/buffer-size.exp: Same.
1095 * gdb.btrace/cpu.exp: Same.
1096 * gdb.btrace/enable.exp: Same.
1097 * gdb.dwarf2/count.exp: Same.
1098 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1099 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1100 * gdb.fortran/vla-datatypes.exp: Same.
1101 * gdb.fortran/vla-history.exp: Same.
1102 * gdb.fortran/vla-ptype.exp: Same.
1103 * gdb.fortran/vla-value.exp: Same.
1104 * gdb.fortran/whatis_type.exp: Same.
1105 * gdb.guile/guile.exp: Same.
1106 * gdb.multi/tids.exp: Same.
1107 * gdb.python/py-finish-breakpoint.exp: Same.
1108 * gdb.python/py-framefilter.exp: Same.
1109 * gdb.python/py-pp-registration.exp: Same.
1110 * gdb.python/py-xmethods.exp: Same.
1111 * gdb.python/python.exp: Same.
1112 * gdb.server/connect-with-no-symbol-file.exp: Same.
1113 * gdb.server/no-thread-db.exp: Same.
1114 * gdb.server/run-without-local-binary.exp: Same.
1115 * gdb.stabs/weird.exp: Same.
1116 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1117 * gdb.threads/thread-find.exp: Same.
1118 * gdb.threads/tls-shared.exp: Same.
1119 * gdb.threads/tls.exp: Same.
1120 * gdb.threads/wp-replication.exp: Same.
1121 * gdb.trace/ax.exp: Same.
1122 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1124 2019-10-31 Tom de Vries <tdevries@suse.de>
1126 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1127 * gdb.ada/array_subscript_addr.exp: Same.
1128 * gdb.ada/arrayidx.exp: Same.
1129 * gdb.ada/arrayparam.exp: Same.
1130 * gdb.ada/arrayptr.exp: Same.
1131 * gdb.ada/boolean_expr.exp: Same.
1132 * gdb.ada/call_pn.exp: Same.
1133 * gdb.ada/complete.exp: Same.
1134 * gdb.ada/fixed_cmp.exp: Same.
1135 * gdb.ada/fun_addr.exp: Same.
1136 * gdb.ada/funcall_param.exp: Same.
1137 * gdb.ada/interface.exp: Same.
1138 * gdb.ada/mod_from_name.exp: Same.
1139 * gdb.ada/null_array.exp: Same.
1140 * gdb.ada/packed_array.exp: Same.
1141 * gdb.ada/packed_tagged.exp: Same.
1142 * gdb.ada/print_chars.exp: Same.
1143 * gdb.ada/print_pc.exp: Same.
1144 * gdb.ada/ptype_arith_binop.exp: Same.
1145 * gdb.ada/ptype_field.exp: Same.
1146 * gdb.ada/ptype_tagged_param.exp: Same.
1147 * gdb.ada/rec_return.exp: Same.
1148 * gdb.ada/ref_tick_size.exp: Same.
1149 * gdb.ada/str_ref_cmp.exp: Same.
1150 * gdb.ada/taft_type.exp: Same.
1151 * gdb.ada/tagged.exp: Same.
1152 * gdb.ada/type_coercion.exp: Same.
1153 * gdb.ada/uninitialized_vars.exp: Same.
1155 2019-10-30 Tom de Vries <tdevries@suse.de>
1157 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1159 2019-10-26 Tom de Vries <tdevries@suse.de>
1161 * gdb.base/bigcore.c: Fix typos in comments.
1162 * gdb.base/ctf-ptype.c: Same.
1163 * gdb.base/long_long.c: Same.
1164 * gdb.dwarf2/dw2-op-out-param.S: Same.
1165 * gdb.python/py-evthreads.c: Same.
1166 * gdb.reverse/i387-stack-reverse.c: Same.
1167 * gdb.trace/tfile.c: Same.
1168 * lib/compiler.c: Same.
1169 * lib/compiler.cc: Same.
1171 2019-10-25 Tom de Vries <tdevries@suse.de>
1173 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1174 gdb_test_multiple calls.
1175 * gdb.reverse/sigall-reverse.exp: Same.
1176 * gdb.reverse/solib-precsave.exp: Same.
1177 * gdb.reverse/solib-reverse.exp: Same.
1178 * gdb.reverse/until-precsave.exp: Same.
1179 * gdb.reverse/until-reverse.exp: Same.
1181 2019-10-24 Tom de Vries <tdevries@suse.de>
1183 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1184 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1185 kfail using -wrap pattern flag and convenience variable
1188 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1190 * gdb.python/py-progspace.exp: Add tests for the
1191 Progspace.block_for_pc method.
1193 2019-10-23 Tom Tromey <tom@tromey.com>
1195 * configure: Rebuild.
1196 * aclocal.m4: Use m4_include, not sinclude.
1198 2019-10-21 Tom de Vries <tdevries@suse.de>
1200 * gdb.base/infcall-nested-structs.c: Add
1201 __attribute__((noinline,noclone)) to all functions.
1202 (call_all): Add missing variable initialization. Simplify return value.
1203 (breakpt): Increment volatile variable, to prevent call from being
1205 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1207 2019-10-17 Tom de Vries <tdevries@suse.de>
1209 * gdb.fortran/module.exp: Allow info variables to print info for files
1210 other than module.f90.
1212 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1214 * gdb.fortran/module.exp: Extend with 'info variables' test.
1216 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1218 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1221 2019-10-16 Tom de Vries <tdevries@suse.de>
1224 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1226 2019-10-16 Tom de Vries <tdevries@suse.de>
1229 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1230 Add KFAIL for PR tdep/25096.
1232 2019-10-16 Tom de Vries <tdevries@suse.de>
1235 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1237 2019-10-16 Tom de Vries <tdevries@suse.de>
1239 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1242 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1244 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1245 one instead of increasing timeout.
1247 2019-10-13 Tom de Vries <tdevries@suse.de>
1250 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1251 * gdb.reverse/sigall-reverse.exp: Same.
1252 * gdb.reverse/solib-precsave.exp: Same.
1253 * gdb.reverse/solib-reverse.exp: Same.
1254 * gdb.reverse/step-precsave.exp: Same.
1255 * gdb.reverse/until-precsave.exp: Same.
1256 * gdb.reverse/until-reverse.exp: Same.
1257 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1259 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1261 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1262 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1263 (cmp_struct_05_01, cmp_struct_static_02_01)
1264 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1267 2019-10-10 Tom de Vries <tdevries@suse.de>
1270 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1273 2019-10-09 Tom de Vries <tdevries@suse.de>
1276 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1278 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1280 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1281 exceptions due to missing debug information.
1283 2019-10-07 Tom de Vries <tdevries@suse.de>
1285 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1287 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1289 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1290 * gdb.base/annota1.exp: Update to use gdb_test_name.
1292 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1294 * gdb.base/ctf-whatis.exp: New file.
1295 * gdb.base/ctf-whatis.c: New file.
1296 * gdb.base/ctf-ptype.exp: New file.
1297 * gdb.base/ctf-ptype.c: New file.
1298 * gdb.base/ctf-constvars.exp: New file.
1299 * gdb.base/ctf-constvars.c: New file.
1300 * gdb.base/ctf-cvexpr.exp: New file.
1302 2019-10-04 Tom de Vries <tdevries@suse.de>
1304 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1307 2019-10-03 Tom Tromey <tom@tromey.com>
1310 * gdb.rust/simple.rs (Union2): New type.
1312 * gdb.rust/simple.exp: Add test.
1314 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1316 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1317 nested function prefix.
1319 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1320 Richard Bunt <richard.bunt@arm.com>
1321 Andrew Burgess <andrew.burgess@embecosm.com>
1323 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1325 * gdb.fortran/nested-funcs.f90: Update expected results.
1326 * gdb.fortran/nested-funcs-2.exp: New file.
1327 * gdb.fortran/nested-funcs-2.f90: New file.
1329 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1331 * gdb.python/py-parameter.exp: Make test names unique.
1332 * gdb.python/py-template.exp: Likewise.
1333 * gdb.python/py-value.exp: Likewise.
1335 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1337 * gdb.base/break-interp.exp: Reduce test name duplication.
1338 * gdb.base/call-sc.exp: Likewise.
1339 * gdb.base/callfuncs.exp: Likewise.
1340 * gdb.base/charset.exp: Likewise.
1341 * gdb.base/dump.exp: Likewise.
1342 * gdb.base/ena-dis-br.exp: Likewise.
1343 * gdb.base/relational.exp: Likewise.
1344 * gdb.base/step-over-syscall.exp: Likewise.
1345 * gdb.base/structs.exp: Likewise.
1347 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1349 * gdb.linespec/explicit.exp: Make test names unique.
1350 * gdb.linespec/ls-errs.exp: Likewise.
1352 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1354 * gdb.reverse/break-precsave.exp: Make test names unique.
1355 * gdb.reverse/break-reverse.exp: Likewise.
1356 * gdb.reverse/finish-precsave.exp: Likewise.
1357 * gdb.reverse/finish-reverse.exp: Likewise.
1358 * gdb.reverse/machinestate-precsave.exp: Likewise.
1359 * gdb.reverse/machinestate.exp: Likewise.
1360 * gdb.reverse/readv-reverse.exp: Likewise.
1361 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1362 * gdb.reverse/sigall-precsave.exp: Likewise.
1363 * gdb.reverse/sigall-reverse.exp: Likewise.
1364 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1365 * gdb.reverse/watch-precsave.exp: Likewise.
1366 * gdb.reverse/watch-reverse.exp: Likewise.
1368 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1370 * gdb.threads/stop-with-handle.c: New file.
1371 * gdb.threads/stop-with-handle.exp: New file.
1373 2019-10-03 Tom de Vries <tdevries@suse.de>
1376 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1377 directory" line to be missing.
1379 2019-10-03 Tom de Vries <tdevries@suse.de>
1382 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1385 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1387 * gdb.python/py-format-string.c (string.h): New include.
1388 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1389 the same value, for endianness-independence.
1390 * gdb.python/py-format-string.exp (default_regexp_dict)
1391 (test_pretty_structs, test_format): Adjust expected output to the
1392 changed initialization.
1394 2019-10-02 Tom Tromey <tromey@adacore.com>
1396 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1398 2019-10-02 Pedro Alves <palves@redhat.com>
1399 Andrew Burgess <andrew.burgess@embecosm.com>
1401 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1403 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1404 (get_version_1): Print this_version_id and its address.
1405 Add extern "C" wrappers around interface functions.
1406 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1408 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1409 (get_version_2): Print this_version_id and its address.
1410 Add extern "C" wrappers around interface functions.
1411 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1412 <stddef.h> and "print-file-var.h".
1413 Add extern "C" wrappers around interface functions.
1414 [VERSION_ID_MAIN] (this_version_id): Define.
1415 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1416 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1417 up extern "C" blocks.
1418 * gdb.base/print-file-var.exp (test): New, factored out from top
1420 (top level): Test all combinations of attribute hidden or not,
1421 dlopen or not, and this_version_id symbol in main file or not.
1422 Compile tests as both C++ and C, make test names unique.
1424 2019-10-01 Tom Tromey <tom@tromey.com>
1426 * gdb.base/style.exp: Test "show logging filename".
1428 2019-10-01 Tom Tromey <tom@tromey.com>
1430 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1431 * gdb.base/style.exp: Add metadata style test.
1433 2019-10-01 Tom Tromey <tom@tromey.com>
1435 * gdb.base/style.exp: Test "pwd".
1437 2019-10-01 Tom Tromey <tom@tromey.com>
1439 * gdb.base/style.exp: Update tests.
1441 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1443 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1445 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1446 'five'. Use an all-ones bit pattern for each.
1447 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1448 to its changed values.
1450 2019-09-30 Tom Tromey <tromey@adacore.com>
1452 * gdb.rust/traits.rs: Disable all warnings.
1454 2019-09-29 Tom de Vries <tdevries@suse.de>
1456 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1458 2019-09-29 Tom de Vries <tdevries@suse.de>
1460 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1462 2019-09-27 Tom de Vries <tdevries@suse.de>
1464 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1466 2019-09-27 Tom de Vries <tdevries@suse.de>
1469 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1471 2019-09-26 Tom Tromey <tromey@adacore.com>
1473 * gdb.ada/py_taft.exp: New file.
1474 * gdb.ada/py_taft/main.adb: New file.
1475 * gdb.ada/py_taft/pkg.adb: New file.
1476 * gdb.ada/py_taft/pkg.ads: New file.
1478 2019-09-24 Tom de Vries <tdevries@suse.de>
1481 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1483 2019-09-22 Tom de Vries <tdevries@suse.de>
1485 * gdb.base/restore.exp: Allow register variables to be optimized out at
1488 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1490 * gdb.arch/spu-info.exp: Remove file.
1491 * gdb.arch/spu-info.c: Remove file.
1492 * gdb.arch/spu-ls.exp: Remove file.
1493 * gdb.arch/spu-ls.c: Remove file.
1495 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1496 * gdb.asm/spu.inc: Remove file.
1498 * gdb.base/dump.exp: Remove support for spu*-*-*.
1499 * gdb.base/stack-checking.exp: Likewise.
1500 * gdb.base/overlays.exp: Likewise.
1501 * gdb.base/ovlymgr.c: Likewise.
1502 * gdb.base/spu.ld: Remove file.
1504 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1505 * gdb.cp/cpexprs.exp: Likewise.
1506 * gdb.cp/exception.exp: Likewise.
1507 * gdb.cp/gdb2495.exp: Likewise.
1508 * gdb.cp/mb-templates.exp: Likewise.
1509 * gdb.cp/pr9167.exp: Likewise.
1510 * gdb.cp/userdef.exp: Likewise.
1512 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1514 * gdb.cell: Remove directory.
1515 * lib/cell.exp: Remove file.
1517 2019-09-19 Tom de Vries <tdevries@suse.de>
1519 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1521 2019-09-19 Tom de Vries <tdevries@suse.de>
1523 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1525 2019-09-19 Tom de Vries <tdevries@suse.de>
1527 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1528 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1529 (gdb_target_cmd): ... here.
1530 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1533 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1535 * gdb.base/source-dir.exp: Avoid having directory names in test
1538 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1540 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1543 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1545 * gdb.base/list-missing-source.exp: New file.
1547 2019-09-14 Tom de Vries <tdevries@suse.de>
1550 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1551 * lib/ada.exp (gnatmake_version_at_least): New proc.
1553 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1555 * gdb.base/maint.exp: Use exec_has_index_section.
1557 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1559 * gdb.base/maint.exp: Add test for 'maint info sections'.
1561 2019-09-12 Tom de Vries <tdevries@suse.de>
1563 * gdb.base/store.exp: Allow register variables to be optimized out at
1566 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1568 * gdb.ada/rdv_wait.exp: Update to new task names.
1569 * gdb.base/task_switch_in_core.exp: Likewise.
1570 * gdb.base/info_sources_base.c: Likewise.
1572 2019-09-10 Tom Tromey <tromey@adacore.com>
1574 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1576 2019-09-10 Tom Tromey <tromey@adacore.com>
1578 * gdb.ada/dgopt.exp: New file.
1579 * gdb.ada/dgopt/x.adb: New file.
1581 2019-09-08 Tom Tromey <tom@tromey.com>
1583 * gdb.tui/resize.exp: Remove setup_xfail.
1584 * gdb.tui/regs.exp: Remove setup_xfail.
1585 * gdb.tui/basic.exp: Remove setup_xfail.
1587 2019-09-06 David Blaikie <dblaikie@gmail.com>
1589 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1590 * gdb.cp/cplabel.exp: Ditto.
1591 * gdb.linespec/ls-errs.exp: Ditto.
1593 2019-09-05 Tom de Vries <tdevries@suse.de>
1595 * lib/gdb.exp (cmp_file_string): New proc.
1596 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1597 runto_main. Verify save breakpoints output.
1599 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1601 * gdb.base/info-var.exp: Test info variables without running
1602 to main, to avoid expect's buffer overflow.
1604 2019-09-03 Tom Tromey <tromey@adacore.com>
1606 * gdb.ada/bias.exp: New file.
1607 * gdb.ada/bias/bias.adb: New file.
1608 * gdb.ada/print_chars.exp: Add regression test.
1609 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1612 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1614 * gdb.base/argv0-symlink.exp: Run only on native target
1617 2019-08-29 Tom de Vries <tdevries@suse.de>
1619 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1621 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1623 2019-08-28 Tom de Vries <tdevries@suse.de>
1625 * gdb.base/info-var.exp: Allow info variables to print info for files
1626 other than info-var-f1.c and info-var-f2.c.
1628 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1630 * gdb.fortran/info-types.exp: Add module.
1631 * gdb.fortran/info-types.f90: Update expected results.
1633 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1635 * gdb.fortran/info-types.exp: New file.
1636 * gdb.fortran/info-types.f90: New file.
1637 * lib/fortran.exp (fortran_character1): New proc.
1639 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1641 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1642 functions'. Reindent as needed.
1643 * gdb.base/info-var-f1.c: New file.
1644 * gdb.base/info-var-f2.c: New file.
1645 * gdb.base/info-var.exp: New file.
1646 * gdb.base/info-var.h: New file.
1648 2019-08-26 Tom de Vries <tdevries@suse.de>
1651 * gdb.cp/no-libstdcxx-probe.exp: New test.
1653 2019-08-26 Tom de Vries <tdevries@suse.de>
1655 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1656 * tests need to be skipped.
1657 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1658 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1659 mi_skip_libstdcxx_probe_tests.
1661 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1663 * gdb.python/py-xmethods.exp: Use raw strings when passing
1664 arguments to SimpleXMethodMatcher.
1666 2019-08-22 Tom de Vries <tdevries@suse.de>
1668 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1671 2019-08-21 Pedro Alves <palves@redhat.com>
1673 * gdb.base/with.exp: Test "with" with no arguments.
1675 2019-08-21 Tom de Vries <tdevries@suse.de>
1677 * gdb.base/gdb-caching-proc.exp: Sort files.
1679 2019-08-20 Tom de Vries <tdevries@suse.de>
1681 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1684 2019-08-16 Tom de Vries <tdevries@suse.de>
1686 * gdb.base/compare-sections.exp ("after run to main"): Allow
1687 mismatched read-only sections for PIE executables.
1689 2019-08-16 Tom Tromey <tom@tromey.com>
1691 * lib/tuiterm.exp (_csi_Z): New proc.
1692 * gdb.tui/basic.exp: Update window positions.
1693 * gdb.tui/empty.exp: Update window positions.
1695 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1697 * gdb.base/examine-backward.exp: Correct regexp for
1698 "examine 3 bytes backward from ${address_zero}".
1700 2019-08-15 Tom Tromey <tom@tromey.com>
1702 * gdb.tui/empty.exp: Enable resizing tests.
1704 2019-08-15 Tom Tromey <tromey@adacore.com>
1706 * gdb.ada/char_enum.exp: Add regression tests.
1707 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1709 (Char, Gchar): Update.
1710 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1712 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1714 * gdb.python/python.exp: Expect a leading underscore on
1715 GdbOutput{,Error}File.
1717 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1719 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1722 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1724 * gdb.base/batch-preserve-term-settings.exp
1725 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1727 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1729 * lib/gdb.exp: When running on a mingw target, replace
1732 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1734 * gdb.arch/aarch64-prologue.c: New test.
1735 * gdb.arch/aarch64-prologue.exp: New file.
1737 2019-08-13 Tom de Vries <tdevries@suse.de>
1739 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1742 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1744 * gdb.python/py-completion.exp: Download the .py file to the host
1745 and use its host pathname. Conditionalize tests that use
1746 tab completion and manipulate files on the build machine.
1747 * gdb.python/py-events.exp: Download the .py file to the host
1748 and use its host pathname.
1749 * gdb.python/py-evsignal.exp: Likewise.
1750 * gdb.python/py-evthreads.exp: Likewise.
1751 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1753 * gdb.python/py-framefilter.exp: Download the .py file to the right
1754 place on the host. Match Windows pathname syntax.
1755 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1756 .py file to the host and use its host pathname.
1757 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1758 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1759 build pathname. Skip symlink test on Windows host. Add missing
1760 newline at end of file.
1761 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1762 and use its host pathname.
1763 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1764 * gdb.python/py-section-script.exp: Use host location of binfile
1765 on safe-path. Use correct path separator on Windows host.
1766 Reorder alternatives in gdb_test_multiple to prevent matching
1767 the wrong alternative on success.
1768 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1770 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1772 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1773 expect the GDB inferior to no longer immediately stop after
1774 being resumed with "signal SIGINT".
1776 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1778 * gdb.linespec/break-ask.exp: Generalize regexps to match
1779 Windows pathnames too.
1781 2019-08-08 Tom de Vries <tdevries@suse.de>
1784 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1786 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1788 * gdb.base/style.exp: Update tests for help doc new invariants.
1789 * gdb.base/help.exp: Likewise.
1791 2019-08-06 Tom Tromey <tom@tromey.com>
1793 * gdb.base/style.exp: Add disassemble test.
1794 * gdb.base/style.c (some_called_function): New function.
1797 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1799 * gdb.python/py-block.exp: Test dictionary access on blocks.
1801 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1804 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1805 -list-thread-groups --available test when running under
1808 2019-08-05 Tom de Vries <tdevries@suse.de>
1811 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1812 * gdb.base/help.exp: Use with_read1_timeout_factor.
1813 * gdb.base/info-macros.exp: Same.
1814 * gdb.cp/nested-types.exp: Same.
1816 2019-08-05 Tom de Vries <tdevries@suse.de>
1818 * lib/gdb.exp (version_at_least): Factor out of ...
1819 (tcl_version_at_least): ... here.
1820 (gdb_compile): Fail if pie results in non-PIE executable.
1821 (readelf_version, readelf_prints_pie): New proc.
1822 (exec_is_pie): Return -1 if unknown.
1824 2019-08-05 Tom de Vries <tdevries@suse.de>
1826 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1828 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1830 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1832 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1834 * lib/completion-support.exp (test_gdb_complete_none): Skip
1835 tab completion tests if no readline support.
1836 (test_gdb_complete_unique_re): Likewise.
1837 (test_gdb_complete_multiple): Likewise.
1839 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1841 * gdb.base/info_sources.exp: New file.
1842 * gdb.base/info_sources.c: New file.
1843 * gdb.base/info_sources_base.c: New file.
1845 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1847 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1849 (test_exit_status): Add prefix argument.
1851 2019-08-01 Tom de Vries <tdevries@suse.de>
1854 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1855 calling exp_continue for new thread and thread exited messages.
1857 2019-08-01 Tom de Vries <tdevries@suse.de>
1860 * gdb.base/structs.exp: Fix check-read1 timeout using
1862 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1864 2019-08-01 Tom de Vries <tdevries@suse.de>
1867 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1870 2019-08-01 Tom de Vries <tdevries@suse.de>
1873 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1875 2019-07-30 Tom Tromey <tromey@adacore.com>
1877 * gdb.ada/display_nested.exp: New file.
1878 * gdb.ada/display_nested/foo.adb: New file.
1879 * gdb.ada/display_nested/pack.adb: New file.
1880 * gdb.ada/display_nested/pack.ads: New file.
1882 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1884 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1886 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1888 2019-07-30 Tom de Vries <tdevries@suse.de>
1890 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1893 2019-07-30 Tom de Vries <tdevries@suse.de>
1896 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1897 (exec_is_pie): New proc.
1899 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1901 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1903 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1905 * gdb.python/py-objfile.c: Add global and static vars.
1906 * gdb.python/py-objfile.exp: Test new functions Objfile.
1907 lookup_global_symbol and lookup_static_symbol.
1909 2019-07-29 Tom Tromey <tom@tromey.com>
1911 * lib/tuiterm.exp (Term::_csi_@): New proc.
1912 (Term::_csi_X): Don't move cursor.
1914 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1916 * gdb.base/options.exp: Update backtrace - completion to
1917 new option -frame-info.
1918 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1919 Test new 'set print frame-info'. Test backtrace -frame-info
1920 overriding 'set print frame-info'.
1921 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1922 Test new 'set print frame-info'.
1923 Verify consistency of backtrace with and without filters, with and
1924 without -no-filters.
1925 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1928 2019-07-29 Tom de Vries <tdevries@suse.de>
1930 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1933 2019-07-29 Tom de Vries <tdevries@suse.de>
1935 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1936 is a substring of the first for "complete non-unique file name".
1938 2019-07-29 Tom de Vries <tdevries@suse.de>
1940 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1943 2019-07-29 Tom de Vries <tdevries@suse.de>
1945 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1946 Pass prompt_regexp parameter to gdb_test_multiple calls.
1948 2019-07-29 Tom de Vries <tdevries@suse.de>
1950 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1951 print registers" regexps.
1953 2019-07-29 Tom de Vries <tdevries@suse.de>
1955 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1957 2019-07-29 Tom de Vries <tdevries@suse.de>
1960 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1961 (skip_python_tests_prompt): Add prompt_regexp argument to
1962 gdb_test_multiple calls.
1964 2019-07-27 Tom Tromey <tom@tromey.com>
1966 * gdb.tui/main.exp: New file.
1968 2019-07-27 Tom Tromey <tom@tromey.com>
1970 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1972 * gdb.tui/empty.exp: New file.
1974 2019-07-27 Tom Tromey <tom@tromey.com>
1976 * lib/tuiterm.exp (spawn): New proc.
1977 (Term::resize): New proc.
1978 * gdb.tui/resize.exp: New file.
1980 2019-07-27 Tom Tromey <tom@tromey.com>
1982 * gdb.tui/list.exp: New file.
1984 2019-07-27 Tom Tromey <tom@tromey.com>
1986 * gdb.tui/regs.exp: New file.
1988 2019-07-27 Tom Tromey <tom@tromey.com>
1990 * gdb.tui/basic.exp: Add "layout split" test.
1992 2019-07-27 Tom Tromey <tom@tromey.com>
1994 * gdb.tui/basic.exp: Add "layout asm" test.
1996 2019-07-27 Tom Tromey <tom@tromey.com>
1998 * lib/tuiterm.exp: New file.
1999 * gdb.tui/basic.exp: New file.
2001 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2003 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2004 Enable tests associated with this flag. Adjust regex
2005 referencing "foo_low" to now refer to "foo_cold" instead.
2007 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2009 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2010 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2011 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2012 foo_cold. Revise comments to match.
2013 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2014 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2015 were wrapped into this proc; Call do_test in loop from outermost
2017 (foo_low): Rename all occurrences to "foo_cold".
2018 (backtrace from baz): New test.
2019 (x2/i foo_cold): New test.
2020 (info line *foo_cold): New test.
2022 2019-07-26 Tom de Vries <tdevries@suse.de>
2024 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2026 2019-07-25 Tom de Vries <tdevries@suse.de>
2029 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2030 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2031 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2032 (skip_libstdcxx_probe_tests): ... here.
2033 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2035 2019-07-24 Tom de Vries <tdevries@suse.de>
2038 * gdb.objc/basicclass.m: Include stdio.h.
2039 * gdb.objc/nondebug.m: Same.
2040 * gdb.objc/objcdecode.m: Same.
2042 2019-07-24 Tom de Vries <tdevries@suse.de>
2045 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2048 2019-07-24 Tom de Vries <tdevries@suse.de>
2051 * gdb.multi/tids.exp: Update error messages for info threads.
2053 2019-07-24 Tom de Vries <tdevries@suse.de>
2055 * gdb.base/info-types.exp: Allow info types to print info for more than
2058 2019-07-23 Tom de Vries <tdevries@suse.de>
2061 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2062 gdb_spawn_with_cmdline_opts.
2064 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2066 * gdb.arch/arm-cmse-sgstubs.c: New test.
2067 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2069 2019-07-23 Tom de Vries <tdevries@suse.de>
2072 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2073 issuing next command.
2075 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2077 * gdb.ada/info_auto_lang.exp: Update expected results.
2078 * gdb.base/info-types.c: Add additional types to check.
2079 * gdb.base/info-types.exp: Update expected results.
2081 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2083 * gdb.base/info-types.c: New file.
2084 * gdb.base/info-types.exp: New file.
2086 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2088 * gdb.arch/riscv-bp-infcall.c: New file.
2089 * gdb.arch/riscv-bp-infcall.exp: New file.
2091 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2093 PR breakpoints/24541
2094 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2096 2019-07-14 Tom de Vries <tdevries@suse.de>
2099 * gdb.objc/basicclass.exp: Fix unterminated string.
2101 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2102 Andrew Burgess <andrew.burgess@embecosm.com>
2104 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2105 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2107 * gdb.fortran/vla-value.exp: Print elements of an array with
2109 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2112 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2114 * gdb.base/options.exp (expect_string): Dequote strings in
2116 (test-string): Test strings with different quoting and reindent.
2118 2019-07-10 Tom Tromey <tromey@adacore.com>
2120 * gdb.ada/mi_ex_cond.exp: Update expected results.
2121 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2122 * gdb.ada/mi_catch_ex.exp: Update expected results.
2123 * gdb.ada/mi_catch_assert.exp: Update expected results.
2124 * gdb.ada/catch_ex.exp (catch_exception_info)
2125 (catch_exception_entry, catch_assert_entry)
2126 (catch_unhandled_entry): Update.
2127 * gdb.ada/catch_assert_if.exp: Update expected results.
2129 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2130 Stephen Roberts <stephen.roberts@arm.com>
2132 * gdb.base/define.exp: Restore original prompt.
2134 2019-07-09 Pedro Alves <palves@redhat.com>
2136 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2137 breakpoints" output.
2138 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2139 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2140 throw" creates breakpoint.
2141 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2142 'type="catchpoint"'.
2144 2019-07-09 Pedro Alves <palves@redhat.com>
2147 * gdb.cp/except-multi-location-lib.cc: New.
2148 * gdb.cp/except-multi-location-main.cc: New.
2149 * gdb.cp/except-multi-location.exp: New.
2151 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2153 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2154 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2155 argument and update callers.
2157 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2159 * gdb.arch/amd64-break-on-asm-line.S: New file.
2160 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2162 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2164 * gdb.base/printcmds.exp: Test printing C string and
2165 C wide string convenience vars without transiting via the inferior.
2166 Also make test names unique.
2168 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2170 PR breakpoints/25011
2171 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2173 2019-07-04 Pedro Alves <palves@redhat.com>
2175 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2176 body returned ok(0), break(3) or continue(4).
2177 * gdb.testsuite/foreach_with_prefix.exp: New file.
2179 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2181 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2183 2019-07-03 Pedro Alves <palves@redhat.com>
2185 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2188 2019-07-03 Pedro Alves <palves@redhat.com>
2191 * gdb.base/shell.exp: Load completion-support.exp.
2192 Adjust expected error output. Add completion tests.
2194 2019-07-03 Pedro Alves <palves@redhat.com>
2196 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2199 2019-07-03 Pedro Alves <palves@redhat.com>
2201 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2202 (expect_integer): Adjust to expect "-string".
2203 (expect_string): New.
2204 (all_options): Expect "-string".
2205 (test-flag, test-boolean): Adjust to expect "-string".
2206 (test-string): New proc.
2207 (top level): Call it.
2209 2019-07-03 Pedro Alves <palves@redhat.com>
2211 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2212 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2213 the expected output in the success.
2215 2019-07-03 Pedro Alves <palves@redhat.com>
2217 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2218 Split one gdb_test_multiple call in two to avoid a race.
2220 2019-07-03 Pedro Alves <palves@redhat.com>
2222 * gdb.base/with.c: New file.
2223 * gdb.base/with.exp: New file.
2225 2019-07-03 Pedro Alves <palves@redhat.com>
2227 * gdb.base/settings.exp: Replace all references to "maint
2228 test-settings set" with references to "maint set test-settings",
2229 and all references to "maint test-settings show" with references
2230 to "maint show test-settings".
2232 2019-07-03 Pedro Alves <palves@redhat.com>
2234 * gdb.base/settings.exp (test-string): Adjust expected out when
2235 testing "maint test-settings show filename"
2237 2019-07-02 Pedro Alves <palves@redhat.com>
2239 * gdb.base/options.exp (test-info-threads): New procedure.
2240 (top level): Call it.
2242 2019-06-28 Tom Tromey <tromey@adacore.com>
2244 * gdb.dwarf2/ada-linkage-name.c: New file.
2245 * gdb.dwarf2/ada-linkage-name.exp: New file.
2247 2019-06-27 Tom Tromey <tromey@adacore.com>
2250 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2252 2019-06-26 Tom de Vries <tdevries@suse.de>
2254 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2256 2019-06-26 Tom de Vries <tdevries@suse.de>
2258 * gdb.base/index-cache.exp: Add back missing debug option.
2260 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2262 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2264 2019-06-25 Tom de Vries <tdevries@suse.de>
2267 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2269 2019-06-24 Tom de Vries <tdevries@suse.de>
2271 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2273 2019-06-24 Tom de Vries <tdevries@suse.de>
2275 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2276 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2277 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2279 2019-06-24 Tom de Vries <tdevries@suse.de>
2281 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2283 2019-06-21 Tom de Vries <tdevries@suse.de>
2285 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2287 2019-06-21 Tom de Vries <tdevries@suse.de>
2291 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2294 2019-06-19 Tom Tromey <tromey@adacore.com>
2296 * gdb.ada/length_cond.exp: Add intro comment.
2298 2019-06-19 Tom Tromey <tromey@adacore.com>
2300 * gdb.ada/length_cond.exp: New file.
2301 * gdb.ada/length_cond/length_cond.adb: New file.
2302 * gdb.ada/length_cond/pck.adb: New file.
2303 * gdb.ada/length_cond/pck.ads: New file.
2305 2019-06-18 Tom de Vries <tdevries@suse.de>
2307 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2309 2019-06-18 Tom Tromey <tromey@adacore.com>
2311 * gdb.base/list0.h: Add comment explaining control character.
2313 2019-06-18 Tom de Vries <tdevries@suse.de>
2315 * boards/fission.exp: Break up long debug_flags line.
2317 2019-06-16 Tom de Vries <tdevries@suse.de>
2320 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2323 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2326 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2327 improve detection of bug gdb/24541.
2329 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2332 * gdb.base/index-cache.exp (uses_readnow,
2333 expecting_index_cache_use): Define global variable.
2334 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2335 expecting_index_cache_use.
2337 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2338 Andrew Burgess <andrew.burgess@embecosm.com>
2340 * gdb.fortran/pointers.f90: New file.
2341 * gdb.fortran/print_type.exp: New file.
2342 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2343 * gdb.fortran/vla-type.exp: Likewise.
2344 * gdb.fortran/vla-value.exp: Likewise.
2345 * gdb.mi/mi-vla-fortran.exp: Likewise.
2347 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2349 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2350 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2351 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2354 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2356 * gdb.base/annota1.exp: Update expected results.
2357 * gdb.cp/annota2.exp: Likewise.
2358 * gdb.cp/annota3.exp: Likewise.
2360 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2362 * gdb.base/style-logging.exp: Remove path from test name.
2364 2019-06-14 Tom Tromey <tromey@adacore.com>
2367 * gdb.base/style-logging.exp: New file.
2369 2019-06-14 Tom Tromey <tromey@adacore.com>
2371 * gdb.base/symfile-warn.exp: New file.
2372 * gdb.base/symfile-warn.c: New file.
2374 2019-06-14 Tom Tromey <tromey@adacore.com>
2376 * gdb.base/annotate-symlink.exp: New file.
2378 2019-06-14 Tom Tromey <tromey@adacore.com>
2380 * gdb.ada/set_wstr.exp: Add reassignment test.
2382 2019-06-14 Tom Tromey <tromey@adacore.com>
2384 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2385 'unchecked_access and 'unrestricted_access as well.
2387 2019-06-14 Tom Tromey <tromey@adacore.com>
2390 * gdb.ada/vla.exp: Update tests.
2391 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2394 2019-06-13 Pedro Alves <palves@redhat.com>
2396 * gdb.base/settings.exp (test-integer): Test junk after
2399 2019-06-13 Pedro Alves <palves@redhat.com>
2401 * gdb.base/options.exp (test-thread-apply): New.
2402 (top level): Call it.
2404 2019-06-13 Pedro Alves <palves@redhat.com>
2406 * gdb.base/options.exp (test-frame-apply): New.
2407 (top level): Test print commands with different "frame apply"
2410 2019-06-13 Pedro Alves <palves@redhat.com>
2412 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2413 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2414 'max_completions' parameter and handle it.
2415 (test_gdb_completion_offers_commands): New.
2417 2019-06-13 Pedro Alves <palves@redhat.com>
2419 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2421 2019-06-13 Pedro Alves <palves@redhat.com>
2423 * gdb.base/options.exp (test-backtrace): New.
2424 (top level): Call it.
2426 2019-06-13 Pedro Alves <palves@redhat.com>
2428 * gdb.guile/scm-frame-args.exp: Use "set print
2429 raw-frame-arguments" instead of "set print raw frame-arguments".
2430 * gdb.python/py-frame-args.exp: Likewise.
2432 2019-06-13 Pedro Alves <palves@redhat.com>
2434 * gdb.compile/compile.exp: Adjust expected output to option
2437 2019-06-13 Pedro Alves <palves@redhat.com>
2439 * gdb.base/options.exp: Build executable.
2440 (test-print): New procedure.
2441 (top level): Call it, once for "print" and another for "compile
2444 2019-06-13 Pedro Alves <palves@redhat.com>
2446 * gdb.base/options.c: New file.
2447 * gdb.base/options.exp: New file.
2449 2019-06-13 Pedro Alves <palves@redhat.com>
2451 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2452 that "o" is ambiguous.
2454 2019-06-13 Pedro Alves <palves@redhat.com>
2456 * gdb.base/settings.c: New file.
2457 * gdb.base/settings.exp: New file.
2459 2019-06-13 Pedro Alves <palves@redhat.com>
2461 * gdb.base/completion.exp: Fix comment typo.
2463 2019-06-13 Pedro Alves <palves@redhat.com>
2465 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2468 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2470 * gdb.fortran/block-data.f: New.
2471 * gdb.fortran/block-data.exp: New.
2473 2019-06-11 Tom de Vries <tdevries@suse.de>
2476 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2479 2019-06-11 Tom de Vries <tdevries@suse.de>
2482 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2484 2019-06-11 Tom de Vries <tdevries@suse.de>
2486 * boards/readnow.exp: New file.
2488 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2490 * gdb.fortran/vla-sizeof.exp: Update expected results.
2492 2019-06-06 Amos Bird <amosbird@gmail.com>
2494 * gdb.base/annota1.exp (thread_switch): Add test for
2495 thread-exited annotation.
2497 2019-06-06 Tom Tromey <tromey@adacore.com>
2499 * gdb.base/maint.exp: Expect command started/finished output.
2501 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2503 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2505 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2507 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2509 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2510 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2511 * gdb.arch/riscv-unwind-long-insn.c: New file.
2512 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2514 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2516 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2518 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2520 * lib/gdb.exp (help_list_trailer): New regexp variable
2521 factorizing the help trailer message.
2522 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2523 arg to allow to better factorize various tests.
2524 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2525 (test_prefix_command_help): Use help_list_trailer.
2526 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2527 * gdb.guile/scm-cmd.exp: Likewise.
2528 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2529 * gdb.base/help.exp: Use test_user_defined_class_help.
2530 * gdb.base/style.exp: Add tests for styling of help and apropos.
2531 * lib/gdb-utils.exp (style): Add title and highlight styles.
2533 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2535 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2537 * gdb.base/default.exp: Update for new convenience variables.
2539 2019-05-29 Tom Tromey <tromey@adacore.com>
2541 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2542 to "break complete ada" test case's regexp.
2544 2019-05-29 Tom Tromey <tromey@adacore.com>
2547 * gdb.cp/constexpr-field.exp: New file.
2548 * gdb.cp/constexpr-field.cc: New file.
2550 2019-05-29 Tom Tromey <tromey@adacore.com>
2552 * gdb.base/finish.exp (finish_no_print): New proc.
2553 (finish_tests): Call it.
2555 2019-05-24 Tom de Vries <tdevries@suse.de>
2557 * gdb.dwarf2/gdb-add-index.exp: New file.
2559 2019-05-22 Tom Tromey <tromey@adacore.com>
2561 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2562 * gdb.base/style.exp: Use "style".
2563 * lib/gdb-utils.exp (style): New proc.
2565 2019-05-22 Tom de Vries <tdevries@suse.de>
2567 * gdb.base/align.exp: Require c++11.
2569 2019-05-22 Tom de Vries <tdevries@suse.de>
2572 * gdb.python/py-mi-var-info-path-expression.exp: Call
2573 mi_skip_python_tests to check if python is supported.
2575 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2577 * gdb.arch/aarch64-pauth.c: New test.
2578 * gdb.arch/aarch64-pauth.exp: New file.
2580 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2582 * README (Re-running Tests Outside The Testsuite): New section.
2584 2019-05-21 Tom de Vries <tdevries@suse.de>
2586 * gdb.arch/amd64-eval.exp: Require c++11.
2587 * gdb.base/max-depth.exp: Same.
2588 * gdb.compile/compile-cplus-array-decay.exp: Same.
2589 * gdb.cp/meth-typedefs.exp: Same.
2590 * gdb.cp/subtypes.exp: Same.
2591 * gdb.cp/temargs.exp: Same.
2593 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2595 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2597 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2600 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2601 * gdb.fortran/printing-types.exp: Add new test.
2602 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2604 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2607 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2609 * README (Running the Testsuite): Change example.
2610 (Testsuite Parameters): Remove TRANSCRIPT.
2611 * lib/gdb.exp: Remove TRANSCRIPT check.
2613 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2615 * README (Testsuite Parameters): Add replay logging to
2617 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2618 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2619 as a comma separated list.
2620 (gdb_debug_init): Override procedure.
2622 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2624 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2625 (gdb_write_cmd_file): New procedure.
2626 * lib/gdbserver-support.exp (gdbserver_start): Call
2627 gdbserver_write_cmd_file.
2628 (gdbserver_write_cmd_file): New procedure.
2630 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2632 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2633 (delete_breakpoints): Likewise.
2634 (gdb_run_cmd): Likewise.
2635 (gdb_start_cmd): Likewise.
2636 (gdb_starti_cmd): Likewise.
2637 (gdb_internal_error_resync): Likewise.
2638 (gdb_test_multiple): Likewise.
2639 (gdb_reinitialize_dir): Likewise.
2640 (default_gdb_exit): Likewise.
2641 (gdb_file_cmd): Mark kill as optional.
2642 (default_gdb_start): Call gdb_stdin_log_init.
2643 (send_gdb): Call gdb_stdin_log_write.
2644 (rerun_to_main): Mark Y as an answer.
2645 (gdb_stdin_log_init): New function.
2646 (gdb_stdin_log_write): Likewise.
2648 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2650 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2651 * gdb.base/debug-expr.exp: Likewise.
2652 * gdb.base/foll-fork.exp: Likewise.
2653 * gdb.base/foll-vfork.exp: Likewise.
2654 * gdb.base/fork-print-inferior-events.exp: Likewise.
2655 * gdb.base/gdb-sigterm.exp: Likewise.
2656 * gdb.base/gdbinit-history.exp: Likewise.
2657 * gdb.base/osabi.exp: Likewise.
2658 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2659 * gdb.base/ui-redirect.exp: Likewise.
2660 * gdb.gdb/unittest.exp: Likewise.
2661 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2662 * gdb.mi/mi-watch.exp: Likewise.
2663 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2664 * gdb.mi/user-selected-context-sync.exp: Likewise.
2665 * gdb.python/python.exp: Disable debug test when debugging.
2666 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2667 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2669 * gdb.threads/stepi-random-signal.exp: Likewise.
2671 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2673 * Makefile.in: Pass through GDB_DEBUG.
2674 * README (Testsuite Parameters): Add GDB_DEBUG.
2675 (gdb,debug): Add board setting.
2676 * lib/gdb.exp (default_gdb_start): Start debugging.
2677 (gdb_debug_enabled): New procedure.
2678 (gdb_debug_init): Likewise.
2680 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2682 * Makefile.in: Pass through GDB_DEBUG.
2683 * README (Testsuite Parameters): Add GDB_DEBUG.
2684 (gdb,debug): Add board setting.
2685 * lib/gdb.exp (default_gdb_start): Start debugging.
2686 (gdb_debug_enabled): New procedure.
2687 (gdb_debug_init): Likewise.
2689 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2691 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2693 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2695 * gdb.base/ui-redirect.exp: Test redirection.
2697 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2699 * gdb.mi/mi-complete.exp: New file.
2700 * gdb.mi/mi-complete.cc: Likewise.
2702 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2704 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2705 indexed and sliced arrays, and pointers to arrays.
2707 2019-05-14 Tom Tromey <tromey@adacore.com>
2709 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2712 2019-05-14 Tom de Vries <tdevries@suse.de>
2714 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2715 selection entry encoding.
2717 2019-05-10 Tom Tromey <tromey@adacore.com>
2719 * gdb.ada/info_exc.exp: Add "complete" test.
2721 2019-05-09 Tom de Vries <tdevries@suse.de>
2723 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2726 2019-05-09 Tom de Vries <tdevries@suse.de>
2728 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2731 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2733 * gdb.ada/frame_arg_lang.exp: New testcase.
2734 * gdb.ada/frame_arg_lang/bla.adb: New file.
2735 * gdb.ada/frame_arg_lang/pck.ads: New file.
2736 * gdb.ada/frame_arg_lang/pck.adb: New file.
2737 * gdb.ada/frame_arg_lang/foo.c: New file.
2739 2019-05-08 Tom Tromey <tromey@adacore.com>
2741 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2743 2019-05-08 Tom Tromey <tromey@adacore.com>
2745 * gdb.base/ptype-offsets.exp: Update tests.
2747 2019-05-08 Tom Tromey <tromey@adacore.com>
2749 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2751 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2754 2019-05-08 Tom Tromey <tromey@adacore.com>
2756 * gdb.ada/vla.exp: New file.
2757 * gdb.ada/vla/vla.adb: New file.
2759 2019-05-07 Tom de Vries <tdevries@suse.de>
2761 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2763 2019-05-07 Tom de Vries <tdevries@suse.de>
2766 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2769 2019-05-07 Tom de Vries <tdevries@suse.de>
2772 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2773 .debug_aranges section.
2775 2019-05-07 Tom de Vries <tdevries@suse.de>
2778 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2780 2019-05-06 Tom de Vries <tdevries@suse.de>
2782 * lib/gdb.exp (exec_has_index_section): New proc.
2783 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2786 2019-05-04 Tom de Vries <tdevries@suse.de>
2788 * boards/cc-with-debug-names.exp: New file.
2790 2019-05-03 Tom Tromey <tromey@adacore.com>
2792 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2793 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2794 * gdb.ada/char_enum.exp: Add test.
2796 2019-05-03 Tom de Vries <tdevries@suse.de>
2798 * boards/cc-with-gdb-index.exp: New file.
2800 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2802 * gdb.rust/simple.exp: Add new test case.
2803 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2804 (main): Initialise an instance of the new struct.
2806 2019-05-01 Tom Tromey <tromey@adacore.com>
2808 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2810 (NPR): New variable.
2811 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2814 2019-05-01 Tom Tromey <tromey@adacore.com>
2816 * gdb.ada/packed_array_assign.exp: Add packed assignment
2819 2019-05-01 Tom de Vries <tdevries@suse.de>
2821 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2823 2019-05-01 Tom de Vries <tdevries@suse.de>
2825 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2827 2019-04-30 Ali Tamur <tamur@google.com>
2829 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2831 2019-04-30 Tom Tromey <tromey@adacore.com>
2833 * lib/ada.exp (find_ada_tool): New proc.
2834 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2835 * gdb.ada/catch_ex_std.exp: New file.
2836 * gdb.ada/catch_ex_std/foo.adb: New file.
2837 * gdb.ada/catch_ex_std/some_package.adb: New file.
2838 * gdb.ada/catch_ex_std/some_package.ads: New file.
2840 2019-04-30 Tom Tromey <tromey@adacore.com>
2843 * gdb.cp/temargs.cc: Add test code from PR.
2845 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2847 * gdb.fortran/vla-datatypes.exp: Update expected results.
2848 * gdb.fortran/vla-ptype.exp: Likewise.
2849 * gdb.fortran/vla-type.exp: Likewise.
2850 * gdb.fortran/vla-value.exp: Likewise.
2852 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2854 * gdb.fortran/ptr-indentation.exp: Update expected results.
2855 * gdb.fortran/ptype-on-functions.exp: Likewise.
2856 * gdb.fortran/vla-ptr-info.exp: Likewise.
2857 * gdb.fortran/vla-value.exp: Likewise.
2859 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2861 * gdb.fortran/ptype-on-functions.exp: New file.
2862 * gdb.fortran/ptype-on-functions.f90: New file.
2864 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2866 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2869 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2871 * gdb.fortran/complex.exp: Expand.
2872 * gdb.fortran/complex.f: Renamed to...
2873 * gdb.fortran/complex.f90: ...this, and extended to add more
2876 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2878 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2881 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2882 Richard Bunt <richard.bunt@arm.com>
2884 * gdb.base/max-depth.c: New file.
2885 * gdb.base/max-depth.exp: New file.
2886 * gdb.python/py-nested-maps.c: New file.
2887 * gdb.python/py-nested-maps.exp: New file.
2888 * gdb.python/py-nested-maps.py: New file.
2889 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2890 (test_all_common): Call test_max_depth.
2891 * gdb.fortran/max-depth.exp: New file.
2892 * gdb.fortran/max-depth.f90: New file.
2893 * gdb.go/max-depth.exp: New file.
2894 * gdb.go/max-depth.go: New file.
2895 * gdb.modula2/max-depth.exp: New file.
2896 * gdb.modula2/max-depth.c: New file.
2897 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2899 2019-04-29 Tom de Vries <tdevries@suse.de>
2901 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2903 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2905 * gdb.base/callexit.exp: Test may-call-functions off.
2907 2019-04-25 Keith Seitz <keiths@redhat.com>
2910 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2911 (another_incomplete_struct, test_incomplete): New definitions.
2912 (main): Use new definitions.
2913 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2916 2019-04-25 Ali Tamur <tamur@google.com>
2918 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2920 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2924 * gdb.base/coredump-filter-build-id.exp: New file.
2926 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2928 * Makefile.in: Pass through GDBSERVER_DEBUG.
2929 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2930 (gdbserver,debug): Add board setting.
2931 * gdb.trace/tspeed.exp: Skip when debugging.
2932 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2933 * lib/gdbserver-support.exp: Likewise
2935 2019-04-24 Tom Tromey <tromey@adacore.com>
2937 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2940 2019-04-24 Tom Tromey <tromey@adacore.com>
2942 * gdb.arch/amd64-eval.exp: Test bitfield return.
2943 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2944 (class Foo) <return_bitfields>: New method.
2947 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2949 * gdb.cp/many-args.cc: New file.
2950 * gdb.cp/many-args.exp: New file.
2952 2019-04-23 Tom de Vries <tdevries@suse.de>
2955 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2957 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2959 * gdb.trace/backtrace.exp: Use nopie flag.
2960 * gdb.trace/circ.exp: Likewise.
2961 * gdb.trace/collection.exp: Likewise.
2962 * gdb.trace/ftrace.exp: Likewise.
2963 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2964 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2965 * gdb.trace/qtro.exp: Likewise.
2966 * gdb.trace/read-memory.exp: Likewise.
2967 * gdb.trace/report.exp: Likewise.
2968 * gdb.trace/tfile.exp: Likewise.
2969 * gdb.trace/tfind.exp: Likewise.
2970 * gdb.trace/unavailable.exp: Likewise.
2972 2019-04-22 Pedro Alves <palves@redhat.com>
2974 * gdb.base/solib-probes-nosharedlibrary.c,
2975 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2977 2019-04-19 Tom Tromey <tromey@adacore.com>
2979 * gdb.ada/ptype_union.c: New file.
2980 * gdb.ada/ptype_union.exp: New file.
2982 2019-04-19 Tom Tromey <tromey@adacore.com>
2985 * gdb.base/list0.h (foo): Add a control-l character.
2987 2019-04-18 Tom de Vries <tdevries@suse.de>
2990 * boards/local-board.exp: Set sysroot to "".
2992 2019-04-18 Tom de Vries <tdevries@suse.de>
2993 Pedro Alves <palves@redhat.com>
2996 * gdb.threads/vfork-follow-child-exec.c: New file.
2997 * gdb.threads/vfork-follow-child-exec.exp: New file.
2998 * gdb.threads/vfork-follow-child-exit.c: New file.
2999 * gdb.threads/vfork-follow-child-exit.exp: New file.
3001 2019-04-15 Leszek Swirski <leszeks@google.com>
3003 * gdb.arch/amd64-eval.cc: New file.
3004 * gdb.arch/amd64-eval.exp: New file.
3006 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3008 * gdb.server/sysroot.c: New test.
3009 * gdb.server/sysroot.exp: New file.
3010 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3013 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3015 * gdb.base/align.exp: Extend test to cover structures containing
3018 2019-04-11 Tom de Vries <tdevries@suse.de>
3020 * boards/cc-with-dwz-m.exp: New file.
3021 * boards/cc-with-dwz.exp: New file.
3022 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3024 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3026 * gdb.base/start-cpp.exp: New file.
3027 * gdb.base/start-cpp.cc: New file.
3029 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3031 * gdb.python/py-thrhandle.exp: Adjust tests to call
3032 thread_from_handle instead of thread_from_thread_handle.
3034 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3036 * gdb.python/py-thrhandle.exp: Add tests for
3037 gdb.InferiorThread.handle.
3039 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3041 * gdb.python/py-function.exp: Check calling helper function from
3043 * lib/gdb.exp (gdb_supported_languages): New proc.
3045 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3047 * gdb.base/complex-parts.c: New file.
3048 * gdb.base/complex-parts.exp: New file.
3050 2019-04-01 Tom Tromey <tromey@adacore.com>
3053 * gdb.dwarf2/dw2-ranges-main.c: New file.
3054 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3055 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3057 2019-03-30 Simon Marchi <simark@simark.ca>
3059 * gdb.base/default.exp: Add values for $_gdb_major and
3062 2019-03-29 Tom Tromey <tromey@adacore.com>
3064 * gdb.base/help.exp: Tighten apropos regexp.
3066 2019-03-29 Keith Seitz <keiths@redhat.com>
3068 * gdb.fortran/array-bounds.exp: New file.
3069 * gdb.fortran/array-bounds.f90: New file.
3071 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3073 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3075 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3077 * gdb.multi/hello.c (main): Increase alarm timer.
3079 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3081 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3082 factor when no hardware watchpoint support.
3084 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3085 Pedro Alves <palves@redhat.com>
3087 * boards/local-board.exp: set sysroot to /.
3089 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3091 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3094 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3096 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3098 (make_container): Initialise new field.
3099 * gdb.python/py-prettyprint.exp: Add new tests.
3100 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3101 <display_hint>: New method.
3103 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3105 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3106 gdb_continue_to_breakpoint more throughout this test.
3107 (run_lang_tests) Supply unique test names, and use
3110 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3112 * gdb.base/finish-pretty.exp: Update expected results.
3113 * gdb.base/pretty-print.c: New file.
3114 * gdb.base/pretty-print.exp: New file.
3116 2019-03-25 Pedro Alves <palves@redhat.com>
3118 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3119 move comments outside list. Append '-i "" eof' section.
3121 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3124 * README: Add pie options.
3125 * gdb.base/break-interp.exp: Ensure pie is disabled.
3126 * gdb.base/dump.exp: Likewise.
3127 * lib/gdb.exp (gdb_compile): Add pie option.
3129 2019-03-19 Tom Tromey <tromey@adacore.com>
3131 * gdb.mi/mi2-cli-display.c: New file.
3132 * gdb.mi/mi2-cli-display.exp: New file.
3134 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3135 Tom Tromey <tromey@adacore.com>
3137 * gdb.ada/ptype_array/pck.adb: New file.
3138 * gdb.ada/ptype_array/pck.ads: New file.
3139 * gdb.ada/ptype_array/foo.adb: New file.
3140 * gdb.ada/ptype_array.exp: New file.
3142 2019-03-14 Tom Tromey <tromey@adacore.com>
3144 * gdb.base/style.exp: Add "set style sources" test.
3146 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3148 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3149 * mi-breakpoint-multiple-locations.exp: ... this.
3150 (make_breakpoints_pattern): New proc.
3151 (do_test): Add mi_version parameter, test -break-insert,
3152 -break-info and =breakpoint-created.
3154 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3156 * config/default.exp: Remove 'load_lib gdb.exp'.
3157 * config/monitor.exp: Likewise.
3158 * config/sid.exp: Likewise.
3159 * config/sim.exp: Likewise.
3160 * config/slite.exp: Likewise.
3161 * config/unix.exp: Likewise.
3162 * gdb.base/default.exp: Remove unhelpful comment.
3164 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3166 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3168 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3170 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3172 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3174 * gdb.fortran/type-kinds.exp: Update expected results.
3176 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3178 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3180 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3182 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3184 (test_basic_parsing_of_type_kinds): Expand types tested.
3185 (test_parsing_invalid_type_kinds): New function.
3187 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3189 * gdb.fortran/intrinsics.exp: New file.
3190 * gdb.fortran/intrinsics.f90: New file.
3191 * gdb.fortran/type-kinds.exp: New file.
3193 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3195 * gdb.fortran/dot-ops.exp: New file.
3197 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3199 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3200 Check upper and lower case logical literals.
3202 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3204 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3205 Remove duplicate tests.
3207 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3209 * lib/gdb.exp (builtin_cd): rename of cd.
3210 (cd): Override builtin.
3212 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3214 * gdb.fortran/function-calls.exp: New file.
3215 * gdb.fortran/function-calls.f90: New test.
3217 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3219 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3220 on user program standard output.
3221 * gdb.fortran/short-circuit-argument-list.f90: Record function
3224 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3226 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3229 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3232 * gdb.base/interrupt-daemon-attach.c,
3233 gdb.base/interrupt-daemon-attach.exp: New test.
3235 2019-02-27 Pedro Alves <palves@redhat.com>
3237 * gdb.base/page.exp: Add tests for "set width/height -1".
3239 2019-02-27 Pedro Alves <palves@redhat.com>
3241 * gdb.base/page.exp: Add tests for "set/show width/height" with
3244 2019-02-27 Tom Tromey <tromey@adacore.com>
3246 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3248 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3251 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3253 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3254 tests for structs with static members.
3256 2019-02-26 Tom Tromey <tromey@adacore.com>
3258 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3259 ValueError, not TypeError.
3261 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3263 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3264 call from main program.
3266 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3268 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3269 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3270 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3271 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3272 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3274 2019-02-22 Keith Seitz <keiths@redhat.com>
3277 * gdb.base/symlink-sourcefile.c: New file.
3278 * gdb.base/symlink-sourcefile.exp: New file.
3280 2019-02-20 Tom Tromey <tom@tromey.com>
3282 * gdb.base/info_qt.exp: Update.
3284 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3286 * gdb.base/source.exp: Move "error in sourced script" code to
3288 * gdb.base/source-error.gdb: Move contents to
3289 source-error-1.gdb. Add new code to source source-error-1.gdb.
3290 * gdb.base/source-error-1.gdb: New file, from previous
3293 2019-02-17 Tom Tromey <tom@tromey.com>
3295 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3297 * gdb.base/style.c (SOME_MACRO): New macro.
3299 2019-02-17 Tom Tromey <tom@tromey.com>
3301 * gdb.base/style.exp: Add line-wrapping tests.
3302 * gdb.base/page.exp: Add test for quitting during pagination.
3304 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3306 * gdb.ada/big_packed_array: New testcase.
3307 * gdb.ada/homonym.exp: Fix incorrect expected output for
3308 "break <homonym__get_value>" test.
3310 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3312 PR breakpoints/21870
3313 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3314 and prepare_for_testing. Add comment.
3315 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3316 redundant cleanup call. Clean up comment.
3318 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3320 PR breakpoints/21870
3321 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3322 * gdb.arch/aarch64-dbreg-contents.c: New file.
3324 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3326 * gdb.ada/mi_ref_changeable: New testcase.
3328 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3330 * gdb.base/attach.exp: Add double attach test.
3332 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3334 * lib/gdb.exp (default_gdb_start): Don't match pagination
3336 (gdb_init): Set stty_init.
3338 2019-01-27 Tom Tromey <tom@tromey.com>
3340 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3343 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3345 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3347 (struct struct_static_02_02): Likewise.
3348 (struct struct_static_02_03): Likewise.
3349 (struct struct_static_02_04): Likewise.
3350 (struct struct_static_04_01): Likewise.
3351 (struct struct_static_04_02): Likewise.
3352 (struct struct_static_04_03): Likewise.
3353 (struct struct_static_04_04): Likewise.
3354 (struct struct_static_06_01): Likewise.
3355 (struct struct_static_06_02): Likewise.
3356 (struct struct_static_06_03): Likewise.
3357 (struct struct_static_06_04): Likewise.
3358 (cmp_struct_static_02_01): Likewise.
3359 (cmp_struct_static_02_02): Likewise.
3360 (cmp_struct_static_02_03): Likewise.
3361 (cmp_struct_static_02_04): Likewise.
3362 (cmp_struct_static_04_01): Likewise.
3363 (cmp_struct_static_04_02): Likewise.
3364 (cmp_struct_static_04_03): Likewise.
3365 (cmp_struct_static_04_04): Likewise.
3366 (cmp_struct_static_06_01): Likewise.
3367 (cmp_struct_static_06_02): Likewise.
3368 (cmp_struct_static_06_03): Likewise.
3369 (cmp_struct_static_06_04): Likewise.
3370 (call_all): Test new structs.
3371 * gdb.base/infcall-nested-structs.exp: Likewise.
3373 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3374 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3376 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3377 * gdb.base/stack-protector.c: New test.
3378 * gdb.base/stack-protector.exp: New file.
3379 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3380 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3382 (gdb_compile): Remove stack protector for GCC and prevent
3385 2019-01-16 Keith Seitz <keiths@redhat.com>
3388 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3390 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3392 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3394 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3396 * gdb.arch/powerpc-vector-regs.c: New file.
3397 * gdb.arch/powerpc-vector-regs.exp: New file.
3399 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3401 * gdb.arch/altivec-regs.exp: Fix the list passed to
3402 gdb_expect_list when testing "info vector".
3404 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3406 * gdb.base/style.exp: Don't include path in testname.
3408 2019-01-10 Keith Seitz <keiths@redhat.com>
3412 * gdb.dwarf2/multidictionary.exp: New file.
3414 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3416 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3417 (test_gnuv3_style_demangling): ... this.
3418 (test_lucid_style_demangling): Remove.
3419 (test_arm_style_demangling): Remove.
3420 (test_hp_style_demangling): Remove.
3421 (do_tests): Remove calls to the above.
3423 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3425 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3428 2019-01-06 Tom Tromey <tom@tromey.com>
3431 * gdb.dwarf2/typedef-void-finish.exp: New file.
3433 2018-12-28 Tom Tromey <tom@tromey.com>
3434 Simon Marchi <simark@simark.ca>
3436 * gdb.base/jit-exec.exp: New file.
3437 * gdb.base/jit-exec.c: New file.
3438 * gdb.base/jit-execd.c: New file.
3440 2018-12-28 Tom Tromey <tom@tromey.com>
3442 * gdb.base/style.exp: Update test to check for address styling.
3444 2018-12-28 Tom Tromey <tom@tromey.com>
3446 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3449 2018-12-28 Tom Tromey <tom@tromey.com>
3451 * gdb.base/style.exp: Add test for version number styling.
3453 2018-12-28 Tom Tromey <tom@tromey.com>
3455 * gdb.base/style.exp: Add test for print_address_symbolic.
3457 2018-12-28 Tom Tromey <tom@tromey.com>
3459 * gdb.base/style.exp: Add test for breakpoint setting.
3461 2018-12-28 Tom Tromey <tom@tromey.com>
3463 * gdb.base/style.exp: Add test for variable names.
3465 2018-12-28 Tom Tromey <tom@tromey.com>
3467 * gdb.base/style.exp: New file.
3468 * gdb.base/style.c: New file.
3470 2018-12-28 Tom Tromey <tom@tromey.com>
3472 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3474 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3475 the TERM environment variable.
3477 2018-12-27 Tom Tromey <tom@tromey.com>
3479 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3482 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3484 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3485 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3487 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3489 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3490 Filename a.adb changed to bp_fun_addr.adb.
3491 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3493 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3495 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3496 non-PIE executables.
3497 * README: Mention the gdb,nopie_flag board setting.
3498 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3500 * gdb.arch/amd64-entry-value.exp: Likewise.
3501 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3502 * gdb.arch/i386-float.exp: Likewise.
3503 * gdb.arch/i386-signal.exp: Likewise.
3504 * gdb.mi/mi-reg-undefined.exp: Likewise.
3506 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3509 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3511 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3513 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3514 Update order of results accordingly.
3516 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3518 * gdb.base/annota1.exp: Update a test regexp.
3520 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3522 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3524 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3526 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3527 (reuse_time): Initialize to REUSE_TIME_CAP.
3528 (check_rc): New function.
3529 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3530 Check pthread_create rc.
3531 (spawner_thread_func): Check pthread_create and pthread_join rc.
3533 2018-12-08 Pedro Alves <palves@redhat.com>
3535 * gdb.base/list.exp (test_forward_search): Rename to ...
3536 (test_forward_reverse_search): ... this. Also test reverse-search
3537 and the forward-search alias.
3539 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3541 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3542 local timeout variable before return, and remove all local timeout
3544 (gdb_load): Likewise.
3546 2018-12-01 Tom de Vries <tdevries@suse.de>
3548 * gdb.base/gdb-caching-proc.exp: New file.
3550 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3552 * Makefile.in (TIMESTAMP): New variable.
3553 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3555 (check-single-racy): Likewise.
3556 (check/%.exp): Likewise.
3557 (check-racy/%.exp): Likewise.
3558 (workers/%.worker): Likewise.
3559 (build-perf): Likewise.
3560 (check-perf): Likewise.
3561 * README: Describe new "TS" and "TS_FORMAT" variables.
3562 * print-ts.py: New file.
3564 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3567 * gdb.python/python.exp: Test command repetition after
3570 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3572 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3573 is correctly aligned.
3575 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3577 * gdb.ada/info_auto_lang.exp: New testcase.
3578 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3579 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3580 * gdb.ada/info_auto_lang/some_c.c: New file.
3582 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3584 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3585 FUNC_lang language syntax.
3587 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3589 * gdb.base/info_minsym.c: New file.
3590 * gdb.base/info_minsym.exp: New file.
3592 2018-11-19 Tom Tromey <tom@tromey.com>
3595 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3596 * gdb.rust/expr.exp: Update expected output. Change one test.
3598 2018-11-19 Tom Tromey <tom@tromey.com>
3600 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3602 2018-11-19 Pedro Alves <palves@redhat.com>
3604 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3605 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3606 see the expected warning.
3608 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3611 * gdb.cp/infcall-nodebug-lib.c: New test.
3612 * gdb.cp/infcall-nodebug-main.c: New test.
3613 * gdb.cp/infcall-nodebug.exp: New file.
3615 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3617 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3620 2018-11-09 Tom de Vries <tdevries@suse.de>
3622 * gdb.base/msym-lang.c: New test.
3623 * gdb.base/msym-lang.exp: New file.
3624 * gdb.base/msym-lang-main.c: New test.
3626 2018-11-08 Tom Tromey <tom@tromey.com>
3630 * gdb.base/warning.exp: New file.
3632 2018-11-08 Jan Beulich <jbeulich@suse.com>
3634 * testsuite/gdb.arch/i386-avx512.c,
3635 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3637 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3639 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3642 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3644 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3645 * gdb.dwarf2/missing-type-name.exp: New file.
3647 2018-11-06 Tom de Vries <tdevries@suse.de>
3649 * gdb.base/many-headers.c: New test.
3650 * gdb.base/many-headers.exp: New file.
3652 2018-11-06 Jim Wilson <jimw@sifive.com>
3654 * gdb.base/code_elim.exp: For riscv, set additional_flags
3655 to include -msmall-data-limit=0.
3657 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3659 * gdb.ada/watch_minus_l: New testcase.
3661 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3663 * gdb.arch/aix-sighandle.c: New file.
3664 * gdb.arch/aix-sighandle.exp: New file.
3666 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3668 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3669 registers being unions.
3671 2018-10-31 Tom de Vries <tdevries@suse.de>
3673 * lib/valgrind.exp: New file.
3674 (vgdb_start, vgdb_stop): New procs, factored out of ...
3675 * gdb.base/valgrind-bt.exp: ... here, ...
3676 * gdb.base/valgrind-disp-step.exp: ... here and ...
3677 * gdb.base/valgrind-infcall.exp: ... here.
3679 2018-10-31 Tom de Vries <tdevries@suse.de>
3681 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3683 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3685 * gdb.dwarf2/void-type.c: New file.
3686 * gdb.dwarf2/void-type.exp: New file.
3688 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3690 * gdb.base/info_qt.c: New file.
3691 * gdb.base/info_qt.exp: New file.
3693 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3695 * gdb.arch/powerpc-htm-regs.c: New file.
3696 * gdb.arch/powerpc-htm-regs.exp: New file.
3698 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3700 * gdb.arch/powerpc-tar.c: New file.
3701 * gdb.arch/powerpc-tar.exp: New file.
3703 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3705 * gdb.arch/powerpc-ppr-dscr.c: New file.
3706 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3708 2018-10-25 Tom de Vries <tdevries@suse.de>
3710 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3712 2018-10-24 Tom de Vries <tdevries@suse.de>
3714 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3715 longer exists error.
3717 2018-10-24 Tom de Vries <tdevries@suse.de>
3719 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3721 2018-10-24 Tom de Vries <tdevries@suse.de>
3723 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3724 --db-attach in valgrind.
3726 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3728 * gdb.arch/riscv-reg-aliases.c: New file.
3729 * gdb.arch/riscv-reg-aliases.exp: New file.
3731 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3733 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3735 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3737 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3739 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3741 * gdb.cp/ovldbreak.exp: Fix regexps.
3743 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3745 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3747 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3750 * gdb.base/restore.exp: New test to check if "restore" with an
3751 invalid file doesn't segfault.
3753 2018-10-18 Tom de Vries <tdevries@suse.de>
3755 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3756 * gdb.ada/excep_handle.exp: Same.
3757 * gdb.ada/mi_string_access.exp: Same.
3758 * gdb.ada/mi_var_union.exp: Same.
3759 * gdb.arch/arc-analyze-prologue.exp: Same.
3760 * gdb.arch/arc-decode-insn.exp: Same.
3761 * gdb.base/readnever.exp: Same.
3762 * gdb.fortran/printing-types.exp: Same.
3763 * gdb.guile/scm-lazy-string.exp: Same.
3765 2018-10-16 Tom de Vries <tdevries@suse.de>
3768 * gdb.base/catch-follow-exec.c: Add copyright notice.
3769 * gdb.base/catch-follow-exec.exp: Rewrite to use
3770 gdb_spawn_with_cmdline_opts. Require gdb-native.
3772 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3774 * gdb.trace/actions-changed.exp: Check for arch support.
3775 * gdb.trace/actions.exp: Likewise.
3776 * gdb.trace/ax.exp: Likewise.
3777 * gdb.trace/backtrace.exp: Likewise.
3778 * gdb.trace/change-loc.exp: Likewise.
3779 * gdb.trace/deltrace.exp: Likewise.
3780 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3781 * gdb.trace/ftrace.exp: Likewise.
3782 * gdb.trace/infotrace.exp: Check for arch support.
3783 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3784 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3785 * gdb.trace/mi-tsv-changed.exp: Likewise.
3786 * gdb.trace/packetlen.exp: Likewise.
3787 * gdb.trace/passc-dyn.exp: Likewise.
3788 * gdb.trace/passcount.exp: Likewise.
3789 * gdb.trace/pending.exp: Likewise.
3790 * gdb.trace/range-stepping.exp: Check for shlib support.
3791 * gdb.trace/report.exp: Check for arch support.
3792 * gdb.trace/save-trace.exp: Likewise.
3793 * gdb.trace/signal.exp: Check for signal support.
3794 * gdb.trace/tfind.exp: Check for arch support.
3795 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3796 * gdb.trace/trace-common.h: Add comment.
3797 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3798 * gdb.trace/trace-enable-disable.exp: Likewise.
3799 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3800 * gdb.trace/tracecmd.exp: Check for arch support.
3801 * gdb.trace/tspeed.exp: Check for shlib and target support.
3802 * gdb.trace/tstatus.exp: Check for arch support.
3803 * gdb.trace/tsv.exp: Likewise.
3804 * gdb.trace/while-dyn.exp: Likewise.
3805 * gdb.trace/while-stepping.exp: Likewise.
3806 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3808 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3810 * gdb.trace/tspeed.exp: Remove nowarnings.
3811 (prepare_for_trace_test): Declare "global ipalib".
3812 * gdb.trace/tspeed.c: Include unistd.h.
3813 (main): Remove superfluous printf argument.
3815 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3817 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3818 directory prefix on the filename.
3820 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3822 * gdb.gdb/unittest.exp: Update expected message informing that
3823 selftests have been disabled.
3824 * gdb.server/unittest.exp: Likewise.
3826 2018-10-09 Tom de Vries <tdevries@suse.de>
3828 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3831 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3834 * gdb.cp/virtbase2.cc: New file.
3835 * gdb.cp/virtbase2.exp: New file.
3837 2018-10-06 Tom Tromey <tom@tromey.com>
3840 * gdb.python/py-inferior.exp: Add architecture test.
3842 2018-10-06 Tom Tromey <tom@tromey.com>
3844 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3845 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3847 2018-10-06 Tom Tromey <tom@tromey.com>
3849 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3850 of a "throw" catchpoint.
3852 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3854 * gdb.base/info-proc.exp: Update string expected from "help info
3857 2018-10-04 Tom Tromey <tom@tromey.com>
3859 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3860 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3861 (test_initial_complaints, test_empty_complaints): Update.
3862 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3864 2018-10-04 Tom Tromey <tom@tromey.com>
3867 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3868 * lib/gdb.exp (gdb_file_cmd): Update.
3869 * gdb.stabs/weird.exp (print_weird_var): Update.
3870 * gdb.server/solib-list.exp: Update.
3871 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3872 * gdb.mi/mi-cli.exp: Update.
3873 * gdb.linespec/linespec.exp: Update.
3874 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3875 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3876 * gdb.cp/cp-relocate.exp: Update.
3877 * gdb.base/sym-file.exp: Update.
3878 * gdb.base/relocate.exp: Update.
3879 * gdb.base/readnever.exp: Update.
3880 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3881 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3882 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3883 * gdb.base/code_elim.exp: Update.
3884 * gdb.base/break-unload-file.exp (test_break): Update.
3885 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3886 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3888 * gdb.base/attach.exp (do_attach_tests): Update.
3889 * gdb.base/sepdebug.exp: Update.
3890 * gdb.python/py-section-script.exp: Update.
3892 2018-10-04 Tom Tromey <tom@tromey.com>
3895 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3896 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3899 2018-10-04 Tom Tromey <tom@tromey.com>
3901 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3902 set width and height to 0.
3903 (test_command_line_attach_run): Use -quiet.
3905 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3907 * lib/gdb.exp (skip_ifunc_tests): New.
3908 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3909 other compile failures.
3910 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3912 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3914 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3915 is_amd64_regs_target.
3917 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3919 * gdb.arch/aarch64-sighandler-regs.c: New test.
3920 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3921 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3923 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3925 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3928 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3930 * gdb.base/frame-selection.exp: New file.
3931 * gdb.base/frame-selection.c: New file.
3933 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3935 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3939 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3941 * gdb.base/large-frame-1.c: New file.
3942 * gdb.base/large-frame-2.c: New file.
3943 * gdb.base/large-frame.exp: New file.
3944 * gdb.base/large-frame.h: New file.
3946 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3949 * gdb.base/write_mem.exp: New test.
3950 * gdb.base/write_mem.c: Likewise.
3952 2018-09-23 Tom Tromey <tom@tromey.com>
3955 * gdb.python/py-parameter.exp: Add test for parameter that throws
3958 2018-09-23 Tom Tromey <tom@tromey.com>
3961 * gdb.python/py-template.exp (test_template_arg): Add test for
3962 negative template argument number.
3964 2018-09-23 Tom Tromey <tom@tromey.com>
3967 * gdb.python/python.exp: Add test for post_event error.
3969 2018-09-23 Tom Tromey <tom@tromey.com>
3972 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3973 convert pointers to int and long.
3975 2018-09-23 Tom Tromey <tom@tromey.com>
3978 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3979 signed-ness conversion tests.
3981 2018-09-23 Tom Tromey <tom@tromey.com>
3984 * gdb.python/py-value.exp (test_float_conversion): New proc.
3987 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3989 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3991 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3993 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3995 * gdb.base/utf8-identifiers.exp: Likewise.
3996 * gdb.cp/cpcompletion.exp: Likewise.
3997 * gdb.linespec/cpcompletion.exp: Likewise.
3998 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3999 * gdb.linespec/cpls-ops.exp: Likewise.
4001 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4002 Chris January <chris.january@arm.com>
4004 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4005 * gdb.fortran/short-circuit-argument-list.exp: New file.
4006 * gdb.fortran/short-circuit-argument-list.f90: New test.
4008 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4010 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4011 "arch=" keyword when executing "-stack-list-frames".
4013 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4015 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4016 "arch=" keyword when executing "-stack-list-frames".
4018 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4020 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4023 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4026 * gdb.python/python.exp: Test gdb.execute("show commands").
4028 2018-09-16 Tom Tromey <tom@tromey.com>
4030 * gdb.base/new-ui.exp (do_execution_tests): Update.
4031 * gdb.base/dbx.exp (test_breakpoints): Update.
4033 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4035 * lib/gdb.exp (gdb_simple_compile): Add proc.
4036 (is_elf_target): Use gdb_simple_compile.
4037 (skip_altivec_tests): Likewise.
4038 (skip_vsx_tests): Likewise.
4039 (skip_tsx_tests): Likewise.
4040 (skip_btrace_tests): Likewise.
4041 (skip_btrace_pt_tests): Likewise.
4042 (gdb_can_simple_compile): Likewise.
4043 (gdb_has_argv0): Likewise.
4044 (gdb_target_symbol_prefix): Likewise.
4045 (target_supports_scheduler_locking): Likewise.
4047 2018-09-13 Tom Tromey <tom@tromey.com>
4049 * Makefile.in (TAGS): Recognize proc_with_prefix and
4052 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4054 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4057 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4059 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4060 and a few other Inferior properties when the Inferior is no
4063 2018-09-13 Tom Tromey <tom@tromey.com>
4066 * gdb.rust/simple.exp: Add test for enum field access error.
4068 2018-09-13 Tom Tromey <tom@tromey.com>
4071 * gdb.rust/simple.rs (EmptyEnum): New type.
4073 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4075 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4077 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4078 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4079 * gdb.python/py-symtab.exp: Update test printing an objfile.
4081 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4083 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4086 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4088 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4089 (support_complex_tests): Use gdb_can_simple_compile.
4090 (is_ilp32_target): Likewise.
4091 (is_lp64_target): Likewise.
4092 (is_64_target): Likewise.
4093 (is_amd64_regs_target): Likewise.
4094 (is_aarch32_target): Likewise.
4095 (gdb_int128_helper): Likewise.
4097 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4099 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4101 2018-09-10 Jerome Guitton <guitton@adacore.com>
4103 * gdb.ada/same_component_name: Add test for case of tagged record
4104 with variable-length fields.
4106 2018-09-10 Xavier Roirand <roirand@adacore.com>
4108 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4109 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4110 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4111 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4113 2018-09-10 Xavier Roirand <roirand@adacore.com>
4115 * gdb.ada/mi_string_access.exp: New testcase.
4116 * gdb.ada/mi_string_access/bar.adb: New file.
4117 * gdb.ada/mi_string_access/pck.adb: New file.
4118 * gdb.ada/mi_string_access/pck.asd: New file.
4120 2018-09-10 Xavier Roirand <roirand@adacore.com>
4122 * gdb.ada/mi_var_union.exp: New testcase.
4123 * gdb.ada/mi_var_union/bar.adb: New file.
4124 * gdb.ada/mi_var_union/pck.adb: New file.
4125 * gdb.ada/mi_var_union/pck.asd: New file.
4127 2018-09-08 Tom Tromey <tom@tromey.com>
4129 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4131 2018-09-08 Tom Tromey <tom@tromey.com>
4134 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4135 (register_pretty_printers): Register new printer.
4136 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4138 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4139 (an_int_type3): New global.
4141 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4143 * gdb.ada/expr_with_funcall: New testcase.
4145 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4147 * gdb.ada/packed_array_assign: New testcase.
4149 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4151 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4152 names, and add test prefixes to make test names unique.
4154 2018-09-05 Tom de Vries <tdevries@suse.de>
4156 * gdb.dwarf2/varval.exp: Add test.
4158 2018-09-04 Gary Benson <gbenson@redhat.com>
4160 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4161 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4163 2018-08-31 Tom Tromey <tom@tromey.com>
4165 * gdb.rust/simple.rs: Rename second variable "v".
4167 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4169 * gdb.base/funcargs.c (use_a): New function.
4170 (recurse): Call use_a.
4172 2018-08-29 Keith Seitz <keiths@redhat.com>
4174 * gdb.compile/compile-cplus-anonymous.cc: New file.
4175 * gdb.compile/compile-cplus-anonymous.exp: New file.
4176 * gdb.compile/compile-cplus-array-decay.cc: New file.
4177 * gdb.compile/compile-cplus-array-decay.exp: New file.
4178 * gdb.compile/compile-cplus-inherit.cc: New file.
4179 * gdb.compile/compile-cplus-inherit.exp: New file.
4180 * gdb.compile/compile-cplus-member.cc: New file.
4181 * gdb.compile/compile-cplus-member.exp: New file.
4182 * gdb.compile/compile-cplus-method.cc: New file.
4183 * gdb.compile/compile-cplus-method.exp: New file.
4184 * gdb.compile/compile-cplus-mod.c: "New" file.
4185 * gdb.compile/compile-cplus-namespace.cc: New file.
4186 * gdb.compile/compile-cplus-namespace.exp: New file.
4187 * gdb.compile/compile-cplus-nested.cc: New file.
4188 * gdb.compile/compile-cplus-nested.exp: New file.
4189 * gdb.compile/compile-cplus-print.c: "New" file.
4190 * gdb.compile/compile-cplus-print.exp: "New" file.
4191 * gdb.compile/compile-cplus-virtual.cc: New file.
4192 * gdb.compile/compile-cplus-virtual.exp: New file.
4193 * gdb.compile/compile-cplus.c: "New" file.
4194 * gdb.compile/compile-cplus.exp: "New" file.
4195 * lib/compile-support.exp: New file.
4197 2018-08-16 Gary Benson <gbenson@redhat.com>
4200 * gdb.base/batch-exit-status.exp: New file.
4201 * gdb.base/batch-exit-status.good-commands: Likewise.
4202 * gdb.base/batch-exit-status.bad-commands: Likewise.
4204 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4206 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4207 (struct struct02): Likewise.
4208 (struct struct03): Likewise.
4209 (struct struct04): Likewise.
4210 (struct struct_01_01): New struct.
4211 (struct struct_01_02): Likewise.
4212 (struct struct_01_03): Likewise.
4213 (struct struct_01_04): Likewise.
4214 (struct struct_02_01): Likewise.
4215 (struct struct_02_02): Likewise.
4216 (struct struct_02_03): Likewise.
4217 (struct struct_02_04): Likewise.
4218 (struct struct_04_01): Likewise.
4219 (struct struct_04_02): Likewise.
4220 (struct struct_04_03): Likewise.
4221 (struct struct_04_04): Likewise.
4222 (struct struct_05_01): Likewise.
4223 (struct struct_05_02): Likewise.
4224 (struct struct_05_03): Likewise.
4225 (struct struct_05_04): Likewise.
4226 (cmp_struct01): Remove function.
4227 (cmp_struct02): Likewise.
4228 (cmp_struct03): Likewise.
4229 (cmp_struct04): Likewise.
4230 (cmp_struct_01_01): Add Function.
4231 (cmp_struct_01_02): Likewise.
4232 (cmp_struct_01_03): Likewise.
4233 (cmp_struct_01_04): Likewise.
4234 (cmp_struct_02_01): Likewise.
4235 (cmp_struct_02_02): Likewise.
4236 (cmp_struct_02_03): Likewise.
4237 (cmp_struct_02_04): Likewise.
4238 (cmp_struct_04_01): Likewise.
4239 (cmp_struct_04_02): Likewise.
4240 (cmp_struct_04_03): Likewise.
4241 (cmp_struct_04_04): Likewise.
4242 (cmp_struct_05_01): Likewise.
4243 (cmp_struct_05_02): Likewise.
4244 (cmp_struct_05_03): Likewise.
4245 (cmp_struct_05_04): Likewise.
4246 (call_all): Add new structs.
4247 * gdb.base/infcall-nested-structs.exp: Likewise.
4249 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4251 * gdb.python/py-framefilter-mi.exp: Update regexp to
4252 check for "arch" field in frame output.
4254 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4256 * gdb.dwarf2/dw2-ranges-func.c: New file.
4257 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4259 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4261 * gdb.base/term.exp: Compare terminal settings with values from
4263 * gdb.base/term.c: Get and set terminal settings.
4265 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4267 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4268 accommodate new "arch" field in frame output.
4269 * gdb.mi/mi-return.exp: Likewise.
4270 * gdb.mi/mi-stack.exp: Likewise.
4271 * gdb.mi/mi-syn-frame.exp: Likewise.
4272 * gdb.mi/user-selected-context-sync.exp: Likewise.
4274 2018-08-19 Michael Spang <spang@google.com>
4277 * gdb.base/gcore-tls-pie.c: New file.
4278 * gdb.base/gcore-tls-pie.exp: New file.
4280 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4282 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4283 * gdb.dwarf2/varval.c: New file.
4284 * gdb.dwarf2/varval.exp: New file.
4286 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4289 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4291 2018-08-16 Keith Seitz <keiths@redhat.com>
4293 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4294 tests expected to pass.
4296 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4298 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4299 -data-disassemble -a.
4300 (test_disassembly_bogus_args): Likewise.
4302 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4304 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4306 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4308 * gdb.base/vla-optimized-out.exp: Add new test.
4310 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4312 * gdb.base/vla-optimized-out-o3.exp: Delete.
4313 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4314 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4317 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4320 * gdb.server/extended-remote-restart.c: New file.
4321 * gdb.server/extended-remote-restart.exp: New file.
4323 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4325 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4326 "set variable index = 42".
4328 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4330 * boards/index-cache-gdb.exp: New file.
4331 * gdb.dwarf2/index-cache.exp: New file.
4332 * gdb.dwarf2/index-cache.c: New file.
4333 * gdb.base/maint.exp: Check if we are using the index cache.
4335 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4337 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4340 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4342 * dg-extract-results.sh: Move to toplevel contrib.
4343 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4344 * Makefile.in (check-parallel-racy): Likewise.
4346 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4348 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4349 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4350 tests if the target supports scheduler locking.
4352 2018-08-04 Tom de Vries <tdevries@suse.de>
4354 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4356 2018-08-02 Tom Tromey <tom@tromey.com>
4359 * gdb.cp/temargs.exp: Test "info address" of a template
4362 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4364 * gdb.python/py-mi-var-info-path-expression.c: New file.
4365 * gdb.python/py-mi-var-info-path-expression.py: New file.
4366 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4368 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4370 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4371 error after "cannot resolve name" string.
4373 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4375 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4377 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4379 2018-07-28 Tom de Vries <tdevries@suse.de>
4381 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4383 2018-07-26 Tom de Vries <tdevries@suse.de>
4385 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4387 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4389 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4392 2018-07-26 Tom de Vries <tdevries@suse.de>
4394 PR breakpoints/23366
4395 * gdb.base/catch-follow-exec.c: New test.
4396 * gdb.base/catch-follow-exec.exp: New file.
4398 2018-07-25 Tom de Vries <tdevries@suse.de>
4400 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4401 vla-optimized-out.c.
4403 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4405 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4406 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4408 2018-07-20 Tom de Vries <tdevries@suse.de>
4410 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4412 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4414 2018-07-19 Tom de Vries <tdevries@suse.de>
4416 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4419 2018-07-18 Tom de Vries <tdevries@suse.de>
4421 * gdb.base/vla-optimized-out.c: New test.
4422 * gdb.base/vla-optimized-out.exp: New file.
4424 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4426 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4427 message "No address associated with hostname" when gdbserver
4428 cannot resolve the hostname.
4430 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4432 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4433 Add some test prefixes to make tests unique.
4435 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4437 * gdb.base/frameapply.c: New file.
4438 * gdb.base/frameapply.exp: New file.
4440 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4442 * gdb.base/skip.exp: Update expected error message.
4444 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4445 Jan Kratochvil <jan.kratochvil@redhat.com>
4446 Paul Fertser <fercerpav@gmail.com>
4447 Tsutomu Seki <sekiriki@gmail.com>
4449 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4451 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4453 * boards/native-gdbserver.exp: Likewise.
4454 * gdb.server/run-without-local-binary.exp: Improve regexp used
4455 for detecting when a remote debugging connection succeeds.
4456 * gdb.server/server-connect.exp: New file.
4457 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4458 Do not prefix the port number with ":".
4459 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4460 support for detecting and using it. Add '$debughost_gdbserver'
4461 to the list of arguments used to start gdbserver. Handle case
4462 when gdbserver cannot resolve a network name.
4464 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4467 * gdb.base/ptype-offsets.cc (struct static_member): New
4469 (main) <stmember>: New variable.
4470 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4471 with a static member in it.
4473 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4475 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4476 watchpoints enabled and disabled.
4478 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4480 * gdb.base/examine-backward.exp: Still run tests around address
4481 0x0, even if address 0x0 is not readable. Update the pattern for
4482 matching address 0x0 in expected output.
4484 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4486 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4489 2018-07-04 Tom de Vries <tdevries@suse.de>
4491 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4493 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4496 * gdb.arch/mips-disassembler-options.exp: New test.
4497 * gdb.arch/mips-disassembler-options.s: New test source.
4499 2018-06-29 Pedro Alves <palves@redhat.com>
4501 * gdb.threads/names.exp: Adjust expected "info threads" output.
4503 2018-06-29 Pedro Alves <palves@redhat.com>
4505 * gdb.opt/inline-break.exp (line number, address): Add "info
4508 2018-06-29 Pedro Alves <palves@redhat.com>
4510 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4511 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4512 number and address and running to them.
4514 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4516 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4518 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4520 * lib/compiler.c: Remove executable permission flag.
4522 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4524 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4526 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4528 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4530 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4532 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4534 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4535 address argument is omitted.
4537 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4539 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4541 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4544 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4545 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4547 2018-06-26 Tom Tromey <tom@tromey.com>
4550 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4551 * gdb.rust/simple.rs (struct SimpleLayout): New.
4553 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4555 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4556 "info registers" output.
4558 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4560 * gdb.base/watchpoint-hw-attach.c: New test.
4561 * gdb.base/watchpoint-hw-attach.exp: New file.
4563 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4565 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4567 * boards/dwarf4-gdb-index.exp: Likewise.
4568 * boards/fission-dwp.exp: Likewise.
4570 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4572 * gdb.base/float128.exp: Add comment and improved fail message
4573 to the failure case of "print large128" test.
4575 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4577 * configure.ac: Remove AC_PREREQ.
4578 * configure: Re-generate.
4580 2018-06-19 Pedro Alves <palves@redhat.com>
4582 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4583 (func_extern_caller): New.
4584 (main): Call func_extern_caller.
4585 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4588 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4591 * gdb.cp/typedef-base.cc: New file.
4592 * gdb.cp/typedef-base.exp: New file.
4594 2018-06-18 Tom de Vries <tdevries@suse.de>
4596 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4598 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4599 Richard Bunt <Richard.Bunt@arm.com>
4601 * gdb.threads/attach-slow-waitpid.c: New file.
4602 * gdb.threads/attach-slow-waitpid.exp: New file.
4603 * gdb.threads/slow-waitpid.c: New file.
4605 2018-06-14 Pedro Alves <palves@redhat.com>
4607 * gdb.base/fork-running-state.c: Include <errno.h>.
4608 (exit_if_relative_exits): New.
4609 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4611 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4614 2018-06-14 Tom de Vries <tdevries@suse.de>
4617 * gdb.base/finish-pretty.c: New test.
4618 * gdb.base/finish-pretty.exp: New file.
4620 2018-06-14 Pedro Alves <palves@redhat.com>
4622 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4623 gdb's expected startup output.
4625 2018-06-14 Pedro Alves <palves@redhat.com>
4627 * lib/selftest-support.exp (selftest_setup): Remove inlined
4630 2018-06-14 Tom de Vries <tdevries@suse.de>
4632 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4633 matching of breakpoint printing.
4635 2018-06-13 Tom de Vries <tdevries@suse.de>
4638 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4639 (fork_child): ... here, and ...
4640 (fork_parent): ... here.
4642 2018-06-12 Tom de Vries <tdevries@suse.de>
4644 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4646 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4647 Stephen Roberts <stephen.roberts@arm.com>
4649 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4650 rewrite test to describe action performed, rather than possible
4653 2018-06-08 Gary Benson <gbenson@redhat.com>
4655 * gdb.threads/check-libthread-db.exp: New file.
4656 * gdb.threads/check-libthread-db.c: Likewise.
4658 2018-06-05 Tom Tromey <tom@tromey.com>
4660 * gdb.base/default.exp: Update expected "show version" output.
4662 2018-06-05 Tom Tromey <tom@tromey.com>
4665 * gdb.cp/static-print-quit.exp: Update.
4666 * lib/gdb.exp (pagination_prompt): Update.
4667 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4668 * gdb.python/python.exp: Update.
4670 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4672 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4674 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4676 * gdb.ada/bp_fun_addr: New testcase.
4678 2018-06-01 Tom Tromey <tom@tromey.com>
4680 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4682 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4683 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4684 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4685 * gdb.base/maint.exp (maint_pass_if): Update.
4687 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4689 * gdb.base/endian.exp: New test.
4690 * gdb.base/endian.c: New test source.
4692 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4695 * gdb.base/bt-selected-frame.c: New file.
4696 * gdb.base/bt-selected-frame.exp: New file.
4697 * lib/gdb.exp (get_current_frame_number): New function.
4699 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4700 Pedro Alves <palves@redhat.com>
4702 * gdb.threads/tls-core.c: Include <stdlib.h>
4703 (thread_proc): Call `abort'.
4704 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4705 (tls_core_test): New procedure, bits factored out from ...
4706 (top level): ... here. Test both native cores and gcore cores.
4708 2018-05-23 Tom Tromey <tom@tromey.com>
4710 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4712 2018-05-23 Tom Tromey <tom@tromey.com>
4714 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4716 (test_short_complaints): Likewise.
4717 (test_empty_complaints): Likewise.
4718 (test_initial_complaints): Update.
4720 2018-05-23 Tom Tromey <tom@tromey.com>
4722 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4724 2018-05-23 Tom Tromey <tom@tromey.com>
4726 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4727 (test_short_complaints): Update.
4729 2018-05-22 Pedro Alves <palves@redhat.com>
4731 * gdb.base/remote.exp: Only gdb_start after compiling the
4732 testcase. Issue "disconnect" before testing "set remote" command
4733 defaults. Issue clean_restart before running to main.
4735 2018-05-22 Pedro Alves <palves@redhat.com>
4737 * gdb.base/remote.exp: Adjust expected output of "show remote
4738 memory-write-packet-size". Add tests for "set remote
4739 memory-write-packet-size 0" and "set remote
4740 memory-write-packet-size fixed/limit".
4742 2018-05-22 Pedro Alves <palves@redhat.com>
4745 * gdb.base/utf8-identifiers.c: New file.
4746 * gdb.base/utf8-identifiers.exp: New file.
4748 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4750 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4752 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4754 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4756 2018-05-18 Tom Tromey <tom@tromey.com>
4758 * gdb.base/ptype-offsets.exp: Update.
4760 2018-05-17 Keith Seitz <keiths@redhat.com>
4762 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4763 in expected breakpoint stop locations.
4764 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4765 move to proper scope to test variable values.
4766 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4767 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4769 (main): Call not_inline_func3.
4770 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4771 inline_func1, inline_func2, and inline_func3. Test that when each
4772 breakpoint is hit, GDB properly reports both the stop location
4773 and the backtrace. Repeat tests for temporary breakpoints.
4775 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4777 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4778 rather then trying to access it in determining whether the PID
4779 of `gdbserver' could have been retrieved.
4781 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4783 * gdb.arch/amd64-init-x87-values.S: New file.
4784 * gdb.arch/amd64-init-x87-values.exp: New file.
4786 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4788 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4790 2018-05-04 Tom Tromey <tom@tromey.com>
4793 * gdb.python/python.exp: Test multi-line execute.
4795 2018-05-04 Tom Tromey <tom@tromey.com>
4798 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4800 2018-05-04 Tom Tromey <tom@tromey.com>
4803 * gdb.base/define.exp: Test defining a user command inside a user
4805 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4807 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4808 Pedro Alves <palves@redhat.com>
4810 PR breakpoints/19806 and support for PR external/20207.
4811 * gdb.base/watchpoint-unaligned.c: New file.
4812 * gdb.base/watchpoint-unaligned.exp: New file.
4814 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4816 * gdb.base/maint.exp: Make test names unique, use
4817 test_prefix_command_help to test 'help maint info', and remove
4818 repeated test of 'help maint'.
4820 2018-05-04 Tom Tromey <tom@tromey.com>
4823 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4826 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4828 * gdb.base/maint.exp: Process output from 'maint print registers'
4831 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4833 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4836 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4838 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4841 2018-05-02 Pedro Alves <palves@redhat.com>
4843 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4844 to_log_command renames.
4845 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4847 2018-05-02 Tom Tromey <tom@tromey.com>
4849 * gdb.python/py-parameter.exp: Set test message.
4851 2018-05-02 Tom Tromey <tom@tromey.com>
4854 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4855 PARAM_ZUINTEGER_UNLIMITED tests.
4857 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4860 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4863 2018-04-30 Tom Tromey <tom@tromey.com>
4865 * gdb.python/py-type.exp: Check align attribute.
4866 * gdb.python/py-type.c: New "aligncheck" global.
4868 2018-04-30 Tom Tromey <tom@tromey.com>
4871 * gdb.dwarf2/dw2-align.exp: New file.
4872 * gdb.cp/align.exp: New file.
4873 * gdb.base/align.exp: New file.
4874 * lib/gdb.exp (gdb_int128_helper): New proc.
4875 (has_int128_c, has_int128_cxx): New caching procs.
4877 2018-04-27 Tom Tromey <tom@tromey.com>
4880 * gdb.rust/simple.exp: Add inclusive range tests.
4882 2018-04-26 Pedro Alves <palves@redhat.com>
4884 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4885 ifunc breakpoint locations correctly of ifunc breakpoints set
4886 while the program resolves the ifunc.
4888 2018-04-26 Pedro Alves <palves@redhat.com>
4890 * gdb.base/gnu-ifunc-final.c: New file.
4891 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4892 * gdb.base/gnu-ifunc.exp (executable): Delete.
4893 (staticexecutable): Adjust.
4894 (lib_opts, exec_opts): Delete.
4895 (make_binsuffix, build, set-break): New procedures.
4896 (misc_tests): New, with tests factored out from the top level.
4897 (top level): Test different combinations of ifunc resolver name,
4898 resolver with and with debug info, and ifunc target with and
4899 without debug info. Wrap static tests with with_target_prefix.
4901 2018-04-26 Pedro Alves <palves@redhat.com>
4903 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4904 return type" warnings.
4906 2018-04-25 Pedro Alves <palves@redhat.com>
4908 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4910 * gdb.base/kill-after-signal.exp: Likewise.
4911 * gdb.threads/kill.exp: Likewise.
4913 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4914 Sergio Durigan Junior <sergiodj@redhat.com>
4915 Pedro Alves <palves@redhat.com>
4917 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4918 regexps to expect for '[Inferior ... detached]' as well.
4919 * gdb.base/attach.exp: Likewise.
4920 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4921 "gdb_continue_to_end".
4922 (test_catch_syscall_with_wrong_args): Likewise.
4923 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4924 ']'. Don't set 'verbose' on.
4925 * gdb.base/foll-vfork.exp: Likewise.
4926 * gdb.base/fork-print-inferior-events.c: New file.
4927 * gdb.base/fork-print-inferior-events.exp: New file.
4928 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4929 '[Inferior ... has been killed]' message.
4930 * gdb.base/kill-after-signal.exp: Likewise.
4931 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4933 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4935 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4936 regexps to expect for '[Inferior ... detached]' as well.
4937 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4939 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4942 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4944 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4947 * gdb.base/break-probes.exp: Pass shlib_load to
4948 prepare_for_testing. Set normal_bp to r_debug_state if target is
4951 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4953 * gdb.threads/multiple-successive-infcall.c: New test.
4954 * gdb.threads/multiple-successive-infcall.exp: New file.
4956 2018-04-17 Tom Tromey <tom@tromey.com>
4958 * gdb.rust/simple.rs (Union): New type.
4959 (main): New local "u".
4960 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4962 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4964 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4965 number information in output of "whereis" command.
4966 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4968 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4970 * gdb.ada/info_types.exp: Adjust expected output to the line
4971 numbers now printed by "info var/func/type".
4972 * gdb.base/completion.exp: Likewise.
4973 * gdb.base/included.exp: Likewise.
4974 * gdb.cp/cp-relocate.exp: Likewise.
4975 * gdb.cp/cplusfuncs.exp: Likewise.
4976 * gdb.cp/namespace.exp: Likewise.
4977 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4979 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4981 * gdb.btrace/cpu.exp: New.
4983 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4985 * gdb.base/step-indirect-call-thunk.exp: New.
4986 * gdb.base/step-indirect-call-thunk.c: New.
4987 * gdb.reverse/step-indirect-call-thunk.exp: New.
4988 * gdb.reverse/step-indirect-call-thunk.c: New.
4990 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4992 * gdb.base/pie-fork.c: New file.
4993 * gdb.base/pie-fork.exp: New file.
4995 2018-04-11 Tom Tromey <tom@tromey.com>
4997 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4999 2018-04-10 Pedro Alves <palves@redhat.com>
5001 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5002 exits. Instead loop running forever.
5003 (fork_parent): Run forever too.
5005 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5007 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5008 mi_continue_to_line.
5009 * gdb.mi/mi-stack.c (callee4): Add comment.
5011 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5013 * gdb.mi/mi-stack.exp: Fix indentation.
5015 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5018 * gdb.arch/amd64-osabi.exp: New file.
5020 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5023 * gdb.base/osabi.exp: New file.
5025 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5027 * gdb.cp/static-typedef-print.exp: New file.
5028 * gdb.cp/static-typedef-print.cc: New file.
5030 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5032 * gdb.ada/varsize_limit: New testcase.
5034 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5036 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5038 * gdb.ada/notcplusplus: New testcase.
5040 * gdb.base/c-linkage-name.c: New file.
5041 * gdb.base/c-linkage-name.exp: New testcase.
5043 2018-03-26 Tom Tromey <tom@tromey.com>
5045 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5046 * gdb.python/py-framefilter.py (name_error): New global.
5047 (ErrorInName.function): Use name_error.
5049 2018-03-26 Tom Tromey <tom@tromey.com>
5052 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5054 2018-03-23 Keith Seitz <keiths@redhat.com>
5057 * gdb.cp/subtypes.exp: New file.
5058 * gdb.cp/subtypes.h: New file.
5059 * gdb.cp/subtypes.cc: New file.
5060 * gdb.cp/subtypes-2.cc: New file.
5062 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5064 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5065 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5066 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5067 -nostartfiles when compiling the test. Confirm that all registers
5068 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5070 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5072 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5073 option, syntax was wrong anyway.
5074 * gdb.arch/arm-disp-step.exp: Likewise.
5075 * gdb.arch/sparc64-regs.exp: Likewise.
5076 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5077 option, syntax was wrong anyway, switch to use
5078 prepare_for_testing.
5079 * gdb.arch/i386-disp-step.exp: Likewise.
5081 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5083 * gdb.ada/exec_changed.exp: Replace "target_info exists
5084 use_gdb_stub" by "use_gdb_stub".
5085 * gdb.ada/start.exp: Likewise.
5086 * gdb.base/async-shell.exp: Likewise.
5087 * gdb.base/attach-pie-misread.exp: Likewise.
5088 * gdb.base/attach-wait-input.exp: Likewise.
5089 * gdb.base/break-entry.exp: Likewise.
5090 * gdb.base/break-interp.exp: Likewise.
5091 * gdb.base/dprintf-detach.exp: Likewise.
5092 * gdb.base/nostdlib.exp: Likewise.
5093 * gdb.base/solib-nodir.exp: Likewise.
5094 * gdb.base/statistics.exp: Likewise.
5095 * gdb.base/testenv.exp: Likewise.
5096 * gdb.mi/mi-exec-run.exp: Likewise.
5097 * gdb.mi/mi-start.exp: Likewise.
5098 * gdb.multi/dummy-frame-restore.exp: Likewise.
5099 * gdb.multi/multi-arch-exec.exp: Likewise.
5100 * gdb.multi/multi-arch.exp: Likewise.
5101 * gdb.multi/tids.exp: Likewise.
5102 * gdb.multi/watchpoint-multi.exp: Likewise.
5103 * gdb.python/py-events.exp: Likewise.
5104 * gdb.threads/attach-into-signal.exp: Likewise.
5105 * gdb.threads/attach-stopped.exp: Likewise.
5106 * gdb.threads/threadapply.exp: Likewise.
5107 * lib/selftest-support.exp: Likewise.
5109 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5111 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5113 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5115 * gdb.perf/template-breakpoints.cc: New file.
5116 * gdb.perf/template-breakpoints.exp: New file.
5117 * gdb.perf/template-breakpoints.py: New file.
5119 2018-03-19 Tom Tromey <tom@tromey.com>
5121 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5123 * gdb.rust/simple.exp: Test bare identifier form of struct
5126 2018-03-19 Tom Tromey <tom@tromey.com>
5128 * gdb.gdb/observer.exp: Remove.
5130 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5132 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5133 "qualified" option when setting breakpoints.
5134 * gdb.trace/backtrace.exp: Likewise.
5135 * gdb.trace/circ.exp: Likewise.
5136 * gdb.trace/collection.exp: Likewise.
5137 * gdb.trace/disconnected-tracing.exp: Likewise.
5138 * gdb.trace/ftrace-lock.exp: Likewise.
5139 * gdb.trace/ftrace.exp: Likewise.
5140 * gdb.trace/infotrace.exp: Likewise.
5141 * gdb.trace/packetlen.exp: Likewise.
5142 * gdb.trace/passc-dyn.exp: Likewise.
5143 * gdb.trace/qtro.exp: Likewise.
5144 * gdb.trace/read-memory.exp: Likewise.
5145 * gdb.trace/report.exp: Likewise.
5146 * gdb.trace/signal.exp: Likewise.
5147 * gdb.trace/status-stop.exp: Likewise.
5148 * gdb.trace/strace.exp: Likewise.
5149 * gdb.trace/tfind.exp: Likewise.
5150 * gdb.trace/trace-break.exp: Likewise.
5151 * gdb.trace/trace-condition.exp: Likewise.
5152 * gdb.trace/trace-mt.exp: Likewise.
5153 * gdb.trace/tstatus.exp: Likewise.
5154 * gdb.trace/tsv.exp: Likewise.
5155 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5156 * gdb.trace/unavailable.exp: Likewise.
5157 * gdb.trace/while-dyn.exp: Likewise.
5159 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5161 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5162 that libinproctrace is copied to the target.
5164 2018-03-14 Tom Tromey <tom@tromey.com>
5167 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5169 * gdb.base/wchar.exp: Likewise.
5171 2018-03-14 Tom Tromey <tom@tromey.com>
5174 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5177 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5180 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5181 "target" to remote_exec.
5183 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5186 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5187 ${board}_upload): Remove.
5189 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5191 * gdb.cp/watch-cp.cc: New test.
5192 * gdb.cp/watch-cp.exp: New file.
5194 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5196 * gdb.base/infcall-nested-structs.exp: New file.
5197 * gdb.base/infcall-nested-structs.c: New file.
5198 * gdb.base/float.exp: Add riscv support.
5200 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5202 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5203 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5205 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5207 * gdb.server/abspath.exp: New file.
5208 * lib/gdb.exp (with_cwd): New procedure.
5210 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5212 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5214 (gdb_is_target_remote_prompt): New proc.
5215 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5216 (gdb_is_target_native): Pass prompt parameter to
5219 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5221 * gdb.base/load-command.c: New file.
5222 * gdb.base/load-command.exp: New file.
5223 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5224 (gdb_is_target_1): ...this, and generalize for other targets
5226 (gdb_is_target_remote): Use gdb_is_target_1.
5227 (gdb_is_target_native): use gdb_is_target_1.
5229 2018-02-26 Tom Tromey <tom@tromey.com>
5232 * gdb.python/py-framefilter.exp: Update test.
5234 2018-02-26 Tom Tromey <tom@tromey.com>
5236 * gdb.dwarf2/variant.c: New file.
5237 * gdb.dwarf2/variant.exp: New file.
5239 2018-02-26 Tom Tromey <tom@tromey.com>
5241 * gdb.rust/simple.exp: Accept more possible results in enum test.
5243 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5245 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5248 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5250 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5251 name of a variable: $actual_linejj -> $actual_line.
5253 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5255 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5257 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5259 * gdb.btrace/buffer-size.exp: Do not force BTS.
5261 2018-02-14 Pedro Alves <palves@redhat.com>
5263 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5266 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5268 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5271 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5273 * gdb.cp/m-static.exp: Check type of optimized out static
5276 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5278 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5279 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5281 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5282 Leszek Swirski <leszeks@google.com>
5284 * gdb.python/py-prettyprint.c
5285 (struct to_string_returns_value_inner,
5286 struct to_string_returns_value_wrapper): New.
5287 (main): Add tsrvw variable.
5288 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5289 ToStringReturnsValueWrapper): New classes.
5290 (register_pretty_printers): Register new pretty-printers.
5291 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5292 recursive pretty printer.
5293 * gdb.python/py-mi.exp: Likewise.
5295 2018-02-01 Leszek Swirski <leszeks@google.com>
5297 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5298 functions with the same name as an include file are parsed
5301 2018-02-01 Yao Qi <yao.qi@linaro.org>
5303 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5306 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5308 * gdb.arch/powerpc-prologue-frame.s: New file.
5309 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5310 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5312 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5314 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5316 2018-01-30 Pedro Alves <palves@redhat.com>
5319 * gdb.base/interrupt-daemon.c: New.
5320 * gdb.base/interrupt-daemon.exp: New.
5321 * gdb.multi/multi-term-settings.c: New.
5322 * gdb.multi/multi-term-settings.exp: New.
5324 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5326 * gdb.base/break.exp: Save the location where the breakpoint
5327 on break.c:47 was actually inserted when debugging the version
5328 compiled at -O2 and use it in the expected output of the "info
5329 break" test performed soon after.
5331 2018-01-22 Pedro Alves <palves@redhat.com>
5332 Sergio Durigan Junior <sergiodj@redhat.com>
5334 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5335 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5337 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5339 * gdb.base/break-include.c, gdb.base/break-include.inc,
5340 gdb.base/break-include.exp: New files.
5341 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5342 line number now being the actual line number where the breakpoint
5344 * gdb.mi/mi-break.exp: Likewise.
5345 * gdb.mi/mi-reverse.exp: Likewise.
5346 * gdb.mi/mi-simplerun.exp: Ditto.
5348 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5350 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5352 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5354 2018-01-21 Don Breazeal <donb@codesourcery.com>
5355 Andrew Burgess <andrew.burgess@embecosm.com>
5357 * gdb.mi/basics.c: Add new global.
5358 * gdb.mi/mi-frame-regs.exp: New file.
5359 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5362 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5364 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5365 non-parameter, and on an unknown symbol.
5367 2018-01-19 Tom Tromey <tom@tromey.com>
5369 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5370 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5372 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5374 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5375 setrlimit and chdir to int.
5377 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5379 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5381 (my_tend): Likewise.
5382 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5383 rationale of avoiding FP- and vector instructions.
5385 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5387 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5388 "info reg" with "\[ \t\]*".
5389 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5391 * gdb.arch/s390-multiarch.exp: Ditto.
5392 * gdb.base/pc-fp.exp: Ditto.
5393 * gdb.reverse/i386-precsave.exp: Ditto.
5394 * gdb.reverse/i386-reverse.exp: Ditto.
5395 * gdb.reverse/i387-env-reverse.exp: Ditto.
5396 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5398 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5400 * lib/gdb.exp (gdb_compile): Re-enable use of
5401 universal_compile_options for languages other than Rust.
5403 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5405 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5407 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5410 * gdb.base/solib-vanish.exp: New.
5411 * gdb.base/solib-vanish-main.c: New.
5412 * gdb.base/solib-vanish-lib1.c: New.
5413 * gdb.base/solib-vanish-lib2.c: New.
5415 2018-01-17 Yao Qi <yao.qi@linaro.org>
5417 * gdb.compile/compile.exp: Match the address printed for
5418 frame in the output of command "bt".
5420 2018-01-15 Tom Tromey <tom@tromey.com>
5422 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5425 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5427 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5429 (prepare): Return 0 on error, 1 on success.
5431 2018-01-12 Pedro Alves <palves@redhat.com>
5433 * gdb.base/continue-after-aborted-step-over.c: New.
5434 * gdb.base/continue-after-aborted-step-over.exp: New.
5436 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5438 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5439 options when not creating an executable.
5441 2018-01-11 Pedro Alves <palves@redhat.com>
5444 * gdb.server/stop-reply-no-thread.c: New file.
5445 * gdb.server/stop-reply-no-thread.exp: New file.
5447 2018-01-10 Pedro Alves <palves@redhat.com>
5450 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5451 functions too. Test setting breakpoints and printing C functions
5452 with no debug info too.
5453 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5455 2018-01-10 Pedro Alves <palves@redhat.com>
5458 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5461 2018-01-10 Pedro Alves <palves@redhat.com>
5464 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5466 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5468 * gdb.server/unittest.exp: Match the output in non-development
5471 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5473 * gdb.gdb/unittest.exp: Match output in non-development mode.
5475 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5477 * gdb.ada/access_tagged_param.exp: Relax expected output
5478 for value of "ObjL" in "continue" to pck.inspect breakpoint
5481 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5483 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5484 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5486 2018-01-05 Pedro Alves <palves@redhat.com>
5489 * gdb.base/libsegfault.exp: New.
5491 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5494 * gdb.ada/access_tagged_param.exp: New file.
5495 * gdb.ada/access_tagged_param/foo.adb: New file.
5497 2018-01-05 Pedro Alves <palves@redhat.com>
5500 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5501 exercise lower case too, and to exercise both full matching and
5504 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5506 * gdb.ada/rename_subscript_param: New testcase.
5508 2018-01-05 Jerome Guitton <guitton@adacore.com>
5510 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5512 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5514 * gdb.ada/convvar_comp: New testcase.
5516 2018-01-05 Xavier Roirand <roirand@adacore.com>
5518 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5519 (My_Table): New global variable.
5520 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5522 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5525 * gdb.ada/maint_with_ada: New testcase.
5527 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5530 * gdb.ada/bp_c_mixed_case: New testcase.
5532 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5535 * gdb.ada/complete.exp: Add "complete break ada" test.
5537 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5540 * gdb.ada/info_addr_mixed_case: New testcase.
5542 2018-01-03 Xavier Roirand <roirand@adacore.com>
5544 * gdb.ada/excep_handle.exp: New testcase.
5545 * gdb.ada/excep_handle/foo.adb: New file.
5546 * gdb.ada/excep_handle/pck.ads: New file.
5548 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5550 * gdb.base/step-line.c: Add extra empty line in copyright header.
5551 * gdb.base/step-line.inp: Likewise.
5553 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5555 * gdb.ada/dyn_stride.exp: Add slice test.
5557 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5559 * gdb.ada/dyn_stride: New testcase.
5561 2017-12-27 Stafford Horne <shorne@gmail.com>
5563 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5564 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5566 2017-12-27 Stafford Horne <shorne@gmail.com>
5568 * gdb.base/reggroups.c: New file.
5569 * gdb.base/reggroups.exp: New file.
5571 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5573 * gdb.dwarf2/ada-valprint-error.c: New file.
5574 * gdb.dwarf2/ada-valprint-error.exp: New file.
5576 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5578 * gdb.ada/assign_arr: New testcase.
5580 2017-12-18 Xavier Roirand <roirand@adacore.com>
5582 * gdb.ada/funcall_ptr: New testcase.
5584 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5587 * gdb.base/ptype-offsets.cc: New file.
5588 * gdb.base/ptype-offsets.exp: New file.
5590 2017-12-15 Yao Qi <yao.qi@linaro.org>
5592 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5595 2017-12-15 Xavier Roirand <roirand@adacore.com>
5597 * gdb.ada/same_component_name: New testcase.
5599 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5601 * gdb.ada/str_binop_equal: New testcase.
5603 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5605 * gdb.ada/task_switch_in_core: New testcase.
5607 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5609 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5610 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5611 call test_bkpt_qualified.
5612 (test_bkpt_qualified): New proc.
5614 2017-12-13 Pedro Alves <palves@redhat.com>
5616 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5617 Tighten regexp by matching with an anchor.
5619 2017-12-13 Pedro Alves <palves@redhat.com>
5621 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5622 ("expression with namespace"): New set of tests.
5623 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5624 (Nested::Test_NS::qux): New.
5625 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5626 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5628 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5630 * gdb.base/server-del-break.c: New file.
5631 * gdb.base/server-del-break.exp: New file.
5633 2017-12-12 Stafford Horne <shorne@gmail.com>
5635 * gdb.xml/tdesc-regs.exp: Add or1k support.
5637 2017-12-12 Stafford Horne <shorne@gmail.com>
5639 * gdb.base/bp-permanent.c: Define nop of or1k.
5641 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5643 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5644 output with components being reordered.
5646 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5648 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5649 output with components being reordered.
5651 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5652 Pedro Alves <palves@redhat.com>
5654 * gdb.base/maint.exp (check for .gdb_index): Check also for
5656 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5657 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5658 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5659 (.gdb_index used after symbol reloading): Support also .debug_names.
5660 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5662 2017-12-08 Yao Qi <yao.qi@linaro.org>
5664 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5665 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5667 2017-12-08 Yao Qi <yao.qi@linaro.org>
5669 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5670 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5672 2017-12-08 Yao Qi <yao.qi@linaro.org>
5674 * gdb.arch/aarch64-tagged-pointer.c: New file.
5675 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5677 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5679 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5682 2017-12-07 Keith Seitz <keiths@redhat.com>
5684 PR breakpoints/22569
5685 * gdb.linespec/ls-errs.exp: Change expected result of "break
5686 -source this file has spaces.c -line 3".
5687 Check that an explicit source file followed by whitespace is
5688 identified as an invalid explicit location.
5690 2017-12-07 Keith Seitz <keiths@redhat.com>
5692 * gdb.cp/nested-types.cc: New file.
5693 * gdb.cp/nested-types.exp: New file.
5694 * lib/cp-support.exp: Load data-structures.exp library.
5695 (debug_cp_test_ptype_class): New global.
5696 (cp_ptype_class_verbose, next_line): New procedures.
5697 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5698 Add and document new return value.
5699 Switch the list of lines to a queue.
5700 Add support for new `type' key for nested type definitions.
5701 Add debugging/troubleshooting messages.
5702 * lib/data-structures.exp: New file.
5704 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5706 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5707 with proc_with_prefix, don't use with_test_prefix.
5709 2017-12-07 Tom Tromey <tom@tromey.com>
5711 * gdb.base/break.exp: Add test for empty "commands".
5713 2017-12-07 Yao Qi <yao.qi@linaro.org>
5715 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5716 malloc and catch syscall.
5718 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5720 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5721 tests for explicit locations.
5723 2017-12-06 Pedro Alves <palves@redhat.com>
5725 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5726 force-disabling XML descriptions.
5728 2017-12-04 Pedro Alves <palves@redhat.com>
5731 * gdb.arch/amd64-disp-step-avx.S: New file.
5732 * gdb.arch/amd64-disp-step-avx.exp: New file.
5734 2017-12-03 Pedro Alves <palves@redhat.com>
5736 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5738 (parent_function): Print distinct messages when waitpid fails, or
5739 the child exits with a signal, or the child exits for an unhandled
5741 * gdb.threads/process-dies-while-detaching.exp
5742 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5743 it. Wait for both inferior output and GDB's prompt. Use an
5744 indirect spawn id list.
5745 (do_detach): New parameter 'child_exit'. Use it to compute
5746 expected inferior output.
5747 (test_detach, test_detach_watch, test_detach_killed_outside):
5748 Adjust to pass down the expected child exit kind.
5750 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5751 Sergio Durigan Junior <sergiodj@redhat.com>
5752 Pedro Alves <palves@redhat.com>
5754 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5756 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5758 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5759 to 'symbol-file' and 'add-symbol-file' can be
5760 position-independent.
5762 2017-12-01 Yao Qi <yao.qi@linaro.org>
5764 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5765 the URL in copyright header.
5766 * gdb.arch/aarch64-fp.exp: Likewise.
5767 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5768 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5769 * gdb.base/expand-psymtabs.exp: Likewise.
5770 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5771 * gdb.fortran/common-block.exp: Likewise.
5772 * gdb.fortran/common-block.f90: Likewise.
5773 * gdb.fortran/logical.exp: Likewise.
5774 * gdb.fortran/vla-datatypes.f90: Likewise.
5775 * gdb.fortran/vla-sub.f90: Likewise.
5777 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5779 * gdb.ada/repeat_dyn: New testcase.
5781 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5783 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5784 Update for changed thread numbering.
5785 * gdb.cell/bt.exp: Update for changed GDB output.
5787 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5789 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5790 setting isremote by hand.
5791 * boards/dwarf4-gdb-index.exp: Likewise.
5792 * boards/fission.exp: Likewise.
5793 * boards/stabs.exp: Likewise.
5795 2017-11-30 Pedro Alves <palves@redhat.com>
5797 * gdb.linespec/cpls-ops.exp
5798 (check_explicit_skips_function_argument): Extract the underlying
5799 type of size_t instead of hardcoding it.
5801 2017-11-29 Pedro Alves <palves@redhat.com>
5804 * gdb.linespec/cpls-abi-tag.cc: New file.
5805 * gdb.linespec/cpls-abi-tag.exp: New file.
5807 2017-11-29 Pedro Alves <palves@redhat.com>
5809 * gdb.base/langs.exp: Use -qualified.
5810 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5812 * gdb.cp/namespace.exp: Use -qualified.
5813 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5814 (overload-3, template-overload, template-ret-type, const-overload)
5815 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5817 (test_driver): Call them.
5818 * gdb.cp/save-bp-qualified.cc: New.
5819 * gdb.cp/save-bp-qualified.exp: New.
5820 * gdb.linespec/explicit.exp: Test -qualified.
5821 * lib/completion-support.exp (completion::explicit_opts_list): Add
5823 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5825 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5827 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5829 2017-11-29 Tom Tromey <tom@tromey.com>
5831 * gdb.base/relocate.exp: Update invalid argument test.
5832 Add new tests for invalid arguments.
5834 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5836 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5838 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5840 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5842 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5843 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5844 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5846 * gdb.cp/shadow.cc (B.func): Return 0.
5848 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5850 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5851 expected output in gdb_expect call to allow the exception
5852 message to be present as well. Fix syntax confusion to avoid
5853 TCL thinking that exception_name is an array.
5855 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5857 * gdb.arch/spu-info.c: Include <unistd.h>.
5858 (do_signal_test): Fix broken calls to write.
5859 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5860 Fix checks for empty mailboxes. Update signal tests for corrected
5861 do_signal_test routine. Allow nonzero event status.
5862 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5863 * gdb.cell/arch.exp: Use standard_output_file.
5864 * gdb.cell/break.exp: Likewise.
5865 * gdb.cell/bt.exp: Likewise.
5866 * gdb.cell/core.exp: Likewise.
5867 * gdb.cell/dwarfaddr.exp: Likewise.
5868 * gdb.cell/ea-cache.exp: Likewise.
5869 * gdb.cell/ea-standalone.exp: Likewise.
5870 * gdb.cell/f-regs.exp: Likewise.
5871 * gdb.cell/fork.exp: Likewise.
5872 * gdb.cell/gcore.exp: Likewise.
5873 * gdb.cell/mem-access.exp: Likewise.
5874 * gdb.cell/ptype.exp: Likewise.
5875 * gdb.cell/registers.exp: Likewise.
5876 * gdb.cell/sizeof.exp: Likewise.
5877 * gdb.cell/solib-symbol.exp: Likewise.
5878 * gdb.cell/solib.exp: Likewise.
5880 2017-11-25 Pedro Alves <palves@redhat.com>
5882 * gdb.base/complete-empty.exp: New file.
5883 * gdb.base/completion.exp: Adjust.
5885 2017-11-25 Pedro Alves <palves@redhat.com>
5887 * gdb.linespec/cpls-ops.cc: New file.
5888 * gdb.linespec/cpls-ops.exp: New file.
5889 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5890 factored out from ...
5891 (test_complete_prefix_range): ... this.
5893 2017-11-24 Pedro Alves <palves@redhat.com>
5895 * gdb.linespec/cpcompletion.exp: New file.
5896 * gdb.linespec/cpls-hyphen.cc: New file.
5897 * gdb.linespec/cpls.cc: New file.
5898 * gdb.linespec/cpls2.cc: New file.
5899 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5900 test to use test_gdb_complete_unique. Add label completion,
5901 keyword completion and explicit location completion tests.
5902 * lib/completion-support.exp: New file.
5904 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5906 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5907 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5908 when hitting an exception catchpoint.
5910 2017-11-22 Yao Qi <yao.qi@linaro.org>
5912 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5914 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5916 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5917 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5918 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5920 2017-11-22 Yao Qi <yao.qi@linaro.org>
5922 * gdb.base/info-os.exp: Pass pthreads.
5923 * gdb.multi/multi-attach.exp: Likewise.
5925 2017-11-22 Yao Qi <yao.qi@linaro.org>
5927 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5930 2017-11-22 Yao Qi <yao.qi@linaro.org>
5932 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5933 * gdb.base/break-interp.exp: Likewise.
5934 * gdb.base/jit-attach-pie.exp: Likewise.
5936 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5938 * gdb.base/float128.c (large128): New variable.
5939 * gdb.base/float128.exp: Add test to print largest __float128 value.
5941 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5943 * gdb.arch/vsx-regs.exp: Update register content checks.
5945 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5947 * gdb.arch/ppc-longdouble.exp: New file.
5948 * gdb.arch/ppc-longdouble.c: Likewise.
5950 2017-11-21 Pedro Alves <palves@redhat.com>
5952 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5954 2017-11-20 Pedro Alves <palves@redhat.com>
5956 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5957 (long_double_typedef): New typedefs.
5958 Use DEF on double and long double.
5959 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5961 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5962 and 'long_double_ptr_same_size' locals. Use them to decide
5963 whether cast from array/function to float is valid/invalid.
5965 2017-11-17 Tom Tromey <tom@tromey.com>
5967 * gdb.rust/traits.rs: New file.
5968 * gdb.rust/traits.exp: New file.
5970 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5972 * gdb.ada/minsyms: New testcase.
5974 2017-11-16 Pedro Alves <palves@redhat.com>
5976 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5977 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5979 2017-11-16 Pedro Alves <palves@redhat.com>
5981 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5982 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5984 2017-11-16 Pedro Alves <palves@redhat.com>
5986 * gdb.server/reconnect-ctrl-c.c: New file.
5987 * gdb.server/reconnect-ctrl-c.exp: New file.
5989 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5991 * gdb.python/py-rbreak.exp: New file.
5992 * gdb.python/py-rbreak.c: New file.
5993 * gdb.python/py-rbreak-func2.c: New file.
5995 2017-11-16 Pedro Alves <palves@redhat.com>
5997 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5999 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6002 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6004 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6007 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6009 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6012 2017-11-09 Pedro Alves <palves@redhat.com>
6014 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6015 factored out from ...
6016 (top level): ... here, and adjusted to avoid expecting beyond the
6017 prompt in a single gdb_test_multiple.
6019 2017-11-09 Pedro Alves <palves@redhat.com>
6021 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6023 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6024 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6025 * gdb.server/ext-run.exp ("kill" test): Likewise.
6026 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6028 2017-11-09 Pedro Alves <palves@redhat.com>
6030 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6031 match till end of line.
6033 2017-11-09 Pedro Alves <palves@redhat.com>
6035 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6037 2017-11-09 Pedro Alves <palves@redhat.com>
6039 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6040 New procedures, factored out from ...
6041 (top level): ... here, and adjusted to avoid expecting beyond the
6044 2017-11-09 Pedro Alves <palves@redhat.com>
6046 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6047 output. Fix '?' match.
6049 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6051 * gdb.ada/scoped_watch: New testcase.
6052 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6053 which is actually correct.
6054 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6055 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6057 2017-11-08 Pedro Alves <palves@redhat.com>
6059 * gdb.gdb/complaints.exp (test_initial_complaints)
6060 (test_serial_complaints, test_short_complaints): Call
6061 complaint_internal instead of complaint.
6063 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6065 * gdb.threads/tls-core.c: New file.
6066 * gdb.threads/tls-core.exp: Likewise.
6068 2017-11-08 Pedro Alves <palves@redhat.com>
6070 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6071 (p Exported_Capitalized): New test.
6072 (p exported_capitalized): New test.
6074 2017-11-07 Pedro Alves <palves@redhat.com>
6076 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6078 2017-11-07 Pedro Alves <palves@redhat.com>
6080 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6081 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6082 (disable_invalid, disable_inverted, disable_negative): New
6084 ("bad numbers"): New set of tests.
6086 2017-11-07 Pedro Alves <palves@redhat.com>
6088 * gdb.cp/ena-dis-br-range.exp: Add tests.
6090 2017-11-07 Pedro Alves <palves@redhat.com>
6092 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6094 2017-11-07 Xavier Roirand <roirand@adacore.com>
6095 Pedro Alves <palves@redhat.com>
6097 * gdb.base/ena-dis-br.exp: Add reference to
6098 gdb.cp/ena-dis-br-range.exp.
6099 * gdb.cp/ena-dis-br-range.exp: New file.
6100 * gdb.cp/ena-dis-br-range.cc: New file.
6102 2017-11-06 Pedro Alves <palves@redhat.com>
6104 * gdb.base/attach-non-pgrp-leader.c: New.
6105 * gdb.base/attach-non-pgrp-leader.exp: New.
6107 2017-11-06 Pedro Alves <palves@redhat.com>
6109 * configure.ac: No longer check for termio.h and sgtty.h.
6110 * configure: Regenerate.
6111 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6112 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6113 Remove termio and sgtty code.
6115 2017-11-03 Yao Qi <yao.qi@linaro.org>
6117 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6120 2017-11-03 Yao Qi <yao.qi@linaro.org>
6122 * gdb.python/py-thrhandle.exp: Skip it if python is not
6125 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6127 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6128 as a breakpoint command.
6130 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6133 * gdb.python/py-infthread.exp: Test calling
6134 InferiorThread.inferior () multiple times in a row.
6136 2017-10-27 Keith Seitz <keiths@redhat.com>
6138 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6139 Test "info break" for every inlined function breakpoint.
6141 2017-10-27 Yao Qi <yao.qi@linaro.org>
6143 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6145 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6147 * gdb.cp/classes.exp (test_static_members): Test printing
6149 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6150 (Inner::instance, Outer::instance): New.
6152 2017-10-24 Pedro Alves <palves@redhat.com>
6154 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6155 extra console" test in two stages.
6157 2017-10-24 Pedro Alves <palves@redhat.com>
6159 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6161 2017-10-24 Pedro Alves <palves@redhat.com>
6163 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6166 2017-10-24 Pedro Alves <palves@redhat.com>
6168 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6169 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6171 2017-10-24 Pedro Alves <palves@redhat.com>
6173 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6174 parameter and handle it. Don't output read value in test name.
6176 2017-10-24 Pedro Alves <palves@redhat.com>
6178 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6181 2017-10-24 Pedro Alves <palves@redhat.com>
6183 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6184 include the unstable output directory name in the test's name.
6185 (initial_setup_simple) <'set args'>: Use custom test name.
6187 2017-10-24 Pedro Alves <palves@redhat.com>
6189 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6190 with explicit test name.
6192 2017-10-20 Pedro Alves <palves@redhat.com>
6194 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6195 'wait -i'. Use gdb_assert and remote_close.
6197 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6199 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6200 number from variable rather than hard-coded.
6202 2017-10-19 Pedro Alves <palves@redhat.com>
6204 * gdb.base/long-inferior-output.c: New file.
6205 * gdb.base/long-inferior-output.exp: New file.
6207 2017-11-18 Keith Seitz <keiths@redhat.com>
6209 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6212 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6213 Add additional user-defined conversion operator tests.
6215 2017-10-17 Pedro Alves <palves@redhat.com>
6217 * boards/native-stdio-gdbserver.exp: Load "local-board".
6219 2017-10-17 Pedro Alves <palves@redhat.com>
6221 * gdb.base/quit-live.c: New file.
6222 * gdb.base/quit-live.exp: New file.
6224 2017-10-16 Keith Seitz <keiths@redhat.com>
6226 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6227 (class_with_protected_typedef, class_with_private_typedef)
6228 (struct_with_public_typedef, struct_with_protected_typedef)
6229 (struct_with_private_typedef): New classes/structs.
6230 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6231 typedefs and access specifiers.
6233 2017-10-16 Pedro Alves <palves@redhat.com>
6234 Simon Marchi <simon.marchi@polymtl.ca>
6236 * README (Local vs Remote vs Native): New section.
6237 * boards/local-board.exp: New file, with bits factored out from
6239 * boards/native-extended-gdbserver.exp: ... here. Load
6241 * boards/native-gdbserver.exp: Load "local-board".
6242 (${board}_spawn, ${board}_exec): Delete.
6243 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6245 * boards/stdio-gdbserver-base.exp: ... this new file.
6246 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6247 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6249 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6250 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6251 stdio_gdbserver_command.
6252 (${board}_get_remote_address, ${board}_get_comm_port)
6253 (${board}_download, ${board}_upload): Delete.
6254 (get_target_remote_pipe_cmd): New.
6256 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6258 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6259 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6260 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6261 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6262 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6263 remove with_test_prefix.
6265 2017-10-13 Pedro Alves <palves@redhat.com>
6267 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6268 * gdb.base/annota1.exp: Use it instead of is_remote.
6269 * gdb.base/annota3.exp: Use it instead of is_remote.
6270 * gdb.cp/annota2.exp: Use it instead of is_remote.
6271 * gdb.cp/annota3.exp: Use it instead of is_remote.
6272 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6274 2017-10-13 Pedro Alves <palves@redhat.com>
6276 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6277 (test_num_test_vars, run_and_count_vars, find_env)
6278 (test_set_unset_env, test_inherit_env_var): New procedures.
6279 (top level): Use them.
6281 2017-10-13 Pedro Alves <palves@redhat.com>
6283 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6284 also skip on stub-like targets.
6286 2017-10-13 Pedro Alves <palves@redhat.com>
6289 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6290 (top level): Move some tests to ...
6291 (test_not_found): ... this new procedure.
6292 (top level): Call it.
6294 2017-10-13 Pedro Alves <palves@redhat.com>
6296 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6297 expect different "info terminal" output if testing with a
6300 2017-10-13 Pedro Alves <palves@redhat.com>
6301 Simon Marchi <simon.marchi@polymtl.ca>
6304 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6306 2017-10-13 Pedro Alves <palves@redhat.com>
6308 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6311 2017-10-13 Pedro Alves <palves@redhat.com>
6313 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6316 2017-10-13 Pedro Alves <palves@redhat.com>
6318 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6321 2017-10-13 Pedro Alves <palves@redhat.com>
6323 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6325 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6326 instead of is_remote.
6328 2017-10-13 Pedro Alves <palves@redhat.com>
6330 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6331 (top level): Add comment.
6333 2017-10-13 Pedro Alves <palves@redhat.com>
6335 * gdb.base/remote.exp (top level): Fix comment typo and add
6338 2017-10-13 Pedro Alves <palves@redhat.com>
6339 Simon Marchi <simon.marchi@polymtl.ca>
6341 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6342 calls and add comments. Skip test if use_gdb_stub is set.
6343 (top level): Use "set cwd" command instead of "cd" command.
6345 2017-10-13 Pedro Alves <palves@redhat.com>
6347 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6348 is_remote target check.
6350 2017-10-13 Pedro Alves <palves@redhat.com>
6352 * gdb.base/scope.exp: Use build_executable + clean_restart +
6353 gdb_file_cmd instead of prepare_for_testing and no longer skip
6354 "before run" tests on is_remote target boards. Update comments.
6355 * boards/native-extended-gdbserver.exp
6356 (extended_gdbserver_load_last_file): New, factored out from ...
6357 (gdb_load): ... this. Move further below and add comment.
6358 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6360 2017-10-12 Pedro Alves <palves@redhat.com>
6362 * gdb.base/attach.exp: Remove references to gdb64.
6363 * gdb.base/dbx.exp: Remove references to gdb64.
6365 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6366 Pedro Alves <palves@redhat.com>
6368 * gdb.base/label.exp: Remove is_remote target check.
6370 2017-10-12 Pedro Alves <palves@redhat.com>
6372 * gdb.base/auvx.exp (coredir): Update comment.
6373 (top level) <core_works>: Use "set cwd" command instead of "cd"
6376 2017-10-12 Pedro Alves <palves@redhat.com>
6377 Simon Marchi <simon.marchi@polymtl.ca>
6379 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6382 2017-10-12 Pedro Alves <palves@redhat.com>
6383 Simon Marchi <simon.marchi@polymtl.ca>
6385 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6386 Instead skip if there's any gdb_protocol set.
6388 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6389 Pedro Alves <palves@redhat.com>
6391 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6393 2017-10-12 Pedro Alves <palves@redhat.com>
6394 Simon Marchi <simon.marchi@polymtl.ca>
6396 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6397 instead of on dejagnu remote boards.
6399 2017-10-12 Pedro Alves <palves@redhat.com>
6400 Simon Marchi <simon.marchi@polymtl.ca>
6402 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6403 checks. Use build_executable + clean_restart instead of
6404 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6405 of enabling non-stop after starting gdb.
6407 2017-10-12 Pedro Alves <palves@redhat.com>
6409 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6410 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6411 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6412 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6414 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6416 * gdb.arch/arc-tdesc-cpu.exp: New file.
6417 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6419 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6421 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6423 2017-10-10 Pedro Alves <palves@redhat.com>
6425 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6428 2017-10-10 Pedro Alves <palves@redhat.com>
6430 * lib/selftest-support.exp (selftest_setup): Update for
6431 captured_command_loop's prototype change.
6433 2017-10-09 Pedro Alves <palves@redhat.com>
6435 Test both arch1=>arch2 and arch2=>arch1.
6437 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6438 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6440 (append_arch1_options, append_arch2_options, append_arch_options)
6441 (build_executables): New procedures.
6442 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6444 (top level): Add new 'first_arch' testing axis.
6446 2017-10-09 Pedro Alves <palves@redhat.com>
6448 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6450 (thread_start, all_started): New functions.
6451 (main): Spawn new thread and wait until it is scheduled.
6452 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6454 (do_test): Add 'selected_thread' parameter. Run to all_started
6455 instead of main. Explicitly set the breakpoint at main. Switch
6456 to the SELECTED_THREAD thread.
6457 (top level): Test handling the exec event with either the main
6458 thread or the second thread selected.
6460 2017-10-09 Pedro Alves <palves@redhat.com>
6462 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6463 logic. Move STOP marker after the value checks.
6464 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6467 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6469 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6471 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6473 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6474 integer-to-dfp conversion.
6475 * gdb.base/dfp-test.exp: Likewise.
6477 2017-10-04 Pedro Alves <palves@redhat.com>
6479 * gdb.multi/hangout.c: Include <unistd.h>.
6480 (hangout_loop): New function.
6481 (main): Call alarm. Call hangout_loop in a loop.
6482 * gdb.multi/hello.c: Include <unistd.h>.
6483 (hello_loop): New function.
6484 (main): Call alarm. Call hangout_loop in a loop.
6485 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6486 inferior with the other selected.
6488 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6490 * gdb.mi/list-thread-groups-available.exp: New file.
6491 * gdb.mi/list-thread-groups-available.c: New file.
6493 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6495 * gdb.base/set-cwd.exp: Make it available on
6496 native-extended-gdbserver.
6498 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6500 * gdb.base/set-cwd.c: New file.
6501 * gdb.base/set-cwd.exp: Likewise.
6503 2017-10-02 Tom Tromey <tom@tromey.com>
6506 * gdb.rust/simple.rs (main): New variable "fslice".
6507 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6509 2017-10-02 Tom Tromey <tom@tromey.com>
6511 * gdb.rust/simple.exp: Test ptype of a slice.
6513 2017-10-02 Tom Tromey <tom@tromey.com>
6515 * gdb.rust/simple.exp: Test index of slice.
6517 2017-09-27 Tom Tromey <tom@tromey.com>
6519 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6521 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6522 Pedro Alves <palves@redhat.com>
6524 * gdb.base/compare-sections.exp (get value of read-only section): Read
6526 (corrupt read-only section): Likewise and don't set written if patching
6529 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6531 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6534 2017-09-20 Pedro Alves <palves@redhat.com>
6536 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6537 symbol names in gdb's output.
6538 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6540 2017-09-20 Pedro Alves <palves@redhat.com>
6542 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6544 (test_list_ambiguous_symbol): ... this and add a symbol name
6546 (test_list_ambiguous_function): Reimplement on top of
6547 test_list_ambiguous_symbol and also test listing ambiguous
6549 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6550 (ambiguous_fun): ... this.
6551 (ambiguous_var): New.
6552 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6553 (ambiguous_fun): ... this.
6554 (ambiguous_var): New.
6556 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6558 * gdb.base/starti.c: New file.
6559 * gdb.base/starti.exp: New file.
6560 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6562 2017-09-14 Pedro Alves <palves@redhat.com>
6564 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6565 (top level): Use it instead of runto.
6567 2017-09-11 Tom Tromey <tom@tromey.com>
6569 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6571 2017-09-11 Tom Tromey <tom@tromey.com>
6573 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6574 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6576 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6578 * gdb.fortran/printing-types.exp: New file.
6579 * gdb.fortran/printing-types.exp: New file.
6581 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6583 * gdb.fortran/vla-ptype.exp: Fix typos.
6584 * gdb.fortran/vla-value.exp: Same.
6586 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6588 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6589 * gdb.mi/mi-var-child-f.exp: Likewise.
6590 * gdb.mi/mi-vla-fortran.exp: Likewise.
6592 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6593 Christoph Weinmann <christoph.t.weinmann@intel.com>
6594 Bernhard Heckel <bernhard.heckel@intel.com>
6596 * gdb.fortran/ptr-indentation.f90: New file.
6597 * gdb.fortran/ptr-indentation.exp: New file.
6599 2017-09-05 Tom Tromey <tom@tromey.com>
6602 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6604 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6606 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6608 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6610 * gdb.threads/tls-nodebug-pie.c: New file.
6611 * gdb.threads/tls-nodebug-pie.exp: New file.
6613 2017-09-05 Tom Tromey <tom@tromey.com>
6615 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6618 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6620 * gdb.multi/multi-arch-exec.exp: Test with different
6621 "follow-exec-mode" settings.
6622 (do_test): New procedure.
6624 2017-09-04 Pedro Alves <palves@redhat.com>
6626 * gdb.base/func-static.c (S::method const, S::method volatile)
6627 (S::method volatile const): New methods.
6628 (c_s, v_s, cv_s): New instances.
6629 (main): Call method() on them.
6630 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6631 (cannot_resolve): New procedure.
6632 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6633 print-quote-unquoted columns.
6634 (do_test): Test printing each scope too.
6636 2017-09-04 Pedro Alves <palves@redhat.com>
6638 * gdb.base/local-static.exp: Also test with
6639 class::method::variable wholly quoted.
6640 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6642 2017-09-04 Pedro Alves <palves@redhat.com>
6644 * gdb.base/local-static.c: New.
6645 * gdb.base/local-static.cc: New.
6646 * gdb.base/local-static.exp: New.
6648 2017-09-04 Pedro Alves <palves@redhat.com>
6650 * gdb.asm/asm-source.exp: Add casts to int.
6651 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6652 (dataglobal64_1, dataglobal64_2): New globals.
6653 * gdb.base/nodebug.exp: Test different expressions involving the
6654 new globals, with print, whatis and ptype. Add casts to int.
6655 * gdb.base/solib-display.exp: Add casts to int.
6656 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6657 * gdb.cp/m-static.exp: Add cast to int.
6658 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6659 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6660 tls variable with no debug info without a cast. Test with a cast
6662 * gdb.trace/entry-values.exp: Add casts.
6664 2017-09-04 Pedro Alves <palves@redhat.com>
6666 * gdb.base/nodebug.exp: Test that ptype's error about functions
6667 with unknown return type includes the function name too.
6669 2017-09-04 Pedro Alves <palves@redhat.com>
6671 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6672 return type of munmap in infcall.
6673 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6674 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6675 type of ftell in infcall.
6676 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6677 type of getpid in infcall.
6678 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6680 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6681 Bail on failure to extract the pid.
6682 * gdb.base/nodebug.c: #include <stdint.h>.
6683 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6685 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6686 Change expected output of print/whatis/ptype with functions with
6687 no debug info. Test all supported languages. Call
6688 test_call_promotion.
6689 * gdb.compile/compile.exp: Adjust expected output to expect
6691 * gdb.threads/siginfo-threads.exp: Likewise.
6693 2017-09-04 Pedro Alves <palves@redhat.com>
6695 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6696 "prototypes". Test calling float functions via prototyped and
6697 unprototyped function pointers.
6698 (perform_all_tests): New parameter "prototypes". Pass it down.
6699 (top level): Pass down "prototypes" parameter to
6702 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6704 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6705 Test with nested loops.
6707 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6709 * gdb.base/commands.exp: Call the new procedures.
6710 (loop_break_test, loop_continue_test): New procedures.
6712 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6714 * gdb.base/commands.exp: Call new procedure.
6715 (define_if_without_arg_test): New procedure.
6717 2017-09-04 Pedro Alves <palves@redhat.com>
6719 * gdb.base/list-ambiguous.exp: New file.
6720 * gdb.base/list-ambiguous0.c: New file.
6721 * gdb.base/list-ambiguous1.c: New file.
6722 * gdb.base/list.exp (test_list_range): Adjust expected output.
6724 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6726 * gdb.base/share-env-with-gdbserver.c: New file.
6727 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6729 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6731 * gdb.base/commands.exp (gdbvar_simple_if_test,
6732 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6733 progvar_simple_if_test, progvar_simple_while_test,
6734 progvar_complex_if_while_test, user_defined_command_test,
6735 user_defined_command_args_eval,
6736 user_defined_command_args_stack_test,
6737 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6738 temporary_breakpoint_commands,
6739 gdb_test_no_prompt, redefine_hook_test,
6740 redefine_backtrace_test): Remove "global gdb_prompt".
6742 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6744 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6745 New proc, call it from toplevel.
6747 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6750 * gdb.server/normal.c: New file, copied from gdb.base.
6751 * gdb.server/run-without-local-binary.exp: New file.
6753 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6755 * gdb.arch/sparc64-adi.exp: New file.
6756 * gdb.arch/sparc64-adi.c: New file.
6758 2017-08-22 Pedro Alves <palves@redhat.com>
6760 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6761 (top level): Add "list all overloads" tests.
6763 2017-08-22 Tom Tromey <tom@tromey.com>
6765 * gdb.gdb/xfullpath.exp: Remove.
6767 2017-08-21 Pedro Alves <palves@redhat.com>
6770 * gdb.base/symbol-alias.c: New.
6771 * gdb.base/symbol-alias2.c: New.
6772 * gdb.base/symbol-alias.exp: New.
6774 2017-08-21 Pedro Alves <palves@redhat.com>
6776 * gdb.base/dfp-test.c
6777 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6778 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6779 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6780 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6781 * gdb.base/whatis-ptype-typedefs.c: New.
6782 * gdb.base/whatis-ptype-typedefs.exp: New.
6783 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6784 (an_int, an_int_type, an_int_type2): New globals.
6785 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6786 involving typedefs and cast expressions.
6787 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6788 (lookup_typedefs_function): New.
6789 (typedefs_pretty_printers_dict): New.
6790 (top level): Register lookup_typedefs_function in
6791 gdb.pretty_printers.
6793 2017-08-18 Yao Qi <yao.qi@linaro.org>
6795 * gdb.server/unittest.exp: New.
6797 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6800 * gdb.base/environ.exp: Add test to check if 'unset environment'
6803 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6805 * lib/gdb.exp (universal_compile_options): New caching proc.
6806 (gdb_compile): Suppress GCC's coloring of messages.
6808 2017-08-14 Tom Tromey <tom@tromey.com>
6811 * gdb.base/printcmds.exp (test_radices): New function.
6812 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6813 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6814 * lib/gdb.exp (get_integer_valueof): Use p/d.
6816 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6818 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6821 2017-08-05 Tom Tromey <tom@tromey.com>
6823 * gdb.rust/simple.exp: Allow String to appear in a different
6826 2017-07-26 Yao Qi <yao.qi@linaro.org>
6828 * gdb.gdb/unittest.exp: Invoke command
6829 "maintenance check xml-descriptions".
6831 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6833 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6835 (hex128): Drop erroneous calculation of parameters.
6837 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6839 * gdb.python/py-unwind.exp: Disable stack protection when
6842 2017-07-20 Pedro Alves <palves@redhat.com>
6844 * gdb.base/default.exp (set language): Adjust expected output.
6846 2017-07-20 Pedro Alves <palves@redhat.com>
6848 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6849 (test_minsym): ... this, and make static.
6850 (get_pck__foo__bar__minsym): Rename to ...
6851 (get_test_minsym): ... this.
6852 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6853 symbol names and comments.
6854 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6855 (get_test_minsym): ... this.
6856 (pck__foo__bar__minsym__2): Rename to ...
6857 (test_minsym): ... this.
6860 2017-07-17 Pedro Alves <palves@redhat.com>
6862 * gdb.base/completion.exp: Adjust expected output.
6863 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6864 the completer works.
6866 2017-07-17 Pedro Alves <palves@redhat.com>
6868 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6870 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6872 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6874 2017-07-14 Tom Tromey <tom@tromey.com>
6877 * gdb.rust/simple.exp: Add tests.
6879 2017-07-14 Tom Tromey <tom@tromey.com>
6881 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6883 2017-07-14 Pedro Alves <palves@redhat.com>
6885 * gdb.linespec/base/one/thefile.cc (z1): New function.
6886 * gdb.linespec/base/two/thefile.cc (z2): New function.
6887 * gdb.linespec/linespec.exp: Add tests.
6889 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6891 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6892 to mi_create_breakpoint.
6894 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6896 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6897 mi_create_breakpoint.
6899 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6901 * gdb.dlang/demangle.exp: Update for demangling changes.
6903 2017-07-09 Tom Tromey <tom@tromey.com>
6905 * gdb.dwarf2/shortpiece.exp: New file.
6907 2017-07-06 David Blaikie <dblaikie@gmail.com>
6909 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6910 built from fissiont-multi-cu{1,2}.c.
6911 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6912 except putting 'main' and 'func' in separate CUs in the same DWO file.
6913 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6915 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6918 2017-07-06 Pedro Alves <palves@redhat.com>
6920 * gdb.python/py-unwind.exp: Test flushregs.
6922 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6925 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6926 tests for alias commands and trailing whitespace.
6928 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6931 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6934 2017-06-29 Pedro Alves <palves@redhat.com>
6936 * gdb.base/printcmds.exp: Add tests.
6938 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6941 * gdb.base/reread-readsym.exp: New file.
6942 * gdb.base/reread-readsym.c: New file.
6944 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6946 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6949 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6951 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6953 * gdb.arch/powerpc-power9.s: Likewise.
6955 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6957 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6958 on 32-bit x86 targets. Exploit is_*_target macros where
6961 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6963 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6966 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6968 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6969 located in one or more DWARF pieces.
6971 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6973 * lib/gdb.exp (get_endianness): New proc.
6974 * gdb.arch/aarch64-fp.exp: Use it.
6975 * gdb.arch/altivec-regs.exp: Likewise.
6976 * gdb.arch/e500-regs.exp: Likewise.
6977 * gdb.arch/vsx-regs.exp: Likewise.
6978 * gdb.base/dump.exp: Likewise.
6979 * gdb.base/funcargs.exp: Likewise.
6980 * gdb.base/gnu_vector.exp: Likewise.
6981 * gdb.dwarf2/formdata16.exp: Likewise.
6982 * gdb.dwarf2/implptrpiece.exp: Likewise.
6983 * gdb.dwarf2/nonvar-access.exp: Likewise.
6984 * gdb.python/py-inferior.exp: Likewise.
6985 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6987 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6990 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6991 stack value pieces are taken from the LSB end.
6993 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6995 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6996 variable at nonzero offset.
6998 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7000 * gdb.dwarf2/var-access.c: New file.
7001 * gdb.dwarf2/var-access.exp: New test.
7002 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7004 2017-06-12 Tom Tromey <tom@tromey.com>
7006 * gdb.dwarf2/formdata16.exp: Add tests.
7008 2017-06-12 Tom Tromey <tom@tromey.com>
7010 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7012 2017-06-12 Tom Tromey <tom@tromey.com>
7015 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7016 * gdb.arch/vsx-regs.exp: Update tests.
7017 * gdb.arch/s390-vregs.exp (hex128): New proc.
7019 * gdb.arch/altivec-regs.exp: Update tests.
7021 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7023 * gdb.base/startup-with-shell.c: New file.
7024 * gdb.base/startup-with-shell.exp: Likewise.
7026 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7028 * gdb.server/non-existing-program.exp: Update regex in order to
7029 reflect the fact that gdbserver is now using fork_inferior (with a
7030 shell) to startup the inferior.
7032 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7034 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7035 support function calls from GDB.
7037 2017-05-21 Tom Tromey <tom@tromey.com>
7040 * gdb.rust/unsized.exp: New file.
7041 * gdb.rust/unsized.rs: New file.
7043 2017-05-19 Tom Tromey <tom@tromey.com>
7046 * gdb.rust/watch.exp: New file.
7047 * gdb.rust/watch.rs: New file.
7049 2017-05-18 Tom Tromey <tom@tromey.com>
7051 * gdb.rust/simple.exp: Allow Box to be qualified.
7053 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7055 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7057 2017-05-18 Pedro Alves <palves@redhat.com>
7059 * gdb.base/fileio.c (test_write, test_read, test_close)
7060 (test_fstat): Don't print 'ret' in the fail path.
7062 2017-05-18 Pedro Alves <palves@redhat.com>
7064 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7065 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7066 (test_system, test_rename, test_unlink, test_time): Change
7068 * gdb.base/fileio.exp (stop_msg): Adjust.
7070 2017-05-18 Pedro Alves <palves@redhat.com>
7072 * gdb.base/fileio.c (null_str): New global.
7073 (test_stat): Use it.
7074 * gdb.base/fileio.exp: Remove nowarnings.
7076 2017-05-17 Yao Qi <yao.qi@linaro.org>
7078 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7080 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7082 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7084 (top-level): Invoke test_set_inferior_tty.
7086 2017-05-04 Pedro Alves <palves@redhat.com>
7088 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7089 Add parens to print call for Python 3.
7091 2017-05-03 Keith Seitz <keiths@redhat.com>
7093 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7096 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7098 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7101 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7103 * gdb.python/py-record-btrace.exp: Remove test for
7104 gdb.BtraceInstruction.error.
7106 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7108 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7110 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7112 * gdb.python/py-record-btrace-threads.c: New file.
7113 * gdb.python/py-record-btrace-threads.exp: New file.
7115 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7118 * gdb.base/environ.exp: Make test available in all architectures.
7119 Move bits related to "info program" testing to
7120 gdb.base/info-program.exp. Rewrite tests to use the two new
7121 procedures mentione below.
7122 (test_set_show_env_var) New procedure.
7123 (test_set_show_env_var_equal): Likewise.
7124 * gdb.base/info-program.exp: New file.
7126 2017-04-27 Keith Seitz <keiths@redhat.com>
7128 * gdb.cp/oranking.cc (test15): New function.
7129 (main): Call test15 and declare additional variables for testing.
7130 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7131 "p foo101('abc')" tests.
7132 Add tests for cv qualifier overloads.
7133 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7134 "lvalue reference overload" test.
7135 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7136 "print value of f1 on Child&& in f2" test.
7138 2017-04-19 Pedro Alves <palves@redhat.com>
7140 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7142 (top level): Call it.
7143 * lib/gdb.exp (gdb_define_cmd): New procedure.
7145 2017-04-12 Pedro Alves <palves@redhat.com>
7148 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7149 (wchar): New global.
7150 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7151 (do_test_wide_char, wide_char_types_no_program, top level): Add
7154 2017-04-12 Pedro Alves <palves@redhat.com>
7157 * gdb.cp/wide_char_types.c: New file.
7158 * gdb.cp/wide_char_types.exp: New file.
7160 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7163 * gdb.trace/tsv.exp: Add test for "tsave -r".
7165 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7167 * gdb.dlang/watch-loc.c: New file.
7168 * gdb.dlang/watch-loc.exp: New file.
7170 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7172 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7174 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7176 * gdb.arch/arc-analyze-prologue.S: New file.
7177 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7179 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7181 * gdb.arch/arc-decode-insn.S: New file.
7182 * gdb.arch/arc-decode-insn.exp: Likewise.
7184 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7187 * gdb.arch/sparc64-regs.exp: New file.
7188 * gdb.arch/sparc64-regs.S: Likewise.
7190 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7192 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7193 and memory view on Python 3.
7195 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7196 Keith Seitz <keiths@redhat.com>
7199 * gdb.cp/demangle.exp: Add rvalue reference tests.
7200 * gdb.cp/rvalue-ref-casts.cc: New file.
7201 * gdb.cp/rvalue-ref-casts.exp: New file.
7202 * gdb.cp/rvalue-ref-overload.cc: New file.
7203 * gdb.cp/rvalue-ref-overload.exp: New file.
7204 * gdb.cp/rvalue-ref-params.cc: New file.
7205 * gdb.cp/rvalue-ref-params.exp: New file.
7206 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7207 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7208 * gdb.cp/rvalue-ref-types.cc: New file.
7209 * gdb.cp/rvalue-ref-types.exp: New file.
7210 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7211 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7213 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7215 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7218 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7220 * lib/mi-support.exp (mi_gdb_test): Add additional message
7221 for unexpected output.
7223 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7225 * gdb.base/examine-backward.c (Barrier): New character array
7226 constant, to ensure that TestStrings is preceded by a string
7229 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7231 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7232 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7233 and implicit pointer into such a location.
7235 2017-03-16 Doug Evans <dje@google.com>
7237 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7239 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7241 * gdb.cp/m-static.exp: Fix expectation for prototype of
7242 test5.single_constructor and single_constructor::single_constructor.
7244 2017-03-16 Doug Evans <dje@google.com>
7246 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7247 * gdb.guile/scm-lazy-string.c: New file.
7248 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7249 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7250 for pointer, array, typedef lazy strings.
7252 2017-03-16 Doug Evans <dje@google.com>
7254 PR python/17728, python/18439, python/18779
7255 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7256 * gdb.python/py-lazy-string.c (pointer): New typedef.
7257 (main): New locals ptr, array, typedef_ptr.
7258 * gdb.python/py-value.exp: Move lazy string tests to ...
7259 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7260 array, typedef lazy strings.
7262 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7264 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7265 Add optional 'test' parameter.
7267 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7269 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7270 Skip for versions of DejaGnu < 1.5.
7272 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7274 * lib/gdb.exp (dejagnu_version): New proc.
7275 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7276 Use dejagnu_version.
7278 2017-03-10 Keith Seitz <keiths@redhat.com>
7281 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7282 type from destructor regexps.
7283 Add a branch which actually passes the test.
7284 Adjust "ptype t5i" test names.
7286 2017-03-08 Pedro Alves <palves@redhat.com>
7288 * gdb.base/step-over-exit.exp: Add explicit test message.
7290 2017-03-08 Pedro Alves <palves@redhat.com>
7293 * gdb.threads/interrupt-while-step-over.c: New file.
7294 * gdb.threads/interrupt-while-step-over.exp: New file.
7296 2017-03-08 Pedro Alves <palves@redhat.com>
7298 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7299 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7301 2017-03-08 Pedro Alves <palves@redhat.com>
7303 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7304 PKRU as not supported as a PASS.
7306 2017-03-08 Pedro Alves <palves@redhat.com>
7308 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7309 prefix instead of $binfile1/$binfile2.
7310 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7312 * gdb.python/py-completion.exp: Use "load python file" as test
7313 messages instead of unstable path names.
7315 2017-03-08 Pedro Alves <palves@redhat.com>
7316 Jan Kratochvil <jan.kratochvil@redhat.com>
7319 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7321 (top level): Call it.
7323 2017-03-08 Pedro Alves <palves@redhat.com>
7326 * gdb.tui/tui-nl-filtered-output.exp: New file.
7328 2017-03-08 Pedro Alves <palves@redhat.com>
7330 * gdb.base/completion.exp: Move TUI completion tests to ...
7331 * gdb.tui/completion.exp: ... this new file.
7333 2017-03-08 Pedro Alves <palves@redhat.com>
7335 * gdb.base/tui-disasm-long-lines.c,
7336 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7337 gdb.base/tui-layout.exp: Move to ...
7338 * gdb.tui/: ... this new directory.
7340 2017-03-07 Pedro Alves <palves@redhat.com>
7342 * gdb.base/tui-layout.c: New file.
7343 * gdb.base/tui-layout.exp: New file.
7345 2017-03-07 Pedro Alves <palves@redhat.com>
7347 * gdb.base/tui-layout.c: Rename to ...
7348 * gdb.base/tui-disasm-long-lines.c: ... this.
7349 * gdb.base/tui-layout.exp: Rename to ...
7350 * gdb.base/tui-disasm-long-lines.exp: ... this.
7352 2017-03-07 Pedro Alves <palves@redhat.com>
7354 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7356 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7358 * i386-mpx-call.c: New file.
7359 * i386-mpx-call.exp: New file.
7361 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7363 * gdb.arch/powerpc-power.exp: Delete test.
7364 * gdb.arch/powerpc-power.s: Likewise.
7365 * gdb.disasm/disassembler-options.exp: New test.
7366 * gdb.arch/powerpc-altivec.exp: Likewise.
7367 * gdb.arch/powerpc-altivec.s: Likewise.
7368 * gdb.arch/powerpc-altivec2.exp: Likewise.
7369 * gdb.arch/powerpc-altivec2.s: Likewise.
7370 * gdb.arch/powerpc-altivec3.exp: Likewise.
7371 * gdb.arch/powerpc-altivec3.s: Likewise.
7372 * gdb.arch/powerpc-power7.exp: Likewise.
7373 * gdb.arch/powerpc-power7.s: Likewise.
7374 * gdb.arch/powerpc-power8.exp: Likewise.
7375 * gdb.arch/powerpc-power8.s: Likewise.
7376 * gdb.arch/powerpc-power9.exp: Likewise.
7377 * gdb.arch/powerpc-power9.s: Likewise.
7378 * gdb.arch/powerpc-vsx.exp: Likewise.
7379 * gdb.arch/powerpc-vsx.s: Likewise.
7380 * gdb.arch/powerpc-vsx2.exp: Likewise.
7381 * gdb.arch/powerpc-vsx2.s: Likewise.
7382 * gdb.arch/powerpc-vsx3.exp: Likewise.
7383 * gdb.arch/powerpc-vsx3.s: Likewise.
7384 * gdb.arch/arm-disassembler-options.exp: Likewise.
7385 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7386 * gdb.arch/s390-disassembler-options.exp: Likewise.
7388 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7390 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7391 (check_supported_features): ... this. Changed return type to void.
7392 (supports_rdseed): New static global.
7393 (rdseed): Check supports_rdseed.
7394 (initialize): Call check_supported_features.
7396 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7398 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7399 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7401 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7402 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7404 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7406 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7409 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7411 * gdb.dwarf2/formdata16.c: New file.
7412 * gdb.dwarf2/formdata16.exp: New file.
7413 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7415 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7417 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7418 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7419 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7420 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7423 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7425 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7427 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7430 * gdb.base/maint.exp: Add testcases for when the commands do
7433 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7435 * gdb.cp/chained-calls.exp: Use p instead of P.
7437 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7439 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7440 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7442 2017-02-14 Tom Tromey <tom@tromey.com>
7445 * gdb.python/py-events.exp: Add before_prompt event tests.
7447 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7449 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7451 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7453 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7454 (main): Call my_unique_function_name.
7455 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7456 completion of patterns with a single match.
7457 Add missing -re switches to gdb_test_multiple calls.
7459 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7461 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7462 return if core file is not recognized.
7464 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7466 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7469 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7471 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7474 2017-02-10 Tom Tromey <tom@tromey.com>
7476 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7478 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7481 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7483 2017-02-08 Jerome Guitton <guitton@adacore.com>
7485 * gdb.base/define.exp: Add test for command abbreviations
7488 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7490 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7491 * gdb.reverse/insn-reverse-x86.c: New file.
7493 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7496 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7498 2017-02-03 Tom Tromey <tom@tromey.com>
7501 * gdb.rust/simple.exp: Add new tests.
7503 2017-02-02 Pedro Alves <palves@redhat.com>
7505 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7508 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7510 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7511 taking a 2-byte value out of a 4-byte DWARF implicit value on
7513 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7514 logic. Add test cases for DW_OP_implicit.
7516 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7518 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7520 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7522 * gdb.btrace/enable.exp: Call gdb_exit before
7523 skip_gdbserver_tests.
7525 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7527 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7530 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7532 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7533 the test is skipped.
7534 * gdb.btrace/data.exp: Likewise.
7535 * gdb.btrace/delta.exp: Likewise.
7536 * gdb.btrace/dlopen.exp: Likewise.
7537 * gdb.btrace/enable-running.exp: Likewise.
7538 * gdb.btrace/enable.exp: Likewise.
7539 * gdb.btrace/exception.exp: Likewise.
7540 * gdb.btrace/function_call_history.exp: Likewise.
7541 * gdb.btrace/gcore.exp: Likewise.
7542 * gdb.btrace/instruction_history.exp: Likewise.
7543 * gdb.btrace/multi-thread-step.exp: Likewise.
7544 * gdb.btrace/nohist.exp: Likewise.
7545 * gdb.btrace/non-stop.exp: Likewise.
7546 * gdb.btrace/reconnect.exp: Likewise.
7547 * gdb.btrace/record_goto-step.exp: Likewise.
7548 * gdb.btrace/record_goto.exp: Likewise.
7549 * gdb.btrace/rn-dl-bind.exp: Likewise.
7550 * gdb.btrace/segv.exp: Likewise.
7551 * gdb.btrace/step.exp: Likewise.
7552 * gdb.btrace/stepi.exp: Likewise.
7553 * gdb.btrace/tailcall-only.exp: Likewise.
7554 * gdb.btrace/tailcall.exp: Likewise.
7555 * gdb.btrace/tsx.exp: Likewise.
7556 * gdb.btrace/unknown_functions.exp: Likewise.
7557 * gdb.btrace/vdso.exp: Likewise.
7559 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7561 * gdb.btrace/enable-running.c: New.
7562 * gdb.btrace/enable-running.exp: New.
7564 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7566 * gdb.arch/amd64-gs_base.c: New file.
7567 * gdb.arch/amd64-gs_base.exp: New file.
7569 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7571 * lib/memory.exp: Remove spurious empty newlines.
7573 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7575 * gdb.python/py-bad-printers.exp: Load python file using "source".
7576 * gdb.python/py-events.exp: Likewise.
7577 * gdb.python/py-evsignal.exp: Likewise.
7578 * gdb.python/py-evthreads.exp: Likewise.
7579 * gdb.python/py-frame-args.exp: Likewise.
7580 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7581 * gdb.python/py-framefilter-mi.exp: Likewise.
7582 * gdb.python/py-framefilter.exp: Likewise.
7583 * gdb.python/py-mi.exp: Likewise.
7584 * gdb.python/py-pp-maint.exp: Likewise.
7585 * gdb.python/py-pp-registration.exp: Likewise.
7586 * gdb.python/py-prettyprint.exp: Likewise.
7587 (run_lang_tests): Likewise.
7588 * gdb.python/py-typeprint.exp: Likewise.
7590 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7592 * lib/memory.exp: New file.
7593 * lib/gdb.exp: Load memory.exp.
7594 * gdb.base/memattr.exp (delete_memory): Move proc to
7595 lib/memory.exp and rename to delete_memory_regions.
7596 Replace delete_memory with delete_memory_regions.
7597 Cleanup memory regions before tests.
7598 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7601 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7603 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7605 (initialize): New function conditionally defined.
7606 (testcases): Move within conditional block.
7607 (main): Call initialize.
7608 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7609 of gdb.reverse/insn-reverse.c.
7610 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7611 gdb.reverse/insn-reverse.c.
7613 2017-01-26 Yao Qi <yao.qi@linaro.org>
7615 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7616 disassemble on address 0.
7618 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7619 Yao Qi <yao.qi@linaro.org>
7621 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7622 * gdb.dwarf2/implptr-64bit.S: Remove.
7623 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7624 variables in caller's context. Add DW_OP_implicit_value.
7626 2017-01-25 Yao Qi <yao.qi@linaro.org>
7628 * lib/dwarf.exp (Dwarf::_location): Handle
7629 DW_OP_GNU_implicit_pointer with proper size.
7631 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7633 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7634 and add untested calls.
7636 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7638 * gdb.python/python.exp: Check line number against what GDB thinks
7639 the line number is for func1.
7641 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7643 * gdb.dlang/debug-expr.exp: New file.
7645 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7647 Fix test names for the following files:
7649 * gdb.ada/exec_changed.exp
7650 * gdb.ada/info_types.exp
7651 * gdb.arch/aarch64-atomic-inst.exp
7652 * gdb.arch/aarch64-fp.exp
7653 * gdb.arch/altivec-abi.exp
7654 * gdb.arch/altivec-regs.exp
7655 * gdb.arch/amd64-byte.exp
7656 * gdb.arch/amd64-disp-step.exp
7657 * gdb.arch/amd64-dword.exp
7658 * gdb.arch/amd64-entry-value-inline.exp
7659 * gdb.arch/amd64-entry-value-param.exp
7660 * gdb.arch/amd64-entry-value-paramref.exp
7661 * gdb.arch/amd64-entry-value.exp
7662 * gdb.arch/amd64-i386-address.exp
7663 * gdb.arch/amd64-invalid-stack-middle.exp
7664 * gdb.arch/amd64-invalid-stack-top.exp
7665 * gdb.arch/amd64-optimout-repeat.exp
7666 * gdb.arch/amd64-prologue-skip.exp
7667 * gdb.arch/amd64-prologue-xmm.exp
7668 * gdb.arch/amd64-stap-special-operands.exp
7669 * gdb.arch/amd64-stap-wrong-subexp.exp
7670 * gdb.arch/amd64-tailcall-cxx.exp
7671 * gdb.arch/amd64-tailcall-noret.exp
7672 * gdb.arch/amd64-tailcall-ret.exp
7673 * gdb.arch/amd64-tailcall-self.exp
7674 * gdb.arch/amd64-word.exp
7675 * gdb.arch/arm-bl-branch-dest.exp
7676 * gdb.arch/arm-disp-step.exp
7677 * gdb.arch/arm-neon.exp
7678 * gdb.arch/arm-single-step-kernel-helper.exp
7679 * gdb.arch/avr-flash-qualifier.exp
7680 * gdb.arch/disp-step-insn-reloc.exp
7681 * gdb.arch/e500-abi.exp
7682 * gdb.arch/e500-regs.exp
7683 * gdb.arch/ftrace-insn-reloc.exp
7684 * gdb.arch/i386-avx512.exp
7685 * gdb.arch/i386-bp_permanent.exp
7686 * gdb.arch/i386-byte.exp
7687 * gdb.arch/i386-cfi-notcurrent.exp
7688 * gdb.arch/i386-disp-step.exp
7689 * gdb.arch/i386-dr3-watch.exp
7690 * gdb.arch/i386-float.exp
7691 * gdb.arch/i386-gnu-cfi.exp
7692 * gdb.arch/i386-mpx-map.exp
7693 * gdb.arch/i386-mpx-sigsegv.exp
7694 * gdb.arch/i386-mpx-simple_segv.exp
7695 * gdb.arch/i386-mpx.exp
7696 * gdb.arch/i386-permbkpt.exp
7697 * gdb.arch/i386-prologue.exp
7698 * gdb.arch/i386-signal.exp
7699 * gdb.arch/i386-size-overlap.exp
7700 * gdb.arch/i386-unwind.exp
7701 * gdb.arch/i386-word.exp
7702 * gdb.arch/mips-fcr.exp
7703 * gdb.arch/powerpc-d128-regs.exp
7704 * gdb.arch/powerpc-stackless.exp
7705 * gdb.arch/ppc64-atomic-inst.exp
7706 * gdb.arch/s390-stackless.exp
7707 * gdb.arch/s390-tdbregs.exp
7708 * gdb.arch/s390-vregs.exp
7709 * gdb.arch/sparc-sysstep.exp
7710 * gdb.arch/thumb-bx-pc.exp
7711 * gdb.arch/thumb-singlestep.exp
7712 * gdb.arch/thumb2-it.exp
7713 * gdb.arch/vsx-regs.exp
7714 * gdb.asm/asm-source.exp
7715 * gdb.base/a2-run.exp
7716 * gdb.base/advance.exp
7717 * gdb.base/all-bin.exp
7720 * gdb.base/arithmet.exp
7721 * gdb.base/async-shell.exp
7722 * gdb.base/async.exp
7723 * gdb.base/attach-pie-noexec.exp
7724 * gdb.base/attach-twice.exp
7725 * gdb.base/auto-load.exp
7727 * gdb.base/bitfields.exp
7728 * gdb.base/break-always.exp
7729 * gdb.base/break-caller-line.exp
7730 * gdb.base/break-entry.exp
7731 * gdb.base/break-inline.exp
7732 * gdb.base/break-on-linker-gcd-function.exp
7733 * gdb.base/break-probes.exp
7734 * gdb.base/break.exp
7735 * gdb.base/breakpoint-shadow.exp
7736 * gdb.base/call-ar-st.exp
7737 * gdb.base/call-sc.exp
7738 * gdb.base/call-signal-resume.exp
7739 * gdb.base/call-strs.exp
7740 * gdb.base/callfuncs.exp
7741 * gdb.base/catch-fork-static.exp
7742 * gdb.base/catch-gdb-caused-signals.exp
7743 * gdb.base/catch-load.exp
7744 * gdb.base/catch-signal-fork.exp
7745 * gdb.base/catch-signal.exp
7746 * gdb.base/catch-syscall.exp
7747 * gdb.base/charset.exp
7748 * gdb.base/checkpoint.exp
7749 * gdb.base/chng-syms.exp
7750 * gdb.base/code-expr.exp
7751 * gdb.base/code_elim.exp
7752 * gdb.base/commands.exp
7753 * gdb.base/completion.exp
7754 * gdb.base/complex.exp
7755 * gdb.base/cond-expr.exp
7756 * gdb.base/condbreak.exp
7757 * gdb.base/consecutive.exp
7758 * gdb.base/continue-all-already-running.exp
7759 * gdb.base/coredump-filter.exp
7760 * gdb.base/corefile.exp
7762 * gdb.base/debug-expr.exp
7763 * gdb.base/define.exp
7765 * gdb.base/disabled-location.exp
7766 * gdb.base/disasm-end-cu.exp
7767 * gdb.base/disasm-optim.exp
7768 * gdb.base/display.exp
7769 * gdb.base/duplicate-bp.exp
7770 * gdb.base/ena-dis-br.exp
7771 * gdb.base/ending-run.exp
7772 * gdb.base/enumval.exp
7773 * gdb.base/environ.exp
7774 * gdb.base/eu-strip-infcall.exp
7775 * gdb.base/eval-avoid-side-effects.exp
7776 * gdb.base/eval-skip.exp
7777 * gdb.base/exitsignal.exp
7778 * gdb.base/expand-psymtabs.exp
7779 * gdb.base/filesym.exp
7780 * gdb.base/find-unmapped.exp
7781 * gdb.base/finish.exp
7782 * gdb.base/float.exp
7783 * gdb.base/foll-exec-mode.exp
7784 * gdb.base/foll-exec.exp
7785 * gdb.base/foll-fork.exp
7786 * gdb.base/fortran-sym-case.exp
7787 * gdb.base/freebpcmd.exp
7788 * gdb.base/func-ptr.exp
7789 * gdb.base/func-ptrs.exp
7790 * gdb.base/funcargs.exp
7791 * gdb.base/gcore-buffer-overflow.exp
7792 * gdb.base/gcore-relro-pie.exp
7793 * gdb.base/gcore-relro.exp
7794 * gdb.base/gcore.exp
7795 * gdb.base/gdb1090.exp
7796 * gdb.base/gdb11530.exp
7797 * gdb.base/gdb11531.exp
7798 * gdb.base/gdb1821.exp
7799 * gdb.base/gdbindex-stabs.exp
7800 * gdb.base/gdbvars.exp
7801 * gdb.base/hbreak.exp
7802 * gdb.base/hbreak2.exp
7803 * gdb.base/included.exp
7804 * gdb.base/infcall-input.exp
7805 * gdb.base/inferior-died.exp
7806 * gdb.base/infnan.exp
7807 * gdb.base/info-macros.exp
7808 * gdb.base/info-os.exp
7809 * gdb.base/info-proc.exp
7810 * gdb.base/info-shared.exp
7811 * gdb.base/info-target.exp
7812 * gdb.base/infoline.exp
7813 * gdb.base/interp.exp
7814 * gdb.base/interrupt.exp
7815 * gdb.base/jit-reader.exp
7816 * gdb.base/jit-simple.exp
7817 * gdb.base/kill-after-signal.exp
7818 * gdb.base/kill-detach-inferiors-cmd.exp
7819 * gdb.base/label.exp
7820 * gdb.base/langs.exp
7821 * gdb.base/ldbl_e308.exp
7822 * gdb.base/line-symtabs.exp
7823 * gdb.base/linespecs.exp
7825 * gdb.base/long_long.exp
7826 * gdb.base/longest-types.exp
7827 * gdb.base/maint.exp
7828 * gdb.base/max-value-size.exp
7829 * gdb.base/memattr.exp
7830 * gdb.base/mips_pro.exp
7831 * gdb.base/morestack.exp
7832 * gdb.base/moribund-step.exp
7833 * gdb.base/multi-forks.exp
7834 * gdb.base/nested-addr.exp
7835 * gdb.base/nextoverexit.exp
7836 * gdb.base/noreturn-finish.exp
7837 * gdb.base/noreturn-return.exp
7838 * gdb.base/nostdlib.exp
7839 * gdb.base/offsets.exp
7840 * gdb.base/opaque.exp
7841 * gdb.base/pc-fp.exp
7842 * gdb.base/permissions.exp
7843 * gdb.base/print-symbol-loading.exp
7844 * gdb.base/prologue-include.exp
7845 * gdb.base/psymtab.exp
7846 * gdb.base/ptype.exp
7847 * gdb.base/random-signal.exp
7848 * gdb.base/randomize.exp
7849 * gdb.base/range-stepping.exp
7850 * gdb.base/readline-ask.exp
7851 * gdb.base/recpar.exp
7852 * gdb.base/recurse.exp
7853 * gdb.base/relational.exp
7854 * gdb.base/restore.exp
7855 * gdb.base/return-nodebug.exp
7856 * gdb.base/return.exp
7857 * gdb.base/run-after-attach.exp
7858 * gdb.base/save-bp.exp
7859 * gdb.base/scope.exp
7860 * gdb.base/sect-cmd.exp
7861 * gdb.base/set-lang-auto.exp
7862 * gdb.base/set-noassign.exp
7863 * gdb.base/setvar.exp
7864 * gdb.base/sigall.exp
7865 * gdb.base/sigbpt.exp
7866 * gdb.base/siginfo-addr.exp
7867 * gdb.base/siginfo-infcall.exp
7868 * gdb.base/siginfo-obj.exp
7869 * gdb.base/siginfo.exp
7870 * gdb.base/signals-state-child.exp
7871 * gdb.base/signest.exp
7872 * gdb.base/sigstep.exp
7873 * gdb.base/sizeof.exp
7875 * gdb.base/solib-corrupted.exp
7876 * gdb.base/solib-nodir.exp
7877 * gdb.base/solib-search.exp
7878 * gdb.base/stack-checking.exp
7879 * gdb.base/stale-infcall.exp
7880 * gdb.base/stap-probe.exp
7881 * gdb.base/start.exp
7882 * gdb.base/step-break.exp
7883 * gdb.base/step-bt.exp
7884 * gdb.base/step-line.exp
7885 * gdb.base/step-over-exit.exp
7886 * gdb.base/step-over-syscall.exp
7887 * gdb.base/step-resume-infcall.exp
7888 * gdb.base/step-test.exp
7889 * gdb.base/store.exp
7890 * gdb.base/structs3.exp
7891 * gdb.base/sym-file.exp
7892 * gdb.base/symbol-without-target_section.exp
7894 * gdb.base/testenv.exp
7895 * gdb.base/ui-redirect.exp
7896 * gdb.base/until.exp
7897 * gdb.base/unwindonsignal.exp
7898 * gdb.base/value-double-free.exp
7899 * gdb.base/vla-datatypes.exp
7900 * gdb.base/vla-ptr.exp
7901 * gdb.base/vla-sideeffect.exp
7902 * gdb.base/volatile.exp
7903 * gdb.base/watch-cond-infcall.exp
7904 * gdb.base/watch-cond.exp
7905 * gdb.base/watch-non-mem.exp
7906 * gdb.base/watch-read.exp
7907 * gdb.base/watch-vfork.exp
7908 * gdb.base/watchpoint-cond-gone.exp
7909 * gdb.base/watchpoint-delete.exp
7910 * gdb.base/watchpoint-hw-hit-once.exp
7911 * gdb.base/watchpoint-hw.exp
7912 * gdb.base/watchpoint-stops-at-right-insn.exp
7913 * gdb.base/watchpoints.exp
7914 * gdb.base/wchar.exp
7915 * gdb.base/whatis-exp.exp
7916 * gdb.btrace/buffer-size.exp
7917 * gdb.btrace/data.exp
7918 * gdb.btrace/delta.exp
7919 * gdb.btrace/dlopen.exp
7920 * gdb.btrace/enable.exp
7921 * gdb.btrace/exception.exp
7922 * gdb.btrace/function_call_history.exp
7923 * gdb.btrace/gcore.exp
7924 * gdb.btrace/instruction_history.exp
7925 * gdb.btrace/nohist.exp
7926 * gdb.btrace/reconnect.exp
7927 * gdb.btrace/record_goto-step.exp
7928 * gdb.btrace/record_goto.exp
7929 * gdb.btrace/rn-dl-bind.exp
7930 * gdb.btrace/segv.exp
7931 * gdb.btrace/step.exp
7932 * gdb.btrace/stepi.exp
7933 * gdb.btrace/tailcall-only.exp
7934 * gdb.btrace/tailcall.exp
7935 * gdb.btrace/tsx.exp
7936 * gdb.btrace/unknown_functions.exp
7937 * gdb.btrace/vdso.exp
7938 * gdb.compile/compile-ifunc.exp
7939 * gdb.compile/compile-ops.exp
7940 * gdb.compile/compile-print.exp
7941 * gdb.compile/compile-setjmp.exp
7942 * gdb.cp/abstract-origin.exp
7943 * gdb.cp/ambiguous.exp
7944 * gdb.cp/annota2.exp
7945 * gdb.cp/annota3.exp
7946 * gdb.cp/anon-ns.exp
7947 * gdb.cp/anon-struct.exp
7948 * gdb.cp/anon-union.exp
7949 * gdb.cp/arg-reference.exp
7950 * gdb.cp/baseenum.exp
7952 * gdb.cp/breakpoint.exp
7953 * gdb.cp/bs15503.exp
7956 * gdb.cp/chained-calls.exp
7958 * gdb.cp/classes.exp
7959 * gdb.cp/cmpd-minsyms.exp
7960 * gdb.cp/converts.exp
7961 * gdb.cp/cp-relocate.exp
7962 * gdb.cp/cpcompletion.exp
7963 * gdb.cp/cpexprs.exp
7964 * gdb.cp/cplabel.exp
7965 * gdb.cp/cplusfuncs.exp
7966 * gdb.cp/cpsizeof.exp
7968 * gdb.cp/derivation.exp
7969 * gdb.cp/destrprint.exp
7970 * gdb.cp/dispcxx.exp
7971 * gdb.cp/enum-class.exp
7972 * gdb.cp/exception.exp
7973 * gdb.cp/exceptprint.exp
7974 * gdb.cp/expand-psymtabs-cxx.exp
7975 * gdb.cp/expand-sals.exp
7976 * gdb.cp/extern-c.exp
7977 * gdb.cp/filename.exp
7978 * gdb.cp/formatted-ref.exp
7979 * gdb.cp/fpointer.exp
7980 * gdb.cp/gdb1355.exp
7981 * gdb.cp/gdb2495.exp
7983 * gdb.cp/impl-this.exp
7984 * gdb.cp/infcall-dlopen.exp
7985 * gdb.cp/inherit.exp
7986 * gdb.cp/iostream.exp
7990 * gdb.cp/m-static.exp
7991 * gdb.cp/mb-ctor.exp
7992 * gdb.cp/mb-inline.exp
7993 * gdb.cp/mb-templates.exp
7994 * gdb.cp/member-name.exp
7995 * gdb.cp/member-ptr.exp
7996 * gdb.cp/meth-typedefs.exp
7998 * gdb.cp/method2.exp
7999 * gdb.cp/minsym-fallback.exp
8001 * gdb.cp/namelessclass.exp
8002 * gdb.cp/namespace-enum.exp
8003 * gdb.cp/namespace-nested-import.exp
8004 * gdb.cp/namespace.exp
8005 * gdb.cp/nextoverthrow.exp
8006 * gdb.cp/no-dmgl-verbose.exp
8007 * gdb.cp/non-trivial-retval.exp
8008 * gdb.cp/noparam.exp
8010 * gdb.cp/nsimport.exp
8011 * gdb.cp/nsnested.exp
8012 * gdb.cp/nsnoimports.exp
8013 * gdb.cp/nsrecurs.exp
8014 * gdb.cp/nsstress.exp
8015 * gdb.cp/nsusing.exp
8016 * gdb.cp/operator.exp
8017 * gdb.cp/oranking.exp
8018 * gdb.cp/overload-const.exp
8019 * gdb.cp/overload.exp
8020 * gdb.cp/ovldbreak.exp
8022 * gdb.cp/paren-type.exp
8023 * gdb.cp/parse-lang.exp
8024 * gdb.cp/pass-by-ref.exp
8025 * gdb.cp/pr-1023.exp
8026 * gdb.cp/pr-1210.exp
8028 * gdb.cp/pr10687.exp
8029 * gdb.cp/pr12028.exp
8030 * gdb.cp/pr17132.exp
8031 * gdb.cp/pr17494.exp
8035 * gdb.cp/printmethod.exp
8037 * gdb.cp/psymtab-parameter.exp
8038 * gdb.cp/ptype-cv-cp.exp
8039 * gdb.cp/ptype-flags.exp
8040 * gdb.cp/re-set-overloaded.exp
8041 * gdb.cp/ref-types.exp
8043 * gdb.cp/scope-err.exp
8046 * gdb.cp/static-method.exp
8047 * gdb.cp/static-print-quit.exp
8048 * gdb.cp/temargs.exp
8049 * gdb.cp/templates.exp
8050 * gdb.cp/try_catch.exp
8051 * gdb.cp/typedef-operator.exp
8053 * gdb.cp/userdef.exp
8054 * gdb.cp/using-crash.exp
8055 * gdb.cp/var-tag.exp
8056 * gdb.cp/virtbase.exp
8057 * gdb.cp/virtfunc.exp
8058 * gdb.cp/virtfunc2.exp
8059 * gdb.cp/vla-cxx.exp
8060 * gdb.disasm/t01_mov.exp
8061 * gdb.disasm/t02_mova.exp
8062 * gdb.disasm/t03_add.exp
8063 * gdb.disasm/t04_sub.exp
8064 * gdb.disasm/t05_cmp.exp
8065 * gdb.disasm/t06_ari2.exp
8066 * gdb.disasm/t07_ari3.exp
8067 * gdb.disasm/t08_or.exp
8068 * gdb.disasm/t09_xor.exp
8069 * gdb.disasm/t10_and.exp
8070 * gdb.disasm/t11_logs.exp
8071 * gdb.disasm/t12_bit.exp
8072 * gdb.disasm/t13_otr.exp
8073 * gdb.dlang/circular.exp
8074 * gdb.dwarf2/arr-stride.exp
8075 * gdb.dwarf2/arr-subrange.exp
8076 * gdb.dwarf2/atomic-type.exp
8077 * gdb.dwarf2/bad-regnum.exp
8078 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8079 * gdb.dwarf2/callframecfa.exp
8080 * gdb.dwarf2/clztest.exp
8081 * gdb.dwarf2/corrupt.exp
8082 * gdb.dwarf2/data-loc.exp
8083 * gdb.dwarf2/dup-psym.exp
8084 * gdb.dwarf2/dw2-anon-mptr.exp
8085 * gdb.dwarf2/dw2-anonymous-func.exp
8086 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8087 * gdb.dwarf2/dw2-bad-unresolved.exp
8088 * gdb.dwarf2/dw2-basic.exp
8089 * gdb.dwarf2/dw2-canonicalize-type.exp
8090 * gdb.dwarf2/dw2-case-insensitive.exp
8091 * gdb.dwarf2/dw2-common-block.exp
8092 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8093 * gdb.dwarf2/dw2-compressed.exp
8094 * gdb.dwarf2/dw2-const.exp
8095 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8096 * gdb.dwarf2/dw2-cu-size.exp
8097 * gdb.dwarf2/dw2-dup-frame.exp
8098 * gdb.dwarf2/dw2-entry-value.exp
8099 * gdb.dwarf2/dw2-icycle.exp
8100 * gdb.dwarf2/dw2-ifort-parameter.exp
8101 * gdb.dwarf2/dw2-inline-break.exp
8102 * gdb.dwarf2/dw2-inline-param.exp
8103 * gdb.dwarf2/dw2-intercu.exp
8104 * gdb.dwarf2/dw2-intermix.exp
8105 * gdb.dwarf2/dw2-lexical-block-bare.exp
8106 * gdb.dwarf2/dw2-linkage-name-trust.exp
8107 * gdb.dwarf2/dw2-minsym-in-cu.exp
8108 * gdb.dwarf2/dw2-noloc.exp
8109 * gdb.dwarf2/dw2-op-call.exp
8110 * gdb.dwarf2/dw2-op-out-param.exp
8111 * gdb.dwarf2/dw2-opt-structptr.exp
8112 * gdb.dwarf2/dw2-param-error.exp
8113 * gdb.dwarf2/dw2-producer.exp
8114 * gdb.dwarf2/dw2-ranges-base.exp
8115 * gdb.dwarf2/dw2-ref-missing-frame.exp
8116 * gdb.dwarf2/dw2-reg-undefined.exp
8117 * gdb.dwarf2/dw2-regno-invalid.exp
8118 * gdb.dwarf2/dw2-restore.exp
8119 * gdb.dwarf2/dw2-restrict.exp
8120 * gdb.dwarf2/dw2-single-line-discriminators.exp
8121 * gdb.dwarf2/dw2-strp.exp
8122 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8123 * gdb.dwarf2/dw2-unresolved.exp
8124 * gdb.dwarf2/dw2-var-zero-addr.exp
8125 * gdb.dwarf2/dw4-sig-types.exp
8126 * gdb.dwarf2/dwz.exp
8127 * gdb.dwarf2/dynarr-ptr.exp
8128 * gdb.dwarf2/enum-type.exp
8129 * gdb.dwarf2/gdb-index.exp
8130 * gdb.dwarf2/implptr-64bit.exp
8131 * gdb.dwarf2/implptr-optimized-out.exp
8132 * gdb.dwarf2/implptr.exp
8133 * gdb.dwarf2/implref-array.exp
8134 * gdb.dwarf2/implref-const.exp
8135 * gdb.dwarf2/implref-global.exp
8136 * gdb.dwarf2/implref-struct.exp
8137 * gdb.dwarf2/mac-fileno.exp
8138 * gdb.dwarf2/main-subprogram.exp
8139 * gdb.dwarf2/member-ptr-forwardref.exp
8140 * gdb.dwarf2/method-ptr.exp
8141 * gdb.dwarf2/missing-sig-type.exp
8142 * gdb.dwarf2/nonvar-access.exp
8143 * gdb.dwarf2/opaque-type-lookup.exp
8144 * gdb.dwarf2/pieces-optimized-out.exp
8145 * gdb.dwarf2/pieces.exp
8146 * gdb.dwarf2/pr10770.exp
8147 * gdb.dwarf2/pr13961.exp
8148 * gdb.dwarf2/staticvirtual.exp
8149 * gdb.dwarf2/subrange.exp
8150 * gdb.dwarf2/symtab-producer.exp
8151 * gdb.dwarf2/trace-crash.exp
8152 * gdb.dwarf2/typeddwarf.exp
8153 * gdb.dwarf2/valop.exp
8154 * gdb.dwarf2/watch-notconst.exp
8155 * gdb.fortran/array-element.exp
8156 * gdb.fortran/charset.exp
8157 * gdb.fortran/common-block.exp
8158 * gdb.fortran/complex.exp
8159 * gdb.fortran/derived-type-function.exp
8160 * gdb.fortran/derived-type.exp
8161 * gdb.fortran/logical.exp
8162 * gdb.fortran/module.exp
8163 * gdb.fortran/multi-dim.exp
8164 * gdb.fortran/nested-funcs.exp
8165 * gdb.fortran/print-formatted.exp
8166 * gdb.fortran/subarray.exp
8167 * gdb.fortran/vla-alloc-assoc.exp
8168 * gdb.fortran/vla-datatypes.exp
8169 * gdb.fortran/vla-history.exp
8170 * gdb.fortran/vla-ptr-info.exp
8171 * gdb.fortran/vla-ptype-sub.exp
8172 * gdb.fortran/vla-ptype.exp
8173 * gdb.fortran/vla-sizeof.exp
8174 * gdb.fortran/vla-type.exp
8175 * gdb.fortran/vla-value-sub-arbitrary.exp
8176 * gdb.fortran/vla-value-sub-finish.exp
8177 * gdb.fortran/vla-value-sub.exp
8178 * gdb.fortran/vla-value.exp
8179 * gdb.fortran/whatis_type.exp
8181 * gdb.go/handcall.exp
8183 * gdb.go/integers.exp
8184 * gdb.go/methods.exp
8185 * gdb.go/package.exp
8186 * gdb.go/strings.exp
8189 * gdb.guile/scm-arch.exp
8190 * gdb.guile/scm-block.exp
8191 * gdb.guile/scm-breakpoint.exp
8192 * gdb.guile/scm-cmd.exp
8193 * gdb.guile/scm-disasm.exp
8194 * gdb.guile/scm-equal.exp
8195 * gdb.guile/scm-frame-args.exp
8196 * gdb.guile/scm-frame-inline.exp
8197 * gdb.guile/scm-frame.exp
8198 * gdb.guile/scm-iterator.exp
8199 * gdb.guile/scm-math.exp
8200 * gdb.guile/scm-objfile.exp
8201 * gdb.guile/scm-ports.exp
8202 * gdb.guile/scm-symbol.exp
8203 * gdb.guile/scm-symtab.exp
8204 * gdb.guile/scm-value-cc.exp
8205 * gdb.guile/types-module.exp
8206 * gdb.linespec/break-ask.exp
8207 * gdb.linespec/cpexplicit.exp
8208 * gdb.linespec/explicit.exp
8209 * gdb.linespec/keywords.exp
8210 * gdb.linespec/linespec.exp
8211 * gdb.linespec/ls-dollar.exp
8212 * gdb.linespec/ls-errs.exp
8213 * gdb.linespec/skip-two.exp
8214 * gdb.linespec/thread.exp
8215 * gdb.mi/mi-async.exp
8216 * gdb.mi/mi-basics.exp
8217 * gdb.mi/mi-break.exp
8218 * gdb.mi/mi-catch-load.exp
8220 * gdb.mi/mi-cmd-param-changed.exp
8221 * gdb.mi/mi-console.exp
8222 * gdb.mi/mi-detach.exp
8223 * gdb.mi/mi-disassemble.exp
8224 * gdb.mi/mi-eval.exp
8225 * gdb.mi/mi-file-transfer.exp
8226 * gdb.mi/mi-file.exp
8227 * gdb.mi/mi-fill-memory.exp
8228 * gdb.mi/mi-inheritance-syntax-error.exp
8229 * gdb.mi/mi-linespec-err-cp.exp
8230 * gdb.mi/mi-logging.exp
8231 * gdb.mi/mi-memory-changed.exp
8232 * gdb.mi/mi-read-memory.exp
8233 * gdb.mi/mi-record-changed.exp
8234 * gdb.mi/mi-reg-undefined.exp
8235 * gdb.mi/mi-regs.exp
8236 * gdb.mi/mi-return.exp
8237 * gdb.mi/mi-reverse.exp
8238 * gdb.mi/mi-simplerun.exp
8239 * gdb.mi/mi-solib.exp
8240 * gdb.mi/mi-stack.exp
8241 * gdb.mi/mi-stepi.exp
8242 * gdb.mi/mi-syn-frame.exp
8243 * gdb.mi/mi-until.exp
8244 * gdb.mi/mi-var-block.exp
8245 * gdb.mi/mi-var-child.exp
8246 * gdb.mi/mi-var-cmd.exp
8247 * gdb.mi/mi-var-cp.exp
8248 * gdb.mi/mi-var-display.exp
8249 * gdb.mi/mi-var-invalidate.exp
8250 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8251 * gdb.mi/mi-vla-fortran.exp
8252 * gdb.mi/mi-watch.exp
8253 * gdb.mi/mi2-var-child.exp
8254 * gdb.mi/user-selected-context-sync.exp
8255 * gdb.modula2/unbounded-array.exp
8256 * gdb.multi/dummy-frame-restore.exp
8257 * gdb.multi/multi-arch-exec.exp
8258 * gdb.multi/multi-arch.exp
8259 * gdb.multi/tids.exp
8260 * gdb.multi/watchpoint-multi.exp
8261 * gdb.opencl/callfuncs.exp
8262 * gdb.opencl/convs_casts.exp
8263 * gdb.opencl/datatypes.exp
8264 * gdb.opencl/operators.exp
8265 * gdb.opencl/vec_comps.exp
8266 * gdb.opt/clobbered-registers-O2.exp
8267 * gdb.opt/inline-break.exp
8268 * gdb.opt/inline-bt.exp
8269 * gdb.opt/inline-cmds.exp
8270 * gdb.opt/inline-locals.exp
8271 * gdb.pascal/case-insensitive-symbols.exp
8272 * gdb.pascal/floats.exp
8273 * gdb.pascal/gdb11492.exp
8274 * gdb.python/lib-types.exp
8275 * gdb.python/py-arch.exp
8276 * gdb.python/py-as-string.exp
8277 * gdb.python/py-bad-printers.exp
8278 * gdb.python/py-block.exp
8279 * gdb.python/py-breakpoint-create-fail.exp
8280 * gdb.python/py-breakpoint.exp
8281 * gdb.python/py-caller-is.exp
8282 * gdb.python/py-cmd.exp
8283 * gdb.python/py-explore-cc.exp
8284 * gdb.python/py-explore.exp
8285 * gdb.python/py-finish-breakpoint.exp
8286 * gdb.python/py-finish-breakpoint2.exp
8287 * gdb.python/py-frame-args.exp
8288 * gdb.python/py-frame-inline.exp
8289 * gdb.python/py-frame.exp
8290 * gdb.python/py-framefilter-mi.exp
8291 * gdb.python/py-infthread.exp
8292 * gdb.python/py-lazy-string.exp
8293 * gdb.python/py-linetable.exp
8294 * gdb.python/py-mi-events.exp
8295 * gdb.python/py-mi-objfile.exp
8296 * gdb.python/py-mi.exp
8297 * gdb.python/py-objfile.exp
8298 * gdb.python/py-pp-integral.exp
8299 * gdb.python/py-pp-maint.exp
8300 * gdb.python/py-pp-re-notag.exp
8301 * gdb.python/py-pp-registration.exp
8302 * gdb.python/py-recurse-unwind.exp
8303 * gdb.python/py-strfns.exp
8304 * gdb.python/py-symbol.exp
8305 * gdb.python/py-symtab.exp
8306 * gdb.python/py-sync-interp.exp
8307 * gdb.python/py-typeprint.exp
8308 * gdb.python/py-unwind-maint.exp
8309 * gdb.python/py-unwind.exp
8310 * gdb.python/py-value-cc.exp
8311 * gdb.python/py-xmethods.exp
8312 * gdb.reverse/amd64-tailcall-reverse.exp
8313 * gdb.reverse/break-precsave.exp
8314 * gdb.reverse/break-reverse.exp
8315 * gdb.reverse/consecutive-precsave.exp
8316 * gdb.reverse/consecutive-reverse.exp
8317 * gdb.reverse/finish-precsave.exp
8318 * gdb.reverse/finish-reverse-bkpt.exp
8319 * gdb.reverse/finish-reverse.exp
8320 * gdb.reverse/fstatat-reverse.exp
8321 * gdb.reverse/getresuid-reverse.exp
8322 * gdb.reverse/i386-precsave.exp
8323 * gdb.reverse/i386-reverse.exp
8324 * gdb.reverse/i386-sse-reverse.exp
8325 * gdb.reverse/i387-env-reverse.exp
8326 * gdb.reverse/i387-stack-reverse.exp
8327 * gdb.reverse/insn-reverse.exp
8328 * gdb.reverse/machinestate-precsave.exp
8329 * gdb.reverse/machinestate.exp
8330 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8331 * gdb.reverse/pipe-reverse.exp
8332 * gdb.reverse/readv-reverse.exp
8333 * gdb.reverse/recvmsg-reverse.exp
8334 * gdb.reverse/rerun-prec.exp
8335 * gdb.reverse/s390-mvcle.exp
8336 * gdb.reverse/step-precsave.exp
8337 * gdb.reverse/step-reverse.exp
8338 * gdb.reverse/time-reverse.exp
8339 * gdb.reverse/until-precsave.exp
8340 * gdb.reverse/until-reverse.exp
8341 * gdb.reverse/waitpid-reverse.exp
8342 * gdb.reverse/watch-precsave.exp
8343 * gdb.reverse/watch-reverse.exp
8344 * gdb.rust/generics.exp
8345 * gdb.rust/methods.exp
8346 * gdb.rust/modules.exp
8347 * gdb.rust/simple.exp
8348 * gdb.server/connect-with-no-symbol-file.exp
8349 * gdb.server/ext-attach.exp
8350 * gdb.server/ext-restart.exp
8351 * gdb.server/ext-wrapper.exp
8352 * gdb.server/file-transfer.exp
8353 * gdb.server/server-exec-info.exp
8354 * gdb.server/server-kill.exp
8355 * gdb.server/server-mon.exp
8356 * gdb.server/wrapper.exp
8357 * gdb.stabs/exclfwd.exp
8358 * gdb.stabs/gdb11479.exp
8359 * gdb.threads/clone-new-thread-event.exp
8360 * gdb.threads/corethreads.exp
8361 * gdb.threads/current-lwp-dead.exp
8362 * gdb.threads/dlopen-libpthread.exp
8363 * gdb.threads/gcore-thread.exp
8364 * gdb.threads/sigstep-threads.exp
8365 * gdb.threads/watchpoint-fork.exp
8366 * gdb.trace/actions-changed.exp
8367 * gdb.trace/backtrace.exp
8368 * gdb.trace/change-loc.exp
8369 * gdb.trace/circ.exp
8370 * gdb.trace/collection.exp
8371 * gdb.trace/disconnected-tracing.exp
8372 * gdb.trace/ftrace.exp
8373 * gdb.trace/mi-trace-frame-collected.exp
8374 * gdb.trace/mi-trace-unavailable.exp
8375 * gdb.trace/mi-traceframe-changed.exp
8376 * gdb.trace/mi-tsv-changed.exp
8377 * gdb.trace/no-attach-trace.exp
8378 * gdb.trace/passc-dyn.exp
8379 * gdb.trace/qtro.exp
8380 * gdb.trace/range-stepping.exp
8381 * gdb.trace/read-memory.exp
8382 * gdb.trace/save-trace.exp
8383 * gdb.trace/signal.exp
8384 * gdb.trace/status-stop.exp
8385 * gdb.trace/tfile.exp
8386 * gdb.trace/trace-break.exp
8387 * gdb.trace/trace-buffer-size.exp
8388 * gdb.trace/trace-condition.exp
8389 * gdb.trace/tracefile-pseudo-reg.exp
8390 * gdb.trace/tstatus.exp
8391 * gdb.trace/unavailable.exp
8392 * gdb.trace/while-dyn.exp
8393 * gdb.trace/while-stepping.exp
8395 2016-12-22 Doug Evans <xdje42@gmail.com>
8397 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8400 2016-12-19 Yao Qi <yao.qi@linaro.org>
8402 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8403 (test_with_self): Don't call do_steps_and_nexts, and remove
8404 code about stepping into xmalloc.
8406 2016-12-09 Yao Qi <yao.qi@linaro.org>
8408 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8410 2016-12-09 Yao Qi <yao.qi@linaro.org>
8412 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8414 2016-12-09 Pedro Alves <palves@redhat.com>
8416 * gdb.base/all-architectures-0.exp: New file.
8417 * gdb.base/all-architectures-1.exp: New file.
8418 * gdb.base/all-architectures-2.exp: New file.
8419 * gdb.base/all-architectures-3.exp: New file.
8420 * gdb.base/all-architectures-4.exp: New file.
8421 * gdb.base/all-architectures-5.exp: New file.
8422 * gdb.base/all-architectures-6.exp: New file.
8423 * gdb.base/all-architectures-7.exp: New file.
8424 * gdb.base/all-architectures.exp.in: New file.
8426 2016-12-09 Yao Qi <yao.qi@linaro.org>
8428 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8430 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8432 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8434 Remove useless pattern-matching code.
8436 2016-12-02 Pedro Alves <palves@redhat.com>
8438 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8440 (top level): Call it.
8442 2016-12-02 Pedro Alves <palves@redhat.com>
8444 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8446 (top level): Call it.
8448 2016-12-02 Pedro Alves <palves@redhat.com>
8451 * gdb.base/commands.exp (user_defined_command_args_eval): New
8453 (top level): Call it.
8455 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8457 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8460 2016-12-02 Tom Tromey <tom@tromey.com>
8462 * gdb.dwarf2/main-subprogram.c: New file.
8463 * gdb.dwarf2/main-subprogram.exp: New file.
8465 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8467 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8468 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8469 gdb_test_no_output for a couple of cases.
8470 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8472 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8474 Fix test names and standardize compilation error messages throughout
8475 the following files:
8478 * gdb.arch/alpha-step.exp
8479 * gdb.arch/e500-prologue.exp
8480 * gdb.arch/ftrace-insn-reloc.exp
8481 * gdb.arch/gdb1291.exp
8482 * gdb.arch/gdb1431.exp
8483 * gdb.arch/gdb1558.exp
8484 * gdb.arch/i386-dr3-watch.exp
8485 * gdb.arch/i386-sse-stack-align.exp
8486 * gdb.arch/ia64-breakpoint-shadow.exp
8487 * gdb.arch/pa-nullify.exp
8488 * gdb.arch/powerpc-aix-prologue.exp
8489 * gdb.arch/thumb-bx-pc.exp
8490 * gdb.base/annota1.exp
8491 * gdb.base/annota3.exp
8492 * gdb.base/arrayidx.exp
8493 * gdb.base/assign.exp
8494 * gdb.base/attach.exp
8497 * gdb.base/bfp-test.exp
8498 * gdb.base/bigcore.exp
8499 * gdb.base/bitfields2.exp
8500 * gdb.base/break-fun-addr.exp
8501 * gdb.base/break-probes.exp
8502 * gdb.base/call-rt-st.exp
8503 * gdb.base/callexit.exp
8504 * gdb.base/catch-fork-kill.exp
8505 * gdb.base/charset.exp
8506 * gdb.base/checkpoint.exp
8507 * gdb.base/comprdebug.exp
8508 * gdb.base/constvars.exp
8509 * gdb.base/coredump-filter.exp
8510 * gdb.base/cursal.exp
8511 * gdb.base/cvexpr.exp
8512 * gdb.base/detach.exp
8513 * gdb.base/display.exp
8514 * gdb.base/dmsym.exp
8515 * gdb.base/dprintf-pending.exp
8516 * gdb.base/dso2dso.exp
8517 * gdb.base/dtrace-probe.exp
8519 * gdb.base/enum_cond.exp
8520 * gdb.base/exe-lock.exp
8521 * gdb.base/exec-invalid-sysroot.exp
8522 * gdb.base/execl-update-breakpoints.exp
8523 * gdb.base/exprs.exp
8524 * gdb.base/fileio.exp
8526 * gdb.base/finish.exp
8527 * gdb.base/fixsection.exp
8528 * gdb.base/foll-vfork.exp
8529 * gdb.base/frame-args.exp
8530 * gdb.base/gcore.exp
8531 * gdb.base/gdb1250.exp
8532 * gdb.base/global-var-nested-by-dso.exp
8533 * gdb.base/gnu-ifunc.exp
8534 * gdb.base/hashline1.exp
8535 * gdb.base/hashline2.exp
8536 * gdb.base/hashline3.exp
8537 * gdb.base/hbreak-in-shr-unsupported.exp
8539 * gdb.base/infcall-input.exp
8540 * gdb.base/info-fun.exp
8541 * gdb.base/info-shared.exp
8542 * gdb.base/jit-simple.exp
8543 * gdb.base/jit-so.exp
8546 * gdb.base/label.exp
8547 * gdb.base/lineinc.exp
8548 * gdb.base/logical.exp
8549 * gdb.base/longjmp.exp
8550 * gdb.base/macscp.exp
8551 * gdb.base/miscexprs.exp
8552 * gdb.base/new-ui-echo.exp
8553 * gdb.base/new-ui-pending-input.exp
8554 * gdb.base/new-ui.exp
8555 * gdb.base/nodebug.exp
8556 * gdb.base/nofield.exp
8557 * gdb.base/offsets.exp
8558 * gdb.base/overlays.exp
8559 * gdb.base/pending.exp
8560 * gdb.base/pointers.exp
8561 * gdb.base/pr11022.exp
8562 * gdb.base/printcmds.exp
8563 * gdb.base/prologue.exp
8564 * gdb.base/ptr-typedef.exp
8565 * gdb.base/realname-expand.exp
8566 * gdb.base/relativedebug.exp
8567 * gdb.base/relocate.exp
8568 * gdb.base/remote.exp
8569 * gdb.base/reread.exp
8570 * gdb.base/return2.exp
8571 * gdb.base/savedregs.exp
8573 * gdb.base/sepdebug.exp
8574 * gdb.base/sepsymtab.exp
8575 * gdb.base/set-inferior-tty.exp
8576 * gdb.base/setshow.exp
8577 * gdb.base/shlib-call.exp
8578 * gdb.base/sigaltstack.exp
8579 * gdb.base/siginfo-addr.exp
8580 * gdb.base/signals.exp
8581 * gdb.base/signull.exp
8582 * gdb.base/sigrepeat.exp
8583 * gdb.base/so-impl-ld.exp
8584 * gdb.base/solib-display.exp
8585 * gdb.base/solib-overlap.exp
8586 * gdb.base/solib-search.exp
8587 * gdb.base/solib-symbol.exp
8588 * gdb.base/structs.exp
8589 * gdb.base/structs2.exp
8590 * gdb.base/symtab-search-order.exp
8591 * gdb.base/twice.exp
8592 * gdb.base/unload.exp
8593 * gdb.base/varargs.exp
8594 * gdb.base/watchpoint-solib.exp
8595 * gdb.base/watchpoint.exp
8596 * gdb.base/whatis.exp
8597 * gdb.base/wrong_frame_bt_full.exp
8598 * gdb.btrace/dlopen.exp
8599 * gdb.cell/ea-standalone.exp
8600 * gdb.cell/ea-test.exp
8601 * gdb.cp/dispcxx.exp
8602 * gdb.cp/gdb2384.exp
8603 * gdb.cp/method2.exp
8604 * gdb.cp/nextoverthrow.exp
8605 * gdb.cp/pr10728.exp
8606 * gdb.disasm/am33.exp
8607 * gdb.disasm/h8300s.exp
8608 * gdb.disasm/mn10300.exp
8609 * gdb.disasm/sh3.exp
8610 * gdb.dwarf2/dw2-dir-file-name.exp
8611 * gdb.fortran/complex.exp
8612 * gdb.fortran/library-module.exp
8613 * gdb.guile/scm-pretty-print.exp
8614 * gdb.guile/scm-symbol.exp
8615 * gdb.guile/scm-type.exp
8616 * gdb.guile/scm-value.exp
8617 * gdb.linespec/linespec.exp
8620 * gdb.mi/mi-breakpoint-changed.exp
8621 * gdb.mi/mi-dprintf-pending.exp
8622 * gdb.mi/mi-dprintf.exp
8623 * gdb.mi/mi-exit-code.exp
8624 * gdb.mi/mi-pending.exp
8625 * gdb.mi/mi-solib.exp
8626 * gdb.mi/new-ui-mi-sync.exp
8627 * gdb.mi/pr11022.exp
8628 * gdb.mi/user-selected-context-sync.exp
8629 * gdb.opt/solib-intra-step.exp
8630 * gdb.python/py-events.exp
8631 * gdb.python/py-finish-breakpoint.exp
8632 * gdb.python/py-mi.exp
8633 * gdb.python/py-prettyprint.exp
8634 * gdb.python/py-shared.exp
8635 * gdb.python/py-symbol.exp
8636 * gdb.python/py-template.exp
8637 * gdb.python/py-type.exp
8638 * gdb.python/py-value.exp
8639 * gdb.reverse/solib-precsave.exp
8640 * gdb.reverse/solib-reverse.exp
8641 * gdb.server/solib-list.exp
8642 * gdb.stabs/weird.exp
8643 * gdb.threads/reconnect-signal.exp
8644 * gdb.threads/stepi-random-signal.exp
8645 * gdb.trace/actions.exp
8647 * gdb.trace/backtrace.exp
8648 * gdb.trace/change-loc.exp
8649 * gdb.trace/deltrace.exp
8650 * gdb.trace/ftrace-lock.exp
8651 * gdb.trace/ftrace.exp
8652 * gdb.trace/infotrace.exp
8653 * gdb.trace/mi-tracepoint-changed.exp
8654 * gdb.trace/packetlen.exp
8655 * gdb.trace/passcount.exp
8656 * gdb.trace/pending.exp
8657 * gdb.trace/range-stepping.exp
8658 * gdb.trace/report.exp
8659 * gdb.trace/stap-trace.exp
8660 * gdb.trace/tfind.exp
8661 * gdb.trace/trace-break.exp
8662 * gdb.trace/trace-condition.exp
8663 * gdb.trace/trace-enable-disable.exp
8664 * gdb.trace/trace-mt.exp
8665 * gdb.trace/tracecmd.exp
8666 * gdb.trace/tspeed.exp
8670 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8672 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8673 with gdb_test_no_output.
8674 Use command as test name.
8676 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8678 Fix test names starting with uppercase throughout the files.
8680 * gdb.ada/assign_1.exp
8681 * gdb.ada/boolean_expr.exp
8682 * gdb.base/arrayidx.exp
8684 * gdb.base/gcore-buffer-overflow.exp
8685 * gdb.base/testenv.exp
8686 * gdb.compile/compile.exp
8687 * gdb.python/py-framefilter-invalidarg.exp
8688 * gdb.python/py-framefilter.exp
8690 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8692 Fix test names starting with uppercase throughout the files.
8694 * gdb.ada/array_return.exp
8695 * gdb.ada/expr_delims.exp
8696 * gdb.ada/mi_dyn_arr.exp
8697 * gdb.ada/mi_interface.exp
8698 * gdb.ada/mi_var_array.exp
8699 * gdb.ada/watch_arg.exp
8700 * gdb.arch/alpha-step.exp
8701 * gdb.arch/altivec-regs.exp
8702 * gdb.arch/e500-regs.exp
8703 * gdb.arch/powerpc-d128-regs.exp
8704 * gdb.base/arrayidx.exp
8705 * gdb.base/break.exp
8706 * gdb.base/checkpoint.exp
8707 * gdb.base/debug-expr.exp
8708 * gdb.base/dmsym.exp
8709 * gdb.base/radix.exp
8710 * gdb.base/sepdebug.exp
8711 * gdb.base/testenv.exp
8712 * gdb.base/watch_thread_num.exp
8713 * gdb.base/watchpoint-cond-gone.exp
8714 * gdb.cell/break.exp
8715 * gdb.cell/ea-cache.exp
8716 * gdb.compile/compile.exp
8717 * gdb.cp/gdb2495.exp
8718 * gdb.gdb/selftest.exp
8719 * gdb.gdb/xfullpath.exp
8721 * gdb.go/integers.exp
8722 * gdb.objc/basicclass.exp
8723 * gdb.pascal/hello.exp
8724 * gdb.pascal/integers.exp
8725 * gdb.python/py-breakpoint.exp
8726 * gdb.python/py-cmd.exp
8727 * gdb.python/py-linetable.exp
8728 * gdb.python/py-xmethods.exp
8729 * gdb.python/python.exp
8730 * gdb.reverse/consecutive-precsave.exp
8731 * gdb.reverse/finish-precsave.exp
8732 * gdb.reverse/i386-precsave.exp
8733 * gdb.reverse/machinestate-precsave.exp
8734 * gdb.reverse/sigall-precsave.exp
8735 * gdb.reverse/solib-precsave.exp
8736 * gdb.reverse/step-precsave.exp
8737 * gdb.reverse/until-precsave.exp
8738 * gdb.reverse/watch-precsave.exp
8739 * gdb.threads/leader-exit.exp
8740 * gdb.threads/pthreads.exp
8741 * gdb.threads/wp-replication.exp
8742 * gdb.trace/actions.exp
8743 * gdb.trace/mi-tsv-changed.exp
8746 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8748 Fix test names starting with uppercase throughout the files.
8750 * gdb.arch/i386-bp_permanent.exp
8751 * gdb.arch/i386-gnu-cfi.exp
8752 * gdb.base/disasm-end-cu.exp
8753 * gdb.base/macscp.exp
8754 * gdb.base/pending.exp
8755 * gdb.base/watch_thread_num.exp
8756 * gdb.cp/exception.exp
8757 * gdb.cp/gdb2495.exp
8759 * gdb.python/py-evsignal.exp
8760 * gdb.python/python.exp
8761 * gdb.trace/tracecmd.exp
8763 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8765 Fix test names starting with uppercase throughout the files.
8767 * gdb.base/charset.exp
8769 * gdb.base/multi-forks.exp
8770 * gdb.guile/scm-progspace.exp
8771 * gdb.opencl/datatypes.exp
8772 * gdb.python/py-block.exp
8773 * gdb.python/py-function.exp
8774 * gdb.python/py-symbol.exp
8775 * gdb.python/py-symtab.exp
8776 * gdb.python/py-xmethods.exp
8777 * gdb.reverse/break-precsave.exp
8778 * gdb.reverse/break-reverse.exp
8779 * gdb.reverse/consecutive-precsave.exp
8780 * gdb.reverse/consecutive-reverse.exp
8781 * gdb.reverse/finish-precsave.exp
8782 * gdb.reverse/finish-reverse-bkpt.exp
8783 * gdb.reverse/finish-reverse.exp
8784 * gdb.reverse/fstatat-reverse.exp
8785 * gdb.reverse/getresuid-reverse.exp
8786 * gdb.reverse/i386-precsave.exp
8787 * gdb.reverse/i386-reverse.exp
8788 * gdb.reverse/i386-sse-reverse.exp
8789 * gdb.reverse/i387-stack-reverse.exp
8790 * gdb.reverse/insn-reverse.exp
8791 * gdb.reverse/machinestate-precsave.exp
8792 * gdb.reverse/machinestate.exp
8793 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8794 * gdb.reverse/pipe-reverse.exp
8795 * gdb.reverse/readv-reverse.exp
8796 * gdb.reverse/recvmsg-reverse.exp
8797 * gdb.reverse/rerun-prec.exp
8798 * gdb.reverse/s390-mvcle.exp
8799 * gdb.reverse/sigall-precsave.exp
8800 * gdb.reverse/sigall-reverse.exp
8801 * gdb.reverse/solib-precsave.exp
8802 * gdb.reverse/solib-reverse.exp
8803 * gdb.reverse/step-precsave.exp
8804 * gdb.reverse/step-reverse.exp
8805 * gdb.reverse/time-reverse.exp
8806 * gdb.reverse/until-precsave.exp
8807 * gdb.reverse/until-reverse.exp
8808 * gdb.reverse/waitpid-reverse.exp
8809 * gdb.reverse/watch-precsave.exp
8810 * gdb.reverse/watch-reverse.exp
8812 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8814 Fix test names starting with uppercase throughout the files.
8816 * gdb.arch/i386-mpx-simple_segv.exp
8817 * gdb.arch/i386-mpx.exp
8818 * gdb.arch/i386-permbkpt.exp
8819 * gdb.arch/pa-nullify.exp
8820 * gdb.arch/powerpc-d128-regs.exp
8821 * gdb.arch/vsx-regs.exp
8822 * gdb.base/bfp-test.exp
8823 * gdb.base/break.exp
8824 * gdb.base/breakpoint-shadow.exp
8825 * gdb.base/callfuncs.exp
8826 * gdb.base/charset.exp
8827 * gdb.base/commands.exp
8828 * gdb.base/completion.exp
8829 * gdb.base/dfp-test.exp
8831 * gdb.base/ending-run.exp
8833 * gdb.base/expand-psymtabs.exp
8834 * gdb.base/float128.exp
8835 * gdb.base/floatn.exp
8836 * gdb.base/foll-exec-mode.exp
8837 * gdb.base/gdb1056.exp
8838 * gdb.base/gdb11531.exp
8839 * gdb.base/kill-after-signal.exp
8840 * gdb.base/multi-forks.exp
8841 * gdb.base/overlays.exp
8842 * gdb.base/pending.exp
8843 * gdb.base/sepdebug.exp
8844 * gdb.base/testenv.exp
8845 * gdb.base/valgrind-db-attach.exp
8846 * gdb.base/watch_thread_num.exp
8847 * gdb.base/watchpoint-cond-gone.exp
8848 * gdb.base/watchpoint.exp
8849 * gdb.base/watchpoints.exp
8850 * gdb.cp/arg-reference.exp
8851 * gdb.cp/baseenum.exp
8852 * gdb.cp/operator.exp
8854 * gdb.dwarf2/dw2-op-out-param.exp
8855 * gdb.dwarf2/dw2-reg-undefined.exp
8858 * gdb.go/integers.exp
8859 * gdb.go/methods.exp
8860 * gdb.go/package.exp
8861 * gdb.guile/scm-parameter.exp
8862 * gdb.guile/scm-progspace.exp
8863 * gdb.guile/scm-value.exp
8864 * gdb.mi/mi-pending.exp
8865 * gdb.mi/user-selected-context-sync.exp
8866 * gdb.multi/multi-attach.exp
8867 * gdb.multi/tids.exp
8868 * gdb.opt/clobbered-registers-O2.exp
8869 * gdb.pascal/floats.exp
8870 * gdb.pascal/integers.exp
8871 * gdb.python/py-block.exp
8872 * gdb.python/py-events.exp
8873 * gdb.python/py-parameter.exp
8874 * gdb.python/py-symbol.exp
8875 * gdb.python/py-symtab.exp
8876 * gdb.python/py-type.exp
8877 * gdb.python/py-value.exp
8878 * gdb.python/py-xmethods.exp
8879 * gdb.python/python.exp
8880 * gdb.reverse/break-precsave.exp
8881 * gdb.reverse/consecutive-precsave.exp
8882 * gdb.reverse/finish-precsave.exp
8883 * gdb.reverse/i386-precsave.exp
8884 * gdb.reverse/machinestate-precsave.exp
8885 * gdb.reverse/sigall-precsave.exp
8886 * gdb.reverse/solib-precsave.exp
8887 * gdb.reverse/step-precsave.exp
8888 * gdb.reverse/until-precsave.exp
8889 * gdb.reverse/watch-precsave.exp
8890 * gdb.server/ext-attach.exp
8891 * gdb.server/ext-restart.exp
8892 * gdb.server/ext-run.exp
8893 * gdb.server/ext-wrapper.exp
8894 * gdb.stabs/gdb11479.exp
8895 * gdb.stabs/weird.exp
8896 * gdb.threads/attach-many-short-lived-threads.exp
8897 * gdb.threads/kill.exp
8898 * gdb.threads/watchpoint-fork.exp
8900 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8902 Fix test names starting with uppercase throughout all the files below.
8904 * gdb.ada/array_return.exp
8905 * gdb.ada/catch_ex.exp
8906 * gdb.ada/info_exc.exp
8907 * gdb.ada/mi_catch_ex.exp
8908 * gdb.ada/mi_dyn_arr.exp
8909 * gdb.ada/mi_ex_cond.exp
8910 * gdb.ada/mi_exc_info.exp
8911 * gdb.ada/mi_interface.exp
8912 * gdb.ada/mi_task_arg.exp
8913 * gdb.ada/mi_task_info.exp
8914 * gdb.ada/mi_var_array.exp
8915 * gdb.arch/alpha-step.exp
8916 * gdb.arch/amd64-disp-step.exp
8917 * gdb.arch/arm-disp-step.exp
8918 * gdb.arch/disp-step-insn-reloc.exp
8919 * gdb.arch/e500-prologue.exp
8920 * gdb.arch/ftrace-insn-reloc.exp
8921 * gdb.arch/gdb1558.exp
8922 * gdb.arch/i386-bp_permanent.exp
8923 * gdb.arch/i386-disp-step.exp
8924 * gdb.arch/i386-float.exp
8925 * gdb.arch/i386-gnu-cfi.exp
8926 * gdb.arch/ia64-breakpoint-shadow.exp
8927 * gdb.arch/mips16-thunks.exp
8928 * gdb.arch/pa-nullify.exp
8929 * gdb.arch/powerpc-aix-prologue.exp
8930 * gdb.arch/powerpc-power.exp
8931 * gdb.arch/ppc-dfp.exp
8932 * gdb.arch/s390-tdbregs.exp
8933 * gdb.arch/spu-info.exp
8934 * gdb.arch/spu-ls.exp
8935 * gdb.arch/thumb-bx-pc.exp
8936 * gdb.base/advance.exp
8937 * gdb.base/annota-input-while-running.exp
8938 * gdb.base/arrayidx.exp
8939 * gdb.base/asmlabel.exp
8940 * gdb.base/async.exp
8941 * gdb.base/attach-wait-input.exp
8942 * gdb.base/auto-connect-native-target.exp
8943 * gdb.base/batch-preserve-term-settings.exp
8944 * gdb.base/bfp-test.exp
8945 * gdb.base/bigcore.exp
8946 * gdb.base/bp-permanent.exp
8947 * gdb.base/break-always.exp
8948 * gdb.base/break-fun-addr.exp
8949 * gdb.base/break-idempotent.exp
8950 * gdb.base/break-main-file-remove-fail.exp
8951 * gdb.base/break-probes.exp
8952 * gdb.base/break-unload-file.exp
8953 * gdb.base/break.exp
8954 * gdb.base/call-ar-st.exp
8955 * gdb.base/call-rt-st.exp
8956 * gdb.base/call-sc.exp
8957 * gdb.base/call-signal-resume.exp
8958 * gdb.base/call-strs.exp
8959 * gdb.base/callexit.exp
8960 * gdb.base/callfuncs.exp
8961 * gdb.base/catch-gdb-caused-signals.exp
8962 * gdb.base/catch-signal-siginfo-cond.exp
8963 * gdb.base/catch-syscall.exp
8964 * gdb.base/compare-sections.exp
8965 * gdb.base/cond-eval-mode.exp
8966 * gdb.base/condbreak-call-false.exp
8967 * gdb.base/consecutive-step-over.exp
8968 * gdb.base/cursal.exp
8969 * gdb.base/disabled-location.exp
8970 * gdb.base/disasm-end-cu.exp
8971 * gdb.base/display.exp
8972 * gdb.base/double-prompt-target-event-error.exp
8973 * gdb.base/dprintf-bp-same-addr.exp
8974 * gdb.base/dprintf-detach.exp
8975 * gdb.base/dprintf-next.exp
8976 * gdb.base/dprintf-non-stop.exp
8977 * gdb.base/dprintf-pending.exp
8978 * gdb.base/dso2dso.exp
8979 * gdb.base/ending-run.exp
8980 * gdb.base/enum_cond.exp
8981 * gdb.base/examine-backward.exp
8982 * gdb.base/exe-lock.exp
8983 * gdb.base/exec-invalid-sysroot.exp
8984 * gdb.base/execl-update-breakpoints.exp
8985 * gdb.base/execution-termios.exp
8986 * gdb.base/fileio.exp
8987 * gdb.base/fixsection.exp
8988 * gdb.base/foll-exec-mode.exp
8989 * gdb.base/foll-exec.exp
8990 * gdb.base/fork-running-state.exp
8991 * gdb.base/frame-args.exp
8992 * gdb.base/fullpath-expand.exp
8993 * gdb.base/func-ptr.exp
8994 * gdb.base/gcore-relro-pie.exp
8995 * gdb.base/gdb1090.exp
8996 * gdb.base/gdb1555.exp
8997 * gdb.base/global-var-nested-by-dso.exp
8998 * gdb.base/gnu-ifunc.exp
8999 * gdb.base/hbreak-in-shr-unsupported.exp
9000 * gdb.base/hbreak-unmapped.exp
9001 * gdb.base/hook-stop.exp
9002 * gdb.base/infcall-input.exp
9003 * gdb.base/info-fun.exp
9004 * gdb.base/info-shared.exp
9005 * gdb.base/interrupt-noterm.exp
9006 * gdb.base/jit-so.exp
9008 * gdb.base/line-symtabs.exp
9010 * gdb.base/longjmp.exp
9011 * gdb.base/macscp.exp
9012 * gdb.base/max-value-size.exp
9013 * gdb.base/nodebug.exp
9014 * gdb.base/nofield.exp
9015 * gdb.base/overlays.exp
9016 * gdb.base/paginate-after-ctrl-c-running.exp
9017 * gdb.base/paginate-bg-execution.exp
9018 * gdb.base/paginate-inferior-exit.exp
9019 * gdb.base/pending.exp
9020 * gdb.base/pr11022.exp
9021 * gdb.base/printcmds.exp
9022 * gdb.base/ptr-typedef.exp
9023 * gdb.base/ptype.exp
9024 * gdb.base/randomize.exp
9025 * gdb.base/range-stepping.exp
9026 * gdb.base/realname-expand.exp
9027 * gdb.base/relativedebug.exp
9028 * gdb.base/remote.exp
9029 * gdb.base/savedregs.exp
9030 * gdb.base/sepdebug.exp
9031 * gdb.base/set-noassign.exp
9032 * gdb.base/shlib-call.exp
9033 * gdb.base/shreloc.exp
9034 * gdb.base/sigaltstack.exp
9035 * gdb.base/sigbpt.exp
9036 * gdb.base/siginfo-addr.exp
9037 * gdb.base/siginfo-obj.exp
9038 * gdb.base/siginfo-thread.exp
9039 * gdb.base/signest.exp
9040 * gdb.base/signull.exp
9041 * gdb.base/sigrepeat.exp
9043 * gdb.base/so-impl-ld.exp
9044 * gdb.base/solib-corrupted.exp
9045 * gdb.base/solib-disc.exp
9046 * gdb.base/solib-display.exp
9047 * gdb.base/solib-overlap.exp
9048 * gdb.base/solib-search.exp
9049 * gdb.base/solib-symbol.exp
9050 * gdb.base/source-execution.exp
9051 * gdb.base/sss-bp-on-user-bp-2.exp
9052 * gdb.base/sss-bp-on-user-bp.exp
9053 * gdb.base/stack-checking.exp
9054 * gdb.base/stale-infcall.exp
9055 * gdb.base/step-break.exp
9056 * gdb.base/step-line.exp
9057 * gdb.base/step-over-exit.exp
9058 * gdb.base/step-test.exp
9059 * gdb.base/structs.exp
9060 * gdb.base/sym-file.exp
9061 * gdb.base/symtab-search-order.exp
9063 * gdb.base/type-opaque.exp
9064 * gdb.base/unload.exp
9065 * gdb.base/until-nodebug.exp
9066 * gdb.base/until.exp
9067 * gdb.base/unwindonsignal.exp
9068 * gdb.base/watch-cond.exp
9069 * gdb.base/watch-non-mem.exp
9070 * gdb.base/watch_thread_num.exp
9071 * gdb.base/watchpoint-reuse-slot.exp
9072 * gdb.base/watchpoint-solib.exp
9073 * gdb.base/watchpoint.exp
9074 * gdb.btrace/dlopen.exp
9076 * gdb.cell/break.exp
9080 * gdb.cell/dwarfaddr.exp
9081 * gdb.cell/ea-cache.exp
9082 * gdb.cell/ea-standalone.exp
9083 * gdb.cell/ea-test.exp
9084 * gdb.cell/f-regs.exp
9086 * gdb.cell/gcore.exp
9087 * gdb.cell/mem-access.exp
9088 * gdb.cell/ptype.exp
9089 * gdb.cell/registers.exp
9090 * gdb.cell/sizeof.exp
9091 * gdb.cell/solib-symbol.exp
9092 * gdb.cell/solib.exp
9093 * gdb.compile/compile-tls.exp
9094 * gdb.cp/exception.exp
9095 * gdb.cp/gdb2495.exp
9097 * gdb.cp/mb-inline.exp
9098 * gdb.cp/mb-templates.exp
9099 * gdb.cp/pr10687.exp
9101 * gdb.cp/scope-err.exp
9102 * gdb.cp/templates.exp
9103 * gdb.cp/virtfunc.exp
9104 * gdb.dwarf2/dw2-dir-file-name.exp
9105 * gdb.dwarf2/dw2-single-line-discriminators.exp
9106 * gdb.fortran/complex.exp
9107 * gdb.fortran/library-module.exp
9108 * gdb.guile/guile.exp
9109 * gdb.guile/scm-cmd.exp
9110 * gdb.guile/scm-frame-inline.exp
9111 * gdb.guile/scm-objfile.exp
9112 * gdb.guile/scm-pretty-print.exp
9113 * gdb.guile/scm-symbol.exp
9114 * gdb.guile/scm-type.exp
9115 * gdb.guile/scm-value.exp
9116 * gdb.linespec/keywords.exp
9117 * gdb.linespec/ls-errs.exp
9118 * gdb.linespec/macro-relative.exp
9119 * gdb.linespec/thread.exp
9120 * gdb.mi/mi-breakpoint-changed.exp
9121 * gdb.mi/mi-dprintf-pending.exp
9122 * gdb.mi/mi-fullname-deleted.exp
9123 * gdb.mi/mi-logging.exp
9124 * gdb.mi/mi-pending.exp
9125 * gdb.mi/mi-solib.exp
9126 * gdb.mi/new-ui-mi-sync.exp
9127 * gdb.mi/user-selected-context-sync.exp
9128 * gdb.multi/dummy-frame-restore.exp
9129 * gdb.multi/multi-arch-exec.exp
9130 * gdb.multi/remove-inferiors.exp
9131 * gdb.multi/watchpoint-multi-exit.exp
9132 * gdb.opt/solib-intra-step.exp
9133 * gdb.perf/backtrace.exp
9134 * gdb.perf/single-step.exp
9135 * gdb.perf/skip-command.exp
9136 * gdb.perf/skip-prologue.exp
9137 * gdb.perf/solib.exp
9138 * gdb.python/lib-types.exp
9139 * gdb.python/py-as-string.exp
9140 * gdb.python/py-bad-printers.exp
9141 * gdb.python/py-block.exp
9142 * gdb.python/py-breakpoint.exp
9143 * gdb.python/py-cmd.exp
9144 * gdb.python/py-events.exp
9145 * gdb.python/py-evthreads.exp
9146 * gdb.python/py-finish-breakpoint.exp
9147 * gdb.python/py-finish-breakpoint2.exp
9148 * gdb.python/py-frame-inline.exp
9149 * gdb.python/py-frame.exp
9150 * gdb.python/py-inferior.exp
9151 * gdb.python/py-infthread.exp
9152 * gdb.python/py-mi.exp
9153 * gdb.python/py-objfile.exp
9154 * gdb.python/py-pp-maint.exp
9155 * gdb.python/py-pp-registration.exp
9156 * gdb.python/py-prettyprint.exp
9157 * gdb.python/py-recurse-unwind.exp
9158 * gdb.python/py-shared.exp
9159 * gdb.python/py-symbol.exp
9160 * gdb.python/py-symtab.exp
9161 * gdb.python/py-template.exp
9162 * gdb.python/py-type.exp
9163 * gdb.python/py-unwind-maint.exp
9164 * gdb.python/py-unwind.exp
9165 * gdb.python/py-value.exp
9166 * gdb.python/python.exp
9167 * gdb.reverse/finish-reverse-bkpt.exp
9168 * gdb.reverse/insn-reverse.exp
9169 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9170 * gdb.reverse/solib-precsave.exp
9171 * gdb.reverse/solib-reverse.exp
9172 * gdb.stabs/gdb11479.exp
9173 * gdb.stabs/weird.exp
9174 * gdb.threads/fork-child-threads.exp
9175 * gdb.threads/fork-plus-threads.exp
9176 * gdb.threads/fork-thread-pending.exp
9177 * gdb.threads/forking-threads-plus-breakpoint.exp
9178 * gdb.threads/hand-call-in-threads.exp
9179 * gdb.threads/interrupted-hand-call.exp
9180 * gdb.threads/linux-dp.exp
9181 * gdb.threads/local-watch-wrong-thread.exp
9182 * gdb.threads/next-while-other-thread-longjmps.exp
9183 * gdb.threads/non-ldr-exit.exp
9184 * gdb.threads/pending-step.exp
9185 * gdb.threads/print-threads.exp
9186 * gdb.threads/process-dies-while-detaching.exp
9187 * gdb.threads/process-dies-while-handling-bp.exp
9188 * gdb.threads/pthreads.exp
9189 * gdb.threads/queue-signal.exp
9190 * gdb.threads/reconnect-signal.exp
9191 * gdb.threads/signal-command-handle-nopass.exp
9192 * gdb.threads/signal-command-multiple-signals-pending.exp
9193 * gdb.threads/signal-delivered-right-thread.exp
9194 * gdb.threads/signal-sigtrap.exp
9195 * gdb.threads/sigthread.exp
9196 * gdb.threads/staticthreads.exp
9197 * gdb.threads/stepi-random-signal.exp
9198 * gdb.threads/thread-unwindonsignal.exp
9199 * gdb.threads/thread_check.exp
9200 * gdb.threads/thread_events.exp
9201 * gdb.threads/tid-reuse.exp
9202 * gdb.threads/tls-nodebug.exp
9203 * gdb.threads/tls-shared.exp
9204 * gdb.threads/tls-so_extern.exp
9205 * gdb.threads/tls.exp
9206 * gdb.threads/wp-replication.exp
9207 * gdb.trace/actions-changed.exp
9208 * gdb.trace/actions.exp
9209 * gdb.trace/backtrace.exp
9210 * gdb.trace/change-loc.exp
9211 * gdb.trace/collection.exp
9212 * gdb.trace/deltrace.exp
9213 * gdb.trace/disconnected-tracing.exp
9214 * gdb.trace/entry-values.exp
9215 * gdb.trace/ftrace-lock.exp
9216 * gdb.trace/ftrace.exp
9217 * gdb.trace/infotrace.exp
9218 * gdb.trace/mi-trace-frame-collected.exp
9219 * gdb.trace/mi-trace-unavailable.exp
9220 * gdb.trace/mi-traceframe-changed.exp
9221 * gdb.trace/mi-tracepoint-changed.exp
9222 * gdb.trace/mi-tsv-changed.exp
9223 * gdb.trace/no-attach-trace.exp
9224 * gdb.trace/packetlen.exp
9225 * gdb.trace/passc-dyn.exp
9226 * gdb.trace/passcount.exp
9227 * gdb.trace/pending.exp
9228 * gdb.trace/pr16508.exp
9229 * gdb.trace/qtro.exp
9230 * gdb.trace/range-stepping.exp
9231 * gdb.trace/read-memory.exp
9232 * gdb.trace/report.exp
9233 * gdb.trace/save-trace.exp
9234 * gdb.trace/signal.exp
9235 * gdb.trace/stap-trace.exp
9236 * gdb.trace/status-stop.exp
9237 * gdb.trace/strace.exp
9238 * gdb.trace/tfile.exp
9239 * gdb.trace/tfind.exp
9240 * gdb.trace/trace-break.exp
9241 * gdb.trace/trace-condition.exp
9242 * gdb.trace/trace-enable-disable.exp
9243 * gdb.trace/trace-mt.exp
9244 * gdb.trace/tracecmd.exp
9245 * gdb.trace/tracefile-pseudo-reg.exp
9246 * gdb.trace/tspeed.exp
9247 * gdb.trace/tstatus.exp
9249 * gdb.trace/unavailable.exp
9250 * gdb.trace/while-dyn.exp
9251 * gdb.trace/while-stepping.exp
9254 * lib/mi-support.exp
9257 * lib/prelink-support.exp
9258 * lib/selftest-support.exp
9260 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9262 * Makefile.in: Include disable-implicit-rules.mk.
9264 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9266 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9267 non-byte-aligned bit fields.
9269 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9272 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9273 respects the DW_AT_data_bit_offset attribute.
9275 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9277 * gdb.base/default.exp: Fix output of "set language".
9279 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9281 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9282 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9284 * configure.ac: Remove checks for the make program.
9285 * configure: Re-generate.
9287 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9289 * gdb.python/py-recurse-unwind.c (main): Add loop.
9290 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9291 to read_register() and gdb.parse_and_eval(). Make each code
9292 call a separate case that can be individually tested.
9293 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9294 proc. Call cont_and_backtrace for each of the code paths that
9295 we want to test in the unwinder.
9297 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9299 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9300 the definition of struct S.
9302 2016-11-11 Catherine Moore <clm@codesourcery.com>
9304 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9306 2016-11-09 Pedro Alves <palves@redhat.com>
9308 * gdb.base/commands.exp (runto_or_return): New procedure.
9309 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9310 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9311 (progvar_simple_while_test, progvar_complex_if_while_test)
9312 (if_while_breakpoint_command_test)
9313 (infrun_breakpoint_command_test, breakpoint_command_test)
9314 (user_defined_command_test, watchpoint_command_test)
9315 (test_command_prompt_position, redefine_hook_test)
9316 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9317 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9318 multi_line_input and multi_line. Remove gdb_expect and
9319 gdb_stop_suppressing_tests uses.
9320 * lib/gdb.exp (valnum_re): New global.
9321 (multi_line_input): New procedure.
9323 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9325 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9327 (test_setup): Define with proc_with_prefix.
9328 (test_cli_inferior): Likewise.
9329 (test_cli_thread): Likewise.
9330 (test_cli_frame): Likewise.
9331 (test_cli_select_frame): Likewise.
9332 (test_cli_up_down): Likewise.
9333 (test_mi_thread_select): Likewise.
9334 (test_mi_stack_select_frame): Likewise.
9335 (test_cli_in_mi_inferior): Likewise.
9336 (test_cli_in_mi_thread): Likewise.
9337 (test_cli_in_mi_frame): Likewise.
9338 (top level): Do not use with_test_prefix_procname.
9340 2016-11-09 Pedro Alves <palves@redhat.com>
9342 * gdb.base/commands.exp (gdbvar_simple_if_test)
9343 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9344 (progvar_simple_if_test, progvar_simple_while_test)
9345 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9346 (infrun_breakpoint_command_test, breakpoint_command_test)
9347 (user_defined_command_test, watchpoint_command_test)
9348 (test_command_prompt_position, deprecated_command_test)
9349 (bp_deleted_in_command, temporary_breakpoint_commands)
9350 (stray_arg0_test, source_file_with_indented_comment)
9351 (recursive_source_test, if_commands_test)
9352 (error_clears_commands_left, redefine_hook_test)
9353 (redefine_backtrace_test): Use proc_with_prefix.
9354 * lib/gdb.exp (proc_with_prefix): New proc.
9356 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9358 * gdb.base/tui-layout.c: New file.
9359 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9360 disassembly window contains very long lines.
9362 2016-11-08 Tom Tromey <tom@tromey.com>
9364 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9367 2016-11-08 Tom Tromey <tom@tromey.com>
9369 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9372 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9374 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9376 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9378 * gdb.rust/simple.rs: Add test for univariant enums without
9379 discriminants and for encoded struct-like enums.
9381 2016-10-28 Pedro Alves <palves@redhat.com>
9383 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9384 gdb_test_multiple, tighten regexps and match symtabs and line
9385 tables incrementally.
9387 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9389 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9392 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9394 * gdb.base/exec-invalid-sysroot.exp: New file.
9396 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9398 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9400 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9402 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9404 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9406 * gdb.base/killed-outside.exp: Remove $options from a call to
9407 `prepare_for_testing'.
9409 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9411 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9412 Change test message.
9414 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9416 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9419 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9421 * gdb.trace/mi-trace-save.exp: New file.
9423 2016-10-13 Yao Qi <yao.qi@linaro.org>
9425 * gdb.base/code_elim.exp (get_var_address): Remove.
9426 * gdb.base/relocate.exp: Likewise.
9427 * gdb.base/shreloc.exp: Likewise.
9428 * lib/gdb.exp (get_var_address): New.
9430 2016-10-13 Yao Qi <yao.qi@linaro.org>
9432 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9433 floating point tests if $skip_float_test is false.
9435 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9437 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9438 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9440 Add 1 to argc so we guarantee distinct initial/modified argc values.
9442 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9444 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9446 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9448 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9449 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9450 * gdb.arch/vsx-regs.exp: Likewise.
9452 2016-10-07 Yao Qi <yao.qi@linaro.org>
9454 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9456 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9458 * gdb.python/python.exp: Test decode_line("*0").
9460 2016-10-06 Doug Evans <dje@google.com>
9462 * gdb.python/py-value.exp (test_value_creation): Add test for large
9463 unsigned 64-bit value.
9465 2016-10-06 Tom Tromey <tom@tromey.com>
9467 * gdb.compile/compile.exp: Change java tests to rust.
9468 * gdb.base/setshow.exp: Change java tests to rust.
9469 * gdb.base/default.exp: Remove java from language list.
9470 * README (Examples): Update language example.
9471 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9473 * lib/gdb.exp (skip_java_tests): Remove.
9474 * lib/java.exp: Remove.
9477 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9479 * gdb.arch/mips-fcr.exp: New test.
9480 * gdb.arch/mips-fcr.c: Source for the new test.
9482 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9484 * gdb.base/solib-disc.exp: Use `standard_output_file'
9487 2016-10-06 Pedro Alves <palves@redhat.com>
9489 * gdb.base/jit-simple-dl.c: New file.
9490 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9491 * gdb.base/jit-simple.c: ... this.
9492 * gdb.base/jit-simple.exp (jit_run): Delete.
9493 (build_jit): New proc.
9494 (jit_test_reread): Recompile either the main program or the shared
9495 library, depending on what is being tested. Skip changing address
9496 if caller wants to. Compare before/after addresses. If testing
9497 standalone, explicitly load the binary. Test "maint info
9499 (top level): Add "standalone vs shared lib" and "change address"
9500 vs "same address" axes.
9502 2016-10-06 Pedro Alves <palves@redhat.com>
9504 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9507 (jit_test_reread): Use with_test_prefix. Reload the main binary
9508 explicitly. Compare the before/after addresses of the JIT
9511 2016-08-15 Doug Evans <dje@google.com>
9513 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9514 for single bitfields is bool.
9515 * gdb.xml/tdesc-regs.exp: Ditto.
9517 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9519 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9521 2016-10-05 Yao Qi <yao.qi@linaro.org>
9523 * lib/gdb.exp (support_complex_tests): Return zero if
9524 gdb_skip_float_test return true.
9526 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9527 Simon Marchi <simon.marchi@ericsson.com>
9530 * gdb.mi/user-selected-context-sync.exp: New file.
9531 * gdb.mi/user-selected-context-sync.c: New file.
9533 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9534 Simon Marchi <simon.marchi@ericsson.com>
9537 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9538 =thread-select-event check.
9540 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9542 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9543 the compulsory L operand changes.
9544 * gdb.arch/powerpc-power.s: Likewise.
9546 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9548 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9549 * gdb.base/jit-attach-pie.c: New file.
9550 * gdb.base/jit-attach-pie.exp: New file.
9552 2016-09-28 Pedro Alves <palves@redhat.com>
9554 * gdb.base/infcall-input.c: New file.
9555 * gdb.base/infcall-input.exp: New file.
9557 2016-09-22 Yao Qi <yao.qi@linaro.org>
9559 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9560 (gdb_exit): Rename it to ...
9561 (gdbserver_gdb_exit): ... Close GDBserver.
9562 (gdb_exit): New proc, call gdbserver_gdb_exit.
9563 (mi_gdb_exit): Likewise.
9565 2016-09-22 Yao Qi <yao.qi@linaro.org>
9567 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9569 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9572 2016-09-22 Yao Qi <yao.qi@linaro.org>
9574 * lib/gdbserver-support.exp: Check the existence of
9575 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9577 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9579 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9581 2016-09-21 Tom Tromey <tom@tromey.com>
9584 * gdb.base/quit.exp: New file.
9586 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9588 * .gitignore: New file.
9590 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9592 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9595 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9597 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9599 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9601 * gdb.cp/casts.cc (decltype): Move it ...
9602 (main): ... with its call to ...
9603 * gdb.cp/casts03.cc: ... a new file.
9604 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9606 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9608 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9610 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9612 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9613 and sync up the test with tests in gas/testsuite/gas/ppc.
9614 * gdb.arch/powerpc-power.exp: Likewise.
9616 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9618 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9620 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9621 Jan Kratochvil <jan.kratochvil@redhat.com>
9623 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9624 make m1's definition to be different from m2's. Use 'dummy' as an
9625 argument for probe 'two'.
9627 2016-09-10 Jon Beniston <jon@beniston.com>
9629 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9632 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9634 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9635 variable declaration.
9636 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9637 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9638 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9639 received HWCAP as its argument.
9641 2016-09-06 Pedro Alves <palves@redhat.com>
9643 * gdb.base/new-ui-pending-input.c: New file.
9644 * gdb.base/new-ui-pending-input.exp: New file.
9645 * gdb.exp (clear_gdb_spawn_id): New procedure.
9646 (with_spawn_id): Check whether gdb_spawn_id exists before
9647 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9650 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9652 * gdb.base/float128.c: New file.
9653 * gdb.base/float128.exp: Likewise.
9654 * gdb.base/floatn.c: Likewise.
9655 * gdb.base/floatn.exp: Likewise.
9657 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9659 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9661 2016-09-05 Pedro Alves <palves@redhat.com>
9664 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9665 unwinders are immediately called as side effect of "source" or
9666 "disable unwinder" commands.
9667 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9669 2016-09-02 Yao Qi <yao.qi@linaro.org>
9671 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9672 is true and $type is "float" or "double".
9674 2016-09-02 Yao Qi <yao.qi@linaro.org>
9676 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9678 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9679 * gdb.base/call-rt-st.exp: Likewise.
9680 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9681 return value instead of gdb,skip_float_test.
9682 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9683 (do_function_calls): Use its return value instead of
9684 gdb,skip_float_test.
9685 * gdb.base/finish.exp: Likewise.
9686 * gdb.base/funcargs.exp: Likewise.
9687 * gdb.base/return.exp: Likewise.
9688 * gdb.base/return2.exp: Likewise.
9689 * gdb.base/varargs.exp: Likewise.
9690 * lib/gdb.exp (gdb_skip_float_test): Change it to
9691 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9693 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9695 * gdb.multi/tids.exp: Test "thread apply all".
9697 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9699 * gdb.base/default.exp (tty): Remove.
9701 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9703 * gdb.python/py-recurse-unwind.c: New file.
9704 * gdb.python/py-recurse-unwind.py: New file.
9705 * gdb.python/py-recurse-unwind.exp: New file.
9707 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9709 * gdb.base/set-inferior-tty.exp: New file.
9710 * gdb.base/set-inferior-tty.c: New file.
9712 2016-08-23 Pedro Alves <palves@redhat.com>
9715 * gdb.base/new-ui-echo.c: New file.
9716 * gdb.base/new-ui-echo.exp: New file.
9718 2016-08-23 Yao Qi <yao.qi@linaro.org>
9720 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9722 * gdb.server/connect-without-multi-process.exp (do_test):
9725 2016-08-23 Yao Qi <yao.qi@linaro.org>
9727 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9728 standalone_txt. Delete gdb_txt and standalone_txt on host
9729 and target. Spawn the binary on target. Copy files from
9732 2016-08-22 Pedro Alves <palves@redhat.com>
9735 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9736 with_test_prefix. Factor out bits to ...
9737 (test_no_vdso): ... this new procedure.
9739 2016-08-19 Carl Love <cel@us.ibm.com>
9741 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9742 maintaining separate logic for constructing the output path.
9743 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9744 * gdb.arch/ppc-dfp.exp: Likewise.
9745 * gdb.arch/ppc-fp.exp: Likewise.
9746 * gdb.arch/vsx-regs.exp: Likewise.
9747 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9748 binprefix for generating the additional binary files.
9750 2016-08-19 Pedro Alves <palves@redhat.com>
9752 * gdb.trace/mi-trace-frame-collected.exp
9753 (test_trace_frame_collected): On x32, expect two registers.
9755 2016-08-18 Carl Love <cel@us.ibm.com>
9757 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9758 and sync up the test with tests in gas/testsuite/gas/ppc.
9759 * gdb.arch/powerpc-power.exp: Likewise.
9761 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9763 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9764 expected error message.
9766 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9768 * gdb.multi/remove-inferiors.exp: New file.
9769 * gdb.multi/remove-inferiors.c: New file.
9771 2016-08-12 Yao Qi <yao.qi@linaro.org>
9773 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9776 2016-08-10 Pedro Alves <palves@redhat.com>
9779 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9782 2016-08-09 Pedro Alves <palves@redhat.com>
9783 Simon Marchi <simon.marchi@ericsson.com>
9786 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9787 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9789 2016-08-09 Pedro Alves <palves@redhat.com>
9792 * gdb.mi/mi-cmd-error.exp: New file.
9794 2016-08-09 Pedro Alves <palves@redhat.com>
9797 * gdb.base/signals-state-child.c: New file.
9798 * gdb.base/signals-state-child.exp: New file.
9799 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9801 2016-08-09 Pedro Alves <palves@redhat.com>
9803 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9805 2016-08-03 Tom Tromey <tom@tromey.com>
9808 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9810 2016-08-01 Yao Qi <yao.qi@linaro.org>
9812 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9813 variable mode to "multi-process" if $multi_process is 1, otherwise
9814 set it to "single-process".
9816 2016-08-01 Yao Qi <yao.qi@linaro.org>
9818 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9819 * gdb.cp/cpexprs.exp: Likewise.
9820 * gdb.cp/m-static.exp: Likewise.
9822 2016-07-26 Tom Tromey <tom@tromey.com>
9825 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9828 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9830 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9831 selecting assembly source files.
9832 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9833 assembly source files.
9834 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9835 assembly source files.
9836 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9837 selecting assembly source files.
9839 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9841 * gdb.base/new-ui.exp (do_test_invalid_args): New
9844 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9846 * gdb.btrace/reconnect.c: New file.
9847 * gdb.btrace/reconnect.exp: New file.
9849 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9851 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9852 to test_catch_syscall_group.
9853 (test_catch_syscall_group): New.
9855 2016-07-21 Tom Tromey <tom@tromey.com>
9857 * gdb.rust/simple.rs (main): Use empty struct expression.
9858 * gdb.rust/simple.exp: Add tests for empty struct expression.
9860 2016-07-21 Yao Qi <yao.qi@linaro.org>
9862 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9863 if gdb_skip_xml_test is true on some targets.
9865 2016-07-21 Yao Qi <yao.qi@linaro.org>
9867 * gdb.server/solib-list.exp: Unset last_loaded_file.
9869 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9871 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9872 "step into captured_main (args)".
9874 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9876 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9878 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9880 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9882 2016-07-19 Pedro Alves <palves@redhat.com>
9884 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9885 * gdb.opt/inline-bt.exp: Likewise.
9886 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9887 additional_flags=-Winline.
9888 * gdb.opt/inline-locals.exp: Likewise.
9889 * gdb.opt/inline-markers.c (ATTR): Define.
9890 (inlined_fn): Use it.
9892 2016-07-19 Yao Qi <yao.qi@linaro.org>
9894 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9895 (test_with_self): Remove some code. Remove argument executable.
9896 (top-level): Use do_self_tests.
9898 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9899 Don Breazeal <donb@codesourcery.com>
9901 * gdb.base/maint.exp: Escape paths used in regular expressions.
9902 * gdb.stabs/weird.exp: Likewise.
9904 2016-07-13 Tom Tromey <tom@tromey.com>
9906 PR python/15620, PR python/18620:
9907 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9908 (test_bkpt_events): New procs.
9910 2016-07-13 Tom Tromey <tom@tromey.com>
9913 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9915 (test_watchpoints): Likewise.
9916 (test_bkpt_pending): New proc.
9918 2016-07-13 Tom Tromey <tom@tromey.com>
9921 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9924 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9926 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9927 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9928 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9930 (g): Rename g_end_lbl to g_label.
9931 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9933 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9935 2016-07-12 Tom Tromey <tom@tromey.com>
9938 * gdb.python/py-unwind-maint.exp: Update tests.
9940 2016-07-12 Yao Qi <yao.qi@linaro.org>
9942 * lib/selftest-support.exp (selftest_setup): Match the output
9943 when captured_main is inlined.
9945 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9947 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9949 (print this%a, print this%b, print this): New tests.
9950 * gdb.fortran/derived-types.f90 (this): New object and
9953 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9955 * gdb.ada/arraydim.exp: Remove extra directory level in build
9958 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9960 * lib/ada.exp: Remove extra directory level in build directory.
9961 * gdb.ada/cond_lang.exp: Likewise.
9962 * gdb.ada/exec_changed.exp: Likewise.
9963 * gdb.ada/lang_switch.exp: Likewise.
9965 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9967 * simple.rs: Add test for raw pointer subscripting.
9968 * simple.exp: Add test expectations.
9970 2016-07-05 Yao Qi <yao.qi@linaro.org>
9972 * gdb.mi/mi-reverse.exp: Match =record-started output.
9974 2016-07-01 Pedro Alves <palves@redhat.com>
9976 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9978 (jit_reader_test): Test the jit reader's unwinder.
9979 * gdb.base/jithost.c (jit_function_00_code): New global.
9980 (main): Use memcpy to fill in the mmapped code, instead of poking
9981 bytes manually here.
9982 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9984 (read_debug_info): Save the function's range.
9985 (read_sp): New function.
9986 (unwind_frame): Use it. Also unwind RBP.
9987 (get_frame_id): Use read_sp.
9988 (gdb_init_reader): Use calloc instead of malloc.
9989 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9990 parameter. Use gdb_test_multiple.
9992 2016-07-01 Pedro Alves <palves@redhat.com>
9993 Antoine Tremblay <antoine.tremblay@ericsson.com>
9995 * gdb.threads/process-dies-while-detaching.c: New file.
9996 * gdb.threads/process-dies-while-detaching.exp: New file.
9998 2016-07-01 Pedro Alves <palves@redhat.com>
10000 * gdb.multi/watchpoint-multi-exit.c: New file.
10001 * gdb.multi/watchpoint-multi-exit.exp: New file.
10003 2016-06-30 Pedro Alves <palves@redhat.com>
10005 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10006 unset inferior_spawn_id.
10008 2016-06-30 Pedro Alves <palves@redhat.com>
10010 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10011 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10013 2016-06-29 Yao Qi <yao.qi@linaro.org>
10015 * gdb.base/return.c: Add copyright header.
10017 2016-06-29 Tom Tromey <tom@tromey.com>
10020 * gdb.python/py-framefilter.exp: Add tests for setting priority
10021 and disabling of non-existent frame filter.
10023 2016-06-29 Yao Qi <yao.qi@linaro.org>
10025 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10028 2016-06-28 Yao Qi <yao.qi@linaro.org>
10030 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10031 triplets. Start gdb, execute catch syscall, and continue. Check
10032 gdb's output to determine catch syscall is supported.
10034 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10036 * gdb.rust/simple.rs: Add test for returning unit in a function.
10037 * gdb.rust/simple.exp: Add expectation for functions returning
10040 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10042 * gdb.python/py-breakpoint-create-fail.c,
10043 gdb.python/py-breakpoint-create-fail.exp,
10044 gdb.python/py-breakpoint-create-fail.py: New testcase.
10046 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10049 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10050 * gdb.rust/simple.exp: Add test expectations for new NonZero
10053 2016-06-24 David Taylor <dtaylor@emc.com>
10055 * gdb.base/offsets.exp: New file.
10056 * gdb.base/offsets.c: New file.
10058 2016-06-23 Tom Tromey <tom@tromey.com>
10061 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10062 before any filters are loaded.
10064 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10066 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10067 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10069 * gdb.fortran/derived-type-function.exp: New file.
10070 * gdb.fortran/derived-type-function.f90: New file.
10073 2016-06-21 Pedro Alves <palves@redhat.com>
10075 * gdb.base/new-ui.exp: New file.
10076 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10077 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10078 (with_spawn_id): New procedure.
10080 2016-06-21 Pedro Alves <palves@redhat.com>
10082 * gdb.mi/mi-exec-run.exp: New file.
10084 2016-06-21 Pedro Alves <palves@redhat.com>
10086 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10087 breakpoint command's output on the main UI.
10088 (test_break): New procedure, factored out from calls in the top
10090 (top level): Use foreach_with_prefix to test MI as main UI and as
10093 2016-06-21 Pedro Alves <palves@redhat.com>
10095 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10096 (test_awatch_creation_and_listing)
10097 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10098 Remove 'type' parameter.
10099 (test_watchpoint_all): New parameter mi_mode. Remove
10101 (top level): Use foreach_with_prefix, and add main/separate UI MI
10104 2016-06-21 Pedro Alves <palves@redhat.com>
10106 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10107 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10108 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10109 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10110 (gdb_main_spawn_id, mi_spawn_id): Declare and
10112 (mi_create_inferior_pty): New procedure,
10113 factored out from default_mi_gdb_start.
10114 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10116 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10117 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10118 Use mi_create_inferior_pty.
10119 (mi_gdb_start): Use eval to pass down args list.
10121 2016-06-21 Pedro Alves <palves@redhat.com>
10123 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10124 * gdb.opt/inline-cmds.exp: Add MI tests.
10126 2016-06-21 Pedro Alves <palves@redhat.com>
10128 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10130 2016-06-21 Pedro Alves <palves@redhat.com>
10132 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10133 (top level): Use it instead of mi_execute_to.
10135 2016-06-21 Pedro Alves <palves@redhat.com>
10137 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10138 (cont_handler_str): New.
10139 (signal_stop_handler): Set stop_handler_str instead of printing to
10141 (continue_handler): Set cont_handler_str instead of printing to
10143 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10144 mi_send_resuming_command. Print stop_handler_str and
10145 cont_handler_str instead of expecting the python events print
10148 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10150 * gdb.base/jit-reader.exp: New file.
10151 * gdb.base/jithost.c: New file.
10152 * gdb.base/jithost.h: New file.
10153 * gdb.base/jitreader.c : New file.
10154 * gdb.base/jit-protocol.h: New file.
10156 2016-06-17 Yao Qi <yao.qi@linaro.org>
10158 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10159 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10160 and detach-on-fork. Adjust tests.
10161 (top level): Invoke break_cond_on_syscall with combinations of
10162 syscall, follow-fork-mode and detach-on-fork.
10164 2016-06-17 Yao Qi <yao.qi@linaro.org>
10166 * gdb.base/step-over-exit.c: New.
10167 * gdb.base/step-over-exit.exp: New.
10169 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10171 * gdb.base/float.exp: Add target check for nds32*-*-*.
10172 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10174 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10176 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10177 for unsupported target features.
10178 * gdb.base/call-rt-st.exp: Likewise.
10179 * gdb.base/call-sc.exp: Likewise.
10180 * gdb.base/call-signal-resume.exp: Likewise.
10181 * gdb.base/call-strs.exp: Likewise.
10182 * gdb.base/callexit.exp: Likewise.
10183 * gdb.base/callfuncs.exp: Likewise.
10184 * gdb.base/nodebug.exp: Likewise.
10185 * gdb.base/printcmds.exp: Likewise.
10186 * gdb.base/ptype.exp: Likewise.
10187 * gdb.base/structs.exp: Likewise.
10188 * gdb.base/unwindonsignal.exp: Likewise.
10189 * gdb.cp/gdb2495.exp: Likewise.
10190 * gdb.cp/templates.exp: Likewise.
10191 * gdb.cp/virtfunc.exp: Likewise.
10192 * gdb.threads/hand-call-in-threads.exp: Likewise.
10193 * gdb.threads/interrupted-hand-call.exp: Likewise.
10194 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10196 2016-06-10 Tom Tromey <tom@tromey.com>
10199 * gdb.rust/expr.exp: Add test for integer constant larger than
10202 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10204 * gdb.fortran/nested-funcs.exp: New.
10205 * gdb.fortran/nested-funcs.f90: New.
10207 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10209 * gdb.base/examine-backward.c: New file.
10210 * gdb.base/examine-backward.exp: New file.
10212 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10214 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10217 2016-06-02 Tom Tromey <tom@tromey.com>
10220 * gdb.python/py-shared.exp: Add solib_name test.
10222 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10224 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10226 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10229 * gdb.dwarf2/implref.exp: Rename to...
10230 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10231 * gdb.dwarf2/implref-array.c: New file.
10232 * gdb.dwarf2/implref-array.exp: Likewise.
10233 * gdb.dwarf2/implref-global.c: Likewise.
10234 * gdb.dwarf2/implref-global.exp: Likewise.
10235 * gdb.dwarf2/implref-struct.c: Likewise.
10236 * gdb.dwarf2/implref-struct.exp: Likewise.
10238 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10240 * gdb.trace/trace-condition.exp: Add 64bit tests.
10242 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10244 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10246 (main): Adapt to 8 to 64 bits types.
10247 * gdb.trace/trace-condition.exp: Add new tests.
10249 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10251 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10253 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10255 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10256 Move condition tests...
10257 * gdb.trace/trace-condition.exp: Here.
10259 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10261 * gdb.trace/trace-condition.exp: Add counter-case tests.
10263 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10266 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10267 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10269 2016-05-27 Pedro Alves <palves@redhat.com>
10271 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10273 (top level): Call it, and bail out of DejaGnu is known to be bad.
10275 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10277 * gdb.base/whatis.c: Extend the test case.
10278 * gdb.base/whatis.exp: Add additional tests.
10280 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10282 * gdb.fortran/type.f90: Add pointer variable.
10283 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10285 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10287 * gdb.fortran/vla-type.exp: Fix testcase name.
10289 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10291 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10293 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10295 * gdb.fortran/type.f90: Add nested structures.
10296 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10297 * gdb.fortran/derived-type.exp: Adapt expected output.
10298 * gdb.fortran/vla-type.exp: Adapt expected output.
10300 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10302 * gdb.fortran/whatis_type.exp: Adapt expected output.
10304 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10306 * gdb.fortran/print_type.exp: Fix expected output.
10307 * gdb.fortran/whatis_type.exp: Fix expected output.
10309 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10311 * gdb.fortran/whatis_type.exp: Use multi_line.
10313 2016-05-24 Tom Tromey <tom@tromey.com>
10316 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10317 use value as an index.
10319 2016-05-23 Tom Tromey <tom@tromey.com>
10322 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10323 no-breakpoint case.
10325 2016-05-24 Pedro Alves <palves@redhat.com>
10328 * gdb.threads/clone-attach-detach.c: New file.
10329 * gdb.threads/clone-attach-detach.exp: New file.
10331 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10333 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10335 2016-05-23 Tom Tromey <tom@tromey.com>
10337 PR python/19438, PR python/18393:
10338 * gdb.python/py-progspace.exp: Add "dir" test.
10339 * gdb.python/py-objfile.exp: Add "dir" test.
10341 2016-05-23 Yao Qi <yao.qi@linaro.org>
10343 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10344 * gdb.arch/thumb2-it.exp: Likewise.
10346 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10348 * gdb.mi/mi-threads-interrupt.c: New file.
10349 * gdb.mi/mi-threads-interrupt.exp: New file.
10351 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10354 * gdb.mi/mi-async-run.exp: New file.
10355 * gdb.mi/mi-async-run.c: New file.
10357 2016-05-17 Tom Tromey <tom@tromey.com>
10358 Manish Goregaokar <manishsmail@gmail.com>
10360 * lib/rust-support.exp: New file.
10361 * lib/gdb.exp (skip_rust_tests): New proc.
10362 (build_executable_from_specs): Handle rust.
10363 * lib/future.exp (gdb_find_rustc): New proc.
10364 (gdb_default_target_compile): Handle rust.
10365 * gdb.rust/expr.exp: New file.
10366 * gdb.rust/generics.exp: New file.
10367 * gdb.rust/generics.rs: New file.
10368 * gdb.rust/methods.exp: New file.
10369 * gdb.rust/methods.rs: New file.
10370 * gdb.rust/modules.exp: New file.
10371 * gdb.rust/modules.rs: New file.
10372 * gdb.rust/simple.exp: New file.
10373 * gdb.rust/simple.rs: New file.
10375 2016-05-17 Tom Tromey <tom@tromey.com>
10377 * gdb.base/default.exp (set language): Add rust.
10379 2016-05-17 Tom Tromey <tom@tromey.com>
10381 * gdb.gdb/unittest.exp: New file.
10383 2016-05-16 Yao Qi <yao.qi@linaro.org>
10385 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10386 shell_prompt. Update shell_prompt_re.
10388 2016-05-12 Doug Evans <dje@google.com>
10391 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10392 $options when building executable.
10393 * gdb.dwarf2/fission-loclists-pie.S: New file.
10394 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10396 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10398 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
10399 of [is_remote target],
10401 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10403 * lib/gdb.exp (use_gdb_stub): New procedure.
10405 2016-05-03 Yunlian Jiang <yunlian@google.com>
10406 Doug Evans <dje@google.com>
10409 * gdb.dwarf2/dwp-sepdebug.c: New file.
10410 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10412 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10414 * gdb.base/detach.exp: Remove is_remote check.
10416 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10418 * gdb.base/annota-input-while-running.exp: Don't check for
10419 [is_remote target]. Enable annotations after running to main.
10420 Remove unused "set test..." line.
10422 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10424 * gdb.trace/trace-enable-disable.exp: New file.
10425 * gdb.trace/trace-enable-disable.c: New file.
10427 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10429 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10430 use it in info sharedlibrary test.
10431 * gdb.trace/ftrace-lock.exp: Likewise.
10432 * gdb.trace/ftrace.exp: Likewise.
10433 * gdb.trace/range-stepping.exp: Likewise.
10434 * gdb.trace/trace-break.exp: Likewise.
10435 * gdb.trace/trace-condition.exp: Likewise.
10436 * gdb.trace/trace-mt.exp: Likewise.
10438 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10440 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10441 (gdb_load_shlib): ... this.
10442 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10444 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10445 * gdb.base/ctxobj.exp: Likewise.
10446 * gdb.base/dprintf-pending.exp: Likewise.
10447 * gdb.base/dso2dso.exp: Likewise.
10448 * gdb.base/fixsection.exp: Likewise.
10449 * gdb.base/gcore-relro.exp: Likewise.
10450 * gdb.base/gdb1555.exp: Likewise.
10451 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10452 * gdb.base/gnu-ifunc.exp: Likewise.
10453 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10454 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10455 * gdb.base/pending.exp: Likewise.
10456 * gdb.base/print-file-var.exp: Likewise.
10457 * gdb.base/print-symbol-loading.exp: Likewise.
10458 * gdb.base/shlib-call.exp: Likewise.
10459 * gdb.base/shreloc.exp: Likewise.
10460 * gdb.base/so-impl-ld.exp: Likewise.
10461 * gdb.base/solib-disc.exp: Likewise.
10462 * gdb.base/solib-nodir.exp: Likewise.
10463 * gdb.base/solib-overlap.exp: Likewise.
10464 * gdb.base/solib-symbol.exp: Likewise.
10465 * gdb.base/solib-weak.exp (do_test): Likewise.
10466 * gdb.base/sym-file.exp: Likewise.
10467 * gdb.base/symtab-search-order.exp: Likewise.
10468 * gdb.base/type-opaque.exp: Likewise.
10469 * gdb.base/unload.exp: Likewise.
10470 * gdb.base/watchpoint-solib.exp: Likewise.
10471 * gdb.compile/compile.exp: Likewise.
10472 * gdb.cp/gdb2384.exp: Likewise.
10473 * gdb.cp/infcall-dlopen.exp: Likewise.
10474 * gdb.cp/re-set-overloaded.exp: Likewise.
10475 * gdb.fortran/library-module.exp: Likewise.
10476 * gdb.opt/solib-intra-step.exp: Likewise.
10477 * gdb.python/py-finish-breakpoint.exp: Likewise.
10478 * gdb.python/py-shared.exp: Likewise.
10479 * gdb.reverse/solib-precsave.exp: Likewise.
10480 * gdb.reverse/solib-reverse.exp: Likewise.
10481 * gdb.server/solib-list.exp: Likewise.
10482 * gdb.threads/dlopen-libpthread.exp: Likewise.
10483 * gdb.threads/tls-shared.exp: Likewise.
10484 * gdb.threads/tls-so_extern.exp: Likewise.
10485 * gdb.trace/change-loc.exp: Likewise.
10486 * gdb.trace/ftrace-lock.exp: Likewise.
10487 * gdb.trace/ftrace.exp: Likewise.
10488 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10489 * gdb.trace/pending.exp: Likewise.
10490 * gdb.trace/range-stepping.exp: Likewise.
10491 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10492 (strace_info_marker): Likewise.
10493 (strace_probe_marker): Likewise.
10494 (strace_trace_on_same_addr): Likewise.
10495 (strace_trace_on_diff_addr): Likewise.
10496 * gdb.trace/trace-break.exp: Likewise.
10497 * gdb.trace/trace-condition.exp: Likewise.
10498 * gdb.trace/trace-mt.exp: Likewise.
10500 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10502 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10503 result of gdb_remote_download.
10504 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10505 * gdb.base/dso2dso.exp: Likewise.
10506 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10507 * gdb.base/print-file-var.exp: Likewise.
10508 * gdb.base/shlib-call.exp: Likewise.
10509 * gdb.base/shreloc.exp: Likewise.
10510 * gdb.base/solib-overlap.exp: Likewise.
10511 * gdb.base/solib-weak.exp (do_test): Likewise.
10512 * gdb.base/unload.exp: Likewise.
10514 2016-04-27 Yao Qi <yao.qi@linaro.org>
10516 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10519 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10521 * vla-type.exp: Print structure from toplevel.
10523 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10525 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10527 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10530 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10532 * gdb.fortran/vla-type.f90: New file.
10533 * gdb.fortran/vla-type.exp: New file.
10535 2016-04-25 Yao Qi <yao.qi@linaro.org>
10537 * gdb.base/branch-to-self.c: New file.
10538 * gdb.base/branch-to-self.exp: New file.
10540 2016-04-22 Yao Qi <yao.qi@linaro.org>
10542 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10545 2016-04-22 Yao Qi <yao.qi@linaro.org>
10547 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10548 * gdb.base/annota3.exp: Likewise.
10550 2016-04-22 Yao Qi <yao.qi@linaro.org>
10552 * gdb.reverse/step-precsave.exp: Do one step and test program
10553 stops in "callee" and do multiple steps until program goes out
10555 * gdb.reverse/step-reverse.exp: Likewise.
10557 2016-04-22 Yao Qi <yao.qi@linaro.org>
10559 * gdb.trace/signal.exp: Also pass if
10560 $tracepoint_hits($i) > $iterations.
10562 2016-04-22 Yao Qi <yao.qi@linaro.org>
10564 * gdb.trace/signal.c: New file.
10565 * gdb.trace/signal.exp: New file.
10567 2016-04-19 Doug Evans <xdje42@gmail.com>
10569 * gdb.base/bad-file.exp: New file.
10571 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10573 * gdb.dwarf2/implref.exp: New file.
10575 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10577 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10578 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10579 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10580 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10581 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10582 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10583 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10584 * lib/fortran.exp (fortran_int4): New procedure.
10585 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10586 (fortran_logical4): Likewise.
10588 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10590 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10592 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10594 * lib/compiler.c: Add Intel specific preprocessor macros.
10595 * lib/compiler.cc: Likewise.
10597 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10599 * gdb.server/connect-with-no-symbol-file.c: New file.
10600 * gdb.server/connect-with-no-symbol-file.exp: New file.
10602 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10604 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10606 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10608 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10609 standard output directory.
10611 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10613 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10615 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10617 * gdb.btrace/instruction_history.c (loop): Add declaration.
10619 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10621 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10623 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10625 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10626 parentheses to print.
10627 (continue_handler): Likewise.
10629 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10631 * gdb.server/solib-list.exp: Remove is_remote check.
10632 Pass shlib= to gdb_compile. Don't link shared library with
10633 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10634 Run binary filename through "readlink -f" on the target.
10636 2016-04-08 Pedro Alves <palves@redhat.com>
10638 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10639 interpreter filename as argument to gdbserver_spawn.
10640 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10641 Return empty if $last_loaded_file does not exist.
10643 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10645 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10646 * gdb.base/jit-main.c: Use exit after usage.
10648 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10650 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10651 GDBHISTSIZE prior to the tests.
10652 * gdb.base/gdbinit-history.exp: Likewise.
10654 2016-04-07 Pedro Alves <palves@redhat.com>
10656 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10657 instead of build_executable. Use gdb_load_shlibs.
10659 2016-04-07 Yao Qi <yao.qi@linaro.org>
10661 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10662 Execute "si" command.
10664 2016-04-07 Yao Qi <yao.qi@linaro.org>
10666 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10667 number instead of the comments on some line.
10669 2016-04-06 Don Breazeal <donb@codesourcery.com>
10671 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10672 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10674 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10676 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10677 standard_output_file. Remove unused binfile variable.
10679 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10681 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10682 * gdb.python/py-mi-objfile.exp: Match "list main" output
10685 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10687 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10690 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10692 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10694 * gdb.trace/ftrace.exp: Likewise.
10695 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10697 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10698 (gdb_load_shlibs): Copy libraries to test directory when testing
10699 natively. Only set solib-search-path if testing remotely.
10700 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10702 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10704 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10705 gdb_download. Use it even if the target is not remote.
10706 * gdb.base/jit.exp (compile_jit_test): Likewise.
10707 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10708 output directory if the destination board is local, otherwise use
10709 the standard remote_download from DejaGnu.
10710 (gdb_download): Remove.
10711 (gdb_load_shlibs): Use gdb_remote_download instead of
10713 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10714 Use gdb_remote_download instead of gdb_download. Use it even if
10715 the target is not remote.
10716 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10717 instead of gdb_download.
10719 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10721 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10722 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10725 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10728 * gdb.base/printcmds.exp: Add artificial arrays tests.
10730 2016-03-31 Pedro Alves <palves@redhat.com>
10733 * gdb.base/jit-main.c: Include unistd.h.
10734 (ATTACH): Define to 0 if not already defined.
10735 (wait_for_gdb, mypid): New globals.
10736 (WAIT_FOR_GDB): New macro.
10737 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10738 some breakpoint locations.
10739 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10741 (one_jit_test): Add REATTACH parameter, and handle it. Use
10742 continue_to_test_location.
10743 (top level): Test attach, and adjusts calls to one_jit_test.
10745 2016-03-31 Pedro Alves <palves@redhat.com>
10748 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10749 BINSUFFIX parameter, and handle it.
10750 (top level): Adjust calls compile_jit_test.
10752 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10755 * gdb.python/py-mi-events-gdb.py: New file.
10756 * gdb.python/py-mi-events.c: New file.
10757 * gdb.python/py-mi-events.exp: New file.
10759 2016-03-30 Yao Qi <yao.qi@linaro.org>
10761 * gdb.reverse/until-precsave.exp: Match function name only.
10762 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10763 Move malloc to a condition block.
10764 * gdb.reverse/until-reverse.exp: Match function name only.
10766 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10768 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10769 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10770 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10771 variable for GPR 0 instead of assuming it is register 0.
10772 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10773 * lib/trace-support.exp: Add s390 registers.
10775 2016-03-29 Yao Qi <yao.qi@linaro.org>
10777 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10779 2016-03-24 Yao Qi <yao.qi@linaro.org>
10781 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10784 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10786 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10787 maintaining separate logic for constructing the output path.
10789 2016-03-16 Don Breazeal <donb@codesourcery.com>
10791 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10792 Retry fork and waitpid on interrupted system call errors.
10793 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10794 Use with_timeout_factor to increase timeout by factor of 10.
10796 2016-03-15 Don Breazeal <donb@codesourcery.com>
10798 * gdb.cp/scope-err.cc: New test program.
10799 * gdb.cp/scope-err.exp: New test script.
10800 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10801 lines and "set breakpoint here" comment.
10802 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10803 Fixed some whitespace and format issues.
10804 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10805 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10807 2016-03-15 Doug Evans <dje@google.com>
10809 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10810 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10811 All callers updated. Add tests for enums, mixed flags register.
10813 2016-03-15 Doug Evans <dje@google.com>
10815 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10816 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10818 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10820 * gdb.base/default.exp: Add $_as_string to the list of expected
10821 convenience functions.
10823 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10825 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10827 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10829 * gdb.python/py-as-string.exp: New file.
10830 * gdb.python/py-as-string.c: New file.
10832 2016-03-09 Pedro Alves <palves@redhat.com>
10834 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10835 signal" -> "Thread NN received signal" output change.
10836 * gdb.threads/ia64-sigill.exp: Likewise.
10837 * gdb.threads/linux-dp.exp: Likewise.
10838 * gdb.threads/manythreads.exp: Likewise.
10839 * gdb.threads/pending-step.exp: Likewise.
10840 * gdb.threads/print-threads.exp: Likewise.
10841 * gdb.threads/sigstep-threads.exp: Likewise.
10842 * gdb.threads/staticthreads.exp: Likewise.
10843 * gdb.threads/tls.exp: Likewise.
10845 2016-03-09 Pedro Alves <palves@redhat.com>
10847 * gdb.base/command-line-input.exp: New file.
10849 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10851 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10852 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10853 * gdb.trace/pending.exp: Accept leading dot before function name.
10854 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10855 * lib/trace-support.exp: Set registers for ppc.
10857 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10859 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10860 use it for disassembly; accept .main in addition to main in backtrace.
10862 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10863 Marcin Kościelnicki <koriakin@0x04.net>
10865 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10866 (gdb_recursion_test_ptr): New global variable.
10867 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10868 gdb_recursion_test.
10869 (gdb_c_test): Ditto.
10871 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10873 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10876 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10878 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10879 (bar): Add bar_start_lbl label.
10880 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10881 of foo/bar for emitting DWARF and tracing.
10883 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10885 * analyze-racy-logs.py: Set executable bit.
10887 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10889 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10890 (CHECK_TARGET_TMP): Likewise.
10891 (check-single-racy): New rule.
10892 (check-parallel-racy): Likewise.
10893 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10894 (do-check-parallel-racy): New rule.
10895 (check-racy/%.exp): Likewise.
10896 * README (Racy testcases): New section.
10897 * analyze-racy-logs.py: New file.
10899 2016-03-03 Doug Evans <dje@google.com>
10901 * gdb.base/skip.exp: Use with_test_prefix.
10903 2016-03-03 Yao Qi <yao.qi@linaro.org>
10905 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10906 Invoke step_over_syscall "clone" and break_cond_on_syscall
10908 * gdb.base/step-over-clone.c: New file.
10910 2016-03-03 Yao Qi <yao.qi@linaro.org>
10912 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10915 2016-03-03 Yao Qi <yao.qi@linaro.org>
10917 * gdb.base/disp-step-fork.c: Rename to ...
10918 * gdb.base/step-over-fork.c: ... it. New file.
10919 * gdb.base/disp-step-vfork.c: Rename to ...
10920 * gdb.base/step-over-vfork.c: ... it. New file.
10921 * gdb.base/disp-step-syscall.exp: Rename to ...
10922 * gdb.base/step-over-syscall.exp: ... it. New file.
10923 (disp_step_cross_syscall): Rename to ...
10924 (step_over_syscall): ... it.
10926 2016-03-03 Yao Qi <yao.qi@linaro.org>
10928 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10929 If target supports condition evaluation on target, invoke
10930 break_cond_on_syscall for fork and vfork.
10932 2016-03-03 Yao Qi <yao.qi@linaro.org>
10934 * gdb.base/disp-step-syscall.exp: Don't invoke
10935 support_displaced_stepping.
10936 (disp_step_cross_syscall): Test with displaced stepping off and
10939 2016-03-03 Yao Qi <yao.qi@linaro.org>
10941 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10944 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10947 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10949 * gdb.fortran/vla-history.exp: Remove breakpoint.
10951 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10953 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10956 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10958 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10961 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10963 * gdb.mi/vla.f90: Nullify pointer after declaration.
10965 2016-03-01 Pedro Alves <palves@redhat.com>
10967 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10969 2016-03-01 Pedro Alves <palves@redhat.com>
10971 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10972 before anything else.
10973 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10975 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10976 before anything else.
10977 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10979 2016-03-01 Pedro Alves <palves@redhat.com>
10981 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10983 2016-03-01 Yao Qi <yao.qi@linaro.org>
10985 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10986 prepare_for_testing.
10988 2016-03-01 Yao Qi <yao.qi@linaro.org>
10990 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10992 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10994 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10995 manually constructing the output path.
10997 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10999 * gdb.arch/s390-stackless.S: New.
11000 * gdb.arch/s390-stackless.exp: New.
11002 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11004 * gdb.dlang/circular.c: New file.
11005 * gdb.dlang/circular.exp: New file.
11007 2016-02-26 Yao Qi <yao.qi@linaro.org>
11009 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11010 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11011 (testcases): Update.
11013 2016-02-26 Yao Qi <yao.qi@linaro.org>
11015 * gdb.reverse/aarch64.c: Rename to ...
11016 * gdb.reverse/insn-reverse.c: ... it.
11017 * gdb.reverse/aarch64.exp: Rename to ...
11018 * gdb.reverse/insn-reverse.exp: ... it.
11020 2016-02-26 Yao Qi <yao.qi@linaro.org>
11022 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11023 (testcase_ftype): New.
11024 (testcases): New array.
11025 (n_testcases): New.
11026 (main): Call each element in testcases.
11027 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11028 (read_testcase): New.
11029 Do the tests in a loop.
11031 2016-02-25 Yao Qi <yao.qi@linaro.org>
11033 * gdb.base/branches.c: Remove.
11035 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11038 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11040 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11042 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11044 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11046 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11047 change x86_64 call_insn to 'callq'.
11049 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11051 * gdb.trace/tfile-avx.c: Move to...
11052 * gdb.trace/tracefile-pseudo-reg.c: Here.
11053 * gdb.trace/tfile-avx.exp: Move to...
11054 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11056 2016-02-24 Gary Benson <gbenson@redhat.com>
11058 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11061 2016-02-23 Doug Evans <dje@google.com>
11063 * gdb.base/skip.c (test_skip): New function.
11064 (end_test_skip_file_and_function): New function.
11065 (test_skip_file_and_function): New function.
11066 * gdb.base/skip1.c (test_skip): New function.
11067 (skip1_test_skip_file_and_function): New function.
11068 * gdb.base/skip.exp: Add tests for new skip options.
11069 * gdb.base/skip-solib.exp: Update expected output.
11070 * gdb.perf/skip-command.cc: New file.
11071 * gdb.perf/skip-command.exp: New file.
11072 * gdb.perf/skip-command.py: New file.
11074 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11076 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11077 info registers pattern.
11079 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11081 * lib/future.exp: Add D support.
11082 (gdb_find_gdc): New proc.
11083 (gdb_default_target_compile): Add D support.
11085 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11087 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11089 (trace_speed_test): Determine the iteration count for a time
11090 between 15..30 seconds.
11092 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11094 * gdb.arch/i386-mpx-sigsegv.c: New file.
11095 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11096 * gdb.arch/i386-mpx-simple_segv.c: New file.
11097 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11099 2016-02-18 Yao Qi <yao.qi@linaro.org>
11101 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11102 Don't call setup_kfail.
11104 2016-02-18 Yao Qi <yao.qi@linaro.org>
11106 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11107 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11109 2016-02-16 Doug Evans <dje@google.com>
11111 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11112 * gdb.base/skip1.c: Ditto.
11113 * gdb.base/skip.exp: Whitespace cleanup.
11115 2016-02-16 Don Breazeal <donb@codesourcery.com>
11118 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11119 Remove kfail for PR remote/19496.
11121 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11123 * lib/gdb.exp (standard_temp_file): Return a path specific to
11124 the runtest invocation.
11126 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11128 * gdb.trace/save-trace.exp: Change relative path to be in the
11129 standard output directory.
11131 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11133 * gdb.arch/i386-prologue.c: Add missing prototypes.
11135 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11137 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11138 * gdb.arch/i386-prologue.exp: Likewise.
11139 * gdb.arch/i386-size.exp: Likewise.
11141 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11143 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11144 define object file path.
11145 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11147 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11148 standard_output_file to define binfile.
11150 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11152 Fix compatibility with recent gfortran-5.3.1.
11153 * gdb.fortran/vla-history.exp (print vla1 allocated)
11154 (print vla2 allocated, print $2, print $3): Remove
11155 (print $4): Rename to ...
11156 (print $2): ... here.
11157 (print $9): Rename to ...
11158 (print $5): ... here.
11159 (print $10): Rename to ...
11160 (print $6): ... here.
11161 * gdb.fortran/vla.f90: Add pvla initialization.
11163 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11165 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11167 * gdb.fortran/vla-value-sub.exp: Likewise.
11169 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11171 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11173 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11175 * i386-biarch-core.exp: Define corefile using
11176 standard_output_file.
11178 2016-02-12 Yao Qi <yao.qi@linaro.org>
11180 * gdb.arch/arm-single-step-kernel-helper.c: New.
11181 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11183 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11185 * gdb.btrace/tailcall-only.exp: New.
11186 * gdb.btrace/tailcall-only.c: New.
11187 * gdb.btrace/x86_64-tailcall-only.S: New.
11188 * gdb.btrace/i686-tailcall-only.S: New.
11190 2016-02-11 Pedro Alves <palves@redhat.com>
11192 * README (Parallel testing): Add missing double quotes.
11194 2016-02-11 Pedro Alves <palves@redhat.com>
11196 * README (Parallel testing): New section.
11197 (GDB_PARALLEL): Rewrite.
11198 (FORCE_PARALLEL): Document.
11200 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11202 * gdb.trace/tfile-avx.c: New test.
11203 * gdb.trace/tfile-avx.exp: New test.
11205 2016-02-09 Keith Seitz <keiths@redhat.com>
11207 PR breakpoints/19546
11208 * gdb.base/infcall-exec.c: New file.
11209 * gdb.base/infcall-exec2.c: New file.
11210 * gdb.base/infcall-exec.exp: New file.
11212 2016-02-09 Keith Seitz <keiths@redhat.com>
11214 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11215 (toplevel): Call test_bkpt_address.
11217 2016-02-09 Keith Seitz <keiths@redhat.com>
11220 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11221 (toplevel): Call test_bkpt_address.
11223 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11225 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11227 * configure: Regenerate.
11229 2016-02-09 Pedro Alves <palves@redhat.com>
11231 PR breakpoints/19548
11232 * gdb.base/execl-update-breakpoints.c (some_function): New
11235 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11236 Tighten expected GDB output.
11238 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11240 * Makefile.in (ALL_SUBDIRS): Remove.
11241 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11242 (distclean maintainer-clean realclean): Likewise.
11243 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11244 * configure: Regenerate.
11245 * gdb.ada/Makefile.in: Delete.
11246 * gdb.arch/Makefile.in: Likewise.
11247 * gdb.asm/Makefile.in: Likewise.
11248 * gdb.base/Makefile.in: Likewise.
11249 * gdb.btrace/Makefile.in: Likewise.
11250 * gdb.cell/Makefile.in: Likewise.
11251 * gdb.compile/Makefile.in: Likewise.
11252 * gdb.cp/Makefile.in: Likewise.
11253 * gdb.disasm/Makefile.in: Likewise.
11254 * gdb.dlang/Makefile.in: Likewise.
11255 * gdb.dwarf2/Makefile.in: Likewise.
11256 * gdb.fortran/Makefile.in: Likewise.
11257 * gdb.gdb/Makefile.in: Likewise.
11258 * gdb.go/Makefile.in: Likewise.
11259 * gdb.guile/Makefile.in: Likewise.
11260 * gdb.java/Makefile.in: Likewise.
11261 * gdb.linespec/Makefile.in: Likewise.
11262 * gdb.mi/Makefile.in: Likewise.
11263 * gdb.modula2/Makefile.in: Likewise.
11264 * gdb.multi/Makefile.in: Likewise.
11265 * gdb.objc/Makefile.in: Likewise.
11266 * gdb.opencl/Makefile.in: Likewise.
11267 * gdb.opt/Makefile.in: Likewise.
11268 * gdb.pascal/Makefile.in: Likewise.
11269 * gdb.perf/Makefile.in: Likewise.
11270 * gdb.python/Makefile.in: Likewise.
11271 * gdb.reverse/Makefile.in: Likewise.
11272 * gdb.server/Makefile.in: Likewise.
11273 * gdb.stabs/Makefile.in: Likewise.
11274 * gdb.threads/Makefile.in: Likewise.
11275 * gdb.trace/Makefile.in: Likewise.
11276 * gdb.xml/Makefile.in: Likewise.
11277 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11279 (standard_output_file): Remove check for GDB_PARALLEL, always
11280 return path in outputs/$subdir/$testname.
11282 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11284 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11285 (site.exp): Assign abs_srcdir to tcl's srcdir.
11287 2016-02-04 Yao Qi <yao.qi@linaro.org>
11289 * gdb.base/foll-exec-mode.c: Include limits.h.
11290 (main): Add parameters argc and argv. Get directory from
11292 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11294 * gdb.base/foll-exec.c: Include limits.h.
11295 (main): Add parameters argc and argv.
11296 Get directory from argv[0].
11297 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11298 Adjust tests on the number of lines as source code changed.
11299 * gdb.base/foll-vfork-exit.c: Include limits.h.
11300 (main): Add one line of statement before vfork.
11301 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11302 (main): Add parameters argc and argv. Get directory from
11304 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11305 (setup_gdb): Set tbreak to skip some source lines.
11306 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11307 (main): Add parameters argc and argv. Get directory from
11309 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11311 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11312 (main): Add parameters argc and argv. Get directory from
11314 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11317 2016-02-01 Doug Evans <dje@google.com>
11319 * gdb.base/skip.exp: Clean up multiple references to same test name.
11321 2016-02-01 Pedro Alves <palves@redhat.com>
11324 * gdb.threads/forking-threads-plus-breakpoint.exp
11325 (displaced_stepping_supported): New global.
11326 (probe_displaced_stepping_support): New procedure.
11327 (do_test): Add 'displaced' parameter, and use it.
11328 (top level): Check for displaced stepping support. Add displaced
11329 stepping on/off testing axis.
11331 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11333 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11334 pointer. Don't perform further tests on the unassociated pointer
11335 if the first test fails.
11337 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11339 * gdb.base/max-value-size.c: New file.
11340 * gdb.base/max-value-size.exp: New file.
11341 * gdb.base/huge.exp: Disable max-value-size for this test.
11343 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11345 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11347 2016-01-28 Yao Qi <yao.qi@linaro.org>
11349 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11351 2016-01-25 Pedro Alves <palves@redhat.com>
11354 * gdb.base/fork-running-state.c: New file.
11355 * gdb.base/fork-running-state.exp: New file.
11357 2016-01-25 Pedro Alves <palves@redhat.com>
11360 * gdb.base/catch-fork-kill.c: New file.
11361 * gdb.base/catch-fork-kill.exp: New file.
11363 2016-01-25 Pedro Alves <palves@redhat.com>
11365 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11366 Delete, moved to lib/gdb.exp.
11367 * gdb.threads/forking-threads-plus-breakpoint.exp
11368 (foreach_with_prefix): Likewise.
11369 * gdb.threads/process-dies-while-handling-bp.exp
11370 (foreach_with_prefix): Likewise.
11371 * lib/gdb.exp (foreach_with_prefix): New procedure.
11373 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11375 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11376 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11378 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11380 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11383 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11384 Pedro Alves <palves@redhat.com>
11386 Fix testsuite compatibility with Guile.
11387 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11390 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11392 Fix testsuite compatibility with Guile.
11393 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11394 (thread 1): New test for backtrace through signal handler.
11396 2016-01-22 Yao Qi <yao.qi@linaro.org>
11399 * gdb.base/multi-forks.c: Include
11400 ../lib/unbuffer_output.c
11401 (main): Call gdb_unbuffer_output.
11403 2016-01-21 Doug Evans <dje@google.com>
11405 * lib/ada.exp (gdb_compile_ada): Fix typo.
11407 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11409 * gdb.base/break-fun-addr.exp: New file.
11410 * gdb.base/break-fun-addr1.c: New file.
11411 * gdb.base/break-fun-addr2.c: New file.
11413 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11415 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11416 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11419 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11421 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11422 when GDB can not set the vector return value. Add more comments
11425 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11427 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11430 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11432 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11434 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11436 * Makefile.in (check-single): Pass --status to runtest.
11437 (check/%.exp): Likewise.
11439 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11441 * Makefile.in (check-parallel): Propagate return code from make
11444 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11446 * gdb.trace/ftrace.exp: Fix expected message on continue.
11447 * gdb.trace/pending.exp: Fix expected message on continue.
11448 * gdb.trace/trace-break.exp: Fix expected message on continue.
11450 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11452 * lib/gdb.exp (gdb_test): Remove unused global references.
11454 2016-01-18 Pedro Alves <palves@redhat.com>
11456 * gdb.base/async-shell.exp: Adjust expected output.
11457 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11458 * gdb.base/siginfo-thread.exp: Adjust expected output.
11459 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11460 * gdb.java/jnpe.exp: Adjust expected output.
11461 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11462 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11463 * gdb.threads/leader-exit.exp: Adjust expected output.
11464 * gdb.threads/manythreads.exp: Adjust expected output.
11465 * gdb.threads/pthreads.exp: Adjust expected output.
11466 * gdb.threads/schedlock.exp: Adjust expected output.
11467 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11468 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11470 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11472 * gdb.threads/sigthread.exp: Adjust expected output.
11473 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11475 2016-01-18 Yao Qi <yao.qi@linaro.org>
11477 * gdb.guile/scm-section-script.c: Replace @progbits with
11479 * gdb.python/py-section-script.c: Likewise.
11481 2016-01-15 Pedro Alves <palves@redhat.com>
11483 * gdb.multi/tids.exp: Test star wildcard ranges.
11485 2016-01-15 Pedro Alves <palves@redhat.com>
11487 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11488 command from "thread apply" invocation.
11489 (thr_apply_info_thr_invalid): Default the expected output to the
11491 (top level): Add tests that use convenience variables. Add tests
11492 for "thread apply" with a valid TID list, but missing the command.
11494 2016-01-13 Pedro Alves <palves@redhat.com>
11496 * gdb.base/default.exp: Expect $_gthread as well.
11497 * gdb.multi/tids.exp: Test $_gthread.
11498 * gdb.threads/thread-specific.exp: Test $_gthread.
11500 2016-01-13 Pedro Alves <palves@redhat.com>
11502 * gdb.multi/tids.exp: Test "info threads -gid".
11504 2016-01-13 Pedro Alves <palves@redhat.com>
11506 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11508 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11510 2016-01-07 Pedro Alves <palves@redhat.com>
11512 * gdb.base/break.exp: Adjust to output changes.
11513 * gdb.base/hbreak2.exp: Likewise.
11514 * gdb.base/sepdebug.exp: Likewise.
11515 * gdb.base/watch_thread_num.exp: Likewise.
11516 * gdb.linespec/keywords.exp: Likewise.
11517 * gdb.multi/info-threads.exp: Likewise.
11518 * gdb.threads/thread-find.exp: Likewise.
11519 * gdb.multi/tids.c: New file.
11520 * gdb.multi/tids.exp: New file.
11522 2016-01-13 Pedro Alves <palves@redhat.com>
11524 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11526 2016-01-13 Pedro Alves <palves@redhat.com>
11528 * gdb.base/default.exp: Expect $_inferior as well.
11529 * gdb.multi/base.exp: Test $_inferior.
11531 2016-01-13 Pedro Alves <palves@redhat.com>
11533 PR breakpoints/19388
11534 * gdb.base/catch-signal-siginfo-cond.c: New file.
11535 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11537 2016-01-12 Josh Stone <jistone@redhat.com>
11538 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11540 * gdb.base/catch-syscall.c (do_execve): New variable.
11541 (main): Conditionally trigger an execve.
11542 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11543 (test_catch_syscall_execve): New, check entry/return across execve.
11544 (do_syscall_tests): Call test_catch_syscall_execve.
11546 2016-01-12 Pedro Alves <palves@redhat.com>
11548 * gdb.base/random-signal.exp (do_test): New procedure, with body
11549 of testcase moved in.
11551 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11552 Pedro Alves <palves@redhat.com>
11554 * gdb.base/funcargs.exp (finish from indirectly called function):
11555 Reintroduce the case for 'First'.
11557 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11558 Pedro Alves <palves@redhat.com>
11560 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11561 (tcatch_vfork_then_child_follow_exec)
11562 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11565 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11567 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11568 and repeats to unlimited.
11569 * gdb.python/py-value.exp: Likewise.
11570 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11571 and repeats to unlimited.
11573 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11575 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11576 and reordering the functions.
11577 * gdb.multi/hangout.c: Likewise.
11578 * gdb.multi/hello.c: Likewise.
11580 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11582 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11584 (SingleStatisticTestResult.report): Use dict.keys instead of
11587 2016-01-06 Pedro Alves <palves@redhat.com>
11589 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11591 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11593 * gdb.btrace/dlopen.exp: New.
11594 * gdb.btrace/dlopen.c: New.
11595 * gdb.btrace/dlopen-dso.c: New.
11597 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11599 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11600 PATTERN argument is optional.
11602 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11604 * lib/ada.exp (target_compile_ada_from_dir): New function.
11605 (gdb_compile_ada): Reimplement avoiding the use of project files.
11606 * gdb.ada/gnat_ada.gpr: Delete.
11607 * gdb.ada/cond_lang.exp: Adjust test to make path before
11609 * gdb.ada/small_reg_param.exp: Likewise.
11611 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11613 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11615 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11617 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11620 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11622 * gdb.base/break.exp: Remove dead code.
11623 * gdb.base/sepdebug.exp: Likewise.
11625 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11627 * gdb.asm/asm-source.exp: Remove HP-UX references.
11628 * gdb.base/annota1.exp: Likewise.
11629 * gdb.base/annota3.exp: Likewise.
11630 * gdb.base/attach.exp: Likewise.
11631 * gdb.base/bigcore.exp: Likewise.
11632 * gdb.base/break.exp: Likewise.
11633 * gdb.base/call-ar-st.exp: Likewise.
11634 * gdb.base/callfuncs.exp: Likewise.
11635 * gdb.base/catch-fork-static.exp: Likewise.
11636 * gdb.base/display.exp: Likewise.
11637 * gdb.base/foll-exec-mode.exp: Likewise.
11638 * gdb.base/foll-exec.exp: Likewise.
11639 * gdb.base/foll-fork.exp: Likewise.
11640 * gdb.base/foll-vfork.exp: Likewise.
11641 * gdb.base/funcargs.exp: Likewise.
11642 * gdb.base/hbreak2.exp: Likewise.
11643 * gdb.base/inferior-died.exp: Likewise.
11644 * gdb.base/interrupt.exp: Likewise.
11645 * gdb.base/multi-forks.exp: Likewise.
11646 * gdb.base/nodebug.exp: Likewise.
11647 * gdb.base/sepdebug.exp: Likewise.
11648 * gdb.base/solib1.c: Likewise.
11649 * gdb.base/step-test.exp: Likewise.
11650 * gdb.mi/non-stop.c: Likewise.
11651 * gdb.mi/pthreads.c: Likewise.
11652 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11653 * gdb.threads/pthreads.c: Likewise.
11654 * gdb.threads/staticthreads.exp: Likewise.
11655 * lib/future.exp: Likewise.
11656 * lib/gdb.exp: Likewise.
11657 * gdb.base/so-indr-cl.c: Remove.
11658 * gdb.base/so-indr-cl.exp: Likewise.
11659 * gdb.base/solib.c: Likewise.
11660 * gdb.base/solib.exp: Likewise.
11661 * gdb.base/solib2.c: Likewise.
11663 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11665 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11666 * gdb.base/call-ar-st.exp: Likewise.
11667 * gdb.base/callfuncs.exp: Likewise.
11668 * gdb.base/condbreak.exp: Likewise.
11669 * gdb.base/constvars.exp: Likewise.
11670 * gdb.base/hbreak2.exp: Likewise.
11671 * gdb.base/langs.exp: Likewise.
11672 * gdb.base/list.exp: Likewise.
11673 * gdb.base/long_long.exp: Likewise.
11674 * gdb.base/ptype.exp: Likewise.
11675 * gdb.base/scope.exp: Likewise.
11676 * gdb.base/signals.exp: Likewise.
11677 * gdb.base/so-impl-ld.exp: Likewise.
11678 * gdb.base/varargs.exp: Likewise.
11679 * gdb.base/volatile.exp: Likewise.
11680 * gdb.base/whatis.exp: Likewise.
11681 * gdb.cp/cplusfuncs.exp: Likewise.
11682 * gdb.cp/inherit.exp: Likewise.
11683 * gdb.cp/local.exp: Likewise.
11684 * gdb.cp/member-ptr.exp: Likewise.
11685 * gdb.cp/method.exp: Likewise.
11686 * gdb.cp/overload.exp: Likewise.
11687 * gdb.cp/templates.exp: Likewise.
11688 * gdb.stabs/weird.exp: Likewise.
11689 * lib/compiler.c: Likewise.
11690 * lib/compiler.cc: Likewise.
11691 * lib/cp-support.exp: Likewise.
11692 * lib/gdb.exp: Likewise.
11694 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11696 * configure.ac: Remove HP-UX case.
11697 * configure: Regenerate.
11699 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11701 * lib/gdb.exp (gdb_compile): Add function doc.
11703 2015-12-17 Pedro Alves <palves@redhat.com>
11706 * gdb.multi/info-threads.exp: New file.
11708 2015-12-15 Yao Qi <yao.qi@linaro.org>
11710 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11713 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11715 * gdb.base/history-duplicates.exp: Skip if no readline support.
11717 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11719 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11721 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11723 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11725 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11727 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11728 ctrl-C if nointerrupts target property is set.
11729 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11730 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11731 * gdb.base/paginate-bg-execution.exp: Likewise.
11732 * gdb.base/paginate-execution-startup.exp: Likewise.
11733 * gdb.base/random-signal.exp: Likewise.
11734 * gdb.base/range-stepping.exp: Likewise.
11735 * gdb.cp/annota2.exp: Likewise.
11736 * gdb.cp/annota3.exp: Likewise.
11737 * gdb.gdb/selftest.exp: Likewise.
11738 * gdb.threads/continue-pending-status.exp: Likewise.
11739 * gdb.threads/leader-exit.exp: Likewise.
11740 * gdb.threads/manythreads.exp: Likewise.
11741 * gdb.threads/pthreads.exp: Likewise.
11742 * gdb.threads/schedlock.exp: Likewise.
11743 * gdb.threads/sigthread.exp: Likewise.
11745 2015-12-11 Don Breazeal <donb@codesourcery.com>
11747 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11749 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11750 * gdb.base/foll-exec.exp (main): Enable for target remote.
11751 * gdb.base/foll-fork.exp (main): Likewise.
11752 * gdb.base/foll-vfork.exp (main): Likewise.
11753 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11754 (proc continue_to_exit_bp_loc): Use clean_restart.
11755 * gdb.base/pie-execl.exp (main): Disable for target remote.
11756 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11757 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11758 * gdb.threads/execl.exp (main): Likewise.
11759 * gdb.threads/fork-child-threads.exp (main): Likewise.
11760 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11762 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11764 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11765 pid.tid style ptids, instead of just tid.
11766 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11767 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11768 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11769 ptids, instead of just tid.
11771 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11773 * gdb.base/list.exp (test_list_forward): Add end of file error
11775 (test_repeat_list_command): Add end of file error test.
11776 (test_list_backwards): Add beginning of file error test.
11778 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11780 * gdb.base/list.exp (test_list_invalid_args): New function,
11781 defined, and called.
11783 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11785 * gdb.base/list.exp (test_list): Make test names unique.
11787 2015-12-11 Yao Qi <yao.qi@linaro.org>
11789 * gdb.base/coremaker2.c: Remove.
11791 2015-12-10 Pedro Alves <palves@redhat.com>
11793 * gdb.multi/base.exp: Remove stale "spaces" references.
11795 2015-12-10 Pedro Alves <palves@redhat.com>
11797 * gdb.multi/base.exp: Don't use nowarnings.
11798 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11799 * gdb.multi/hangout.c: Include stdio.h.
11800 * gdb.multi/hello.c: Include stdlib.h.
11801 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11802 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11803 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11805 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11807 * gdb.dwarf2/dw2-ranges-base.c: New file.
11808 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11809 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11810 support additional line table, and debug ranges generation.
11811 (Dwarf::ranges): New function, generate .debug_ranges.
11812 (Dwarf::lines): Support generating simple line table programs.
11813 (Dwarf::assemble): Initialise new namespace variables.
11815 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11817 * gdb.base/async.exp (proc test_background): Add case for
11818 asynchronous execution not supported.
11820 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11822 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11823 format and change test names to make them unique.
11825 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11826 Pedro Alves <pedro@redhat.com>
11829 Add checking of floatformats setup on x86_64 hosts.
11830 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11831 (smallval, bigval): New labels/constants.
11832 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11833 float" after loading bigval and smallval.
11835 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11837 * gdb.ada/fun_overload_menu.exp: New testcase.
11838 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11840 2015-12-04 Josh Stone <jistone@redhat.com>
11842 * gdb.base/catch-fork-static.exp: New.
11844 2015-12-03 Yao Qi <yao.qi@linaro.org>
11846 * gdb.base/sizeof.c: Don't include stdio.h and
11847 ../lib/unbuffer_output.c.
11848 (main): New variable 'size' and 'value'. Remove printf and
11849 gdb_unbuffer_output. Assign return value to size and value.
11850 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11852 (check_sizeof): Check the result by printing variable 'size'.
11853 (check_valueof): Check the result by printing variable 'value'.
11855 2015-12-01 Yao Qi <yao.qi@linaro.org>
11857 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11858 for aarch64*-*-linux* target.
11860 2015-11-30 Pedro Alves <palves@redhat.com>
11862 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11864 2015-11-30 Pedro Alves <palves@redhat.com>
11866 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11867 Handle non-stop mode vCont replies.
11869 2015-11-30 Pedro Alves <palves@redhat.com>
11871 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11872 prepare_for_testing. Start gdb with "set non-stop on" appended to
11873 GDBFLAGS. Lax expected stop output.
11875 2015-11-27 Yao Qi <yao.qi@linaro.org>
11877 * gdb.arch/arm-neon.exp: New.
11878 * gdb.arch/arm-neon.c: New.
11880 2015-11-27 Yao Qi <yao.qi@linaro.org>
11882 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11884 2015-11-27 Yao Qi <yao.qi@linaro.org>
11886 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11887 frames-invalid annotation.
11889 2015-11-27 Yao Qi <yao.qi@linaro.org>
11891 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11893 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11895 * gdb.threads/names.exp: New file.
11896 * gdb.threads/names.c: New file.
11897 * README: Mention gdb,no_thread_names.
11899 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11902 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11905 2015-11-24 Pedro Alves <palves@redhat.com>
11908 * gdb.base/display.exp: Expect displays to be sorted in ascending
11909 order. Use multi_line.
11910 * gdb.base/solib-display.exp: Likewise.
11912 2015-11-24 Pedro Alves <palves@redhat.com>
11915 * gdb.base/display.exp: Expect displays to be sorted in ascending
11916 order. Use multi_line.
11917 * gdb.base/solib-display.exp: Likewise.
11919 2015-11-24 Pedro Alves <palves@redhat.com>
11922 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11923 threads in ascending order.
11924 * gdb.base/foll-fork.exp: Likewise.
11925 * gdb.base/foll-vfork.exp: Likewise.
11926 * gdb.base/multi-forks.exp: Likewise.
11927 * gdb.mi/mi-nonstop.exp: Likewise.
11928 * gdb.mi/mi-nsintrall.exp: Likewise.
11929 * gdb.multi/base.exp: Likewise.
11930 * gdb.multi/multi-arch.exp: Likewise.
11931 * gdb.python/py-inferior.exp: Likewise.
11932 * gdb.threads/break-while-running.exp: Likewise.
11933 * gdb.threads/execl.exp: Likewise.
11934 * gdb.threads/gcore-thread.exp: Likewise.
11935 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11936 * gdb.threads/kill.exp: Likewise.
11937 * gdb.threads/linux-dp.exp: Likewise.
11938 * gdb.threads/multiple-step-overs.exp: Likewise.
11939 * gdb.threads/next-bp-other-thread.exp: Likewise.
11940 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11941 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11942 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11943 * gdb.threads/thread-find.exp: Likewise.
11944 * gdb.threads/tls.exp: Likewise.
11945 * lib/mi-support.exp (mi_reverse_list): Delete.
11946 (mi_check_thread_states): No longer reverse list.
11948 2015-11-24 Pedro Alves <palves@redhat.com>
11950 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11953 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11955 * gdb.trace/actions.c: Include trace-common.h.
11956 (main): Add a location for a fast tracepoint.
11957 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11958 the normal tracepoints.
11959 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11961 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11963 * save-trace.exp: Factor out code to these...
11964 (gdb_save_tracepoints): New.
11965 (gdb_load_tracepoints): New.
11966 (do_save_load_test): New.
11968 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11970 * gdb.base/asmlabel.exp: New test.
11971 * gdb.base/asmlabel.c: New test case.
11973 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11975 * gdb.base/wrong_frame_bt_full-main.c: New file.
11976 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11977 * gdb.base/wrong_frame_bt_full.exp: New file.
11979 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11981 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11983 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11985 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11986 pstate register when comparing registers values in
11987 sparc64-*-linux-gnu targets to avoid spurious differences.
11989 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11991 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11993 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11995 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11996 as type argument to gdb_compile.
11997 * gdb.base/nested-subp2.exp: Likewise.
11998 * gdb.base/nested-subp3.exp: Likewise.
12000 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12002 * lib/dwarf.exp (_note): Fix left shift of negative value.
12003 * gdb.trace/trace-condition.exp: Likewise.
12005 2015-11-13 Yao Qi <yao.qi@linaro.org>
12007 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12008 comments about d10v.
12009 (test_scalar_returns): Likewise.
12010 * gdb.base/d10v.ld: Remove.
12011 * gdb.base/overlays.exp: Remove the target triplet checking for
12013 * gdb.base/structs.exp (test_struct_returns): Remove the
12014 comments about d10v.
12015 (test_struct_calls): Likewise.
12017 2015-11-13 Yao Qi <yao.qi@linaro.org>
12019 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12020 * gdb.base/gnu_vector.c: Don't include stdio.h.
12021 (main): Don't print res and call add_some_intvecs.
12023 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12025 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12028 (func4): Use FAST_TRACEPOINT_LABEL.
12029 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12032 (thread_function): Use FAST_TRACEPOINT_LABEL.
12033 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12035 (marker): Use FAST_TRACEPOINT_LABEL.
12036 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12037 (pendfunc1): Remove.
12038 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12039 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12041 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12042 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12045 (marker): Use FAST_TRACEPOINT_LABEL.
12046 * gdb.trace/trace-common.h: New header.
12047 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12050 (marker): Use FAST_TRACEPOINT_LABEL.
12051 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12053 (thread_function): Use FAST_TRACEPOINT_LABEL.
12055 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12057 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12059 * gdb.trace/change-loc.exp: Use global pcreg definition.
12060 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12061 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12063 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12064 * gdb.trace/pending.exp: Likewise.
12065 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12066 * gdb.trace/trace-break.exp: Likewise.
12067 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12069 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12070 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12072 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12074 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12076 * gdb.ada/fin_fun_out: New testcase.
12078 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12080 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12081 value associated with DW_AT_byte_size.
12082 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12083 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12086 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12088 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12089 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12091 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12092 gdb.dwarf2/dw2-canonicalize-type.exp,
12093 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12094 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12095 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12096 provided by gdb_target_symbol_prefix_flags_asm.
12097 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12098 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12099 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12100 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12101 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12102 macros where needed). Use this macro for symbols which require
12103 the prefix provided by SYMBOL_PREFIX.
12105 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12107 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12109 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12110 representing expressions, of more than one list element.
12111 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12112 to prepend linker symbol prefix to f.
12113 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12114 table_1 and table_2.
12115 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12116 Likewise, for f and g.
12117 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12119 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12121 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12122 table_1_ptr and table_2_ptr.
12124 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12125 Joel Brobecker <brobecker@adacore.com>
12127 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12129 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12131 * gdb.reverse/s390-mvcle.c: New test.
12132 * gdb.reverse/s390-mvcle.exp: New file.
12133 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12135 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12137 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12139 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12141 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12143 * gdb.reverse/getresuid-reverse.exp: Likewise.
12144 * gdb.reverse/pipe-reverse.exp: Likewise.
12145 * gdb.reverse/readv-reverse.exp: Likewise.
12146 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12147 * gdb.reverse/time-reverse.exp: Likewise.
12148 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12150 2015-10-30 Yao Qi <yao.qi@linaro.org>
12152 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12153 (empty_cycle): Remove.
12154 (main): Don't call empty_cycle. Don't use watch_count_done.
12155 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12156 empty_cycle. Rewrite the code counting HW watchpoints.
12158 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12160 * gdb.reverse/fstatat-reverse.c: New test.
12161 * gdb.reverse/fstatat-reverse.exp: New file.
12162 * gdb.reverse/getresuid-reverse.c: New test.
12163 * gdb.reverse/getresuid-reverse.exp: New file.
12164 * gdb.reverse/pipe-reverse.c: New test.
12165 * gdb.reverse/pipe-reverse.exp: New file.
12166 * gdb.reverse/readv-reverse.c: New test.
12167 * gdb.reverse/readv-reverse.exp: New file.
12168 * gdb.reverse/recvmsg-reverse.c: New test.
12169 * gdb.reverse/recvmsg-reverse.exp: New file.
12170 * gdb.reverse/time-reverse.c: New test.
12171 * gdb.reverse/time-reverse.exp: New file.
12172 * gdb.reverse/waitpid-reverse.c: New test.
12173 * gdb.reverse/waitpid-reverse.exp: New file.
12175 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12177 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12179 2015-10-26 Doug Evans <dje@google.com>
12182 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12183 * gdb.dwarf2/bad-regnum.c: New file.
12184 * gdb.dwarf2/bad-regnum.exp: New file.
12186 2015-10-26 Doug Evans <dje@google.com>
12189 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12192 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12194 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12195 for a change by "Mention language in compile error message".
12197 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12200 * gdb.python/py-type.c (C::a_method): New.
12201 (C::a_const_method): New.
12202 (C::a_static_method): New.
12204 * gdb.python/py-type.exp (test_fields): Test getting fields
12205 from function and method.
12207 2015-10-21 Keven Boell <keven.boell@intel.com>
12209 * gdb.fortran/vla-alloc-assoc.exp: New file.
12210 * gdb.fortran/vla-datatypes.exp: New file.
12211 * gdb.fortran/vla-datatypes.f90: New file.
12212 * gdb.fortran/vla-history.exp: New file.
12213 * gdb.fortran/vla-ptype-sub.exp: New file.
12214 * gdb.fortran/vla-ptype.exp: New file.
12215 * gdb.fortran/vla-sizeof.exp: New file.
12216 * gdb.fortran/vla-sub.f90: New file.
12217 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12218 * gdb.fortran/vla-value-sub-finish.exp: New file.
12219 * gdb.fortran/vla-value-sub.exp: New file.
12220 * gdb.fortran/vla-value.exp: New file.
12221 * gdb.fortran/vla-ptr-info.exp: New file.
12222 * gdb.mi/mi-vla-fortran.exp: New file.
12223 * gdb.mi/vla.f90: New file.
12225 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12227 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12228 of hardwired timeout value.
12230 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12231 Pedro Alves <palves@redhat.com>
12233 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12234 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12236 2015-10-19 Josh Stone <jistone@redhat.com>
12238 * gdb.base/catch-syscall.c: Include <sched.h>.
12239 (unknown_syscall): New variable.
12240 (main): Trigger a vfork and an unknown syscall.
12241 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12242 (unknown_syscall_number): Likewise.
12243 (check_call_to_syscall): Accept an optional syscall pattern.
12244 (check_return_from_syscall): Likewise.
12245 (check_continue): Likewise.
12246 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12247 (test_catch_syscall_skipping_return): New test toggling off 'catch
12248 syscall' to step over the syscall return, then toggling back on.
12249 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12250 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12251 (do_syscall_tests): Call test_catch_syscall_without_args and
12252 test_catch_syscall_mid_vfork.
12253 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12254 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12256 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12258 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12259 print g_vE): Add new pass patterns.
12260 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12261 print various symbol names for vptr fields.
12263 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12265 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12268 2015-10-12 Yao Qi <yao.qi@linaro.org>
12270 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12272 2015-10-12 Yao Qi <yao.qi@linaro.org>
12274 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12275 is aarch64*-*-linux*.
12277 2015-10-12 Yao Qi <yao.qi@linaro.org>
12279 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12280 (can_relocate_bcond_true): ... it.
12281 (can_relocate_bcond_false): New function.
12283 (can_relocate_bl): Likewise.
12284 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12287 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12289 * gdb.base/nested-addr.c: New file.
12290 * gdb.base/nested-addr.exp: New testcase.
12292 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12294 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12295 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12296 its output. Ignore the output of "record goto begin" and instead
12297 check that GDB is replaying.
12299 2015-10-09 Pedro Alves <palves@redhat.com>
12301 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12302 (top level): Use it in the run with no args test.
12304 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12306 * gdb.dlang/properties.exp: New file.
12308 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12310 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12311 whether or not address 0x1000 is mapped on the target.
12313 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12315 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12318 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12320 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12321 instruction-history test.
12323 2015-09-28 Doug Evans <dje@google.com>
12325 * gdb.base/gcore.c (array_func): Add reference to static_array.
12327 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12329 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12332 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12334 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12335 short or char as base type.
12337 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12339 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12340 to allow any size enum.
12342 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12344 * gdb.ada/array_ptr_renaming.exp: New testcase.
12345 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12346 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12348 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12350 * gdb.trace/ftrace-lock.c: New file.
12351 * gdb.trace/ftrace-lock.exp: New file.
12353 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12355 * gdb.arch/insn-reloc.c: New file.
12356 * gdb.arch/ftrace-insn-reloc.exp: New file.
12358 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12360 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12362 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12363 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12364 * gdb.trace/range-stepping.c: Likewise.
12365 * gdb.trace/trace-break.c: Likewise.
12366 * gdb.trace/trace-mt.c (thread_function): Likewise.
12367 * gdb.trace/ftrace.c (marker): Likewise.
12368 * gdb.trace/trace-condition.c (marker): Likewise.
12369 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12370 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12373 2015-09-18 Doug Evans <xdje42@gmail.com>
12375 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12376 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12378 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12380 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12383 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12385 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12386 the pending breakpoint. Remove timeout override for "Run till
12387 MI pending breakpoint on pendfunc3 on thread 2" test.
12389 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12391 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12394 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12396 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12397 in breakpoint filename pattern.
12399 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12401 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12403 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12405 * gdb.linespec/explicit.exp: Check for readline support for
12406 tab-completion tests. Fix obvious typo.
12408 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12410 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12413 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12415 * gdb.btrace/non-stop.c: New.
12416 * gdb.btrace/non-stop.exp: New.
12418 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12419 Yao Qi <yao.qi@linaro.org>
12421 * gdb.trace/trace-condition.c: New file.
12422 * gdb.trace/trace-condition.exp: New file.
12424 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12426 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12427 for testing bytecode compilation.
12429 2015-09-16 Pedro Alves <palves@redhat.com>
12430 Sandra Loosemore <sandra@codesourcery.com>
12432 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12433 (SECONDS): Redefine.
12434 (main): Call pthread_kill and alarm early.
12435 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12437 (test): If the target can't hardware step and doesn't support
12438 displaced stepping, increase the timeout.
12440 2015-09-16 Pedro Alves <palves@redhat.com>
12442 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12443 (enable_debug): New procedures.
12444 (test): Use them. Bail out if waiting for threads fails.
12445 (top level): Bail out if a test fails.
12447 2015-09-16 Yao Qi <yao.qi@linaro.org>
12449 * gdb.asm/asm-source.exp: Set asm-arch for
12450 aarch64*-*-* target.
12451 * gdb.asm/aarch64.inc: New file.
12453 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12455 * gdb.ada/array_of_variable_length.exp: New testcase.
12456 * gdb.ada/array_of_variable_length/foo.adb: New file.
12457 * gdb.ada/array_of_variable_length/pck.adb: New file.
12458 * gdb.ada/array_of_variable_length/pck.ads: New file.
12460 2015-09-15 Doug Evans <dje@google.com>
12462 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12463 of function static local variable.
12465 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12467 * gdb.threads/tls-so_extern.exp: New test file.
12468 * gdb.threads/tls-so_extern.c: New test file.
12469 * gdb.threads/tls-so_extern_main.c: New test file.
12471 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12473 * gdb.opt/solib-intra-step-lib.c: New file.
12474 * gdb.opt/solib-intra-step-main.c: New file.
12475 * gdb.opt/solib-intra-step.exp: New file.
12477 2015-09-15 Pedro Alves <palves@redhat.com>
12479 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12480 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12482 2015-09-14 Pedro Alves <palves@redhat.com>
12484 * gdb.base/hook-stop-continue.c: Delete.
12485 * gdb.base/hook-stop-continue.exp: Delete.
12486 * gdb.base/hook-stop-frame.c: Delete.
12487 * gdb.base/hook-stop-frame.exp: Delete.
12488 * gdb.base/hook-stop.c: New file.
12489 * gdb.base/hook-stop.exp: New file.
12491 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12493 * gdb.ada/access_to_packed_array.exp: New testcase.
12494 * gdb.ada/access_to_packed_array/foo.adb: New file.
12495 * gdb.ada/access_to_packed_array/pack.adb: New file.
12496 * gdb.ada/access_to_packed_array/pack.ads: New file.
12498 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12500 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12503 2015-09-11 Don Breazeal <donb@codesourcery.com>
12505 * gdb.base/foll-exec.c: Add copyright header. Fix
12507 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12508 (do_exec_tests): Use clean_restart in place of zap_session,
12509 and for test initialization. Fix formatting issues. Use
12510 fail in place of perror.
12511 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12512 an expect statement to match an expression with output from
12513 the program under debug.
12514 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12515 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12516 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12517 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12518 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12520 2015-09-09 Doug Evans <dje@google.com>
12522 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12524 2015-09-09 Doug Evans <dje@google.com>
12526 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12528 2015-09-09 Doug Evans <dje@google.com>
12530 * gdb.base/savedregs.exp: Fix typo.
12532 2015-09-09 Pedro Alves <palves@redhat.com>
12534 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12536 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12538 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12539 command actually switches threads. Give up on remaining
12540 tests if target fails to stop at breakpoint.
12542 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12544 * gdb.ada/funcall_char.exp: New testcase.
12545 * gdb.ada/funcall_char/foo.adb: New file.
12547 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12549 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12550 expected outputs. Add two testcases for completing ambiguous
12552 * gdb.ada/complete/aux_pck.adb: New file.
12553 * gdb.ada/complete/aux_pck.ads: New file.
12554 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12555 Ambiguous_Func functions.
12556 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12557 * gdb.ada/complete/pck.adb: Likewise.
12559 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12561 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12562 failures to run the test program under GDB.
12564 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12566 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12569 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12571 * gdb.base/run-after-attach.exp: New test file.
12572 * gdb.base/run-after-attach.c: New test file.
12574 2015-08-26 Don Breazeal <donb@codesourcery.com>
12576 * gdb.base/foll-exec-2.c: New test program.
12577 * gdb.base/foll-exec-2.exp: New test.
12579 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12581 * gdb.base/nested-subp1.exp: New file.
12582 * gdb.base/nested-subp1.c: New file.
12583 * gdb.base/nested-subp2.exp: New file.
12584 * gdb.base/nested-subp2.c: New file.
12585 * gdb.base/nested-subp3.exp: New file.
12586 * gdb.base/nested-subp3.c: New file.
12588 2015-08-24 Pedro Alves <palves@redhat.com>
12590 * gdb.server/connect-without-multi-process.c: New file.
12591 * gdb.server/connect-without-multi-process.exp: New file.
12593 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12595 * gdb.opt/inline-markers.c: Make z int.
12597 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12599 * gdb.opt/inline-markers.c: Make z volatile.
12601 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12603 * gdb.opt/inline-bt.c: New volatile global z.
12604 * gdb.opt/inline-cmds.c: Likewise.
12605 * gdb.opt/inline-locals.c: Likewise.
12606 * gdb.opt/inline-markers.c: New extern global z.
12608 (inline_fn): Likewise.
12610 2015-08-24 Pedro Alves <palves@redhat.com>
12612 * config/m32r-stub.exp: Remove file.
12613 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12614 * gdb.base/call-rt-st.exp: Likewise.
12615 * gdb.base/call-strs.exp: Likewise.
12616 * gdb.base/default.exp: Remove references to h8300-*-hms and
12618 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12620 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12622 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12623 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12624 and "return" use KFAIL when GDB can not read/write the vector
12627 2015-08-21 Gary Benson <gbenson@redhat.com>
12629 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12631 2015-08-20 Pedro Alves <palves@redhat.com>
12633 * gdb.server/solib-list.exp: No longer expect an interior stop in
12636 2015-08-20 Pedro Alves <palves@redhat.com>
12638 * gdb.server/connect-stopped-target.c: New file.
12639 * gdb.server/connect-stopped-target.exp: New file.
12641 2015-08-20 Pedro Alves <palves@redhat.com>
12643 * gdb.dwarf2/comp-unit-lang.exp: New file.
12644 * gdb.dwarf2/comp-unit-lang.c: New file.
12646 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12648 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12649 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12651 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12653 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12654 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12656 2015-08-18 Doug Evans <dje@google.com>
12657 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12659 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12660 skip_python_tests. New arg prompt_regexp.
12661 (skip_python_tests): New function.
12662 * lib/mi-support.exp (mi_skip_python_tests): New function.
12663 * gdb.python/py-mi-objfile-gdb.py: New file.
12664 * gdb.python/py-mi-objfile.c: New file.
12665 * gdb.python/py-mi-objfile.exp: New file.
12667 2015-08-17 Keith Seitz <keiths@redhat.com>
12669 * gdb.linespec/explicit.exp: Move strace test from here ...
12670 * gdb.trace/strace.exp: ... to here.
12672 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12674 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12675 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12677 2015-08-14 Doug Evans <xdje42@gmail.com>
12679 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12680 inferior before selecting a new file.
12682 2015-08-14 Doug Evans <xdje42@gmail.com>
12684 * gdb.mi/mi-disassemble.exp: Update.
12685 * gdb.base/disasm-optim.S: New file.
12686 * gdb.base/disasm-optim.c: New file.
12687 * gdb.base/disasm-optim.h: New file.
12688 * gdb.base/disasm-optim.exp: New file.
12690 2015-08-14 Keith Seitz <keiths@redhat.com>
12692 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12695 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12697 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12699 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12701 * gdb.ada/fun_renaming.exp: New testcase.
12702 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12703 * gdb.ada/fun_renaming/pack.adb: New file.
12704 * gdb.ada/fun_renaming/pack.ads: New file.
12706 2015-08-12 Keith Seitz <keiths@redhat.com>
12708 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12709 gdb_get_line_number.
12711 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12713 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12714 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12715 gdb.base/dso2dso.exp: New files.
12717 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12718 Pedro Alves <palves@redhat.com>
12719 Keith Seitz <keiths@redhat.com>
12721 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12724 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12726 * gdb.base/gdbhistsize-history.exp
12727 (test_histsize_history_setting): Use save_vars.
12728 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12730 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12731 * gdb.base/readline.exp: Use save_vars.
12733 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12735 * lib/gdb.exp (save_vars): New proc.
12737 2015-08-11 Keith Seitz <keiths@redhat.com>
12739 * gdb.base/help.exp: Update help_breakpoint_text.
12741 2015-08-11 Keith Seitz <keiths@redhat.com>
12743 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12744 (at toplevel): Call test_explicit_breakpoints.
12745 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12747 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12748 breakpoint conditions, "-cond".
12750 2015-08-11 Keith Seitz <keiths@redhat.com>
12752 * gdb.linespec/3explicit.c: New file.
12753 * gdb.linespec/cpexplicit.cc: New file.
12754 * gdb.linespec/cpexplicit.exp: New file.
12755 * gdb.linespec/explicit.c: New file.
12756 * gdb.linespec/explicit.exp: New file.
12757 * gdb.linespec/explicit2.c: New file.
12758 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12759 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12760 before using in the matching pattern.
12761 Clarify that `prefix' is a regular expression.
12763 2015-08-11 Keith Seitz <keiths@redhat.com>
12765 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12767 Add tests for missing ",FMT" and ",".
12769 2015-08-10 Doug Evans <dje@google.com>
12770 Keith Seitz <keiths@redhat.com>
12773 * gdb.base/completion.exp: Add location completer tests.
12775 2015-08-07 Pedro Alves <palves@redhat.com>
12777 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12779 (top level): Run do_test with and without displaced stepping.
12781 2015-08-07 Pedro Alves <palves@redhat.com>
12783 * gdb.base/valgrind-disp-step.c: New file.
12784 * gdb.base/valgrind-disp-step.exp: New file.
12786 2015-08-07 Pedro Alves <palves@redhat.com>
12788 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12790 (main): Add alarm. Run an infinite loop instead of calling
12792 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12794 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12796 (main): Add alarm. Run an infinite loop instead of calling
12798 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12801 2015-08-07 Pedro Alves <palves@redhat.com>
12803 * gdb.base/checkpoint-ns.exp: New file.
12804 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12807 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12809 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12810 * gdb.btrace/instruction_history.exp: Update.
12811 * gdb.btrace/tsx.exp: New.
12812 * gdb.btrace/tsx.c: New.
12814 2015-08-06 Pedro Alves <palves@redhat.com>
12816 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12818 * gdb.reverse/until-precsave.exp: Bump timeouts.
12820 2015-08-06 Pedro Alves <palves@redhat.com>
12822 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12824 2015-08-06 Pedro Alves <palves@redhat.com>
12827 * gdb.threads/process-dies-while-handling-bp.c: New file.
12828 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12830 2015-08-06 Pedro Alves <palves@redhat.com>
12832 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12833 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12835 2015-08-05 Pedro Alves <palves@redhat.com>
12837 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12838 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12840 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12842 * gdb.base/bp-permanent.exp: Report test as unsupported if
12843 the target cannot stop at the permanent breakpoint.
12845 2015-08-03 Doug Evans <dje@google.com>
12847 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12850 2015-08-03 Doug Evans <dje@google.com>
12852 * Makefile.in (workers/%.worker, build-perf): New rule.
12853 (GDB_PERFTEST_MODE): New variable.
12854 (check-perf): Use it.
12855 (clean): Clean up gdb.perf parallel build subdirs.
12856 * lib/build-piece.exp: New file.
12857 * lib/gdb.exp (make_gdb_parallel_path): New function
12858 (standard_output_file, standard_temp_file): Call it.
12859 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12861 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12863 2015-08-03 Doug Evans <dje@google.com>
12865 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12866 (LOG_FILE_NAME): New global.
12867 (TextReporter.__init__): Initialize self.txt_sum.
12868 (TextReporter.report): Add support for multiple data-points.
12869 Move report to perftest.sum, put raw data in perftest.log.
12870 (TextReporter.start): Open sum and log files.
12871 (TextReporter.end): Close sum and log files.
12872 * gdb.perf/lib/perftest/testresult.py
12873 (SingleStatisticTestResult.record): Handle multiple data-points.
12875 2015-07-31 Pedro Alves <palves@redhat.com>
12877 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12878 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12879 kill_wait_spawned_process instead of explicit "kill -9".
12880 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12881 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12882 kill_wait_spawned_process.
12883 * gdb.base/attach-twice.exp: Likewise.
12884 * gdb.base/attach.exp: Likewise.
12885 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12887 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12888 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12889 kill_wait_spawned_process.
12890 * gdb.base/valgrind-infcall.exp: Likewise.
12891 * gdb.multi/multi-attach.exp: Likewise.
12892 * gdb.python/py-prompt.exp: Likewise.
12893 * gdb.python/py-sync-interp.exp: Likewise.
12894 * gdb.server/ext-attach.exp: Likewise.
12895 * gdb.threads/attach-into-signal.exp (corefunc): Use
12896 spawn_wait_for_attach, spawn_id_get_pid and
12897 kill_wait_spawned_process.
12898 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12899 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12900 spawn_id_get_pid and kill_wait_spawned_process.
12901 * gdb.threads/attach-stopped.exp (corefunc): Use
12902 spawn_wait_for_attach, spawn_id_get_pid and
12903 kill_wait_spawned_process.
12904 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12905 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12906 kill_wait_spawned_process instead of explicit "kill -9".
12907 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12908 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12909 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12910 processes. Don't map cygwin/windows pids here. Now returns a
12913 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12915 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12916 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12919 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12921 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12923 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12926 2014-05-21 Mark Wielaard <mjw@redhat.com>
12928 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12930 2015-07-30 Pedro Alves <palves@redhat.com>
12932 * linux-low.c (handle_extended_wait): Set the child's last
12933 reported status to TARGET_WAITKIND_STOPPED.
12935 2015-07-30 Pedro Alves <palves@redhat.com>
12938 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12939 only shows inferior 1.
12941 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12942 Pedro Alves <palves@redhat.com>
12945 * gdb.threads/fork-plus-threads.c: New file.
12946 * gdb.threads/fork-plus-threads.exp: New file.
12948 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12950 * gdb.base/batch-preserve-term-settings.exp
12951 (test_terminal_settings_preserved_after_cli_exit): Use
12954 2015-07-29 Pedro Alves <palves@redhat.com>
12955 Don Breazeal <donb@codesourcery.com>
12957 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12958 output from both inferior_spawn_id and gdb_spawn_id.
12960 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12962 * gdb.threads/attach-into-signal.exp (corefunc): Use
12963 with_test_prefix on nested loops, uniquefying the test messages.
12965 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12967 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12970 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12972 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12974 (test_terminal_settings_preserved_after_sigterm): New test.
12976 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12978 * gdb.base/batch-preserve-term-settings.exp
12979 (test_terminal_settings_preserved_after_cli_exit): New test.
12981 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12983 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12984 manipulation of saved_gdbflags.
12985 (test_terminal_settings_preserved): Remove global declaration of
12986 the unused variable pagination_prompt. Remove manipulation of
12987 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12990 2015-07-29 Pedro Alves <palves@redhat.com>
12992 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12994 2015-07-29 Pedro Alves <palves@redhat.com>
12996 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12999 2015-07-29 Pedro Alves <palves@redhat.com>
13001 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13002 (main): Call gdb_unbuffer_output.
13003 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13004 (main): Call gdb_unbuffer_output.
13005 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13006 (main): Call gdb_unbuffer_output.
13007 * gdb.base/call-strs.exp: Adjust to step over the
13008 gdb_unbuffer_output call.
13009 * gdb.base/catch-gdb-caused-signals.c: Include
13010 "../lib/unbuffer_output.c".
13011 (main): Call gdb_unbuffer_output.
13012 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13013 (main): Call gdb_unbuffer_output.
13014 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13015 (main): Call gdb_unbuffer_output.
13016 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13017 (main): Call gdb_unbuffer_output.
13018 * gdb.base/shlib-call.exp: Adjust to step over the
13019 gdb_unbuffer_output call.
13020 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13021 (main): Call gdb_unbuffer_output.
13022 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13023 (main): Call gdb_unbuffer_output.
13024 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13025 (main): Rename to ...
13027 (main): Reimplement.
13028 * gdb.base/varargs.exp: Run to test instead of to main.
13029 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13030 (main): Call gdb_unbuffer_output.
13032 2015-07-29 Pedro Alves <palves@redhat.com>
13034 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13035 factore out from mi_continue_dprintf. For call-style dprintfs,
13036 expect dprintf output out of $inferior_spawn_id.
13037 (mi_continue_dprintf): Use mi_expect_dprintf.
13038 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13039 (main): Call gdb_unbuffer_output.
13041 2015-07-29 Pedro Alves <palves@redhat.com>
13043 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13044 (default_mi_gdb_start): Set inferior_spawn_id instead of
13045 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13047 (mi_gdb_test): Always expect inferior output from both
13048 $inferior_spawn_id and $gdb_spawn_id.
13050 2015-07-29 Pedro Alves <palves@redhat.com>
13052 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13053 send_inferior and $inferior_spawn_id.
13055 2015-07-29 Pedro Alves <palves@redhat.com>
13057 * gdb.gdb/complaints.exp (test_initial_complaints)
13058 (test_serial_complaints, test_short_complaints): Use
13060 (test_empty_complaint): Handle $inferior_spawn_id !=
13063 2015-07-29 Pedro Alves <palves@redhat.com>
13065 * gdb.base/varargs.exp: Use gdb_test_stdio.
13067 2015-07-29 Pedro Alves <palves@redhat.com>
13069 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13071 2015-07-29 Pedro Alves <palves@redhat.com>
13073 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13075 2015-07-29 Pedro Alves <palves@redhat.com>
13077 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13078 parameter into two new parameters, "inf_result" and "gdb_result".
13079 Expect inferior output and gdb output from $inferior_spawn_id and
13080 $gdb_spawn_id, respectively. Adjust all callers.
13082 2015-07-29 Pedro Alves <palves@redhat.com>
13084 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13085 of gdb_test_sequence.
13087 2015-07-29 Pedro Alves <palves@redhat.com>
13089 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13090 (saw_spurious_output): Expect inferior output from
13091 $inferior_spawn_id. Use gdb_test_stdio.
13093 2015-07-29 Pedro Alves <palves@redhat.com>
13095 * gdb.base/dprintf.exp: Use standard_testfile. Change
13096 prepare_for_testing call.
13097 (srcfile): Don't set.
13098 (restart): New procedure.
13099 (test_dprintf): New procecure, use to continue over dprintfs.
13100 (test_call, test_agent): New procedures, tests moved here.
13101 Restart gdb and recreate dprintfs. Adjust expected output.
13103 2015-07-29 Pedro Alves <palves@redhat.com>
13105 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13107 2015-07-29 Pedro Alves <palves@redhat.com>
13109 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13111 2015-07-29 Pedro Alves <palves@redhat.com>
13113 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13116 2015-07-29 Pedro Alves <palves@redhat.com>
13118 * lib/gdb.exp (gdb_test_stdio): New procedure.
13120 2015-07-29 Pedro Alves <palves@redhat.com>
13122 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13124 2015-07-29 Pedro Alves <palves@redhat.com>
13126 * gdb.base/call-signal-resume.exp: Remove check for
13127 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13128 * gdb.base/unwindonsignal.exp: Likewise.
13129 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13130 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13132 2015-07-29 Pedro Alves <palves@redhat.com>
13134 * gdb.base/siginfo-addr.c (pass): New function.
13135 (handler): Call it iff si_addr is correct.
13136 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13137 Set a breakpoint at "pass" and continue to it.
13139 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13141 * gdb.python/py-objfile.exp: Make some tests have unique names.
13142 * gdb.python/py-pp-registration.exp: Likewise.
13144 2015-07-28 Pedro Alves <palves@redhat.com>
13146 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13148 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13150 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13152 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13154 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13156 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13158 * gdb.base/gdb-sigterm-2.exp: New test.
13160 2015-07-25 Doug Evans <xdje42@gmail.com>
13163 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13164 (workers/%.worker, build-perf): New rule.
13165 (GDB_PERFTEST_MODE): New variable.
13166 (check-perf): Use it.
13167 (clean): Clean up gdb.perf parallel build subdirs.
13168 * lib/build-piece.exp: New file.
13169 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13170 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13172 (standard_temp_file): Ditto.
13173 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13176 2015-07-24 Doug Evans <dje@google.com>
13178 * gdb.perf/lib/perftest/utils.py: New file.
13179 * gdb.perf/gm-hello.cc: New file.
13180 * gdb.perf/gm-pervasive-typedef.cc: New file.
13181 * gdb.perf/gm-pervasive-typedef.h: New file.
13182 * gdb.perf/gm-std.cc: New file.
13183 * gdb.perf/gm-std.h: New file.
13184 * gdb.perf/gm-use-cerr.cc: New file.
13185 * gdb.perf/gm-utils.h: New file.
13186 * gdb.perf/gmonster-null-lookup.py: New file.
13187 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13188 * gdb.perf/gmonster-print-cerr.py: New file.
13189 * gdb.perf/gmonster-ptype-string.py: New file.
13190 * gdb.perf/gmonster-runto-main.py: New file.
13191 * gdb.perf/gmonster-select-file.py: New file.
13192 * gdb.perf/gmonster1-null-lookup.exp: New file.
13193 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13194 * gdb.perf/gmonster1-print-cerr.exp: New file.
13195 * gdb.perf/gmonster1-ptype-string.exp: New file.
13196 * gdb.perf/gmonster1-runto-main.exp: New file.
13197 * gdb.perf/gmonster1-select-file.exp: New file.
13198 * gdb.perf/gmonster1.cc: New file.
13199 * gdb.perf/gmonster1.exp: New file.
13200 * gdb.perf/gmonster2-null-lookup.exp: New file.
13201 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13202 * gdb.perf/gmonster2-print-cerr.exp: New file.
13203 * gdb.perf/gmonster2-ptype-string.exp: New file.
13204 * gdb.perf/gmonster2-runto-main.exp: New file.
13205 * gdb.perf/gmonster2-select-file.exp: New file.
13206 * gdb.perf/gmonster2.cc: New file.
13207 * gdb.perf/gmonster2.exp: New file.
13209 2015-07-24 Doug Evans <dje@google.com>
13211 * gdb.perf/README: New file.
13212 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13213 * lib/gen-perf-test.exp: New file.
13215 2015-07-24 Doug Evans <dje@google.com>
13217 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13218 (PerfTest::startup): New function.
13219 (PerfTest::run): Return result of calling body.
13220 (PerfTest::assemble): Rewrite.
13221 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13222 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13223 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13224 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13225 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13227 2015-07-24 Doug Evans <dje@google.com>
13229 * lib/gdb.exp (clean_restart): Make executable optional.
13231 2015-07-24 Doug Evans <dje@google.com>
13233 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13234 compiler_info references.
13235 * gdb.cp/temargs.exp: Ditto.
13236 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13237 (get_compiler_info): Early exit if already computed. Set compiler_info
13238 to "unknown" if there was a problem.
13239 (test_compiler_info): Add function comment. Call get_compiler_info.
13241 2015-07-24 Doug Evans <dje@google.com>
13243 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13244 (workers/%.worker, build-perf): New rule.
13245 (GDB_PERFTEST_MODE): New variable.
13246 (check-perf): Use it.
13247 (clean): Clean up gdb.perf parallel build subdirs.
13248 * lib/build-piece.exp: New file.
13249 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13250 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13252 (standard_temp_file): Ditto.
13253 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13256 2015-07-24 Doug Evans <dje@google.com>
13258 * lib/future.exp (gdb_default_target_compile): New option
13260 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13263 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13265 * gdb.base/catch-syscall.exp: Call gdb_exit before
13268 2015-07-24 Pedro Alves <palves@redhat.com>
13270 * gdb.python/py-events.exp: Accept output between the stop event
13272 * gdb.python/py-evsignal.exp: Likewise.
13273 * gdb.python/py-evthreads.exp: Likewise.
13275 2015-07-24 Pedro Alves <palves@redhat.com>
13278 * gdb.threads/non-ldr-exit.c: New file.
13279 * gdb.threads/non-ldr-exit.exp: New file.
13281 2015-07-24 Yao Qi <yao.qi@linaro.org>
13283 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13284 restarting process.
13286 2015-07-24 Yao Qi <yao.qi@linaro.org>
13288 * gdb.server/ext-restart.exp: New file.
13290 2015-07-24 Yao Qi <yao.qi@linaro.org>
13292 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13294 * gdb.server/ext-wrapper.exp: New file.
13296 2015-07-23 Doug Evans <dje@google.com>
13298 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13299 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13301 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13303 * gdb.ada/var_arr_typedef.exp: New testcase.
13304 * gdb.ada/var_arr_typedef/pack.adb: New file.
13305 * gdb.ada/var_arr_typedef/pack.ads: New file.
13306 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13308 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13310 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13312 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13314 * gdb.arch/i386-biarch-core.exp: Replace istarget
13315 by "complete set gnutarget". Remove expectation for the "core-file"
13318 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13320 Revert the previous commit:
13321 Tests for validate symbol file using build-id.
13323 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13325 Tests for validate symbol file using build-id.
13326 * gdb.base/solib-mismatch-lib.c: New file.
13327 * gdb.base/solib-mismatch-libmod.c: New file.
13328 * gdb.base/solib-mismatch.c: New file.
13329 * gdb.base/solib-mismatch.exp: New file.
13331 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13333 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13335 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13336 * gdb.base/siginfo.exp: Likewise.
13337 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13339 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13341 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13343 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13345 * gdb.trace/range-stepping.exp: Check that the target supports
13348 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13350 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13352 2015-07-14 Pedro Alves <palves@redhat.com>
13354 * gdb.base/killed-outside.exp: New file.
13355 * gdb.base/killed-outside.c: New file.
13357 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13359 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13361 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13363 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13365 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13366 infcall tests instead of setting up for KFAIL.
13368 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13370 * gdb.btrace/record_goto-step.exp: New.
13372 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13375 * gdb.compile/compile.c (struct struct_type): Add volatile to
13377 * gdb.compile/compile.exp
13378 (compile code struct_object.selffield = &struct_object): Skip further
13379 struct_object tests if this one xfails.
13381 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13384 * gdb.trace/ax.exp: Add test.
13386 2015-07-07 Yao Qi <yao.qi@linaro.org>
13388 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13389 instead of istarget "aarch64*-*-*".
13390 * gdb.arch/aarch64-fp.exp: Likewise.
13391 * gdb.base/float.exp: Likewise.
13392 * gdb.reverse/aarch64.exp: Likewise.
13393 * lib/gdb.exp (is_aarch64_target): New proc.
13395 2015-07-07 Yao Qi <yao.qi@linaro.org>
13397 * lib/gdb.exp (is_aarch32_target): New proc.
13398 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13399 instead of "istarget "arm*-*-*"".
13400 * gdb.arch/arm-disp-step.exp: Likewise.
13401 * gdb.arch/thumb-bx-pc.exp: Likewise.
13402 * gdb.arch/thumb-prologue.exp: Likewise.
13403 * gdb.arch/thumb-singlestep.exp: Likewise.
13404 * gdb.base/disp-step-syscall.exp: Likewise.
13405 * gdb.base/float.exp: Likewise.
13407 2015-07-07 Yao Qi <yao.qi@linaro.org>
13409 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13410 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13412 2015-07-07 Yao Qi <yao.qi@linaro.org>
13414 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13415 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13417 * gdb.multi/multi-arch.exp: Likewise.
13419 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13421 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13424 2015-07-07 Yao Qi <yao.qi@linaro.org>
13426 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13428 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13430 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13431 '[' and ']' characters.
13433 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13435 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13437 2015-06-29 Pedro Alves <palves@redhat.com>
13440 * gdb.threads/hand-call-new-thread.c: New file.
13441 * gdb.threads/hand-call-new-thread.c: New file.
13443 2015-06-26 Keith Seitz <keiths@redhat.com>
13444 Doug Evans <dje@google.com>
13447 * gdb.cp/var-tag-2.cc: New file.
13448 * gdb.cp/var-tag-3.cc: New file.
13449 * gdb.cp/var-tag-4.cc: New file.
13450 * gdb.cp/var-tag.cc: New file.
13451 * gdb.cp/var-tag.exp: New file.
13453 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13455 * gdb.base/history-duplicates.exp: New test.
13457 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13459 * gdb.base/completion.exp: Test the completion of the "focus"
13462 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13464 * gdb.arch/amd64-prologue-skip.S: New file.
13465 * gdb.arch/amd64-prologue-skip.exp: New file.
13467 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13469 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13470 is_address_zero_readable check.
13472 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13474 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13475 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13477 2015-06-24 Yao Qi <yao.qi@linaro.org>
13479 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13482 2015-06-24 Yao Qi <yao.qi@linaro.org>
13484 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13485 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13486 * gdb.base/siginfo-thread.exp: Likewise.
13488 2015-06-22 Yao Qi <yao.qi@linaro.org>
13490 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13492 2015-06-22 Yao Qi <yao.qi@linaro.org>
13494 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13496 (skip_hw_watchpoint_tests): Likewise.
13498 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13500 * gdb.base/gdbinit-history.exp: Test the interaction between
13501 setting GDBHISTSIZE and setting the history size via .gdbinit.
13503 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13506 * gdb.base/gdbhistsize-history.exp: New test.
13508 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13510 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13512 * gdb.base/readline.exp: Likewise.
13514 2015-06-17 Yao Qi <yao.qi@linaro.org>
13516 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13519 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13521 * gdb.base/gdbinit-history.exp: Add test case to check that
13522 an unlimited history file does not get truncated on exit.
13524 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13526 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13527 (VECTOR): New macro. Use it...
13528 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13529 ...for these typedefs.
13530 (int8, char1, int1, double1): New typedefs.
13531 (struct just_int2, struct two_int2): New structures.
13532 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13533 (add_structvecs, add_singlevecs): New functions.
13534 (main): Call add_some_intvecs twice.
13535 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13536 the compile and exit upon failure. Try compiling for the "native"
13537 architecture. Test inferior function calls with vector arguments
13538 and vector return value handling with "finish" and "return".
13540 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13542 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13543 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13545 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13547 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13549 PR breakpoints/16465
13550 * gdb.mi/mi-dprintf-pending.c: New file.
13551 * gdb.mi/mi-dprintf-pending.exp: New test.
13552 * gdb.mi/mi-dprintf-pendshr.c: New file.
13554 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13555 Mircea Gherzan <mircea.gherzan@intel.com>
13557 * gdb.arch/i386-mpx-map.c: New file.
13558 * gdb.arch/i386-mpx-map.exp: New File.
13560 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13562 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13563 * gdb.arch/i386-mpx.exp: Indentation fixed.
13565 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13567 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13568 function and improved indentation.
13569 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13570 gdb_test_multiple. Added additional tests to skip the test.
13572 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13574 * gdb.arch/i386-avx512.c: Change path in include file.
13575 * gdb.arch/i386-avx512.exp: Change include dir path
13577 * gdb.arch/i386-mpx.c: Change path in include file.
13578 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13581 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13583 * gdb.compile/compile-print.exp (compile print *vararray@3)
13584 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13586 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13588 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13589 (do not keep jit in memory): ... this.
13590 (expect 5): Change it to ...
13591 (expect no 5): ... this.
13593 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13596 * gdb.mi/mi-detach.exp: New file.
13598 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13601 * gdb.arch/amd64-tailcall-self.S: New file.
13602 * gdb.arch/amd64-tailcall-self.c: New file.
13603 * gdb.arch/amd64-tailcall-self.exp: New file.
13605 2015-05-28 Don Breazeal <donb@codesourcery.com>
13607 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13608 tests for remote targets by checking is_target_gdbserver.
13610 2015-05-27 Doug Evans <dje@google.com>
13612 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13613 * gdb.dwarf2/opaque-type-lookup.c: New file.
13614 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13616 2015-05-26 Doug Evans <dje@google.com>
13618 * gdb.cp/iostream.cc: New file.
13619 * gdb.cp/iostream.exp: New file.
13621 2015-05-26 Doug Evans <dje@google.com>
13623 * gdb.dwarf2/dw2-op-call.exp: Update.
13624 * gdb.dwarf2/dw4-sig-types.exp: Update.
13625 * gdb.dwarf2/implptr.exp: Update.
13626 * gdb.mi/mi-cmd-param-changed.exp: Update.
13628 2015-05-26 Doug Evans <dje@google.com>
13630 * gdb.python/py-lazy-string.c: New file.
13631 * gdb.python/py-lazy-string.exp: New file.
13632 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13633 (main): Update. Add estring3.
13634 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13635 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13637 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13638 Yao Qi <yao.qi@linaro.org>
13640 * gdb.reverse/aarch64.c: New.
13641 * gdb.reverse/aarch64.exp: New.
13643 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13645 * lib/gdb.exp (supports_process_record): Return true for
13647 (supports_reverse): Likewise.
13649 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13651 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13652 Use with_test_prefix.
13654 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13656 * gdb.base/completion.exp: Add test for completion of layout
13659 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13661 * lib/gdb.exp (skip_tui_tests): New proc.
13662 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13664 2015-05-19 Pedro Alves <palves@redhat.com>
13666 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13667 Save the whole env array instead of just HOME. Unset HISTSIZE in
13668 the environment while testing. Restore whole environment
13671 2015-05-16 Doug Evans <xdje42@gmail.com>
13673 * gdb.guile/scm-ports.c: New file.
13674 * gdb.guile/scm-ports.exp: Add memory port tests.
13676 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13678 * gdb.compile/compile-print.c: New file.
13679 * gdb.compile/compile-print.exp: New file.
13681 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13683 * gdb.compile/compile-ops.exp: Cast param to void.
13684 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13685 (compile code struct_object.selffield = &struct_object): Add xfail.
13687 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13689 * gdb.ada/arr_enum_with_gap: New testcase.
13691 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13693 * gdb.ada/byte_packed_arr: New testcase.
13695 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13697 * gdb.ada/pckd_neg: New testcase.
13699 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13702 * gdb.base/gdbinit-history.exp: New test.
13703 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13704 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13706 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13708 * gdb.python/py-xmethods.cc: Enhance test case.
13709 * gdb.python/py-xmethods.exp: New tests.
13710 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13712 (B_indexoper): Likewise.
13713 (global_dm_list) : Add new xmethod worker functions.
13715 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13717 * gdb.base/coredump-filter.exp: Correctly unset
13718 "coredump_var_addr" array.
13720 2015-05-08 Pedro Alves <palves@redhat.com>
13722 * gdb.server/non-existing-program.exp: Unset spawn_id.
13724 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13727 * gdb.python/py-xmethods.exp: Add tests.
13729 2015-05-08 Yao Qi <yao.qi@linaro.org>
13732 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13733 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13734 function set_coredump_filter, and remove remote_exec call.
13735 Remove argument ipid. Callers update.
13736 (top level): Don't get inferior's PID.
13738 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13740 * gdb.base/watch_thread_num.exp: Skip test on targets without
13741 access watchpoints.
13743 2015-05-06 Pedro Alves <palves@redhat.com>
13746 * gdb.server/non-existing-program.exp: New file.
13748 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13750 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13752 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13754 * gdb.ada/out_of_line_in_inlined: New testcase.
13756 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13758 * gdb.ada/var_rec_arr: New testcase.
13760 2015-04-30 Yao Qi <yao.qi@linaro.org>
13762 * gdb.base/break-idempotent.exp: If
13763 skip_hw_watchpoint_multi_tests returns true, skip the tests
13764 on "rwatch" and "awatch".
13766 2015-04-30 Yao Qi <yao.qi@linaro.org>
13768 * gdb.base/relativedebug.exp: Invoke gdb command
13769 "info sharedlibrary", and if libc.so doesn't have debug info,
13772 2015-04-29 Doug Evans <dje@google.com>
13774 * gdb.python/py-xmethods.exp: Add ptype tests.
13775 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13776 get_result_type method.
13778 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13780 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13781 the target does not support hardware watchpoints.
13783 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13785 * gdb.base/break-always.exp: Abort testing if writing to memory
13788 2015-04-28 Doug Evans <dje@google.com>
13790 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13791 * gdb.python/py-pp-registration.exp: ... here. New file.
13792 * gdb.python/py-pp-registration.c: New file.
13793 * gdb.python/py-pp-registration.py: New file.
13795 2015-04-28 Doug Evans <dje@google.com>
13797 * gdb.python/py-bad-printers.c: New file.
13798 * gdb.python/py-bad-printers.py: New file.
13799 * gdb.python/py-bad-printers.exp: New file.
13801 2015-04-28 Sasha Smundak <asmundak@google.com>
13803 * gdb.python/py-type.exp: New test.
13805 2015-04-28 Andy Wingo <wingo@igalia.com>
13807 * gdb.python/py-parameter.exp:
13808 * gdb.guile/scm-parameter.exp: Escape the path that we are
13809 matching against, as it might contain characters that are special
13810 to regular expressions.
13812 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13814 * gdb.ada/rec_comp: New testcase.
13816 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13818 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13821 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13823 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13824 new tests for verilog output.
13826 2015-04-24 Yao Qi <yao.qi@linaro.org>
13828 * boards/remote-gdbserver-on-localhost.exp: New file.
13830 2015-04-23 Pedro Alves <palves@redhat.com>
13832 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13833 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13834 "end of file", remove $inferior_spawn_id from the indirect list.
13836 2015-04-23 Pedro Alves <palves@redhat.com>
13838 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13840 2015-04-23 Pedro Alves <palves@redhat.com>
13842 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13843 on $any_spawn_id instead of only on $gdb_spawn_id.
13845 2015-04-21 Pierre Muller <muller@sourceware.org>
13848 * lib/pascal.exp (gpc_compile): Add new option "class".
13849 (fpc_compile): Likewise.
13850 * gdb.pascal/case-insensitive-symbols.pas: New file.
13851 * gdb.pascal/case-insensitive-symbols.exp: New file.
13853 2015-04-20 Gary Benson <gbenson@redhat.com>
13855 * gdb.base/attach.exp: Fix three extended remote failures.
13857 2015-04-17 Gary Benson <gbenson@redhat.com>
13859 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13860 the main executable over the remote protocol.
13862 2015-04-16 Pedro Alves <palves@redhat.com>
13864 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13865 a new gdbserver if gdbserver_reconnect_p is set.
13867 2015-04-16 Pedro Alves <palves@redhat.com>
13869 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13870 is set, don't exit gdbserver.
13872 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13874 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13875 appropriate .insn, such that an older assembler can be used.
13876 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13877 the z/Architecture instruction set on 31-bit targets as well.
13879 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13881 * gdb.go/handcall.exp: Remove all logic related to the first
13882 breakpoint and rely on go_runto_main instead.
13883 * gdb.go/strings.exp: Likewise.
13884 * gdb.go/unsafe.exp: Likewise.
13885 * gdb.go/hello.exp: Likewise. Also rename the remaining
13886 breakpoint marker to "breakpoint 1".
13887 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13888 * gdb.go/strings.go: Likewise.
13889 * gdb.go/unsafe.go: Likewise.
13890 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13891 "set breakpoint 2 here" and rename the remaining breakpoint marker
13894 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13896 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13897 if itertools.imap is not present.
13898 * gdb.python/py-objfile.exp: Add parentheses.
13899 * gdb.python/py-type.exp: Same.
13900 * gdb.python/py-unwind-maint.py: Same.
13902 2015-04-15 Yao Qi <yao.qi@linaro.org>
13904 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13905 of ":$ptr_size" and set its form explicitly.
13907 2015-04-15 Pedro Alves <palves@redhat.com>
13908 Yao Qi <yao.qi@linaro.org>
13910 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13911 timeout by factor of 4.
13912 (test_regular_watch): Likewise.
13913 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13914 * gdb.reverse/sigall-reverse.exp: Likewise.
13915 * gdb.reverse/until-precsave.exp: Likewise.
13916 * lib/gdb.exp (with_timeout_factor): New proc.
13917 (gdb_expect): Move some code to ...
13918 (get_largest_timeout): ... here. New procedure.
13920 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13922 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13924 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13926 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13927 to write to the .text section.
13929 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13931 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13932 Handle the case of targets that do not provide PID information.
13934 2015-04-13 Yao Qi <yao.qi@linaro.org>
13936 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13937 and use expect instead of gdb_expect.
13939 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13941 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13942 "coredump_var_addr" to avoid naming conflict with other testcases.
13944 2015-04-10 Pedro Alves <palves@redhat.com>
13946 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13947 gdb_test_sequence and gdb_assert.
13949 2015-04-10 Pedro Alves <palves@redhat.com>
13951 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13952 test messages that don't include the breakpoint address.
13954 2015-04-10 Yao Qi <yao.qi@linaro.org>
13956 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13957 false for some offset and width combinations which aren't
13958 supported by linux kernel.
13960 2015-04-10 Pedro Alves <palves@redhat.com>
13962 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13963 procedure, factored out from ...
13964 (top level): ... here. Add "set displaced-stepping" testing axis.
13965 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13966 parameter "displaced". Use it.
13967 (top level): Use foreach and add "set displaced-stepping" testing
13970 2015-04-10 Pedro Alves <palves@redhat.com>
13972 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13974 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13975 both the address of the instruction that triggers the watchpoint
13976 and the address of the instruction immediately after, and use
13977 those addresses for the test. Fix comment.
13979 2015-04-10 Pedro Alves <palves@redhat.com>
13981 * gdb.base/sigstep.exp (breakpoint_to_handler)
13982 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13983 Test "backtrace" in handler.
13984 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13985 (top level): Add new "displaced" test axis to
13986 breakpoint_to_handler, breakpoint_to_handler_entry and
13987 breakpoint_over_handler.
13989 2015-04-10 Pedro Alves <palves@redhat.com>
13992 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13994 2015-04-10 Yao Qi <yao.qi@linaro.org>
13996 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13997 (test_add_rn_pc): New function.
13998 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13999 (top level): Invoke test_add_rn_pc.
14001 2015-04-10 Pedro Alves <palves@redhat.com>
14004 * gdb.base/step-over-no-symbols.exp: New file.
14006 2015-04-09 Andy Wingo <wingo@igalia.com>
14008 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14009 after the Python tests.
14011 2015-04-08 Keith Seitz <keiths@redhat.com>
14014 * gdb.python/py-completion.exp: New tests for completion.
14015 * gdb.python/py-completion.py (CompleteLimit1): New class.
14016 (CompleteLimit2): Likewise.
14017 (CompleteLimit3): Likewise.
14018 (CompleteLimit4): Likewise.
14019 (CompleteLimit5): Likewise.
14020 (CompleteLimit6): Likewise.
14021 (CompleteLimit7): Likewise.
14023 2015-04-08 Pedro Alves <palves@redhat.com>
14027 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14029 (main): Install it as SIGUSR1 handler.
14030 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14031 parameter. Always use "setup" as prefix. Toggle "set
14032 displaced-stepping" off/on depending on global. Don't switch to
14034 (top level): Add displaced stepping "off/on" test axis. Update
14035 "setup" calls. Wrap each subtest with with_test_prefix. Test
14036 continuing with a queued signal in each thread.
14038 2015-04-08 Pedro Alves <palves@redhat.com>
14040 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14041 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14042 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14043 Return early if running to main fails.
14044 * gdb.trace/while-stepping.exp: Likewise.
14046 2015-04-07 Pedro Alves <palves@redhat.com>
14048 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14049 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14050 interact with inferior program.
14052 2015-04-07 Pedro Alves <palves@redhat.com>
14054 * lib/gdb.exp (inferior_spawn_id): New global.
14055 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14056 spawn id after processing the user code.
14057 (default_gdb_start): Set inferior_spawn_id.
14058 (send_inferior): New procedure.
14059 * lib/gdbserver-support.exp (gdbserver_start): Set
14061 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14063 2015-04-07 Pedro Alves <palves@redhat.com>
14065 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14066 * lib/gdbserver-support.exp (gdbserver_start): Make
14067 $server_spawn_id global.
14068 (gdbserver_start): Don't wait for gdbserver's spawn id with
14070 (close_gdbserver): New procedure.
14071 (gdb_exit): Rename the default version and reimplement.
14073 2015-04-07 Pedro Alves <palves@redhat.com>
14075 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14076 append the substituted item, not the original item.
14078 2015-04-07 Pedro Alves <palves@redhat.com>
14080 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14083 2015-04-07 Pedro Alves <palves@redhat.com>
14085 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14086 output appearing once only.
14088 2015-04-07 Pedro Alves <palves@redhat.com>
14090 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14091 that doesn't expect anything. Return early if running to main
14094 2015-04-07 Yao Qi <yao.qi@linaro.org>
14096 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14097 (child_function): Call alarm.
14098 (main): Move call to alarm into the loop.
14099 * gdb.threads/non-stop-fair-events.exp: Build program with
14100 -DTIMEOUT=$timeout.
14102 2015-04-06 Doug Evans <xdje42@gmail.com>
14104 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14105 Fix dest parameter to board_info.
14106 (fpc_compile): Ditto.
14107 (gdb_compile_pascal): Rename dest arg to destfile.
14109 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14111 * gdb.ada/funcall_ref.exp: New file.
14112 * gdb.ada/funcall_ref/foo.adb: New file.
14114 2015-04-02 Yao Qi <yao.qi@linaro.org>
14116 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14119 2015-04-02 Gary Benson <gbenson@redhat.com>
14121 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14123 2015-04-01 Sasha Smundak <asmundak@google.com>
14125 * gdb.python/py-unwind-maint.c: New file.
14126 * gdb.python/py-unwind-maint.exp: New test.
14127 * gdb.python/py-unwind-maint.py: New file.
14128 * gdb.python/py-unwind.c: New file.
14129 * gdb.python/py-unwind.exp: New test.
14130 * gdb.python/py-unwind.py: New test.
14132 2015-04-01 Pedro Alves <palves@redhat.com>
14134 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14135 to fail instead of non-existent $test.
14137 2015-04-01 Pedro Alves <palves@redhat.com>
14139 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14140 GDBFLAGS if not empty.
14142 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14144 * gdb.ada/complete.exp: Remove "multi_line".
14145 * gdb.ada/info_exc.exp: Remove "multi_line".
14146 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14147 * gdb.ada/ptype_field.exp: Remove "multi_line".
14148 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14149 * gdb.ada/tagged.exp: Remove "multi_line".
14150 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14152 * gdb.btrace/delta.exp: Likewise.
14153 * gdb.btrace/exception.exp: Likewise.
14154 * gdb.btrace/function_call_history.exp: Likewise.
14155 * gdb.btrace/instruction_history.exp: Likewise.
14156 * gdb.btrace/nohist.exp: Likewise.
14157 * gdb.btrace/record_goto.exp: Likewise.
14158 * gdb.btrace/segv.exp: Likewise.
14159 * gdb.btrace/stepi.exp: Likewise.
14160 * gdb.btrace/tailcall.exp: Likewise.
14161 * gdb.btrace/unknown_functions.exp: Likewise.
14162 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14163 * lib/gdb.exp: Add the "multi_line" helper.
14165 2015-04-01 Pedro Alves <palves@redhat.com>
14167 * gdb.threads/tid-reuse.c: New file.
14168 * gdb.threads/tid-reuse.exp: New file.
14170 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14173 * gdb.base/coredump-filter.c: New file.
14174 * gdb.base/coredump-filter.exp: Likewise.
14176 2015-03-27 Petr Machata <pmachata@redhat.com>
14178 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14179 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14180 (Dwarf::assemble): Initialize them.
14181 (Dwarf::lines): New function.
14183 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14185 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14186 SYMBOL_PREFIX for x86_64-*-cygwin.
14188 2015-03-26 Andy Wingo <wingo@igalia.com>
14191 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14192 const_value but not a location.
14193 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14194 location defined in non-main CUs are visible.
14196 2015-03-26 Yao Qi <yao.qi@linaro.org>
14199 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14200 Add a line number entry for the same line.
14201 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14202 Add a line number entry for the same line.
14204 2015-03-26 Yao Qi <yao.qi@linaro.org>
14206 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14208 (func): Likewise. Add .Lfunc_1 label.
14209 Use .Lfunc_1 label.
14210 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14213 Use .Lfunc_1 label.
14215 2015-03-26 Yao Qi <yao.qi@linaro.org>
14217 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14218 Call gdb_compile instead to compile each .s files without debug
14221 2015-03-26 Yao Qi <yao.qi@linaro.org>
14223 * gdb.base/savedregs.exp (process_saved_regs): Make
14224 "Saved registers:" optional in the pattern.
14226 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14228 * gdb.btrace/next.exp: Merged into step.exp.
14229 * gdb.btrace/finish.exp: Merged into step.exp.
14230 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14231 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14232 "record goto" and checking the exact replay position.
14233 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14234 check for "Recording format" in "info record" output.
14235 * gdb.btrace/record_goto.exp: Choose test file based on target.
14236 * gdb.btrace/x86-record_goto.S: Renamed into ...
14237 * gdb.btrace/x86_64-record_goto.S: ... this.
14238 * gdb.btrace/i686-record_goto.S: New.
14239 * gdb.btrace/x86-tailcall.S: Renamed into ...
14240 * gdb.btrace/x86_64-tailcall.S: ... this.
14241 * gdb.btrace/i686-tailcall.S: New.
14242 * gdb.btrace/x86-tailcall.c: Renamed into ...
14243 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14244 separate statements. Update test.
14245 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14246 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14247 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14248 * gdb.btrace/tailcall.exp: Choose test file based on target.
14249 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14251 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14253 * gdb.btrace/exception.exp: Increase BTS buffer size.
14255 2015-03-24 Pedro Alves <palves@redhat.com>
14257 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14259 2015-03-24 Pedro Alves <palves@redhat.com>
14261 * gdb.threads/schedlock.exp (test_step): No longer expect that
14262 "set scheduler-locking step" with "next" over a function call runs
14265 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14267 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14269 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14271 PR breakpoints/16466
14272 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14273 * gdb.mi/mi-pending.c (thread_func): New function.
14274 (int main): Add threading support required.
14275 * gdb.mi/mi-pending.exp: Add tests for this issue.
14276 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14277 (pendfunc2): Remove stdio dependency.
14278 * gdb.mi/mi-pendshr2.c: New file.
14280 2015-03-23 Keith Seitz <keiths@redhat.com>
14282 * gdb.linespec/keywords.c: New file.
14283 * gdb.linespec/keywords.exp: New file.
14285 2015-03-23 Keith Seitz <keiths@redhat.com>
14288 * gdb.dwarf2/staticvirtual.exp: New test.
14290 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14292 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14293 * README: Remove HP-UX and gdb.hp.
14295 * configure: Regenerate.
14296 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14297 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14298 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14299 gdb.hp/gdb.defects/Makefile.
14300 * gdb.hp/Makefile.in: File deleted.
14301 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14302 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14303 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14304 * gdb.hp/gdb.aCC/run.c: File deleted.
14305 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14306 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14307 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14308 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14309 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14310 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14311 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14312 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14313 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14314 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14315 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14316 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14317 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14318 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14319 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14320 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14321 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14322 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14323 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14324 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14325 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14326 * gdb.hp/gdb.compat/average.c: File deleted.
14327 * gdb.hp/gdb.compat/sum.c: File deleted.
14328 * gdb.hp/gdb.compat/xdb.c: File deleted.
14329 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14330 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14331 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14332 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14333 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14334 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14335 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14336 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14337 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14338 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14339 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14340 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14341 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14342 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14343 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14344 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14345 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14346 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14347 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14348 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14349 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14350 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14351 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14352 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14353 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14354 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14355 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14356 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14357 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14358 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14359 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14360 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14361 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14362 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14363 * gdb.hp/tools/odump: File deleted.
14365 2015-03-19 Pedro Alves <palves@redhat.com>
14367 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14368 (saw_thread_3): New globals.
14369 (top level): Increment them when an event for the corresponding
14371 (no thread starvation): New test.
14373 2015-03-19 Pedro Alves <palves@redhat.com>
14375 * gdb.threads/continue-pending-status.c: New file.
14376 * gdb.threads/continue-pending-status.exp: New file.
14378 2015-03-18 Pedro Alves <palves@redhat.com>
14380 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14381 Use gdb_is_target_remote instead of is_remote. Use
14382 gdb_test_multiple instead of gdb_expect. Exit early if
14383 gdb_test_multiple hits its internal matches. Tighten stepi tests
14384 expected output. Fail on exit with any signal, instead of just
14387 2015-03-18 Yao Qi <yao.qi@linaro.org>
14390 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14392 * gdb.base/catch-syscall.exp: Don't skip it on
14393 aarch64*-*-linux* target. Remove elements in all_syscalls.
14394 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14396 (setup_all_syscalls): New proc.
14398 2015-03-16 Yao Qi <yao.qi@linaro.org>
14400 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14401 (top level): Skip tests if valid_addr_p returns false for
14404 2015-03-11 Andy Wingo <wingo@igalia.com>
14406 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14408 2015-03-11 Yao Qi <yao.qi@linaro.org>
14410 * gdb.base/catch-syscall.exp: Fix typo in comments.
14412 2015-03-11 Yao Qi <yao.qi@linaro.org>
14414 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14416 2015-03-09 Pedro Alves <palves@redhat.com>
14418 * dg-extract-results.py: Delete.
14420 2015-03-09 Pedro Alves <palves@redhat.com>
14422 Merge dg-extract-results.sh from GCC upstream (r218843).
14424 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14425 * dg-extract-results.sh: Use --text with grep to avoid issues with
14426 binary files. Fall back to cat -v, if that doesn't work.
14428 2015-03-05 Pedro Alves <palves@redhat.com>
14430 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14432 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14434 * lib/mi-support.exp (mi_expect_interrupt): Accept
14435 alternative event for when in all-stop mode.
14437 2015-03-04 Pedro Alves <palves@redhat.com>
14439 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14441 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14443 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14445 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14447 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14448 regexps for GDB's current line display, accept a hex address
14449 preceding the line number.
14451 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14453 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14454 the 'arch1' variable for "s390*-linux*" targets.
14456 2015-03-04 Pedro Alves <palves@redhat.com>
14458 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14459 (main): Pass missing retval argument to pthread_join call.
14461 2015-03-02 Pedro Alves <palves@redhat.com>
14463 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14464 (top level): Call do_test with non-stop as well.
14466 2015-03-02 Pedro Alves <palves@redhat.com>
14468 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14471 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14473 * gdb.arch/s390-vregs.exp: New test.
14474 * gdb.arch/s390-vregs.S: New file.
14476 2015-02-27 Pedro Alves <palves@redhat.com>
14478 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14479 call to catch_command_errors.
14480 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14481 catch_command_errors.
14483 2015-02-27 Pedro Alves <palves@redhat.com>
14485 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14486 "true" for boolean result.
14487 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14490 2015-02-27 Pedro Alves <palves@redhat.com>
14492 * lib/unbuffer_output.c: New file.
14493 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14494 (main): Call gdb_unbuffer_output.
14496 2015-02-27 Yao Qi <yao.qi@linaro.org>
14498 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14501 2015-02-26 Doug Evans <dje@google.com>
14503 * gdb.cp/class2.cc (Dbase, D): New classes.
14504 (main): New local delta.
14505 * gdb.cp/class2.exp: Test printing delta.
14506 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14507 (dynbar): New global.
14508 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14510 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14512 * gdb.compile/compile-ifunc.c: New file.
14513 * gdb.compile/compile-ifunc.exp: New file.
14515 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14517 * gdb.base/structs.exp: Check for correct struct on finish.
14519 2015-02-26 Yao Qi <yao.qi@linaro.org>
14521 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14524 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14526 * gdb.arch/cordic.ko.bz2: New file.
14527 * gdb.arch/cordic.ko.debug.bz2: New file.
14528 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14530 2015-02-25 Yao Qi <yao.qi@linaro.org>
14532 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14533 aarch64*-*-* target.
14535 2015-02-23 Pedro Alves <palves@redhat.com>
14537 * lib/gdb.exp (delete_breakpoints): Rewrite using
14540 2015-02-23 Pedro Alves <palves@redhat.com>
14542 * gdb.base/info-os.c: Include stdlib.h.
14544 2015-02-22 Doug Evans <xdje42@gmail.com>
14547 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14548 is read after symbols have been re-read.
14549 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14550 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14552 2015-02-21 Doug Evans <dje@google.com>
14554 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14556 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14559 * gdb.arch/i386-biarch-core.core.bz2: New file.
14560 * gdb.arch/i386-biarch-core.exp: New file.
14562 2015-02-21 Pedro Alves <palves@redhat.com>
14564 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14567 2015-02-20 Pedro Alves <palves@redhat.com>
14569 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14572 2015-02-20 Pedro Alves <palves@redhat.com>
14574 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14576 2015-02-20 Pedro Alves <palves@redhat.com>
14578 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14579 clean_restart before gdb_target_supports_trace.
14581 2015-02-20 Pedro Alves <palves@redhat.com>
14584 * gdb.threads/clone-thread_db.c: New file.
14585 * gdb.threads/clone-thread_db.exp: New file.
14587 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14589 PR breakpoints/16812
14590 * gdb.base/catch-gdb-caused-signals.c: New file.
14591 * gdb.base/catch-gdb-caused-signals.exp: New file.
14593 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14595 * configure: Regenerated.
14596 * configure.ac: Use GDB_AC_TRANSFORM.
14597 * aclocal.m4: sinclude ../transform.m4.
14599 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14601 * lib/dtrace.exp: New file.
14602 * gdb.base/dtrace-probe.exp: Likewise.
14603 * gdb.base/dtrace-probe.d: Likewise.
14604 * gdb.base/dtrace-probe.c: Likewise.
14605 * lib/pdtrace.in: Likewise.
14606 * configure.ac: Output variables with the transformed names of
14607 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14608 * configure: Regenerated.
14610 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14612 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14613 expected message when trying to access $_probe_* convenience
14614 variables while not on a probe.
14616 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14618 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14620 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14622 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14623 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14625 2015-02-10 Doug Evans <xdje42@gmail.com>
14627 * lib/gdb.exp (gdb_load): Always return a result.
14629 2015-02-10 Pedro Alves <palves@redhat.com>
14631 * gdb.threads/signal-sigtrap.c: New file.
14632 * gdb.threads/signal-sigtrap.exp: New file.
14634 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14636 * gdb.trace/no-attach-trace.c: New file.
14637 * gdb.trace/no-attach-trace.exp: New file.
14639 2015-02-09 Mark Wielaard <mjw@redhat.com>
14641 * gdb.dwarf2/atomic.c: New file.
14642 * gdb.dwarf2/atomic-type.exp: Likewise.
14644 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14646 * gdb.btrace/buffer-size.exp: Update "info record" output.
14647 * gdb.btrace/delta.exp: Update "info record" output.
14648 * gdb.btrace/enable.exp: Update "info record" output.
14649 * gdb.btrace/finish.exp: Update "info record" output.
14650 * gdb.btrace/instruction_history.exp: Update "info record" output.
14651 * gdb.btrace/next.exp: Update "info record" output.
14652 * gdb.btrace/nexti.exp: Update "info record" output.
14653 * gdb.btrace/step.exp: Update "info record" output.
14654 * gdb.btrace/stepi.exp: Update "info record" output.
14655 * gdb.btrace/nohist.exp: Update "info record" output.
14657 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14659 * gdb.btrace/buffer-size: New.
14661 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14663 * gdb.btrace/delta.exp: Update "info record" output.
14664 * gdb.btrace/enable.exp: Update "info record" output.
14665 * gdb.btrace/finish.exp: Update "info record" output.
14666 * gdb.btrace/instruction_history.exp: Update "info record" output.
14667 * gdb.btrace/next.exp: Update "info record" output.
14668 * gdb.btrace/nexti.exp: Update "info record" output.
14669 * gdb.btrace/step.exp: Update "info record" output.
14670 * gdb.btrace/stepi.exp: Update "info record" output.
14671 * gdb.btrace/nohist.exp: Update "info record" output.
14673 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14676 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14678 2015-02-06 Pedro Alves <palves@redhat.com>
14680 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14682 (seconds_left, again): New globals.
14683 (main): Wait seconds_left in a 1-second sleep loop instead of
14684 sleeping 180 seconds. If 'again' is set, reset the seconds
14686 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14687 'again' in the inferior before detaching. Print the seconds left.
14688 (options): New global.
14689 (top level): Build program with -DTIMEOUT=$timeout.
14691 2015-02-06 Pedro Alves <palves@redhat.com>
14693 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14694 determine how many seconds to pass to 'alarm'.
14695 * gdb.base/gdb-sigterm.exp (top level): Build program with
14696 -DTIMEOUT=$timeout.
14697 (do_test): Return success/failure indication. Add more verbose
14698 logging. Don't fail if 200 single steps are seen. Instead, fail
14699 when the test times out.
14700 (passes): New global.
14701 (top level): Break the testing loop if testing fails on any
14702 iteration. Use gdb_assert.
14704 2015-02-04 Don Breazeal <donb@codesourcery.com>
14706 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14707 and initialize them.
14708 (ipc_cleanup): New function.
14709 (main): Don't declare shmid, semid, and msqid. Add a call to
14710 atexit so that we call ipc_cleanup on exit.
14712 2015-02-04 Pedro Alves <palves@redhat.com>
14714 * boards/native-extended-gdbserver.exp: Remove any target variant
14715 specifications from the board name before clearing the isremote
14716 flag from board_info.
14718 2015-01-31 Doug Evans <xdje42@gmail.com>
14720 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14722 2015-01-31 Gary Benson <gbenson@redhat.com>
14724 * gdb.base/completion.exp: Disable completion limiting for
14725 existing tests. Add new tests to check completion limiting.
14726 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14728 2015-01-31 Doug Evans <xdje42@gmail.com>
14730 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14732 2015-01-31 Doug Evans <xdje42@gmail.com>
14734 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14735 entries. Duplicate file section script entries.
14736 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14737 inlined entries. Add test for safe-path rejection.
14738 * gdb.python/py-section-script.c: Add duplicate inlined section script
14739 entries. Duplicate file section script entries.
14740 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14741 inlined entries. Add test for safe-path rejection.
14743 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14745 * gdb.ada/disc_arr_bound: New testcase.
14747 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14749 * gdb.ada/mi_var_array: New testcase.
14751 2015-01-27 Doug Evans <dje@google.com>
14753 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14754 Add test for objfile.filename, objfile.username after objfile
14757 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14759 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14760 the second test to print the name attribute of value
14761 returned by the call to gdb.lookup_type, and adjust
14762 the expected output accordingly.
14764 2015-01-25 Mark Wielaard <mjw@redhat.com>
14766 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14767 * gdb.base/disp-step-fork.c: Include unistd.h.
14768 * gdb.base/siginfo-obj.c: Include stdio.h.
14769 * gdb.base/siginfo-thread.c: Likewise.
14770 * gdb.mi/non-stop.c: Include unistd.h.
14771 * gdb.mi/nsthrexec.c: Include stdio.h.
14772 * gdb.mi/pthreads.c: Include unistd.h.
14773 * gdb.modula2/unbounded1.c (main): Declare returns int.
14774 * gdb.reverse/consecutive-reverse.c: Likewise.
14775 * gdb.threads/create-fail.c: Include unistd.h.
14776 * gdb.threads/killed.c: Likewise.
14777 * gdb.threads/linux-dp.c: Likewise.
14778 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14779 * gdb.threads/non-ldr-exc-2.c: Likewise.
14780 * gdb.threads/non-ldr-exc-3.c: Likewise.
14781 * gdb.threads/non-ldr-exc-4.c: Likewise.
14782 * gdb.threads/pthreads.c: Include unistd.h.
14783 (main): Declare returns int.
14784 * gdb.threads/tls-main.c (foo): New declaration.
14785 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14787 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14789 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14790 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14792 2015-01-15 Mark Wielaard <mjw@redhat.com>
14794 * gdb.base/noreturn-return.c: New file.
14795 * gdb.base/noreturn-return.exp: New file.
14796 * gdb.base/noreturn-finish.c: New file.
14797 * gdb.base/noreturn-finish.exp: New file.
14799 2015-01-23 Pedro Alves <palves@redhat.com>
14801 * gdb.threads/continue-pending-after-query.c: New file.
14802 * gdb.threads/continue-pending-after-query.exp: New file.
14804 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14805 Simon Marchi <simon.marchi@ericsson.com>
14807 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14808 * gdb.base/valgrind-db-attach.exp: Same.
14809 * gdb.base/valgrind-infcall.exp: Same.
14810 * lib/mi-support.exp (default_mi_gdb_start): Same.
14811 * lib/prompt.exp (default_prompt_gdb_start): Same.
14812 * lib/gdb.exp (default_gdb_spawn): Same.
14813 (gdb_interact): New.
14816 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14818 * gdb.compile/compile.exp (pointer to jit function): New test.
14820 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14822 * lib/gdb.exp (supports_process_record): Return true for
14824 (supports_reverse): Likewise.
14826 2015-01-15 Don Breazeal <donb@codesourcery.com>
14828 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14829 instead of checking whether the target board is remote and
14830 use spawn_wait_for_attach instead of exec/sleep.
14831 * gdb.base/attach-twice.exp: Likewise.
14833 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14835 * gdb.ada/var_arr_attrs: New testcase.
14837 2015-01-14 Pedro Alves <palves@redhat.com>
14838 Joel Brobecker <brobecker@adacore.com>
14841 * gdb.base/bp-cmds-execution-x-script.c: New file.
14842 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14843 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14845 2015-01-14 Pedro Alves <palves@redhat.com>
14848 * gdb.base/batch-preserve-term-settings.c: New file.
14849 * gdb.base/batch-preserve-term-settings.exp: New file.
14851 2015-01-13 Doug Evans <dje@google.com>
14853 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14856 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14858 * Makefile.in (clean mostlyclean): Do not delete *.py.
14860 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14862 * gdb.python/py-lookup-type.exp: New file.
14864 2015-01-12 Pedro Alves <palves@redhat.com>
14866 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14867 restore GDBFLAGS before returning.
14869 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14871 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14872 is_amd64_regs_target and is_x86_like_target.
14874 2015-01-11 Doug Evans <xdje42@gmail.com>
14876 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14877 is given without an explicit form.
14878 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14880 * gdb.dwarf/corrupt.exp: Ditto.
14881 * gdb.dwarf2/enum-type.exp: Ditto.
14882 * gdb.trace/entry-values.exp: Ditto.
14883 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14885 2015-01-11 Doug Evans <xdje42@gmail.com>
14888 * gdb.base/maint.exp: Remove references to "maint demangle".
14889 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14890 Add tests for explicitly specifying language to demangle.
14891 * gdb.dlang/demangle.exp: Ditto.
14893 2015-01-09 Pedro Alves <palves@redhat.com>
14895 * gdb.threads/non-stop-fair-events.c: New file.
14896 * gdb.threads/non-stop-fair-events.exp: New file.
14898 2015-01-09 Pedro Alves <palves@redhat.com>
14900 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14901 the global scope. Set a breakpoint after all threads are started
14902 rather than stepping over two source lines. Expect the prompt.
14903 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14906 (main): Use threads_started_barrier to wait for all threads to
14907 start. Main thread no longer calls thread_function. Exit after
14909 (loop): New function.
14910 (thread_function): Wait on threads_started_barrier barrier. Call
14911 'loop' at each iteration.
14912 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14913 threads have started, instead of hardcoding number of "next"
14914 steps. Use an access watchpoint instead of a write watchpoint.
14916 2015-01-09 Pedro Alves <palves@redhat.com>
14918 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14919 (thread_func): Wait on barrier.
14920 (main): Wait for all threads to start before stopping GDB.
14921 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14923 (thread1_func, thread2_func): Wait on barrier.
14924 (main): Wait for all threads to start before stopping GDB.
14925 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14927 (thread1_func, thread2_func): Wait on barrier.
14928 (main): Wait for all threads to start before stopping GDB.
14930 2015-01-09 Pedro Alves <palves@redhat.com>
14932 * gdb.threads/attach-many-short-lived-threads.c: New file.
14933 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14935 2014-01-09 Pedro Alves <palves@redhat.com>
14937 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14938 instead of to thread 2.
14939 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14940 Add barrier around each pthread_create call instead of around all
14942 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14943 Set a break on thread_function and have the child threads hit it
14946 2015-01-09 Pedro Alves <palves@redhat.com>
14948 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14949 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14951 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14952 checking whether the target board is remote.
14953 * gdb.multi/multi-attach.exp: Likewise.
14954 * gdb.python/py-sync-interp.exp: Likewise.
14955 * gdb.server/ext-attach.exp: Likewise.
14956 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14957 tests that need to attach, instead of checking whether the target
14958 board is remote at the top of the file.
14960 2015-01-08 Yao Qi <yao@codesourcery.com>
14962 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14964 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14966 Fix testcase compilation.
14967 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14969 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14971 * gdb.python/py-type.exp: Add a couple test about empty
14972 array creation, and negative-length array creation.
14974 2015-01-02 Doug Evans <xdje42@gmail.com>
14976 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14978 2015-01-02 Doug Evans <dje@google.com>
14980 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14982 2014-12-29 Yao Qi <yao@codesourcery.com>
14984 * gdb.trace/entry-values.exp: Update comments. Rename variable
14985 bar_call_foo to returned_from_foo.
14987 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14990 * gdb.linespec/break-asm-file.c: New file.
14991 * gdb.linespec/break-asm-file.exp: New file.
14992 * gdb.linespec/break-asm-file0.s: New file.
14993 * gdb.linespec/break-asm-file1.s: New file.
14995 2014-12-18 Nigel Stephens <nigel@mips.com>
14996 Maciej W. Rozycki <macro@codesourcery.com>
14998 * gdb.base/float.exp: Handle the new output from "info float" on
15001 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15003 Fix MinGW compilation.
15004 * gdb.compile/compile-ops.exp: Update untested message if
15005 !skip_compile_feature_tests.
15006 * gdb.compile/compile-setjmp.exp: Likewise.
15007 * gdb.compile/compile-tls.exp: Likewise.
15008 * gdb.compile/compile.exp: Likewise.
15009 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15010 supported on this host".
15012 2014-12-16 Doug Evans <xdje42@gmail.com>
15014 * boards/stabs.exp: New file.
15016 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15018 * gdb.base/completion.exp: Adjust to format changes of "maint
15019 print user-registers".
15021 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15024 * gdb.arch/aarch64-fp.c: New file.
15025 * gdb.arch/aarch64-fp.exp: New file.
15027 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15029 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15030 r210637, r210913, r211666, r215400, r215817).
15032 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15033 * dg-extract-results.py: New file.
15034 * dg-extract-results.sh: Use it if the environment seems
15037 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15039 * dg-extract-results.py (parse_run): Handle warnings that
15040 are printed before a test harness is run.
15042 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15044 * dg-extract-results.py (Named): Remove __cmp__ method.
15045 (output_variation): Use a key to sort variation.harnesses.
15047 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15049 * dg-extract-results.py: For Python 3, force sys.stdout to
15050 handle surrogate escape sequences.
15051 (safe_open): New function.
15052 (output_segment, main): Use it.
15054 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15056 * dg-extract-results.py (Prog.result_re): Include options
15059 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15061 * dg-extract-results.py (output_variation): Always sort if
15064 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15066 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15067 as long as we get pagination notifications.
15069 2014-12-15 Jason Merrill <jason@redhat.com>
15071 * Makefile.in (check-gdb.%): Restore.
15072 * README: Mention it.
15074 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15076 * gdb.ada/str_uninit: New testcase.
15078 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15081 * gdb.base/vla-stub-define.c: New file.
15082 * gdb.base/vla-stub.c: New file.
15083 * gdb.base/vla-stub.exp: New file.
15085 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15086 Jan Kratochvil <jan.kratochvil@redhat.com>
15087 Tom Tromey <tromey@redhat.com>
15089 * configure.ac: Add gdb.compile/.
15090 * configure: Regenerate.
15091 * gdb.compile/Makefile.in: New file.
15092 * gdb.compile/compile-ops.exp: New file.
15093 * gdb.compile/compile-ops.c: New file.
15094 * gdb.compile/compile-tls.c: New file.
15095 * gdb.compile/compile-tls.exp: New file.
15096 * gdb.compile/compile-constvar.S: New file.
15097 * gdb.compile/compile-constvar.c: New file.
15098 * gdb.compile/compile-mod.c: New file.
15099 * gdb.compile/compile-nodebug.c: New file.
15100 * gdb.compile/compile-setjmp-mod.c: New file.
15101 * gdb.compile/compile-setjmp.c: New file.
15102 * gdb.compile/compile-setjmp.exp: New file.
15103 * gdb.compile/compile-shlib.c: New file.
15104 * gdb.compile/compile.c: New file.
15105 * gdb.compile/compile.exp: New file.
15106 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15108 2014-12-12 Tom Tromey <tromey@redhat.com>
15110 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15111 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15113 2014-12-12 Doug Evans <dje@google.com>
15115 * lib/gdb-python.exp (get_python_valueof): New function.
15116 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15118 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15120 * gdb.base/completion.exp: Add test for completion of "info
15123 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15125 * gdb.base/func-ptrs.c: New file.
15126 * gdb.base/func-ptrs.exp: New file.
15128 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15130 PR breakpoints/17012
15131 * gdb.base/dprintf-detach.c: New file.
15132 * gdb.base/dprintf-detach.exp: New file.
15134 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15136 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15137 * lib/gdb.exp (target_is_gdbserver): New procedure.
15139 2014-12-08 Doug Evans <dje@google.com>
15141 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15143 2014-12-05 Yao Qi <yao@codesourcery.com>
15145 * gdb.guile/scm-error.exp: Remove the third argument to
15146 gdb_remote_download.
15147 * gdb.guile/scm-frame-args.exp: Likewise.
15148 * gdb.guile/scm-section-script.exp: Likewise.
15150 2014-12-05 Yao Qi <yao@codesourcery.com>
15152 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15154 2014-12-04 Doug Evans <dje@google.com>
15156 * gdb.python/py-objfile.exp: Add tests for
15157 objfile.add_separate_debug_file.
15159 2014-12-04 Doug Evans <dje@google.com>
15161 * lib/gdb.exp (get_build_id): New function.
15162 (build_id_debug_filename_get): Rewrite to use it.
15163 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15165 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15167 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15168 `method(long)', not just 0x0.
15169 * gdb.cp/nsalias.exp: Align code labels to 4.
15170 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15171 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15172 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15173 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15174 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15175 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15177 2014-12-02 Doug Evans <dje@google.com>
15180 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15181 * gdb.cp/anon-ns2.cc: ... here. New file.
15182 * gdb.cp/anon-ns.exp: Update.
15184 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15186 * gdb.python/py-events.py (inferior_call_handler): New.
15187 (register_changed_handler, memory_changed_handler): New.
15188 (test_events.invoke): Register new handlers.
15189 * gdb.python/py-events.exp: Add tests for inferior call,
15190 memory_changed and register_changed events.
15192 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15194 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15195 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15196 if the linker doesn't understand this.
15198 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15200 * gdb.python/python.exp: Change expected reply to help().
15202 2014-12-01 Yao Qi <yao@codesourcery.com>
15204 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15205 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15206 * configure: Re-generated.
15208 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15210 * gdb.cp/chained-calls.cc: New file.
15211 * gdb.cp/chained-calls.exp: New file.
15212 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15214 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15216 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15217 * gdb.dwarf2/symtab-producer.exp: Same.
15218 * gdb.gdb/python-interrupts.exp: Same.
15219 * gdb.gdb/python-selftest.exp: Same.
15220 * gdb.python/py-linetable.exp: Same.
15221 * gdb.python/py-type.exp: Same.
15222 * gdb.python/py-value-cc.exp: Same.
15223 * gdb.python/py-value.exp: Same.
15225 2014-11-28 Yao Qi <yao@codesourcery.com>
15227 * gdb.base/break-probes.exp: Match library name prefixed with
15230 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15232 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15233 test expected output. Add parentheses for the call to print.
15234 Remove L suffix from integers.
15236 2014-11-26 Doug Evans <dje@google.com>
15238 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15240 2014-11-22 Yao Qi <yao@codesourcery.com>
15242 * gdb.trace/entry-values.c: Remove asms.
15243 (foo): Add foo_label.
15244 (bar): Add bar_label.
15245 * gdb.trace/entry-values.exp: Remove code computing foo's
15246 length and bar's length.
15247 (Dwarf::assemble): Invoke function_range for bar and use
15248 MACRO_AT_func for foo.
15250 2014-11-22 Yao Qi <yao@codesourcery.com>
15252 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15253 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15254 Use .Lgcc43_procstart instead of gcc43.
15256 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15258 * gdb.ada/n_arr_bound: New testcase.
15260 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15262 PR breakpoints/10737
15263 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15264 test_catch_syscall_multi_arch.
15265 (test_catch_syscall_multi_arch): New function.
15267 2014-11-20 Doug Evans <xdje42@gmail.com>
15269 * gdb.base/maint.exp: Update expected output.
15271 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15273 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15274 4-byte instruction on S390.
15276 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15278 * gdb.ada/arr_arr: New testcase.
15280 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15282 * gdb.ada/pkd_arr_elem: New Testcase.
15284 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15286 * gdb.reverse/break-precsave: Expect completion message for
15288 * gdb.reverse/consecutive-precsave.exp: Likewise.
15289 * gdb.reverse/finish-precsave.exp: Likewise.
15290 * gdb.reverse/i386-precsave.exp: Likewise.
15291 * gdb.reverse/machinestate-precsave.exp: Likewise.
15292 * gdb.reverse/sigall-precsave.exp: Likewise.
15293 * gdb.reverse/solib-precsave.exp: Likewise.
15294 * gdb.reverse/step-precsave.exp: Likewise.
15295 * gdb.reverse/until-precsave.exp: Likewise.
15296 * gdb.reverse/watch-precsave.exp: Likewise.
15298 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15300 * gdb.base/bp-permanent.c: Include unistd.h.
15301 * gdb.python/py-framefilter-mi.c (main): Add return type.
15302 * gdb.python/py-framefilter.c (main): Likewise.
15303 * gdb.trace/actions-changed.c (main): Likewise.
15305 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15307 * gdb.mi/until.c: Add eye-catchers.
15308 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15311 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15313 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15314 function header variants in break1.c.
15315 * gdb.base/ena-dis-br.exp: Likewise.
15316 * gdb.base/hbreak2.exp: Likewise.
15317 * gdb.reverse/until-precsave.exp: Drop references to removed
15318 non-prototype function header variants in ur1.c.
15319 * gdb.reverse/until-reverse.exp: Likewise.
15321 2014-11-17 Petr Machata <pmachata@redhat.com>
15323 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15324 ${_cu_offset_size} bytes abbrev offset.
15326 2014-11-15 Doug Evans <xdje42@gmail.com>
15329 * gdb.base/line-symtabs.exp: New file.
15330 * gdb.base/line-symtabs.c: New file.
15331 * gdb.base/line-symtabs.h: New file.
15333 2014-11-14 Yao Qi <yao@codesourcery.com>
15335 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15336 (func): Add label func_label.
15337 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15338 Replace low_pc and high_pc with MACRO_AT_range.
15339 Replace name, low_pc and high_pc with MACRO_AT_func.
15341 2014-11-14 Yao Qi <yao@codesourcery.com>
15343 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15344 Replace name, low_pc and high_pc with MACRO_AT_func.
15346 2014-11-14 Yao Qi <yao@codesourcery.com>
15348 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15349 produce debug information.
15350 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15352 2014-11-14 Yao Qi <yao@codesourcery.com>
15354 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15355 object and get function length.
15356 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15357 with MACRO_AT_func.
15358 (top-level): Replace gdb_compile and clean_restart with
15359 prepare_for_testing.
15360 * gdb.dwarf2/main.c (main): Add label main_label.
15362 2014-11-14 Yao Qi <yao@codesourcery.com>
15364 * lib/dwarf.exp (function_range): New procedure.
15365 (Dwarf::_handle_macro_at_func): New procedure.
15366 (Dwarf::_handle_macro_at_range): New procedure.
15367 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15369 2014-11-14 Yao Qi <yao@codesourcery.com>
15371 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15372 (_handle_attribute): New procedure.
15374 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15376 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15377 * gdb.base/call-sc.c (zed): Likewise.
15378 * gdb.base/checkpoint.c (main): Likewise.
15379 * gdb.base/dump.c (main): Likewise.
15380 * gdb.base/gcore.c (main): Likewise.
15381 * gdb.base/huge.c (main): Likewise.
15382 * gdb.base/multi-forks.c (main): Likewise.
15383 * gdb.base/pr10179-a.c (main): Likewise.
15384 * gdb.base/savedregs.c (main): Likewise.
15385 * gdb.base/sigaltstack.c (main): Likewise.
15386 * gdb.base/siginfo.c (main): Likewise.
15387 * gdb.base/structs.c (zed): Likewise.
15388 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15389 * gdb.mi/mi-syn-frame.c (main): Likewise.
15390 * gdb.mi/until.c (foo, main): Likewise.
15391 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15392 * gdb.base/solib-weak.c (foo): Declare.
15393 * gdb.base/attach-twice.c: Include stdio.h.
15394 * gdb.base/weaklib1.c: Likewise.
15395 * gdb.base/weaklib2.c: Likewise.
15396 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15397 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15399 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15400 * gdb.mi/mi-exit-code.c: Likewise.
15401 * gdb.base/break-interp-lib.c: Include string.h.
15402 * gdb.base/coremaker.c: Likewise.
15403 * gdb.base/testenv.c: Likewise.
15404 * gdb.python/py-finish-breakpoint.c: Likewise.
15405 * gdb.base/inferior-died.c: Include sys/wait.h.
15406 * gdb.base/fileio.c: Include time.h.
15407 * gdb.base/async-shell.c: Include unistd.h.
15408 * gdb.base/dprintf-non-stop.c: Likewise.
15409 * gdb.base/info-os.c: Likewise.
15410 * gdb.mi/mi-console.c: Likewise.
15411 * gdb.mi/watch-nonstop.c: Likewise.
15412 * gdb.python/py-events.c: Likewise.
15413 * gdb.base/async.c (baz): Move up before its invocation.
15414 * gdb.base/code_elim2.c (my_global_func): Likewise.
15415 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15416 * gdb.base/advance.c (func2): Likewise.
15418 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15420 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15422 * gdb.base/annota3.c: Likewise.
15423 * gdb.base/async.c: Likewise.
15424 * gdb.base/average.c: Likewise.
15425 * gdb.base/call-ar-st.c: Likewise.
15426 * gdb.base/call-rt-st.c: Likewise.
15427 * gdb.base/call-sc.c: Likewise.
15428 * gdb.base/call-strs.c: Likewise.
15429 * gdb.base/ending-run.c: Likewise.
15430 * gdb.base/execd-prog.c: Likewise.
15431 * gdb.base/exprs.c: Likewise.
15432 * gdb.base/foll-exec.c: Likewise.
15433 * gdb.base/foll-fork.c: Likewise.
15434 * gdb.base/foll-vfork.c: Likewise.
15435 * gdb.base/funcargs.c: Likewise.
15436 * gdb.base/gcore.c: Likewise.
15437 * gdb.base/jump.c: Likewise.
15438 * gdb.base/langs0.c: Likewise.
15439 * gdb.base/langs1.c: Likewise.
15440 * gdb.base/langs2.c: Likewise.
15441 * gdb.base/mips_pro.c: Likewise.
15442 * gdb.base/nodebug.c: Likewise.
15443 * gdb.base/opaque0.c: Likewise.
15444 * gdb.base/opaque1.c: Likewise.
15445 * gdb.base/recurse.c: Likewise.
15446 * gdb.base/run.c: Likewise.
15447 * gdb.base/scope0.c: Likewise.
15448 * gdb.base/scope1.c: Likewise.
15449 * gdb.base/setshow.c: Likewise.
15450 * gdb.base/setvar.c: Likewise.
15451 * gdb.base/shmain.c: Likewise.
15452 * gdb.base/shr1.c: Likewise.
15453 * gdb.base/shr2.c: Likewise.
15454 * gdb.base/sigall.c: Likewise.
15455 * gdb.base/signals.c: Likewise.
15456 * gdb.base/so-indr-cl.c: Likewise.
15457 * gdb.base/solib2.c: Likewise.
15458 * gdb.base/structs.c: Likewise.
15459 * gdb.base/sum.c: Likewise.
15460 * gdb.base/vforked-prog.c: Likewise.
15461 * gdb.base/watchpoint.c: Likewise.
15462 * gdb.reverse/shr2.c: Likewise.
15463 * gdb.reverse/until-reverse.c: Likewise.
15464 * gdb.reverse/ur1.c: Likewise.
15465 * gdb.reverse/watch-reverse.c: Likewise.
15467 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15469 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15471 * gdb.base/sepdebug.exp: Drop references to removed code.
15473 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15475 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15476 variant. Preserve original line numbering.
15477 * gdb.base/list1.c: Likewise.
15479 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15481 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15483 * gdb.base/break1.c: Likewise.
15484 * gdb.base/break.exp: Drop references to removed code.
15486 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15488 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15491 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15493 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15495 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15497 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15498 logic into perform_all_tests() and invoke it with and without
15499 function header prototypes.
15500 (do_function_calls): Remove conditional XFAIL for PR 5318.
15501 (rerun_and_prepare): Remove duplicate code.
15502 (perform_all_tests): New. Main logic moved here.
15504 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15506 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15507 code guarded by #ifdef NO_PROTOTYPES.
15508 (t_double_many_args): Likewise.
15509 (DEF_FUNC_MANY_ARGS_1): Likewise.
15510 (DEF_FUNC_VALUES_1): Likewise.
15511 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15512 guarded by #ifdef PROTOTYPES.
15514 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15516 * gdb.mi/mi-console.c: Add eye-catcher.
15517 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15518 instead of literal line number.
15520 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15522 * gdb.base/shr2.c: Add eye-catcher.
15523 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15526 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15528 * gdb.base/jump.c: Add eye-catchers.
15529 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15532 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15534 * gdb.base/execd-prog.c: Add eye-catchers.
15535 * gdb.base/foll-exec.c: Likewise.
15536 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15539 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15541 * gdb.base/ending-run.c: Add eye-catchers.
15542 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15543 literal line numbers.
15545 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15547 * gdb.base/call-rt-st.c: Add eye-catchers.
15548 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15549 literal line numbers.
15551 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15553 * gdb.base/call-ar-st.c: Add eye-catchers.
15554 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15555 literal line numbers.
15557 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15559 * gdb.base/average.c: Add eye-catchers.
15560 * gdb.base/sum.c: Likewise.
15561 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15562 regexps dynamically.
15564 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15566 * gdb.base/solib1.c: Add eye-catchers.
15567 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15568 literal line numbers.
15570 2014-11-12 Pedro Alves <palves@redhat.com>
15572 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15575 2014-11-12 Pedro Alves <palves@redhat.com>
15577 * gdb.arch/i386-bp_permanent.c: New file.
15578 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15579 (srcfile): Set to i386-bp_permanent.c.
15580 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15581 that stepi does not execute the 'leave' instruction, instead of
15582 testing it does execute.
15583 * gdb.base/bp-permanent.c: New file.
15584 * gdb.base/bp-permanent.exp: New file.
15586 2014-11-10 Doug Evans <xdje42@gmail.com>
15589 * gdb.base/symtab-search-order.exp: New file.
15590 * gdb.base/symtab-search-order.c: New file.
15591 * gdb.base/symtab-search-order-1.c: New file.
15592 * gdb.base/symtab-search-order-shlib-1.c: New file.
15594 2014-11-07 Pedro Alves <palves@redhat.com>
15597 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15600 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15603 * gdb.cp/pr17494.cc: New file.
15604 * gdb.cp/pr17494.exp: New file.
15606 2014-11-02 Yao Qi <yao@codesourcery.com>
15608 * gdb.python/python.exp: Get working directory and match the
15609 output of "set extended-prompt \\w " with it.
15611 2014-10-30 Doug Evans <dje@google.com>
15613 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15615 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15618 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15620 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15621 * gdb.base/realname-expand.exp: Likewise.
15622 * gdb.linespec/macro-relative.exp: Likewise.
15624 2014-10-29 Pedro Alves <palves@redhat.com>
15627 * gdb.threads/schedlock.c (some_function): New function.
15628 (call_function): New global.
15629 (MAYBE_CALL_SOME_FUNCTION): New macro.
15630 (thread_function): Call it.
15631 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15632 and use it instead of a global counter. Adjust all callers.
15633 (get_current_thread): Use "find current thread" for test message
15634 here rather than having all callers pass down the same string.
15635 (goto_loop): New procedure, factored out from ...
15636 (my_continue): ... this.
15637 (step_ten_loops): Change parameter from test message to command to
15639 (list_count): Delete global.
15640 (check_result): New procedure, factored out from duplicate top
15642 (continue tests): Wrap in with_test_prefix.
15643 (test_step): New procedure, factored out from duplicate top level
15645 (top level): Test "step" in combination with all scheduler-locking
15646 modes. Test "next" in combination with all scheduler-locking
15647 modes, and in combination with stepping over a function call or
15649 * gdb.threads/next-bp-other-thread.c: New file.
15650 * gdb.threads/next-bp-other-thread.exp: New file.
15652 2014-10-29 Pedro Alves <palves@redhat.com>
15655 * gdb.python/python.exp: Test a multi-line command that spawns
15656 interactive Python.
15657 * gdb.base/multi-line-starts-subshell.exp: New file.
15659 2014-10-29 Yao Qi <yao@codesourcery.com>
15661 * gdb.base/fileio.exp: Make directories on host.
15663 2014-10-29 Yao Qi <yao@codesourcery.com>
15665 * gdb.base/fileio.c (test_write): Close the file.
15667 2014-10-28 Pedro Alves <palves@redhat.com>
15670 * gdb.base/sigstep.c (no_handler): New global.
15671 (main): If 'no_handler is true, set the signal handlers to
15673 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15674 with_sw_watch and no_handler parameters. Handle them.
15675 (top level) <stepping over handler when stopped at a breakpoint
15676 test>: Add a test axis for testing with a software watchpoint, and
15677 another for testing with the signal handler set to SIG_IGN.
15678 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15679 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15681 2014-10-28 Pedro Alves <palves@redhat.com>
15684 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15685 * gdb.base/sigstep.exp (other_handler_location): New global.
15686 (advance): Support stepping into the signal handler, and running
15687 commands while in the handler.
15688 (in_handler_map): New global.
15689 (top level): In the advance test, add combinations for getting
15690 into the handler with stepping commands, and for running commands
15691 in the handler. Add comment descripting the advancei tests.
15693 2014-10-28 Pedro Alves <palves@redhat.com>
15695 * gdb.base/sigstep.exp: Use build_executable instead of
15696 prepare_for_testing.
15697 (top level): Move code that starts GDB, runs to main and creates a
15699 (restart): ... this new procedure.
15700 (top level): Move backtrace from signal handler test to ...
15701 (validate_backtrace): ... this new procedure.
15702 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15703 with_test_prefix. Always restart GDB.
15704 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15705 with_test_prefix. Always restart GDB. No need to delete
15706 breakpoints after the test.
15707 (test_skip_handler): Remove prefix parameter.
15708 (skip_over_handler, breakpoint_to_handler)
15709 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15710 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15711 restart GDB. No need to delete breakpoints after the test.
15712 (top level): Use foreach to call the test procedures with
15713 different commands.
15715 2014-10-28 Pedro Alves <palves@redhat.com>
15717 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15718 instead of GNATS numbers.
15719 * gdb.base/sigbpt.exp: Likewise.
15720 * gdb.base/siginfo.exp: Likewise.
15721 * gdb.base/sigstep.exp: Likewise.
15723 2014-10-27 Pedro Alves <palves@redhat.com>
15725 * gdb.base/sigstep.c (dummy): New global.
15726 (main): Issue a couple writes to the new global.
15727 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15729 (skip_over_handler): Use test_skip_handler.
15730 (top level): Call skip_over_handler for stepi and nexti too.
15731 (breakpoint_over_handler): Use test_skip_handler.
15732 (top level): Call breakpoint_over_handler for stepi and nexti too.
15734 2014-10-27 Yao Qi <yao@codesourcery.com>
15736 * gdb.trace/tfile.c (adjust_function_address)
15737 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15738 function descriptor.
15740 2014-10-24 Don Breazeal <donb@codesourcery.com>
15742 * gdb.base/foll-fork.exp (test_follow_fork,
15743 catch_fork_child_follow): Check for updated fork messages emitted
15745 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15746 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15747 vfork_and_exec_child_follow_through_step): Check for updated vfork
15748 messages emitted from infrun.c.
15750 2014-10-24 Pedro Alves <palves@redhat.com>
15752 * gdb.base/corefile.exp: Remove references to ultrix.
15753 * gdb.base/interrupt.exp: Likewise.
15754 * gdb.base/whatis.exp: Likewise.
15755 * gdb.gdb/selftest.exp: Likewise.
15756 * gdb.threads/manythreads.exp: Likewise.
15757 * gdb.threads/print-threads.exp: Likewise.
15758 * gdb.threads/pthreads.exp:: Likewise.
15759 * gdb.threads/schedlock.exp: Likewise.
15761 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15763 * gdb.cp/non-trivial-retval.cc: Add a test case.
15764 * gdb.cp/non-trivial-retval.exp: Add a test.
15766 2014-10-20 Yao Qi <yao@codesourcery.com>
15768 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15769 * gdb.python/py-objfile-script-gdb.py: New file.
15770 * gdb.python/py-objfile-script.exp: Update reference to
15771 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15772 of remote_download. Remove the dest file.
15774 2014-10-20 Yao Qi <yao@codesourcery.com>
15776 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15777 * gdb.base/step-line.exp: Likewise.
15778 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15779 * gdb.dwarf2/dw2-basic.exp: Likewise.
15780 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15781 * gdb.dwarf2/dw2-filename.exp: Likewise.
15782 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15783 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15784 * gdb.dwarf2/dw2-producer.exp: Likewise.
15785 * gdb.dwarf2/mac-fileno.exp: Likewise.
15786 * gdb.python/py-frame-args.exp: Likewise.
15787 * gdb.python/py-framefilter.exp: Likewise.
15788 * gdb.python/py-mi.exp: Likewise.
15789 * gdb.python/py-objfile-script.exp: Likewise
15790 * gdb.python/py-pp-integral.exp: Likewise.
15791 * gdb.python/py-pp-re-notag.exp: Likewise.
15792 * gdb.python/py-prettyprint.exp: Likewise.
15793 * gdb.python/py-section-script.exp: Likewise.
15794 * gdb.python/py-typeprint.exp: Likewise.
15795 * gdb.python/py-xmethods.exp: Likewise.
15796 * gdb.stabs/weird.exp: Likewise.
15797 * gdb.xml/tdesc-regs.exp: Likewise.
15799 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15801 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15802 (out_cu): Use addr_len for the size of addresses.
15803 (out_line): Likewise. Size DW_LNE_set_address instruction
15804 according to addr_len.
15805 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15806 (FUNC): Add START_INSNS to definition.
15808 2014-10-18 Yao Qi <yao@codesourcery.com>
15810 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15811 gdb_has_argv0 return true.
15812 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15813 check [target_info exists noargs], check [gdb_has_argv0]
15815 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15816 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15819 2014-10-17 Doug Evans <dje@google.com>
15821 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15823 * gdb.python/py-events.py: Add clear_objfiles event.
15825 2014-10-17 Doug Evans <dje@google.com>
15827 * gdb.python/py-objfile.exp: Test progspace attribute.
15829 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15831 * gdb.guile/scm-breakpoint.exp: Do not assume any
15832 directory separators when matching source file paths.
15833 * gdb.python/py-breakpoint.exp: Likewise.
15834 * gdb.reverse/break-precsave.exp: Likewise.
15835 * gdb.reverse/break-reverse.exp: Likewise.
15836 * gdb.reverse/consecutive-precsave.exp: Likewise.
15837 * gdb.reverse/finish-precsave.exp: Likewise.
15838 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15839 * gdb.reverse/finish-reverse.exp: Likewise.
15840 * gdb.reverse/i386-precsave.exp: Likewise.
15841 * gdb.reverse/i387-env-reverse.exp: Likewise.
15842 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15843 * gdb.reverse/machinestate-precsave.exp: Likewise.
15844 * gdb.reverse/machinestate.exp: Likewise.
15845 * gdb.reverse/sigall-precsave.exp: Likewise.
15846 * gdb.reverse/solib-precsave.exp: Likewise.
15847 * gdb.reverse/step-precsave.exp: Likewise.
15848 * gdb.reverse/until-precsave.exp: Likewise.
15849 * gdb.reverse/watch-precsave.exp: Likewise.
15850 * gdb.reverse/watch-reverse.exp: Likewise.
15852 2014-10-17 Yao Qi <yao@codesourcery.com>
15854 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15855 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15857 2014-10-17 Pedro Alves <palves@redhat.com>
15860 * gdb.base/bg-execution-repeat.c: New file.
15861 * gdb.base/bg-execution-repeat.exp: New file.
15863 2014-10-17 Pedro Alves <palves@redhat.com>
15866 * gdb.base/continue-all-already-running.c: New file.
15867 * gdb.base/continue-all-already-running.exp: New file.
15869 2014-10-17 Pedro Alves <palves@redhat.com>
15872 * gdb.base/annota-input-while-running.c: New file.
15873 * gdb.base/annota-input-while-running.exp: New file.
15875 2014-10-17 Pedro Alves <palves@redhat.com>
15877 * gdb.base/callfuncs.exp: emove references to osf.
15878 * gdb.base/sigall.exp: Likewise.
15879 * gdb.gdb/selftest.exp: Likewise.
15880 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15881 * gdb.mi/non-stop.c: Likewise.
15882 * gdb.mi/pthreads.c: Likewise.
15883 * gdb.reverse/sigall-precsave.exp: Likewise.
15884 * gdb.reverse/sigall-reverse.exp: Likewise.
15885 * gdb.threads/pthreads.c: Likewise.
15886 * gdb.threads/pthreads.exp: Likewise.
15888 2014-10-17 Yao Qi <yao@codesourcery.com>
15890 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15891 check 'target_info exists noargs'.
15892 (test_command_prompt_position): Likewise.
15893 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15895 (progvar_simple_while_test): Likewise.
15896 (progvar_complex_if_while_test): Likewise.
15897 (if_while_breakpoint_command_test): Likewise.
15898 (infrun_breakpoint_command_test): Likewise.
15899 (breakpoint_command_test): Likewise.
15900 (watchpoint_command_test): Likewise.
15901 (bp_deleted_in_command_test): Likewise.
15902 (temporary_breakpoint_commands): Likewise.
15904 2014-10-16 Yao Qi <yao@codesourcery.com>
15906 * gdb.base/remotetimeout.exp: Remove noargs checking.
15908 2014-10-15 Pedro Alves <palves@redhat.com>
15910 PR breakpoints/9649
15911 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15912 * gdb.base/breakpoint-in-ro-region.exp
15913 (probe_target_hardware_step): New procedure.
15914 (top level): Probe hardware stepping and hardware breakpoint
15915 support. Test stepping through a read-only region, with both
15916 "breakpoint auto-hw" on and off and both "always-inserted" on and
15919 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15921 * gdb.dlang/demangle.exp: Update for demangling changes.
15923 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15925 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15926 * gdb.cp/non-trivial-retval.exp: Add new tests.
15928 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15932 * gdb.cp/non-trivial-retval.cc: New file.
15933 * gdb.cp/non-trivial-retval.exp: New file.
15935 2014-10-15 Yao Qi <yao@codesourcery.com>
15937 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15940 2014-10-15 Yao Qi <yao@codesourcery.com>
15942 * gdb.python/py-symbol.exp: Match file base name if host is
15943 remote, otherwise match file name with dir name.
15944 * gdb.python/py-symtab.exp: Likewise.
15945 * gdb.python/python.exp: Likewise.
15947 2014-10-15 Yao Qi <yao@codesourcery.com>
15949 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15951 * gdb.python/py-symtab.exp: Likewise.
15952 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15955 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15957 * gdb.ada/addr_arith: New testcase.
15959 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15961 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15962 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15963 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15964 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15966 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15968 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15969 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15970 * gdb.arch/stap-eval-lang-ada.exp: New file.
15972 2014-10-14 Yao Qi <yao@codesourcery.com>
15974 * gdb.mi/mi-var-child.c (nothing1): New function.
15975 (nothing2): New function.
15976 (do_children_tests): Set function pointers by nothing1 and
15978 * gdb.mi/mi-var-child.exp: Step over new added statements.
15979 Update test to match the new output.
15980 * gdb.mi/var-cmd.c (nothing1): New function.
15981 (nothing2): New function.
15982 (do_children_tests): Set function pointers by nothing1 and
15984 * gdb.mi/mi-var-display.exp: Update test to match output.
15985 Step to the line specified by $line_dct_nothing.
15986 Increase the number of lines to step.
15988 2014-10-14 Yao Qi <yao@codesourcery.com>
15990 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15992 * gdb.mi/mi2-var-child.exp: Likewise.
15994 2014-10-13 Doug Evans <dje@google.com>
15996 * gdb.python/py-objfile.exp: Change name of file name test.
15998 2014-10-13 Doug Evans <dje@google.com>
16000 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16001 from the start of the CU.
16003 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16004 Yao Qi <yao@codesourcery.com>
16006 Fix "save breakpoints" for "catch" command.
16007 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16008 Remove -nonewline. Match also the added "main" line.
16010 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16012 Fix "save breakpoints" for "disable $bpnum" command.
16013 * gdb.base/save-bp.c (main): Add label.
16014 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16016 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16018 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16020 2014-10-11 Yao Qi <yao@codesourcery.com>
16022 * gdb.server/server-kill.exp: Execute command
16023 "set remote trace-status-packet on" before "tstatus".
16025 2014-10-11 Yao Qi <yao@codesourcery.com>
16027 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16028 (main): Call getppid.
16029 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16030 and continue to it. Read variable "server_pid".
16032 2014-10-11 Yao Qi <yao@codesourcery.com>
16034 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16036 2014-10-11 Yao Qi <yao@codesourcery.com>
16038 * gdb.threads/thread-find.exp: Don't execute command
16040 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16041 * gdb.threads/linux-dp.exp: Don't check the condition
16042 $threads_created equals to zero.
16044 2014-10-10 Pedro Alves <palves@redhat.com>
16046 * gdb.base/bigcore.exp: Remove references to IRIX.
16047 * gdb.base/funcargs.exp: Likewise.
16048 * gdb.base/interrupt.exp: Likewise.
16049 * gdb.base/mips_pro.exp: Likewise.
16050 * gdb.base/nodebug.exp: Likewise.
16051 * gdb.base/setvar.exp: Likewise.
16052 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16054 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16055 Pedro Alves <palves@redhat.com>
16058 * gdb.base/vdso-warning.c: New file.
16059 * gdb.base/vdso-warning.exp: New file.
16061 2014-10-02 Doug Evans <dje@google.com>
16063 * gdb.base/structs.c (main): Don't run forever.
16065 2014-10-02 Pedro Alves <palves@redhat.com>
16067 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16068 (top level) <stop threads 1, stop threads 2>: Use it.
16070 2014-10-02 Pedro Alves <palves@redhat.com>
16072 * gdb.threads/break-while-running.exp (test): Add new
16073 'update_thread_list' argument. Skip "info threads" if false.
16074 (top level): Add new 'update_thread_list' axis.
16076 2014-10-02 Pedro Alves <palves@redhat.com>
16078 PR breakpoints/17431
16079 * gdb.base/execl-update-breakpoints.c: New file.
16080 * gdb.base/execl-update-breakpoints.exp: New file.
16082 2014-10-01 Pedro Alves <palves@redhat.com>
16084 * gdb.base/breakpoint-in-ro-region.c: New file.
16085 * gdb.base/breakpoint-in-ro-region.exp: New file.
16087 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16089 * gdb.mi/mi-exit-code.exp: New file.
16090 * gdb.mi/mi-exit-code.c: New file.
16092 2014-09-30 Yao Qi <yao@codesourcery.com>
16094 * lib/prelink-support.exp (build_executable_own_libs): Error if
16095 the target isn't native.
16097 2014-09-30 Yao Qi <yao@codesourcery.com>
16099 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16102 2014-09-22 Pedro Alves <palves@redhat.com>
16104 * gdb.threads/break-while-running.exp: New file.
16105 * gdb.threads/break-while-running.c: New file.
16107 2014-09-19 Yao Qi <yao@codesourcery.com>
16109 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16110 Invoke test. Restart GDB with --readnow and invoke test again.
16112 2014-09-19 Yao Qi <yao@codesourcery.com>
16114 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16115 proc set_breakpoint_on_gcd_function. Invoke
16116 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16117 invoke set_breakpoint_on_gcd_function again.
16119 2014-09-18 Doug Evans <dje@google.com>
16121 * gdb.dwarf2/symtab-producer.exp: New file.
16123 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16125 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16126 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16127 * gdb.base/global-var-nested-by-dso.c: Likewise.
16128 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16130 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16131 Pedro Alves <palves@redhat.com>
16133 * gdb.base/watch-bitfields.exp: Pass string other than test file
16134 name to prepare_for_testing.
16135 (watch): New procedure.
16136 (expect_watchpoint): Use with_test_prefix.
16137 (top level): Factor out tests to ...
16138 (test_watch_location, test_regular_watch): ... these new
16139 procedures, and use with_test_prefix and gdb_continue_to_end.
16141 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16143 PR breakpoints/12526
16144 * gdb.base/watch-bitfields.exp: New file.
16145 * gdb.base/watch-bitfields.c: New file.
16147 2014-09-16 Pedro Alves <palves@redhat.com>
16149 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16150 software and hardware addresses, not software address against
16153 2014-09-16 Pedro Alves <palves@redhat.com>
16155 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16156 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16158 2014-09-16 Pedro Alves <palves@redhat.com>
16160 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16162 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16163 "*-*-vxworks*" throughout.
16164 * gdb.base/break.exp: Likewise.
16165 * gdb.base/default.exp: Likewise.
16166 * gdb.base/scope.exp: Likewise.
16167 * gdb.base/sepdebug.exp: Likewise.
16168 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16170 * gdb.base/run.c: Likewise.
16171 * gdb.base/sepdebug.c: Likewise.
16172 * gdb.hp/gdb.aCC/run.c: Likewise.
16173 * gdb.reverse/until-reverse.c: Likewise.
16174 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16176 2014-09-16 Yao Qi <yao@codesourcery.com>
16178 * boards/local-remote-host-native.exp: New file.
16180 2014-09-14 Doug Evans <xdje42@gmail.com>
16182 * gdb.threads/queue-signal.c (thread_count): New variable.
16183 (thread_count_mutex, thread_count_condvar): New variables.
16184 (incr_thread_count, wait_all_threads_running): New functions.
16185 (main): Wait for all threads to be in their thread functions.
16187 2014-09-13 Doug Evans <xdje42@gmail.com>
16189 * gdb.threads/queue-signal.c: New file.
16190 * gdb.threads/queue-signal.exp: New file.
16192 2014-09-13 Doug Evans <xdje42@gmail.com>
16194 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16195 be consistent with what default_gdb_init uses.
16196 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16197 the plain text of the prompt. Add some logging printfs.
16198 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16200 2014-09-12 Pedro Alves <palves@redhat.com>
16202 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16203 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16204 * gdb.arch/i386-size-overlap.exp: Likewise.
16205 * gdb.arch/i386-size.exp: Likewise.
16206 * gdb.arch/i386-unwind.exp: Likewise.
16207 * gdb.base/a2-run.exp: Likewise.
16208 * gdb.base/break.exp: Likewise.
16209 * gdb.base/charset.exp: Likewise.
16210 * gdb.base/chng-syms.exp: Likewise.
16211 * gdb.base/commands.exp: Likewise.
16212 * gdb.base/dbx.exp: Likewise.
16213 * gdb.base/find.exp: Likewise.
16214 * gdb.base/funcargs.exp: Likewise.
16215 * gdb.base/jit-simple.exp: Likewise.
16216 * gdb.base/reread.exp: Likewise.
16217 * gdb.base/sepdebug.exp: Likewise.
16218 * gdb.base/step-bt.exp: Likewise.
16219 * gdb.cp/mb-inline.exp: Likewise.
16220 * gdb.cp/mb-templates.exp: Likewise.
16221 * gdb.objc/basicclass.exp: Likewise.
16222 * gdb.threads/killed.exp: Likewise.
16224 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16227 * gdb.arch/powerpc-stackless.S: New file.
16228 * gdb.arch/powerpc-stackless.exp: New file.
16230 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16232 * gdb.base/attach.c: Include unistd.h.
16233 (main): Call alarm. Add label postloop.
16234 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16235 gdb_breakpoint, gdb_continue_to_breakpoint.
16236 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16238 2014-09-11 Pedro Alves <palves@redhat.com>
16241 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16242 * gdb.base/attach.exp (test_command_line_attach_run): New
16244 (top level): Call it.
16246 2014-09-11 Pedro Alves <palves@redhat.com>
16248 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16249 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16250 (do_command_attach_tests): Use spawn_wait_for_attach.
16251 * gdb.base/solib-overlap.exp: Likewise.
16252 * gdb.multi/multi-attach.exp: Likewise.
16253 * gdb.python/py-prompt.exp: Likewise.
16254 * gdb.python/py-sync-interp.exp: Likewise.
16255 * gdb.server/ext-attach.exp: Likewise.
16257 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16259 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16260 command in testcase. Simplify testcase.
16262 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16264 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16266 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16268 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16270 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16272 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16274 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16276 * gdb.dwarf2/dynarr-ptr.c: New file.
16277 * gdb.dwarf2/dynarr-ptr.exp: New file.
16279 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16281 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16282 of 30 rather than hardcoding 120 for a slow test case. Take the
16283 `gdb,timeout' target setting into account for this calculation.
16284 Don't extend the timeout for the test cases that don't need it.
16286 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16288 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16289 a factor of 2 for a slow test case. Take the `gdb,timeout'
16290 target setting into account for this calculation.
16291 * gdb.reverse/until-precsave.exp: Increase the timeout by
16292 a factor of 15 and 3 respectively rather than adding 120
16293 for a pair of slow test cases. Take the `gdb,timeout'
16294 target setting into account for this calculation.
16296 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16298 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16299 timeout, don't pass one down to gdb_expect.
16300 (gdb_expect): Rework timeout selection.
16302 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16304 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16305 exception on timeout.
16306 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16307 (gdbserver_start_extended): Catch any `gdbserver_start' error
16309 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16310 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16311 `gdbserver_gdb_load' error exceptions.
16313 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16315 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16316 120 on waiting for the TCP socket to open.
16318 2014-09-09 Doug Evans <xdje42@gmail.com>
16320 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16321 _caller_matches, _any_caller_is, _any_caller_matches.
16323 2014-09-09 Doug Evans <xdje42@gmail.com>
16325 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16327 2014-09-09 Yao Qi <yao@codesourcery.com>
16329 * gdb.mi/mi-var-display.exp: Set print symbol off.
16331 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16334 * gdb.base/commands.exp: Add tests to verify user-defined
16335 commands with empty bodies.
16336 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16337 python commands in `show user command`.
16338 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16339 scheme commands in `show user command`.
16341 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16344 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16345 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16346 * gdb.python/py-framefilter-invalidarg.exp: New file.
16347 * gdb.python/py-framefilter-invalidarg.py: New file.
16349 2014-09-06 Doug Evans <xdje42@gmail.com>
16352 * gdb.python/py-caller-is.c: New file.
16353 * gdb.python/py-caller-is.exp: New file.
16355 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16358 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16359 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16361 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16364 * gdb.fortran/print-formatted.exp: New file.
16365 * gdb.fortran/print-formatted.f90: Likewise.
16367 2014-09-03 Sasha Smundak <asmundak@google.com>
16369 * gdb.python/py-frame.exp: Test Frame.read_register.
16371 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16374 * gdb.python/py-completion.exp: New file.
16375 * gdb.python/py-completion.py: Likewise.
16377 2014-08-28 Doug Evans <dje@google.com>
16379 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16380 eax,etc. are live with values set by gdb and thus the compiler can't
16382 * gdb.arch/i386-pseudo.c (main): Ditto.
16384 2014-08-27 Doug Evans <dje@google.com>
16386 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16388 2014-08-25 Doug Evans <dje@google.com>
16390 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16393 2014-08-25 Doug Evans <dje@google.com>
16395 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16397 2014-08-24 Yao Qi <yao@codesourcery.com>
16399 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16401 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16403 2014-08-22 Doug Evans <dje@google.com>
16406 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16407 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16408 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16410 2014-08-22 Yao Qi <yao@codesourcery.com>
16412 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16413 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16414 * gdb.python/python.exp: Likewise. Use .py file on the host
16415 instead of the build.
16417 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16419 * gdb.threads/gcore-stale-thread.c: New file.
16420 * gdb.threads/gcore-stale-thread.exp: New file.
16422 2014-08-21 Pedro Alves <palves@redhat.com>
16424 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16425 * gdb.base/gcore-relro-pie.exp: Likewise.
16426 * gdb.base/gcore-relro.exp: Likewise.
16427 * gdb.base/gcore.exp: Likewise.
16428 * gdb.base/print-symbol-loading.exp: Likewise.
16429 * gdb.threads/gcore-thread.exp: Likewise.
16430 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16432 2014-08-20 Pedro Alves <palves@redhat.com>
16433 Jan Kratochvil <jan.kratochvil@redhat.com>
16435 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16437 (EXPECT): Handle READ1 being set.
16438 (all): Depend on EXTRA_RULES.
16439 (check-read1, expect-read1, read1.so, read1): New rules.
16440 * README (Testsuite Parameters): Document the READ1 make variable.
16441 (Race detection): New section.
16442 * configure: Regenerate.
16443 * configure.ac: If build==host==target, and running under a
16444 GNU/glibc system, add read1 to the extra Makefile rules.
16445 (EXTRA_RULES): AC_SUBST it.
16446 * lib/read1.c: New file.
16448 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16450 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16451 the handling of variables declared as a typedef to an array
16452 which a DW_AT_data_location attribute.
16454 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16455 Pedro Alves <palves@redhat.com>
16459 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16462 2014-08-19 Pedro Alves <palves@redhat.com>
16464 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16466 2014-08-19 Yao Qi <yao@codesourcery.com>
16468 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16471 2014-08-18 David Blaikie <dblaikie@gmail.com>
16473 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16475 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16477 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16478 attribute in array range.
16480 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16482 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16484 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16487 * gdb.cp/pr17132.cc: New file.
16488 * gdb.cp/pr17132.exp: New file.
16490 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16492 * gdb.python/py-xmethods.py (A_getarrayind)
16493 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16494 Use 'print' with function call syntax.
16495 (E_method_matcher.match): Fix tab vs space indentation mixup.
16497 2014-08-15 Yao Qi <yao@codesourcery.com>
16499 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16502 2014-08-15 Yao Qi <yao@codesourcery.com>
16504 * gdb.cp/casts.exp: Set print symbol off.
16505 * gdb.cp/class2.exp: Likewise.
16506 * gdb.cp/overload.exp: Likewise.
16507 * gdb.cp/templates.exp: Likewise.
16509 2014-08-11 Doug Evans <dje@google.com>
16511 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16512 (test_load_shlib): Update.
16514 2014-08-09 Yao Qi <yao@codesourcery.com>
16516 * gdb.base/display.exp: Invoke is_address_zero_readable.
16517 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16518 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16519 * gdb.base/hbreak-unmapped.exp: Return if
16520 is_address_zero_readable returns true.
16521 * gdb.base/signest.exp: Likewise.
16522 * gdb.base/signull.exp: Likewise.
16523 * gdb.base/sigbpt.exp: Likewise.
16524 * gdb.guile/scm-disasm.exp: Do the test if
16525 is_address_zero_readable returns false.
16526 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16527 * gdb.python/py-arch.exp: Likewise.
16528 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16529 * lib/gdb.exp (is_address_zero_readable): New proc.
16531 2014-08-09 Yao Qi <yao@codesourcery.com>
16534 * gdb.mi/mi-var-display.exp: Make test messages unique.
16536 2014-08-04 Tom Tromey <tromey@redhat.com>
16538 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16541 2014-08-04 Tom Tromey <tromey@redhat.com>
16543 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16546 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16548 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16549 inner_vla_struct_object_size.
16550 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16553 2014-07-30 Pedro Alves <palves@redhat.com>
16555 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16558 2014-07-29 Yao Qi <yao@codesourcery.com>
16561 * gdb.base/until-nodebug.exp: New.
16563 2014-07-28 Doug Evans <xdje42@gmail.com>
16566 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16567 previously existing parameter, and previously ambiguously spelled
16570 2014-07-28 Will Newton <will.newton@linaro.org>
16572 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16574 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16575 Doug Evans <xdje42@gmail.com>
16578 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16580 2014-07-25 Pedro Alves <palves@redhat.com>
16582 * gdb.threads/signal-command-handle-nopass.c: New file.
16583 * gdb.threads/signal-command-handle-nopass.exp: New file.
16584 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16585 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16586 * gdb.threads/signal-delivered-right-thread.c: New file.
16587 * gdb.threads/signal-delivered-right-thread.exp: New file.
16589 2014-07-25 Pedro Alves <palves@redhat.com>
16591 * gdb.base/double-prompt-target-event-error.exp
16592 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16594 (cancel_pagination_in_target_event): Rework double prompt
16596 * gdb.base/paginate-after-ctrl-c-running.exp
16597 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16599 * gdb.base/paginate-bg-execution.exp
16600 (test_bg_execution_pagination_return)
16601 (test_bg_execution_pagination_cancel): Remove '-notransfer
16603 * gdb.base/paginate-execution-startup.exp
16604 (test_fg_execution_pagination_return)
16605 (test_fg_execution_pagination_cancel): Remove '-notransfer
16607 * gdb.base/paginate-inferior-exit.exp
16608 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16610 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16611 * lib/gdb.exp (pagination_prompt): Run text through
16613 (gdb_test_multiple): Match $pagination_prompt instead of
16615 (string_to_regexp): Move to lib/gdb-utils.exp.
16617 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16619 * gdb.arch/amd64-entry-value-paramref.S: New file.
16620 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16621 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16622 * gdb.arch/amd64-optimout-repeat.S: New file.
16623 * gdb.arch/amd64-optimout-repeat.c: New file.
16624 * gdb.arch/amd64-optimout-repeat.exp: New file.
16626 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16629 * gdb.base/statistics.exp: New file.
16631 2014-07-17 Doug Evans <dje@google.com>
16634 * gdb.base/maint.exp: Update testing of per-command stats.
16636 2014-07-16 Pedro Alves <palves@redhat.com>
16638 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16639 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16640 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16641 (tfile_write_buf): New functions.
16642 (add_memory_block): Rewrite using the above.
16643 (adjust_function_address): New function.
16644 (FUNCTION_ADDRESS): New macro.
16645 (write_basic_trace_file): Remove short_x local, and use
16646 tfile_write_16. Change type of func_addr local to unsigned long
16647 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16648 here. Cast argument of add_memory_block to char pointer.
16649 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16650 (main): Remove parameters.
16651 * gdb.trace/tfile.exp: Remove nowarnings.
16653 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16655 * gdb.base/debug-expr.exp: Test string evaluation with
16656 "debug expression" on.
16658 2014-07-15 Pedro Alves <palves@redhat.com>
16660 * gdb.base/reread.exp: Use clean_restart.
16662 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16664 * gdb.arch/avr-flash-qualifer.c: New.
16665 * gdb.arch/avr-flash-qualifer.exp: New.
16667 2014-07-14 Pedro Alves <palves@redhat.com>
16669 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16670 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16672 2014-07-14 Pedro Alves <palves@redhat.com>
16674 * gdb.base/double-prompt-target-event-error.c: New file.
16675 * gdb.base/double-prompt-target-event-error.exp: New file.
16677 2014-07-14 Pedro Alves <palves@redhat.com>
16680 * gdb.base/paginate-inferior-exit.c: New file.
16681 * gdb.base/paginate-inferior-exit.exp: New file.
16683 2014-07-14 Pedro Alves <palves@redhat.com>
16686 * gdb.base/paginate-bg-execution.c: New file.
16687 * gdb.base/paginate-bg-execution.exp: New file.
16689 2014-07-14 Pedro Alves <palves@redhat.com>
16692 * gdb.base/paginate-execution-startup.c: New file.
16693 * gdb.base/paginate-execution-startup.exp: New file.
16694 * lib/gdb.exp (pagination_prompt): New global.
16695 (default_gdb_spawn): New procedure, factored out from
16697 (default_gdb_start): Adjust to call default_gdb_spawn.
16698 (gdb_spawn): New procedure.
16700 2014-07-14 Pedro Alves <palves@redhat.com>
16702 * lib/gdb.exp (gdb_assert): New procedure.
16703 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16705 2014-07-14 Pedro Alves <palves@redhat.com>
16707 * gdb.base/execution-termios.c: New file.
16708 * gdb.base/execution-termios.exp: New file.
16710 2014-07-14 Tom Tromey <tromey@redhat.com>
16712 * gdb.cp/vla-cxx.cc: New file.
16713 * gdb.cp/vla-cxx.exp: New file.
16715 2014-07-14 Tom Tromey <tromey@redhat.com>
16717 * gdb.reverse/rerun-prec.c: New file.
16718 * gdb.reverse/rerun-prec.exp: New file.
16720 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16721 Maciej W. Rozycki <macro@codesourcery.com>
16723 * lib/gdb-utils.exp: New file.
16724 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16725 inline `gdb_init_command' processing.
16726 (gdb_start_cmd): Likewise.
16727 * lib/mi-support.exp (mi_run_cmd): Likewise.
16728 * README: Document `gdb_init_command' and `gdb_init_commands'.
16730 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16732 Fix false FAIL running under a very long directory name.
16733 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16734 and "set print elements 10000". Twice.
16736 2014-07-11 Yao Qi <yao@codesourcery.com>
16738 * gdb.base/exprs.exp: "set print symbol off".
16740 2014-07-11 Pedro Alves <palves@redhat.com>
16742 * gdb.threads/kill.c: New file.
16743 * gdb.threads/kill.exp: New file.
16745 2014-07-10 Yao Qi <yao@codesourcery.com>
16747 * gdb.trace/tfile.c (write_basic_trace_file)
16748 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16749 address written to trace file.
16751 2014-07-09 Pedro Alves <palves@redhat.com>
16753 * gdb.base/attach-wait-input.exp: New file.
16754 * gdb.base/attach-wait-input.c: New file.
16756 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16758 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16759 setting up test structures.
16760 (main): Call new test function.
16761 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16762 test function, continue into test function and walk test
16765 2014-07-02 Yao Qi <yao@codesourcery.com>
16767 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16768 'bar_start' at the beginning of functions 'foo' and 'bar'
16770 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16771 instead of 'foo' and 'bar'.
16773 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16775 * gdb.btrace/segv.exp: New.
16776 * gdb.btrace/segv.c: New.
16778 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16780 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16783 2014-06-30 Mark Wielaard <mjw@redhat.com>
16785 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16786 vulture, vilify, villar): New volatile array constants.
16787 (vindictive, vegetation): New const volatile array constants.
16788 * gdb.base/volatile.exp: Test volatile and const volatile array
16791 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16793 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16794 target lacks support for awatch, rwatch, or hbreak.
16796 2014-06-27 Yao Qi <yao@codesourcery.com>
16798 * gdb.multi/dummy-frame-restore.exp: New.
16799 * gdb.multi/dummy-frame-restore.c: New.
16801 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16803 * gdb.btrace/gcore.exp: New.
16805 2014-06-23 Pedro Alves <palves@redhat.com>
16807 * gdb.base/watchpoint-reuse-slot.c: New file.
16808 * gdb.base/watchpoint-reuse-slot.exp: New file.
16810 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16812 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16813 progspace's filename in 'info', 'enable' and 'disable' command
16816 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16818 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16819 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16820 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16822 2014-06-20 Gary Benson <gbenson@redhat.com>
16824 * gdb.arch/i386-avx.exp: Fix include file location.
16825 * gdb.arch/i386-sse.exp: Likewise.
16827 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16829 * gdb.dlang/expression.exp: New file.
16831 2014-06-19 Pedro Alves <palves@redhat.com>
16833 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16835 (top level): ... here. Iterate running tests under different
16836 scheduler-locking settings.
16838 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16840 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16841 to DW_FORM_addr and use non-zero addresses.
16843 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16846 * gdb.python/py-xmethods.cc: Add global function call counters and
16847 increment them in their respective functions. Remove "cout"
16849 * gdb.python/py-xmethods.exp: Make tests check the global function
16850 call counters instead of depending on inferior IO.
16852 2014-06-18 Don Breazeal <donb@codesourcery.com>
16854 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16856 (explicit_fork_parent_follow): Deleted procedure.
16857 (explicit_fork_child_follow): Deleted procedure.
16858 (test_follow_fork): New procedure.
16859 (do_fork_tests): Replace calls to deleted procedures with
16860 calls to test_follow_fork and reset GDB for subsequent
16863 2014-06-17 Yao Qi <yao@codesourcery.com>
16865 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16868 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16870 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16871 Initialize ptr and S explicitly.
16872 (skip_type_update_when_not_use_rtti_test): Likewise.
16874 2014-06-16 Keith Seitz <keiths@redhat.com>
16877 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16878 the inferior is started.
16880 2014-06-16 Pedro Alves <palves@redhat.com>
16882 * gdb.base/break-main-file-remove-fail.c: New file.
16883 * gdb.base/break-main-file-remove-fail.exp: New file.
16884 * gdb.base/break-unload-file.exp: Use build_executable instead of
16885 prepare_for_testing.
16886 (test_break): New parameter "initial_load". Handle it.
16887 (top level): Add initial_load cmdline/file axis.
16889 2014-06-12 Tom Tromey <tromey@redhat.com>
16891 * gdb.base/completion.exp: Don't use directory name in test.
16893 2014-06-09 Gary Benson <gbenson@redhat.com>
16895 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16896 separate the always-available ANSI-standard signals from the
16897 signals that require checking.
16899 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16903 2014-06-07 Keith Seitz <keiths@redhat.com>
16907 * gdb.cp/var-tag.cc: New file.
16908 * gdb.cp/var-tag.exp: New file.
16909 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16910 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16911 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16912 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16914 2014-06-06 Doug Evans <xdje42@gmail.com>
16916 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16918 2014-06-06 Pedro Alves <palves@redhat.com>
16920 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16921 in target debug output instead of looking at RSP packets,
16922 disabling the test on any target that uses hardware stepping.
16925 2014-06-06 Pedro Alves <palves@redhat.com>
16927 * gdb.base/break-unload-file.exp: Fix typo.
16929 2014-06-06 Yao Qi <yao@codesourcery.com>
16931 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16932 from "jit_function" to "^jit_function".
16934 2014-06-06 Yao Qi <yao@codesourcery.com>
16936 * gdb.base/async.c (foo): Add one statement.
16937 * gdb.base/async.exp: Get the next instruction address and
16938 match the output of "nexti" by instruction address. Match
16939 the hex address in the output of "finish".
16941 2014-06-06 Gary Benson <gbenson@redhat.com>
16943 * gdb.base/call-signals.c: Remove preprocessor conditionals
16944 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16945 SIGSEGV and SIGTERM.
16946 * gdb.base/sigall.c: Likewise.
16947 * gdb.base/unwindonsignal.c: Likewise.
16948 * gdb.reverse/sigall-reverse.c: Likewise.
16950 2014-06-06 Yao Qi <yao@codesourcery.com>
16952 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16953 readable, skip the test.
16955 2014-06-06 Yao Qi <yao@codesourcery.com>
16957 * gdb.threads/staticthreads.c (thread_function): Move the line
16958 setting breakpoint on forward.
16959 * gdb.threads/staticthreads.exp: Update comments.
16961 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16963 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16964 "history-append! type error".
16966 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16968 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16969 erroneous dprintf expected input.
16971 2014-06-04 Doug Evans <xdje42@gmail.com>
16973 * gdb.guile/scm-generics.exp: Delete.
16975 2014-06-04 Doug Evans <xdje42@gmail.com>
16977 * gdb.guile/scm-breakpoint.exp: Update.
16978 Add tests for breakpoint registration.
16980 2014-06-04 Tom Tromey <tromey@redhat.com>
16982 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16984 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16985 inner_vla_struct, vla_union types. Initialize objects of those
16986 types and compute their sizes.
16988 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16989 Hui Zhu <hui@codesourcery.com>
16991 * gdb.base/fileio.exp: Add test for shell not available as well as
16993 * gdb.base/fileio.c (test_system): Check for shell twice.
16995 2014-06-04 Yao Qi <yao@codesourcery.com>
16997 * gdb.base/auto-connect-native-target.exp: Remove redundant
16998 space from the regexp pattern.
17000 2014-06-04 Yao Qi <yao@codesourcery.com>
17002 * gdb.base/default.exp: Replace "child" with "native" in
17005 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17007 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17008 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17009 * gdb.python/py-xmethods.py: Python script supporting the
17010 new testcase and tests.
17012 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17013 Pedro Alves <palves@redhat.com>
17015 PR breakpoints/17000
17016 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17017 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17019 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17021 * gdb.base/subst.exp: Add tests to verify partial path matching
17024 2014-06-03 Pedro Alves <palves@redhat.com>
17026 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17027 target that doesn't use software single-stepping.
17029 2014-06-03 Pedro Alves <palves@redhat.com>
17031 PR breakpoints/17000
17032 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17033 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17035 2014-06-02 Doug Evans <xdje42@gmail.com>
17037 * gdb.guile/scm-parameter.exp: New file.
17039 2014-06-02 Doug Evans <xdje42@gmail.com>
17041 * gdb.guile/scm-cmd.c: New file.
17042 * gdb.guile/scm-cmd.exp: New file.
17044 2014-06-02 Doug Evans <xdje42@gmail.com>
17046 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17047 pretty-printer lookup.
17048 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17049 (make-pp_s-printer): Call it.
17050 (make-pretty-printer-from-dict): New function.
17051 (lookup-pretty-printer-maker-from-dict): New function.
17052 (*pretty-printer*): Simplify.
17053 (make-objfile-pp_s-printer): New function.
17054 (install-objfile-pretty-printers!): New function.
17055 (make-progspace-pp_s-printer): New function.
17056 (install-progspace-pretty-printers!): New function.
17057 * gdb.guile/scm-progspace.c: New file.
17058 * gdb.guile/scm-progspace.exp: New file.
17060 2014-06-02 Pedro Alves <palves@redhat.com>
17062 * gdb.base/dprintf-bp-same-addr.c: New file.
17063 * gdb.base/dprintf-bp-same-addr.exp: New file.
17065 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17067 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17068 * gdb.arch/powerpc-power.s: Likewise.
17070 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17072 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17074 2014-06-01 Yao Qi <yao@codesourcery.com>
17076 * gdb.base/watchpoint.exp (test_watch_location): Check null
17077 pointer can be dereferenced. If not, do the test, otherwise
17080 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17082 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17084 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17086 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17088 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17089 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17090 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17091 * gdb.arch/amd64-invalid-stack-top.c: New file.
17092 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17094 2014-05-30 Pedro Alves <palves@redhat.com>
17096 PR breakpoints/17000
17097 * gdb.base/sss-bp-on-user-bp.c: New file.
17098 * gdb.base/sss-bp-on-user-bp.exp: New file.
17100 2014-05-30 David Blaikie <dblaikie@gmail.com>
17102 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17103 gnu_inline semantics via attribute.
17104 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17105 source explicitly specifies the required semantics.
17107 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17109 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17111 2014-05-29 Pedro Alves <palves@redhat.com>
17112 Tom Tromey <tromey@redhat.com>
17114 * gdb.base/async-shell.exp: Don't enable target-async.
17115 * gdb.base/async.exp
17116 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17118 (top level): Don't test with "target-async".
17119 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17120 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17121 * gdb.base/inferior-died.exp: Don't enable target-async.
17122 * gdb.base/interrupt-noterm.exp: Likewise.
17123 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17124 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17125 * gdb.mi/mi-nonstop.exp: Likewise.
17126 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17127 * gdb.mi/mi-nsintrall.exp: Likewise.
17128 * gdb.mi/mi-nsmoribund.exp: Likewise.
17129 * gdb.mi/mi-nsthrexec.exp: Likewise.
17130 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17131 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17132 * gdb.python/py-evsignal.exp: Don't enable target-async.
17133 * gdb.python/py-evthreads.exp: Likewise.
17134 * gdb.python/py-prompt.exp: Likewise.
17135 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17136 * gdb.server/solib-list.exp: Don't enable target-async.
17137 * gdb.threads/thread-specific-bp.exp: Likewise.
17138 * lib/mi-support.exp: Adjust to use mi-async.
17140 2014-05-29 Pedro Alves <palves@redhat.com>
17143 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17144 reason, even in sync mode.
17146 2014-05-29 Pedro Alves <palves@redhat.com>
17147 Hui Zhu <hui@codesourcery.com>
17150 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17151 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17152 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17153 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17155 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17157 * config/monitor.exp (gdb_target_monitor): Replace use of
17158 "set remotebaud" by "set serial baud".
17160 2014-05-26 Andy Wingo <wingo@igalia.com>
17162 * gdb.guile/scm-breakpoint.exp:
17163 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17164 properties instead of gdb-object-properties.
17166 2014-05-26 Yao Qi <yao@codesourcery.com>
17168 * gdb.server/no-thread-db.exp: Specify source file name
17169 explicitly when setting a breakpoint.
17171 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17173 * gdb.btrace/vdso.c: New.
17174 * gdb.btrace/vdso.exp: New.
17176 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17178 * gdb.base/gcore.exp (capture_command_output): Move ...
17179 * lib/gdb.exp (capture_command_output): ... here.
17181 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17183 * gdb.btrace/data.exp: Test memory access during btrace replay.
17185 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17187 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17189 2014-05-21 Pedro Alves <palves@redhat.com>
17192 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17193 (top level): Test that output related to execution commands is
17194 sent to the console with CLI commands, but not with MI commands.
17195 Test that breakpoint events are always mirrored to the console.
17196 Also expect the new source line to be output after a "next" in
17197 async mode too. Make it a pass/fail test.
17198 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17200 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17202 2014-05-21 Pedro Alves <palves@redhat.com>
17204 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17205 Use them to test variations of "list" after reaching a breakpoint.
17206 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17207 Test "list" with listsize 10 after reaching a breakpoint.
17208 * gdb.python/python.exp (decode_line current location line
17209 number): Adjust expected line number.
17211 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17213 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17214 behavior for $args, pass it directly to "run".
17216 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17218 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17221 2014-05-21 Pedro Alves <palves@redhat.com>
17223 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17224 auto-connect-native-target off".
17225 * gdb.base/auto-connect-native-target.c: New file.
17226 * gdb.base/auto-connect-native-target.exp: New file.
17228 2014-05-21 Pedro Alves <palves@redhat.com>
17230 * gdb.base/default.exp: Test "target native" instead of "target
17233 2014-05-21 Mark Wielaard <mjw@redhat.com>
17235 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17237 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17239 Fix TLS access for -static -pthread.
17240 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17241 <HAVE_TLS> (thread_function, main): Initialize it.
17242 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17244 <$have_tls != "">: Check TLSVAR.
17246 2014-05-21 Pedro Alves <palves@redhat.com>
17248 * gdb.base/dcache-line-read-error.c: New.
17249 * gdb.base/dcache-line-read-error.exp: New.
17251 2014-05-20 Pedro Alves <palves@redhat.com>
17253 * gdb.base/compare-sections.c: New file.
17254 * gdb.base/compare-sections.exp: New file.
17256 2014-05-20 Pedro Alves <palves@redhat.com>
17258 * gdb.base/break-idempotent.c: New file.
17259 * gdb.base/break-idempotent.exp: New file.
17261 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17263 * gdb.btrace/nohist.exp: New.
17265 2014-05-20 Yao Qi <yao@codesourcery.com>
17267 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17268 gdb.reverse directory and gdb_reverse_timeout exists in board
17270 * README: Document gdb_reverse_timeout.
17272 2014-05-20 Yao Qi <yao@codesourcery.com>
17274 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17275 'test_file_name'. Treat args as a string instead of a list.
17276 (gdb_init): Rename argument 'args' by 'test_file_name'.
17278 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17280 * gdb.arch/powerpc-power.exp: New file.
17281 * gdb.arch/powerpc-power.s: New file.
17283 2014-05-16 Doug Evans <dje@google.com>
17285 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17286 * gdb.base/completion.exp: Check that all expected files exist
17287 before doing file completion.
17289 2014-05-16 Doug Evans <dje@google.com>
17291 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17293 (do_syscall_tests_without_xml): Update.
17295 2014-05-16 Pedro Alves <palves@redhat.com>
17297 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17298 instead of "unknown output after running".
17300 2014-05-16 Yao Qi <yao@codesourcery.com>
17302 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17303 file1.txt from host at the end.
17304 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17306 2014-05-15 Doug Evans <dje@google.com>
17308 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17309 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17310 loading file. Add test for TU lookup.
17312 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17314 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17315 calling "-exec-arguments" or "set args" before running the
17318 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17320 * lib/mi-support.exp (mi_expect_stop): Expect message for
17321 inferiors that exit with non-zero exit code.
17323 2014-05-14 Yao Qi <yao@codesourcery.com>
17325 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17326 match absolute path on remote host.
17327 (test_file_list_exec_source_files): Remove "/" from the
17330 2014-05-14 Yao Qi <yao@codesourcery.com>
17332 * boards/local-remote-host-notty.exp (${board}_file): New
17335 2014-05-07 Kyle McMartin <kyle@redhat.com>
17337 Pushed by Joel Brobecker <brobecker@adacore.com>.
17338 * gdb.arch/aarch64-atomic-inst.c: New file.
17339 * gdb.arch/aarch64-atomic-inst.exp: New file.
17341 2014-05-07 Yao Qi <yao@codesourcery.com>
17343 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17344 in current context" too.
17346 2014-05-05 Keith Seitz <keiths@redhat.com>
17348 * gdb.linespec/ls-dollar.exp: Add test for linespec
17349 file:convenience_variable.
17351 2014-05-05 Yao Qi <yao@codesourcery.com>
17353 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17354 traceframes into tfile and ctf trace files. Read data from
17355 trace file and test collected data.
17356 (gdb_collect_locals_test): Likewise.
17357 (gdb_unavailable_registers_test): Likewise.
17358 (gdb_unavailable_floats): Likewise.
17359 (gdb_collect_globals_test): Likewise.
17360 (top-level): Append "ctf" to trace_file_targets if GDB
17363 2014-05-05 Yao Qi <yao@codesourcery.com>
17365 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17367 (gdb_collect_args_test_1): ... it. New proc.
17368 (gdb_collect_locals_test): Move some code to ...
17369 (gdb_collect_locals_test_1): ... it. New proc.
17370 (gdb_unavailable_registers_test): Move some code to ...
17371 (gdb_unavailable_registers_test_1): ... it. New proc.
17372 (gdb_unavailable_floats): Move some code to ...
17373 (gdb_unavailable_floats_1): ... it. New proc.
17375 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17377 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17378 probes to test for bitness recognition.
17379 * gdb.arch/amd64-stap-optional-prefix.exp
17380 (test_probe_value_without_reg): New procedure.
17381 Add code to test for different kinds of bitness.
17383 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17385 PR breakpoints/16889
17386 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17387 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17389 2014-05-01 Pedro Alves <palves@redhat.com>
17391 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17392 gdb_file_cmd if no file is specified.
17393 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17394 last_loaded_file to set the remote exec-file.
17396 2014-05-01 Pedro Alves <palves@redhat.com>
17398 * boards/local-remote-host.exp: New file.
17400 2014-05-01 Pedro Alves <palves@redhat.com>
17402 * boards/local-remote-host.exp: Rename to ...
17403 * boards/local-remote-host-notty.exp: ... this.
17405 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17407 * gdb.ada/dyn_arrayidx: New testcase.
17409 2014-04-26 Yao Qi <yao@codesourcery.com>
17411 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17412 and compute the length of function main. Save it in
17414 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17415 (top-level): Use gdb_compile to compile objects into
17416 executable and restart GDB. Remove invocation to
17417 prepare_for_testing.
17419 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17420 Pedro Alves <palves@redhat.com>
17423 * gdb.multi/multi-attach.c: New file.
17424 * gdb.multi/multi-attach.exp: New file.
17426 2014-04-25 Pedro Alves <palves@redhat.com>
17428 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17430 (top level): Test that "set remote conditional-breakpoints-packet
17431 off" works as intended.
17432 * gdb.base/dprintf.exp: Test that "set remote
17433 breakpoint-commands-packet off" works as intended.
17434 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17436 (top level): Call it.
17437 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17438 remote fast-tracepoints-packet off" works as intended.
17439 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17440 * lib/gdb.exp (gdb_is_target_remote): ... here.
17442 2014-04-24 David Blaikie <dblaikie@gmail.com>
17444 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17445 ensure clang would not discard them.
17446 * gdb.base/gdbvars.c: Ditto.
17447 * gdb.base/memattr.c: Ditto.
17448 * gdb.base/whatis.c: Ditto.
17449 * gdb.python/py-prettyprint.c: Ditto.
17450 * gdb.trace/actions.c: Ditto.
17451 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17452 ensure clang would not discard it.
17454 2014-04-24 David Blaikie <dblaikie@gmail.com>
17456 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17457 clang to emit the full definition of type required by the test
17458 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17460 2014-04-24 David Blaikie <dblaikie@gmail.com>
17462 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17463 coax Clang into emitting the definition of the type.
17464 * gdb.cp/pr10728-x.h (y): Ditto.
17465 * gdb.cp/pr10728-y.cc (y): Ditto.
17467 2014-04-24 David Blaikie <dblaikie@gmail.com>
17469 * gdb.base/label.exp: XFAIL label related tests under Clang.
17470 * gdb.cp/cplabel.exp: Ditto.
17471 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17472 under Clang those using labels.
17474 2014-04-25 Yao Qi <yao@codesourcery.com>
17476 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17478 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17479 partial_label and double_label.
17481 2014-04-24 David Blaikie <dblaikie@gmail.com>
17483 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17485 2014-04-24 David Blaikie <dblaikie@gmail.com>
17487 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17488 of the function to work across GCC and Clang.
17489 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17490 pointer types (const void ** const V void **).
17492 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17493 Walfred Tedeschi <walfred.tedeschi@intel.com>
17495 * Makefile.in (EXECUTABLES): Added i386-avx512.
17496 * gdb.arch/i386-avx512.c: New file.
17497 * gdb.arch/i386-avx512.exp: Likewise.
17499 2014-04-23 Keith Seitz <keiths@redhat.com>
17501 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17502 (mi_make_breakpoint_table): New procedure.
17503 (mi_create_breakpoint): Use mi_make_breakpoint
17504 and return the result.
17505 (mi_make_breakpoint): New procedure.
17506 (mi_build_kv_pairs): New procedure.
17508 * gdb.mi/mi-break.exp: Remove unused globals,
17509 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17510 All callers updated.
17511 * gdb.mi/mi-dprintf.exp: Use variable to track command
17513 Update all callers of mi_create_breakpoint and use
17514 mi_make_breakpoint_table.
17515 Remove any unused global variables.
17516 * gdb.mi/mi-nonstop.exp: Likewise.
17517 * gdb.mi/mi-nsintrall.exp: Likewise.
17518 * gdb.mi/mi-nsmoribund.exp: Likewise.
17519 * gdb.mi/mi-nsthrexec.exp: Likewise.
17520 * gdb.mi/mi-reverse.exp: Likewise.
17521 * gdb.mi/mi-simplerun.exp: Likewise.
17522 * gdb.mi/mi-stepn.exp: Likewise.
17523 * gdb.mi/mi-syn-frame.exp: Likewise.
17524 * gdb.mi/mi-until.exp: Likewise.
17525 * gdb.mi/mi-var-cp.exp: Likewise.
17526 * gdb.mi/mi-var-display.exp: Likewise.
17527 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17528 * gdb.mi/mi2-var-child.exp: Likewise.
17529 * gdb.mi/mi-vla-c99.exp: Likewise.
17530 * lib/mi-support.exp: Likewise.
17532 From Ian Lance Taylor <iant@cygnus.com>:
17533 * lib/gdb.exp (parse_args): New procedure.
17535 2014-04-23 Pedro Alves <palves@redhat.com>
17537 * gdb.base/break-unload-file.c: New file.
17538 * gdb.base/break-unload-file.exp: New file.
17539 * gdb.base/sym-file-lib.c (baz): New function.
17540 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17542 (load): Store the segment's mapped size.
17543 (unload): New function.
17544 (unload_shlib): New function.
17545 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17546 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17547 set a breakpoint at baz, and call it.
17548 * gdb.base/sym-file.exp: New tests for stale breakpoint
17551 2014-04-23 Pedro Alves <palves@redhat.com>
17553 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17554 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17555 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17556 * gdb.base/hbreak-unmapped.c: New file.
17557 * gdb.base/hbreak-unmapped.exp: New file.
17558 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17559 * lib/gdb.exp (gdb_is_target_remote): ... here.
17561 2014-04-22 Pedro Alves <palves@redhat.com>
17563 * gdb.base/consecutive-step-over.c: New file.
17564 * gdb.base/consecutive-step-over.exp: New file.
17566 2014-04-22 Pedro Alves <palves@redhat.com>
17568 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17569 instead of send_gdb/gdb_expect.
17571 2014-04-22 Yao Qi <yao@codesourcery.com>
17573 * lib/trace-support.exp (generate_tracefile): New procedure.
17574 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17576 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17577 if generate_tracefile returns 1.
17579 2014-04-18 Tom Tromey <palves@redhat.com>
17580 Pedro alves <tromey@redhat.com>
17583 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17584 with a backtrace limit.
17585 * gdb.python/py-frame-inline.exp: Test running to an inline
17586 function with a backtrace limit, and printing the newest frame.
17587 * gdb.python/py-frame-inline.c (main): Call f.
17589 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17591 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17593 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17595 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17596 Drop prefix from unsupported source file path.
17598 2014-04-17 Yao Qi <yao@codesourcery.com>
17600 * lib/gdb.exp (with_target_charset): New proc.
17601 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17602 with_target_charset.
17603 (test_print_strings): Likewise.
17604 (test_repeat_bytes): Likewise.
17605 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17608 2014-04-16 Keith Seitz <keiths@redhat.com>
17611 * gdb.dwarf2/corrupt.c: New file.
17612 * gdb.dwarf2/corrupt.exp: New file.
17614 2014-04-16 Keith Seitz <keiths@redhat.com>
17617 * gdb.cp/namelessclass.cc: New file.
17618 * gdb.cp/namelessclass.exp: New file.
17619 * gdb.cp/namelessclass.S: New file.
17621 2014-04-16 Doug Evans <dje@google.com>
17623 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17625 (gdbserver_default_get_comm_port): New function.
17626 (gdbserver_start): Check if board file provided
17627 "gdbserver,get_comm_port" and use it if so.
17628 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17629 (gdb,socketport): Set to "stdio".
17630 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17631 (stdio_gdbserver_template): Delete.
17632 (${board}_get_remote_address): Update.
17633 (${board}_build_remote_cmd): Delete.
17634 (${board}_get_comm_port): New function.
17635 (${board}_spawn): Update.
17636 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17638 (${board}_get_remote_address): Update.
17639 (${board}_get_comm_port): New function.
17641 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17643 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17644 appearing in any order.
17646 2014-04-15 Doug Evans <dje@google.com>
17648 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17649 uninitialized value of "description".
17651 2014-04-15 Keith Seitz <keiths@redhat.com>
17653 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17654 Remove unused globals.
17655 (test_running_the_program): Likewise.
17656 (test_controlled_execution): Likewise.
17657 (test_controlling_breakpoints): Likewise.
17658 (test_program_termination): Likewise.
17660 2014-04-15 Keith Seitz <keiths@redhat.com>
17662 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17664 (test_rbreak_creation_and_listing): Likewise.
17665 (test_ignore_count): Likewise.
17666 (test_error): Likewise.
17668 2014-04-15 Pedro Alves <palves@redhat.com>
17670 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17671 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17673 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17674 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17675 to sym-file-loader.c.
17676 (struct library): Forward declare.
17677 (load_shlib, lookup_function): Change prototypes.
17678 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17679 (translate_offset): Remove declarations.
17680 (get_text_addr): New declaration.
17681 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17682 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17684 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17685 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17686 here from sym-file-loader.h.
17687 (struct library): New structure.
17688 (load_shlib, lookup_function): Change prototypes and adjust to
17689 work with a struct library.
17690 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17691 (translate_offset): Make static.
17692 (get_text_addr): New function.
17693 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17695 2014-04-15 Pedro Alves <palves@redhat.com>
17697 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17699 2014-04-15 Pedro Alves <palves@redhat.com>
17701 * gdb.base/sym-file-loader.c: Include <limits.h>.
17702 (SELF_LINK): New define.
17703 (get_origin): New function.
17704 (load_shlib): Use it.
17705 * gdb.base/sym-file.exp: Don't early return if the target is
17706 remote. Use runto_main, and issue fail is that fails. Use
17708 (shlib_name): Delete.
17709 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17711 2014-04-15 Pedro Alves <palves@redhat.com>
17713 * gdb.base/sym-file.exp: Remove regex characters from test
17714 message. Don't refer to breakpoint numbers in test messages.
17716 2014-04-14 Keith Seitz <keiths@redhat.com>
17719 * gdb.cp/var-tag.cc: New file.
17720 * gdb.cp/var-tag.exp: New file.
17721 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17722 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17723 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17724 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17726 2014-04-14 Tom Tromey <tromey@redhat.com>
17728 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17729 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17731 * gdb.cp/enum-class.exp: New file.
17732 * gdb.cp/enum-class.cc: New file.
17734 2014-04-14 Tom Tromey <tromey@redhat.com>
17736 * gdb.dwarf2/enum-type.exp: New file.
17738 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17740 * gdb.mi/mi-vla-c99.exp: New file.
17741 * gdb.mi/vla.c: New file.
17743 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17745 * gdb.base/vla-datatypes.c: New file.
17746 * gdb.base/vla-datatypes.exp: New file.
17748 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17750 * gdb.base/vla-ptr.c: New file.
17751 * gdb.base/vla-ptr.exp: New file.
17753 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17755 * gdb.dwarf2/count.exp: New file.
17757 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17759 * gdb.base/vla-sideeffect.c: New file.
17760 * gdb.base/vla-sideeffect.exp: New file.
17762 2014-04-14 David Blaikie <dblaikie@gmail.com>
17764 * gdb.mi/non-stop.c: Add return value for non-void function return
17766 * gdb.threads/staticthreads.c: Ditto.
17768 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17769 Doug Evans <xdje42@gmail.com>
17771 * gdb.guile/scm-value.c: Improve test case.
17772 * gdb.guile/scm-value.exp: Add new test.
17774 2014-04-11 David Blaikie <dblaikie@gmail.com>
17776 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17777 override Clang's default.
17779 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17781 Revert the following changes (regressions):
17783 * gdb.base/vla-sideeffect.c: New file.
17784 * gdb.base/vla-sideeffect.exp: New file.
17786 * gdb.dwarf2/count.exp: New file.
17788 * gdb.base/vla-multi.c: New file.
17789 * gdb.base/vla-multi.exp: New file.
17791 * gdb.base/vla-ptr.c: New file.
17792 * gdb.base/vla-ptr.exp: New file.
17794 * gdb.base/vla-datatypes.c: New file.
17795 * gdb.base/vla-datatypes.exp: New file.
17797 * gdb.mi/mi-vla-c99.exp: New file.
17798 * gdb.mi/vla.c: New file.
17800 2014-04-11 Keith Seitz <keiths@redhat.com>
17803 * gdb.cp/cpsizeof.exp: New file.
17804 * gdb.cp/cpsizeof.cc: New file.
17806 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17808 * gdb.mi/mi-vla-c99.exp: New file.
17809 * gdb.mi/vla.c: New file.
17811 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17813 * gdb.base/vla-datatypes.c: New file.
17814 * gdb.base/vla-datatypes.exp: New file.
17816 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17818 * gdb.base/vla-ptr.c: New file.
17819 * gdb.base/vla-ptr.exp: New file.
17821 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17823 * gdb.base/vla-multi.c: New file.
17824 * gdb.base/vla-multi.exp: New file.
17826 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17828 * gdb.dwarf2/count.exp: New file.
17830 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17832 * gdb.base/vla-sideeffect.c: New file.
17833 * gdb.base/vla-sideeffect.exp: New file.
17835 2014-04-11 Yao Qi <yao@codesourcery.com>
17837 * gdb.base/completion.exp: Check file exists before running tests
17838 on file completion.
17840 2014-04-10 Pedro Alves <palves@redhat.com>
17842 * gdb.base/cond-eval-mode.c: New file.
17843 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17844 prepare_for_testing to build the new file. Check result of
17846 (test_break, test_watch): New procedures.
17847 (top level): Use them.
17849 2014-04-08 Pierre Muller <muller@sourceware.org>
17851 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17852 Ctrl-V use for mingw hosts.
17854 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17856 * gdb.python/py-value.c: Improve test case.
17857 * gdb.python/py-value.exp: Add new test.
17859 2014-04-07 David Blaikie <dblaikie@gmail.com>
17861 * lib/compiler.c: Identify the clang compiler.
17862 * lib/compiler.cc: Ditto.
17864 2014-04-03 Yao Qi <yao@codesourcery.com>
17866 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17868 2014-04-01 Anton Blanchard <anton@samba.org>
17870 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17873 2014-04-01 Anton Blanchard <anton@samba.org>
17875 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17876 prepare_for_testing.
17878 2014-04-01 Anton Blanchard <anton@samba.org>
17880 * gdb.arch/ppc64-atomic-inst.c: Remove.
17881 * gdb.arch/ppc64-atomic-inst.S: New file.
17882 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17884 2014-03-31 Doug Evans <dje@google.com>
17886 * gdb.base/print-symbol-loading-lib.c: New file.
17887 * gdb.base/print-symbol-loading-main.c: New file.
17888 * gdb.base/print-symbol-loading.exp: New file.
17890 2014-03-31 Yao Qi <yao@codesourcery.com>
17892 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17894 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17896 * gdb.ada/mi_dyn_arr: New testcase.
17898 2014-03-27 Doug Evans <dje@google.com>
17900 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17902 2014-03-27 Yao Qi <yao@codesourcery.com>
17904 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17905 if target is nios2-*-*.
17907 2014-03-26 Yao Qi <yao@codesourcery.com>
17909 * lib/gdb.exp (readline_is_used): New proc.
17910 * gdb.base/completion.exp: Move tests on command complete up.
17911 Skip the rest of tests if readline is not used.
17912 * gdb.ada/complete.exp: Skp the test if readline is not
17914 * gdb.base/filesym.exp: Likewise.
17915 * gdb.base/macscp.exp: Likewise.
17916 * gdb.base/readline-ask.exp: Likewise.
17917 * gdb.base/readline.exp: Likewise.
17918 * gdb.python/py-cmd.exp: Likewise.
17919 * gdb.trace/tfile.exp: Likewise.
17921 2014-03-26 Yao Qi <yao@codesourcery.com>
17923 * gdb.base/macscp.exp: Fix code format issues.
17925 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17927 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17928 * gdb.asm/powerpc64le.inc: New file.
17930 2014-03-25 Pedro Alves <palves@redhat.com>
17931 Doug Evans <dje@google.com>
17933 * gdb.base/source-execution.c: New file.
17934 * gdb.base/source-execution.exp: New file.
17935 * gdb.base/source-execution.gdb: New file.
17937 2014-03-24 Doug Evans <dje@google.com>
17939 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17942 2014-03-24 Hui Zhu <hui@codesourcery.com>
17943 Pedro Alves <palves@redhat.com>
17945 PR breakpoints/16101
17946 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17947 test pass/fail messages. Detect missing support for dprintf when
17948 breakpoints are actually inserted.
17949 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17950 breakpoints are actually inserted.
17951 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17954 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17956 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17958 2014-03-22 Doug Evans <xdje42@gmail.com>
17960 * gdb.python/python.exp (python not supported): Verify multi-line
17961 python command issues an error.
17962 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17963 guile command issues an error.
17965 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17967 * gdb.threads/thread-specific.exp: Handle the lack of usable
17968 $this_breakpoint and $this_thread.
17970 2014-03-21 Hui Zhu <hui@codesourcery.com>
17972 * gdb.base/attach.exp (do_command_attach_tests): New.
17974 2014-03-20 Tom Tromey <tromey@redhat.com>
17975 Pedro Alves <palves@redhat.com>
17978 * gdb.base/condbreak-call-false.c: New file.
17979 * gdb.base/condbreak-call-false.exp: New file.
17981 2014-03-20 Pedro Alves <palves@redhat.com>
17983 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17985 (block_signals, unblock_signals): Delete.
17986 (child_function_2, main): Remove references to deleted variable
17989 2014-03-20 Pedro Alves <palves@redhat.com>
17991 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17992 Use pthread_kill to signal thread 2.
17993 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17994 Adjust to make the test send itself a signal rather than using the
17995 host's "kill" command.
17997 2014-03-20 Pedro Alves <palves@redhat.com>
17999 * gdb.threads/multiple-step-overs.c: New file.
18000 * gdb.threads/multiple-step-overs.exp: New file.
18001 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18002 Adjust expected infrun debug output.
18004 2014-03-20 Pedro Alves <palves@redhat.com>
18006 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18007 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18009 2014-03-20 Pedro Alves <palves@redhat.com>
18011 PR breakpoints/7143
18012 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18013 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18014 of gdb_test_multiple.
18015 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18016 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18018 2014-03-20 Pedro Alves <palves@redhat.com>
18020 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18021 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18023 2014-03-19 Pedro Alves <palves@redhat.com>
18025 * gdb.base/async.exp: Remove early return.
18027 2014-03-19 Pedro Alves <palves@redhat.com>
18029 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18031 2014-03-19 Pedro Alves <palves@redhat.com>
18033 * gdb.base/async.exp (test_background): Expect \r\n after
18034 "completed." in the fail pattern.
18036 2014-03-19 Pedro Alves <palves@redhat.com>
18038 * gdb.base/async.exp (test_background): New procedure.
18039 Use it for all background execution command tests.
18041 2014-03-19 Pedro Alves <palves@redhat.com>
18043 * gdb.base/async.exp: Use prepare_for_testing.
18045 2014-03-19 Pedro Alves <palves@redhat.com>
18047 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18050 2014-03-19 Pedro Alves <palves@redhat.com>
18052 * gdb.base/async.c (main): Add "jump here" and "until here" line
18054 * gdb.base/async.exp (jump_here): New global.
18055 (jump& test): Use it.
18056 (until_here): New global.
18057 (until& test): Use it.
18059 2014-03-19 Pedro Alves <palves@redhat.com>
18061 * gdb.base/async.exp: Don't frob gdb_protocol.
18063 2014-03-18 Doug Evans <xdje42@gmail.com>
18065 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18066 Fix spelling of exec-done-display.
18068 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18071 * gdb.base/gdb-sigterm.c: New file.
18072 * gdb.base/gdb-sigterm.exp: New file.
18074 2014-03-18 Pedro Alves <palves@redhat.com>
18077 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18078 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18081 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18083 * gdb.ada/pckd_arr_ren: New testcase.
18085 2014-03-13 Doug Evans <xdje42@gmail.com>
18088 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18089 collect after discarding symbols.
18091 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18092 Doug Evans <xdje42@gmail.com>
18094 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18095 to history survives a gc.
18097 2014-03-13 Pedro Alves <palves@redhat.com>
18099 * gdb.base/default.exp: Don't test "target procfs".
18101 2014-03-13 Pedro Alves <palves@redhat.com>
18103 * gdb.base/default.exp: Update "target child" and "target procfs"
18104 tests to not expect "Unix".
18106 2014-03-12 Tom Tromey <tromey@redhat.com>
18108 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18109 New procs. Add target-async tests.
18110 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18111 Add target-async tests.
18113 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18115 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18116 'func_start' and 'func_end' for the beginning and end of the
18117 function code, respectively.
18118 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18119 'func_end' instead of 'func' and 'main'.
18121 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18123 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18124 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18125 generate the debug info assembler source.
18127 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18129 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18130 * gdb.dwarf2/arr-subrange.exp: Likewise.
18131 * gdb.dwarf2/dwz.exp: Likewise.
18132 * gdb.dwarf2/method-ptr.exp: Likewise.
18133 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18134 * gdb.dwarf2/subrange.exp: Likewise.
18135 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18136 * gdb.dwarf2/implptrpiece.exp: Likewise.
18137 * gdb.dwarf2/nostaticblock.exp: Likewise.
18139 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18141 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18142 directory to absolute path name arguments.
18144 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18146 * gdb.ada/tagged_access: New testcase.
18148 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18150 * gdb.btrace/data.exp: Update expected output.
18152 2014-03-06 Yao Qi <yao@codesourcery.com>
18154 * gdb.trace/pr16508.exp: New file.
18156 2014-03-05 Pedro Alves <palves@redhat.com>
18159 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18161 (top level): Adjust to use it. Add tests that exercise breakpoint
18162 interaction with the code-cache.
18164 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18166 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18167 test for 'history-append!'.
18169 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18171 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18172 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18173 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18174 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18175 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18176 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18178 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18180 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18181 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18182 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18184 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18186 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18188 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18190 * gdb.dwarf2/arr-stride.c: New file.
18191 * gdb.dwarf2/arr-stride.exp: New file.
18193 2014-02-26 Pedro Alves <palves@redhat.com>
18195 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18196 that won't ever trigger. Make sure that GDB reports the correct
18197 breakpoint that caused the stop.
18199 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18202 * gdb.base/auto-load-script: New file.
18203 * gdb.base/auto-load.c: New file.
18204 * gdb.base/auto-load.exp: New file.
18207 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18209 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18211 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18212 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18214 2014-02-24 Doug Evans <dje@google.com>
18216 * lib/gdb.exp (run_on_host): Log error output if program fails.
18218 2014-02-21 Pedro Alves <palves@redhat.com>
18220 * gdb.threads/step-after-sr-lock.c: Rename to ...
18221 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18222 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18223 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18226 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18229 * gdb.arch/amd64-stap-special-operands.exp: New file.
18230 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18231 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18232 * gdb.arch/amd64-stap-triplet.S: Likewise.
18233 * gdb.arch/amd64-stap-triplet.c: Likewise.
18235 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18237 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18238 in .section pseudo-op.
18240 2014-02-20 lin zuojian <manjian2006@gmail.com>
18241 Joel Brobecker <brobecker@adacore.com>
18242 Doug Evans <xdje42@gmail.com>
18245 * gdb.dwarf2/dw2-icycle.S: New file.
18246 * gdb.dwarf2/dw2-icycle.c: New file.
18247 * gdb.dwarf2/dw2-icycle.exp: New file.
18249 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18251 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18252 operations on gdb.Value objects.
18253 * gdb.python/py-value-cc.exp: Add new test to test operations on
18256 2014-02-18 Doug Evans <dje@google.com>
18258 * Makefile.in (TESTS): New variable.
18259 (expanded_tests, expanded_tests_or_none): New variables
18260 (check-single): Pass $(expanded_tests_or_none) to runtest.
18261 (check-parallel): Only run tests in $(TESTS) if non-empty.
18262 (check/no-matching-tests-found): New rule.
18263 * README: Document TESTS makefile variable.
18265 2014-02-18 Doug Evans <dje@google.com>
18267 * Makefile.in (check-parallel): rm -rf outputs temp.
18269 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18271 Fix "ERROR: no fileid for" in the testsuite.
18272 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18274 2014-02-12 Doug Evans <dje@google.com>
18276 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18277 (MISCELLANEOUS): New variable.
18278 (clean): rm -rf $(MISCELLANEOUS).
18279 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18280 dwp live in the same directory as symlinks, with each symlink pointed
18281 to a differently named file in a different directory.
18283 2014-02-11 Doug Evans <dje@google.com>
18285 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18286 of Tcl file commands.
18288 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18290 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18291 "kill -SIGUSR1 -1".
18293 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18295 * gdb.ada/tick_length_array_enum_idx: New testcase.
18297 2014-02-10 Doug Evans <xdje42@gmail.com>
18299 * configure.ac (AC_OUTPUT): Add gdb.guile.
18300 * configure: Regenerate.
18301 * lib/gdb-guile.exp: New file.
18302 * lib/gdb.exp (get_target_charset): New function.
18303 * gdb.base/help.exp: Update expected output from "apropos apropos".
18304 * gdb.guile/Makefile.in: New file.
18305 * gdb.guile/guile.exp: New file.
18306 * gdb.guile/scm-arch.c: New file.
18307 * gdb.guile/scm-arch.exp: New file.
18308 * gdb.guile/scm-block.c: New file.
18309 * gdb.guile/scm-block.exp: New file.
18310 * gdb.guile/scm-breakpoint.c: New file.
18311 * gdb.guile/scm-breakpoint.exp: New file.
18312 * gdb.guile/scm-disasm.c: New file.
18313 * gdb.guile/scm-disasm.exp: New file.
18314 * gdb.guile/scm-equal.c: New file.
18315 * gdb.guile/scm-equal.exp: New file.
18316 * gdb.guile/scm-error.exp: New file.
18317 * gdb.guile/scm-error.scm: New file.
18318 * gdb.guile/scm-frame-args.c: New file.
18319 * gdb.guile/scm-frame-args.exp: New file.
18320 * gdb.guile/scm-frame-args.scm: New file.
18321 * gdb.guile/scm-frame-inline.c: New file.
18322 * gdb.guile/scm-frame-inline.exp: New file.
18323 * gdb.guile/scm-frame.c: New file.
18324 * gdb.guile/scm-frame.exp: New file.
18325 * gdb.guile/scm-generics.exp: New file.
18326 * gdb.guile/scm-gsmob.exp: New file.
18327 * gdb.guile/scm-iterator.c: New file.
18328 * gdb.guile/scm-iterator.exp: New file.
18329 * gdb.guile/scm-math.c: New file.
18330 * gdb.guile/scm-math.exp: New file.
18331 * gdb.guile/scm-objfile-script-gdb.in: New file.
18332 * gdb.guile/scm-objfile-script.c: New file.
18333 * gdb.guile/scm-objfile-script.exp: New file.
18334 * gdb.guile/scm-objfile.c: New file.
18335 * gdb.guile/scm-objfile.exp: New file.
18336 * gdb.guile/scm-ports.exp: New file.
18337 * gdb.guile/scm-pretty-print.c: New file.
18338 * gdb.guile/scm-pretty-print.exp: New file.
18339 * gdb.guile/scm-pretty-print.scm: New file.
18340 * gdb.guile/scm-section-script.c: New file.
18341 * gdb.guile/scm-section-script.exp: New file.
18342 * gdb.guile/scm-section-script.scm: New file.
18343 * gdb.guile/scm-symbol.c: New file.
18344 * gdb.guile/scm-symbol.exp: New file.
18345 * gdb.guile/scm-symtab-2.c: New file.
18346 * gdb.guile/scm-symtab.c: New file.
18347 * gdb.guile/scm-symtab.exp: New file.
18348 * gdb.guile/scm-type.c: New file.
18349 * gdb.guile/scm-type.exp: New file.
18350 * gdb.guile/scm-value-cc.cc: New file.
18351 * gdb.guile/scm-value-cc.exp: New file.
18352 * gdb.guile/scm-value.c: New file.
18353 * gdb.guile/scm-value.exp: New file.
18354 * gdb.guile/source2.scm: New file.
18355 * gdb.guile/types-module.cc: New file.
18356 * gdb.guile/types-module.exp: New file.
18358 2014-02-10 Yao Qi <yao@codesourcery.com>
18361 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18362 * configure: Regenerated.
18363 * Makefile.in: New file.
18365 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18367 * gdb.python/py-framefilter.exp: Fix typo.
18369 2014-02-08 Yao Qi <yao@codesourcery.com>
18371 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18372 that no =breakpoint-modified is emitted when breakpoints are
18373 modified through MI commands.
18375 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18376 Pedro Alves <palves@redhat.com>
18378 * gdb.threads/step-after-sr-lock.c: New file.
18379 * gdb.threads/step-after-sr-lock.exp: New file.
18381 2014-02-07 Pedro Alves <palves@redhat.com>
18383 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18385 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18387 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18388 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18390 2014-02-06 Doug Evans <xdje42@gmail.com>
18392 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18395 * gdb.gdb/python-interrupts.exp: New file.
18397 2014-02-05 Yao Qi <yao@codesourcery.com>
18399 * gdb.trace/report.exp (use_collected_data): Test the output
18400 of "info threads" and "info inferiors".
18402 2014-02-05 Yao Qi <yao@codesourcery.com>
18406 2013-05-24 Yao Qi <yao@codesourcery.com>
18408 * gdb.trace/tfile.exp: Test inferior and thread.
18410 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18412 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18414 * gdb.base/step-bt.c: Call hello via function pointer to make
18415 sure its first instruction is executed on powerpc64le-linux.
18417 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18419 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18421 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18423 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18424 of the test patterns for use on little-endian systems.
18426 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18428 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18429 (decimal_vector): Fix for little-endian.
18431 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18433 * gdb.arch/sparc-sysstep.exp: New file.
18434 * gdb.arch/sparc-sysstep.c: Likewise.
18436 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18438 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18440 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18442 2014-01-23 Tom Tromey <tromey@redhat.com>
18444 * gdb.ada/array_char_idx: New testcase.
18446 2014-01-23 Tom Tromey <tromey@redhat.com>
18449 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18450 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18453 2014-01-23 Tom Tromey <tromey@redhat.com>
18456 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18457 string from an inferior frame.
18458 * gdb.python/py-framefilter-mi.exp: Update.
18460 2014-01-22 Doug Evans <dje@google.com>
18462 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18464 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18466 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18468 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18470 * gdb.trace/entry-values.exp: Remove excess space character from
18471 regex patterns. Handle s390 call instruction.
18473 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18475 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18476 define "*_start" label. Make "name" static.
18477 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18478 ${name} by references to ${name}_start.
18480 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18482 * gdb.base/info-macros.exp: Remove "debug" from the compile
18485 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18487 * gdb.dlang/demangle.exp: New file.
18489 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18491 * gdb.dlang/primitive-types.exp: New file.
18493 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18495 * configure.ac: Create gdb.dlang/Makefile.
18496 * configure: Regenerate.
18497 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18498 * gdb.dlang/Makefile.in: New file.
18499 * lib/d-support.exp: New file.
18500 * lib/gdb.exp (skip_d_tests): New proc.
18502 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18504 * gdb.btrace/delta.exp: Check reverse stepi.
18505 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18506 * gdb.btrace/finish.exp: New.
18507 * gdb.btrace/next.exp: New.
18508 * gdb.btrace/nexti.exp: New.
18509 * gdb.btrace/record_goto.c: Add comments.
18510 * gdb.btrace/step.exp: New.
18511 * gdb.btrace/stepi.exp: New.
18512 * gdb.btrace/multi-thread-step.c: New.
18513 * gdb.btrace/multi-thread-step.exp: New.
18514 * gdb.btrace/rn-dl-bind.c: New.
18515 * gdb.btrace/rn-dl-bind.exp: New.
18516 * gdb.btrace/data.c: New.
18517 * gdb.btrace/data.exp: New.
18518 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18520 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18522 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18523 * gdb.btrace/exception.exp: Update.
18524 * gdb.btrace/instruction_history.exp: Update.
18525 * gdb.btrace/record_goto.exp: Update.
18526 * gdb.btrace/tailcall.exp: Update.
18527 * gdb.btrace/unknown_functions.exp: Update.
18528 * gdb.btrace/delta.exp: New.
18530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18532 * gdb.btrace/record_goto.exp: Add backtrace test.
18533 * gdb.btrace/tailcall.exp: Add backtrace test.
18535 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18537 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18538 * gdb.btrace/record_goto.c: New.
18539 * gdb.btrace/record_goto.exp: New.
18540 * gdb.btrace/x86-record_goto.S: New.
18542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18544 * gdb.btrace/function_call_history.exp: Update tests.
18545 * gdb.btrace/instruction_history.exp: Update tests.
18547 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18549 * gdb.btrace/function_call_history.exp: Fix expected field
18550 order for "record function-call-history".
18551 Add new tests for "record function-call-history /c".
18552 * gdb.btrace/exception.cc: New.
18553 * gdb.btrace/exception.exp: New.
18554 * gdb.btrace/tailcall.exp: New.
18555 * gdb.btrace/x86-tailcall.S: New.
18556 * gdb.btrace/x86-tailcall.c: New.
18557 * gdb.btrace/unknown_functions.c: New.
18558 * gdb.btrace/unknown_functions.exp: New.
18559 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18561 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18563 * gdb.btrace/instruction_history.exp: Update.
18564 * gdb.btrace/function_call_history.exp: Update.
18566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18568 * gdb.btrace/function_call_history.exp: Fix expected function
18570 * gdb.btrace/instruction_history.exp: Initialize traced.
18571 Remove traced_functions.
18573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18575 * gdb.btrace/function_call_history.exp: Update
18576 * gdb.btrace/instruction_history.exp: Update.
18578 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18580 * gdb.btrace/enable.exp: Update expected text.
18582 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18584 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18587 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18589 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18591 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18593 * lib/gdb.exp (supports_process_record): Return true for
18594 arm*-linux*. (supports_reverse): Likewise.
18596 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18600 * gdb.python/py-type.c: Enhance test case.
18601 * gdb.python/py-value-cc.cc: Likewise
18602 * gdb.python/py-type.exp: Add new tests.
18603 * gdb.python/py-value-cc.exp: Likewise
18605 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18606 Pedro Alves <palves@redhat.com>
18608 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18609 Make "name" extern.
18610 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18611 references to ${name}_start by references to ${name}.
18613 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18615 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18617 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18619 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18621 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18622 Pedro Alves <palves@redhat.com>
18624 * gdb.mi/mi-info-os.exp: Connect to the target with
18625 mi_gdb_target_load.
18627 2014-01-08 Pedro Alves <palves@redhat.com>
18629 * gdb.threads/reconnect-signal.c: New file.
18630 * gdb.threads/reconnect-signal.exp: New file.
18632 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18634 * gdb.base/source-dir.exp: New file.
18636 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18638 * gdb.ada/mi_interface: New testcase.
18640 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18642 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18643 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18644 gdb.ada/pp-rec-component/pck.ads: New files.
18646 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18648 * gdb.python/py-pp-integral.c: New file.
18649 * gdb.python/py-pp-integral.py: New file.
18650 * gdb.python/py-pp-integral.exp: New file.
18652 For older changes see ChangeLog-1993-2013.
18654 ;; Local Variables:
18655 ;; mode: change-log
18658 ;; version-control: never
18661 Copyright 2014-2020 Free Software Foundation, Inc.
18662 Copying and distribution of this file, with or without modification,
18663 are permitted provided the copyright notice and this notice are preserved.