1 2020-02-26 Tom de Vries <tdevries@suse.de>
4 * gdb.base/persistent-lang.cc: New test.
5 * gdb.base/persistent-lang.exp: New file.
7 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
9 * gdb.fortran/derived-type-striding.exp: Add a new test.
10 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
13 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
15 * gdb.base/cached-source-file.exp: Avoid source file paths in test
18 2020-02-25 Tom de Vries <tdevries@suse.de>
21 * gdb.go/methods.exp: Remove gcc/93866 xfail.
23 2020-02-24 Tom de Vries <tdevries@suse.de>
26 * gdb.base/info-locals-unused-static-var.c: New test.
27 * gdb.base/info-locals-unused-static-var.exp: New file.
29 2020-02-22 Tom Tromey <tom@tromey.com>
31 * gdb.python/tui-window.exp: New file.
32 * gdb.python/tui-window.py: New file.
34 2020-02-22 Tom Tromey <tom@tromey.com>
37 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
40 2020-02-22 Tom Tromey <tom@tromey.com>
42 * gdb.tui/new-layout.exp: Add sub-layout tests.
44 2020-02-22 Tom Tromey <tom@tromey.com>
46 * gdb.tui/new-layout.exp: New file.
48 2020-02-22 Tom Tromey <tom@tromey.com>
50 * gdb.rust/rust-style.rs: New file.
51 * gdb.rust/rust-style.exp: New file.
52 * gdb.base/style.exp: Test structure printing.
53 * gdb.base/style.c (struct some_struct): New type.
54 (enum etype): New type.
55 (struct_value): New global.
57 2020-02-21 Tom de Vries <tdevries@suse.de>
60 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
61 Remove blanket xfails. Use message argument for gdb_breakpoint.
62 Make continuing to breakpoint test conditional on setting breakpoint.
63 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
64 DW_AT_name attribute. Add xfail for GCC PR93866.
66 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
68 * gdb.dwarf2/cpp-linkage-name.c: New file.
69 * gdb.dwarf2/cpp-linkage-name.exp: New file.
71 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
73 * lib/gdb.exp (gdb_wrapper_init): Reset
74 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
77 2020-02-20 Tom de Vries <tdevries@suse.de>
80 * gdb.go/hello.exp: Copy ...
81 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
82 print of st to print value of global definition. Add xfail for GCC
84 * gdb.go/hello.exp: Remove printing of st before definition.
85 * gdb.go/hello.go: Copy ...
86 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
88 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
90 2020-02-20 Tom de Vries <tdevries@suse.de>
92 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
93 (gdb_simple_compile): Handle compile_flags go by using .go extension
95 * gdb.go/chan.exp: Use support_go_compile.
96 * gdb.go/handcall.exp: Same.
97 * gdb.go/hello.exp: Same.
98 * gdb.go/integers.exp: Same.
99 * gdb.go/max-depth.exp: Same.
100 * gdb.go/methods.exp: Same.
101 * gdb.go/package.exp: Same.
102 * gdb.go/strings.exp: Same.
103 * gdb.go/types.exp: Same.
104 * gdb.go/unsafe.exp: Same.
106 2020-02-19 Tom de Vries <tdevries@suse.de>
108 * gdb.python/lib-types.exp: Make xfail more strict.
110 2020-02-19 Tom de Vries <tdevries@suse.de>
112 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
114 2020-02-19 Doug Evans <dje@google.com>
117 * gdb.rust/simple.exp: Add test.
118 * gdb.rust/simple.rs: Add test.
120 2020-02-19 Tom de Vries <tdevries@suse.de>
122 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
125 2020-02-19 Tom de Vries <tdevries@suse.de>
127 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
129 2020-02-19 Tom de Vries <tdevries@suse.de>
131 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
134 2020-02-19 Tom de Vries <tdevries@suse.de>
136 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
137 (gdb_do_cache): Use gdb_do_cache_wrap.
138 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
140 2020-02-19 Tom de Vries <tdevries@suse.de>
142 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
145 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
147 * gdb.base/printcmds.exp (test_print_enums): Update expected
150 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
152 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
155 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
157 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
160 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
162 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
165 (enum flag_enum_without_zero): New enum.
166 (flag_enum_without_zero): New variable.
167 (enum not_flag_enum): New enum.
168 (three_not_flag): New variable.
169 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
170 (test_print_enums): Add more tests for printing flag enums.
172 2020-02-18 Tom de Vries <tdevries@suse.de>
174 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
175 (gdb_compile_ada): ... here.
176 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
177 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
179 2020-02-14 Tom Tromey <tom@tromey.com>
181 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
183 * boards/gdbserver-base.exp: Update path to gdbserver.
185 2020-02-13 Tom de Vries <tdevries@suse.de>
187 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
189 2020-02-13 Tom de Vries <tdevries@suse.de>
191 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
194 2020-02-13 Tom de Vries <tdevries@suse.de>
196 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
199 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
202 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
203 * gdb.base/cached-source-file.c: New file.
204 * gdb.base/cached-source-file.exp: New file.
206 2020-02-11 Tom de Vries <tdevries@suse.de>
209 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
211 2020-02-10 Tom de Vries <tdevries@suse.de>
213 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
215 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
217 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
218 and $after_addr are both integers before making a comparison.
220 2020-02-09 Tom de Vries <tdevries@suse.de>
222 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
223 command output and paste it into gdb.log. If any, paste catch message
226 2020-02-07 Tom Tromey <tromey@adacore.com>
228 PR breakpoints/24915:
229 * gdb.base/annotate-symlink.exp: Use setup_xfail.
231 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
233 * gdb.tui/tui-missing-src.exp: Add the "missing source
234 file" test for the TUI.
236 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
238 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
239 including a port number in the output.
241 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
243 * lib/fortran.exp (fortran_int4): Handle clang.
244 (fortran_int8): Likewise.
245 (fortran_real4): Likewise.
246 (fortran_real8): Likewise.
247 (fortran_complex4): Likewise.
248 (fortran_logical4): Likewise.
249 (fortran_character1): Likewise.
251 2020-02-04 Tom de Vries <tdevries@suse.de>
253 * README (Race detection): Add note.
255 2020-02-04 Tom de Vries <tdevries@suse.de>
257 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
259 2020-02-04 Tom de Vries <tdevries@suse.de>
261 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
263 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
265 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
266 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
267 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
269 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
270 binary for blttar, bnetarl.
271 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
272 wait instruction. Delete ldmx test.
273 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
275 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
277 * gdb.fortran/array-bounds-high.exp: New file.
278 * gdb.fortran/array-bounds-high.f90: New file.
280 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
282 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
283 Replace #include of <sys/fcntl.h> by <fcntl.h>.
285 2020-02-01 Tom de Vries <tdevries@suse.de>
287 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
289 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
292 * gdb.tui/tui-layout-asm-short-prog.S: New file.
293 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
295 2020-01-29 Luis Machado <luis.machado@linaro.org>
297 * gdb.arch/aarch64-brk-patterns.c: New source file.
298 * gdb.arch/aarch64-brk-patterns.exp: New test.
300 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
302 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
304 * gdb.cp/pass-by-ref.exp: Ditto.
306 2020-01-29 Tom de Vries <tdevries@suse.de>
308 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
309 * gdb.threads/watchpoint-fork-mt.c: Same.
310 * gdb.threads/watchpoint-fork-parent.c: Same.
311 * gdb.threads/watchpoint-fork-st.c: Same.
312 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
314 2020-01-27 Luis Machado <luis.machado@linaro.org>
316 * gdb.base/step-over-syscall.exp (setup): Check if we're already
317 sitting at a syscall instruction when we hit the syscall function's
319 Check PC against one obtained with the x command.
320 Validate syscall number.
321 (step_over_syscall): Don't continue to the syscall instruction if
324 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
326 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
328 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
330 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
331 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
333 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
335 * gdb.dwarf2/dw2-inline-stepping.c: New file.
336 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
338 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
340 * gdb.base/maint.exp: Update line table parsing test.
341 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
343 2020-01-24 Pedro Alves <palves@redhat.com>
346 * gdb.multi/multi-re-run-1.c: New.
347 * gdb.multi/multi-re-run-2.c: New.
348 * gdb.multi/multi-re-run.exp: New.
350 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
353 * gdb.server/server-kill-python.exp: New file.
355 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
357 * gdb.server/multi-ui-errors.c: New file.
358 * gdb.server/multi-ui-errors.exp: New file.
360 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
363 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
365 2020-01-19 Tom Tromey <tom@tromey.com>
367 * gdb.tui/main.exp: Add check for plain "file".
369 2020-01-16 Christian Biesinger <cbiesinger@google.com>
371 * lib/gdb.exp: Fix spelling error (seperatelly).
373 2020-01-14 Tom Tromey <tom@tromey.com>
376 * gdb.python/python.exp: Test decode_line with empty string
379 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
381 * gdb.base/skip-inline.exp: Extend test.
383 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
385 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
386 * gdb.dwarf2/dw2-bad-elf.c: New file.
387 * gdb.dwarf2/dw2-bad-elf.exp: New file.
389 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
391 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
394 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
396 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
399 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
401 * gdb.multi/multi-target.exp (setup): Factor out "info
402 connections" and "info inferiors" tests to ...
403 (test_info_inferiors): ... this new procedure.
404 (top level): Run new "info-inferiors" tests.
406 2020-01-10 Pedro Alves <palves@redhat.com>
408 * gdb.server/bkpt-other-inferior.exp: New file.
410 2020-01-10 Pedro Alves <palves@redhat.com>
412 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
414 * gdb.base/quit-live.exp: Likewise.
415 * gdb.base/remote-exec-file.exp: Likewise.
416 * gdb.guile/scm-progspace.exp: Likewise.
417 * gdb.linespec/linespec.exp: Likewise.
418 * gdb.mi/new-ui-mi-sync.exp: Likewise.
419 * gdb.mi/user-selected-context-sync.exp: Likewise.
420 * gdb.multi/multi-target.exp (setup): Add "info connection" and
421 "info inferiors" tests.
422 * gdb.multi/remove-inferiors.exp: Adjust expected output of
424 * gdb.multi/watchpoint-multi.exp: Likewise.
425 * gdb.python/py-inferior.exp: Likewise.
426 * gdb.server/extended-remote-restart.exp: Likewise.
427 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
429 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
430 * gdb.trace/report.exp: Likewise.
432 2020-01-10 Pedro Alves <palves@redhat.com>
434 * gdb.multi/multi-target.c: New file.
435 * gdb.multi/multi-target.exp: New file.
436 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
437 mode requested, but remote does not support non-stop".
439 2020-01-10 Pedro Alves <palves@redhat.com>
441 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
442 disconnect before reconnecting.
444 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
445 Pedro Alves <palves@redhat.com>
447 * gdb.server/connect-without-multi-process.exp: Also test
450 2020-01-10 Pedro Alves <palves@redhat.com>
452 * gdb.base/remote-exec-file.exp: New file.
454 2020-01-10 Pedro Alves <palves@redhat.com>
456 * gdb.base/fork-running-state.exp (do_test): Adjust expected
458 * gdb.threads/async.c: New.
459 * gdb.threads/async.exp: New.
460 * gdb.multi/tids-gid-reset.c: New.
461 * gdb.multi/tids-gid-reset.exp: New.
463 2020-01-10 George Barrett <bob@bob131.so>
465 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
466 to help in finding the image relocation offset.
467 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
468 options in arguments.
469 (stap_test_no_debuginfo): Likewise.
470 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
472 (stap_test): Add null semaphore relocation test.
474 2020-01-10 George Barrett <bob@bob131.so>
476 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
477 * gdb.base/stap-probe.exp: Likewise.
478 (stap_test): Pass argument as an additional flag.
479 (stap_test_no_debuginfo): Likewise.
480 (stap_test): Check `info probes stap' output for semaphore
481 addresses if the test binary is supposed to have them.
483 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
485 * gdb.tui/basic.exp: Add more scrolling tests.
487 2020-01-09 Tom Tromey <tom@tromey.com>
490 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
492 (Term::command, Term::resize): Update.
493 * gdb.tui/basic.exp: Add scrolling test.
495 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
497 * gdb.tui/tui-layout-asm.exp: New file.
499 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
501 * lib/tuiterm.exp (Term::check_box_contents): New proc.
503 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
505 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
506 (Term::enter_tui): Use Term::prepare_for_tui.
508 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
510 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
513 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
515 * gdb.base/skip.exp: Fix race condition in test.
517 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
519 * gdb.base/backtrace.c: New file.
520 * gdb.base/backtrace.exp: New file.
522 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
524 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
526 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
528 * gdb.base/style.exp: Test that warnings are styled.
530 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
532 * gdb.base/line65535.exp: New file.
533 * gdb.base/line65535.c: New file.
535 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
537 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
538 * lib/gnat_debug_info_test.adb: New file.
539 * gdb.ada/ptype_tagged_param.exp: Use
540 gnat_runtime_has_debug_info, expect a different output if
541 runtime does not have debug info.
543 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
545 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
546 (another) quote in test name.
548 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
550 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
551 Add quote in test name.
553 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
555 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
557 * gdb.cp/pass-by-ref.exp: Extend with more cases.
558 * gdb.cp/pass-by-ref-2.cc: New file.
559 * gdb.cp/pass-by-ref-2.exp: New file.
561 2019-12-20 Tom Tromey <tom@tromey.com>
563 * gdb.tui/list-before.exp: New file.
565 2019-12-20 Tom Tromey <tom@tromey.com>
567 * gdb.tui/list.exp: Check for source on initial listing.
569 2019-12-11 Tom Tromey <tromey@adacore.com>
571 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
574 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
576 * gdb.base/default.exp: Update value of $_gdb_major.
578 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
580 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
582 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
584 * gdb.base/skip.exp: Whitespace fix.
586 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
588 * gdb.base/skip-inline.c: New file.
589 * gdb.base/skip-inline.exp: New file.
591 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
593 * gdb.base/jit-reader.exp (jit_reader_test): Rename
594 jit_function_00 to jit_function_stack_mangle.
595 * gdb.base/jithost.c (jit_function_t): Rename to...
596 (jit_function_stack_mangle_t): ... this.
597 (jit_function_add_t): New typedef.
598 (jit_function_00_code): Rename to...
599 (jit_function_stack_mangle_code): ... this, make static.
600 (jit_function_add_code): New.
601 (main): Generate "add" function and call it. Adjust to changes
603 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
604 (struct jithost_abi) <begin, end>: Remove fields.
605 <object, function_stack_mangle, function_add>: New fields.
606 * gdb.base/jitreader.c (struct reader_state) <code_begin,
607 code_end>: Remove fields.
608 <func_stack_mangle>: New field.
609 (read_debug_info): Adjust to renaming, create block for "add"
611 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
613 2019-12-11 Tom Tromey <tom@tromey.com>
615 * gdb.tui/resize.exp: Fix regexp.
616 * gdb.tui/regs.exp: Fix regexps.
617 * gdb.tui/main.exp: Fix regexp.
619 2019-12-11 Tom Tromey <tom@tromey.com>
621 * gdb.tui/resize.exp: Update.
622 * gdb.tui/empty.exp (layouts): Update.
624 2019-12-11 Tom Tromey <tom@tromey.com>
626 * gdb.tui/regs.exp: Update.
627 * gdb.tui/empty.exp (layouts): Update.
628 * gdb.tui/basic.exp: Update.
629 * lib/tuiterm.exp (_check_box): Don't check bottom border.
631 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
633 * gdb.base/options.exp: Add -raw-values in the print completion list.
634 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
636 2019-12-10 Kevin Buettner <kevinb@redhat.com>
638 * gdb.threads/omp-par-scope.c: New file.
639 * gdb/threads/omp-par-scope.exp: New file.
641 2019-12-10 Kevin Buettner <kevinb@redhat.com>
643 * lib/gdb.exp (support_nested_function_tests): New proc.
645 2019-12-10 Kevin Buettner <kevinb@redhat.com>
647 * lib/gdb.exp (gdb_compile_openmp): New proc.
648 (build_executable_from_specs): Add an "openmp" option.
649 (gdb_compile_pthreads): Add non-executable case.
651 2019-12-10 Tom Tromey <tromey@adacore.com>
653 * gdb.ada/unchecked_union.exp: New file.
654 * gdb.ada/unchecked_union/pck.adb: New file.
655 * gdb.ada/unchecked_union/pck.ads: New file.
656 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
657 * gdb-utils.exp (string_to_regexp): Also quote "?".
659 2019-12-10 George Barrett <bob@bob131.so>
661 Test scripted probe breakpoints.
662 * gdb.guile/scm-breakpoint.c (main): Add probe point.
663 * gdb.python/py-breakpoint.c (main): Likewise.
664 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
666 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
668 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
670 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
672 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
675 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
677 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
680 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
682 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
683 broken version of GCC.
685 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
687 * gdb.fortran/info-modules.exp: Rewrite to make use of new
688 sym-info-cmds library.
689 * gdb.fortran/info-types.exp: Likewise.
690 * lib/sym-info-cmds.exp: New file.
692 2019-12-08 Tom de Vries <tdevries@suse.de>
694 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
696 2019-12-07 Keith Seitz <keiths@redhat.com>
698 * gdb.base/corefile-buildid-shlib-shr.c: New file.
699 * gdb.base/corefile-buildid-shlib.c: New file.
700 * gdb.base/corefile-buildid.c: New file.
701 * gdb.base/corefile-buildid.exp: New file.
703 2019-12-06 Tom de Vries <tdevries@suse.de>
705 * gdb.dwarf2/varval.exp: Add decl before def test.
707 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
709 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
711 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
713 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
714 CV and reference conversion for overload resolution.
715 * gdb.cp/rvalue-ref-overload.exp: Test it.
717 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
719 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
720 * gdb.base/frameapply.exp: Test faas without command.
722 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
724 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
726 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
729 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
731 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
732 casting to type with no kind specified.
733 (test_basic_parsing_of_type_kinds): Additional tests for types
734 with no kind specified, and add tests for single/double
735 precision/complex types.
737 2019-12-04 Tom Tromey <tromey@adacore.com>
739 * gdb.base/endianity.c (struct other) <x>: New field.
740 (main): Initialize it.
741 * gdb.base/endianity.exp: Update.
743 2019-12-04 Tom Tromey <tromey@adacore.com>
745 * gdb.ada/scalar_storage/storage.adb: New file.
746 * gdb.ada/scalar_storage/pck.adb: New file.
747 * gdb.ada/scalar_storage/pck.ads: New file.
748 * gdb.ada/scalar_storage.exp: New file.
750 2019-12-04 Tom Tromey <tromey@adacore.com>
752 * gdb.base/endianity.c (struct otherendian) <f>: New field.
753 (main): Initialize it.
754 * gdb.base/endianity.exp: Update.
756 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
758 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
760 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
762 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
763 -symbol-info-module-functions and -symbol-info-module-variables.
765 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
767 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
769 2019-12-01 Richard Bunt <richard.bunt@arm.com>
770 Andrew Burgess <andrew.burgess@embecosm.com>
772 * gdb.fortran/derived-type-striding.exp: New file.
773 * gdb.fortran/derived-type-striding.f90: New file.
774 * gdb.fortran/array-slices.exp: New file.
775 * gdb.fortran/array-slices.f90: New file.
777 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
779 * gdb.base/define.exp: Test . in command names.
780 * gdb.base/setshow.exp: Update test, as . is now part of
783 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
785 * gdb.base/define-prefix.exp: New file.
787 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
789 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
791 (skip_btrace_pt_tests): Likewise.
793 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
795 * gdb.fortran/info-modules.exp: Compile source files in correct
798 2019-11-27 Kevin Buettner <kevinb@redhat.com>
800 * gdb.dwarf2/imported-unit.exp: New file.
801 * gdb.dwarf2/imported-unit.c: New file.
803 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
805 * gdb.mi/mi-fortran-modules-2.f90: New file.
806 * gdb.mi/mi-fortran-modules.exp: New file.
807 * gdb.mi/mi-fortran-modules.f90: New file.
809 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
811 * gdb.mi/mi-sym-info-1.c: New file.
812 * gdb.mi/mi-sym-info-2.c: New file.
813 * gdb.mi/mi-sym-info.exp: New file.
815 2019-11-22 Tom Tromey <tromey@adacore.com>
817 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
818 * gdb.ada/tasks/foo.adb: Add another stopping location.
820 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
822 * gdb.base/endianity.c: New test.
823 * gdb.base/endianity.exp: New file.
825 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
827 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
829 2019-11-21 Tom de Vries <tdevries@suse.de>
832 * gdb.base/ui-redirect.exp: Test output of user-defined command.
834 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
836 * gdb.python/py-progspace.exp: Add missing parentheses on some
839 2019-11-19 Tom Tromey <tom@tromey.com>
841 * gdb.tui/winheight.exp: New file.
843 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
845 * gdb.base/ctf-whatis.c: Delete.
846 * gdb.base/ctf-whatis.exp: Delete.
847 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
849 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
851 * gdb.base/ctf-cvexpr.exp: Delete.
852 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
854 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
856 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
857 the compiler. Clean up header comment a little.
858 * gdb.base/ctf-ptype.exp: Likewise.
859 * gdb.base/ctf-whatis.exp: Likewise.
860 * lib/gdb.exp (skip_ctf_tests): New proc.
862 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
864 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
865 * gdb.tui/corefile-run.exp: New file.
867 2019-11-14 Tom Tromey <tromey@adacore.com>
869 * gdb.base/gdbvars.exp (test_convenience_variables): Add
872 2019-11-12 Tom Tromey <tom@tromey.com>
874 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
875 after any command. Expect prompt after WAIT_FOR is seen.
876 (enter_tui): Enable resize messages.
877 (command): Expect command in output.
878 (get_line): Avoid error when cursor appears to be off-screen.
879 (dump_screen): Include screen size in title.
880 (_do_resize): New proc, from "resize".
881 (resize): Rewrite. Do resize in two steps.
882 * gdb.tui/empty.exp (layouts): Fix entries.
883 (check_boxes): Remove xfail.
884 (check_text): Dump screen on failure.
886 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
888 * gdb.python/py-symbol.exp: Add test for
889 gdb.lookup_static_symbols.
891 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
893 * gdb.python/py-symbol.c: Declare and call function from new
895 * gdb.python/py-symbol.exp: Compile both source files, and add new
896 tests for gdb.lookup_static_symbol.
897 * gdb.python/py-symbol-2.c: New file.
899 2019-11-02 Tom de Vries <tdevries@suse.de>
901 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
902 * gdb.base/anon.exp: Same.
903 * gdb.base/auto-connect-native-target.exp: Same.
904 * gdb.base/call-ar-st.exp: Same.
905 * gdb.base/catch-syscall.exp: Same.
906 * gdb.base/commands.exp: Same.
907 * gdb.base/default.exp: Same.
908 * gdb.base/display.exp: Same.
909 * gdb.base/float.exp: Same.
910 * gdb.base/foll-fork.exp: Same.
911 * gdb.base/help.exp: Same.
912 * gdb.base/info-macros.exp: Same.
913 * gdb.base/info-proc.exp: Same.
914 * gdb.base/info-target.exp: Same.
915 * gdb.base/long_long.exp: Same.
916 * gdb.base/macscp.exp: Same.
917 * gdb.base/memattr.exp: Same.
918 * gdb.base/nofield.exp: Same.
919 * gdb.base/pointers.exp: Same.
920 * gdb.base/printcmds.exp: Same.
921 * gdb.base/ptype.exp: Same.
922 * gdb.base/restore.exp: Same.
923 * gdb.base/return.exp: Same.
924 * gdb.base/scope.exp: Same.
925 * gdb.base/set-noassign.exp: Same.
926 * gdb.base/setshow.exp: Same.
927 * gdb.base/shlib-call.exp: Same.
928 * gdb.base/signals.exp: Same.
929 * gdb.base/sigstep.exp: Same.
930 * gdb.base/skip.exp: Same.
931 * gdb.base/solib-symbol.exp: Same.
932 * gdb.base/stap-probe.exp: Same.
933 * gdb.base/step-line.exp: Same.
934 * gdb.base/step-test.exp: Same.
935 * gdb.base/style.exp: Same.
936 * gdb.base/varargs.exp: Same.
937 * gdb.base/vla-datatypes.exp: Same.
938 * gdb.base/vla-ptr.exp: Same.
939 * gdb.base/vla-sideeffect.exp: Same.
940 * gdb.base/volatile.exp: Same.
941 * gdb.base/watch-cond-infcall.exp: Same.
942 * gdb.base/watchpoint.exp: Same.
944 2019-11-02 Tom de Vries <tdevries@suse.de>
946 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
947 * gdb.cp/cpexprs.exp: Same.
948 * gdb.cp/except-multi-location.exp: Same.
949 * gdb.cp/exceptprint.exp: Same.
950 * gdb.cp/gdb2384.exp: Same.
951 * gdb.cp/inherit.exp: Same.
952 * gdb.cp/m-static.exp: Same.
953 * gdb.cp/meth-typedefs.exp: Same.
954 * gdb.cp/misc.exp: Same.
955 * gdb.cp/namespace.exp: Same.
956 * gdb.cp/non-trivial-retval.exp: Same.
957 * gdb.cp/overload.exp: Same.
958 * gdb.cp/pr17132.exp: Same.
959 * gdb.cp/re-set-overloaded.exp: Same.
960 * gdb.cp/rvalue-ref-types.exp: Same.
961 * gdb.cp/templates.exp: Same.
963 2019-11-01 Luis Machado <luis.machado@linaro.org>
967 * gdb.arch/pr25124.S: New file.
968 * gdb.arch/pr25124.exp: New file.
970 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
972 * gdb.fortran/info-modules.exp: Update expected results, and add
973 additional tests for 'info module functinos', and 'info module
975 * gdb.fortran/info-types.exp: Update expected results.
976 * gdb.fortran/info-types.f90: Extend testcase with additional
977 module variables and functions.
979 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
981 * gdb.fortran/info-modules.exp: New file.
982 * gdb.fortran/info-types.exp: Build with new file.
983 * gdb.fortran/info-types.f90: Include and use new module.
984 * gdb.fortran/info-types-2.f90: New file.
986 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
988 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
989 * gdb.base/settings.exp: Test all settings types using
990 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
991 that now verifies that the value of "maint show" is the same as
992 returned by the settings functions. Test the type of the
993 maintenance settings.
994 * gdb.base/default.exp: Update show_conv_list.
996 2019-10-31 Tom de Vries <tdevries@suse.de>
998 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1000 * gdb.arch/amd64-disp-step.exp: Same.
1001 * gdb.asm/asm-source.exp: Same.
1002 * gdb.btrace/buffer-size.exp: Same.
1003 * gdb.btrace/cpu.exp: Same.
1004 * gdb.btrace/enable.exp: Same.
1005 * gdb.dwarf2/count.exp: Same.
1006 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1007 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1008 * gdb.fortran/vla-datatypes.exp: Same.
1009 * gdb.fortran/vla-history.exp: Same.
1010 * gdb.fortran/vla-ptype.exp: Same.
1011 * gdb.fortran/vla-value.exp: Same.
1012 * gdb.fortran/whatis_type.exp: Same.
1013 * gdb.guile/guile.exp: Same.
1014 * gdb.multi/tids.exp: Same.
1015 * gdb.python/py-finish-breakpoint.exp: Same.
1016 * gdb.python/py-framefilter.exp: Same.
1017 * gdb.python/py-pp-registration.exp: Same.
1018 * gdb.python/py-xmethods.exp: Same.
1019 * gdb.python/python.exp: Same.
1020 * gdb.server/connect-with-no-symbol-file.exp: Same.
1021 * gdb.server/no-thread-db.exp: Same.
1022 * gdb.server/run-without-local-binary.exp: Same.
1023 * gdb.stabs/weird.exp: Same.
1024 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1025 * gdb.threads/thread-find.exp: Same.
1026 * gdb.threads/tls-shared.exp: Same.
1027 * gdb.threads/tls.exp: Same.
1028 * gdb.threads/wp-replication.exp: Same.
1029 * gdb.trace/ax.exp: Same.
1030 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1032 2019-10-31 Tom de Vries <tdevries@suse.de>
1034 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1035 * gdb.ada/array_subscript_addr.exp: Same.
1036 * gdb.ada/arrayidx.exp: Same.
1037 * gdb.ada/arrayparam.exp: Same.
1038 * gdb.ada/arrayptr.exp: Same.
1039 * gdb.ada/boolean_expr.exp: Same.
1040 * gdb.ada/call_pn.exp: Same.
1041 * gdb.ada/complete.exp: Same.
1042 * gdb.ada/fixed_cmp.exp: Same.
1043 * gdb.ada/fun_addr.exp: Same.
1044 * gdb.ada/funcall_param.exp: Same.
1045 * gdb.ada/interface.exp: Same.
1046 * gdb.ada/mod_from_name.exp: Same.
1047 * gdb.ada/null_array.exp: Same.
1048 * gdb.ada/packed_array.exp: Same.
1049 * gdb.ada/packed_tagged.exp: Same.
1050 * gdb.ada/print_chars.exp: Same.
1051 * gdb.ada/print_pc.exp: Same.
1052 * gdb.ada/ptype_arith_binop.exp: Same.
1053 * gdb.ada/ptype_field.exp: Same.
1054 * gdb.ada/ptype_tagged_param.exp: Same.
1055 * gdb.ada/rec_return.exp: Same.
1056 * gdb.ada/ref_tick_size.exp: Same.
1057 * gdb.ada/str_ref_cmp.exp: Same.
1058 * gdb.ada/taft_type.exp: Same.
1059 * gdb.ada/tagged.exp: Same.
1060 * gdb.ada/type_coercion.exp: Same.
1061 * gdb.ada/uninitialized_vars.exp: Same.
1063 2019-10-30 Tom de Vries <tdevries@suse.de>
1065 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1067 2019-10-26 Tom de Vries <tdevries@suse.de>
1069 * gdb.base/bigcore.c: Fix typos in comments.
1070 * gdb.base/ctf-ptype.c: Same.
1071 * gdb.base/long_long.c: Same.
1072 * gdb.dwarf2/dw2-op-out-param.S: Same.
1073 * gdb.python/py-evthreads.c: Same.
1074 * gdb.reverse/i387-stack-reverse.c: Same.
1075 * gdb.trace/tfile.c: Same.
1076 * lib/compiler.c: Same.
1077 * lib/compiler.cc: Same.
1079 2019-10-25 Tom de Vries <tdevries@suse.de>
1081 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1082 gdb_test_multiple calls.
1083 * gdb.reverse/sigall-reverse.exp: Same.
1084 * gdb.reverse/solib-precsave.exp: Same.
1085 * gdb.reverse/solib-reverse.exp: Same.
1086 * gdb.reverse/until-precsave.exp: Same.
1087 * gdb.reverse/until-reverse.exp: Same.
1089 2019-10-24 Tom de Vries <tdevries@suse.de>
1091 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1092 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1093 kfail using -wrap pattern flag and convenience variable
1096 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1098 * gdb.python/py-progspace.exp: Add tests for the
1099 Progspace.block_for_pc method.
1101 2019-10-23 Tom Tromey <tom@tromey.com>
1103 * configure: Rebuild.
1104 * aclocal.m4: Use m4_include, not sinclude.
1106 2019-10-21 Tom de Vries <tdevries@suse.de>
1108 * gdb.base/infcall-nested-structs.c: Add
1109 __attribute__((noinline,noclone)) to all functions.
1110 (call_all): Add missing variable initialization. Simplify return value.
1111 (breakpt): Increment volatile variable, to prevent call from being
1113 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1115 2019-10-17 Tom de Vries <tdevries@suse.de>
1117 * gdb.fortran/module.exp: Allow info variables to print info for files
1118 other than module.f90.
1120 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1122 * gdb.fortran/module.exp: Extend with 'info variables' test.
1124 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1126 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1129 2019-10-16 Tom de Vries <tdevries@suse.de>
1132 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1134 2019-10-16 Tom de Vries <tdevries@suse.de>
1137 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1138 Add KFAIL for PR tdep/25096.
1140 2019-10-16 Tom de Vries <tdevries@suse.de>
1143 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1145 2019-10-16 Tom de Vries <tdevries@suse.de>
1147 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1150 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1152 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1153 one instead of increasing timeout.
1155 2019-10-13 Tom de Vries <tdevries@suse.de>
1158 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1159 * gdb.reverse/sigall-reverse.exp: Same.
1160 * gdb.reverse/solib-precsave.exp: Same.
1161 * gdb.reverse/solib-reverse.exp: Same.
1162 * gdb.reverse/step-precsave.exp: Same.
1163 * gdb.reverse/until-precsave.exp: Same.
1164 * gdb.reverse/until-reverse.exp: Same.
1165 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1167 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1169 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1170 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1171 (cmp_struct_05_01, cmp_struct_static_02_01)
1172 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1175 2019-10-10 Tom de Vries <tdevries@suse.de>
1178 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1181 2019-10-09 Tom de Vries <tdevries@suse.de>
1184 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1186 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1188 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1189 exceptions due to missing debug information.
1191 2019-10-07 Tom de Vries <tdevries@suse.de>
1193 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1195 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1197 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1198 * gdb.base/annota1.exp: Update to use gdb_test_name.
1200 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1202 * gdb.base/ctf-whatis.exp: New file.
1203 * gdb.base/ctf-whatis.c: New file.
1204 * gdb.base/ctf-ptype.exp: New file.
1205 * gdb.base/ctf-ptype.c: New file.
1206 * gdb.base/ctf-constvars.exp: New file.
1207 * gdb.base/ctf-constvars.c: New file.
1208 * gdb.base/ctf-cvexpr.exp: New file.
1210 2019-10-04 Tom de Vries <tdevries@suse.de>
1212 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1215 2019-10-03 Tom Tromey <tom@tromey.com>
1218 * gdb.rust/simple.rs (Union2): New type.
1220 * gdb.rust/simple.exp: Add test.
1222 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1224 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1225 nested function prefix.
1227 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1228 Richard Bunt <richard.bunt@arm.com>
1229 Andrew Burgess <andrew.burgess@embecosm.com>
1231 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1233 * gdb.fortran/nested-funcs.f90: Update expected results.
1234 * gdb.fortran/nested-funcs-2.exp: New file.
1235 * gdb.fortran/nested-funcs-2.f90: New file.
1237 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1239 * gdb.python/py-parameter.exp: Make test names unique.
1240 * gdb.python/py-template.exp: Likewise.
1241 * gdb.python/py-value.exp: Likewise.
1243 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1245 * gdb.base/break-interp.exp: Reduce test name duplication.
1246 * gdb.base/call-sc.exp: Likewise.
1247 * gdb.base/callfuncs.exp: Likewise.
1248 * gdb.base/charset.exp: Likewise.
1249 * gdb.base/dump.exp: Likewise.
1250 * gdb.base/ena-dis-br.exp: Likewise.
1251 * gdb.base/relational.exp: Likewise.
1252 * gdb.base/step-over-syscall.exp: Likewise.
1253 * gdb.base/structs.exp: Likewise.
1255 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1257 * gdb.linespec/explicit.exp: Make test names unique.
1258 * gdb.linespec/ls-errs.exp: Likewise.
1260 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1262 * gdb.reverse/break-precsave.exp: Make test names unique.
1263 * gdb.reverse/break-reverse.exp: Likewise.
1264 * gdb.reverse/finish-precsave.exp: Likewise.
1265 * gdb.reverse/finish-reverse.exp: Likewise.
1266 * gdb.reverse/machinestate-precsave.exp: Likewise.
1267 * gdb.reverse/machinestate.exp: Likewise.
1268 * gdb.reverse/readv-reverse.exp: Likewise.
1269 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1270 * gdb.reverse/sigall-precsave.exp: Likewise.
1271 * gdb.reverse/sigall-reverse.exp: Likewise.
1272 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1273 * gdb.reverse/watch-precsave.exp: Likewise.
1274 * gdb.reverse/watch-reverse.exp: Likewise.
1276 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1278 * gdb.threads/stop-with-handle.c: New file.
1279 * gdb.threads/stop-with-handle.exp: New file.
1281 2019-10-03 Tom de Vries <tdevries@suse.de>
1284 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1285 directory" line to be missing.
1287 2019-10-03 Tom de Vries <tdevries@suse.de>
1290 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1293 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1295 * gdb.python/py-format-string.c (string.h): New include.
1296 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1297 the same value, for endianness-independence.
1298 * gdb.python/py-format-string.exp (default_regexp_dict)
1299 (test_pretty_structs, test_format): Adjust expected output to the
1300 changed initialization.
1302 2019-10-02 Tom Tromey <tromey@adacore.com>
1304 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1306 2019-10-02 Pedro Alves <palves@redhat.com>
1307 Andrew Burgess <andrew.burgess@embecosm.com>
1309 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1311 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1312 (get_version_1): Print this_version_id and its address.
1313 Add extern "C" wrappers around interface functions.
1314 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1316 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1317 (get_version_2): Print this_version_id and its address.
1318 Add extern "C" wrappers around interface functions.
1319 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1320 <stddef.h> and "print-file-var.h".
1321 Add extern "C" wrappers around interface functions.
1322 [VERSION_ID_MAIN] (this_version_id): Define.
1323 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1324 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1325 up extern "C" blocks.
1326 * gdb.base/print-file-var.exp (test): New, factored out from top
1328 (top level): Test all combinations of attribute hidden or not,
1329 dlopen or not, and this_version_id symbol in main file or not.
1330 Compile tests as both C++ and C, make test names unique.
1332 2019-10-01 Tom Tromey <tom@tromey.com>
1334 * gdb.base/style.exp: Test "show logging filename".
1336 2019-10-01 Tom Tromey <tom@tromey.com>
1338 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1339 * gdb.base/style.exp: Add metadata style test.
1341 2019-10-01 Tom Tromey <tom@tromey.com>
1343 * gdb.base/style.exp: Test "pwd".
1345 2019-10-01 Tom Tromey <tom@tromey.com>
1347 * gdb.base/style.exp: Update tests.
1349 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1351 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1353 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1354 'five'. Use an all-ones bit pattern for each.
1355 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1356 to its changed values.
1358 2019-09-30 Tom Tromey <tromey@adacore.com>
1360 * gdb.rust/traits.rs: Disable all warnings.
1362 2019-09-29 Tom de Vries <tdevries@suse.de>
1364 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1366 2019-09-29 Tom de Vries <tdevries@suse.de>
1368 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1370 2019-09-27 Tom de Vries <tdevries@suse.de>
1372 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1374 2019-09-27 Tom de Vries <tdevries@suse.de>
1377 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1379 2019-09-26 Tom Tromey <tromey@adacore.com>
1381 * gdb.ada/py_taft.exp: New file.
1382 * gdb.ada/py_taft/main.adb: New file.
1383 * gdb.ada/py_taft/pkg.adb: New file.
1384 * gdb.ada/py_taft/pkg.ads: New file.
1386 2019-09-24 Tom de Vries <tdevries@suse.de>
1389 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1391 2019-09-22 Tom de Vries <tdevries@suse.de>
1393 * gdb.base/restore.exp: Allow register variables to be optimized out at
1396 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1398 * gdb.arch/spu-info.exp: Remove file.
1399 * gdb.arch/spu-info.c: Remove file.
1400 * gdb.arch/spu-ls.exp: Remove file.
1401 * gdb.arch/spu-ls.c: Remove file.
1403 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1404 * gdb.asm/spu.inc: Remove file.
1406 * gdb.base/dump.exp: Remove support for spu*-*-*.
1407 * gdb.base/stack-checking.exp: Likewise.
1408 * gdb.base/overlays.exp: Likewise.
1409 * gdb.base/ovlymgr.c: Likewise.
1410 * gdb.base/spu.ld: Remove file.
1412 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1413 * gdb.cp/cpexprs.exp: Likewise.
1414 * gdb.cp/exception.exp: Likewise.
1415 * gdb.cp/gdb2495.exp: Likewise.
1416 * gdb.cp/mb-templates.exp: Likewise.
1417 * gdb.cp/pr9167.exp: Likewise.
1418 * gdb.cp/userdef.exp: Likewise.
1420 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1422 * gdb.cell: Remove directory.
1423 * lib/cell.exp: Remove file.
1425 2019-09-19 Tom de Vries <tdevries@suse.de>
1427 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1429 2019-09-19 Tom de Vries <tdevries@suse.de>
1431 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1433 2019-09-19 Tom de Vries <tdevries@suse.de>
1435 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1436 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1437 (gdb_target_cmd): ... here.
1438 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1441 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1443 * gdb.base/source-dir.exp: Avoid having directory names in test
1446 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1448 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1451 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1453 * gdb.base/list-missing-source.exp: New file.
1455 2019-09-14 Tom de Vries <tdevries@suse.de>
1458 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1459 * lib/ada.exp (gnatmake_version_at_least): New proc.
1461 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1463 * gdb.base/maint.exp: Use exec_has_index_section.
1465 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1467 * gdb.base/maint.exp: Add test for 'maint info sections'.
1469 2019-09-12 Tom de Vries <tdevries@suse.de>
1471 * gdb.base/store.exp: Allow register variables to be optimized out at
1474 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1476 * gdb.ada/rdv_wait.exp: Update to new task names.
1477 * gdb.base/task_switch_in_core.exp: Likewise.
1478 * gdb.base/info_sources_base.c: Likewise.
1480 2019-09-10 Tom Tromey <tromey@adacore.com>
1482 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1484 2019-09-10 Tom Tromey <tromey@adacore.com>
1486 * gdb.ada/dgopt.exp: New file.
1487 * gdb.ada/dgopt/x.adb: New file.
1489 2019-09-08 Tom Tromey <tom@tromey.com>
1491 * gdb.tui/resize.exp: Remove setup_xfail.
1492 * gdb.tui/regs.exp: Remove setup_xfail.
1493 * gdb.tui/basic.exp: Remove setup_xfail.
1495 2019-09-06 David Blaikie <dblaikie@gmail.com>
1497 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1498 * gdb.cp/cplabel.exp: Ditto.
1499 * gdb.linespec/ls-errs.exp: Ditto.
1501 2019-09-05 Tom de Vries <tdevries@suse.de>
1503 * lib/gdb.exp (cmp_file_string): New proc.
1504 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1505 runto_main. Verify save breakpoints output.
1507 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1509 * gdb.base/info-var.exp: Test info variables without running
1510 to main, to avoid expect's buffer overflow.
1512 2019-09-03 Tom Tromey <tromey@adacore.com>
1514 * gdb.ada/bias.exp: New file.
1515 * gdb.ada/bias/bias.adb: New file.
1516 * gdb.ada/print_chars.exp: Add regression test.
1517 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1520 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1522 * gdb.base/argv0-symlink.exp: Run only on native target
1525 2019-08-29 Tom de Vries <tdevries@suse.de>
1527 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1529 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1531 2019-08-28 Tom de Vries <tdevries@suse.de>
1533 * gdb.base/info-var.exp: Allow info variables to print info for files
1534 other than info-var-f1.c and info-var-f2.c.
1536 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1538 * gdb.fortran/info-types.exp: Add module.
1539 * gdb.fortran/info-types.f90: Update expected results.
1541 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1543 * gdb.fortran/info-types.exp: New file.
1544 * gdb.fortran/info-types.f90: New file.
1545 * lib/fortran.exp (fortran_character1): New proc.
1547 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1549 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1550 functions'. Reindent as needed.
1551 * gdb.base/info-var-f1.c: New file.
1552 * gdb.base/info-var-f2.c: New file.
1553 * gdb.base/info-var.exp: New file.
1554 * gdb.base/info-var.h: New file.
1556 2019-08-26 Tom de Vries <tdevries@suse.de>
1559 * gdb.cp/no-libstdcxx-probe.exp: New test.
1561 2019-08-26 Tom de Vries <tdevries@suse.de>
1563 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1564 * tests need to be skipped.
1565 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1566 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1567 mi_skip_libstdcxx_probe_tests.
1569 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1571 * gdb.python/py-xmethods.exp: Use raw strings when passing
1572 arguments to SimpleXMethodMatcher.
1574 2019-08-22 Tom de Vries <tdevries@suse.de>
1576 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1579 2019-08-21 Pedro Alves <palves@redhat.com>
1581 * gdb.base/with.exp: Test "with" with no arguments.
1583 2019-08-21 Tom de Vries <tdevries@suse.de>
1585 * gdb.base/gdb-caching-proc.exp: Sort files.
1587 2019-08-20 Tom de Vries <tdevries@suse.de>
1589 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1592 2019-08-16 Tom de Vries <tdevries@suse.de>
1594 * gdb.base/compare-sections.exp ("after run to main"): Allow
1595 mismatched read-only sections for PIE executables.
1597 2019-08-16 Tom Tromey <tom@tromey.com>
1599 * lib/tuiterm.exp (_csi_Z): New proc.
1600 * gdb.tui/basic.exp: Update window positions.
1601 * gdb.tui/empty.exp: Update window positions.
1603 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1605 * gdb.base/examine-backward.exp: Correct regexp for
1606 "examine 3 bytes backward from ${address_zero}".
1608 2019-08-15 Tom Tromey <tom@tromey.com>
1610 * gdb.tui/empty.exp: Enable resizing tests.
1612 2019-08-15 Tom Tromey <tromey@adacore.com>
1614 * gdb.ada/char_enum.exp: Add regression tests.
1615 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1617 (Char, Gchar): Update.
1618 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1620 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1622 * gdb.python/python.exp: Expect a leading underscore on
1623 GdbOutput{,Error}File.
1625 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1627 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1630 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1632 * gdb.base/batch-preserve-term-settings.exp
1633 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1635 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1637 * lib/gdb.exp: When running on a mingw target, replace
1640 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1642 * gdb.arch/aarch64-prologue.c: New test.
1643 * gdb.arch/aarch64-prologue.exp: New file.
1645 2019-08-13 Tom de Vries <tdevries@suse.de>
1647 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1650 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1652 * gdb.python/py-completion.exp: Download the .py file to the host
1653 and use its host pathname. Conditionalize tests that use
1654 tab completion and manipulate files on the build machine.
1655 * gdb.python/py-events.exp: Download the .py file to the host
1656 and use its host pathname.
1657 * gdb.python/py-evsignal.exp: Likewise.
1658 * gdb.python/py-evthreads.exp: Likewise.
1659 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1661 * gdb.python/py-framefilter.exp: Download the .py file to the right
1662 place on the host. Match Windows pathname syntax.
1663 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1664 .py file to the host and use its host pathname.
1665 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1666 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1667 build pathname. Skip symlink test on Windows host. Add missing
1668 newline at end of file.
1669 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1670 and use its host pathname.
1671 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1672 * gdb.python/py-section-script.exp: Use host location of binfile
1673 on safe-path. Use correct path separator on Windows host.
1674 Reorder alternatives in gdb_test_multiple to prevent matching
1675 the wrong alternative on success.
1676 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1678 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1680 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1681 expect the GDB inferior to no longer immediately stop after
1682 being resumed with "signal SIGINT".
1684 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1686 * gdb.linespec/break-ask.exp: Generalize regexps to match
1687 Windows pathnames too.
1689 2019-08-08 Tom de Vries <tdevries@suse.de>
1692 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1694 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1696 * gdb.base/style.exp: Update tests for help doc new invariants.
1697 * gdb.base/help.exp: Likewise.
1699 2019-08-06 Tom Tromey <tom@tromey.com>
1701 * gdb.base/style.exp: Add disassemble test.
1702 * gdb.base/style.c (some_called_function): New function.
1705 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1707 * gdb.python/py-block.exp: Test dictionary access on blocks.
1709 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1712 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1713 -list-thread-groups --available test when running under
1716 2019-08-05 Tom de Vries <tdevries@suse.de>
1719 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1720 * gdb.base/help.exp: Use with_read1_timeout_factor.
1721 * gdb.base/info-macros.exp: Same.
1722 * gdb.cp/nested-types.exp: Same.
1724 2019-08-05 Tom de Vries <tdevries@suse.de>
1726 * lib/gdb.exp (version_at_least): Factor out of ...
1727 (tcl_version_at_least): ... here.
1728 (gdb_compile): Fail if pie results in non-PIE executable.
1729 (readelf_version, readelf_prints_pie): New proc.
1730 (exec_is_pie): Return -1 if unknown.
1732 2019-08-05 Tom de Vries <tdevries@suse.de>
1734 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1736 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1738 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1740 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1742 * lib/completion-support.exp (test_gdb_complete_none): Skip
1743 tab completion tests if no readline support.
1744 (test_gdb_complete_unique_re): Likewise.
1745 (test_gdb_complete_multiple): Likewise.
1747 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1749 * gdb.base/info_sources.exp: New file.
1750 * gdb.base/info_sources.c: New file.
1751 * gdb.base/info_sources_base.c: New file.
1753 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1755 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1757 (test_exit_status): Add prefix argument.
1759 2019-08-01 Tom de Vries <tdevries@suse.de>
1762 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1763 calling exp_continue for new thread and thread exited messages.
1765 2019-08-01 Tom de Vries <tdevries@suse.de>
1768 * gdb.base/structs.exp: Fix check-read1 timeout using
1770 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1772 2019-08-01 Tom de Vries <tdevries@suse.de>
1775 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1778 2019-08-01 Tom de Vries <tdevries@suse.de>
1781 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1783 2019-07-30 Tom Tromey <tromey@adacore.com>
1785 * gdb.ada/display_nested.exp: New file.
1786 * gdb.ada/display_nested/foo.adb: New file.
1787 * gdb.ada/display_nested/pack.adb: New file.
1788 * gdb.ada/display_nested/pack.ads: New file.
1790 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1792 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1794 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1796 2019-07-30 Tom de Vries <tdevries@suse.de>
1798 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1801 2019-07-30 Tom de Vries <tdevries@suse.de>
1804 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1805 (exec_is_pie): New proc.
1807 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1809 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1811 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1813 * gdb.python/py-objfile.c: Add global and static vars.
1814 * gdb.python/py-objfile.exp: Test new functions Objfile.
1815 lookup_global_symbol and lookup_static_symbol.
1817 2019-07-29 Tom Tromey <tom@tromey.com>
1819 * lib/tuiterm.exp (Term::_csi_@): New proc.
1820 (Term::_csi_X): Don't move cursor.
1822 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1824 * gdb.base/options.exp: Update backtrace - completion to
1825 new option -frame-info.
1826 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1827 Test new 'set print frame-info'. Test backtrace -frame-info
1828 overriding 'set print frame-info'.
1829 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1830 Test new 'set print frame-info'.
1831 Verify consistency of backtrace with and without filters, with and
1832 without -no-filters.
1833 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1836 2019-07-29 Tom de Vries <tdevries@suse.de>
1838 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1841 2019-07-29 Tom de Vries <tdevries@suse.de>
1843 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1844 is a substring of the first for "complete non-unique file name".
1846 2019-07-29 Tom de Vries <tdevries@suse.de>
1848 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1851 2019-07-29 Tom de Vries <tdevries@suse.de>
1853 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1854 Pass prompt_regexp parameter to gdb_test_multiple calls.
1856 2019-07-29 Tom de Vries <tdevries@suse.de>
1858 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1859 print registers" regexps.
1861 2019-07-29 Tom de Vries <tdevries@suse.de>
1863 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1865 2019-07-29 Tom de Vries <tdevries@suse.de>
1868 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1869 (skip_python_tests_prompt): Add prompt_regexp argument to
1870 gdb_test_multiple calls.
1872 2019-07-27 Tom Tromey <tom@tromey.com>
1874 * gdb.tui/main.exp: New file.
1876 2019-07-27 Tom Tromey <tom@tromey.com>
1878 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1880 * gdb.tui/empty.exp: New file.
1882 2019-07-27 Tom Tromey <tom@tromey.com>
1884 * lib/tuiterm.exp (spawn): New proc.
1885 (Term::resize): New proc.
1886 * gdb.tui/resize.exp: New file.
1888 2019-07-27 Tom Tromey <tom@tromey.com>
1890 * gdb.tui/list.exp: New file.
1892 2019-07-27 Tom Tromey <tom@tromey.com>
1894 * gdb.tui/regs.exp: New file.
1896 2019-07-27 Tom Tromey <tom@tromey.com>
1898 * gdb.tui/basic.exp: Add "layout split" test.
1900 2019-07-27 Tom Tromey <tom@tromey.com>
1902 * gdb.tui/basic.exp: Add "layout asm" test.
1904 2019-07-27 Tom Tromey <tom@tromey.com>
1906 * lib/tuiterm.exp: New file.
1907 * gdb.tui/basic.exp: New file.
1909 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1911 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1912 Enable tests associated with this flag. Adjust regex
1913 referencing "foo_low" to now refer to "foo_cold" instead.
1915 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1917 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1918 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1919 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1920 foo_cold. Revise comments to match.
1921 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1922 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1923 were wrapped into this proc; Call do_test in loop from outermost
1925 (foo_low): Rename all occurrences to "foo_cold".
1926 (backtrace from baz): New test.
1927 (x2/i foo_cold): New test.
1928 (info line *foo_cold): New test.
1930 2019-07-26 Tom de Vries <tdevries@suse.de>
1932 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1934 2019-07-25 Tom de Vries <tdevries@suse.de>
1937 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1938 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1939 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1940 (skip_libstdcxx_probe_tests): ... here.
1941 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1943 2019-07-24 Tom de Vries <tdevries@suse.de>
1946 * gdb.objc/basicclass.m: Include stdio.h.
1947 * gdb.objc/nondebug.m: Same.
1948 * gdb.objc/objcdecode.m: Same.
1950 2019-07-24 Tom de Vries <tdevries@suse.de>
1953 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1956 2019-07-24 Tom de Vries <tdevries@suse.de>
1959 * gdb.multi/tids.exp: Update error messages for info threads.
1961 2019-07-24 Tom de Vries <tdevries@suse.de>
1963 * gdb.base/info-types.exp: Allow info types to print info for more than
1966 2019-07-23 Tom de Vries <tdevries@suse.de>
1969 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1970 gdb_spawn_with_cmdline_opts.
1972 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1974 * gdb.arch/arm-cmse-sgstubs.c: New test.
1975 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1977 2019-07-23 Tom de Vries <tdevries@suse.de>
1980 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1981 issuing next command.
1983 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1985 * gdb.ada/info_auto_lang.exp: Update expected results.
1986 * gdb.base/info-types.c: Add additional types to check.
1987 * gdb.base/info-types.exp: Update expected results.
1989 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1991 * gdb.base/info-types.c: New file.
1992 * gdb.base/info-types.exp: New file.
1994 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1996 * gdb.arch/riscv-bp-infcall.c: New file.
1997 * gdb.arch/riscv-bp-infcall.exp: New file.
1999 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2001 PR breakpoints/24541
2002 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2004 2019-07-14 Tom de Vries <tdevries@suse.de>
2007 * gdb.objc/basicclass.exp: Fix unterminated string.
2009 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2010 Andrew Burgess <andrew.burgess@embecosm.com>
2012 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2013 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2015 * gdb.fortran/vla-value.exp: Print elements of an array with
2017 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2020 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2022 * gdb.base/options.exp (expect_string): Dequote strings in
2024 (test-string): Test strings with different quoting and reindent.
2026 2019-07-10 Tom Tromey <tromey@adacore.com>
2028 * gdb.ada/mi_ex_cond.exp: Update expected results.
2029 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2030 * gdb.ada/mi_catch_ex.exp: Update expected results.
2031 * gdb.ada/mi_catch_assert.exp: Update expected results.
2032 * gdb.ada/catch_ex.exp (catch_exception_info)
2033 (catch_exception_entry, catch_assert_entry)
2034 (catch_unhandled_entry): Update.
2035 * gdb.ada/catch_assert_if.exp: Update expected results.
2037 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2038 Stephen Roberts <stephen.roberts@arm.com>
2040 * gdb.base/define.exp: Restore original prompt.
2042 2019-07-09 Pedro Alves <palves@redhat.com>
2044 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2045 breakpoints" output.
2046 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2047 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2048 throw" creates breakpoint.
2049 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2050 'type="catchpoint"'.
2052 2019-07-09 Pedro Alves <palves@redhat.com>
2055 * gdb.cp/except-multi-location-lib.cc: New.
2056 * gdb.cp/except-multi-location-main.cc: New.
2057 * gdb.cp/except-multi-location.exp: New.
2059 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2061 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2062 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2063 argument and update callers.
2065 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2067 * gdb.arch/amd64-break-on-asm-line.S: New file.
2068 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2070 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2072 * gdb.base/printcmds.exp: Test printing C string and
2073 C wide string convenience vars without transiting via the inferior.
2074 Also make test names unique.
2076 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2078 PR breakpoints/25011
2079 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2081 2019-07-04 Pedro Alves <palves@redhat.com>
2083 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2084 body returned ok(0), break(3) or continue(4).
2085 * gdb.testsuite/foreach_with_prefix.exp: New file.
2087 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2089 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2091 2019-07-03 Pedro Alves <palves@redhat.com>
2093 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2096 2019-07-03 Pedro Alves <palves@redhat.com>
2099 * gdb.base/shell.exp: Load completion-support.exp.
2100 Adjust expected error output. Add completion tests.
2102 2019-07-03 Pedro Alves <palves@redhat.com>
2104 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2107 2019-07-03 Pedro Alves <palves@redhat.com>
2109 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2110 (expect_integer): Adjust to expect "-string".
2111 (expect_string): New.
2112 (all_options): Expect "-string".
2113 (test-flag, test-boolean): Adjust to expect "-string".
2114 (test-string): New proc.
2115 (top level): Call it.
2117 2019-07-03 Pedro Alves <palves@redhat.com>
2119 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2120 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2121 the expected output in the success.
2123 2019-07-03 Pedro Alves <palves@redhat.com>
2125 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2126 Split one gdb_test_multiple call in two to avoid a race.
2128 2019-07-03 Pedro Alves <palves@redhat.com>
2130 * gdb.base/with.c: New file.
2131 * gdb.base/with.exp: New file.
2133 2019-07-03 Pedro Alves <palves@redhat.com>
2135 * gdb.base/settings.exp: Replace all references to "maint
2136 test-settings set" with references to "maint set test-settings",
2137 and all references to "maint test-settings show" with references
2138 to "maint show test-settings".
2140 2019-07-03 Pedro Alves <palves@redhat.com>
2142 * gdb.base/settings.exp (test-string): Adjust expected out when
2143 testing "maint test-settings show filename"
2145 2019-07-02 Pedro Alves <palves@redhat.com>
2147 * gdb.base/options.exp (test-info-threads): New procedure.
2148 (top level): Call it.
2150 2019-06-28 Tom Tromey <tromey@adacore.com>
2152 * gdb.dwarf2/ada-linkage-name.c: New file.
2153 * gdb.dwarf2/ada-linkage-name.exp: New file.
2155 2019-06-27 Tom Tromey <tromey@adacore.com>
2158 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2160 2019-06-26 Tom de Vries <tdevries@suse.de>
2162 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2164 2019-06-26 Tom de Vries <tdevries@suse.de>
2166 * gdb.base/index-cache.exp: Add back missing debug option.
2168 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2170 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2172 2019-06-25 Tom de Vries <tdevries@suse.de>
2175 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2177 2019-06-24 Tom de Vries <tdevries@suse.de>
2179 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2181 2019-06-24 Tom de Vries <tdevries@suse.de>
2183 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2184 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2185 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2187 2019-06-24 Tom de Vries <tdevries@suse.de>
2189 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2191 2019-06-21 Tom de Vries <tdevries@suse.de>
2193 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2195 2019-06-21 Tom de Vries <tdevries@suse.de>
2199 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2202 2019-06-19 Tom Tromey <tromey@adacore.com>
2204 * gdb.ada/length_cond.exp: Add intro comment.
2206 2019-06-19 Tom Tromey <tromey@adacore.com>
2208 * gdb.ada/length_cond.exp: New file.
2209 * gdb.ada/length_cond/length_cond.adb: New file.
2210 * gdb.ada/length_cond/pck.adb: New file.
2211 * gdb.ada/length_cond/pck.ads: New file.
2213 2019-06-18 Tom de Vries <tdevries@suse.de>
2215 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2217 2019-06-18 Tom Tromey <tromey@adacore.com>
2219 * gdb.base/list0.h: Add comment explaining control character.
2221 2019-06-18 Tom de Vries <tdevries@suse.de>
2223 * boards/fission.exp: Break up long debug_flags line.
2225 2019-06-16 Tom de Vries <tdevries@suse.de>
2228 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2231 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2234 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2235 improve detection of bug gdb/24541.
2237 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2240 * gdb.base/index-cache.exp (uses_readnow,
2241 expecting_index_cache_use): Define global variable.
2242 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2243 expecting_index_cache_use.
2245 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2246 Andrew Burgess <andrew.burgess@embecosm.com>
2248 * gdb.fortran/pointers.f90: New file.
2249 * gdb.fortran/print_type.exp: New file.
2250 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2251 * gdb.fortran/vla-type.exp: Likewise.
2252 * gdb.fortran/vla-value.exp: Likewise.
2253 * gdb.mi/mi-vla-fortran.exp: Likewise.
2255 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2257 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2258 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2259 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2262 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2264 * gdb.base/annota1.exp: Update expected results.
2265 * gdb.cp/annota2.exp: Likewise.
2266 * gdb.cp/annota3.exp: Likewise.
2268 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2270 * gdb.base/style-logging.exp: Remove path from test name.
2272 2019-06-14 Tom Tromey <tromey@adacore.com>
2275 * gdb.base/style-logging.exp: New file.
2277 2019-06-14 Tom Tromey <tromey@adacore.com>
2279 * gdb.base/symfile-warn.exp: New file.
2280 * gdb.base/symfile-warn.c: New file.
2282 2019-06-14 Tom Tromey <tromey@adacore.com>
2284 * gdb.base/annotate-symlink.exp: New file.
2286 2019-06-14 Tom Tromey <tromey@adacore.com>
2288 * gdb.ada/set_wstr.exp: Add reassignment test.
2290 2019-06-14 Tom Tromey <tromey@adacore.com>
2292 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2293 'unchecked_access and 'unrestricted_access as well.
2295 2019-06-14 Tom Tromey <tromey@adacore.com>
2298 * gdb.ada/vla.exp: Update tests.
2299 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2302 2019-06-13 Pedro Alves <palves@redhat.com>
2304 * gdb.base/settings.exp (test-integer): Test junk after
2307 2019-06-13 Pedro Alves <palves@redhat.com>
2309 * gdb.base/options.exp (test-thread-apply): New.
2310 (top level): Call it.
2312 2019-06-13 Pedro Alves <palves@redhat.com>
2314 * gdb.base/options.exp (test-frame-apply): New.
2315 (top level): Test print commands with different "frame apply"
2318 2019-06-13 Pedro Alves <palves@redhat.com>
2320 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2321 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2322 'max_completions' parameter and handle it.
2323 (test_gdb_completion_offers_commands): New.
2325 2019-06-13 Pedro Alves <palves@redhat.com>
2327 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2329 2019-06-13 Pedro Alves <palves@redhat.com>
2331 * gdb.base/options.exp (test-backtrace): New.
2332 (top level): Call it.
2334 2019-06-13 Pedro Alves <palves@redhat.com>
2336 * gdb.guile/scm-frame-args.exp: Use "set print
2337 raw-frame-arguments" instead of "set print raw frame-arguments".
2338 * gdb.python/py-frame-args.exp: Likewise.
2340 2019-06-13 Pedro Alves <palves@redhat.com>
2342 * gdb.compile/compile.exp: Adjust expected output to option
2345 2019-06-13 Pedro Alves <palves@redhat.com>
2347 * gdb.base/options.exp: Build executable.
2348 (test-print): New procedure.
2349 (top level): Call it, once for "print" and another for "compile
2352 2019-06-13 Pedro Alves <palves@redhat.com>
2354 * gdb.base/options.c: New file.
2355 * gdb.base/options.exp: New file.
2357 2019-06-13 Pedro Alves <palves@redhat.com>
2359 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2360 that "o" is ambiguous.
2362 2019-06-13 Pedro Alves <palves@redhat.com>
2364 * gdb.base/settings.c: New file.
2365 * gdb.base/settings.exp: New file.
2367 2019-06-13 Pedro Alves <palves@redhat.com>
2369 * gdb.base/completion.exp: Fix comment typo.
2371 2019-06-13 Pedro Alves <palves@redhat.com>
2373 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2376 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2378 * gdb.fortran/block-data.f: New.
2379 * gdb.fortran/block-data.exp: New.
2381 2019-06-11 Tom de Vries <tdevries@suse.de>
2384 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2387 2019-06-11 Tom de Vries <tdevries@suse.de>
2390 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2392 2019-06-11 Tom de Vries <tdevries@suse.de>
2394 * boards/readnow.exp: New file.
2396 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2398 * gdb.fortran/vla-sizeof.exp: Update expected results.
2400 2019-06-06 Amos Bird <amosbird@gmail.com>
2402 * gdb.base/annota1.exp (thread_switch): Add test for
2403 thread-exited annotation.
2405 2019-06-06 Tom Tromey <tromey@adacore.com>
2407 * gdb.base/maint.exp: Expect command started/finished output.
2409 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2411 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2413 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2415 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2417 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2418 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2419 * gdb.arch/riscv-unwind-long-insn.c: New file.
2420 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2422 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2424 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2426 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2428 * lib/gdb.exp (help_list_trailer): New regexp variable
2429 factorizing the help trailer message.
2430 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2431 arg to allow to better factorize various tests.
2432 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2433 (test_prefix_command_help): Use help_list_trailer.
2434 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2435 * gdb.guile/scm-cmd.exp: Likewise.
2436 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2437 * gdb.base/help.exp: Use test_user_defined_class_help.
2438 * gdb.base/style.exp: Add tests for styling of help and apropos.
2439 * lib/gdb-utils.exp (style): Add title and highlight styles.
2441 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2443 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2445 * gdb.base/default.exp: Update for new convenience variables.
2447 2019-05-29 Tom Tromey <tromey@adacore.com>
2449 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2450 to "break complete ada" test case's regexp.
2452 2019-05-29 Tom Tromey <tromey@adacore.com>
2455 * gdb.cp/constexpr-field.exp: New file.
2456 * gdb.cp/constexpr-field.cc: New file.
2458 2019-05-29 Tom Tromey <tromey@adacore.com>
2460 * gdb.base/finish.exp (finish_no_print): New proc.
2461 (finish_tests): Call it.
2463 2019-05-24 Tom de Vries <tdevries@suse.de>
2465 * gdb.dwarf2/gdb-add-index.exp: New file.
2467 2019-05-22 Tom Tromey <tromey@adacore.com>
2469 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2470 * gdb.base/style.exp: Use "style".
2471 * lib/gdb-utils.exp (style): New proc.
2473 2019-05-22 Tom de Vries <tdevries@suse.de>
2475 * gdb.base/align.exp: Require c++11.
2477 2019-05-22 Tom de Vries <tdevries@suse.de>
2480 * gdb.python/py-mi-var-info-path-expression.exp: Call
2481 mi_skip_python_tests to check if python is supported.
2483 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2485 * gdb.arch/aarch64-pauth.c: New test.
2486 * gdb.arch/aarch64-pauth.exp: New file.
2488 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2490 * README (Re-running Tests Outside The Testsuite): New section.
2492 2019-05-21 Tom de Vries <tdevries@suse.de>
2494 * gdb.arch/amd64-eval.exp: Require c++11.
2495 * gdb.base/max-depth.exp: Same.
2496 * gdb.compile/compile-cplus-array-decay.exp: Same.
2497 * gdb.cp/meth-typedefs.exp: Same.
2498 * gdb.cp/subtypes.exp: Same.
2499 * gdb.cp/temargs.exp: Same.
2501 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2503 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2505 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2508 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2509 * gdb.fortran/printing-types.exp: Add new test.
2510 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2512 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2515 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2517 * README (Running the Testsuite): Change example.
2518 (Testsuite Parameters): Remove TRANSCRIPT.
2519 * lib/gdb.exp: Remove TRANSCRIPT check.
2521 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2523 * README (Testsuite Parameters): Add replay logging to
2525 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2526 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2527 as a comma separated list.
2528 (gdb_debug_init): Override procedure.
2530 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2532 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2533 (gdb_write_cmd_file): New procedure.
2534 * lib/gdbserver-support.exp (gdbserver_start): Call
2535 gdbserver_write_cmd_file.
2536 (gdbserver_write_cmd_file): New procedure.
2538 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2540 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2541 (delete_breakpoints): Likewise.
2542 (gdb_run_cmd): Likewise.
2543 (gdb_start_cmd): Likewise.
2544 (gdb_starti_cmd): Likewise.
2545 (gdb_internal_error_resync): Likewise.
2546 (gdb_test_multiple): Likewise.
2547 (gdb_reinitialize_dir): Likewise.
2548 (default_gdb_exit): Likewise.
2549 (gdb_file_cmd): Mark kill as optional.
2550 (default_gdb_start): Call gdb_stdin_log_init.
2551 (send_gdb): Call gdb_stdin_log_write.
2552 (rerun_to_main): Mark Y as an answer.
2553 (gdb_stdin_log_init): New function.
2554 (gdb_stdin_log_write): Likewise.
2556 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2558 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2559 * gdb.base/debug-expr.exp: Likewise.
2560 * gdb.base/foll-fork.exp: Likewise.
2561 * gdb.base/foll-vfork.exp: Likewise.
2562 * gdb.base/fork-print-inferior-events.exp: Likewise.
2563 * gdb.base/gdb-sigterm.exp: Likewise.
2564 * gdb.base/gdbinit-history.exp: Likewise.
2565 * gdb.base/osabi.exp: Likewise.
2566 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2567 * gdb.base/ui-redirect.exp: Likewise.
2568 * gdb.gdb/unittest.exp: Likewise.
2569 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2570 * gdb.mi/mi-watch.exp: Likewise.
2571 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2572 * gdb.mi/user-selected-context-sync.exp: Likewise.
2573 * gdb.python/python.exp: Disable debug test when debugging.
2574 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2575 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2577 * gdb.threads/stepi-random-signal.exp: Likewise.
2579 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2581 * Makefile.in: Pass through GDB_DEBUG.
2582 * README (Testsuite Parameters): Add GDB_DEBUG.
2583 (gdb,debug): Add board setting.
2584 * lib/gdb.exp (default_gdb_start): Start debugging.
2585 (gdb_debug_enabled): New procedure.
2586 (gdb_debug_init): Likewise.
2588 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2590 * Makefile.in: Pass through GDB_DEBUG.
2591 * README (Testsuite Parameters): Add GDB_DEBUG.
2592 (gdb,debug): Add board setting.
2593 * lib/gdb.exp (default_gdb_start): Start debugging.
2594 (gdb_debug_enabled): New procedure.
2595 (gdb_debug_init): Likewise.
2597 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2599 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2601 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2603 * gdb.base/ui-redirect.exp: Test redirection.
2605 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2607 * gdb.mi/mi-complete.exp: New file.
2608 * gdb.mi/mi-complete.cc: Likewise.
2610 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2612 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2613 indexed and sliced arrays, and pointers to arrays.
2615 2019-05-14 Tom Tromey <tromey@adacore.com>
2617 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2620 2019-05-14 Tom de Vries <tdevries@suse.de>
2622 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2623 selection entry encoding.
2625 2019-05-10 Tom Tromey <tromey@adacore.com>
2627 * gdb.ada/info_exc.exp: Add "complete" test.
2629 2019-05-09 Tom de Vries <tdevries@suse.de>
2631 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2634 2019-05-09 Tom de Vries <tdevries@suse.de>
2636 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2639 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2641 * gdb.ada/frame_arg_lang.exp: New testcase.
2642 * gdb.ada/frame_arg_lang/bla.adb: New file.
2643 * gdb.ada/frame_arg_lang/pck.ads: New file.
2644 * gdb.ada/frame_arg_lang/pck.adb: New file.
2645 * gdb.ada/frame_arg_lang/foo.c: New file.
2647 2019-05-08 Tom Tromey <tromey@adacore.com>
2649 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2651 2019-05-08 Tom Tromey <tromey@adacore.com>
2653 * gdb.base/ptype-offsets.exp: Update tests.
2655 2019-05-08 Tom Tromey <tromey@adacore.com>
2657 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2659 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2662 2019-05-08 Tom Tromey <tromey@adacore.com>
2664 * gdb.ada/vla.exp: New file.
2665 * gdb.ada/vla/vla.adb: New file.
2667 2019-05-07 Tom de Vries <tdevries@suse.de>
2669 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2671 2019-05-07 Tom de Vries <tdevries@suse.de>
2674 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2677 2019-05-07 Tom de Vries <tdevries@suse.de>
2680 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2681 .debug_aranges section.
2683 2019-05-07 Tom de Vries <tdevries@suse.de>
2686 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2688 2019-05-06 Tom de Vries <tdevries@suse.de>
2690 * lib/gdb.exp (exec_has_index_section): New proc.
2691 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2694 2019-05-04 Tom de Vries <tdevries@suse.de>
2696 * boards/cc-with-debug-names.exp: New file.
2698 2019-05-03 Tom Tromey <tromey@adacore.com>
2700 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2701 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2702 * gdb.ada/char_enum.exp: Add test.
2704 2019-05-03 Tom de Vries <tdevries@suse.de>
2706 * boards/cc-with-gdb-index.exp: New file.
2708 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2710 * gdb.rust/simple.exp: Add new test case.
2711 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2712 (main): Initialise an instance of the new struct.
2714 2019-05-01 Tom Tromey <tromey@adacore.com>
2716 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2718 (NPR): New variable.
2719 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2722 2019-05-01 Tom Tromey <tromey@adacore.com>
2724 * gdb.ada/packed_array_assign.exp: Add packed assignment
2727 2019-05-01 Tom de Vries <tdevries@suse.de>
2729 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2731 2019-05-01 Tom de Vries <tdevries@suse.de>
2733 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2735 2019-04-30 Ali Tamur <tamur@google.com>
2737 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2739 2019-04-30 Tom Tromey <tromey@adacore.com>
2741 * lib/ada.exp (find_ada_tool): New proc.
2742 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2743 * gdb.ada/catch_ex_std.exp: New file.
2744 * gdb.ada/catch_ex_std/foo.adb: New file.
2745 * gdb.ada/catch_ex_std/some_package.adb: New file.
2746 * gdb.ada/catch_ex_std/some_package.ads: New file.
2748 2019-04-30 Tom Tromey <tromey@adacore.com>
2751 * gdb.cp/temargs.cc: Add test code from PR.
2753 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2755 * gdb.fortran/vla-datatypes.exp: Update expected results.
2756 * gdb.fortran/vla-ptype.exp: Likewise.
2757 * gdb.fortran/vla-type.exp: Likewise.
2758 * gdb.fortran/vla-value.exp: Likewise.
2760 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2762 * gdb.fortran/ptr-indentation.exp: Update expected results.
2763 * gdb.fortran/ptype-on-functions.exp: Likewise.
2764 * gdb.fortran/vla-ptr-info.exp: Likewise.
2765 * gdb.fortran/vla-value.exp: Likewise.
2767 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2769 * gdb.fortran/ptype-on-functions.exp: New file.
2770 * gdb.fortran/ptype-on-functions.f90: New file.
2772 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2774 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2777 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2779 * gdb.fortran/complex.exp: Expand.
2780 * gdb.fortran/complex.f: Renamed to...
2781 * gdb.fortran/complex.f90: ...this, and extended to add more
2784 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2786 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2789 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2790 Richard Bunt <richard.bunt@arm.com>
2792 * gdb.base/max-depth.c: New file.
2793 * gdb.base/max-depth.exp: New file.
2794 * gdb.python/py-nested-maps.c: New file.
2795 * gdb.python/py-nested-maps.exp: New file.
2796 * gdb.python/py-nested-maps.py: New file.
2797 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2798 (test_all_common): Call test_max_depth.
2799 * gdb.fortran/max-depth.exp: New file.
2800 * gdb.fortran/max-depth.f90: New file.
2801 * gdb.go/max-depth.exp: New file.
2802 * gdb.go/max-depth.go: New file.
2803 * gdb.modula2/max-depth.exp: New file.
2804 * gdb.modula2/max-depth.c: New file.
2805 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2807 2019-04-29 Tom de Vries <tdevries@suse.de>
2809 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2811 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2813 * gdb.base/callexit.exp: Test may-call-functions off.
2815 2019-04-25 Keith Seitz <keiths@redhat.com>
2818 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2819 (another_incomplete_struct, test_incomplete): New definitions.
2820 (main): Use new definitions.
2821 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2824 2019-04-25 Ali Tamur <tamur@google.com>
2826 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2828 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2832 * gdb.base/coredump-filter-build-id.exp: New file.
2834 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2836 * Makefile.in: Pass through GDBSERVER_DEBUG.
2837 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2838 (gdbserver,debug): Add board setting.
2839 * gdb.trace/tspeed.exp: Skip when debugging.
2840 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2841 * lib/gdbserver-support.exp: Likewise
2843 2019-04-24 Tom Tromey <tromey@adacore.com>
2845 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2848 2019-04-24 Tom Tromey <tromey@adacore.com>
2850 * gdb.arch/amd64-eval.exp: Test bitfield return.
2851 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2852 (class Foo) <return_bitfields>: New method.
2855 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2857 * gdb.cp/many-args.cc: New file.
2858 * gdb.cp/many-args.exp: New file.
2860 2019-04-23 Tom de Vries <tdevries@suse.de>
2863 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2865 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2867 * gdb.trace/backtrace.exp: Use nopie flag.
2868 * gdb.trace/circ.exp: Likewise.
2869 * gdb.trace/collection.exp: Likewise.
2870 * gdb.trace/ftrace.exp: Likewise.
2871 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2872 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2873 * gdb.trace/qtro.exp: Likewise.
2874 * gdb.trace/read-memory.exp: Likewise.
2875 * gdb.trace/report.exp: Likewise.
2876 * gdb.trace/tfile.exp: Likewise.
2877 * gdb.trace/tfind.exp: Likewise.
2878 * gdb.trace/unavailable.exp: Likewise.
2880 2019-04-22 Pedro Alves <palves@redhat.com>
2882 * gdb.base/solib-probes-nosharedlibrary.c,
2883 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2885 2019-04-19 Tom Tromey <tromey@adacore.com>
2887 * gdb.ada/ptype_union.c: New file.
2888 * gdb.ada/ptype_union.exp: New file.
2890 2019-04-19 Tom Tromey <tromey@adacore.com>
2893 * gdb.base/list0.h (foo): Add a control-l character.
2895 2019-04-18 Tom de Vries <tdevries@suse.de>
2898 * boards/local-board.exp: Set sysroot to "".
2900 2019-04-18 Tom de Vries <tdevries@suse.de>
2901 Pedro Alves <palves@redhat.com>
2904 * gdb.threads/vfork-follow-child-exec.c: New file.
2905 * gdb.threads/vfork-follow-child-exec.exp: New file.
2906 * gdb.threads/vfork-follow-child-exit.c: New file.
2907 * gdb.threads/vfork-follow-child-exit.exp: New file.
2909 2019-04-15 Leszek Swirski <leszeks@google.com>
2911 * gdb.arch/amd64-eval.cc: New file.
2912 * gdb.arch/amd64-eval.exp: New file.
2914 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2916 * gdb.server/sysroot.c: New test.
2917 * gdb.server/sysroot.exp: New file.
2918 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2921 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2923 * gdb.base/align.exp: Extend test to cover structures containing
2926 2019-04-11 Tom de Vries <tdevries@suse.de>
2928 * boards/cc-with-dwz-m.exp: New file.
2929 * boards/cc-with-dwz.exp: New file.
2930 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2932 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2934 * gdb.base/start-cpp.exp: New file.
2935 * gdb.base/start-cpp.cc: New file.
2937 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2939 * gdb.python/py-thrhandle.exp: Adjust tests to call
2940 thread_from_handle instead of thread_from_thread_handle.
2942 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2944 * gdb.python/py-thrhandle.exp: Add tests for
2945 gdb.InferiorThread.handle.
2947 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2949 * gdb.python/py-function.exp: Check calling helper function from
2951 * lib/gdb.exp (gdb_supported_languages): New proc.
2953 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2955 * gdb.base/complex-parts.c: New file.
2956 * gdb.base/complex-parts.exp: New file.
2958 2019-04-01 Tom Tromey <tromey@adacore.com>
2961 * gdb.dwarf2/dw2-ranges-main.c: New file.
2962 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2963 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2965 2019-03-30 Simon Marchi <simark@simark.ca>
2967 * gdb.base/default.exp: Add values for $_gdb_major and
2970 2019-03-29 Tom Tromey <tromey@adacore.com>
2972 * gdb.base/help.exp: Tighten apropos regexp.
2974 2019-03-29 Keith Seitz <keiths@redhat.com>
2976 * gdb.fortran/array-bounds.exp: New file.
2977 * gdb.fortran/array-bounds.f90: New file.
2979 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2981 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2983 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2985 * gdb.multi/hello.c (main): Increase alarm timer.
2987 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2989 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2990 factor when no hardware watchpoint support.
2992 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2993 Pedro Alves <palves@redhat.com>
2995 * boards/local-board.exp: set sysroot to /.
2997 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2999 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3002 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3004 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3006 (make_container): Initialise new field.
3007 * gdb.python/py-prettyprint.exp: Add new tests.
3008 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3009 <display_hint>: New method.
3011 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3013 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3014 gdb_continue_to_breakpoint more throughout this test.
3015 (run_lang_tests) Supply unique test names, and use
3018 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3020 * gdb.base/finish-pretty.exp: Update expected results.
3021 * gdb.base/pretty-print.c: New file.
3022 * gdb.base/pretty-print.exp: New file.
3024 2019-03-25 Pedro Alves <palves@redhat.com>
3026 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3027 move comments outside list. Append '-i "" eof' section.
3029 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3032 * README: Add pie options.
3033 * gdb.base/break-interp.exp: Ensure pie is disabled.
3034 * gdb.base/dump.exp: Likewise.
3035 * lib/gdb.exp (gdb_compile): Add pie option.
3037 2019-03-19 Tom Tromey <tromey@adacore.com>
3039 * gdb.mi/mi2-cli-display.c: New file.
3040 * gdb.mi/mi2-cli-display.exp: New file.
3042 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3043 Tom Tromey <tromey@adacore.com>
3045 * gdb.ada/ptype_array/pck.adb: New file.
3046 * gdb.ada/ptype_array/pck.ads: New file.
3047 * gdb.ada/ptype_array/foo.adb: New file.
3048 * gdb.ada/ptype_array.exp: New file.
3050 2019-03-14 Tom Tromey <tromey@adacore.com>
3052 * gdb.base/style.exp: Add "set style sources" test.
3054 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3056 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3057 * mi-breakpoint-multiple-locations.exp: ... this.
3058 (make_breakpoints_pattern): New proc.
3059 (do_test): Add mi_version parameter, test -break-insert,
3060 -break-info and =breakpoint-created.
3062 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3064 * config/default.exp: Remove 'load_lib gdb.exp'.
3065 * config/monitor.exp: Likewise.
3066 * config/sid.exp: Likewise.
3067 * config/sim.exp: Likewise.
3068 * config/slite.exp: Likewise.
3069 * config/unix.exp: Likewise.
3070 * gdb.base/default.exp: Remove unhelpful comment.
3072 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3074 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3076 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3078 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3080 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3082 * gdb.fortran/type-kinds.exp: Update expected results.
3084 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3086 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3088 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3090 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3092 (test_basic_parsing_of_type_kinds): Expand types tested.
3093 (test_parsing_invalid_type_kinds): New function.
3095 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3097 * gdb.fortran/intrinsics.exp: New file.
3098 * gdb.fortran/intrinsics.f90: New file.
3099 * gdb.fortran/type-kinds.exp: New file.
3101 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3103 * gdb.fortran/dot-ops.exp: New file.
3105 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3107 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3108 Check upper and lower case logical literals.
3110 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3112 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3113 Remove duplicate tests.
3115 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3117 * lib/gdb.exp (builtin_cd): rename of cd.
3118 (cd): Override builtin.
3120 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3122 * gdb.fortran/function-calls.exp: New file.
3123 * gdb.fortran/function-calls.f90: New test.
3125 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3127 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3128 on user program standard output.
3129 * gdb.fortran/short-circuit-argument-list.f90: Record function
3132 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3134 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3137 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3140 * gdb.base/interrupt-daemon-attach.c,
3141 gdb.base/interrupt-daemon-attach.exp: New test.
3143 2019-02-27 Pedro Alves <palves@redhat.com>
3145 * gdb.base/page.exp: Add tests for "set width/height -1".
3147 2019-02-27 Pedro Alves <palves@redhat.com>
3149 * gdb.base/page.exp: Add tests for "set/show width/height" with
3152 2019-02-27 Tom Tromey <tromey@adacore.com>
3154 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3156 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3159 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3161 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3162 tests for structs with static members.
3164 2019-02-26 Tom Tromey <tromey@adacore.com>
3166 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3167 ValueError, not TypeError.
3169 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3171 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3172 call from main program.
3174 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3176 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3177 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3178 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3179 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3180 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3182 2019-02-22 Keith Seitz <keiths@redhat.com>
3185 * gdb.base/symlink-sourcefile.c: New file.
3186 * gdb.base/symlink-sourcefile.exp: New file.
3188 2019-02-20 Tom Tromey <tom@tromey.com>
3190 * gdb.base/info_qt.exp: Update.
3192 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3194 * gdb.base/source.exp: Move "error in sourced script" code to
3196 * gdb.base/source-error.gdb: Move contents to
3197 source-error-1.gdb. Add new code to source source-error-1.gdb.
3198 * gdb.base/source-error-1.gdb: New file, from previous
3201 2019-02-17 Tom Tromey <tom@tromey.com>
3203 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3205 * gdb.base/style.c (SOME_MACRO): New macro.
3207 2019-02-17 Tom Tromey <tom@tromey.com>
3209 * gdb.base/style.exp: Add line-wrapping tests.
3210 * gdb.base/page.exp: Add test for quitting during pagination.
3212 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3214 * gdb.ada/big_packed_array: New testcase.
3215 * gdb.ada/homonym.exp: Fix incorrect expected output for
3216 "break <homonym__get_value>" test.
3218 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3220 PR breakpoints/21870
3221 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3222 and prepare_for_testing. Add comment.
3223 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3224 redundant cleanup call. Clean up comment.
3226 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3228 PR breakpoints/21870
3229 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3230 * gdb.arch/aarch64-dbreg-contents.c: New file.
3232 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3234 * gdb.ada/mi_ref_changeable: New testcase.
3236 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3238 * gdb.base/attach.exp: Add double attach test.
3240 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3242 * lib/gdb.exp (default_gdb_start): Don't match pagination
3244 (gdb_init): Set stty_init.
3246 2019-01-27 Tom Tromey <tom@tromey.com>
3248 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3251 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3253 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3255 (struct struct_static_02_02): Likewise.
3256 (struct struct_static_02_03): Likewise.
3257 (struct struct_static_02_04): Likewise.
3258 (struct struct_static_04_01): Likewise.
3259 (struct struct_static_04_02): Likewise.
3260 (struct struct_static_04_03): Likewise.
3261 (struct struct_static_04_04): Likewise.
3262 (struct struct_static_06_01): Likewise.
3263 (struct struct_static_06_02): Likewise.
3264 (struct struct_static_06_03): Likewise.
3265 (struct struct_static_06_04): Likewise.
3266 (cmp_struct_static_02_01): Likewise.
3267 (cmp_struct_static_02_02): Likewise.
3268 (cmp_struct_static_02_03): Likewise.
3269 (cmp_struct_static_02_04): Likewise.
3270 (cmp_struct_static_04_01): Likewise.
3271 (cmp_struct_static_04_02): Likewise.
3272 (cmp_struct_static_04_03): Likewise.
3273 (cmp_struct_static_04_04): Likewise.
3274 (cmp_struct_static_06_01): Likewise.
3275 (cmp_struct_static_06_02): Likewise.
3276 (cmp_struct_static_06_03): Likewise.
3277 (cmp_struct_static_06_04): Likewise.
3278 (call_all): Test new structs.
3279 * gdb.base/infcall-nested-structs.exp: Likewise.
3281 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3282 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3284 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3285 * gdb.base/stack-protector.c: New test.
3286 * gdb.base/stack-protector.exp: New file.
3287 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3288 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3290 (gdb_compile): Remove stack protector for GCC and prevent
3293 2019-01-16 Keith Seitz <keiths@redhat.com>
3296 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3298 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3300 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3302 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3304 * gdb.arch/powerpc-vector-regs.c: New file.
3305 * gdb.arch/powerpc-vector-regs.exp: New file.
3307 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3309 * gdb.arch/altivec-regs.exp: Fix the list passed to
3310 gdb_expect_list when testing "info vector".
3312 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3314 * gdb.base/style.exp: Don't include path in testname.
3316 2019-01-10 Keith Seitz <keiths@redhat.com>
3320 * gdb.dwarf2/multidictionary.exp: New file.
3322 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3324 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3325 (test_gnuv3_style_demangling): ... this.
3326 (test_lucid_style_demangling): Remove.
3327 (test_arm_style_demangling): Remove.
3328 (test_hp_style_demangling): Remove.
3329 (do_tests): Remove calls to the above.
3331 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3333 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3336 2019-01-06 Tom Tromey <tom@tromey.com>
3339 * gdb.dwarf2/typedef-void-finish.exp: New file.
3341 2018-12-28 Tom Tromey <tom@tromey.com>
3342 Simon Marchi <simark@simark.ca>
3344 * gdb.base/jit-exec.exp: New file.
3345 * gdb.base/jit-exec.c: New file.
3346 * gdb.base/jit-execd.c: New file.
3348 2018-12-28 Tom Tromey <tom@tromey.com>
3350 * gdb.base/style.exp: Update test to check for address styling.
3352 2018-12-28 Tom Tromey <tom@tromey.com>
3354 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3357 2018-12-28 Tom Tromey <tom@tromey.com>
3359 * gdb.base/style.exp: Add test for version number styling.
3361 2018-12-28 Tom Tromey <tom@tromey.com>
3363 * gdb.base/style.exp: Add test for print_address_symbolic.
3365 2018-12-28 Tom Tromey <tom@tromey.com>
3367 * gdb.base/style.exp: Add test for breakpoint setting.
3369 2018-12-28 Tom Tromey <tom@tromey.com>
3371 * gdb.base/style.exp: Add test for variable names.
3373 2018-12-28 Tom Tromey <tom@tromey.com>
3375 * gdb.base/style.exp: New file.
3376 * gdb.base/style.c: New file.
3378 2018-12-28 Tom Tromey <tom@tromey.com>
3380 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3382 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3383 the TERM environment variable.
3385 2018-12-27 Tom Tromey <tom@tromey.com>
3387 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3390 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3392 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3393 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3395 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3397 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3398 Filename a.adb changed to bp_fun_addr.adb.
3399 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3401 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3403 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3404 non-PIE executables.
3405 * README: Mention the gdb,nopie_flag board setting.
3406 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3408 * gdb.arch/amd64-entry-value.exp: Likewise.
3409 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3410 * gdb.arch/i386-float.exp: Likewise.
3411 * gdb.arch/i386-signal.exp: Likewise.
3412 * gdb.mi/mi-reg-undefined.exp: Likewise.
3414 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3417 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3419 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3421 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3422 Update order of results accordingly.
3424 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3426 * gdb.base/annota1.exp: Update a test regexp.
3428 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3430 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3432 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3434 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3435 (reuse_time): Initialize to REUSE_TIME_CAP.
3436 (check_rc): New function.
3437 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3438 Check pthread_create rc.
3439 (spawner_thread_func): Check pthread_create and pthread_join rc.
3441 2018-12-08 Pedro Alves <palves@redhat.com>
3443 * gdb.base/list.exp (test_forward_search): Rename to ...
3444 (test_forward_reverse_search): ... this. Also test reverse-search
3445 and the forward-search alias.
3447 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3449 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3450 local timeout variable before return, and remove all local timeout
3452 (gdb_load): Likewise.
3454 2018-12-01 Tom de Vries <tdevries@suse.de>
3456 * gdb.base/gdb-caching-proc.exp: New file.
3458 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3460 * Makefile.in (TIMESTAMP): New variable.
3461 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3463 (check-single-racy): Likewise.
3464 (check/%.exp): Likewise.
3465 (check-racy/%.exp): Likewise.
3466 (workers/%.worker): Likewise.
3467 (build-perf): Likewise.
3468 (check-perf): Likewise.
3469 * README: Describe new "TS" and "TS_FORMAT" variables.
3470 * print-ts.py: New file.
3472 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3475 * gdb.python/python.exp: Test command repetition after
3478 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3480 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3481 is correctly aligned.
3483 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3485 * gdb.ada/info_auto_lang.exp: New testcase.
3486 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3487 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3488 * gdb.ada/info_auto_lang/some_c.c: New file.
3490 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3492 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3493 FUNC_lang language syntax.
3495 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3497 * gdb.base/info_minsym.c: New file.
3498 * gdb.base/info_minsym.exp: New file.
3500 2018-11-19 Tom Tromey <tom@tromey.com>
3503 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3504 * gdb.rust/expr.exp: Update expected output. Change one test.
3506 2018-11-19 Tom Tromey <tom@tromey.com>
3508 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3510 2018-11-19 Pedro Alves <palves@redhat.com>
3512 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3513 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3514 see the expected warning.
3516 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3519 * gdb.cp/infcall-nodebug-lib.c: New test.
3520 * gdb.cp/infcall-nodebug-main.c: New test.
3521 * gdb.cp/infcall-nodebug.exp: New file.
3523 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3525 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3528 2018-11-09 Tom de Vries <tdevries@suse.de>
3530 * gdb.base/msym-lang.c: New test.
3531 * gdb.base/msym-lang.exp: New file.
3532 * gdb.base/msym-lang-main.c: New test.
3534 2018-11-08 Tom Tromey <tom@tromey.com>
3538 * gdb.base/warning.exp: New file.
3540 2018-11-08 Jan Beulich <jbeulich@suse.com>
3542 * testsuite/gdb.arch/i386-avx512.c,
3543 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3545 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3547 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3550 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3552 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3553 * gdb.dwarf2/missing-type-name.exp: New file.
3555 2018-11-06 Tom de Vries <tdevries@suse.de>
3557 * gdb.base/many-headers.c: New test.
3558 * gdb.base/many-headers.exp: New file.
3560 2018-11-06 Jim Wilson <jimw@sifive.com>
3562 * gdb.base/code_elim.exp: For riscv, set additional_flags
3563 to include -msmall-data-limit=0.
3565 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3567 * gdb.ada/watch_minus_l: New testcase.
3569 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3571 * gdb.arch/aix-sighandle.c: New file.
3572 * gdb.arch/aix-sighandle.exp: New file.
3574 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3576 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3577 registers being unions.
3579 2018-10-31 Tom de Vries <tdevries@suse.de>
3581 * lib/valgrind.exp: New file.
3582 (vgdb_start, vgdb_stop): New procs, factored out of ...
3583 * gdb.base/valgrind-bt.exp: ... here, ...
3584 * gdb.base/valgrind-disp-step.exp: ... here and ...
3585 * gdb.base/valgrind-infcall.exp: ... here.
3587 2018-10-31 Tom de Vries <tdevries@suse.de>
3589 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3591 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3593 * gdb.dwarf2/void-type.c: New file.
3594 * gdb.dwarf2/void-type.exp: New file.
3596 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3598 * gdb.base/info_qt.c: New file.
3599 * gdb.base/info_qt.exp: New file.
3601 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3603 * gdb.arch/powerpc-htm-regs.c: New file.
3604 * gdb.arch/powerpc-htm-regs.exp: New file.
3606 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3608 * gdb.arch/powerpc-tar.c: New file.
3609 * gdb.arch/powerpc-tar.exp: New file.
3611 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3613 * gdb.arch/powerpc-ppr-dscr.c: New file.
3614 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3616 2018-10-25 Tom de Vries <tdevries@suse.de>
3618 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3620 2018-10-24 Tom de Vries <tdevries@suse.de>
3622 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3623 longer exists error.
3625 2018-10-24 Tom de Vries <tdevries@suse.de>
3627 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3629 2018-10-24 Tom de Vries <tdevries@suse.de>
3631 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3632 --db-attach in valgrind.
3634 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3636 * gdb.arch/riscv-reg-aliases.c: New file.
3637 * gdb.arch/riscv-reg-aliases.exp: New file.
3639 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3641 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3643 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3645 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3647 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3649 * gdb.cp/ovldbreak.exp: Fix regexps.
3651 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3653 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3655 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3658 * gdb.base/restore.exp: New test to check if "restore" with an
3659 invalid file doesn't segfault.
3661 2018-10-18 Tom de Vries <tdevries@suse.de>
3663 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3664 * gdb.ada/excep_handle.exp: Same.
3665 * gdb.ada/mi_string_access.exp: Same.
3666 * gdb.ada/mi_var_union.exp: Same.
3667 * gdb.arch/arc-analyze-prologue.exp: Same.
3668 * gdb.arch/arc-decode-insn.exp: Same.
3669 * gdb.base/readnever.exp: Same.
3670 * gdb.fortran/printing-types.exp: Same.
3671 * gdb.guile/scm-lazy-string.exp: Same.
3673 2018-10-16 Tom de Vries <tdevries@suse.de>
3676 * gdb.base/catch-follow-exec.c: Add copyright notice.
3677 * gdb.base/catch-follow-exec.exp: Rewrite to use
3678 gdb_spawn_with_cmdline_opts. Require gdb-native.
3680 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3682 * gdb.trace/actions-changed.exp: Check for arch support.
3683 * gdb.trace/actions.exp: Likewise.
3684 * gdb.trace/ax.exp: Likewise.
3685 * gdb.trace/backtrace.exp: Likewise.
3686 * gdb.trace/change-loc.exp: Likewise.
3687 * gdb.trace/deltrace.exp: Likewise.
3688 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3689 * gdb.trace/ftrace.exp: Likewise.
3690 * gdb.trace/infotrace.exp: Check for arch support.
3691 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3692 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3693 * gdb.trace/mi-tsv-changed.exp: Likewise.
3694 * gdb.trace/packetlen.exp: Likewise.
3695 * gdb.trace/passc-dyn.exp: Likewise.
3696 * gdb.trace/passcount.exp: Likewise.
3697 * gdb.trace/pending.exp: Likewise.
3698 * gdb.trace/range-stepping.exp: Check for shlib support.
3699 * gdb.trace/report.exp: Check for arch support.
3700 * gdb.trace/save-trace.exp: Likewise.
3701 * gdb.trace/signal.exp: Check for signal support.
3702 * gdb.trace/tfind.exp: Check for arch support.
3703 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3704 * gdb.trace/trace-common.h: Add comment.
3705 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3706 * gdb.trace/trace-enable-disable.exp: Likewise.
3707 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3708 * gdb.trace/tracecmd.exp: Check for arch support.
3709 * gdb.trace/tspeed.exp: Check for shlib and target support.
3710 * gdb.trace/tstatus.exp: Check for arch support.
3711 * gdb.trace/tsv.exp: Likewise.
3712 * gdb.trace/while-dyn.exp: Likewise.
3713 * gdb.trace/while-stepping.exp: Likewise.
3714 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3716 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3718 * gdb.trace/tspeed.exp: Remove nowarnings.
3719 (prepare_for_trace_test): Declare "global ipalib".
3720 * gdb.trace/tspeed.c: Include unistd.h.
3721 (main): Remove superfluous printf argument.
3723 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3725 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3726 directory prefix on the filename.
3728 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3730 * gdb.gdb/unittest.exp: Update expected message informing that
3731 selftests have been disabled.
3732 * gdb.server/unittest.exp: Likewise.
3734 2018-10-09 Tom de Vries <tdevries@suse.de>
3736 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3739 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3742 * gdb.cp/virtbase2.cc: New file.
3743 * gdb.cp/virtbase2.exp: New file.
3745 2018-10-06 Tom Tromey <tom@tromey.com>
3748 * gdb.python/py-inferior.exp: Add architecture test.
3750 2018-10-06 Tom Tromey <tom@tromey.com>
3752 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3753 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3755 2018-10-06 Tom Tromey <tom@tromey.com>
3757 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3758 of a "throw" catchpoint.
3760 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3762 * gdb.base/info-proc.exp: Update string expected from "help info
3765 2018-10-04 Tom Tromey <tom@tromey.com>
3767 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3768 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3769 (test_initial_complaints, test_empty_complaints): Update.
3770 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3772 2018-10-04 Tom Tromey <tom@tromey.com>
3775 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3776 * lib/gdb.exp (gdb_file_cmd): Update.
3777 * gdb.stabs/weird.exp (print_weird_var): Update.
3778 * gdb.server/solib-list.exp: Update.
3779 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3780 * gdb.mi/mi-cli.exp: Update.
3781 * gdb.linespec/linespec.exp: Update.
3782 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3783 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3784 * gdb.cp/cp-relocate.exp: Update.
3785 * gdb.base/sym-file.exp: Update.
3786 * gdb.base/relocate.exp: Update.
3787 * gdb.base/readnever.exp: Update.
3788 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3789 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3790 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3791 * gdb.base/code_elim.exp: Update.
3792 * gdb.base/break-unload-file.exp (test_break): Update.
3793 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3794 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3796 * gdb.base/attach.exp (do_attach_tests): Update.
3797 * gdb.base/sepdebug.exp: Update.
3798 * gdb.python/py-section-script.exp: Update.
3800 2018-10-04 Tom Tromey <tom@tromey.com>
3803 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3804 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3807 2018-10-04 Tom Tromey <tom@tromey.com>
3809 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3810 set width and height to 0.
3811 (test_command_line_attach_run): Use -quiet.
3813 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3815 * lib/gdb.exp (skip_ifunc_tests): New.
3816 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3817 other compile failures.
3818 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3820 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3822 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3823 is_amd64_regs_target.
3825 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3827 * gdb.arch/aarch64-sighandler-regs.c: New test.
3828 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3829 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3831 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3833 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3836 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3838 * gdb.base/frame-selection.exp: New file.
3839 * gdb.base/frame-selection.c: New file.
3841 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3843 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3847 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3849 * gdb.base/large-frame-1.c: New file.
3850 * gdb.base/large-frame-2.c: New file.
3851 * gdb.base/large-frame.exp: New file.
3852 * gdb.base/large-frame.h: New file.
3854 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3857 * gdb.base/write_mem.exp: New test.
3858 * gdb.base/write_mem.c: Likewise.
3860 2018-09-23 Tom Tromey <tom@tromey.com>
3863 * gdb.python/py-parameter.exp: Add test for parameter that throws
3866 2018-09-23 Tom Tromey <tom@tromey.com>
3869 * gdb.python/py-template.exp (test_template_arg): Add test for
3870 negative template argument number.
3872 2018-09-23 Tom Tromey <tom@tromey.com>
3875 * gdb.python/python.exp: Add test for post_event error.
3877 2018-09-23 Tom Tromey <tom@tromey.com>
3880 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3881 convert pointers to int and long.
3883 2018-09-23 Tom Tromey <tom@tromey.com>
3886 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3887 signed-ness conversion tests.
3889 2018-09-23 Tom Tromey <tom@tromey.com>
3892 * gdb.python/py-value.exp (test_float_conversion): New proc.
3895 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3897 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3899 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3901 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3903 * gdb.base/utf8-identifiers.exp: Likewise.
3904 * gdb.cp/cpcompletion.exp: Likewise.
3905 * gdb.linespec/cpcompletion.exp: Likewise.
3906 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3907 * gdb.linespec/cpls-ops.exp: Likewise.
3909 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3910 Chris January <chris.january@arm.com>
3912 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3913 * gdb.fortran/short-circuit-argument-list.exp: New file.
3914 * gdb.fortran/short-circuit-argument-list.f90: New test.
3916 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3918 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3919 "arch=" keyword when executing "-stack-list-frames".
3921 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3923 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3924 "arch=" keyword when executing "-stack-list-frames".
3926 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3928 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3931 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3934 * gdb.python/python.exp: Test gdb.execute("show commands").
3936 2018-09-16 Tom Tromey <tom@tromey.com>
3938 * gdb.base/new-ui.exp (do_execution_tests): Update.
3939 * gdb.base/dbx.exp (test_breakpoints): Update.
3941 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3943 * lib/gdb.exp (gdb_simple_compile): Add proc.
3944 (is_elf_target): Use gdb_simple_compile.
3945 (skip_altivec_tests): Likewise.
3946 (skip_vsx_tests): Likewise.
3947 (skip_tsx_tests): Likewise.
3948 (skip_btrace_tests): Likewise.
3949 (skip_btrace_pt_tests): Likewise.
3950 (gdb_can_simple_compile): Likewise.
3951 (gdb_has_argv0): Likewise.
3952 (gdb_target_symbol_prefix): Likewise.
3953 (target_supports_scheduler_locking): Likewise.
3955 2018-09-13 Tom Tromey <tom@tromey.com>
3957 * Makefile.in (TAGS): Recognize proc_with_prefix and
3960 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3962 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3965 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3967 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3968 and a few other Inferior properties when the Inferior is no
3971 2018-09-13 Tom Tromey <tom@tromey.com>
3974 * gdb.rust/simple.exp: Add test for enum field access error.
3976 2018-09-13 Tom Tromey <tom@tromey.com>
3979 * gdb.rust/simple.rs (EmptyEnum): New type.
3981 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3983 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3985 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3986 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3987 * gdb.python/py-symtab.exp: Update test printing an objfile.
3989 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3991 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3994 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3996 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3997 (support_complex_tests): Use gdb_can_simple_compile.
3998 (is_ilp32_target): Likewise.
3999 (is_lp64_target): Likewise.
4000 (is_64_target): Likewise.
4001 (is_amd64_regs_target): Likewise.
4002 (is_aarch32_target): Likewise.
4003 (gdb_int128_helper): Likewise.
4005 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4007 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4009 2018-09-10 Jerome Guitton <guitton@adacore.com>
4011 * gdb.ada/same_component_name: Add test for case of tagged record
4012 with variable-length fields.
4014 2018-09-10 Xavier Roirand <roirand@adacore.com>
4016 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4017 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4018 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4019 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4021 2018-09-10 Xavier Roirand <roirand@adacore.com>
4023 * gdb.ada/mi_string_access.exp: New testcase.
4024 * gdb.ada/mi_string_access/bar.adb: New file.
4025 * gdb.ada/mi_string_access/pck.adb: New file.
4026 * gdb.ada/mi_string_access/pck.asd: New file.
4028 2018-09-10 Xavier Roirand <roirand@adacore.com>
4030 * gdb.ada/mi_var_union.exp: New testcase.
4031 * gdb.ada/mi_var_union/bar.adb: New file.
4032 * gdb.ada/mi_var_union/pck.adb: New file.
4033 * gdb.ada/mi_var_union/pck.asd: New file.
4035 2018-09-08 Tom Tromey <tom@tromey.com>
4037 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4039 2018-09-08 Tom Tromey <tom@tromey.com>
4042 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4043 (register_pretty_printers): Register new printer.
4044 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4046 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4047 (an_int_type3): New global.
4049 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4051 * gdb.ada/expr_with_funcall: New testcase.
4053 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4055 * gdb.ada/packed_array_assign: New testcase.
4057 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4059 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4060 names, and add test prefixes to make test names unique.
4062 2018-09-05 Tom de Vries <tdevries@suse.de>
4064 * gdb.dwarf2/varval.exp: Add test.
4066 2018-09-04 Gary Benson <gbenson@redhat.com>
4068 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4069 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4071 2018-08-31 Tom Tromey <tom@tromey.com>
4073 * gdb.rust/simple.rs: Rename second variable "v".
4075 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4077 * gdb.base/funcargs.c (use_a): New function.
4078 (recurse): Call use_a.
4080 2018-08-29 Keith Seitz <keiths@redhat.com>
4082 * gdb.compile/compile-cplus-anonymous.cc: New file.
4083 * gdb.compile/compile-cplus-anonymous.exp: New file.
4084 * gdb.compile/compile-cplus-array-decay.cc: New file.
4085 * gdb.compile/compile-cplus-array-decay.exp: New file.
4086 * gdb.compile/compile-cplus-inherit.cc: New file.
4087 * gdb.compile/compile-cplus-inherit.exp: New file.
4088 * gdb.compile/compile-cplus-member.cc: New file.
4089 * gdb.compile/compile-cplus-member.exp: New file.
4090 * gdb.compile/compile-cplus-method.cc: New file.
4091 * gdb.compile/compile-cplus-method.exp: New file.
4092 * gdb.compile/compile-cplus-mod.c: "New" file.
4093 * gdb.compile/compile-cplus-namespace.cc: New file.
4094 * gdb.compile/compile-cplus-namespace.exp: New file.
4095 * gdb.compile/compile-cplus-nested.cc: New file.
4096 * gdb.compile/compile-cplus-nested.exp: New file.
4097 * gdb.compile/compile-cplus-print.c: "New" file.
4098 * gdb.compile/compile-cplus-print.exp: "New" file.
4099 * gdb.compile/compile-cplus-virtual.cc: New file.
4100 * gdb.compile/compile-cplus-virtual.exp: New file.
4101 * gdb.compile/compile-cplus.c: "New" file.
4102 * gdb.compile/compile-cplus.exp: "New" file.
4103 * lib/compile-support.exp: New file.
4105 2018-08-16 Gary Benson <gbenson@redhat.com>
4108 * gdb.base/batch-exit-status.exp: New file.
4109 * gdb.base/batch-exit-status.good-commands: Likewise.
4110 * gdb.base/batch-exit-status.bad-commands: Likewise.
4112 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4114 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4115 (struct struct02): Likewise.
4116 (struct struct03): Likewise.
4117 (struct struct04): Likewise.
4118 (struct struct_01_01): New struct.
4119 (struct struct_01_02): Likewise.
4120 (struct struct_01_03): Likewise.
4121 (struct struct_01_04): Likewise.
4122 (struct struct_02_01): Likewise.
4123 (struct struct_02_02): Likewise.
4124 (struct struct_02_03): Likewise.
4125 (struct struct_02_04): Likewise.
4126 (struct struct_04_01): Likewise.
4127 (struct struct_04_02): Likewise.
4128 (struct struct_04_03): Likewise.
4129 (struct struct_04_04): Likewise.
4130 (struct struct_05_01): Likewise.
4131 (struct struct_05_02): Likewise.
4132 (struct struct_05_03): Likewise.
4133 (struct struct_05_04): Likewise.
4134 (cmp_struct01): Remove function.
4135 (cmp_struct02): Likewise.
4136 (cmp_struct03): Likewise.
4137 (cmp_struct04): Likewise.
4138 (cmp_struct_01_01): Add Function.
4139 (cmp_struct_01_02): Likewise.
4140 (cmp_struct_01_03): Likewise.
4141 (cmp_struct_01_04): Likewise.
4142 (cmp_struct_02_01): Likewise.
4143 (cmp_struct_02_02): Likewise.
4144 (cmp_struct_02_03): Likewise.
4145 (cmp_struct_02_04): Likewise.
4146 (cmp_struct_04_01): Likewise.
4147 (cmp_struct_04_02): Likewise.
4148 (cmp_struct_04_03): Likewise.
4149 (cmp_struct_04_04): Likewise.
4150 (cmp_struct_05_01): Likewise.
4151 (cmp_struct_05_02): Likewise.
4152 (cmp_struct_05_03): Likewise.
4153 (cmp_struct_05_04): Likewise.
4154 (call_all): Add new structs.
4155 * gdb.base/infcall-nested-structs.exp: Likewise.
4157 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4159 * gdb.python/py-framefilter-mi.exp: Update regexp to
4160 check for "arch" field in frame output.
4162 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4164 * gdb.dwarf2/dw2-ranges-func.c: New file.
4165 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4167 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4169 * gdb.base/term.exp: Compare terminal settings with values from
4171 * gdb.base/term.c: Get and set terminal settings.
4173 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4175 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4176 accommodate new "arch" field in frame output.
4177 * gdb.mi/mi-return.exp: Likewise.
4178 * gdb.mi/mi-stack.exp: Likewise.
4179 * gdb.mi/mi-syn-frame.exp: Likewise.
4180 * gdb.mi/user-selected-context-sync.exp: Likewise.
4182 2018-08-19 Michael Spang <spang@google.com>
4185 * gdb.base/gcore-tls-pie.c: New file.
4186 * gdb.base/gcore-tls-pie.exp: New file.
4188 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4190 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4191 * gdb.dwarf2/varval.c: New file.
4192 * gdb.dwarf2/varval.exp: New file.
4194 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4197 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4199 2018-08-16 Keith Seitz <keiths@redhat.com>
4201 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4202 tests expected to pass.
4204 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4206 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4207 -data-disassemble -a.
4208 (test_disassembly_bogus_args): Likewise.
4210 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4212 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4214 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4216 * gdb.base/vla-optimized-out.exp: Add new test.
4218 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4220 * gdb.base/vla-optimized-out-o3.exp: Delete.
4221 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4222 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4225 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4228 * gdb.server/extended-remote-restart.c: New file.
4229 * gdb.server/extended-remote-restart.exp: New file.
4231 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4233 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4234 "set variable index = 42".
4236 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4238 * boards/index-cache-gdb.exp: New file.
4239 * gdb.dwarf2/index-cache.exp: New file.
4240 * gdb.dwarf2/index-cache.c: New file.
4241 * gdb.base/maint.exp: Check if we are using the index cache.
4243 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4245 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4248 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4250 * dg-extract-results.sh: Move to toplevel contrib.
4251 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4252 * Makefile.in (check-parallel-racy): Likewise.
4254 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4256 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4257 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4258 tests if the target supports scheduler locking.
4260 2018-08-04 Tom de Vries <tdevries@suse.de>
4262 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4264 2018-08-02 Tom Tromey <tom@tromey.com>
4267 * gdb.cp/temargs.exp: Test "info address" of a template
4270 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4272 * gdb.python/py-mi-var-info-path-expression.c: New file.
4273 * gdb.python/py-mi-var-info-path-expression.py: New file.
4274 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4276 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4278 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4279 error after "cannot resolve name" string.
4281 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4283 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4285 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4287 2018-07-28 Tom de Vries <tdevries@suse.de>
4289 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4291 2018-07-26 Tom de Vries <tdevries@suse.de>
4293 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4295 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4297 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4300 2018-07-26 Tom de Vries <tdevries@suse.de>
4302 PR breakpoints/23366
4303 * gdb.base/catch-follow-exec.c: New test.
4304 * gdb.base/catch-follow-exec.exp: New file.
4306 2018-07-25 Tom de Vries <tdevries@suse.de>
4308 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4309 vla-optimized-out.c.
4311 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4313 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4314 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4316 2018-07-20 Tom de Vries <tdevries@suse.de>
4318 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4320 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4322 2018-07-19 Tom de Vries <tdevries@suse.de>
4324 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4327 2018-07-18 Tom de Vries <tdevries@suse.de>
4329 * gdb.base/vla-optimized-out.c: New test.
4330 * gdb.base/vla-optimized-out.exp: New file.
4332 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4334 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4335 message "No address associated with hostname" when gdbserver
4336 cannot resolve the hostname.
4338 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4340 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4341 Add some test prefixes to make tests unique.
4343 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4345 * gdb.base/frameapply.c: New file.
4346 * gdb.base/frameapply.exp: New file.
4348 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4350 * gdb.base/skip.exp: Update expected error message.
4352 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4353 Jan Kratochvil <jan.kratochvil@redhat.com>
4354 Paul Fertser <fercerpav@gmail.com>
4355 Tsutomu Seki <sekiriki@gmail.com>
4357 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4359 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4361 * boards/native-gdbserver.exp: Likewise.
4362 * gdb.server/run-without-local-binary.exp: Improve regexp used
4363 for detecting when a remote debugging connection succeeds.
4364 * gdb.server/server-connect.exp: New file.
4365 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4366 Do not prefix the port number with ":".
4367 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4368 support for detecting and using it. Add '$debughost_gdbserver'
4369 to the list of arguments used to start gdbserver. Handle case
4370 when gdbserver cannot resolve a network name.
4372 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4375 * gdb.base/ptype-offsets.cc (struct static_member): New
4377 (main) <stmember>: New variable.
4378 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4379 with a static member in it.
4381 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4383 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4384 watchpoints enabled and disabled.
4386 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4388 * gdb.base/examine-backward.exp: Still run tests around address
4389 0x0, even if address 0x0 is not readable. Update the pattern for
4390 matching address 0x0 in expected output.
4392 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4394 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4397 2018-07-04 Tom de Vries <tdevries@suse.de>
4399 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4401 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4404 * gdb.arch/mips-disassembler-options.exp: New test.
4405 * gdb.arch/mips-disassembler-options.s: New test source.
4407 2018-06-29 Pedro Alves <palves@redhat.com>
4409 * gdb.threads/names.exp: Adjust expected "info threads" output.
4411 2018-06-29 Pedro Alves <palves@redhat.com>
4413 * gdb.opt/inline-break.exp (line number, address): Add "info
4416 2018-06-29 Pedro Alves <palves@redhat.com>
4418 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4419 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4420 number and address and running to them.
4422 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4424 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4426 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4428 * lib/compiler.c: Remove executable permission flag.
4430 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4432 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4434 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4436 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4438 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4440 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4442 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4443 address argument is omitted.
4445 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4447 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4449 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4452 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4453 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4455 2018-06-26 Tom Tromey <tom@tromey.com>
4458 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4459 * gdb.rust/simple.rs (struct SimpleLayout): New.
4461 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4463 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4464 "info registers" output.
4466 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4468 * gdb.base/watchpoint-hw-attach.c: New test.
4469 * gdb.base/watchpoint-hw-attach.exp: New file.
4471 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4473 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4475 * boards/dwarf4-gdb-index.exp: Likewise.
4476 * boards/fission-dwp.exp: Likewise.
4478 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4480 * gdb.base/float128.exp: Add comment and improved fail message
4481 to the failure case of "print large128" test.
4483 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4485 * configure.ac: Remove AC_PREREQ.
4486 * configure: Re-generate.
4488 2018-06-19 Pedro Alves <palves@redhat.com>
4490 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4491 (func_extern_caller): New.
4492 (main): Call func_extern_caller.
4493 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4496 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4499 * gdb.cp/typedef-base.cc: New file.
4500 * gdb.cp/typedef-base.exp: New file.
4502 2018-06-18 Tom de Vries <tdevries@suse.de>
4504 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4506 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4507 Richard Bunt <Richard.Bunt@arm.com>
4509 * gdb.threads/attach-slow-waitpid.c: New file.
4510 * gdb.threads/attach-slow-waitpid.exp: New file.
4511 * gdb.threads/slow-waitpid.c: New file.
4513 2018-06-14 Pedro Alves <palves@redhat.com>
4515 * gdb.base/fork-running-state.c: Include <errno.h>.
4516 (exit_if_relative_exits): New.
4517 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4519 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4522 2018-06-14 Tom de Vries <tdevries@suse.de>
4525 * gdb.base/finish-pretty.c: New test.
4526 * gdb.base/finish-pretty.exp: New file.
4528 2018-06-14 Pedro Alves <palves@redhat.com>
4530 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4531 gdb's expected startup output.
4533 2018-06-14 Pedro Alves <palves@redhat.com>
4535 * lib/selftest-support.exp (selftest_setup): Remove inlined
4538 2018-06-14 Tom de Vries <tdevries@suse.de>
4540 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4541 matching of breakpoint printing.
4543 2018-06-13 Tom de Vries <tdevries@suse.de>
4546 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4547 (fork_child): ... here, and ...
4548 (fork_parent): ... here.
4550 2018-06-12 Tom de Vries <tdevries@suse.de>
4552 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4554 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4555 Stephen Roberts <stephen.roberts@arm.com>
4557 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4558 rewrite test to describe action performed, rather than possible
4561 2018-06-08 Gary Benson <gbenson@redhat.com>
4563 * gdb.threads/check-libthread-db.exp: New file.
4564 * gdb.threads/check-libthread-db.c: Likewise.
4566 2018-06-05 Tom Tromey <tom@tromey.com>
4568 * gdb.base/default.exp: Update expected "show version" output.
4570 2018-06-05 Tom Tromey <tom@tromey.com>
4573 * gdb.cp/static-print-quit.exp: Update.
4574 * lib/gdb.exp (pagination_prompt): Update.
4575 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4576 * gdb.python/python.exp: Update.
4578 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4580 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4582 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4584 * gdb.ada/bp_fun_addr: New testcase.
4586 2018-06-01 Tom Tromey <tom@tromey.com>
4588 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4590 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4591 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4592 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4593 * gdb.base/maint.exp (maint_pass_if): Update.
4595 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4597 * gdb.base/endian.exp: New test.
4598 * gdb.base/endian.c: New test source.
4600 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4603 * gdb.base/bt-selected-frame.c: New file.
4604 * gdb.base/bt-selected-frame.exp: New file.
4605 * lib/gdb.exp (get_current_frame_number): New function.
4607 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4608 Pedro Alves <palves@redhat.com>
4610 * gdb.threads/tls-core.c: Include <stdlib.h>
4611 (thread_proc): Call `abort'.
4612 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4613 (tls_core_test): New procedure, bits factored out from ...
4614 (top level): ... here. Test both native cores and gcore cores.
4616 2018-05-23 Tom Tromey <tom@tromey.com>
4618 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4620 2018-05-23 Tom Tromey <tom@tromey.com>
4622 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4624 (test_short_complaints): Likewise.
4625 (test_empty_complaints): Likewise.
4626 (test_initial_complaints): Update.
4628 2018-05-23 Tom Tromey <tom@tromey.com>
4630 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4632 2018-05-23 Tom Tromey <tom@tromey.com>
4634 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4635 (test_short_complaints): Update.
4637 2018-05-22 Pedro Alves <palves@redhat.com>
4639 * gdb.base/remote.exp: Only gdb_start after compiling the
4640 testcase. Issue "disconnect" before testing "set remote" command
4641 defaults. Issue clean_restart before running to main.
4643 2018-05-22 Pedro Alves <palves@redhat.com>
4645 * gdb.base/remote.exp: Adjust expected output of "show remote
4646 memory-write-packet-size". Add tests for "set remote
4647 memory-write-packet-size 0" and "set remote
4648 memory-write-packet-size fixed/limit".
4650 2018-05-22 Pedro Alves <palves@redhat.com>
4653 * gdb.base/utf8-identifiers.c: New file.
4654 * gdb.base/utf8-identifiers.exp: New file.
4656 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4658 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4660 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4662 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4664 2018-05-18 Tom Tromey <tom@tromey.com>
4666 * gdb.base/ptype-offsets.exp: Update.
4668 2018-05-17 Keith Seitz <keiths@redhat.com>
4670 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4671 in expected breakpoint stop locations.
4672 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4673 move to proper scope to test variable values.
4674 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4675 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4677 (main): Call not_inline_func3.
4678 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4679 inline_func1, inline_func2, and inline_func3. Test that when each
4680 breakpoint is hit, GDB properly reports both the stop location
4681 and the backtrace. Repeat tests for temporary breakpoints.
4683 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4685 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4686 rather then trying to access it in determining whether the PID
4687 of `gdbserver' could have been retrieved.
4689 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4691 * gdb.arch/amd64-init-x87-values.S: New file.
4692 * gdb.arch/amd64-init-x87-values.exp: New file.
4694 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4696 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4698 2018-05-04 Tom Tromey <tom@tromey.com>
4701 * gdb.python/python.exp: Test multi-line execute.
4703 2018-05-04 Tom Tromey <tom@tromey.com>
4706 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4708 2018-05-04 Tom Tromey <tom@tromey.com>
4711 * gdb.base/define.exp: Test defining a user command inside a user
4713 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4715 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4716 Pedro Alves <palves@redhat.com>
4718 PR breakpoints/19806 and support for PR external/20207.
4719 * gdb.base/watchpoint-unaligned.c: New file.
4720 * gdb.base/watchpoint-unaligned.exp: New file.
4722 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4724 * gdb.base/maint.exp: Make test names unique, use
4725 test_prefix_command_help to test 'help maint info', and remove
4726 repeated test of 'help maint'.
4728 2018-05-04 Tom Tromey <tom@tromey.com>
4731 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4734 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4736 * gdb.base/maint.exp: Process output from 'maint print registers'
4739 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4741 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4744 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4746 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4749 2018-05-02 Pedro Alves <palves@redhat.com>
4751 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4752 to_log_command renames.
4753 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4755 2018-05-02 Tom Tromey <tom@tromey.com>
4757 * gdb.python/py-parameter.exp: Set test message.
4759 2018-05-02 Tom Tromey <tom@tromey.com>
4762 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4763 PARAM_ZUINTEGER_UNLIMITED tests.
4765 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4768 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4771 2018-04-30 Tom Tromey <tom@tromey.com>
4773 * gdb.python/py-type.exp: Check align attribute.
4774 * gdb.python/py-type.c: New "aligncheck" global.
4776 2018-04-30 Tom Tromey <tom@tromey.com>
4779 * gdb.dwarf2/dw2-align.exp: New file.
4780 * gdb.cp/align.exp: New file.
4781 * gdb.base/align.exp: New file.
4782 * lib/gdb.exp (gdb_int128_helper): New proc.
4783 (has_int128_c, has_int128_cxx): New caching procs.
4785 2018-04-27 Tom Tromey <tom@tromey.com>
4788 * gdb.rust/simple.exp: Add inclusive range tests.
4790 2018-04-26 Pedro Alves <palves@redhat.com>
4792 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4793 ifunc breakpoint locations correctly of ifunc breakpoints set
4794 while the program resolves the ifunc.
4796 2018-04-26 Pedro Alves <palves@redhat.com>
4798 * gdb.base/gnu-ifunc-final.c: New file.
4799 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4800 * gdb.base/gnu-ifunc.exp (executable): Delete.
4801 (staticexecutable): Adjust.
4802 (lib_opts, exec_opts): Delete.
4803 (make_binsuffix, build, set-break): New procedures.
4804 (misc_tests): New, with tests factored out from the top level.
4805 (top level): Test different combinations of ifunc resolver name,
4806 resolver with and with debug info, and ifunc target with and
4807 without debug info. Wrap static tests with with_target_prefix.
4809 2018-04-26 Pedro Alves <palves@redhat.com>
4811 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4812 return type" warnings.
4814 2018-04-25 Pedro Alves <palves@redhat.com>
4816 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4818 * gdb.base/kill-after-signal.exp: Likewise.
4819 * gdb.threads/kill.exp: Likewise.
4821 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4822 Sergio Durigan Junior <sergiodj@redhat.com>
4823 Pedro Alves <palves@redhat.com>
4825 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4826 regexps to expect for '[Inferior ... detached]' as well.
4827 * gdb.base/attach.exp: Likewise.
4828 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4829 "gdb_continue_to_end".
4830 (test_catch_syscall_with_wrong_args): Likewise.
4831 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4832 ']'. Don't set 'verbose' on.
4833 * gdb.base/foll-vfork.exp: Likewise.
4834 * gdb.base/fork-print-inferior-events.c: New file.
4835 * gdb.base/fork-print-inferior-events.exp: New file.
4836 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4837 '[Inferior ... has been killed]' message.
4838 * gdb.base/kill-after-signal.exp: Likewise.
4839 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4841 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4843 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4844 regexps to expect for '[Inferior ... detached]' as well.
4845 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4847 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4850 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4852 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4855 * gdb.base/break-probes.exp: Pass shlib_load to
4856 prepare_for_testing. Set normal_bp to r_debug_state if target is
4859 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4861 * gdb.threads/multiple-successive-infcall.c: New test.
4862 * gdb.threads/multiple-successive-infcall.exp: New file.
4864 2018-04-17 Tom Tromey <tom@tromey.com>
4866 * gdb.rust/simple.rs (Union): New type.
4867 (main): New local "u".
4868 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4870 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4872 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4873 number information in output of "whereis" command.
4874 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4876 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4878 * gdb.ada/info_types.exp: Adjust expected output to the line
4879 numbers now printed by "info var/func/type".
4880 * gdb.base/completion.exp: Likewise.
4881 * gdb.base/included.exp: Likewise.
4882 * gdb.cp/cp-relocate.exp: Likewise.
4883 * gdb.cp/cplusfuncs.exp: Likewise.
4884 * gdb.cp/namespace.exp: Likewise.
4885 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4887 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4889 * gdb.btrace/cpu.exp: New.
4891 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4893 * gdb.base/step-indirect-call-thunk.exp: New.
4894 * gdb.base/step-indirect-call-thunk.c: New.
4895 * gdb.reverse/step-indirect-call-thunk.exp: New.
4896 * gdb.reverse/step-indirect-call-thunk.c: New.
4898 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4900 * gdb.base/pie-fork.c: New file.
4901 * gdb.base/pie-fork.exp: New file.
4903 2018-04-11 Tom Tromey <tom@tromey.com>
4905 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4907 2018-04-10 Pedro Alves <palves@redhat.com>
4909 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4910 exits. Instead loop running forever.
4911 (fork_parent): Run forever too.
4913 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4915 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4916 mi_continue_to_line.
4917 * gdb.mi/mi-stack.c (callee4): Add comment.
4919 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4921 * gdb.mi/mi-stack.exp: Fix indentation.
4923 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4926 * gdb.arch/amd64-osabi.exp: New file.
4928 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4931 * gdb.base/osabi.exp: New file.
4933 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4935 * gdb.cp/static-typedef-print.exp: New file.
4936 * gdb.cp/static-typedef-print.cc: New file.
4938 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4940 * gdb.ada/varsize_limit: New testcase.
4942 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4944 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4946 * gdb.ada/notcplusplus: New testcase.
4948 * gdb.base/c-linkage-name.c: New file.
4949 * gdb.base/c-linkage-name.exp: New testcase.
4951 2018-03-26 Tom Tromey <tom@tromey.com>
4953 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4954 * gdb.python/py-framefilter.py (name_error): New global.
4955 (ErrorInName.function): Use name_error.
4957 2018-03-26 Tom Tromey <tom@tromey.com>
4960 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4962 2018-03-23 Keith Seitz <keiths@redhat.com>
4965 * gdb.cp/subtypes.exp: New file.
4966 * gdb.cp/subtypes.h: New file.
4967 * gdb.cp/subtypes.cc: New file.
4968 * gdb.cp/subtypes-2.cc: New file.
4970 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4972 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4973 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4974 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4975 -nostartfiles when compiling the test. Confirm that all registers
4976 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4978 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4980 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4981 option, syntax was wrong anyway.
4982 * gdb.arch/arm-disp-step.exp: Likewise.
4983 * gdb.arch/sparc64-regs.exp: Likewise.
4984 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4985 option, syntax was wrong anyway, switch to use
4986 prepare_for_testing.
4987 * gdb.arch/i386-disp-step.exp: Likewise.
4989 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4991 * gdb.ada/exec_changed.exp: Replace "target_info exists
4992 use_gdb_stub" by "use_gdb_stub".
4993 * gdb.ada/start.exp: Likewise.
4994 * gdb.base/async-shell.exp: Likewise.
4995 * gdb.base/attach-pie-misread.exp: Likewise.
4996 * gdb.base/attach-wait-input.exp: Likewise.
4997 * gdb.base/break-entry.exp: Likewise.
4998 * gdb.base/break-interp.exp: Likewise.
4999 * gdb.base/dprintf-detach.exp: Likewise.
5000 * gdb.base/nostdlib.exp: Likewise.
5001 * gdb.base/solib-nodir.exp: Likewise.
5002 * gdb.base/statistics.exp: Likewise.
5003 * gdb.base/testenv.exp: Likewise.
5004 * gdb.mi/mi-exec-run.exp: Likewise.
5005 * gdb.mi/mi-start.exp: Likewise.
5006 * gdb.multi/dummy-frame-restore.exp: Likewise.
5007 * gdb.multi/multi-arch-exec.exp: Likewise.
5008 * gdb.multi/multi-arch.exp: Likewise.
5009 * gdb.multi/tids.exp: Likewise.
5010 * gdb.multi/watchpoint-multi.exp: Likewise.
5011 * gdb.python/py-events.exp: Likewise.
5012 * gdb.threads/attach-into-signal.exp: Likewise.
5013 * gdb.threads/attach-stopped.exp: Likewise.
5014 * gdb.threads/threadapply.exp: Likewise.
5015 * lib/selftest-support.exp: Likewise.
5017 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5019 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5021 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5023 * gdb.perf/template-breakpoints.cc: New file.
5024 * gdb.perf/template-breakpoints.exp: New file.
5025 * gdb.perf/template-breakpoints.py: New file.
5027 2018-03-19 Tom Tromey <tom@tromey.com>
5029 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5031 * gdb.rust/simple.exp: Test bare identifier form of struct
5034 2018-03-19 Tom Tromey <tom@tromey.com>
5036 * gdb.gdb/observer.exp: Remove.
5038 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5040 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5041 "qualified" option when setting breakpoints.
5042 * gdb.trace/backtrace.exp: Likewise.
5043 * gdb.trace/circ.exp: Likewise.
5044 * gdb.trace/collection.exp: Likewise.
5045 * gdb.trace/disconnected-tracing.exp: Likewise.
5046 * gdb.trace/ftrace-lock.exp: Likewise.
5047 * gdb.trace/ftrace.exp: Likewise.
5048 * gdb.trace/infotrace.exp: Likewise.
5049 * gdb.trace/packetlen.exp: Likewise.
5050 * gdb.trace/passc-dyn.exp: Likewise.
5051 * gdb.trace/qtro.exp: Likewise.
5052 * gdb.trace/read-memory.exp: Likewise.
5053 * gdb.trace/report.exp: Likewise.
5054 * gdb.trace/signal.exp: Likewise.
5055 * gdb.trace/status-stop.exp: Likewise.
5056 * gdb.trace/strace.exp: Likewise.
5057 * gdb.trace/tfind.exp: Likewise.
5058 * gdb.trace/trace-break.exp: Likewise.
5059 * gdb.trace/trace-condition.exp: Likewise.
5060 * gdb.trace/trace-mt.exp: Likewise.
5061 * gdb.trace/tstatus.exp: Likewise.
5062 * gdb.trace/tsv.exp: Likewise.
5063 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5064 * gdb.trace/unavailable.exp: Likewise.
5065 * gdb.trace/while-dyn.exp: Likewise.
5067 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5069 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5070 that libinproctrace is copied to the target.
5072 2018-03-14 Tom Tromey <tom@tromey.com>
5075 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5077 * gdb.base/wchar.exp: Likewise.
5079 2018-03-14 Tom Tromey <tom@tromey.com>
5082 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5085 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5088 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5089 "target" to remote_exec.
5091 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5094 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5095 ${board}_upload): Remove.
5097 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5099 * gdb.cp/watch-cp.cc: New test.
5100 * gdb.cp/watch-cp.exp: New file.
5102 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5104 * gdb.base/infcall-nested-structs.exp: New file.
5105 * gdb.base/infcall-nested-structs.c: New file.
5106 * gdb.base/float.exp: Add riscv support.
5108 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5110 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5111 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5113 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5115 * gdb.server/abspath.exp: New file.
5116 * lib/gdb.exp (with_cwd): New procedure.
5118 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5120 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5122 (gdb_is_target_remote_prompt): New proc.
5123 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5124 (gdb_is_target_native): Pass prompt parameter to
5127 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5129 * gdb.base/load-command.c: New file.
5130 * gdb.base/load-command.exp: New file.
5131 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5132 (gdb_is_target_1): ...this, and generalize for other targets
5134 (gdb_is_target_remote): Use gdb_is_target_1.
5135 (gdb_is_target_native): use gdb_is_target_1.
5137 2018-02-26 Tom Tromey <tom@tromey.com>
5140 * gdb.python/py-framefilter.exp: Update test.
5142 2018-02-26 Tom Tromey <tom@tromey.com>
5144 * gdb.dwarf2/variant.c: New file.
5145 * gdb.dwarf2/variant.exp: New file.
5147 2018-02-26 Tom Tromey <tom@tromey.com>
5149 * gdb.rust/simple.exp: Accept more possible results in enum test.
5151 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5153 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5156 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5158 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5159 name of a variable: $actual_linejj -> $actual_line.
5161 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5163 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5165 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5167 * gdb.btrace/buffer-size.exp: Do not force BTS.
5169 2018-02-14 Pedro Alves <palves@redhat.com>
5171 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5174 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5176 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5179 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5181 * gdb.cp/m-static.exp: Check type of optimized out static
5184 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5186 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5187 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5189 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5190 Leszek Swirski <leszeks@google.com>
5192 * gdb.python/py-prettyprint.c
5193 (struct to_string_returns_value_inner,
5194 struct to_string_returns_value_wrapper): New.
5195 (main): Add tsrvw variable.
5196 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5197 ToStringReturnsValueWrapper): New classes.
5198 (register_pretty_printers): Register new pretty-printers.
5199 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5200 recursive pretty printer.
5201 * gdb.python/py-mi.exp: Likewise.
5203 2018-02-01 Leszek Swirski <leszeks@google.com>
5205 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5206 functions with the same name as an include file are parsed
5209 2018-02-01 Yao Qi <yao.qi@linaro.org>
5211 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5214 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5216 * gdb.arch/powerpc-prologue-frame.s: New file.
5217 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5218 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5220 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5222 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5224 2018-01-30 Pedro Alves <palves@redhat.com>
5227 * gdb.base/interrupt-daemon.c: New.
5228 * gdb.base/interrupt-daemon.exp: New.
5229 * gdb.multi/multi-term-settings.c: New.
5230 * gdb.multi/multi-term-settings.exp: New.
5232 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5234 * gdb.base/break.exp: Save the location where the breakpoint
5235 on break.c:47 was actually inserted when debugging the version
5236 compiled at -O2 and use it in the expected output of the "info
5237 break" test performed soon after.
5239 2018-01-22 Pedro Alves <palves@redhat.com>
5240 Sergio Durigan Junior <sergiodj@redhat.com>
5242 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5243 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5245 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5247 * gdb.base/break-include.c, gdb.base/break-include.inc,
5248 gdb.base/break-include.exp: New files.
5249 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5250 line number now being the actual line number where the breakpoint
5252 * gdb.mi/mi-break.exp: Likewise.
5253 * gdb.mi/mi-reverse.exp: Likewise.
5254 * gdb.mi/mi-simplerun.exp: Ditto.
5256 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5258 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5260 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5262 2018-01-21 Don Breazeal <donb@codesourcery.com>
5263 Andrew Burgess <andrew.burgess@embecosm.com>
5265 * gdb.mi/basics.c: Add new global.
5266 * gdb.mi/mi-frame-regs.exp: New file.
5267 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5270 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5272 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5273 non-parameter, and on an unknown symbol.
5275 2018-01-19 Tom Tromey <tom@tromey.com>
5277 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5278 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5280 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5282 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5283 setrlimit and chdir to int.
5285 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5287 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5289 (my_tend): Likewise.
5290 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5291 rationale of avoiding FP- and vector instructions.
5293 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5295 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5296 "info reg" with "\[ \t\]*".
5297 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5299 * gdb.arch/s390-multiarch.exp: Ditto.
5300 * gdb.base/pc-fp.exp: Ditto.
5301 * gdb.reverse/i386-precsave.exp: Ditto.
5302 * gdb.reverse/i386-reverse.exp: Ditto.
5303 * gdb.reverse/i387-env-reverse.exp: Ditto.
5304 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5306 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5308 * lib/gdb.exp (gdb_compile): Re-enable use of
5309 universal_compile_options for languages other than Rust.
5311 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5313 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5315 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5318 * gdb.base/solib-vanish.exp: New.
5319 * gdb.base/solib-vanish-main.c: New.
5320 * gdb.base/solib-vanish-lib1.c: New.
5321 * gdb.base/solib-vanish-lib2.c: New.
5323 2018-01-17 Yao Qi <yao.qi@linaro.org>
5325 * gdb.compile/compile.exp: Match the address printed for
5326 frame in the output of command "bt".
5328 2018-01-15 Tom Tromey <tom@tromey.com>
5330 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5333 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5335 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5337 (prepare): Return 0 on error, 1 on success.
5339 2018-01-12 Pedro Alves <palves@redhat.com>
5341 * gdb.base/continue-after-aborted-step-over.c: New.
5342 * gdb.base/continue-after-aborted-step-over.exp: New.
5344 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5346 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5347 options when not creating an executable.
5349 2018-01-11 Pedro Alves <palves@redhat.com>
5352 * gdb.server/stop-reply-no-thread.c: New file.
5353 * gdb.server/stop-reply-no-thread.exp: New file.
5355 2018-01-10 Pedro Alves <palves@redhat.com>
5358 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5359 functions too. Test setting breakpoints and printing C functions
5360 with no debug info too.
5361 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5363 2018-01-10 Pedro Alves <palves@redhat.com>
5366 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5369 2018-01-10 Pedro Alves <palves@redhat.com>
5372 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5374 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5376 * gdb.server/unittest.exp: Match the output in non-development
5379 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5381 * gdb.gdb/unittest.exp: Match output in non-development mode.
5383 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5385 * gdb.ada/access_tagged_param.exp: Relax expected output
5386 for value of "ObjL" in "continue" to pck.inspect breakpoint
5389 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5391 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5392 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5394 2018-01-05 Pedro Alves <palves@redhat.com>
5397 * gdb.base/libsegfault.exp: New.
5399 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5402 * gdb.ada/access_tagged_param.exp: New file.
5403 * gdb.ada/access_tagged_param/foo.adb: New file.
5405 2018-01-05 Pedro Alves <palves@redhat.com>
5408 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5409 exercise lower case too, and to exercise both full matching and
5412 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5414 * gdb.ada/rename_subscript_param: New testcase.
5416 2018-01-05 Jerome Guitton <guitton@adacore.com>
5418 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5420 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5422 * gdb.ada/convvar_comp: New testcase.
5424 2018-01-05 Xavier Roirand <roirand@adacore.com>
5426 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5427 (My_Table): New global variable.
5428 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5430 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5433 * gdb.ada/maint_with_ada: New testcase.
5435 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5438 * gdb.ada/bp_c_mixed_case: New testcase.
5440 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5443 * gdb.ada/complete.exp: Add "complete break ada" test.
5445 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5448 * gdb.ada/info_addr_mixed_case: New testcase.
5450 2018-01-03 Xavier Roirand <roirand@adacore.com>
5452 * gdb.ada/excep_handle.exp: New testcase.
5453 * gdb.ada/excep_handle/foo.adb: New file.
5454 * gdb.ada/excep_handle/pck.ads: New file.
5456 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5458 * gdb.base/step-line.c: Add extra empty line in copyright header.
5459 * gdb.base/step-line.inp: Likewise.
5461 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5463 * gdb.ada/dyn_stride.exp: Add slice test.
5465 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5467 * gdb.ada/dyn_stride: New testcase.
5469 2017-12-27 Stafford Horne <shorne@gmail.com>
5471 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5472 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5474 2017-12-27 Stafford Horne <shorne@gmail.com>
5476 * gdb.base/reggroups.c: New file.
5477 * gdb.base/reggroups.exp: New file.
5479 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5481 * gdb.dwarf2/ada-valprint-error.c: New file.
5482 * gdb.dwarf2/ada-valprint-error.exp: New file.
5484 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5486 * gdb.ada/assign_arr: New testcase.
5488 2017-12-18 Xavier Roirand <roirand@adacore.com>
5490 * gdb.ada/funcall_ptr: New testcase.
5492 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5495 * gdb.base/ptype-offsets.cc: New file.
5496 * gdb.base/ptype-offsets.exp: New file.
5498 2017-12-15 Yao Qi <yao.qi@linaro.org>
5500 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5503 2017-12-15 Xavier Roirand <roirand@adacore.com>
5505 * gdb.ada/same_component_name: New testcase.
5507 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5509 * gdb.ada/str_binop_equal: New testcase.
5511 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5513 * gdb.ada/task_switch_in_core: New testcase.
5515 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5517 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5518 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5519 call test_bkpt_qualified.
5520 (test_bkpt_qualified): New proc.
5522 2017-12-13 Pedro Alves <palves@redhat.com>
5524 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5525 Tighten regexp by matching with an anchor.
5527 2017-12-13 Pedro Alves <palves@redhat.com>
5529 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5530 ("expression with namespace"): New set of tests.
5531 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5532 (Nested::Test_NS::qux): New.
5533 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5534 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5536 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5538 * gdb.base/server-del-break.c: New file.
5539 * gdb.base/server-del-break.exp: New file.
5541 2017-12-12 Stafford Horne <shorne@gmail.com>
5543 * gdb.xml/tdesc-regs.exp: Add or1k support.
5545 2017-12-12 Stafford Horne <shorne@gmail.com>
5547 * gdb.base/bp-permanent.c: Define nop of or1k.
5549 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5551 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5552 output with components being reordered.
5554 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5556 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5557 output with components being reordered.
5559 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5560 Pedro Alves <palves@redhat.com>
5562 * gdb.base/maint.exp (check for .gdb_index): Check also for
5564 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5565 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5566 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5567 (.gdb_index used after symbol reloading): Support also .debug_names.
5568 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5570 2017-12-08 Yao Qi <yao.qi@linaro.org>
5572 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5573 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5575 2017-12-08 Yao Qi <yao.qi@linaro.org>
5577 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5578 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5580 2017-12-08 Yao Qi <yao.qi@linaro.org>
5582 * gdb.arch/aarch64-tagged-pointer.c: New file.
5583 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5585 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5587 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5590 2017-12-07 Keith Seitz <keiths@redhat.com>
5592 PR breakpoints/22569
5593 * gdb.linespec/ls-errs.exp: Change expected result of "break
5594 -source this file has spaces.c -line 3".
5595 Check that an explicit source file followed by whitespace is
5596 identified as an invalid explicit location.
5598 2017-12-07 Keith Seitz <keiths@redhat.com>
5600 * gdb.cp/nested-types.cc: New file.
5601 * gdb.cp/nested-types.exp: New file.
5602 * lib/cp-support.exp: Load data-structures.exp library.
5603 (debug_cp_test_ptype_class): New global.
5604 (cp_ptype_class_verbose, next_line): New procedures.
5605 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5606 Add and document new return value.
5607 Switch the list of lines to a queue.
5608 Add support for new `type' key for nested type definitions.
5609 Add debugging/troubleshooting messages.
5610 * lib/data-structures.exp: New file.
5612 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5614 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5615 with proc_with_prefix, don't use with_test_prefix.
5617 2017-12-07 Tom Tromey <tom@tromey.com>
5619 * gdb.base/break.exp: Add test for empty "commands".
5621 2017-12-07 Yao Qi <yao.qi@linaro.org>
5623 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5624 malloc and catch syscall.
5626 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5628 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5629 tests for explicit locations.
5631 2017-12-06 Pedro Alves <palves@redhat.com>
5633 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5634 force-disabling XML descriptions.
5636 2017-12-04 Pedro Alves <palves@redhat.com>
5639 * gdb.arch/amd64-disp-step-avx.S: New file.
5640 * gdb.arch/amd64-disp-step-avx.exp: New file.
5642 2017-12-03 Pedro Alves <palves@redhat.com>
5644 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5646 (parent_function): Print distinct messages when waitpid fails, or
5647 the child exits with a signal, or the child exits for an unhandled
5649 * gdb.threads/process-dies-while-detaching.exp
5650 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5651 it. Wait for both inferior output and GDB's prompt. Use an
5652 indirect spawn id list.
5653 (do_detach): New parameter 'child_exit'. Use it to compute
5654 expected inferior output.
5655 (test_detach, test_detach_watch, test_detach_killed_outside):
5656 Adjust to pass down the expected child exit kind.
5658 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5659 Sergio Durigan Junior <sergiodj@redhat.com>
5660 Pedro Alves <palves@redhat.com>
5662 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5664 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5666 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5667 to 'symbol-file' and 'add-symbol-file' can be
5668 position-independent.
5670 2017-12-01 Yao Qi <yao.qi@linaro.org>
5672 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5673 the URL in copyright header.
5674 * gdb.arch/aarch64-fp.exp: Likewise.
5675 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5676 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5677 * gdb.base/expand-psymtabs.exp: Likewise.
5678 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5679 * gdb.fortran/common-block.exp: Likewise.
5680 * gdb.fortran/common-block.f90: Likewise.
5681 * gdb.fortran/logical.exp: Likewise.
5682 * gdb.fortran/vla-datatypes.f90: Likewise.
5683 * gdb.fortran/vla-sub.f90: Likewise.
5685 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5687 * gdb.ada/repeat_dyn: New testcase.
5689 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5691 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5692 Update for changed thread numbering.
5693 * gdb.cell/bt.exp: Update for changed GDB output.
5695 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5697 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5698 setting isremote by hand.
5699 * boards/dwarf4-gdb-index.exp: Likewise.
5700 * boards/fission.exp: Likewise.
5701 * boards/stabs.exp: Likewise.
5703 2017-11-30 Pedro Alves <palves@redhat.com>
5705 * gdb.linespec/cpls-ops.exp
5706 (check_explicit_skips_function_argument): Extract the underlying
5707 type of size_t instead of hardcoding it.
5709 2017-11-29 Pedro Alves <palves@redhat.com>
5712 * gdb.linespec/cpls-abi-tag.cc: New file.
5713 * gdb.linespec/cpls-abi-tag.exp: New file.
5715 2017-11-29 Pedro Alves <palves@redhat.com>
5717 * gdb.base/langs.exp: Use -qualified.
5718 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5720 * gdb.cp/namespace.exp: Use -qualified.
5721 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5722 (overload-3, template-overload, template-ret-type, const-overload)
5723 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5725 (test_driver): Call them.
5726 * gdb.cp/save-bp-qualified.cc: New.
5727 * gdb.cp/save-bp-qualified.exp: New.
5728 * gdb.linespec/explicit.exp: Test -qualified.
5729 * lib/completion-support.exp (completion::explicit_opts_list): Add
5731 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5733 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5735 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5737 2017-11-29 Tom Tromey <tom@tromey.com>
5739 * gdb.base/relocate.exp: Update invalid argument test.
5740 Add new tests for invalid arguments.
5742 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5744 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5746 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5748 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5750 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5751 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5752 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5754 * gdb.cp/shadow.cc (B.func): Return 0.
5756 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5758 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5759 expected output in gdb_expect call to allow the exception
5760 message to be present as well. Fix syntax confusion to avoid
5761 TCL thinking that exception_name is an array.
5763 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5765 * gdb.arch/spu-info.c: Include <unistd.h>.
5766 (do_signal_test): Fix broken calls to write.
5767 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5768 Fix checks for empty mailboxes. Update signal tests for corrected
5769 do_signal_test routine. Allow nonzero event status.
5770 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5771 * gdb.cell/arch.exp: Use standard_output_file.
5772 * gdb.cell/break.exp: Likewise.
5773 * gdb.cell/bt.exp: Likewise.
5774 * gdb.cell/core.exp: Likewise.
5775 * gdb.cell/dwarfaddr.exp: Likewise.
5776 * gdb.cell/ea-cache.exp: Likewise.
5777 * gdb.cell/ea-standalone.exp: Likewise.
5778 * gdb.cell/f-regs.exp: Likewise.
5779 * gdb.cell/fork.exp: Likewise.
5780 * gdb.cell/gcore.exp: Likewise.
5781 * gdb.cell/mem-access.exp: Likewise.
5782 * gdb.cell/ptype.exp: Likewise.
5783 * gdb.cell/registers.exp: Likewise.
5784 * gdb.cell/sizeof.exp: Likewise.
5785 * gdb.cell/solib-symbol.exp: Likewise.
5786 * gdb.cell/solib.exp: Likewise.
5788 2017-11-25 Pedro Alves <palves@redhat.com>
5790 * gdb.base/complete-empty.exp: New file.
5791 * gdb.base/completion.exp: Adjust.
5793 2017-11-25 Pedro Alves <palves@redhat.com>
5795 * gdb.linespec/cpls-ops.cc: New file.
5796 * gdb.linespec/cpls-ops.exp: New file.
5797 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5798 factored out from ...
5799 (test_complete_prefix_range): ... this.
5801 2017-11-24 Pedro Alves <palves@redhat.com>
5803 * gdb.linespec/cpcompletion.exp: New file.
5804 * gdb.linespec/cpls-hyphen.cc: New file.
5805 * gdb.linespec/cpls.cc: New file.
5806 * gdb.linespec/cpls2.cc: New file.
5807 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5808 test to use test_gdb_complete_unique. Add label completion,
5809 keyword completion and explicit location completion tests.
5810 * lib/completion-support.exp: New file.
5812 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5814 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5815 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5816 when hitting an exception catchpoint.
5818 2017-11-22 Yao Qi <yao.qi@linaro.org>
5820 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5822 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5824 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5825 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5826 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5828 2017-11-22 Yao Qi <yao.qi@linaro.org>
5830 * gdb.base/info-os.exp: Pass pthreads.
5831 * gdb.multi/multi-attach.exp: Likewise.
5833 2017-11-22 Yao Qi <yao.qi@linaro.org>
5835 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5838 2017-11-22 Yao Qi <yao.qi@linaro.org>
5840 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5841 * gdb.base/break-interp.exp: Likewise.
5842 * gdb.base/jit-attach-pie.exp: Likewise.
5844 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5846 * gdb.base/float128.c (large128): New variable.
5847 * gdb.base/float128.exp: Add test to print largest __float128 value.
5849 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5851 * gdb.arch/vsx-regs.exp: Update register content checks.
5853 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5855 * gdb.arch/ppc-longdouble.exp: New file.
5856 * gdb.arch/ppc-longdouble.c: Likewise.
5858 2017-11-21 Pedro Alves <palves@redhat.com>
5860 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5862 2017-11-20 Pedro Alves <palves@redhat.com>
5864 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5865 (long_double_typedef): New typedefs.
5866 Use DEF on double and long double.
5867 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5869 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5870 and 'long_double_ptr_same_size' locals. Use them to decide
5871 whether cast from array/function to float is valid/invalid.
5873 2017-11-17 Tom Tromey <tom@tromey.com>
5875 * gdb.rust/traits.rs: New file.
5876 * gdb.rust/traits.exp: New file.
5878 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5880 * gdb.ada/minsyms: New testcase.
5882 2017-11-16 Pedro Alves <palves@redhat.com>
5884 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5885 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5887 2017-11-16 Pedro Alves <palves@redhat.com>
5889 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5890 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5892 2017-11-16 Pedro Alves <palves@redhat.com>
5894 * gdb.server/reconnect-ctrl-c.c: New file.
5895 * gdb.server/reconnect-ctrl-c.exp: New file.
5897 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5899 * gdb.python/py-rbreak.exp: New file.
5900 * gdb.python/py-rbreak.c: New file.
5901 * gdb.python/py-rbreak-func2.c: New file.
5903 2017-11-16 Pedro Alves <palves@redhat.com>
5905 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5907 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5910 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5912 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5915 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5917 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5920 2017-11-09 Pedro Alves <palves@redhat.com>
5922 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5923 factored out from ...
5924 (top level): ... here, and adjusted to avoid expecting beyond the
5925 prompt in a single gdb_test_multiple.
5927 2017-11-09 Pedro Alves <palves@redhat.com>
5929 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5931 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5932 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5933 * gdb.server/ext-run.exp ("kill" test): Likewise.
5934 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5936 2017-11-09 Pedro Alves <palves@redhat.com>
5938 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5939 match till end of line.
5941 2017-11-09 Pedro Alves <palves@redhat.com>
5943 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5945 2017-11-09 Pedro Alves <palves@redhat.com>
5947 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5948 New procedures, factored out from ...
5949 (top level): ... here, and adjusted to avoid expecting beyond the
5952 2017-11-09 Pedro Alves <palves@redhat.com>
5954 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5955 output. Fix '?' match.
5957 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5959 * gdb.ada/scoped_watch: New testcase.
5960 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5961 which is actually correct.
5962 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5963 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5965 2017-11-08 Pedro Alves <palves@redhat.com>
5967 * gdb.gdb/complaints.exp (test_initial_complaints)
5968 (test_serial_complaints, test_short_complaints): Call
5969 complaint_internal instead of complaint.
5971 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5973 * gdb.threads/tls-core.c: New file.
5974 * gdb.threads/tls-core.exp: Likewise.
5976 2017-11-08 Pedro Alves <palves@redhat.com>
5978 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5979 (p Exported_Capitalized): New test.
5980 (p exported_capitalized): New test.
5982 2017-11-07 Pedro Alves <palves@redhat.com>
5984 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5986 2017-11-07 Pedro Alves <palves@redhat.com>
5988 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5989 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5990 (disable_invalid, disable_inverted, disable_negative): New
5992 ("bad numbers"): New set of tests.
5994 2017-11-07 Pedro Alves <palves@redhat.com>
5996 * gdb.cp/ena-dis-br-range.exp: Add tests.
5998 2017-11-07 Pedro Alves <palves@redhat.com>
6000 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6002 2017-11-07 Xavier Roirand <roirand@adacore.com>
6003 Pedro Alves <palves@redhat.com>
6005 * gdb.base/ena-dis-br.exp: Add reference to
6006 gdb.cp/ena-dis-br-range.exp.
6007 * gdb.cp/ena-dis-br-range.exp: New file.
6008 * gdb.cp/ena-dis-br-range.cc: New file.
6010 2017-11-06 Pedro Alves <palves@redhat.com>
6012 * gdb.base/attach-non-pgrp-leader.c: New.
6013 * gdb.base/attach-non-pgrp-leader.exp: New.
6015 2017-11-06 Pedro Alves <palves@redhat.com>
6017 * configure.ac: No longer check for termio.h and sgtty.h.
6018 * configure: Regenerate.
6019 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6020 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6021 Remove termio and sgtty code.
6023 2017-11-03 Yao Qi <yao.qi@linaro.org>
6025 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6028 2017-11-03 Yao Qi <yao.qi@linaro.org>
6030 * gdb.python/py-thrhandle.exp: Skip it if python is not
6033 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6035 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6036 as a breakpoint command.
6038 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6041 * gdb.python/py-infthread.exp: Test calling
6042 InferiorThread.inferior () multiple times in a row.
6044 2017-10-27 Keith Seitz <keiths@redhat.com>
6046 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6047 Test "info break" for every inlined function breakpoint.
6049 2017-10-27 Yao Qi <yao.qi@linaro.org>
6051 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6053 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6055 * gdb.cp/classes.exp (test_static_members): Test printing
6057 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6058 (Inner::instance, Outer::instance): New.
6060 2017-10-24 Pedro Alves <palves@redhat.com>
6062 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6063 extra console" test in two stages.
6065 2017-10-24 Pedro Alves <palves@redhat.com>
6067 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6069 2017-10-24 Pedro Alves <palves@redhat.com>
6071 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6074 2017-10-24 Pedro Alves <palves@redhat.com>
6076 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6077 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6079 2017-10-24 Pedro Alves <palves@redhat.com>
6081 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6082 parameter and handle it. Don't output read value in test name.
6084 2017-10-24 Pedro Alves <palves@redhat.com>
6086 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6089 2017-10-24 Pedro Alves <palves@redhat.com>
6091 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6092 include the unstable output directory name in the test's name.
6093 (initial_setup_simple) <'set args'>: Use custom test name.
6095 2017-10-24 Pedro Alves <palves@redhat.com>
6097 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6098 with explicit test name.
6100 2017-10-20 Pedro Alves <palves@redhat.com>
6102 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6103 'wait -i'. Use gdb_assert and remote_close.
6105 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6107 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6108 number from variable rather than hard-coded.
6110 2017-10-19 Pedro Alves <palves@redhat.com>
6112 * gdb.base/long-inferior-output.c: New file.
6113 * gdb.base/long-inferior-output.exp: New file.
6115 2017-11-18 Keith Seitz <keiths@redhat.com>
6117 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6120 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6121 Add additional user-defined conversion operator tests.
6123 2017-10-17 Pedro Alves <palves@redhat.com>
6125 * boards/native-stdio-gdbserver.exp: Load "local-board".
6127 2017-10-17 Pedro Alves <palves@redhat.com>
6129 * gdb.base/quit-live.c: New file.
6130 * gdb.base/quit-live.exp: New file.
6132 2017-10-16 Keith Seitz <keiths@redhat.com>
6134 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6135 (class_with_protected_typedef, class_with_private_typedef)
6136 (struct_with_public_typedef, struct_with_protected_typedef)
6137 (struct_with_private_typedef): New classes/structs.
6138 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6139 typedefs and access specifiers.
6141 2017-10-16 Pedro Alves <palves@redhat.com>
6142 Simon Marchi <simon.marchi@polymtl.ca>
6144 * README (Local vs Remote vs Native): New section.
6145 * boards/local-board.exp: New file, with bits factored out from
6147 * boards/native-extended-gdbserver.exp: ... here. Load
6149 * boards/native-gdbserver.exp: Load "local-board".
6150 (${board}_spawn, ${board}_exec): Delete.
6151 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6153 * boards/stdio-gdbserver-base.exp: ... this new file.
6154 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6155 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6157 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6158 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6159 stdio_gdbserver_command.
6160 (${board}_get_remote_address, ${board}_get_comm_port)
6161 (${board}_download, ${board}_upload): Delete.
6162 (get_target_remote_pipe_cmd): New.
6164 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6166 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6167 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6168 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6169 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6170 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6171 remove with_test_prefix.
6173 2017-10-13 Pedro Alves <palves@redhat.com>
6175 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6176 * gdb.base/annota1.exp: Use it instead of is_remote.
6177 * gdb.base/annota3.exp: Use it instead of is_remote.
6178 * gdb.cp/annota2.exp: Use it instead of is_remote.
6179 * gdb.cp/annota3.exp: Use it instead of is_remote.
6180 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6182 2017-10-13 Pedro Alves <palves@redhat.com>
6184 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6185 (test_num_test_vars, run_and_count_vars, find_env)
6186 (test_set_unset_env, test_inherit_env_var): New procedures.
6187 (top level): Use them.
6189 2017-10-13 Pedro Alves <palves@redhat.com>
6191 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6192 also skip on stub-like targets.
6194 2017-10-13 Pedro Alves <palves@redhat.com>
6197 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6198 (top level): Move some tests to ...
6199 (test_not_found): ... this new procedure.
6200 (top level): Call it.
6202 2017-10-13 Pedro Alves <palves@redhat.com>
6204 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6205 expect different "info terminal" output if testing with a
6208 2017-10-13 Pedro Alves <palves@redhat.com>
6209 Simon Marchi <simon.marchi@polymtl.ca>
6212 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6214 2017-10-13 Pedro Alves <palves@redhat.com>
6216 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6219 2017-10-13 Pedro Alves <palves@redhat.com>
6221 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6224 2017-10-13 Pedro Alves <palves@redhat.com>
6226 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6229 2017-10-13 Pedro Alves <palves@redhat.com>
6231 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6233 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6234 instead of is_remote.
6236 2017-10-13 Pedro Alves <palves@redhat.com>
6238 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6239 (top level): Add comment.
6241 2017-10-13 Pedro Alves <palves@redhat.com>
6243 * gdb.base/remote.exp (top level): Fix comment typo and add
6246 2017-10-13 Pedro Alves <palves@redhat.com>
6247 Simon Marchi <simon.marchi@polymtl.ca>
6249 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6250 calls and add comments. Skip test if use_gdb_stub is set.
6251 (top level): Use "set cwd" command instead of "cd" command.
6253 2017-10-13 Pedro Alves <palves@redhat.com>
6255 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6256 is_remote target check.
6258 2017-10-13 Pedro Alves <palves@redhat.com>
6260 * gdb.base/scope.exp: Use build_executable + clean_restart +
6261 gdb_file_cmd instead of prepare_for_testing and no longer skip
6262 "before run" tests on is_remote target boards. Update comments.
6263 * boards/native-extended-gdbserver.exp
6264 (extended_gdbserver_load_last_file): New, factored out from ...
6265 (gdb_load): ... this. Move further below and add comment.
6266 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6268 2017-10-12 Pedro Alves <palves@redhat.com>
6270 * gdb.base/attach.exp: Remove references to gdb64.
6271 * gdb.base/dbx.exp: Remove references to gdb64.
6273 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6274 Pedro Alves <palves@redhat.com>
6276 * gdb.base/label.exp: Remove is_remote target check.
6278 2017-10-12 Pedro Alves <palves@redhat.com>
6280 * gdb.base/auvx.exp (coredir): Update comment.
6281 (top level) <core_works>: Use "set cwd" command instead of "cd"
6284 2017-10-12 Pedro Alves <palves@redhat.com>
6285 Simon Marchi <simon.marchi@polymtl.ca>
6287 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6290 2017-10-12 Pedro Alves <palves@redhat.com>
6291 Simon Marchi <simon.marchi@polymtl.ca>
6293 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6294 Instead skip if there's any gdb_protocol set.
6296 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6297 Pedro Alves <palves@redhat.com>
6299 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6301 2017-10-12 Pedro Alves <palves@redhat.com>
6302 Simon Marchi <simon.marchi@polymtl.ca>
6304 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6305 instead of on dejagnu remote boards.
6307 2017-10-12 Pedro Alves <palves@redhat.com>
6308 Simon Marchi <simon.marchi@polymtl.ca>
6310 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6311 checks. Use build_executable + clean_restart instead of
6312 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6313 of enabling non-stop after starting gdb.
6315 2017-10-12 Pedro Alves <palves@redhat.com>
6317 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6318 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6319 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6320 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6322 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6324 * gdb.arch/arc-tdesc-cpu.exp: New file.
6325 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6327 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6329 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6331 2017-10-10 Pedro Alves <palves@redhat.com>
6333 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6336 2017-10-10 Pedro Alves <palves@redhat.com>
6338 * lib/selftest-support.exp (selftest_setup): Update for
6339 captured_command_loop's prototype change.
6341 2017-10-09 Pedro Alves <palves@redhat.com>
6343 Test both arch1=>arch2 and arch2=>arch1.
6345 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6346 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6348 (append_arch1_options, append_arch2_options, append_arch_options)
6349 (build_executables): New procedures.
6350 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6352 (top level): Add new 'first_arch' testing axis.
6354 2017-10-09 Pedro Alves <palves@redhat.com>
6356 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6358 (thread_start, all_started): New functions.
6359 (main): Spawn new thread and wait until it is scheduled.
6360 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6362 (do_test): Add 'selected_thread' parameter. Run to all_started
6363 instead of main. Explicitly set the breakpoint at main. Switch
6364 to the SELECTED_THREAD thread.
6365 (top level): Test handling the exec event with either the main
6366 thread or the second thread selected.
6368 2017-10-09 Pedro Alves <palves@redhat.com>
6370 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6371 logic. Move STOP marker after the value checks.
6372 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6375 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6377 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6379 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6381 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6382 integer-to-dfp conversion.
6383 * gdb.base/dfp-test.exp: Likewise.
6385 2017-10-04 Pedro Alves <palves@redhat.com>
6387 * gdb.multi/hangout.c: Include <unistd.h>.
6388 (hangout_loop): New function.
6389 (main): Call alarm. Call hangout_loop in a loop.
6390 * gdb.multi/hello.c: Include <unistd.h>.
6391 (hello_loop): New function.
6392 (main): Call alarm. Call hangout_loop in a loop.
6393 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6394 inferior with the other selected.
6396 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6398 * gdb.mi/list-thread-groups-available.exp: New file.
6399 * gdb.mi/list-thread-groups-available.c: New file.
6401 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6403 * gdb.base/set-cwd.exp: Make it available on
6404 native-extended-gdbserver.
6406 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6408 * gdb.base/set-cwd.c: New file.
6409 * gdb.base/set-cwd.exp: Likewise.
6411 2017-10-02 Tom Tromey <tom@tromey.com>
6414 * gdb.rust/simple.rs (main): New variable "fslice".
6415 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6417 2017-10-02 Tom Tromey <tom@tromey.com>
6419 * gdb.rust/simple.exp: Test ptype of a slice.
6421 2017-10-02 Tom Tromey <tom@tromey.com>
6423 * gdb.rust/simple.exp: Test index of slice.
6425 2017-09-27 Tom Tromey <tom@tromey.com>
6427 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6429 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6430 Pedro Alves <palves@redhat.com>
6432 * gdb.base/compare-sections.exp (get value of read-only section): Read
6434 (corrupt read-only section): Likewise and don't set written if patching
6437 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6439 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6442 2017-09-20 Pedro Alves <palves@redhat.com>
6444 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6445 symbol names in gdb's output.
6446 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6448 2017-09-20 Pedro Alves <palves@redhat.com>
6450 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6452 (test_list_ambiguous_symbol): ... this and add a symbol name
6454 (test_list_ambiguous_function): Reimplement on top of
6455 test_list_ambiguous_symbol and also test listing ambiguous
6457 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6458 (ambiguous_fun): ... this.
6459 (ambiguous_var): New.
6460 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6461 (ambiguous_fun): ... this.
6462 (ambiguous_var): New.
6464 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6466 * gdb.base/starti.c: New file.
6467 * gdb.base/starti.exp: New file.
6468 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6470 2017-09-14 Pedro Alves <palves@redhat.com>
6472 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6473 (top level): Use it instead of runto.
6475 2017-09-11 Tom Tromey <tom@tromey.com>
6477 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6479 2017-09-11 Tom Tromey <tom@tromey.com>
6481 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6482 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6484 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6486 * gdb.fortran/printing-types.exp: New file.
6487 * gdb.fortran/printing-types.exp: New file.
6489 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6491 * gdb.fortran/vla-ptype.exp: Fix typos.
6492 * gdb.fortran/vla-value.exp: Same.
6494 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6496 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6497 * gdb.mi/mi-var-child-f.exp: Likewise.
6498 * gdb.mi/mi-vla-fortran.exp: Likewise.
6500 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6501 Christoph Weinmann <christoph.t.weinmann@intel.com>
6502 Bernhard Heckel <bernhard.heckel@intel.com>
6504 * gdb.fortran/ptr-indentation.f90: New file.
6505 * gdb.fortran/ptr-indentation.exp: New file.
6507 2017-09-05 Tom Tromey <tom@tromey.com>
6510 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6512 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6514 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6516 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6518 * gdb.threads/tls-nodebug-pie.c: New file.
6519 * gdb.threads/tls-nodebug-pie.exp: New file.
6521 2017-09-05 Tom Tromey <tom@tromey.com>
6523 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6526 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6528 * gdb.multi/multi-arch-exec.exp: Test with different
6529 "follow-exec-mode" settings.
6530 (do_test): New procedure.
6532 2017-09-04 Pedro Alves <palves@redhat.com>
6534 * gdb.base/func-static.c (S::method const, S::method volatile)
6535 (S::method volatile const): New methods.
6536 (c_s, v_s, cv_s): New instances.
6537 (main): Call method() on them.
6538 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6539 (cannot_resolve): New procedure.
6540 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6541 print-quote-unquoted columns.
6542 (do_test): Test printing each scope too.
6544 2017-09-04 Pedro Alves <palves@redhat.com>
6546 * gdb.base/local-static.exp: Also test with
6547 class::method::variable wholly quoted.
6548 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6550 2017-09-04 Pedro Alves <palves@redhat.com>
6552 * gdb.base/local-static.c: New.
6553 * gdb.base/local-static.cc: New.
6554 * gdb.base/local-static.exp: New.
6556 2017-09-04 Pedro Alves <palves@redhat.com>
6558 * gdb.asm/asm-source.exp: Add casts to int.
6559 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6560 (dataglobal64_1, dataglobal64_2): New globals.
6561 * gdb.base/nodebug.exp: Test different expressions involving the
6562 new globals, with print, whatis and ptype. Add casts to int.
6563 * gdb.base/solib-display.exp: Add casts to int.
6564 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6565 * gdb.cp/m-static.exp: Add cast to int.
6566 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6567 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6568 tls variable with no debug info without a cast. Test with a cast
6570 * gdb.trace/entry-values.exp: Add casts.
6572 2017-09-04 Pedro Alves <palves@redhat.com>
6574 * gdb.base/nodebug.exp: Test that ptype's error about functions
6575 with unknown return type includes the function name too.
6577 2017-09-04 Pedro Alves <palves@redhat.com>
6579 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6580 return type of munmap in infcall.
6581 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6582 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6583 type of ftell in infcall.
6584 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6585 type of getpid in infcall.
6586 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6588 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6589 Bail on failure to extract the pid.
6590 * gdb.base/nodebug.c: #include <stdint.h>.
6591 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6593 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6594 Change expected output of print/whatis/ptype with functions with
6595 no debug info. Test all supported languages. Call
6596 test_call_promotion.
6597 * gdb.compile/compile.exp: Adjust expected output to expect
6599 * gdb.threads/siginfo-threads.exp: Likewise.
6601 2017-09-04 Pedro Alves <palves@redhat.com>
6603 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6604 "prototypes". Test calling float functions via prototyped and
6605 unprototyped function pointers.
6606 (perform_all_tests): New parameter "prototypes". Pass it down.
6607 (top level): Pass down "prototypes" parameter to
6610 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6612 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6613 Test with nested loops.
6615 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6617 * gdb.base/commands.exp: Call the new procedures.
6618 (loop_break_test, loop_continue_test): New procedures.
6620 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6622 * gdb.base/commands.exp: Call new procedure.
6623 (define_if_without_arg_test): New procedure.
6625 2017-09-04 Pedro Alves <palves@redhat.com>
6627 * gdb.base/list-ambiguous.exp: New file.
6628 * gdb.base/list-ambiguous0.c: New file.
6629 * gdb.base/list-ambiguous1.c: New file.
6630 * gdb.base/list.exp (test_list_range): Adjust expected output.
6632 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6634 * gdb.base/share-env-with-gdbserver.c: New file.
6635 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6637 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6639 * gdb.base/commands.exp (gdbvar_simple_if_test,
6640 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6641 progvar_simple_if_test, progvar_simple_while_test,
6642 progvar_complex_if_while_test, user_defined_command_test,
6643 user_defined_command_args_eval,
6644 user_defined_command_args_stack_test,
6645 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6646 temporary_breakpoint_commands,
6647 gdb_test_no_prompt, redefine_hook_test,
6648 redefine_backtrace_test): Remove "global gdb_prompt".
6650 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6652 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6653 New proc, call it from toplevel.
6655 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6658 * gdb.server/normal.c: New file, copied from gdb.base.
6659 * gdb.server/run-without-local-binary.exp: New file.
6661 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6663 * gdb.arch/sparc64-adi.exp: New file.
6664 * gdb.arch/sparc64-adi.c: New file.
6666 2017-08-22 Pedro Alves <palves@redhat.com>
6668 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6669 (top level): Add "list all overloads" tests.
6671 2017-08-22 Tom Tromey <tom@tromey.com>
6673 * gdb.gdb/xfullpath.exp: Remove.
6675 2017-08-21 Pedro Alves <palves@redhat.com>
6678 * gdb.base/symbol-alias.c: New.
6679 * gdb.base/symbol-alias2.c: New.
6680 * gdb.base/symbol-alias.exp: New.
6682 2017-08-21 Pedro Alves <palves@redhat.com>
6684 * gdb.base/dfp-test.c
6685 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6686 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6687 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6688 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6689 * gdb.base/whatis-ptype-typedefs.c: New.
6690 * gdb.base/whatis-ptype-typedefs.exp: New.
6691 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6692 (an_int, an_int_type, an_int_type2): New globals.
6693 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6694 involving typedefs and cast expressions.
6695 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6696 (lookup_typedefs_function): New.
6697 (typedefs_pretty_printers_dict): New.
6698 (top level): Register lookup_typedefs_function in
6699 gdb.pretty_printers.
6701 2017-08-18 Yao Qi <yao.qi@linaro.org>
6703 * gdb.server/unittest.exp: New.
6705 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6708 * gdb.base/environ.exp: Add test to check if 'unset environment'
6711 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6713 * lib/gdb.exp (universal_compile_options): New caching proc.
6714 (gdb_compile): Suppress GCC's coloring of messages.
6716 2017-08-14 Tom Tromey <tom@tromey.com>
6719 * gdb.base/printcmds.exp (test_radices): New function.
6720 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6721 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6722 * lib/gdb.exp (get_integer_valueof): Use p/d.
6724 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6726 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6729 2017-08-05 Tom Tromey <tom@tromey.com>
6731 * gdb.rust/simple.exp: Allow String to appear in a different
6734 2017-07-26 Yao Qi <yao.qi@linaro.org>
6736 * gdb.gdb/unittest.exp: Invoke command
6737 "maintenance check xml-descriptions".
6739 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6741 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6743 (hex128): Drop erroneous calculation of parameters.
6745 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6747 * gdb.python/py-unwind.exp: Disable stack protection when
6750 2017-07-20 Pedro Alves <palves@redhat.com>
6752 * gdb.base/default.exp (set language): Adjust expected output.
6754 2017-07-20 Pedro Alves <palves@redhat.com>
6756 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6757 (test_minsym): ... this, and make static.
6758 (get_pck__foo__bar__minsym): Rename to ...
6759 (get_test_minsym): ... this.
6760 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6761 symbol names and comments.
6762 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6763 (get_test_minsym): ... this.
6764 (pck__foo__bar__minsym__2): Rename to ...
6765 (test_minsym): ... this.
6768 2017-07-17 Pedro Alves <palves@redhat.com>
6770 * gdb.base/completion.exp: Adjust expected output.
6771 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6772 the completer works.
6774 2017-07-17 Pedro Alves <palves@redhat.com>
6776 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6778 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6780 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6782 2017-07-14 Tom Tromey <tom@tromey.com>
6785 * gdb.rust/simple.exp: Add tests.
6787 2017-07-14 Tom Tromey <tom@tromey.com>
6789 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6791 2017-07-14 Pedro Alves <palves@redhat.com>
6793 * gdb.linespec/base/one/thefile.cc (z1): New function.
6794 * gdb.linespec/base/two/thefile.cc (z2): New function.
6795 * gdb.linespec/linespec.exp: Add tests.
6797 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6799 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6800 to mi_create_breakpoint.
6802 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6804 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6805 mi_create_breakpoint.
6807 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6809 * gdb.dlang/demangle.exp: Update for demangling changes.
6811 2017-07-09 Tom Tromey <tom@tromey.com>
6813 * gdb.dwarf2/shortpiece.exp: New file.
6815 2017-07-06 David Blaikie <dblaikie@gmail.com>
6817 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6818 built from fissiont-multi-cu{1,2}.c.
6819 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6820 except putting 'main' and 'func' in separate CUs in the same DWO file.
6821 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6823 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6826 2017-07-06 Pedro Alves <palves@redhat.com>
6828 * gdb.python/py-unwind.exp: Test flushregs.
6830 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6833 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6834 tests for alias commands and trailing whitespace.
6836 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6839 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6842 2017-06-29 Pedro Alves <palves@redhat.com>
6844 * gdb.base/printcmds.exp: Add tests.
6846 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6849 * gdb.base/reread-readsym.exp: New file.
6850 * gdb.base/reread-readsym.c: New file.
6852 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6854 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6857 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6859 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6861 * gdb.arch/powerpc-power9.s: Likewise.
6863 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6865 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6866 on 32-bit x86 targets. Exploit is_*_target macros where
6869 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6871 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6874 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6876 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6877 located in one or more DWARF pieces.
6879 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6881 * lib/gdb.exp (get_endianness): New proc.
6882 * gdb.arch/aarch64-fp.exp: Use it.
6883 * gdb.arch/altivec-regs.exp: Likewise.
6884 * gdb.arch/e500-regs.exp: Likewise.
6885 * gdb.arch/vsx-regs.exp: Likewise.
6886 * gdb.base/dump.exp: Likewise.
6887 * gdb.base/funcargs.exp: Likewise.
6888 * gdb.base/gnu_vector.exp: Likewise.
6889 * gdb.dwarf2/formdata16.exp: Likewise.
6890 * gdb.dwarf2/implptrpiece.exp: Likewise.
6891 * gdb.dwarf2/nonvar-access.exp: Likewise.
6892 * gdb.python/py-inferior.exp: Likewise.
6893 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6895 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6898 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6899 stack value pieces are taken from the LSB end.
6901 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6903 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6904 variable at nonzero offset.
6906 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6908 * gdb.dwarf2/var-access.c: New file.
6909 * gdb.dwarf2/var-access.exp: New test.
6910 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6912 2017-06-12 Tom Tromey <tom@tromey.com>
6914 * gdb.dwarf2/formdata16.exp: Add tests.
6916 2017-06-12 Tom Tromey <tom@tromey.com>
6918 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6920 2017-06-12 Tom Tromey <tom@tromey.com>
6923 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6924 * gdb.arch/vsx-regs.exp: Update tests.
6925 * gdb.arch/s390-vregs.exp (hex128): New proc.
6927 * gdb.arch/altivec-regs.exp: Update tests.
6929 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6931 * gdb.base/startup-with-shell.c: New file.
6932 * gdb.base/startup-with-shell.exp: Likewise.
6934 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6936 * gdb.server/non-existing-program.exp: Update regex in order to
6937 reflect the fact that gdbserver is now using fork_inferior (with a
6938 shell) to startup the inferior.
6940 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6942 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6943 support function calls from GDB.
6945 2017-05-21 Tom Tromey <tom@tromey.com>
6948 * gdb.rust/unsized.exp: New file.
6949 * gdb.rust/unsized.rs: New file.
6951 2017-05-19 Tom Tromey <tom@tromey.com>
6954 * gdb.rust/watch.exp: New file.
6955 * gdb.rust/watch.rs: New file.
6957 2017-05-18 Tom Tromey <tom@tromey.com>
6959 * gdb.rust/simple.exp: Allow Box to be qualified.
6961 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6963 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6965 2017-05-18 Pedro Alves <palves@redhat.com>
6967 * gdb.base/fileio.c (test_write, test_read, test_close)
6968 (test_fstat): Don't print 'ret' in the fail path.
6970 2017-05-18 Pedro Alves <palves@redhat.com>
6972 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6973 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6974 (test_system, test_rename, test_unlink, test_time): Change
6976 * gdb.base/fileio.exp (stop_msg): Adjust.
6978 2017-05-18 Pedro Alves <palves@redhat.com>
6980 * gdb.base/fileio.c (null_str): New global.
6981 (test_stat): Use it.
6982 * gdb.base/fileio.exp: Remove nowarnings.
6984 2017-05-17 Yao Qi <yao.qi@linaro.org>
6986 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6988 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6990 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6992 (top-level): Invoke test_set_inferior_tty.
6994 2017-05-04 Pedro Alves <palves@redhat.com>
6996 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6997 Add parens to print call for Python 3.
6999 2017-05-03 Keith Seitz <keiths@redhat.com>
7001 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7004 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7006 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7009 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7011 * gdb.python/py-record-btrace.exp: Remove test for
7012 gdb.BtraceInstruction.error.
7014 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7016 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7018 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7020 * gdb.python/py-record-btrace-threads.c: New file.
7021 * gdb.python/py-record-btrace-threads.exp: New file.
7023 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7026 * gdb.base/environ.exp: Make test available in all architectures.
7027 Move bits related to "info program" testing to
7028 gdb.base/info-program.exp. Rewrite tests to use the two new
7029 procedures mentione below.
7030 (test_set_show_env_var) New procedure.
7031 (test_set_show_env_var_equal): Likewise.
7032 * gdb.base/info-program.exp: New file.
7034 2017-04-27 Keith Seitz <keiths@redhat.com>
7036 * gdb.cp/oranking.cc (test15): New function.
7037 (main): Call test15 and declare additional variables for testing.
7038 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7039 "p foo101('abc')" tests.
7040 Add tests for cv qualifier overloads.
7041 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7042 "lvalue reference overload" test.
7043 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7044 "print value of f1 on Child&& in f2" test.
7046 2017-04-19 Pedro Alves <palves@redhat.com>
7048 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7050 (top level): Call it.
7051 * lib/gdb.exp (gdb_define_cmd): New procedure.
7053 2017-04-12 Pedro Alves <palves@redhat.com>
7056 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7057 (wchar): New global.
7058 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7059 (do_test_wide_char, wide_char_types_no_program, top level): Add
7062 2017-04-12 Pedro Alves <palves@redhat.com>
7065 * gdb.cp/wide_char_types.c: New file.
7066 * gdb.cp/wide_char_types.exp: New file.
7068 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7071 * gdb.trace/tsv.exp: Add test for "tsave -r".
7073 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7075 * gdb.dlang/watch-loc.c: New file.
7076 * gdb.dlang/watch-loc.exp: New file.
7078 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7080 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7082 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7084 * gdb.arch/arc-analyze-prologue.S: New file.
7085 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7087 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7089 * gdb.arch/arc-decode-insn.S: New file.
7090 * gdb.arch/arc-decode-insn.exp: Likewise.
7092 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7095 * gdb.arch/sparc64-regs.exp: New file.
7096 * gdb.arch/sparc64-regs.S: Likewise.
7098 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7100 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7101 and memory view on Python 3.
7103 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7104 Keith Seitz <keiths@redhat.com>
7107 * gdb.cp/demangle.exp: Add rvalue reference tests.
7108 * gdb.cp/rvalue-ref-casts.cc: New file.
7109 * gdb.cp/rvalue-ref-casts.exp: New file.
7110 * gdb.cp/rvalue-ref-overload.cc: New file.
7111 * gdb.cp/rvalue-ref-overload.exp: New file.
7112 * gdb.cp/rvalue-ref-params.cc: New file.
7113 * gdb.cp/rvalue-ref-params.exp: New file.
7114 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7115 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7116 * gdb.cp/rvalue-ref-types.cc: New file.
7117 * gdb.cp/rvalue-ref-types.exp: New file.
7118 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7119 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7121 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7123 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7126 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7128 * lib/mi-support.exp (mi_gdb_test): Add additional message
7129 for unexpected output.
7131 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7133 * gdb.base/examine-backward.c (Barrier): New character array
7134 constant, to ensure that TestStrings is preceded by a string
7137 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7139 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7140 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7141 and implicit pointer into such a location.
7143 2017-03-16 Doug Evans <dje@google.com>
7145 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7147 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7149 * gdb.cp/m-static.exp: Fix expectation for prototype of
7150 test5.single_constructor and single_constructor::single_constructor.
7152 2017-03-16 Doug Evans <dje@google.com>
7154 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7155 * gdb.guile/scm-lazy-string.c: New file.
7156 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7157 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7158 for pointer, array, typedef lazy strings.
7160 2017-03-16 Doug Evans <dje@google.com>
7162 PR python/17728, python/18439, python/18779
7163 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7164 * gdb.python/py-lazy-string.c (pointer): New typedef.
7165 (main): New locals ptr, array, typedef_ptr.
7166 * gdb.python/py-value.exp: Move lazy string tests to ...
7167 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7168 array, typedef lazy strings.
7170 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7172 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7173 Add optional 'test' parameter.
7175 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7177 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7178 Skip for versions of DejaGnu < 1.5.
7180 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7182 * lib/gdb.exp (dejagnu_version): New proc.
7183 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7184 Use dejagnu_version.
7186 2017-03-10 Keith Seitz <keiths@redhat.com>
7189 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7190 type from destructor regexps.
7191 Add a branch which actually passes the test.
7192 Adjust "ptype t5i" test names.
7194 2017-03-08 Pedro Alves <palves@redhat.com>
7196 * gdb.base/step-over-exit.exp: Add explicit test message.
7198 2017-03-08 Pedro Alves <palves@redhat.com>
7201 * gdb.threads/interrupt-while-step-over.c: New file.
7202 * gdb.threads/interrupt-while-step-over.exp: New file.
7204 2017-03-08 Pedro Alves <palves@redhat.com>
7206 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7207 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7209 2017-03-08 Pedro Alves <palves@redhat.com>
7211 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7212 PKRU as not supported as a PASS.
7214 2017-03-08 Pedro Alves <palves@redhat.com>
7216 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7217 prefix instead of $binfile1/$binfile2.
7218 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7220 * gdb.python/py-completion.exp: Use "load python file" as test
7221 messages instead of unstable path names.
7223 2017-03-08 Pedro Alves <palves@redhat.com>
7224 Jan Kratochvil <jan.kratochvil@redhat.com>
7227 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7229 (top level): Call it.
7231 2017-03-08 Pedro Alves <palves@redhat.com>
7234 * gdb.tui/tui-nl-filtered-output.exp: New file.
7236 2017-03-08 Pedro Alves <palves@redhat.com>
7238 * gdb.base/completion.exp: Move TUI completion tests to ...
7239 * gdb.tui/completion.exp: ... this new file.
7241 2017-03-08 Pedro Alves <palves@redhat.com>
7243 * gdb.base/tui-disasm-long-lines.c,
7244 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7245 gdb.base/tui-layout.exp: Move to ...
7246 * gdb.tui/: ... this new directory.
7248 2017-03-07 Pedro Alves <palves@redhat.com>
7250 * gdb.base/tui-layout.c: New file.
7251 * gdb.base/tui-layout.exp: New file.
7253 2017-03-07 Pedro Alves <palves@redhat.com>
7255 * gdb.base/tui-layout.c: Rename to ...
7256 * gdb.base/tui-disasm-long-lines.c: ... this.
7257 * gdb.base/tui-layout.exp: Rename to ...
7258 * gdb.base/tui-disasm-long-lines.exp: ... this.
7260 2017-03-07 Pedro Alves <palves@redhat.com>
7262 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7264 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7266 * i386-mpx-call.c: New file.
7267 * i386-mpx-call.exp: New file.
7269 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7271 * gdb.arch/powerpc-power.exp: Delete test.
7272 * gdb.arch/powerpc-power.s: Likewise.
7273 * gdb.disasm/disassembler-options.exp: New test.
7274 * gdb.arch/powerpc-altivec.exp: Likewise.
7275 * gdb.arch/powerpc-altivec.s: Likewise.
7276 * gdb.arch/powerpc-altivec2.exp: Likewise.
7277 * gdb.arch/powerpc-altivec2.s: Likewise.
7278 * gdb.arch/powerpc-altivec3.exp: Likewise.
7279 * gdb.arch/powerpc-altivec3.s: Likewise.
7280 * gdb.arch/powerpc-power7.exp: Likewise.
7281 * gdb.arch/powerpc-power7.s: Likewise.
7282 * gdb.arch/powerpc-power8.exp: Likewise.
7283 * gdb.arch/powerpc-power8.s: Likewise.
7284 * gdb.arch/powerpc-power9.exp: Likewise.
7285 * gdb.arch/powerpc-power9.s: Likewise.
7286 * gdb.arch/powerpc-vsx.exp: Likewise.
7287 * gdb.arch/powerpc-vsx.s: Likewise.
7288 * gdb.arch/powerpc-vsx2.exp: Likewise.
7289 * gdb.arch/powerpc-vsx2.s: Likewise.
7290 * gdb.arch/powerpc-vsx3.exp: Likewise.
7291 * gdb.arch/powerpc-vsx3.s: Likewise.
7292 * gdb.arch/arm-disassembler-options.exp: Likewise.
7293 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7294 * gdb.arch/s390-disassembler-options.exp: Likewise.
7296 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7298 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7299 (check_supported_features): ... this. Changed return type to void.
7300 (supports_rdseed): New static global.
7301 (rdseed): Check supports_rdseed.
7302 (initialize): Call check_supported_features.
7304 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7306 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7307 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7309 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7310 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7312 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7314 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7317 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7319 * gdb.dwarf2/formdata16.c: New file.
7320 * gdb.dwarf2/formdata16.exp: New file.
7321 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7323 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7325 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7326 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7327 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7328 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7331 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7333 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7335 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7338 * gdb.base/maint.exp: Add testcases for when the commands do
7341 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7343 * gdb.cp/chained-calls.exp: Use p instead of P.
7345 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7347 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7348 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7350 2017-02-14 Tom Tromey <tom@tromey.com>
7353 * gdb.python/py-events.exp: Add before_prompt event tests.
7355 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7357 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7359 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7361 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7362 (main): Call my_unique_function_name.
7363 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7364 completion of patterns with a single match.
7365 Add missing -re switches to gdb_test_multiple calls.
7367 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7369 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7370 return if core file is not recognized.
7372 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7374 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7377 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7379 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7382 2017-02-10 Tom Tromey <tom@tromey.com>
7384 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7386 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7389 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7391 2017-02-08 Jerome Guitton <guitton@adacore.com>
7393 * gdb.base/define.exp: Add test for command abbreviations
7396 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7398 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7399 * gdb.reverse/insn-reverse-x86.c: New file.
7401 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7404 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7406 2017-02-03 Tom Tromey <tom@tromey.com>
7409 * gdb.rust/simple.exp: Add new tests.
7411 2017-02-02 Pedro Alves <palves@redhat.com>
7413 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7416 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7418 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7419 taking a 2-byte value out of a 4-byte DWARF implicit value on
7421 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7422 logic. Add test cases for DW_OP_implicit.
7424 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7426 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7428 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7430 * gdb.btrace/enable.exp: Call gdb_exit before
7431 skip_gdbserver_tests.
7433 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7435 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7438 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7440 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7441 the test is skipped.
7442 * gdb.btrace/data.exp: Likewise.
7443 * gdb.btrace/delta.exp: Likewise.
7444 * gdb.btrace/dlopen.exp: Likewise.
7445 * gdb.btrace/enable-running.exp: Likewise.
7446 * gdb.btrace/enable.exp: Likewise.
7447 * gdb.btrace/exception.exp: Likewise.
7448 * gdb.btrace/function_call_history.exp: Likewise.
7449 * gdb.btrace/gcore.exp: Likewise.
7450 * gdb.btrace/instruction_history.exp: Likewise.
7451 * gdb.btrace/multi-thread-step.exp: Likewise.
7452 * gdb.btrace/nohist.exp: Likewise.
7453 * gdb.btrace/non-stop.exp: Likewise.
7454 * gdb.btrace/reconnect.exp: Likewise.
7455 * gdb.btrace/record_goto-step.exp: Likewise.
7456 * gdb.btrace/record_goto.exp: Likewise.
7457 * gdb.btrace/rn-dl-bind.exp: Likewise.
7458 * gdb.btrace/segv.exp: Likewise.
7459 * gdb.btrace/step.exp: Likewise.
7460 * gdb.btrace/stepi.exp: Likewise.
7461 * gdb.btrace/tailcall-only.exp: Likewise.
7462 * gdb.btrace/tailcall.exp: Likewise.
7463 * gdb.btrace/tsx.exp: Likewise.
7464 * gdb.btrace/unknown_functions.exp: Likewise.
7465 * gdb.btrace/vdso.exp: Likewise.
7467 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7469 * gdb.btrace/enable-running.c: New.
7470 * gdb.btrace/enable-running.exp: New.
7472 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7474 * gdb.arch/amd64-gs_base.c: New file.
7475 * gdb.arch/amd64-gs_base.exp: New file.
7477 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7479 * lib/memory.exp: Remove spurious empty newlines.
7481 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7483 * gdb.python/py-bad-printers.exp: Load python file using "source".
7484 * gdb.python/py-events.exp: Likewise.
7485 * gdb.python/py-evsignal.exp: Likewise.
7486 * gdb.python/py-evthreads.exp: Likewise.
7487 * gdb.python/py-frame-args.exp: Likewise.
7488 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7489 * gdb.python/py-framefilter-mi.exp: Likewise.
7490 * gdb.python/py-framefilter.exp: Likewise.
7491 * gdb.python/py-mi.exp: Likewise.
7492 * gdb.python/py-pp-maint.exp: Likewise.
7493 * gdb.python/py-pp-registration.exp: Likewise.
7494 * gdb.python/py-prettyprint.exp: Likewise.
7495 (run_lang_tests): Likewise.
7496 * gdb.python/py-typeprint.exp: Likewise.
7498 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7500 * lib/memory.exp: New file.
7501 * lib/gdb.exp: Load memory.exp.
7502 * gdb.base/memattr.exp (delete_memory): Move proc to
7503 lib/memory.exp and rename to delete_memory_regions.
7504 Replace delete_memory with delete_memory_regions.
7505 Cleanup memory regions before tests.
7506 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7509 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7511 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7513 (initialize): New function conditionally defined.
7514 (testcases): Move within conditional block.
7515 (main): Call initialize.
7516 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7517 of gdb.reverse/insn-reverse.c.
7518 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7519 gdb.reverse/insn-reverse.c.
7521 2017-01-26 Yao Qi <yao.qi@linaro.org>
7523 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7524 disassemble on address 0.
7526 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7527 Yao Qi <yao.qi@linaro.org>
7529 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7530 * gdb.dwarf2/implptr-64bit.S: Remove.
7531 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7532 variables in caller's context. Add DW_OP_implicit_value.
7534 2017-01-25 Yao Qi <yao.qi@linaro.org>
7536 * lib/dwarf.exp (Dwarf::_location): Handle
7537 DW_OP_GNU_implicit_pointer with proper size.
7539 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7541 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7542 and add untested calls.
7544 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7546 * gdb.python/python.exp: Check line number against what GDB thinks
7547 the line number is for func1.
7549 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7551 * gdb.dlang/debug-expr.exp: New file.
7553 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7555 Fix test names for the following files:
7557 * gdb.ada/exec_changed.exp
7558 * gdb.ada/info_types.exp
7559 * gdb.arch/aarch64-atomic-inst.exp
7560 * gdb.arch/aarch64-fp.exp
7561 * gdb.arch/altivec-abi.exp
7562 * gdb.arch/altivec-regs.exp
7563 * gdb.arch/amd64-byte.exp
7564 * gdb.arch/amd64-disp-step.exp
7565 * gdb.arch/amd64-dword.exp
7566 * gdb.arch/amd64-entry-value-inline.exp
7567 * gdb.arch/amd64-entry-value-param.exp
7568 * gdb.arch/amd64-entry-value-paramref.exp
7569 * gdb.arch/amd64-entry-value.exp
7570 * gdb.arch/amd64-i386-address.exp
7571 * gdb.arch/amd64-invalid-stack-middle.exp
7572 * gdb.arch/amd64-invalid-stack-top.exp
7573 * gdb.arch/amd64-optimout-repeat.exp
7574 * gdb.arch/amd64-prologue-skip.exp
7575 * gdb.arch/amd64-prologue-xmm.exp
7576 * gdb.arch/amd64-stap-special-operands.exp
7577 * gdb.arch/amd64-stap-wrong-subexp.exp
7578 * gdb.arch/amd64-tailcall-cxx.exp
7579 * gdb.arch/amd64-tailcall-noret.exp
7580 * gdb.arch/amd64-tailcall-ret.exp
7581 * gdb.arch/amd64-tailcall-self.exp
7582 * gdb.arch/amd64-word.exp
7583 * gdb.arch/arm-bl-branch-dest.exp
7584 * gdb.arch/arm-disp-step.exp
7585 * gdb.arch/arm-neon.exp
7586 * gdb.arch/arm-single-step-kernel-helper.exp
7587 * gdb.arch/avr-flash-qualifier.exp
7588 * gdb.arch/disp-step-insn-reloc.exp
7589 * gdb.arch/e500-abi.exp
7590 * gdb.arch/e500-regs.exp
7591 * gdb.arch/ftrace-insn-reloc.exp
7592 * gdb.arch/i386-avx512.exp
7593 * gdb.arch/i386-bp_permanent.exp
7594 * gdb.arch/i386-byte.exp
7595 * gdb.arch/i386-cfi-notcurrent.exp
7596 * gdb.arch/i386-disp-step.exp
7597 * gdb.arch/i386-dr3-watch.exp
7598 * gdb.arch/i386-float.exp
7599 * gdb.arch/i386-gnu-cfi.exp
7600 * gdb.arch/i386-mpx-map.exp
7601 * gdb.arch/i386-mpx-sigsegv.exp
7602 * gdb.arch/i386-mpx-simple_segv.exp
7603 * gdb.arch/i386-mpx.exp
7604 * gdb.arch/i386-permbkpt.exp
7605 * gdb.arch/i386-prologue.exp
7606 * gdb.arch/i386-signal.exp
7607 * gdb.arch/i386-size-overlap.exp
7608 * gdb.arch/i386-unwind.exp
7609 * gdb.arch/i386-word.exp
7610 * gdb.arch/mips-fcr.exp
7611 * gdb.arch/powerpc-d128-regs.exp
7612 * gdb.arch/powerpc-stackless.exp
7613 * gdb.arch/ppc64-atomic-inst.exp
7614 * gdb.arch/s390-stackless.exp
7615 * gdb.arch/s390-tdbregs.exp
7616 * gdb.arch/s390-vregs.exp
7617 * gdb.arch/sparc-sysstep.exp
7618 * gdb.arch/thumb-bx-pc.exp
7619 * gdb.arch/thumb-singlestep.exp
7620 * gdb.arch/thumb2-it.exp
7621 * gdb.arch/vsx-regs.exp
7622 * gdb.asm/asm-source.exp
7623 * gdb.base/a2-run.exp
7624 * gdb.base/advance.exp
7625 * gdb.base/all-bin.exp
7628 * gdb.base/arithmet.exp
7629 * gdb.base/async-shell.exp
7630 * gdb.base/async.exp
7631 * gdb.base/attach-pie-noexec.exp
7632 * gdb.base/attach-twice.exp
7633 * gdb.base/auto-load.exp
7635 * gdb.base/bitfields.exp
7636 * gdb.base/break-always.exp
7637 * gdb.base/break-caller-line.exp
7638 * gdb.base/break-entry.exp
7639 * gdb.base/break-inline.exp
7640 * gdb.base/break-on-linker-gcd-function.exp
7641 * gdb.base/break-probes.exp
7642 * gdb.base/break.exp
7643 * gdb.base/breakpoint-shadow.exp
7644 * gdb.base/call-ar-st.exp
7645 * gdb.base/call-sc.exp
7646 * gdb.base/call-signal-resume.exp
7647 * gdb.base/call-strs.exp
7648 * gdb.base/callfuncs.exp
7649 * gdb.base/catch-fork-static.exp
7650 * gdb.base/catch-gdb-caused-signals.exp
7651 * gdb.base/catch-load.exp
7652 * gdb.base/catch-signal-fork.exp
7653 * gdb.base/catch-signal.exp
7654 * gdb.base/catch-syscall.exp
7655 * gdb.base/charset.exp
7656 * gdb.base/checkpoint.exp
7657 * gdb.base/chng-syms.exp
7658 * gdb.base/code-expr.exp
7659 * gdb.base/code_elim.exp
7660 * gdb.base/commands.exp
7661 * gdb.base/completion.exp
7662 * gdb.base/complex.exp
7663 * gdb.base/cond-expr.exp
7664 * gdb.base/condbreak.exp
7665 * gdb.base/consecutive.exp
7666 * gdb.base/continue-all-already-running.exp
7667 * gdb.base/coredump-filter.exp
7668 * gdb.base/corefile.exp
7670 * gdb.base/debug-expr.exp
7671 * gdb.base/define.exp
7673 * gdb.base/disabled-location.exp
7674 * gdb.base/disasm-end-cu.exp
7675 * gdb.base/disasm-optim.exp
7676 * gdb.base/display.exp
7677 * gdb.base/duplicate-bp.exp
7678 * gdb.base/ena-dis-br.exp
7679 * gdb.base/ending-run.exp
7680 * gdb.base/enumval.exp
7681 * gdb.base/environ.exp
7682 * gdb.base/eu-strip-infcall.exp
7683 * gdb.base/eval-avoid-side-effects.exp
7684 * gdb.base/eval-skip.exp
7685 * gdb.base/exitsignal.exp
7686 * gdb.base/expand-psymtabs.exp
7687 * gdb.base/filesym.exp
7688 * gdb.base/find-unmapped.exp
7689 * gdb.base/finish.exp
7690 * gdb.base/float.exp
7691 * gdb.base/foll-exec-mode.exp
7692 * gdb.base/foll-exec.exp
7693 * gdb.base/foll-fork.exp
7694 * gdb.base/fortran-sym-case.exp
7695 * gdb.base/freebpcmd.exp
7696 * gdb.base/func-ptr.exp
7697 * gdb.base/func-ptrs.exp
7698 * gdb.base/funcargs.exp
7699 * gdb.base/gcore-buffer-overflow.exp
7700 * gdb.base/gcore-relro-pie.exp
7701 * gdb.base/gcore-relro.exp
7702 * gdb.base/gcore.exp
7703 * gdb.base/gdb1090.exp
7704 * gdb.base/gdb11530.exp
7705 * gdb.base/gdb11531.exp
7706 * gdb.base/gdb1821.exp
7707 * gdb.base/gdbindex-stabs.exp
7708 * gdb.base/gdbvars.exp
7709 * gdb.base/hbreak.exp
7710 * gdb.base/hbreak2.exp
7711 * gdb.base/included.exp
7712 * gdb.base/infcall-input.exp
7713 * gdb.base/inferior-died.exp
7714 * gdb.base/infnan.exp
7715 * gdb.base/info-macros.exp
7716 * gdb.base/info-os.exp
7717 * gdb.base/info-proc.exp
7718 * gdb.base/info-shared.exp
7719 * gdb.base/info-target.exp
7720 * gdb.base/infoline.exp
7721 * gdb.base/interp.exp
7722 * gdb.base/interrupt.exp
7723 * gdb.base/jit-reader.exp
7724 * gdb.base/jit-simple.exp
7725 * gdb.base/kill-after-signal.exp
7726 * gdb.base/kill-detach-inferiors-cmd.exp
7727 * gdb.base/label.exp
7728 * gdb.base/langs.exp
7729 * gdb.base/ldbl_e308.exp
7730 * gdb.base/line-symtabs.exp
7731 * gdb.base/linespecs.exp
7733 * gdb.base/long_long.exp
7734 * gdb.base/longest-types.exp
7735 * gdb.base/maint.exp
7736 * gdb.base/max-value-size.exp
7737 * gdb.base/memattr.exp
7738 * gdb.base/mips_pro.exp
7739 * gdb.base/morestack.exp
7740 * gdb.base/moribund-step.exp
7741 * gdb.base/multi-forks.exp
7742 * gdb.base/nested-addr.exp
7743 * gdb.base/nextoverexit.exp
7744 * gdb.base/noreturn-finish.exp
7745 * gdb.base/noreturn-return.exp
7746 * gdb.base/nostdlib.exp
7747 * gdb.base/offsets.exp
7748 * gdb.base/opaque.exp
7749 * gdb.base/pc-fp.exp
7750 * gdb.base/permissions.exp
7751 * gdb.base/print-symbol-loading.exp
7752 * gdb.base/prologue-include.exp
7753 * gdb.base/psymtab.exp
7754 * gdb.base/ptype.exp
7755 * gdb.base/random-signal.exp
7756 * gdb.base/randomize.exp
7757 * gdb.base/range-stepping.exp
7758 * gdb.base/readline-ask.exp
7759 * gdb.base/recpar.exp
7760 * gdb.base/recurse.exp
7761 * gdb.base/relational.exp
7762 * gdb.base/restore.exp
7763 * gdb.base/return-nodebug.exp
7764 * gdb.base/return.exp
7765 * gdb.base/run-after-attach.exp
7766 * gdb.base/save-bp.exp
7767 * gdb.base/scope.exp
7768 * gdb.base/sect-cmd.exp
7769 * gdb.base/set-lang-auto.exp
7770 * gdb.base/set-noassign.exp
7771 * gdb.base/setvar.exp
7772 * gdb.base/sigall.exp
7773 * gdb.base/sigbpt.exp
7774 * gdb.base/siginfo-addr.exp
7775 * gdb.base/siginfo-infcall.exp
7776 * gdb.base/siginfo-obj.exp
7777 * gdb.base/siginfo.exp
7778 * gdb.base/signals-state-child.exp
7779 * gdb.base/signest.exp
7780 * gdb.base/sigstep.exp
7781 * gdb.base/sizeof.exp
7783 * gdb.base/solib-corrupted.exp
7784 * gdb.base/solib-nodir.exp
7785 * gdb.base/solib-search.exp
7786 * gdb.base/stack-checking.exp
7787 * gdb.base/stale-infcall.exp
7788 * gdb.base/stap-probe.exp
7789 * gdb.base/start.exp
7790 * gdb.base/step-break.exp
7791 * gdb.base/step-bt.exp
7792 * gdb.base/step-line.exp
7793 * gdb.base/step-over-exit.exp
7794 * gdb.base/step-over-syscall.exp
7795 * gdb.base/step-resume-infcall.exp
7796 * gdb.base/step-test.exp
7797 * gdb.base/store.exp
7798 * gdb.base/structs3.exp
7799 * gdb.base/sym-file.exp
7800 * gdb.base/symbol-without-target_section.exp
7802 * gdb.base/testenv.exp
7803 * gdb.base/ui-redirect.exp
7804 * gdb.base/until.exp
7805 * gdb.base/unwindonsignal.exp
7806 * gdb.base/value-double-free.exp
7807 * gdb.base/vla-datatypes.exp
7808 * gdb.base/vla-ptr.exp
7809 * gdb.base/vla-sideeffect.exp
7810 * gdb.base/volatile.exp
7811 * gdb.base/watch-cond-infcall.exp
7812 * gdb.base/watch-cond.exp
7813 * gdb.base/watch-non-mem.exp
7814 * gdb.base/watch-read.exp
7815 * gdb.base/watch-vfork.exp
7816 * gdb.base/watchpoint-cond-gone.exp
7817 * gdb.base/watchpoint-delete.exp
7818 * gdb.base/watchpoint-hw-hit-once.exp
7819 * gdb.base/watchpoint-hw.exp
7820 * gdb.base/watchpoint-stops-at-right-insn.exp
7821 * gdb.base/watchpoints.exp
7822 * gdb.base/wchar.exp
7823 * gdb.base/whatis-exp.exp
7824 * gdb.btrace/buffer-size.exp
7825 * gdb.btrace/data.exp
7826 * gdb.btrace/delta.exp
7827 * gdb.btrace/dlopen.exp
7828 * gdb.btrace/enable.exp
7829 * gdb.btrace/exception.exp
7830 * gdb.btrace/function_call_history.exp
7831 * gdb.btrace/gcore.exp
7832 * gdb.btrace/instruction_history.exp
7833 * gdb.btrace/nohist.exp
7834 * gdb.btrace/reconnect.exp
7835 * gdb.btrace/record_goto-step.exp
7836 * gdb.btrace/record_goto.exp
7837 * gdb.btrace/rn-dl-bind.exp
7838 * gdb.btrace/segv.exp
7839 * gdb.btrace/step.exp
7840 * gdb.btrace/stepi.exp
7841 * gdb.btrace/tailcall-only.exp
7842 * gdb.btrace/tailcall.exp
7843 * gdb.btrace/tsx.exp
7844 * gdb.btrace/unknown_functions.exp
7845 * gdb.btrace/vdso.exp
7846 * gdb.compile/compile-ifunc.exp
7847 * gdb.compile/compile-ops.exp
7848 * gdb.compile/compile-print.exp
7849 * gdb.compile/compile-setjmp.exp
7850 * gdb.cp/abstract-origin.exp
7851 * gdb.cp/ambiguous.exp
7852 * gdb.cp/annota2.exp
7853 * gdb.cp/annota3.exp
7854 * gdb.cp/anon-ns.exp
7855 * gdb.cp/anon-struct.exp
7856 * gdb.cp/anon-union.exp
7857 * gdb.cp/arg-reference.exp
7858 * gdb.cp/baseenum.exp
7860 * gdb.cp/breakpoint.exp
7861 * gdb.cp/bs15503.exp
7864 * gdb.cp/chained-calls.exp
7866 * gdb.cp/classes.exp
7867 * gdb.cp/cmpd-minsyms.exp
7868 * gdb.cp/converts.exp
7869 * gdb.cp/cp-relocate.exp
7870 * gdb.cp/cpcompletion.exp
7871 * gdb.cp/cpexprs.exp
7872 * gdb.cp/cplabel.exp
7873 * gdb.cp/cplusfuncs.exp
7874 * gdb.cp/cpsizeof.exp
7876 * gdb.cp/derivation.exp
7877 * gdb.cp/destrprint.exp
7878 * gdb.cp/dispcxx.exp
7879 * gdb.cp/enum-class.exp
7880 * gdb.cp/exception.exp
7881 * gdb.cp/exceptprint.exp
7882 * gdb.cp/expand-psymtabs-cxx.exp
7883 * gdb.cp/expand-sals.exp
7884 * gdb.cp/extern-c.exp
7885 * gdb.cp/filename.exp
7886 * gdb.cp/formatted-ref.exp
7887 * gdb.cp/fpointer.exp
7888 * gdb.cp/gdb1355.exp
7889 * gdb.cp/gdb2495.exp
7891 * gdb.cp/impl-this.exp
7892 * gdb.cp/infcall-dlopen.exp
7893 * gdb.cp/inherit.exp
7894 * gdb.cp/iostream.exp
7898 * gdb.cp/m-static.exp
7899 * gdb.cp/mb-ctor.exp
7900 * gdb.cp/mb-inline.exp
7901 * gdb.cp/mb-templates.exp
7902 * gdb.cp/member-name.exp
7903 * gdb.cp/member-ptr.exp
7904 * gdb.cp/meth-typedefs.exp
7906 * gdb.cp/method2.exp
7907 * gdb.cp/minsym-fallback.exp
7909 * gdb.cp/namelessclass.exp
7910 * gdb.cp/namespace-enum.exp
7911 * gdb.cp/namespace-nested-import.exp
7912 * gdb.cp/namespace.exp
7913 * gdb.cp/nextoverthrow.exp
7914 * gdb.cp/no-dmgl-verbose.exp
7915 * gdb.cp/non-trivial-retval.exp
7916 * gdb.cp/noparam.exp
7918 * gdb.cp/nsimport.exp
7919 * gdb.cp/nsnested.exp
7920 * gdb.cp/nsnoimports.exp
7921 * gdb.cp/nsrecurs.exp
7922 * gdb.cp/nsstress.exp
7923 * gdb.cp/nsusing.exp
7924 * gdb.cp/operator.exp
7925 * gdb.cp/oranking.exp
7926 * gdb.cp/overload-const.exp
7927 * gdb.cp/overload.exp
7928 * gdb.cp/ovldbreak.exp
7930 * gdb.cp/paren-type.exp
7931 * gdb.cp/parse-lang.exp
7932 * gdb.cp/pass-by-ref.exp
7933 * gdb.cp/pr-1023.exp
7934 * gdb.cp/pr-1210.exp
7936 * gdb.cp/pr10687.exp
7937 * gdb.cp/pr12028.exp
7938 * gdb.cp/pr17132.exp
7939 * gdb.cp/pr17494.exp
7943 * gdb.cp/printmethod.exp
7945 * gdb.cp/psymtab-parameter.exp
7946 * gdb.cp/ptype-cv-cp.exp
7947 * gdb.cp/ptype-flags.exp
7948 * gdb.cp/re-set-overloaded.exp
7949 * gdb.cp/ref-types.exp
7951 * gdb.cp/scope-err.exp
7954 * gdb.cp/static-method.exp
7955 * gdb.cp/static-print-quit.exp
7956 * gdb.cp/temargs.exp
7957 * gdb.cp/templates.exp
7958 * gdb.cp/try_catch.exp
7959 * gdb.cp/typedef-operator.exp
7961 * gdb.cp/userdef.exp
7962 * gdb.cp/using-crash.exp
7963 * gdb.cp/var-tag.exp
7964 * gdb.cp/virtbase.exp
7965 * gdb.cp/virtfunc.exp
7966 * gdb.cp/virtfunc2.exp
7967 * gdb.cp/vla-cxx.exp
7968 * gdb.disasm/t01_mov.exp
7969 * gdb.disasm/t02_mova.exp
7970 * gdb.disasm/t03_add.exp
7971 * gdb.disasm/t04_sub.exp
7972 * gdb.disasm/t05_cmp.exp
7973 * gdb.disasm/t06_ari2.exp
7974 * gdb.disasm/t07_ari3.exp
7975 * gdb.disasm/t08_or.exp
7976 * gdb.disasm/t09_xor.exp
7977 * gdb.disasm/t10_and.exp
7978 * gdb.disasm/t11_logs.exp
7979 * gdb.disasm/t12_bit.exp
7980 * gdb.disasm/t13_otr.exp
7981 * gdb.dlang/circular.exp
7982 * gdb.dwarf2/arr-stride.exp
7983 * gdb.dwarf2/arr-subrange.exp
7984 * gdb.dwarf2/atomic-type.exp
7985 * gdb.dwarf2/bad-regnum.exp
7986 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7987 * gdb.dwarf2/callframecfa.exp
7988 * gdb.dwarf2/clztest.exp
7989 * gdb.dwarf2/corrupt.exp
7990 * gdb.dwarf2/data-loc.exp
7991 * gdb.dwarf2/dup-psym.exp
7992 * gdb.dwarf2/dw2-anon-mptr.exp
7993 * gdb.dwarf2/dw2-anonymous-func.exp
7994 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7995 * gdb.dwarf2/dw2-bad-unresolved.exp
7996 * gdb.dwarf2/dw2-basic.exp
7997 * gdb.dwarf2/dw2-canonicalize-type.exp
7998 * gdb.dwarf2/dw2-case-insensitive.exp
7999 * gdb.dwarf2/dw2-common-block.exp
8000 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8001 * gdb.dwarf2/dw2-compressed.exp
8002 * gdb.dwarf2/dw2-const.exp
8003 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8004 * gdb.dwarf2/dw2-cu-size.exp
8005 * gdb.dwarf2/dw2-dup-frame.exp
8006 * gdb.dwarf2/dw2-entry-value.exp
8007 * gdb.dwarf2/dw2-icycle.exp
8008 * gdb.dwarf2/dw2-ifort-parameter.exp
8009 * gdb.dwarf2/dw2-inline-break.exp
8010 * gdb.dwarf2/dw2-inline-param.exp
8011 * gdb.dwarf2/dw2-intercu.exp
8012 * gdb.dwarf2/dw2-intermix.exp
8013 * gdb.dwarf2/dw2-lexical-block-bare.exp
8014 * gdb.dwarf2/dw2-linkage-name-trust.exp
8015 * gdb.dwarf2/dw2-minsym-in-cu.exp
8016 * gdb.dwarf2/dw2-noloc.exp
8017 * gdb.dwarf2/dw2-op-call.exp
8018 * gdb.dwarf2/dw2-op-out-param.exp
8019 * gdb.dwarf2/dw2-opt-structptr.exp
8020 * gdb.dwarf2/dw2-param-error.exp
8021 * gdb.dwarf2/dw2-producer.exp
8022 * gdb.dwarf2/dw2-ranges-base.exp
8023 * gdb.dwarf2/dw2-ref-missing-frame.exp
8024 * gdb.dwarf2/dw2-reg-undefined.exp
8025 * gdb.dwarf2/dw2-regno-invalid.exp
8026 * gdb.dwarf2/dw2-restore.exp
8027 * gdb.dwarf2/dw2-restrict.exp
8028 * gdb.dwarf2/dw2-single-line-discriminators.exp
8029 * gdb.dwarf2/dw2-strp.exp
8030 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8031 * gdb.dwarf2/dw2-unresolved.exp
8032 * gdb.dwarf2/dw2-var-zero-addr.exp
8033 * gdb.dwarf2/dw4-sig-types.exp
8034 * gdb.dwarf2/dwz.exp
8035 * gdb.dwarf2/dynarr-ptr.exp
8036 * gdb.dwarf2/enum-type.exp
8037 * gdb.dwarf2/gdb-index.exp
8038 * gdb.dwarf2/implptr-64bit.exp
8039 * gdb.dwarf2/implptr-optimized-out.exp
8040 * gdb.dwarf2/implptr.exp
8041 * gdb.dwarf2/implref-array.exp
8042 * gdb.dwarf2/implref-const.exp
8043 * gdb.dwarf2/implref-global.exp
8044 * gdb.dwarf2/implref-struct.exp
8045 * gdb.dwarf2/mac-fileno.exp
8046 * gdb.dwarf2/main-subprogram.exp
8047 * gdb.dwarf2/member-ptr-forwardref.exp
8048 * gdb.dwarf2/method-ptr.exp
8049 * gdb.dwarf2/missing-sig-type.exp
8050 * gdb.dwarf2/nonvar-access.exp
8051 * gdb.dwarf2/opaque-type-lookup.exp
8052 * gdb.dwarf2/pieces-optimized-out.exp
8053 * gdb.dwarf2/pieces.exp
8054 * gdb.dwarf2/pr10770.exp
8055 * gdb.dwarf2/pr13961.exp
8056 * gdb.dwarf2/staticvirtual.exp
8057 * gdb.dwarf2/subrange.exp
8058 * gdb.dwarf2/symtab-producer.exp
8059 * gdb.dwarf2/trace-crash.exp
8060 * gdb.dwarf2/typeddwarf.exp
8061 * gdb.dwarf2/valop.exp
8062 * gdb.dwarf2/watch-notconst.exp
8063 * gdb.fortran/array-element.exp
8064 * gdb.fortran/charset.exp
8065 * gdb.fortran/common-block.exp
8066 * gdb.fortran/complex.exp
8067 * gdb.fortran/derived-type-function.exp
8068 * gdb.fortran/derived-type.exp
8069 * gdb.fortran/logical.exp
8070 * gdb.fortran/module.exp
8071 * gdb.fortran/multi-dim.exp
8072 * gdb.fortran/nested-funcs.exp
8073 * gdb.fortran/print-formatted.exp
8074 * gdb.fortran/subarray.exp
8075 * gdb.fortran/vla-alloc-assoc.exp
8076 * gdb.fortran/vla-datatypes.exp
8077 * gdb.fortran/vla-history.exp
8078 * gdb.fortran/vla-ptr-info.exp
8079 * gdb.fortran/vla-ptype-sub.exp
8080 * gdb.fortran/vla-ptype.exp
8081 * gdb.fortran/vla-sizeof.exp
8082 * gdb.fortran/vla-type.exp
8083 * gdb.fortran/vla-value-sub-arbitrary.exp
8084 * gdb.fortran/vla-value-sub-finish.exp
8085 * gdb.fortran/vla-value-sub.exp
8086 * gdb.fortran/vla-value.exp
8087 * gdb.fortran/whatis_type.exp
8089 * gdb.go/handcall.exp
8091 * gdb.go/integers.exp
8092 * gdb.go/methods.exp
8093 * gdb.go/package.exp
8094 * gdb.go/strings.exp
8097 * gdb.guile/scm-arch.exp
8098 * gdb.guile/scm-block.exp
8099 * gdb.guile/scm-breakpoint.exp
8100 * gdb.guile/scm-cmd.exp
8101 * gdb.guile/scm-disasm.exp
8102 * gdb.guile/scm-equal.exp
8103 * gdb.guile/scm-frame-args.exp
8104 * gdb.guile/scm-frame-inline.exp
8105 * gdb.guile/scm-frame.exp
8106 * gdb.guile/scm-iterator.exp
8107 * gdb.guile/scm-math.exp
8108 * gdb.guile/scm-objfile.exp
8109 * gdb.guile/scm-ports.exp
8110 * gdb.guile/scm-symbol.exp
8111 * gdb.guile/scm-symtab.exp
8112 * gdb.guile/scm-value-cc.exp
8113 * gdb.guile/types-module.exp
8114 * gdb.linespec/break-ask.exp
8115 * gdb.linespec/cpexplicit.exp
8116 * gdb.linespec/explicit.exp
8117 * gdb.linespec/keywords.exp
8118 * gdb.linespec/linespec.exp
8119 * gdb.linespec/ls-dollar.exp
8120 * gdb.linespec/ls-errs.exp
8121 * gdb.linespec/skip-two.exp
8122 * gdb.linespec/thread.exp
8123 * gdb.mi/mi-async.exp
8124 * gdb.mi/mi-basics.exp
8125 * gdb.mi/mi-break.exp
8126 * gdb.mi/mi-catch-load.exp
8128 * gdb.mi/mi-cmd-param-changed.exp
8129 * gdb.mi/mi-console.exp
8130 * gdb.mi/mi-detach.exp
8131 * gdb.mi/mi-disassemble.exp
8132 * gdb.mi/mi-eval.exp
8133 * gdb.mi/mi-file-transfer.exp
8134 * gdb.mi/mi-file.exp
8135 * gdb.mi/mi-fill-memory.exp
8136 * gdb.mi/mi-inheritance-syntax-error.exp
8137 * gdb.mi/mi-linespec-err-cp.exp
8138 * gdb.mi/mi-logging.exp
8139 * gdb.mi/mi-memory-changed.exp
8140 * gdb.mi/mi-read-memory.exp
8141 * gdb.mi/mi-record-changed.exp
8142 * gdb.mi/mi-reg-undefined.exp
8143 * gdb.mi/mi-regs.exp
8144 * gdb.mi/mi-return.exp
8145 * gdb.mi/mi-reverse.exp
8146 * gdb.mi/mi-simplerun.exp
8147 * gdb.mi/mi-solib.exp
8148 * gdb.mi/mi-stack.exp
8149 * gdb.mi/mi-stepi.exp
8150 * gdb.mi/mi-syn-frame.exp
8151 * gdb.mi/mi-until.exp
8152 * gdb.mi/mi-var-block.exp
8153 * gdb.mi/mi-var-child.exp
8154 * gdb.mi/mi-var-cmd.exp
8155 * gdb.mi/mi-var-cp.exp
8156 * gdb.mi/mi-var-display.exp
8157 * gdb.mi/mi-var-invalidate.exp
8158 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8159 * gdb.mi/mi-vla-fortran.exp
8160 * gdb.mi/mi-watch.exp
8161 * gdb.mi/mi2-var-child.exp
8162 * gdb.mi/user-selected-context-sync.exp
8163 * gdb.modula2/unbounded-array.exp
8164 * gdb.multi/dummy-frame-restore.exp
8165 * gdb.multi/multi-arch-exec.exp
8166 * gdb.multi/multi-arch.exp
8167 * gdb.multi/tids.exp
8168 * gdb.multi/watchpoint-multi.exp
8169 * gdb.opencl/callfuncs.exp
8170 * gdb.opencl/convs_casts.exp
8171 * gdb.opencl/datatypes.exp
8172 * gdb.opencl/operators.exp
8173 * gdb.opencl/vec_comps.exp
8174 * gdb.opt/clobbered-registers-O2.exp
8175 * gdb.opt/inline-break.exp
8176 * gdb.opt/inline-bt.exp
8177 * gdb.opt/inline-cmds.exp
8178 * gdb.opt/inline-locals.exp
8179 * gdb.pascal/case-insensitive-symbols.exp
8180 * gdb.pascal/floats.exp
8181 * gdb.pascal/gdb11492.exp
8182 * gdb.python/lib-types.exp
8183 * gdb.python/py-arch.exp
8184 * gdb.python/py-as-string.exp
8185 * gdb.python/py-bad-printers.exp
8186 * gdb.python/py-block.exp
8187 * gdb.python/py-breakpoint-create-fail.exp
8188 * gdb.python/py-breakpoint.exp
8189 * gdb.python/py-caller-is.exp
8190 * gdb.python/py-cmd.exp
8191 * gdb.python/py-explore-cc.exp
8192 * gdb.python/py-explore.exp
8193 * gdb.python/py-finish-breakpoint.exp
8194 * gdb.python/py-finish-breakpoint2.exp
8195 * gdb.python/py-frame-args.exp
8196 * gdb.python/py-frame-inline.exp
8197 * gdb.python/py-frame.exp
8198 * gdb.python/py-framefilter-mi.exp
8199 * gdb.python/py-infthread.exp
8200 * gdb.python/py-lazy-string.exp
8201 * gdb.python/py-linetable.exp
8202 * gdb.python/py-mi-events.exp
8203 * gdb.python/py-mi-objfile.exp
8204 * gdb.python/py-mi.exp
8205 * gdb.python/py-objfile.exp
8206 * gdb.python/py-pp-integral.exp
8207 * gdb.python/py-pp-maint.exp
8208 * gdb.python/py-pp-re-notag.exp
8209 * gdb.python/py-pp-registration.exp
8210 * gdb.python/py-recurse-unwind.exp
8211 * gdb.python/py-strfns.exp
8212 * gdb.python/py-symbol.exp
8213 * gdb.python/py-symtab.exp
8214 * gdb.python/py-sync-interp.exp
8215 * gdb.python/py-typeprint.exp
8216 * gdb.python/py-unwind-maint.exp
8217 * gdb.python/py-unwind.exp
8218 * gdb.python/py-value-cc.exp
8219 * gdb.python/py-xmethods.exp
8220 * gdb.reverse/amd64-tailcall-reverse.exp
8221 * gdb.reverse/break-precsave.exp
8222 * gdb.reverse/break-reverse.exp
8223 * gdb.reverse/consecutive-precsave.exp
8224 * gdb.reverse/consecutive-reverse.exp
8225 * gdb.reverse/finish-precsave.exp
8226 * gdb.reverse/finish-reverse-bkpt.exp
8227 * gdb.reverse/finish-reverse.exp
8228 * gdb.reverse/fstatat-reverse.exp
8229 * gdb.reverse/getresuid-reverse.exp
8230 * gdb.reverse/i386-precsave.exp
8231 * gdb.reverse/i386-reverse.exp
8232 * gdb.reverse/i386-sse-reverse.exp
8233 * gdb.reverse/i387-env-reverse.exp
8234 * gdb.reverse/i387-stack-reverse.exp
8235 * gdb.reverse/insn-reverse.exp
8236 * gdb.reverse/machinestate-precsave.exp
8237 * gdb.reverse/machinestate.exp
8238 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8239 * gdb.reverse/pipe-reverse.exp
8240 * gdb.reverse/readv-reverse.exp
8241 * gdb.reverse/recvmsg-reverse.exp
8242 * gdb.reverse/rerun-prec.exp
8243 * gdb.reverse/s390-mvcle.exp
8244 * gdb.reverse/step-precsave.exp
8245 * gdb.reverse/step-reverse.exp
8246 * gdb.reverse/time-reverse.exp
8247 * gdb.reverse/until-precsave.exp
8248 * gdb.reverse/until-reverse.exp
8249 * gdb.reverse/waitpid-reverse.exp
8250 * gdb.reverse/watch-precsave.exp
8251 * gdb.reverse/watch-reverse.exp
8252 * gdb.rust/generics.exp
8253 * gdb.rust/methods.exp
8254 * gdb.rust/modules.exp
8255 * gdb.rust/simple.exp
8256 * gdb.server/connect-with-no-symbol-file.exp
8257 * gdb.server/ext-attach.exp
8258 * gdb.server/ext-restart.exp
8259 * gdb.server/ext-wrapper.exp
8260 * gdb.server/file-transfer.exp
8261 * gdb.server/server-exec-info.exp
8262 * gdb.server/server-kill.exp
8263 * gdb.server/server-mon.exp
8264 * gdb.server/wrapper.exp
8265 * gdb.stabs/exclfwd.exp
8266 * gdb.stabs/gdb11479.exp
8267 * gdb.threads/clone-new-thread-event.exp
8268 * gdb.threads/corethreads.exp
8269 * gdb.threads/current-lwp-dead.exp
8270 * gdb.threads/dlopen-libpthread.exp
8271 * gdb.threads/gcore-thread.exp
8272 * gdb.threads/sigstep-threads.exp
8273 * gdb.threads/watchpoint-fork.exp
8274 * gdb.trace/actions-changed.exp
8275 * gdb.trace/backtrace.exp
8276 * gdb.trace/change-loc.exp
8277 * gdb.trace/circ.exp
8278 * gdb.trace/collection.exp
8279 * gdb.trace/disconnected-tracing.exp
8280 * gdb.trace/ftrace.exp
8281 * gdb.trace/mi-trace-frame-collected.exp
8282 * gdb.trace/mi-trace-unavailable.exp
8283 * gdb.trace/mi-traceframe-changed.exp
8284 * gdb.trace/mi-tsv-changed.exp
8285 * gdb.trace/no-attach-trace.exp
8286 * gdb.trace/passc-dyn.exp
8287 * gdb.trace/qtro.exp
8288 * gdb.trace/range-stepping.exp
8289 * gdb.trace/read-memory.exp
8290 * gdb.trace/save-trace.exp
8291 * gdb.trace/signal.exp
8292 * gdb.trace/status-stop.exp
8293 * gdb.trace/tfile.exp
8294 * gdb.trace/trace-break.exp
8295 * gdb.trace/trace-buffer-size.exp
8296 * gdb.trace/trace-condition.exp
8297 * gdb.trace/tracefile-pseudo-reg.exp
8298 * gdb.trace/tstatus.exp
8299 * gdb.trace/unavailable.exp
8300 * gdb.trace/while-dyn.exp
8301 * gdb.trace/while-stepping.exp
8303 2016-12-22 Doug Evans <xdje42@gmail.com>
8305 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8308 2016-12-19 Yao Qi <yao.qi@linaro.org>
8310 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8311 (test_with_self): Don't call do_steps_and_nexts, and remove
8312 code about stepping into xmalloc.
8314 2016-12-09 Yao Qi <yao.qi@linaro.org>
8316 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8318 2016-12-09 Yao Qi <yao.qi@linaro.org>
8320 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8322 2016-12-09 Pedro Alves <palves@redhat.com>
8324 * gdb.base/all-architectures-0.exp: New file.
8325 * gdb.base/all-architectures-1.exp: New file.
8326 * gdb.base/all-architectures-2.exp: New file.
8327 * gdb.base/all-architectures-3.exp: New file.
8328 * gdb.base/all-architectures-4.exp: New file.
8329 * gdb.base/all-architectures-5.exp: New file.
8330 * gdb.base/all-architectures-6.exp: New file.
8331 * gdb.base/all-architectures-7.exp: New file.
8332 * gdb.base/all-architectures.exp.in: New file.
8334 2016-12-09 Yao Qi <yao.qi@linaro.org>
8336 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8338 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8340 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8342 Remove useless pattern-matching code.
8344 2016-12-02 Pedro Alves <palves@redhat.com>
8346 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8348 (top level): Call it.
8350 2016-12-02 Pedro Alves <palves@redhat.com>
8352 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8354 (top level): Call it.
8356 2016-12-02 Pedro Alves <palves@redhat.com>
8359 * gdb.base/commands.exp (user_defined_command_args_eval): New
8361 (top level): Call it.
8363 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8365 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8368 2016-12-02 Tom Tromey <tom@tromey.com>
8370 * gdb.dwarf2/main-subprogram.c: New file.
8371 * gdb.dwarf2/main-subprogram.exp: New file.
8373 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8375 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8376 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8377 gdb_test_no_output for a couple of cases.
8378 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8380 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8382 Fix test names and standardize compilation error messages throughout
8383 the following files:
8386 * gdb.arch/alpha-step.exp
8387 * gdb.arch/e500-prologue.exp
8388 * gdb.arch/ftrace-insn-reloc.exp
8389 * gdb.arch/gdb1291.exp
8390 * gdb.arch/gdb1431.exp
8391 * gdb.arch/gdb1558.exp
8392 * gdb.arch/i386-dr3-watch.exp
8393 * gdb.arch/i386-sse-stack-align.exp
8394 * gdb.arch/ia64-breakpoint-shadow.exp
8395 * gdb.arch/pa-nullify.exp
8396 * gdb.arch/powerpc-aix-prologue.exp
8397 * gdb.arch/thumb-bx-pc.exp
8398 * gdb.base/annota1.exp
8399 * gdb.base/annota3.exp
8400 * gdb.base/arrayidx.exp
8401 * gdb.base/assign.exp
8402 * gdb.base/attach.exp
8405 * gdb.base/bfp-test.exp
8406 * gdb.base/bigcore.exp
8407 * gdb.base/bitfields2.exp
8408 * gdb.base/break-fun-addr.exp
8409 * gdb.base/break-probes.exp
8410 * gdb.base/call-rt-st.exp
8411 * gdb.base/callexit.exp
8412 * gdb.base/catch-fork-kill.exp
8413 * gdb.base/charset.exp
8414 * gdb.base/checkpoint.exp
8415 * gdb.base/comprdebug.exp
8416 * gdb.base/constvars.exp
8417 * gdb.base/coredump-filter.exp
8418 * gdb.base/cursal.exp
8419 * gdb.base/cvexpr.exp
8420 * gdb.base/detach.exp
8421 * gdb.base/display.exp
8422 * gdb.base/dmsym.exp
8423 * gdb.base/dprintf-pending.exp
8424 * gdb.base/dso2dso.exp
8425 * gdb.base/dtrace-probe.exp
8427 * gdb.base/enum_cond.exp
8428 * gdb.base/exe-lock.exp
8429 * gdb.base/exec-invalid-sysroot.exp
8430 * gdb.base/execl-update-breakpoints.exp
8431 * gdb.base/exprs.exp
8432 * gdb.base/fileio.exp
8434 * gdb.base/finish.exp
8435 * gdb.base/fixsection.exp
8436 * gdb.base/foll-vfork.exp
8437 * gdb.base/frame-args.exp
8438 * gdb.base/gcore.exp
8439 * gdb.base/gdb1250.exp
8440 * gdb.base/global-var-nested-by-dso.exp
8441 * gdb.base/gnu-ifunc.exp
8442 * gdb.base/hashline1.exp
8443 * gdb.base/hashline2.exp
8444 * gdb.base/hashline3.exp
8445 * gdb.base/hbreak-in-shr-unsupported.exp
8447 * gdb.base/infcall-input.exp
8448 * gdb.base/info-fun.exp
8449 * gdb.base/info-shared.exp
8450 * gdb.base/jit-simple.exp
8451 * gdb.base/jit-so.exp
8454 * gdb.base/label.exp
8455 * gdb.base/lineinc.exp
8456 * gdb.base/logical.exp
8457 * gdb.base/longjmp.exp
8458 * gdb.base/macscp.exp
8459 * gdb.base/miscexprs.exp
8460 * gdb.base/new-ui-echo.exp
8461 * gdb.base/new-ui-pending-input.exp
8462 * gdb.base/new-ui.exp
8463 * gdb.base/nodebug.exp
8464 * gdb.base/nofield.exp
8465 * gdb.base/offsets.exp
8466 * gdb.base/overlays.exp
8467 * gdb.base/pending.exp
8468 * gdb.base/pointers.exp
8469 * gdb.base/pr11022.exp
8470 * gdb.base/printcmds.exp
8471 * gdb.base/prologue.exp
8472 * gdb.base/ptr-typedef.exp
8473 * gdb.base/realname-expand.exp
8474 * gdb.base/relativedebug.exp
8475 * gdb.base/relocate.exp
8476 * gdb.base/remote.exp
8477 * gdb.base/reread.exp
8478 * gdb.base/return2.exp
8479 * gdb.base/savedregs.exp
8481 * gdb.base/sepdebug.exp
8482 * gdb.base/sepsymtab.exp
8483 * gdb.base/set-inferior-tty.exp
8484 * gdb.base/setshow.exp
8485 * gdb.base/shlib-call.exp
8486 * gdb.base/sigaltstack.exp
8487 * gdb.base/siginfo-addr.exp
8488 * gdb.base/signals.exp
8489 * gdb.base/signull.exp
8490 * gdb.base/sigrepeat.exp
8491 * gdb.base/so-impl-ld.exp
8492 * gdb.base/solib-display.exp
8493 * gdb.base/solib-overlap.exp
8494 * gdb.base/solib-search.exp
8495 * gdb.base/solib-symbol.exp
8496 * gdb.base/structs.exp
8497 * gdb.base/structs2.exp
8498 * gdb.base/symtab-search-order.exp
8499 * gdb.base/twice.exp
8500 * gdb.base/unload.exp
8501 * gdb.base/varargs.exp
8502 * gdb.base/watchpoint-solib.exp
8503 * gdb.base/watchpoint.exp
8504 * gdb.base/whatis.exp
8505 * gdb.base/wrong_frame_bt_full.exp
8506 * gdb.btrace/dlopen.exp
8507 * gdb.cell/ea-standalone.exp
8508 * gdb.cell/ea-test.exp
8509 * gdb.cp/dispcxx.exp
8510 * gdb.cp/gdb2384.exp
8511 * gdb.cp/method2.exp
8512 * gdb.cp/nextoverthrow.exp
8513 * gdb.cp/pr10728.exp
8514 * gdb.disasm/am33.exp
8515 * gdb.disasm/h8300s.exp
8516 * gdb.disasm/mn10300.exp
8517 * gdb.disasm/sh3.exp
8518 * gdb.dwarf2/dw2-dir-file-name.exp
8519 * gdb.fortran/complex.exp
8520 * gdb.fortran/library-module.exp
8521 * gdb.guile/scm-pretty-print.exp
8522 * gdb.guile/scm-symbol.exp
8523 * gdb.guile/scm-type.exp
8524 * gdb.guile/scm-value.exp
8525 * gdb.linespec/linespec.exp
8528 * gdb.mi/mi-breakpoint-changed.exp
8529 * gdb.mi/mi-dprintf-pending.exp
8530 * gdb.mi/mi-dprintf.exp
8531 * gdb.mi/mi-exit-code.exp
8532 * gdb.mi/mi-pending.exp
8533 * gdb.mi/mi-solib.exp
8534 * gdb.mi/new-ui-mi-sync.exp
8535 * gdb.mi/pr11022.exp
8536 * gdb.mi/user-selected-context-sync.exp
8537 * gdb.opt/solib-intra-step.exp
8538 * gdb.python/py-events.exp
8539 * gdb.python/py-finish-breakpoint.exp
8540 * gdb.python/py-mi.exp
8541 * gdb.python/py-prettyprint.exp
8542 * gdb.python/py-shared.exp
8543 * gdb.python/py-symbol.exp
8544 * gdb.python/py-template.exp
8545 * gdb.python/py-type.exp
8546 * gdb.python/py-value.exp
8547 * gdb.reverse/solib-precsave.exp
8548 * gdb.reverse/solib-reverse.exp
8549 * gdb.server/solib-list.exp
8550 * gdb.stabs/weird.exp
8551 * gdb.threads/reconnect-signal.exp
8552 * gdb.threads/stepi-random-signal.exp
8553 * gdb.trace/actions.exp
8555 * gdb.trace/backtrace.exp
8556 * gdb.trace/change-loc.exp
8557 * gdb.trace/deltrace.exp
8558 * gdb.trace/ftrace-lock.exp
8559 * gdb.trace/ftrace.exp
8560 * gdb.trace/infotrace.exp
8561 * gdb.trace/mi-tracepoint-changed.exp
8562 * gdb.trace/packetlen.exp
8563 * gdb.trace/passcount.exp
8564 * gdb.trace/pending.exp
8565 * gdb.trace/range-stepping.exp
8566 * gdb.trace/report.exp
8567 * gdb.trace/stap-trace.exp
8568 * gdb.trace/tfind.exp
8569 * gdb.trace/trace-break.exp
8570 * gdb.trace/trace-condition.exp
8571 * gdb.trace/trace-enable-disable.exp
8572 * gdb.trace/trace-mt.exp
8573 * gdb.trace/tracecmd.exp
8574 * gdb.trace/tspeed.exp
8578 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8580 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8581 with gdb_test_no_output.
8582 Use command as test name.
8584 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8586 Fix test names starting with uppercase throughout the files.
8588 * gdb.ada/assign_1.exp
8589 * gdb.ada/boolean_expr.exp
8590 * gdb.base/arrayidx.exp
8592 * gdb.base/gcore-buffer-overflow.exp
8593 * gdb.base/testenv.exp
8594 * gdb.compile/compile.exp
8595 * gdb.python/py-framefilter-invalidarg.exp
8596 * gdb.python/py-framefilter.exp
8598 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8600 Fix test names starting with uppercase throughout the files.
8602 * gdb.ada/array_return.exp
8603 * gdb.ada/expr_delims.exp
8604 * gdb.ada/mi_dyn_arr.exp
8605 * gdb.ada/mi_interface.exp
8606 * gdb.ada/mi_var_array.exp
8607 * gdb.ada/watch_arg.exp
8608 * gdb.arch/alpha-step.exp
8609 * gdb.arch/altivec-regs.exp
8610 * gdb.arch/e500-regs.exp
8611 * gdb.arch/powerpc-d128-regs.exp
8612 * gdb.base/arrayidx.exp
8613 * gdb.base/break.exp
8614 * gdb.base/checkpoint.exp
8615 * gdb.base/debug-expr.exp
8616 * gdb.base/dmsym.exp
8617 * gdb.base/radix.exp
8618 * gdb.base/sepdebug.exp
8619 * gdb.base/testenv.exp
8620 * gdb.base/watch_thread_num.exp
8621 * gdb.base/watchpoint-cond-gone.exp
8622 * gdb.cell/break.exp
8623 * gdb.cell/ea-cache.exp
8624 * gdb.compile/compile.exp
8625 * gdb.cp/gdb2495.exp
8626 * gdb.gdb/selftest.exp
8627 * gdb.gdb/xfullpath.exp
8629 * gdb.go/integers.exp
8630 * gdb.objc/basicclass.exp
8631 * gdb.pascal/hello.exp
8632 * gdb.pascal/integers.exp
8633 * gdb.python/py-breakpoint.exp
8634 * gdb.python/py-cmd.exp
8635 * gdb.python/py-linetable.exp
8636 * gdb.python/py-xmethods.exp
8637 * gdb.python/python.exp
8638 * gdb.reverse/consecutive-precsave.exp
8639 * gdb.reverse/finish-precsave.exp
8640 * gdb.reverse/i386-precsave.exp
8641 * gdb.reverse/machinestate-precsave.exp
8642 * gdb.reverse/sigall-precsave.exp
8643 * gdb.reverse/solib-precsave.exp
8644 * gdb.reverse/step-precsave.exp
8645 * gdb.reverse/until-precsave.exp
8646 * gdb.reverse/watch-precsave.exp
8647 * gdb.threads/leader-exit.exp
8648 * gdb.threads/pthreads.exp
8649 * gdb.threads/wp-replication.exp
8650 * gdb.trace/actions.exp
8651 * gdb.trace/mi-tsv-changed.exp
8654 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8656 Fix test names starting with uppercase throughout the files.
8658 * gdb.arch/i386-bp_permanent.exp
8659 * gdb.arch/i386-gnu-cfi.exp
8660 * gdb.base/disasm-end-cu.exp
8661 * gdb.base/macscp.exp
8662 * gdb.base/pending.exp
8663 * gdb.base/watch_thread_num.exp
8664 * gdb.cp/exception.exp
8665 * gdb.cp/gdb2495.exp
8667 * gdb.python/py-evsignal.exp
8668 * gdb.python/python.exp
8669 * gdb.trace/tracecmd.exp
8671 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8673 Fix test names starting with uppercase throughout the files.
8675 * gdb.base/charset.exp
8677 * gdb.base/multi-forks.exp
8678 * gdb.guile/scm-progspace.exp
8679 * gdb.opencl/datatypes.exp
8680 * gdb.python/py-block.exp
8681 * gdb.python/py-function.exp
8682 * gdb.python/py-symbol.exp
8683 * gdb.python/py-symtab.exp
8684 * gdb.python/py-xmethods.exp
8685 * gdb.reverse/break-precsave.exp
8686 * gdb.reverse/break-reverse.exp
8687 * gdb.reverse/consecutive-precsave.exp
8688 * gdb.reverse/consecutive-reverse.exp
8689 * gdb.reverse/finish-precsave.exp
8690 * gdb.reverse/finish-reverse-bkpt.exp
8691 * gdb.reverse/finish-reverse.exp
8692 * gdb.reverse/fstatat-reverse.exp
8693 * gdb.reverse/getresuid-reverse.exp
8694 * gdb.reverse/i386-precsave.exp
8695 * gdb.reverse/i386-reverse.exp
8696 * gdb.reverse/i386-sse-reverse.exp
8697 * gdb.reverse/i387-stack-reverse.exp
8698 * gdb.reverse/insn-reverse.exp
8699 * gdb.reverse/machinestate-precsave.exp
8700 * gdb.reverse/machinestate.exp
8701 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8702 * gdb.reverse/pipe-reverse.exp
8703 * gdb.reverse/readv-reverse.exp
8704 * gdb.reverse/recvmsg-reverse.exp
8705 * gdb.reverse/rerun-prec.exp
8706 * gdb.reverse/s390-mvcle.exp
8707 * gdb.reverse/sigall-precsave.exp
8708 * gdb.reverse/sigall-reverse.exp
8709 * gdb.reverse/solib-precsave.exp
8710 * gdb.reverse/solib-reverse.exp
8711 * gdb.reverse/step-precsave.exp
8712 * gdb.reverse/step-reverse.exp
8713 * gdb.reverse/time-reverse.exp
8714 * gdb.reverse/until-precsave.exp
8715 * gdb.reverse/until-reverse.exp
8716 * gdb.reverse/waitpid-reverse.exp
8717 * gdb.reverse/watch-precsave.exp
8718 * gdb.reverse/watch-reverse.exp
8720 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8722 Fix test names starting with uppercase throughout the files.
8724 * gdb.arch/i386-mpx-simple_segv.exp
8725 * gdb.arch/i386-mpx.exp
8726 * gdb.arch/i386-permbkpt.exp
8727 * gdb.arch/pa-nullify.exp
8728 * gdb.arch/powerpc-d128-regs.exp
8729 * gdb.arch/vsx-regs.exp
8730 * gdb.base/bfp-test.exp
8731 * gdb.base/break.exp
8732 * gdb.base/breakpoint-shadow.exp
8733 * gdb.base/callfuncs.exp
8734 * gdb.base/charset.exp
8735 * gdb.base/commands.exp
8736 * gdb.base/completion.exp
8737 * gdb.base/dfp-test.exp
8739 * gdb.base/ending-run.exp
8741 * gdb.base/expand-psymtabs.exp
8742 * gdb.base/float128.exp
8743 * gdb.base/floatn.exp
8744 * gdb.base/foll-exec-mode.exp
8745 * gdb.base/gdb1056.exp
8746 * gdb.base/gdb11531.exp
8747 * gdb.base/kill-after-signal.exp
8748 * gdb.base/multi-forks.exp
8749 * gdb.base/overlays.exp
8750 * gdb.base/pending.exp
8751 * gdb.base/sepdebug.exp
8752 * gdb.base/testenv.exp
8753 * gdb.base/valgrind-db-attach.exp
8754 * gdb.base/watch_thread_num.exp
8755 * gdb.base/watchpoint-cond-gone.exp
8756 * gdb.base/watchpoint.exp
8757 * gdb.base/watchpoints.exp
8758 * gdb.cp/arg-reference.exp
8759 * gdb.cp/baseenum.exp
8760 * gdb.cp/operator.exp
8762 * gdb.dwarf2/dw2-op-out-param.exp
8763 * gdb.dwarf2/dw2-reg-undefined.exp
8766 * gdb.go/integers.exp
8767 * gdb.go/methods.exp
8768 * gdb.go/package.exp
8769 * gdb.guile/scm-parameter.exp
8770 * gdb.guile/scm-progspace.exp
8771 * gdb.guile/scm-value.exp
8772 * gdb.mi/mi-pending.exp
8773 * gdb.mi/user-selected-context-sync.exp
8774 * gdb.multi/multi-attach.exp
8775 * gdb.multi/tids.exp
8776 * gdb.opt/clobbered-registers-O2.exp
8777 * gdb.pascal/floats.exp
8778 * gdb.pascal/integers.exp
8779 * gdb.python/py-block.exp
8780 * gdb.python/py-events.exp
8781 * gdb.python/py-parameter.exp
8782 * gdb.python/py-symbol.exp
8783 * gdb.python/py-symtab.exp
8784 * gdb.python/py-type.exp
8785 * gdb.python/py-value.exp
8786 * gdb.python/py-xmethods.exp
8787 * gdb.python/python.exp
8788 * gdb.reverse/break-precsave.exp
8789 * gdb.reverse/consecutive-precsave.exp
8790 * gdb.reverse/finish-precsave.exp
8791 * gdb.reverse/i386-precsave.exp
8792 * gdb.reverse/machinestate-precsave.exp
8793 * gdb.reverse/sigall-precsave.exp
8794 * gdb.reverse/solib-precsave.exp
8795 * gdb.reverse/step-precsave.exp
8796 * gdb.reverse/until-precsave.exp
8797 * gdb.reverse/watch-precsave.exp
8798 * gdb.server/ext-attach.exp
8799 * gdb.server/ext-restart.exp
8800 * gdb.server/ext-run.exp
8801 * gdb.server/ext-wrapper.exp
8802 * gdb.stabs/gdb11479.exp
8803 * gdb.stabs/weird.exp
8804 * gdb.threads/attach-many-short-lived-threads.exp
8805 * gdb.threads/kill.exp
8806 * gdb.threads/watchpoint-fork.exp
8808 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8810 Fix test names starting with uppercase throughout all the files below.
8812 * gdb.ada/array_return.exp
8813 * gdb.ada/catch_ex.exp
8814 * gdb.ada/info_exc.exp
8815 * gdb.ada/mi_catch_ex.exp
8816 * gdb.ada/mi_dyn_arr.exp
8817 * gdb.ada/mi_ex_cond.exp
8818 * gdb.ada/mi_exc_info.exp
8819 * gdb.ada/mi_interface.exp
8820 * gdb.ada/mi_task_arg.exp
8821 * gdb.ada/mi_task_info.exp
8822 * gdb.ada/mi_var_array.exp
8823 * gdb.arch/alpha-step.exp
8824 * gdb.arch/amd64-disp-step.exp
8825 * gdb.arch/arm-disp-step.exp
8826 * gdb.arch/disp-step-insn-reloc.exp
8827 * gdb.arch/e500-prologue.exp
8828 * gdb.arch/ftrace-insn-reloc.exp
8829 * gdb.arch/gdb1558.exp
8830 * gdb.arch/i386-bp_permanent.exp
8831 * gdb.arch/i386-disp-step.exp
8832 * gdb.arch/i386-float.exp
8833 * gdb.arch/i386-gnu-cfi.exp
8834 * gdb.arch/ia64-breakpoint-shadow.exp
8835 * gdb.arch/mips16-thunks.exp
8836 * gdb.arch/pa-nullify.exp
8837 * gdb.arch/powerpc-aix-prologue.exp
8838 * gdb.arch/powerpc-power.exp
8839 * gdb.arch/ppc-dfp.exp
8840 * gdb.arch/s390-tdbregs.exp
8841 * gdb.arch/spu-info.exp
8842 * gdb.arch/spu-ls.exp
8843 * gdb.arch/thumb-bx-pc.exp
8844 * gdb.base/advance.exp
8845 * gdb.base/annota-input-while-running.exp
8846 * gdb.base/arrayidx.exp
8847 * gdb.base/asmlabel.exp
8848 * gdb.base/async.exp
8849 * gdb.base/attach-wait-input.exp
8850 * gdb.base/auto-connect-native-target.exp
8851 * gdb.base/batch-preserve-term-settings.exp
8852 * gdb.base/bfp-test.exp
8853 * gdb.base/bigcore.exp
8854 * gdb.base/bp-permanent.exp
8855 * gdb.base/break-always.exp
8856 * gdb.base/break-fun-addr.exp
8857 * gdb.base/break-idempotent.exp
8858 * gdb.base/break-main-file-remove-fail.exp
8859 * gdb.base/break-probes.exp
8860 * gdb.base/break-unload-file.exp
8861 * gdb.base/break.exp
8862 * gdb.base/call-ar-st.exp
8863 * gdb.base/call-rt-st.exp
8864 * gdb.base/call-sc.exp
8865 * gdb.base/call-signal-resume.exp
8866 * gdb.base/call-strs.exp
8867 * gdb.base/callexit.exp
8868 * gdb.base/callfuncs.exp
8869 * gdb.base/catch-gdb-caused-signals.exp
8870 * gdb.base/catch-signal-siginfo-cond.exp
8871 * gdb.base/catch-syscall.exp
8872 * gdb.base/compare-sections.exp
8873 * gdb.base/cond-eval-mode.exp
8874 * gdb.base/condbreak-call-false.exp
8875 * gdb.base/consecutive-step-over.exp
8876 * gdb.base/cursal.exp
8877 * gdb.base/disabled-location.exp
8878 * gdb.base/disasm-end-cu.exp
8879 * gdb.base/display.exp
8880 * gdb.base/double-prompt-target-event-error.exp
8881 * gdb.base/dprintf-bp-same-addr.exp
8882 * gdb.base/dprintf-detach.exp
8883 * gdb.base/dprintf-next.exp
8884 * gdb.base/dprintf-non-stop.exp
8885 * gdb.base/dprintf-pending.exp
8886 * gdb.base/dso2dso.exp
8887 * gdb.base/ending-run.exp
8888 * gdb.base/enum_cond.exp
8889 * gdb.base/examine-backward.exp
8890 * gdb.base/exe-lock.exp
8891 * gdb.base/exec-invalid-sysroot.exp
8892 * gdb.base/execl-update-breakpoints.exp
8893 * gdb.base/execution-termios.exp
8894 * gdb.base/fileio.exp
8895 * gdb.base/fixsection.exp
8896 * gdb.base/foll-exec-mode.exp
8897 * gdb.base/foll-exec.exp
8898 * gdb.base/fork-running-state.exp
8899 * gdb.base/frame-args.exp
8900 * gdb.base/fullpath-expand.exp
8901 * gdb.base/func-ptr.exp
8902 * gdb.base/gcore-relro-pie.exp
8903 * gdb.base/gdb1090.exp
8904 * gdb.base/gdb1555.exp
8905 * gdb.base/global-var-nested-by-dso.exp
8906 * gdb.base/gnu-ifunc.exp
8907 * gdb.base/hbreak-in-shr-unsupported.exp
8908 * gdb.base/hbreak-unmapped.exp
8909 * gdb.base/hook-stop.exp
8910 * gdb.base/infcall-input.exp
8911 * gdb.base/info-fun.exp
8912 * gdb.base/info-shared.exp
8913 * gdb.base/interrupt-noterm.exp
8914 * gdb.base/jit-so.exp
8916 * gdb.base/line-symtabs.exp
8918 * gdb.base/longjmp.exp
8919 * gdb.base/macscp.exp
8920 * gdb.base/max-value-size.exp
8921 * gdb.base/nodebug.exp
8922 * gdb.base/nofield.exp
8923 * gdb.base/overlays.exp
8924 * gdb.base/paginate-after-ctrl-c-running.exp
8925 * gdb.base/paginate-bg-execution.exp
8926 * gdb.base/paginate-inferior-exit.exp
8927 * gdb.base/pending.exp
8928 * gdb.base/pr11022.exp
8929 * gdb.base/printcmds.exp
8930 * gdb.base/ptr-typedef.exp
8931 * gdb.base/ptype.exp
8932 * gdb.base/randomize.exp
8933 * gdb.base/range-stepping.exp
8934 * gdb.base/realname-expand.exp
8935 * gdb.base/relativedebug.exp
8936 * gdb.base/remote.exp
8937 * gdb.base/savedregs.exp
8938 * gdb.base/sepdebug.exp
8939 * gdb.base/set-noassign.exp
8940 * gdb.base/shlib-call.exp
8941 * gdb.base/shreloc.exp
8942 * gdb.base/sigaltstack.exp
8943 * gdb.base/sigbpt.exp
8944 * gdb.base/siginfo-addr.exp
8945 * gdb.base/siginfo-obj.exp
8946 * gdb.base/siginfo-thread.exp
8947 * gdb.base/signest.exp
8948 * gdb.base/signull.exp
8949 * gdb.base/sigrepeat.exp
8951 * gdb.base/so-impl-ld.exp
8952 * gdb.base/solib-corrupted.exp
8953 * gdb.base/solib-disc.exp
8954 * gdb.base/solib-display.exp
8955 * gdb.base/solib-overlap.exp
8956 * gdb.base/solib-search.exp
8957 * gdb.base/solib-symbol.exp
8958 * gdb.base/source-execution.exp
8959 * gdb.base/sss-bp-on-user-bp-2.exp
8960 * gdb.base/sss-bp-on-user-bp.exp
8961 * gdb.base/stack-checking.exp
8962 * gdb.base/stale-infcall.exp
8963 * gdb.base/step-break.exp
8964 * gdb.base/step-line.exp
8965 * gdb.base/step-over-exit.exp
8966 * gdb.base/step-test.exp
8967 * gdb.base/structs.exp
8968 * gdb.base/sym-file.exp
8969 * gdb.base/symtab-search-order.exp
8971 * gdb.base/type-opaque.exp
8972 * gdb.base/unload.exp
8973 * gdb.base/until-nodebug.exp
8974 * gdb.base/until.exp
8975 * gdb.base/unwindonsignal.exp
8976 * gdb.base/watch-cond.exp
8977 * gdb.base/watch-non-mem.exp
8978 * gdb.base/watch_thread_num.exp
8979 * gdb.base/watchpoint-reuse-slot.exp
8980 * gdb.base/watchpoint-solib.exp
8981 * gdb.base/watchpoint.exp
8982 * gdb.btrace/dlopen.exp
8984 * gdb.cell/break.exp
8988 * gdb.cell/dwarfaddr.exp
8989 * gdb.cell/ea-cache.exp
8990 * gdb.cell/ea-standalone.exp
8991 * gdb.cell/ea-test.exp
8992 * gdb.cell/f-regs.exp
8994 * gdb.cell/gcore.exp
8995 * gdb.cell/mem-access.exp
8996 * gdb.cell/ptype.exp
8997 * gdb.cell/registers.exp
8998 * gdb.cell/sizeof.exp
8999 * gdb.cell/solib-symbol.exp
9000 * gdb.cell/solib.exp
9001 * gdb.compile/compile-tls.exp
9002 * gdb.cp/exception.exp
9003 * gdb.cp/gdb2495.exp
9005 * gdb.cp/mb-inline.exp
9006 * gdb.cp/mb-templates.exp
9007 * gdb.cp/pr10687.exp
9009 * gdb.cp/scope-err.exp
9010 * gdb.cp/templates.exp
9011 * gdb.cp/virtfunc.exp
9012 * gdb.dwarf2/dw2-dir-file-name.exp
9013 * gdb.dwarf2/dw2-single-line-discriminators.exp
9014 * gdb.fortran/complex.exp
9015 * gdb.fortran/library-module.exp
9016 * gdb.guile/guile.exp
9017 * gdb.guile/scm-cmd.exp
9018 * gdb.guile/scm-frame-inline.exp
9019 * gdb.guile/scm-objfile.exp
9020 * gdb.guile/scm-pretty-print.exp
9021 * gdb.guile/scm-symbol.exp
9022 * gdb.guile/scm-type.exp
9023 * gdb.guile/scm-value.exp
9024 * gdb.linespec/keywords.exp
9025 * gdb.linespec/ls-errs.exp
9026 * gdb.linespec/macro-relative.exp
9027 * gdb.linespec/thread.exp
9028 * gdb.mi/mi-breakpoint-changed.exp
9029 * gdb.mi/mi-dprintf-pending.exp
9030 * gdb.mi/mi-fullname-deleted.exp
9031 * gdb.mi/mi-logging.exp
9032 * gdb.mi/mi-pending.exp
9033 * gdb.mi/mi-solib.exp
9034 * gdb.mi/new-ui-mi-sync.exp
9035 * gdb.mi/user-selected-context-sync.exp
9036 * gdb.multi/dummy-frame-restore.exp
9037 * gdb.multi/multi-arch-exec.exp
9038 * gdb.multi/remove-inferiors.exp
9039 * gdb.multi/watchpoint-multi-exit.exp
9040 * gdb.opt/solib-intra-step.exp
9041 * gdb.perf/backtrace.exp
9042 * gdb.perf/single-step.exp
9043 * gdb.perf/skip-command.exp
9044 * gdb.perf/skip-prologue.exp
9045 * gdb.perf/solib.exp
9046 * gdb.python/lib-types.exp
9047 * gdb.python/py-as-string.exp
9048 * gdb.python/py-bad-printers.exp
9049 * gdb.python/py-block.exp
9050 * gdb.python/py-breakpoint.exp
9051 * gdb.python/py-cmd.exp
9052 * gdb.python/py-events.exp
9053 * gdb.python/py-evthreads.exp
9054 * gdb.python/py-finish-breakpoint.exp
9055 * gdb.python/py-finish-breakpoint2.exp
9056 * gdb.python/py-frame-inline.exp
9057 * gdb.python/py-frame.exp
9058 * gdb.python/py-inferior.exp
9059 * gdb.python/py-infthread.exp
9060 * gdb.python/py-mi.exp
9061 * gdb.python/py-objfile.exp
9062 * gdb.python/py-pp-maint.exp
9063 * gdb.python/py-pp-registration.exp
9064 * gdb.python/py-prettyprint.exp
9065 * gdb.python/py-recurse-unwind.exp
9066 * gdb.python/py-shared.exp
9067 * gdb.python/py-symbol.exp
9068 * gdb.python/py-symtab.exp
9069 * gdb.python/py-template.exp
9070 * gdb.python/py-type.exp
9071 * gdb.python/py-unwind-maint.exp
9072 * gdb.python/py-unwind.exp
9073 * gdb.python/py-value.exp
9074 * gdb.python/python.exp
9075 * gdb.reverse/finish-reverse-bkpt.exp
9076 * gdb.reverse/insn-reverse.exp
9077 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9078 * gdb.reverse/solib-precsave.exp
9079 * gdb.reverse/solib-reverse.exp
9080 * gdb.stabs/gdb11479.exp
9081 * gdb.stabs/weird.exp
9082 * gdb.threads/fork-child-threads.exp
9083 * gdb.threads/fork-plus-threads.exp
9084 * gdb.threads/fork-thread-pending.exp
9085 * gdb.threads/forking-threads-plus-breakpoint.exp
9086 * gdb.threads/hand-call-in-threads.exp
9087 * gdb.threads/interrupted-hand-call.exp
9088 * gdb.threads/linux-dp.exp
9089 * gdb.threads/local-watch-wrong-thread.exp
9090 * gdb.threads/next-while-other-thread-longjmps.exp
9091 * gdb.threads/non-ldr-exit.exp
9092 * gdb.threads/pending-step.exp
9093 * gdb.threads/print-threads.exp
9094 * gdb.threads/process-dies-while-detaching.exp
9095 * gdb.threads/process-dies-while-handling-bp.exp
9096 * gdb.threads/pthreads.exp
9097 * gdb.threads/queue-signal.exp
9098 * gdb.threads/reconnect-signal.exp
9099 * gdb.threads/signal-command-handle-nopass.exp
9100 * gdb.threads/signal-command-multiple-signals-pending.exp
9101 * gdb.threads/signal-delivered-right-thread.exp
9102 * gdb.threads/signal-sigtrap.exp
9103 * gdb.threads/sigthread.exp
9104 * gdb.threads/staticthreads.exp
9105 * gdb.threads/stepi-random-signal.exp
9106 * gdb.threads/thread-unwindonsignal.exp
9107 * gdb.threads/thread_check.exp
9108 * gdb.threads/thread_events.exp
9109 * gdb.threads/tid-reuse.exp
9110 * gdb.threads/tls-nodebug.exp
9111 * gdb.threads/tls-shared.exp
9112 * gdb.threads/tls-so_extern.exp
9113 * gdb.threads/tls.exp
9114 * gdb.threads/wp-replication.exp
9115 * gdb.trace/actions-changed.exp
9116 * gdb.trace/actions.exp
9117 * gdb.trace/backtrace.exp
9118 * gdb.trace/change-loc.exp
9119 * gdb.trace/collection.exp
9120 * gdb.trace/deltrace.exp
9121 * gdb.trace/disconnected-tracing.exp
9122 * gdb.trace/entry-values.exp
9123 * gdb.trace/ftrace-lock.exp
9124 * gdb.trace/ftrace.exp
9125 * gdb.trace/infotrace.exp
9126 * gdb.trace/mi-trace-frame-collected.exp
9127 * gdb.trace/mi-trace-unavailable.exp
9128 * gdb.trace/mi-traceframe-changed.exp
9129 * gdb.trace/mi-tracepoint-changed.exp
9130 * gdb.trace/mi-tsv-changed.exp
9131 * gdb.trace/no-attach-trace.exp
9132 * gdb.trace/packetlen.exp
9133 * gdb.trace/passc-dyn.exp
9134 * gdb.trace/passcount.exp
9135 * gdb.trace/pending.exp
9136 * gdb.trace/pr16508.exp
9137 * gdb.trace/qtro.exp
9138 * gdb.trace/range-stepping.exp
9139 * gdb.trace/read-memory.exp
9140 * gdb.trace/report.exp
9141 * gdb.trace/save-trace.exp
9142 * gdb.trace/signal.exp
9143 * gdb.trace/stap-trace.exp
9144 * gdb.trace/status-stop.exp
9145 * gdb.trace/strace.exp
9146 * gdb.trace/tfile.exp
9147 * gdb.trace/tfind.exp
9148 * gdb.trace/trace-break.exp
9149 * gdb.trace/trace-condition.exp
9150 * gdb.trace/trace-enable-disable.exp
9151 * gdb.trace/trace-mt.exp
9152 * gdb.trace/tracecmd.exp
9153 * gdb.trace/tracefile-pseudo-reg.exp
9154 * gdb.trace/tspeed.exp
9155 * gdb.trace/tstatus.exp
9157 * gdb.trace/unavailable.exp
9158 * gdb.trace/while-dyn.exp
9159 * gdb.trace/while-stepping.exp
9162 * lib/mi-support.exp
9165 * lib/prelink-support.exp
9166 * lib/selftest-support.exp
9168 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9170 * Makefile.in: Include disable-implicit-rules.mk.
9172 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9174 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9175 non-byte-aligned bit fields.
9177 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9180 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9181 respects the DW_AT_data_bit_offset attribute.
9183 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9185 * gdb.base/default.exp: Fix output of "set language".
9187 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9189 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9190 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9192 * configure.ac: Remove checks for the make program.
9193 * configure: Re-generate.
9195 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9197 * gdb.python/py-recurse-unwind.c (main): Add loop.
9198 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9199 to read_register() and gdb.parse_and_eval(). Make each code
9200 call a separate case that can be individually tested.
9201 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9202 proc. Call cont_and_backtrace for each of the code paths that
9203 we want to test in the unwinder.
9205 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9207 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9208 the definition of struct S.
9210 2016-11-11 Catherine Moore <clm@codesourcery.com>
9212 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9214 2016-11-09 Pedro Alves <palves@redhat.com>
9216 * gdb.base/commands.exp (runto_or_return): New procedure.
9217 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9218 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9219 (progvar_simple_while_test, progvar_complex_if_while_test)
9220 (if_while_breakpoint_command_test)
9221 (infrun_breakpoint_command_test, breakpoint_command_test)
9222 (user_defined_command_test, watchpoint_command_test)
9223 (test_command_prompt_position, redefine_hook_test)
9224 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9225 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9226 multi_line_input and multi_line. Remove gdb_expect and
9227 gdb_stop_suppressing_tests uses.
9228 * lib/gdb.exp (valnum_re): New global.
9229 (multi_line_input): New procedure.
9231 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9233 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9235 (test_setup): Define with proc_with_prefix.
9236 (test_cli_inferior): Likewise.
9237 (test_cli_thread): Likewise.
9238 (test_cli_frame): Likewise.
9239 (test_cli_select_frame): Likewise.
9240 (test_cli_up_down): Likewise.
9241 (test_mi_thread_select): Likewise.
9242 (test_mi_stack_select_frame): Likewise.
9243 (test_cli_in_mi_inferior): Likewise.
9244 (test_cli_in_mi_thread): Likewise.
9245 (test_cli_in_mi_frame): Likewise.
9246 (top level): Do not use with_test_prefix_procname.
9248 2016-11-09 Pedro Alves <palves@redhat.com>
9250 * gdb.base/commands.exp (gdbvar_simple_if_test)
9251 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9252 (progvar_simple_if_test, progvar_simple_while_test)
9253 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9254 (infrun_breakpoint_command_test, breakpoint_command_test)
9255 (user_defined_command_test, watchpoint_command_test)
9256 (test_command_prompt_position, deprecated_command_test)
9257 (bp_deleted_in_command, temporary_breakpoint_commands)
9258 (stray_arg0_test, source_file_with_indented_comment)
9259 (recursive_source_test, if_commands_test)
9260 (error_clears_commands_left, redefine_hook_test)
9261 (redefine_backtrace_test): Use proc_with_prefix.
9262 * lib/gdb.exp (proc_with_prefix): New proc.
9264 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9266 * gdb.base/tui-layout.c: New file.
9267 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9268 disassembly window contains very long lines.
9270 2016-11-08 Tom Tromey <tom@tromey.com>
9272 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9275 2016-11-08 Tom Tromey <tom@tromey.com>
9277 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9280 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9282 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9284 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9286 * gdb.rust/simple.rs: Add test for univariant enums without
9287 discriminants and for encoded struct-like enums.
9289 2016-10-28 Pedro Alves <palves@redhat.com>
9291 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9292 gdb_test_multiple, tighten regexps and match symtabs and line
9293 tables incrementally.
9295 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9297 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9300 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9302 * gdb.base/exec-invalid-sysroot.exp: New file.
9304 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9306 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9308 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9310 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9312 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9314 * gdb.base/killed-outside.exp: Remove $options from a call to
9315 `prepare_for_testing'.
9317 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9319 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9320 Change test message.
9322 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9324 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9327 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9329 * gdb.trace/mi-trace-save.exp: New file.
9331 2016-10-13 Yao Qi <yao.qi@linaro.org>
9333 * gdb.base/code_elim.exp (get_var_address): Remove.
9334 * gdb.base/relocate.exp: Likewise.
9335 * gdb.base/shreloc.exp: Likewise.
9336 * lib/gdb.exp (get_var_address): New.
9338 2016-10-13 Yao Qi <yao.qi@linaro.org>
9340 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9341 floating point tests if $skip_float_test is false.
9343 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9345 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9346 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9348 Add 1 to argc so we guarantee distinct initial/modified argc values.
9350 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9352 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9354 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9356 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9357 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9358 * gdb.arch/vsx-regs.exp: Likewise.
9360 2016-10-07 Yao Qi <yao.qi@linaro.org>
9362 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9364 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9366 * gdb.python/python.exp: Test decode_line("*0").
9368 2016-10-06 Doug Evans <dje@google.com>
9370 * gdb.python/py-value.exp (test_value_creation): Add test for large
9371 unsigned 64-bit value.
9373 2016-10-06 Tom Tromey <tom@tromey.com>
9375 * gdb.compile/compile.exp: Change java tests to rust.
9376 * gdb.base/setshow.exp: Change java tests to rust.
9377 * gdb.base/default.exp: Remove java from language list.
9378 * README (Examples): Update language example.
9379 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9381 * lib/gdb.exp (skip_java_tests): Remove.
9382 * lib/java.exp: Remove.
9385 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9387 * gdb.arch/mips-fcr.exp: New test.
9388 * gdb.arch/mips-fcr.c: Source for the new test.
9390 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9392 * gdb.base/solib-disc.exp: Use `standard_output_file'
9395 2016-10-06 Pedro Alves <palves@redhat.com>
9397 * gdb.base/jit-simple-dl.c: New file.
9398 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9399 * gdb.base/jit-simple.c: ... this.
9400 * gdb.base/jit-simple.exp (jit_run): Delete.
9401 (build_jit): New proc.
9402 (jit_test_reread): Recompile either the main program or the shared
9403 library, depending on what is being tested. Skip changing address
9404 if caller wants to. Compare before/after addresses. If testing
9405 standalone, explicitly load the binary. Test "maint info
9407 (top level): Add "standalone vs shared lib" and "change address"
9408 vs "same address" axes.
9410 2016-10-06 Pedro Alves <palves@redhat.com>
9412 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9415 (jit_test_reread): Use with_test_prefix. Reload the main binary
9416 explicitly. Compare the before/after addresses of the JIT
9419 2016-08-15 Doug Evans <dje@google.com>
9421 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9422 for single bitfields is bool.
9423 * gdb.xml/tdesc-regs.exp: Ditto.
9425 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9427 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9429 2016-10-05 Yao Qi <yao.qi@linaro.org>
9431 * lib/gdb.exp (support_complex_tests): Return zero if
9432 gdb_skip_float_test return true.
9434 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9435 Simon Marchi <simon.marchi@ericsson.com>
9438 * gdb.mi/user-selected-context-sync.exp: New file.
9439 * gdb.mi/user-selected-context-sync.c: New file.
9441 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9442 Simon Marchi <simon.marchi@ericsson.com>
9445 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9446 =thread-select-event check.
9448 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9450 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9451 the compulsory L operand changes.
9452 * gdb.arch/powerpc-power.s: Likewise.
9454 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9456 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9457 * gdb.base/jit-attach-pie.c: New file.
9458 * gdb.base/jit-attach-pie.exp: New file.
9460 2016-09-28 Pedro Alves <palves@redhat.com>
9462 * gdb.base/infcall-input.c: New file.
9463 * gdb.base/infcall-input.exp: New file.
9465 2016-09-22 Yao Qi <yao.qi@linaro.org>
9467 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9468 (gdb_exit): Rename it to ...
9469 (gdbserver_gdb_exit): ... Close GDBserver.
9470 (gdb_exit): New proc, call gdbserver_gdb_exit.
9471 (mi_gdb_exit): Likewise.
9473 2016-09-22 Yao Qi <yao.qi@linaro.org>
9475 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9477 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9480 2016-09-22 Yao Qi <yao.qi@linaro.org>
9482 * lib/gdbserver-support.exp: Check the existence of
9483 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9485 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9487 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9489 2016-09-21 Tom Tromey <tom@tromey.com>
9492 * gdb.base/quit.exp: New file.
9494 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9496 * .gitignore: New file.
9498 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9500 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9503 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9505 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9507 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9509 * gdb.cp/casts.cc (decltype): Move it ...
9510 (main): ... with its call to ...
9511 * gdb.cp/casts03.cc: ... a new file.
9512 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9514 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9516 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9518 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9520 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9521 and sync up the test with tests in gas/testsuite/gas/ppc.
9522 * gdb.arch/powerpc-power.exp: Likewise.
9524 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9526 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9528 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9529 Jan Kratochvil <jan.kratochvil@redhat.com>
9531 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9532 make m1's definition to be different from m2's. Use 'dummy' as an
9533 argument for probe 'two'.
9535 2016-09-10 Jon Beniston <jon@beniston.com>
9537 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9540 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9542 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9543 variable declaration.
9544 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9545 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9546 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9547 received HWCAP as its argument.
9549 2016-09-06 Pedro Alves <palves@redhat.com>
9551 * gdb.base/new-ui-pending-input.c: New file.
9552 * gdb.base/new-ui-pending-input.exp: New file.
9553 * gdb.exp (clear_gdb_spawn_id): New procedure.
9554 (with_spawn_id): Check whether gdb_spawn_id exists before
9555 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9558 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9560 * gdb.base/float128.c: New file.
9561 * gdb.base/float128.exp: Likewise.
9562 * gdb.base/floatn.c: Likewise.
9563 * gdb.base/floatn.exp: Likewise.
9565 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9567 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9569 2016-09-05 Pedro Alves <palves@redhat.com>
9572 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9573 unwinders are immediately called as side effect of "source" or
9574 "disable unwinder" commands.
9575 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9577 2016-09-02 Yao Qi <yao.qi@linaro.org>
9579 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9580 is true and $type is "float" or "double".
9582 2016-09-02 Yao Qi <yao.qi@linaro.org>
9584 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9586 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9587 * gdb.base/call-rt-st.exp: Likewise.
9588 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9589 return value instead of gdb,skip_float_test.
9590 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9591 (do_function_calls): Use its return value instead of
9592 gdb,skip_float_test.
9593 * gdb.base/finish.exp: Likewise.
9594 * gdb.base/funcargs.exp: Likewise.
9595 * gdb.base/return.exp: Likewise.
9596 * gdb.base/return2.exp: Likewise.
9597 * gdb.base/varargs.exp: Likewise.
9598 * lib/gdb.exp (gdb_skip_float_test): Change it to
9599 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9601 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9603 * gdb.multi/tids.exp: Test "thread apply all".
9605 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9607 * gdb.base/default.exp (tty): Remove.
9609 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9611 * gdb.python/py-recurse-unwind.c: New file.
9612 * gdb.python/py-recurse-unwind.py: New file.
9613 * gdb.python/py-recurse-unwind.exp: New file.
9615 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9617 * gdb.base/set-inferior-tty.exp: New file.
9618 * gdb.base/set-inferior-tty.c: New file.
9620 2016-08-23 Pedro Alves <palves@redhat.com>
9623 * gdb.base/new-ui-echo.c: New file.
9624 * gdb.base/new-ui-echo.exp: New file.
9626 2016-08-23 Yao Qi <yao.qi@linaro.org>
9628 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9630 * gdb.server/connect-without-multi-process.exp (do_test):
9633 2016-08-23 Yao Qi <yao.qi@linaro.org>
9635 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9636 standalone_txt. Delete gdb_txt and standalone_txt on host
9637 and target. Spawn the binary on target. Copy files from
9640 2016-08-22 Pedro Alves <palves@redhat.com>
9643 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9644 with_test_prefix. Factor out bits to ...
9645 (test_no_vdso): ... this new procedure.
9647 2016-08-19 Carl Love <cel@us.ibm.com>
9649 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9650 maintaining separate logic for constructing the output path.
9651 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9652 * gdb.arch/ppc-dfp.exp: Likewise.
9653 * gdb.arch/ppc-fp.exp: Likewise.
9654 * gdb.arch/vsx-regs.exp: Likewise.
9655 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9656 binprefix for generating the additional binary files.
9658 2016-08-19 Pedro Alves <palves@redhat.com>
9660 * gdb.trace/mi-trace-frame-collected.exp
9661 (test_trace_frame_collected): On x32, expect two registers.
9663 2016-08-18 Carl Love <cel@us.ibm.com>
9665 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9666 and sync up the test with tests in gas/testsuite/gas/ppc.
9667 * gdb.arch/powerpc-power.exp: Likewise.
9669 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9671 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9672 expected error message.
9674 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9676 * gdb.multi/remove-inferiors.exp: New file.
9677 * gdb.multi/remove-inferiors.c: New file.
9679 2016-08-12 Yao Qi <yao.qi@linaro.org>
9681 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9684 2016-08-10 Pedro Alves <palves@redhat.com>
9687 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9690 2016-08-09 Pedro Alves <palves@redhat.com>
9691 Simon Marchi <simon.marchi@ericsson.com>
9694 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9695 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9697 2016-08-09 Pedro Alves <palves@redhat.com>
9700 * gdb.mi/mi-cmd-error.exp: New file.
9702 2016-08-09 Pedro Alves <palves@redhat.com>
9705 * gdb.base/signals-state-child.c: New file.
9706 * gdb.base/signals-state-child.exp: New file.
9707 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9709 2016-08-09 Pedro Alves <palves@redhat.com>
9711 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9713 2016-08-03 Tom Tromey <tom@tromey.com>
9716 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9718 2016-08-01 Yao Qi <yao.qi@linaro.org>
9720 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9721 variable mode to "multi-process" if $multi_process is 1, otherwise
9722 set it to "single-process".
9724 2016-08-01 Yao Qi <yao.qi@linaro.org>
9726 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9727 * gdb.cp/cpexprs.exp: Likewise.
9728 * gdb.cp/m-static.exp: Likewise.
9730 2016-07-26 Tom Tromey <tom@tromey.com>
9733 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9736 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9738 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9739 selecting assembly source files.
9740 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9741 assembly source files.
9742 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9743 assembly source files.
9744 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9745 selecting assembly source files.
9747 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9749 * gdb.base/new-ui.exp (do_test_invalid_args): New
9752 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9754 * gdb.btrace/reconnect.c: New file.
9755 * gdb.btrace/reconnect.exp: New file.
9757 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9759 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9760 to test_catch_syscall_group.
9761 (test_catch_syscall_group): New.
9763 2016-07-21 Tom Tromey <tom@tromey.com>
9765 * gdb.rust/simple.rs (main): Use empty struct expression.
9766 * gdb.rust/simple.exp: Add tests for empty struct expression.
9768 2016-07-21 Yao Qi <yao.qi@linaro.org>
9770 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9771 if gdb_skip_xml_test is true on some targets.
9773 2016-07-21 Yao Qi <yao.qi@linaro.org>
9775 * gdb.server/solib-list.exp: Unset last_loaded_file.
9777 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9779 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9780 "step into captured_main (args)".
9782 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9784 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9786 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9788 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9790 2016-07-19 Pedro Alves <palves@redhat.com>
9792 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9793 * gdb.opt/inline-bt.exp: Likewise.
9794 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9795 additional_flags=-Winline.
9796 * gdb.opt/inline-locals.exp: Likewise.
9797 * gdb.opt/inline-markers.c (ATTR): Define.
9798 (inlined_fn): Use it.
9800 2016-07-19 Yao Qi <yao.qi@linaro.org>
9802 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9803 (test_with_self): Remove some code. Remove argument executable.
9804 (top-level): Use do_self_tests.
9806 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9807 Don Breazeal <donb@codesourcery.com>
9809 * gdb.base/maint.exp: Escape paths used in regular expressions.
9810 * gdb.stabs/weird.exp: Likewise.
9812 2016-07-13 Tom Tromey <tom@tromey.com>
9814 PR python/15620, PR python/18620:
9815 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9816 (test_bkpt_events): New procs.
9818 2016-07-13 Tom Tromey <tom@tromey.com>
9821 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9823 (test_watchpoints): Likewise.
9824 (test_bkpt_pending): New proc.
9826 2016-07-13 Tom Tromey <tom@tromey.com>
9829 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9832 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9834 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9835 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9836 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9838 (g): Rename g_end_lbl to g_label.
9839 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9841 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9843 2016-07-12 Tom Tromey <tom@tromey.com>
9846 * gdb.python/py-unwind-maint.exp: Update tests.
9848 2016-07-12 Yao Qi <yao.qi@linaro.org>
9850 * lib/selftest-support.exp (selftest_setup): Match the output
9851 when captured_main is inlined.
9853 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9855 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9857 (print this%a, print this%b, print this): New tests.
9858 * gdb.fortran/derived-types.f90 (this): New object and
9861 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9863 * gdb.ada/arraydim.exp: Remove extra directory level in build
9866 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9868 * lib/ada.exp: Remove extra directory level in build directory.
9869 * gdb.ada/cond_lang.exp: Likewise.
9870 * gdb.ada/exec_changed.exp: Likewise.
9871 * gdb.ada/lang_switch.exp: Likewise.
9873 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9875 * simple.rs: Add test for raw pointer subscripting.
9876 * simple.exp: Add test expectations.
9878 2016-07-05 Yao Qi <yao.qi@linaro.org>
9880 * gdb.mi/mi-reverse.exp: Match =record-started output.
9882 2016-07-01 Pedro Alves <palves@redhat.com>
9884 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9886 (jit_reader_test): Test the jit reader's unwinder.
9887 * gdb.base/jithost.c (jit_function_00_code): New global.
9888 (main): Use memcpy to fill in the mmapped code, instead of poking
9889 bytes manually here.
9890 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9892 (read_debug_info): Save the function's range.
9893 (read_sp): New function.
9894 (unwind_frame): Use it. Also unwind RBP.
9895 (get_frame_id): Use read_sp.
9896 (gdb_init_reader): Use calloc instead of malloc.
9897 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9898 parameter. Use gdb_test_multiple.
9900 2016-07-01 Pedro Alves <palves@redhat.com>
9901 Antoine Tremblay <antoine.tremblay@ericsson.com>
9903 * gdb.threads/process-dies-while-detaching.c: New file.
9904 * gdb.threads/process-dies-while-detaching.exp: New file.
9906 2016-07-01 Pedro Alves <palves@redhat.com>
9908 * gdb.multi/watchpoint-multi-exit.c: New file.
9909 * gdb.multi/watchpoint-multi-exit.exp: New file.
9911 2016-06-30 Pedro Alves <palves@redhat.com>
9913 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9914 unset inferior_spawn_id.
9916 2016-06-30 Pedro Alves <palves@redhat.com>
9918 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9919 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9921 2016-06-29 Yao Qi <yao.qi@linaro.org>
9923 * gdb.base/return.c: Add copyright header.
9925 2016-06-29 Tom Tromey <tom@tromey.com>
9928 * gdb.python/py-framefilter.exp: Add tests for setting priority
9929 and disabling of non-existent frame filter.
9931 2016-06-29 Yao Qi <yao.qi@linaro.org>
9933 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9936 2016-06-28 Yao Qi <yao.qi@linaro.org>
9938 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9939 triplets. Start gdb, execute catch syscall, and continue. Check
9940 gdb's output to determine catch syscall is supported.
9942 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9944 * gdb.rust/simple.rs: Add test for returning unit in a function.
9945 * gdb.rust/simple.exp: Add expectation for functions returning
9948 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9950 * gdb.python/py-breakpoint-create-fail.c,
9951 gdb.python/py-breakpoint-create-fail.exp,
9952 gdb.python/py-breakpoint-create-fail.py: New testcase.
9954 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9957 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9958 * gdb.rust/simple.exp: Add test expectations for new NonZero
9961 2016-06-24 David Taylor <dtaylor@emc.com>
9963 * gdb.base/offsets.exp: New file.
9964 * gdb.base/offsets.c: New file.
9966 2016-06-23 Tom Tromey <tom@tromey.com>
9969 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9970 before any filters are loaded.
9972 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9974 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9975 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9977 * gdb.fortran/derived-type-function.exp: New file.
9978 * gdb.fortran/derived-type-function.f90: New file.
9981 2016-06-21 Pedro Alves <palves@redhat.com>
9983 * gdb.base/new-ui.exp: New file.
9984 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9985 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9986 (with_spawn_id): New procedure.
9988 2016-06-21 Pedro Alves <palves@redhat.com>
9990 * gdb.mi/mi-exec-run.exp: New file.
9992 2016-06-21 Pedro Alves <palves@redhat.com>
9994 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9995 breakpoint command's output on the main UI.
9996 (test_break): New procedure, factored out from calls in the top
9998 (top level): Use foreach_with_prefix to test MI as main UI and as
10001 2016-06-21 Pedro Alves <palves@redhat.com>
10003 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10004 (test_awatch_creation_and_listing)
10005 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10006 Remove 'type' parameter.
10007 (test_watchpoint_all): New parameter mi_mode. Remove
10009 (top level): Use foreach_with_prefix, and add main/separate UI MI
10012 2016-06-21 Pedro Alves <palves@redhat.com>
10014 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10015 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10016 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10017 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10018 (gdb_main_spawn_id, mi_spawn_id): Declare and
10020 (mi_create_inferior_pty): New procedure,
10021 factored out from default_mi_gdb_start.
10022 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10024 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10025 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10026 Use mi_create_inferior_pty.
10027 (mi_gdb_start): Use eval to pass down args list.
10029 2016-06-21 Pedro Alves <palves@redhat.com>
10031 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10032 * gdb.opt/inline-cmds.exp: Add MI tests.
10034 2016-06-21 Pedro Alves <palves@redhat.com>
10036 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10038 2016-06-21 Pedro Alves <palves@redhat.com>
10040 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10041 (top level): Use it instead of mi_execute_to.
10043 2016-06-21 Pedro Alves <palves@redhat.com>
10045 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10046 (cont_handler_str): New.
10047 (signal_stop_handler): Set stop_handler_str instead of printing to
10049 (continue_handler): Set cont_handler_str instead of printing to
10051 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10052 mi_send_resuming_command. Print stop_handler_str and
10053 cont_handler_str instead of expecting the python events print
10056 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10058 * gdb.base/jit-reader.exp: New file.
10059 * gdb.base/jithost.c: New file.
10060 * gdb.base/jithost.h: New file.
10061 * gdb.base/jitreader.c : New file.
10062 * gdb.base/jit-protocol.h: New file.
10064 2016-06-17 Yao Qi <yao.qi@linaro.org>
10066 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10067 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10068 and detach-on-fork. Adjust tests.
10069 (top level): Invoke break_cond_on_syscall with combinations of
10070 syscall, follow-fork-mode and detach-on-fork.
10072 2016-06-17 Yao Qi <yao.qi@linaro.org>
10074 * gdb.base/step-over-exit.c: New.
10075 * gdb.base/step-over-exit.exp: New.
10077 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10079 * gdb.base/float.exp: Add target check for nds32*-*-*.
10080 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10082 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10084 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10085 for unsupported target features.
10086 * gdb.base/call-rt-st.exp: Likewise.
10087 * gdb.base/call-sc.exp: Likewise.
10088 * gdb.base/call-signal-resume.exp: Likewise.
10089 * gdb.base/call-strs.exp: Likewise.
10090 * gdb.base/callexit.exp: Likewise.
10091 * gdb.base/callfuncs.exp: Likewise.
10092 * gdb.base/nodebug.exp: Likewise.
10093 * gdb.base/printcmds.exp: Likewise.
10094 * gdb.base/ptype.exp: Likewise.
10095 * gdb.base/structs.exp: Likewise.
10096 * gdb.base/unwindonsignal.exp: Likewise.
10097 * gdb.cp/gdb2495.exp: Likewise.
10098 * gdb.cp/templates.exp: Likewise.
10099 * gdb.cp/virtfunc.exp: Likewise.
10100 * gdb.threads/hand-call-in-threads.exp: Likewise.
10101 * gdb.threads/interrupted-hand-call.exp: Likewise.
10102 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10104 2016-06-10 Tom Tromey <tom@tromey.com>
10107 * gdb.rust/expr.exp: Add test for integer constant larger than
10110 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10112 * gdb.fortran/nested-funcs.exp: New.
10113 * gdb.fortran/nested-funcs.f90: New.
10115 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10117 * gdb.base/examine-backward.c: New file.
10118 * gdb.base/examine-backward.exp: New file.
10120 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10122 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10125 2016-06-02 Tom Tromey <tom@tromey.com>
10128 * gdb.python/py-shared.exp: Add solib_name test.
10130 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10132 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10134 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10137 * gdb.dwarf2/implref.exp: Rename to...
10138 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10139 * gdb.dwarf2/implref-array.c: New file.
10140 * gdb.dwarf2/implref-array.exp: Likewise.
10141 * gdb.dwarf2/implref-global.c: Likewise.
10142 * gdb.dwarf2/implref-global.exp: Likewise.
10143 * gdb.dwarf2/implref-struct.c: Likewise.
10144 * gdb.dwarf2/implref-struct.exp: Likewise.
10146 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10148 * gdb.trace/trace-condition.exp: Add 64bit tests.
10150 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10152 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10154 (main): Adapt to 8 to 64 bits types.
10155 * gdb.trace/trace-condition.exp: Add new tests.
10157 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10159 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10161 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10163 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10164 Move condition tests...
10165 * gdb.trace/trace-condition.exp: Here.
10167 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10169 * gdb.trace/trace-condition.exp: Add counter-case tests.
10171 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10174 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10175 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10177 2016-05-27 Pedro Alves <palves@redhat.com>
10179 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10181 (top level): Call it, and bail out of DejaGnu is known to be bad.
10183 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10185 * gdb.base/whatis.c: Extend the test case.
10186 * gdb.base/whatis.exp: Add additional tests.
10188 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10190 * gdb.fortran/type.f90: Add pointer variable.
10191 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10193 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10195 * gdb.fortran/vla-type.exp: Fix testcase name.
10197 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10199 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10201 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10203 * gdb.fortran/type.f90: Add nested structures.
10204 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10205 * gdb.fortran/derived-type.exp: Adapt expected output.
10206 * gdb.fortran/vla-type.exp: Adapt expected output.
10208 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10210 * gdb.fortran/whatis_type.exp: Adapt expected output.
10212 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10214 * gdb.fortran/print_type.exp: Fix expected output.
10215 * gdb.fortran/whatis_type.exp: Fix expected output.
10217 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10219 * gdb.fortran/whatis_type.exp: Use multi_line.
10221 2016-05-24 Tom Tromey <tom@tromey.com>
10224 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10225 use value as an index.
10227 2016-05-23 Tom Tromey <tom@tromey.com>
10230 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10231 no-breakpoint case.
10233 2016-05-24 Pedro Alves <palves@redhat.com>
10236 * gdb.threads/clone-attach-detach.c: New file.
10237 * gdb.threads/clone-attach-detach.exp: New file.
10239 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10241 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10243 2016-05-23 Tom Tromey <tom@tromey.com>
10245 PR python/19438, PR python/18393:
10246 * gdb.python/py-progspace.exp: Add "dir" test.
10247 * gdb.python/py-objfile.exp: Add "dir" test.
10249 2016-05-23 Yao Qi <yao.qi@linaro.org>
10251 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10252 * gdb.arch/thumb2-it.exp: Likewise.
10254 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10256 * gdb.mi/mi-threads-interrupt.c: New file.
10257 * gdb.mi/mi-threads-interrupt.exp: New file.
10259 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10262 * gdb.mi/mi-async-run.exp: New file.
10263 * gdb.mi/mi-async-run.c: New file.
10265 2016-05-17 Tom Tromey <tom@tromey.com>
10266 Manish Goregaokar <manishsmail@gmail.com>
10268 * lib/rust-support.exp: New file.
10269 * lib/gdb.exp (skip_rust_tests): New proc.
10270 (build_executable_from_specs): Handle rust.
10271 * lib/future.exp (gdb_find_rustc): New proc.
10272 (gdb_default_target_compile): Handle rust.
10273 * gdb.rust/expr.exp: New file.
10274 * gdb.rust/generics.exp: New file.
10275 * gdb.rust/generics.rs: New file.
10276 * gdb.rust/methods.exp: New file.
10277 * gdb.rust/methods.rs: New file.
10278 * gdb.rust/modules.exp: New file.
10279 * gdb.rust/modules.rs: New file.
10280 * gdb.rust/simple.exp: New file.
10281 * gdb.rust/simple.rs: New file.
10283 2016-05-17 Tom Tromey <tom@tromey.com>
10285 * gdb.base/default.exp (set language): Add rust.
10287 2016-05-17 Tom Tromey <tom@tromey.com>
10289 * gdb.gdb/unittest.exp: New file.
10291 2016-05-16 Yao Qi <yao.qi@linaro.org>
10293 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10294 shell_prompt. Update shell_prompt_re.
10296 2016-05-12 Doug Evans <dje@google.com>
10299 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10300 $options when building executable.
10301 * gdb.dwarf2/fission-loclists-pie.S: New file.
10302 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10304 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10306 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
10307 of [is_remote target],
10309 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10311 * lib/gdb.exp (use_gdb_stub): New procedure.
10313 2016-05-03 Yunlian Jiang <yunlian@google.com>
10314 Doug Evans <dje@google.com>
10317 * gdb.dwarf2/dwp-sepdebug.c: New file.
10318 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10320 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10322 * gdb.base/detach.exp: Remove is_remote check.
10324 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10326 * gdb.base/annota-input-while-running.exp: Don't check for
10327 [is_remote target]. Enable annotations after running to main.
10328 Remove unused "set test..." line.
10330 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10332 * gdb.trace/trace-enable-disable.exp: New file.
10333 * gdb.trace/trace-enable-disable.c: New file.
10335 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10337 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10338 use it in info sharedlibrary test.
10339 * gdb.trace/ftrace-lock.exp: Likewise.
10340 * gdb.trace/ftrace.exp: Likewise.
10341 * gdb.trace/range-stepping.exp: Likewise.
10342 * gdb.trace/trace-break.exp: Likewise.
10343 * gdb.trace/trace-condition.exp: Likewise.
10344 * gdb.trace/trace-mt.exp: Likewise.
10346 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10348 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10349 (gdb_load_shlib): ... this.
10350 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10352 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10353 * gdb.base/ctxobj.exp: Likewise.
10354 * gdb.base/dprintf-pending.exp: Likewise.
10355 * gdb.base/dso2dso.exp: Likewise.
10356 * gdb.base/fixsection.exp: Likewise.
10357 * gdb.base/gcore-relro.exp: Likewise.
10358 * gdb.base/gdb1555.exp: Likewise.
10359 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10360 * gdb.base/gnu-ifunc.exp: Likewise.
10361 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10362 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10363 * gdb.base/pending.exp: Likewise.
10364 * gdb.base/print-file-var.exp: Likewise.
10365 * gdb.base/print-symbol-loading.exp: Likewise.
10366 * gdb.base/shlib-call.exp: Likewise.
10367 * gdb.base/shreloc.exp: Likewise.
10368 * gdb.base/so-impl-ld.exp: Likewise.
10369 * gdb.base/solib-disc.exp: Likewise.
10370 * gdb.base/solib-nodir.exp: Likewise.
10371 * gdb.base/solib-overlap.exp: Likewise.
10372 * gdb.base/solib-symbol.exp: Likewise.
10373 * gdb.base/solib-weak.exp (do_test): Likewise.
10374 * gdb.base/sym-file.exp: Likewise.
10375 * gdb.base/symtab-search-order.exp: Likewise.
10376 * gdb.base/type-opaque.exp: Likewise.
10377 * gdb.base/unload.exp: Likewise.
10378 * gdb.base/watchpoint-solib.exp: Likewise.
10379 * gdb.compile/compile.exp: Likewise.
10380 * gdb.cp/gdb2384.exp: Likewise.
10381 * gdb.cp/infcall-dlopen.exp: Likewise.
10382 * gdb.cp/re-set-overloaded.exp: Likewise.
10383 * gdb.fortran/library-module.exp: Likewise.
10384 * gdb.opt/solib-intra-step.exp: Likewise.
10385 * gdb.python/py-finish-breakpoint.exp: Likewise.
10386 * gdb.python/py-shared.exp: Likewise.
10387 * gdb.reverse/solib-precsave.exp: Likewise.
10388 * gdb.reverse/solib-reverse.exp: Likewise.
10389 * gdb.server/solib-list.exp: Likewise.
10390 * gdb.threads/dlopen-libpthread.exp: Likewise.
10391 * gdb.threads/tls-shared.exp: Likewise.
10392 * gdb.threads/tls-so_extern.exp: Likewise.
10393 * gdb.trace/change-loc.exp: Likewise.
10394 * gdb.trace/ftrace-lock.exp: Likewise.
10395 * gdb.trace/ftrace.exp: Likewise.
10396 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10397 * gdb.trace/pending.exp: Likewise.
10398 * gdb.trace/range-stepping.exp: Likewise.
10399 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10400 (strace_info_marker): Likewise.
10401 (strace_probe_marker): Likewise.
10402 (strace_trace_on_same_addr): Likewise.
10403 (strace_trace_on_diff_addr): Likewise.
10404 * gdb.trace/trace-break.exp: Likewise.
10405 * gdb.trace/trace-condition.exp: Likewise.
10406 * gdb.trace/trace-mt.exp: Likewise.
10408 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10410 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10411 result of gdb_remote_download.
10412 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10413 * gdb.base/dso2dso.exp: Likewise.
10414 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10415 * gdb.base/print-file-var.exp: Likewise.
10416 * gdb.base/shlib-call.exp: Likewise.
10417 * gdb.base/shreloc.exp: Likewise.
10418 * gdb.base/solib-overlap.exp: Likewise.
10419 * gdb.base/solib-weak.exp (do_test): Likewise.
10420 * gdb.base/unload.exp: Likewise.
10422 2016-04-27 Yao Qi <yao.qi@linaro.org>
10424 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10427 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10429 * vla-type.exp: Print structure from toplevel.
10431 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10433 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10435 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10438 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10440 * gdb.fortran/vla-type.f90: New file.
10441 * gdb.fortran/vla-type.exp: New file.
10443 2016-04-25 Yao Qi <yao.qi@linaro.org>
10445 * gdb.base/branch-to-self.c: New file.
10446 * gdb.base/branch-to-self.exp: New file.
10448 2016-04-22 Yao Qi <yao.qi@linaro.org>
10450 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10453 2016-04-22 Yao Qi <yao.qi@linaro.org>
10455 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10456 * gdb.base/annota3.exp: Likewise.
10458 2016-04-22 Yao Qi <yao.qi@linaro.org>
10460 * gdb.reverse/step-precsave.exp: Do one step and test program
10461 stops in "callee" and do multiple steps until program goes out
10463 * gdb.reverse/step-reverse.exp: Likewise.
10465 2016-04-22 Yao Qi <yao.qi@linaro.org>
10467 * gdb.trace/signal.exp: Also pass if
10468 $tracepoint_hits($i) > $iterations.
10470 2016-04-22 Yao Qi <yao.qi@linaro.org>
10472 * gdb.trace/signal.c: New file.
10473 * gdb.trace/signal.exp: New file.
10475 2016-04-19 Doug Evans <xdje42@gmail.com>
10477 * gdb.base/bad-file.exp: New file.
10479 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10481 * gdb.dwarf2/implref.exp: New file.
10483 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10485 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10486 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10487 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10488 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10489 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10490 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10491 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10492 * lib/fortran.exp (fortran_int4): New procedure.
10493 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10494 (fortran_logical4): Likewise.
10496 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10498 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10500 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10502 * lib/compiler.c: Add Intel specific preprocessor macros.
10503 * lib/compiler.cc: Likewise.
10505 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10507 * gdb.server/connect-with-no-symbol-file.c: New file.
10508 * gdb.server/connect-with-no-symbol-file.exp: New file.
10510 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10512 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10514 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10516 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10517 standard output directory.
10519 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10521 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10523 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10525 * gdb.btrace/instruction_history.c (loop): Add declaration.
10527 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10529 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10531 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10533 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10534 parentheses to print.
10535 (continue_handler): Likewise.
10537 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10539 * gdb.server/solib-list.exp: Remove is_remote check.
10540 Pass shlib= to gdb_compile. Don't link shared library with
10541 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10542 Run binary filename through "readlink -f" on the target.
10544 2016-04-08 Pedro Alves <palves@redhat.com>
10546 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10547 interpreter filename as argument to gdbserver_spawn.
10548 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10549 Return empty if $last_loaded_file does not exist.
10551 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10553 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10554 * gdb.base/jit-main.c: Use exit after usage.
10556 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10558 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10559 GDBHISTSIZE prior to the tests.
10560 * gdb.base/gdbinit-history.exp: Likewise.
10562 2016-04-07 Pedro Alves <palves@redhat.com>
10564 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10565 instead of build_executable. Use gdb_load_shlibs.
10567 2016-04-07 Yao Qi <yao.qi@linaro.org>
10569 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10570 Execute "si" command.
10572 2016-04-07 Yao Qi <yao.qi@linaro.org>
10574 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10575 number instead of the comments on some line.
10577 2016-04-06 Don Breazeal <donb@codesourcery.com>
10579 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10580 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10582 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10584 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10585 standard_output_file. Remove unused binfile variable.
10587 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10589 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10590 * gdb.python/py-mi-objfile.exp: Match "list main" output
10593 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10595 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10598 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10600 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10602 * gdb.trace/ftrace.exp: Likewise.
10603 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10605 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10606 (gdb_load_shlibs): Copy libraries to test directory when testing
10607 natively. Only set solib-search-path if testing remotely.
10608 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10610 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10612 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10613 gdb_download. Use it even if the target is not remote.
10614 * gdb.base/jit.exp (compile_jit_test): Likewise.
10615 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10616 output directory if the destination board is local, otherwise use
10617 the standard remote_download from DejaGnu.
10618 (gdb_download): Remove.
10619 (gdb_load_shlibs): Use gdb_remote_download instead of
10621 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10622 Use gdb_remote_download instead of gdb_download. Use it even if
10623 the target is not remote.
10624 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10625 instead of gdb_download.
10627 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10629 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10630 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10633 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10636 * gdb.base/printcmds.exp: Add artificial arrays tests.
10638 2016-03-31 Pedro Alves <palves@redhat.com>
10641 * gdb.base/jit-main.c: Include unistd.h.
10642 (ATTACH): Define to 0 if not already defined.
10643 (wait_for_gdb, mypid): New globals.
10644 (WAIT_FOR_GDB): New macro.
10645 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10646 some breakpoint locations.
10647 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10649 (one_jit_test): Add REATTACH parameter, and handle it. Use
10650 continue_to_test_location.
10651 (top level): Test attach, and adjusts calls to one_jit_test.
10653 2016-03-31 Pedro Alves <palves@redhat.com>
10656 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10657 BINSUFFIX parameter, and handle it.
10658 (top level): Adjust calls compile_jit_test.
10660 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10663 * gdb.python/py-mi-events-gdb.py: New file.
10664 * gdb.python/py-mi-events.c: New file.
10665 * gdb.python/py-mi-events.exp: New file.
10667 2016-03-30 Yao Qi <yao.qi@linaro.org>
10669 * gdb.reverse/until-precsave.exp: Match function name only.
10670 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10671 Move malloc to a condition block.
10672 * gdb.reverse/until-reverse.exp: Match function name only.
10674 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10676 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10677 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10678 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10679 variable for GPR 0 instead of assuming it is register 0.
10680 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10681 * lib/trace-support.exp: Add s390 registers.
10683 2016-03-29 Yao Qi <yao.qi@linaro.org>
10685 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10687 2016-03-24 Yao Qi <yao.qi@linaro.org>
10689 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10692 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10694 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10695 maintaining separate logic for constructing the output path.
10697 2016-03-16 Don Breazeal <donb@codesourcery.com>
10699 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10700 Retry fork and waitpid on interrupted system call errors.
10701 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10702 Use with_timeout_factor to increase timeout by factor of 10.
10704 2016-03-15 Don Breazeal <donb@codesourcery.com>
10706 * gdb.cp/scope-err.cc: New test program.
10707 * gdb.cp/scope-err.exp: New test script.
10708 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10709 lines and "set breakpoint here" comment.
10710 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10711 Fixed some whitespace and format issues.
10712 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10713 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10715 2016-03-15 Doug Evans <dje@google.com>
10717 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10718 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10719 All callers updated. Add tests for enums, mixed flags register.
10721 2016-03-15 Doug Evans <dje@google.com>
10723 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10724 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10726 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10728 * gdb.base/default.exp: Add $_as_string to the list of expected
10729 convenience functions.
10731 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10733 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10735 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10737 * gdb.python/py-as-string.exp: New file.
10738 * gdb.python/py-as-string.c: New file.
10740 2016-03-09 Pedro Alves <palves@redhat.com>
10742 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10743 signal" -> "Thread NN received signal" output change.
10744 * gdb.threads/ia64-sigill.exp: Likewise.
10745 * gdb.threads/linux-dp.exp: Likewise.
10746 * gdb.threads/manythreads.exp: Likewise.
10747 * gdb.threads/pending-step.exp: Likewise.
10748 * gdb.threads/print-threads.exp: Likewise.
10749 * gdb.threads/sigstep-threads.exp: Likewise.
10750 * gdb.threads/staticthreads.exp: Likewise.
10751 * gdb.threads/tls.exp: Likewise.
10753 2016-03-09 Pedro Alves <palves@redhat.com>
10755 * gdb.base/command-line-input.exp: New file.
10757 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10759 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10760 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10761 * gdb.trace/pending.exp: Accept leading dot before function name.
10762 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10763 * lib/trace-support.exp: Set registers for ppc.
10765 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10767 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10768 use it for disassembly; accept .main in addition to main in backtrace.
10770 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10771 Marcin Kościelnicki <koriakin@0x04.net>
10773 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10774 (gdb_recursion_test_ptr): New global variable.
10775 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10776 gdb_recursion_test.
10777 (gdb_c_test): Ditto.
10779 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10781 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10784 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10786 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10787 (bar): Add bar_start_lbl label.
10788 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10789 of foo/bar for emitting DWARF and tracing.
10791 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10793 * analyze-racy-logs.py: Set executable bit.
10795 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10797 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10798 (CHECK_TARGET_TMP): Likewise.
10799 (check-single-racy): New rule.
10800 (check-parallel-racy): Likewise.
10801 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10802 (do-check-parallel-racy): New rule.
10803 (check-racy/%.exp): Likewise.
10804 * README (Racy testcases): New section.
10805 * analyze-racy-logs.py: New file.
10807 2016-03-03 Doug Evans <dje@google.com>
10809 * gdb.base/skip.exp: Use with_test_prefix.
10811 2016-03-03 Yao Qi <yao.qi@linaro.org>
10813 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10814 Invoke step_over_syscall "clone" and break_cond_on_syscall
10816 * gdb.base/step-over-clone.c: New file.
10818 2016-03-03 Yao Qi <yao.qi@linaro.org>
10820 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10823 2016-03-03 Yao Qi <yao.qi@linaro.org>
10825 * gdb.base/disp-step-fork.c: Rename to ...
10826 * gdb.base/step-over-fork.c: ... it. New file.
10827 * gdb.base/disp-step-vfork.c: Rename to ...
10828 * gdb.base/step-over-vfork.c: ... it. New file.
10829 * gdb.base/disp-step-syscall.exp: Rename to ...
10830 * gdb.base/step-over-syscall.exp: ... it. New file.
10831 (disp_step_cross_syscall): Rename to ...
10832 (step_over_syscall): ... it.
10834 2016-03-03 Yao Qi <yao.qi@linaro.org>
10836 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10837 If target supports condition evaluation on target, invoke
10838 break_cond_on_syscall for fork and vfork.
10840 2016-03-03 Yao Qi <yao.qi@linaro.org>
10842 * gdb.base/disp-step-syscall.exp: Don't invoke
10843 support_displaced_stepping.
10844 (disp_step_cross_syscall): Test with displaced stepping off and
10847 2016-03-03 Yao Qi <yao.qi@linaro.org>
10849 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10852 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10855 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10857 * gdb.fortran/vla-history.exp: Remove breakpoint.
10859 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10861 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10864 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10866 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10869 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10871 * gdb.mi/vla.f90: Nullify pointer after declaration.
10873 2016-03-01 Pedro Alves <palves@redhat.com>
10875 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10877 2016-03-01 Pedro Alves <palves@redhat.com>
10879 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10880 before anything else.
10881 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10883 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10884 before anything else.
10885 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10887 2016-03-01 Pedro Alves <palves@redhat.com>
10889 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10891 2016-03-01 Yao Qi <yao.qi@linaro.org>
10893 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10894 prepare_for_testing.
10896 2016-03-01 Yao Qi <yao.qi@linaro.org>
10898 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10900 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10902 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10903 manually constructing the output path.
10905 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10907 * gdb.arch/s390-stackless.S: New.
10908 * gdb.arch/s390-stackless.exp: New.
10910 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10912 * gdb.dlang/circular.c: New file.
10913 * gdb.dlang/circular.exp: New file.
10915 2016-02-26 Yao Qi <yao.qi@linaro.org>
10917 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10918 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10919 (testcases): Update.
10921 2016-02-26 Yao Qi <yao.qi@linaro.org>
10923 * gdb.reverse/aarch64.c: Rename to ...
10924 * gdb.reverse/insn-reverse.c: ... it.
10925 * gdb.reverse/aarch64.exp: Rename to ...
10926 * gdb.reverse/insn-reverse.exp: ... it.
10928 2016-02-26 Yao Qi <yao.qi@linaro.org>
10930 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10931 (testcase_ftype): New.
10932 (testcases): New array.
10933 (n_testcases): New.
10934 (main): Call each element in testcases.
10935 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10936 (read_testcase): New.
10937 Do the tests in a loop.
10939 2016-02-25 Yao Qi <yao.qi@linaro.org>
10941 * gdb.base/branches.c: Remove.
10943 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10946 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10948 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10950 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10952 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10954 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10955 change x86_64 call_insn to 'callq'.
10957 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10959 * gdb.trace/tfile-avx.c: Move to...
10960 * gdb.trace/tracefile-pseudo-reg.c: Here.
10961 * gdb.trace/tfile-avx.exp: Move to...
10962 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10964 2016-02-24 Gary Benson <gbenson@redhat.com>
10966 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10969 2016-02-23 Doug Evans <dje@google.com>
10971 * gdb.base/skip.c (test_skip): New function.
10972 (end_test_skip_file_and_function): New function.
10973 (test_skip_file_and_function): New function.
10974 * gdb.base/skip1.c (test_skip): New function.
10975 (skip1_test_skip_file_and_function): New function.
10976 * gdb.base/skip.exp: Add tests for new skip options.
10977 * gdb.base/skip-solib.exp: Update expected output.
10978 * gdb.perf/skip-command.cc: New file.
10979 * gdb.perf/skip-command.exp: New file.
10980 * gdb.perf/skip-command.py: New file.
10982 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10984 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10985 info registers pattern.
10987 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10989 * lib/future.exp: Add D support.
10990 (gdb_find_gdc): New proc.
10991 (gdb_default_target_compile): Add D support.
10993 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10995 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10997 (trace_speed_test): Determine the iteration count for a time
10998 between 15..30 seconds.
11000 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11002 * gdb.arch/i386-mpx-sigsegv.c: New file.
11003 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11004 * gdb.arch/i386-mpx-simple_segv.c: New file.
11005 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11007 2016-02-18 Yao Qi <yao.qi@linaro.org>
11009 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11010 Don't call setup_kfail.
11012 2016-02-18 Yao Qi <yao.qi@linaro.org>
11014 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11015 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11017 2016-02-16 Doug Evans <dje@google.com>
11019 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11020 * gdb.base/skip1.c: Ditto.
11021 * gdb.base/skip.exp: Whitespace cleanup.
11023 2016-02-16 Don Breazeal <donb@codesourcery.com>
11026 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11027 Remove kfail for PR remote/19496.
11029 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11031 * lib/gdb.exp (standard_temp_file): Return a path specific to
11032 the runtest invocation.
11034 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11036 * gdb.trace/save-trace.exp: Change relative path to be in the
11037 standard output directory.
11039 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11041 * gdb.arch/i386-prologue.c: Add missing prototypes.
11043 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11045 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11046 * gdb.arch/i386-prologue.exp: Likewise.
11047 * gdb.arch/i386-size.exp: Likewise.
11049 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11051 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11052 define object file path.
11053 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11055 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11056 standard_output_file to define binfile.
11058 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11060 Fix compatibility with recent gfortran-5.3.1.
11061 * gdb.fortran/vla-history.exp (print vla1 allocated)
11062 (print vla2 allocated, print $2, print $3): Remove
11063 (print $4): Rename to ...
11064 (print $2): ... here.
11065 (print $9): Rename to ...
11066 (print $5): ... here.
11067 (print $10): Rename to ...
11068 (print $6): ... here.
11069 * gdb.fortran/vla.f90: Add pvla initialization.
11071 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11073 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11075 * gdb.fortran/vla-value-sub.exp: Likewise.
11077 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11079 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11081 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11083 * i386-biarch-core.exp: Define corefile using
11084 standard_output_file.
11086 2016-02-12 Yao Qi <yao.qi@linaro.org>
11088 * gdb.arch/arm-single-step-kernel-helper.c: New.
11089 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11091 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11093 * gdb.btrace/tailcall-only.exp: New.
11094 * gdb.btrace/tailcall-only.c: New.
11095 * gdb.btrace/x86_64-tailcall-only.S: New.
11096 * gdb.btrace/i686-tailcall-only.S: New.
11098 2016-02-11 Pedro Alves <palves@redhat.com>
11100 * README (Parallel testing): Add missing double quotes.
11102 2016-02-11 Pedro Alves <palves@redhat.com>
11104 * README (Parallel testing): New section.
11105 (GDB_PARALLEL): Rewrite.
11106 (FORCE_PARALLEL): Document.
11108 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11110 * gdb.trace/tfile-avx.c: New test.
11111 * gdb.trace/tfile-avx.exp: New test.
11113 2016-02-09 Keith Seitz <keiths@redhat.com>
11115 PR breakpoints/19546
11116 * gdb.base/infcall-exec.c: New file.
11117 * gdb.base/infcall-exec2.c: New file.
11118 * gdb.base/infcall-exec.exp: New file.
11120 2016-02-09 Keith Seitz <keiths@redhat.com>
11122 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11123 (toplevel): Call test_bkpt_address.
11125 2016-02-09 Keith Seitz <keiths@redhat.com>
11128 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11129 (toplevel): Call test_bkpt_address.
11131 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11133 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11135 * configure: Regenerate.
11137 2016-02-09 Pedro Alves <palves@redhat.com>
11139 PR breakpoints/19548
11140 * gdb.base/execl-update-breakpoints.c (some_function): New
11143 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11144 Tighten expected GDB output.
11146 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11148 * Makefile.in (ALL_SUBDIRS): Remove.
11149 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11150 (distclean maintainer-clean realclean): Likewise.
11151 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11152 * configure: Regenerate.
11153 * gdb.ada/Makefile.in: Delete.
11154 * gdb.arch/Makefile.in: Likewise.
11155 * gdb.asm/Makefile.in: Likewise.
11156 * gdb.base/Makefile.in: Likewise.
11157 * gdb.btrace/Makefile.in: Likewise.
11158 * gdb.cell/Makefile.in: Likewise.
11159 * gdb.compile/Makefile.in: Likewise.
11160 * gdb.cp/Makefile.in: Likewise.
11161 * gdb.disasm/Makefile.in: Likewise.
11162 * gdb.dlang/Makefile.in: Likewise.
11163 * gdb.dwarf2/Makefile.in: Likewise.
11164 * gdb.fortran/Makefile.in: Likewise.
11165 * gdb.gdb/Makefile.in: Likewise.
11166 * gdb.go/Makefile.in: Likewise.
11167 * gdb.guile/Makefile.in: Likewise.
11168 * gdb.java/Makefile.in: Likewise.
11169 * gdb.linespec/Makefile.in: Likewise.
11170 * gdb.mi/Makefile.in: Likewise.
11171 * gdb.modula2/Makefile.in: Likewise.
11172 * gdb.multi/Makefile.in: Likewise.
11173 * gdb.objc/Makefile.in: Likewise.
11174 * gdb.opencl/Makefile.in: Likewise.
11175 * gdb.opt/Makefile.in: Likewise.
11176 * gdb.pascal/Makefile.in: Likewise.
11177 * gdb.perf/Makefile.in: Likewise.
11178 * gdb.python/Makefile.in: Likewise.
11179 * gdb.reverse/Makefile.in: Likewise.
11180 * gdb.server/Makefile.in: Likewise.
11181 * gdb.stabs/Makefile.in: Likewise.
11182 * gdb.threads/Makefile.in: Likewise.
11183 * gdb.trace/Makefile.in: Likewise.
11184 * gdb.xml/Makefile.in: Likewise.
11185 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11187 (standard_output_file): Remove check for GDB_PARALLEL, always
11188 return path in outputs/$subdir/$testname.
11190 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11192 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11193 (site.exp): Assign abs_srcdir to tcl's srcdir.
11195 2016-02-04 Yao Qi <yao.qi@linaro.org>
11197 * gdb.base/foll-exec-mode.c: Include limits.h.
11198 (main): Add parameters argc and argv. Get directory from
11200 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11202 * gdb.base/foll-exec.c: Include limits.h.
11203 (main): Add parameters argc and argv.
11204 Get directory from argv[0].
11205 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11206 Adjust tests on the number of lines as source code changed.
11207 * gdb.base/foll-vfork-exit.c: Include limits.h.
11208 (main): Add one line of statement before vfork.
11209 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11210 (main): Add parameters argc and argv. Get directory from
11212 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11213 (setup_gdb): Set tbreak to skip some source lines.
11214 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11215 (main): Add parameters argc and argv. Get directory from
11217 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11219 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11220 (main): Add parameters argc and argv. Get directory from
11222 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11225 2016-02-01 Doug Evans <dje@google.com>
11227 * gdb.base/skip.exp: Clean up multiple references to same test name.
11229 2016-02-01 Pedro Alves <palves@redhat.com>
11232 * gdb.threads/forking-threads-plus-breakpoint.exp
11233 (displaced_stepping_supported): New global.
11234 (probe_displaced_stepping_support): New procedure.
11235 (do_test): Add 'displaced' parameter, and use it.
11236 (top level): Check for displaced stepping support. Add displaced
11237 stepping on/off testing axis.
11239 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11241 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11242 pointer. Don't perform further tests on the unassociated pointer
11243 if the first test fails.
11245 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11247 * gdb.base/max-value-size.c: New file.
11248 * gdb.base/max-value-size.exp: New file.
11249 * gdb.base/huge.exp: Disable max-value-size for this test.
11251 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11253 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11255 2016-01-28 Yao Qi <yao.qi@linaro.org>
11257 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11259 2016-01-25 Pedro Alves <palves@redhat.com>
11262 * gdb.base/fork-running-state.c: New file.
11263 * gdb.base/fork-running-state.exp: New file.
11265 2016-01-25 Pedro Alves <palves@redhat.com>
11268 * gdb.base/catch-fork-kill.c: New file.
11269 * gdb.base/catch-fork-kill.exp: New file.
11271 2016-01-25 Pedro Alves <palves@redhat.com>
11273 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11274 Delete, moved to lib/gdb.exp.
11275 * gdb.threads/forking-threads-plus-breakpoint.exp
11276 (foreach_with_prefix): Likewise.
11277 * gdb.threads/process-dies-while-handling-bp.exp
11278 (foreach_with_prefix): Likewise.
11279 * lib/gdb.exp (foreach_with_prefix): New procedure.
11281 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11283 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11284 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11286 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11288 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11291 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11292 Pedro Alves <palves@redhat.com>
11294 Fix testsuite compatibility with Guile.
11295 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11298 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11300 Fix testsuite compatibility with Guile.
11301 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11302 (thread 1): New test for backtrace through signal handler.
11304 2016-01-22 Yao Qi <yao.qi@linaro.org>
11307 * gdb.base/multi-forks.c: Include
11308 ../lib/unbuffer_output.c
11309 (main): Call gdb_unbuffer_output.
11311 2016-01-21 Doug Evans <dje@google.com>
11313 * lib/ada.exp (gdb_compile_ada): Fix typo.
11315 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11317 * gdb.base/break-fun-addr.exp: New file.
11318 * gdb.base/break-fun-addr1.c: New file.
11319 * gdb.base/break-fun-addr2.c: New file.
11321 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11323 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11324 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11327 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11329 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11330 when GDB can not set the vector return value. Add more comments
11333 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11335 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11338 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11340 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11342 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11344 * Makefile.in (check-single): Pass --status to runtest.
11345 (check/%.exp): Likewise.
11347 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11349 * Makefile.in (check-parallel): Propagate return code from make
11352 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11354 * gdb.trace/ftrace.exp: Fix expected message on continue.
11355 * gdb.trace/pending.exp: Fix expected message on continue.
11356 * gdb.trace/trace-break.exp: Fix expected message on continue.
11358 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11360 * lib/gdb.exp (gdb_test): Remove unused global references.
11362 2016-01-18 Pedro Alves <palves@redhat.com>
11364 * gdb.base/async-shell.exp: Adjust expected output.
11365 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11366 * gdb.base/siginfo-thread.exp: Adjust expected output.
11367 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11368 * gdb.java/jnpe.exp: Adjust expected output.
11369 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11370 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11371 * gdb.threads/leader-exit.exp: Adjust expected output.
11372 * gdb.threads/manythreads.exp: Adjust expected output.
11373 * gdb.threads/pthreads.exp: Adjust expected output.
11374 * gdb.threads/schedlock.exp: Adjust expected output.
11375 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11376 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11378 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11380 * gdb.threads/sigthread.exp: Adjust expected output.
11381 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11383 2016-01-18 Yao Qi <yao.qi@linaro.org>
11385 * gdb.guile/scm-section-script.c: Replace @progbits with
11387 * gdb.python/py-section-script.c: Likewise.
11389 2016-01-15 Pedro Alves <palves@redhat.com>
11391 * gdb.multi/tids.exp: Test star wildcard ranges.
11393 2016-01-15 Pedro Alves <palves@redhat.com>
11395 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11396 command from "thread apply" invocation.
11397 (thr_apply_info_thr_invalid): Default the expected output to the
11399 (top level): Add tests that use convenience variables. Add tests
11400 for "thread apply" with a valid TID list, but missing the command.
11402 2016-01-13 Pedro Alves <palves@redhat.com>
11404 * gdb.base/default.exp: Expect $_gthread as well.
11405 * gdb.multi/tids.exp: Test $_gthread.
11406 * gdb.threads/thread-specific.exp: Test $_gthread.
11408 2016-01-13 Pedro Alves <palves@redhat.com>
11410 * gdb.multi/tids.exp: Test "info threads -gid".
11412 2016-01-13 Pedro Alves <palves@redhat.com>
11414 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11416 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11418 2016-01-07 Pedro Alves <palves@redhat.com>
11420 * gdb.base/break.exp: Adjust to output changes.
11421 * gdb.base/hbreak2.exp: Likewise.
11422 * gdb.base/sepdebug.exp: Likewise.
11423 * gdb.base/watch_thread_num.exp: Likewise.
11424 * gdb.linespec/keywords.exp: Likewise.
11425 * gdb.multi/info-threads.exp: Likewise.
11426 * gdb.threads/thread-find.exp: Likewise.
11427 * gdb.multi/tids.c: New file.
11428 * gdb.multi/tids.exp: New file.
11430 2016-01-13 Pedro Alves <palves@redhat.com>
11432 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11434 2016-01-13 Pedro Alves <palves@redhat.com>
11436 * gdb.base/default.exp: Expect $_inferior as well.
11437 * gdb.multi/base.exp: Test $_inferior.
11439 2016-01-13 Pedro Alves <palves@redhat.com>
11441 PR breakpoints/19388
11442 * gdb.base/catch-signal-siginfo-cond.c: New file.
11443 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11445 2016-01-12 Josh Stone <jistone@redhat.com>
11446 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11448 * gdb.base/catch-syscall.c (do_execve): New variable.
11449 (main): Conditionally trigger an execve.
11450 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11451 (test_catch_syscall_execve): New, check entry/return across execve.
11452 (do_syscall_tests): Call test_catch_syscall_execve.
11454 2016-01-12 Pedro Alves <palves@redhat.com>
11456 * gdb.base/random-signal.exp (do_test): New procedure, with body
11457 of testcase moved in.
11459 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11460 Pedro Alves <palves@redhat.com>
11462 * gdb.base/funcargs.exp (finish from indirectly called function):
11463 Reintroduce the case for 'First'.
11465 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11466 Pedro Alves <palves@redhat.com>
11468 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11469 (tcatch_vfork_then_child_follow_exec)
11470 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11473 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11475 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11476 and repeats to unlimited.
11477 * gdb.python/py-value.exp: Likewise.
11478 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11479 and repeats to unlimited.
11481 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11483 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11484 and reordering the functions.
11485 * gdb.multi/hangout.c: Likewise.
11486 * gdb.multi/hello.c: Likewise.
11488 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11490 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11492 (SingleStatisticTestResult.report): Use dict.keys instead of
11495 2016-01-06 Pedro Alves <palves@redhat.com>
11497 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11499 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11501 * gdb.btrace/dlopen.exp: New.
11502 * gdb.btrace/dlopen.c: New.
11503 * gdb.btrace/dlopen-dso.c: New.
11505 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11507 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11508 PATTERN argument is optional.
11510 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11512 * lib/ada.exp (target_compile_ada_from_dir): New function.
11513 (gdb_compile_ada): Reimplement avoiding the use of project files.
11514 * gdb.ada/gnat_ada.gpr: Delete.
11515 * gdb.ada/cond_lang.exp: Adjust test to make path before
11517 * gdb.ada/small_reg_param.exp: Likewise.
11519 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11521 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11523 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11525 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11528 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11530 * gdb.base/break.exp: Remove dead code.
11531 * gdb.base/sepdebug.exp: Likewise.
11533 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11535 * gdb.asm/asm-source.exp: Remove HP-UX references.
11536 * gdb.base/annota1.exp: Likewise.
11537 * gdb.base/annota3.exp: Likewise.
11538 * gdb.base/attach.exp: Likewise.
11539 * gdb.base/bigcore.exp: Likewise.
11540 * gdb.base/break.exp: Likewise.
11541 * gdb.base/call-ar-st.exp: Likewise.
11542 * gdb.base/callfuncs.exp: Likewise.
11543 * gdb.base/catch-fork-static.exp: Likewise.
11544 * gdb.base/display.exp: Likewise.
11545 * gdb.base/foll-exec-mode.exp: Likewise.
11546 * gdb.base/foll-exec.exp: Likewise.
11547 * gdb.base/foll-fork.exp: Likewise.
11548 * gdb.base/foll-vfork.exp: Likewise.
11549 * gdb.base/funcargs.exp: Likewise.
11550 * gdb.base/hbreak2.exp: Likewise.
11551 * gdb.base/inferior-died.exp: Likewise.
11552 * gdb.base/interrupt.exp: Likewise.
11553 * gdb.base/multi-forks.exp: Likewise.
11554 * gdb.base/nodebug.exp: Likewise.
11555 * gdb.base/sepdebug.exp: Likewise.
11556 * gdb.base/solib1.c: Likewise.
11557 * gdb.base/step-test.exp: Likewise.
11558 * gdb.mi/non-stop.c: Likewise.
11559 * gdb.mi/pthreads.c: Likewise.
11560 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11561 * gdb.threads/pthreads.c: Likewise.
11562 * gdb.threads/staticthreads.exp: Likewise.
11563 * lib/future.exp: Likewise.
11564 * lib/gdb.exp: Likewise.
11565 * gdb.base/so-indr-cl.c: Remove.
11566 * gdb.base/so-indr-cl.exp: Likewise.
11567 * gdb.base/solib.c: Likewise.
11568 * gdb.base/solib.exp: Likewise.
11569 * gdb.base/solib2.c: Likewise.
11571 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11573 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11574 * gdb.base/call-ar-st.exp: Likewise.
11575 * gdb.base/callfuncs.exp: Likewise.
11576 * gdb.base/condbreak.exp: Likewise.
11577 * gdb.base/constvars.exp: Likewise.
11578 * gdb.base/hbreak2.exp: Likewise.
11579 * gdb.base/langs.exp: Likewise.
11580 * gdb.base/list.exp: Likewise.
11581 * gdb.base/long_long.exp: Likewise.
11582 * gdb.base/ptype.exp: Likewise.
11583 * gdb.base/scope.exp: Likewise.
11584 * gdb.base/signals.exp: Likewise.
11585 * gdb.base/so-impl-ld.exp: Likewise.
11586 * gdb.base/varargs.exp: Likewise.
11587 * gdb.base/volatile.exp: Likewise.
11588 * gdb.base/whatis.exp: Likewise.
11589 * gdb.cp/cplusfuncs.exp: Likewise.
11590 * gdb.cp/inherit.exp: Likewise.
11591 * gdb.cp/local.exp: Likewise.
11592 * gdb.cp/member-ptr.exp: Likewise.
11593 * gdb.cp/method.exp: Likewise.
11594 * gdb.cp/overload.exp: Likewise.
11595 * gdb.cp/templates.exp: Likewise.
11596 * gdb.stabs/weird.exp: Likewise.
11597 * lib/compiler.c: Likewise.
11598 * lib/compiler.cc: Likewise.
11599 * lib/cp-support.exp: Likewise.
11600 * lib/gdb.exp: Likewise.
11602 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11604 * configure.ac: Remove HP-UX case.
11605 * configure: Regenerate.
11607 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11609 * lib/gdb.exp (gdb_compile): Add function doc.
11611 2015-12-17 Pedro Alves <palves@redhat.com>
11614 * gdb.multi/info-threads.exp: New file.
11616 2015-12-15 Yao Qi <yao.qi@linaro.org>
11618 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11621 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11623 * gdb.base/history-duplicates.exp: Skip if no readline support.
11625 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11627 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11629 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11631 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11633 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11635 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11636 ctrl-C if nointerrupts target property is set.
11637 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11638 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11639 * gdb.base/paginate-bg-execution.exp: Likewise.
11640 * gdb.base/paginate-execution-startup.exp: Likewise.
11641 * gdb.base/random-signal.exp: Likewise.
11642 * gdb.base/range-stepping.exp: Likewise.
11643 * gdb.cp/annota2.exp: Likewise.
11644 * gdb.cp/annota3.exp: Likewise.
11645 * gdb.gdb/selftest.exp: Likewise.
11646 * gdb.threads/continue-pending-status.exp: Likewise.
11647 * gdb.threads/leader-exit.exp: Likewise.
11648 * gdb.threads/manythreads.exp: Likewise.
11649 * gdb.threads/pthreads.exp: Likewise.
11650 * gdb.threads/schedlock.exp: Likewise.
11651 * gdb.threads/sigthread.exp: Likewise.
11653 2015-12-11 Don Breazeal <donb@codesourcery.com>
11655 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11657 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11658 * gdb.base/foll-exec.exp (main): Enable for target remote.
11659 * gdb.base/foll-fork.exp (main): Likewise.
11660 * gdb.base/foll-vfork.exp (main): Likewise.
11661 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11662 (proc continue_to_exit_bp_loc): Use clean_restart.
11663 * gdb.base/pie-execl.exp (main): Disable for target remote.
11664 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11665 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11666 * gdb.threads/execl.exp (main): Likewise.
11667 * gdb.threads/fork-child-threads.exp (main): Likewise.
11668 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11670 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11672 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11673 pid.tid style ptids, instead of just tid.
11674 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11675 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11676 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11677 ptids, instead of just tid.
11679 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11681 * gdb.base/list.exp (test_list_forward): Add end of file error
11683 (test_repeat_list_command): Add end of file error test.
11684 (test_list_backwards): Add beginning of file error test.
11686 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11688 * gdb.base/list.exp (test_list_invalid_args): New function,
11689 defined, and called.
11691 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11693 * gdb.base/list.exp (test_list): Make test names unique.
11695 2015-12-11 Yao Qi <yao.qi@linaro.org>
11697 * gdb.base/coremaker2.c: Remove.
11699 2015-12-10 Pedro Alves <palves@redhat.com>
11701 * gdb.multi/base.exp: Remove stale "spaces" references.
11703 2015-12-10 Pedro Alves <palves@redhat.com>
11705 * gdb.multi/base.exp: Don't use nowarnings.
11706 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11707 * gdb.multi/hangout.c: Include stdio.h.
11708 * gdb.multi/hello.c: Include stdlib.h.
11709 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11710 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11711 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11713 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11715 * gdb.dwarf2/dw2-ranges-base.c: New file.
11716 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11717 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11718 support additional line table, and debug ranges generation.
11719 (Dwarf::ranges): New function, generate .debug_ranges.
11720 (Dwarf::lines): Support generating simple line table programs.
11721 (Dwarf::assemble): Initialise new namespace variables.
11723 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11725 * gdb.base/async.exp (proc test_background): Add case for
11726 asynchronous execution not supported.
11728 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11730 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11731 format and change test names to make them unique.
11733 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11734 Pedro Alves <pedro@redhat.com>
11737 Add checking of floatformats setup on x86_64 hosts.
11738 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11739 (smallval, bigval): New labels/constants.
11740 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11741 float" after loading bigval and smallval.
11743 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11745 * gdb.ada/fun_overload_menu.exp: New testcase.
11746 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11748 2015-12-04 Josh Stone <jistone@redhat.com>
11750 * gdb.base/catch-fork-static.exp: New.
11752 2015-12-03 Yao Qi <yao.qi@linaro.org>
11754 * gdb.base/sizeof.c: Don't include stdio.h and
11755 ../lib/unbuffer_output.c.
11756 (main): New variable 'size' and 'value'. Remove printf and
11757 gdb_unbuffer_output. Assign return value to size and value.
11758 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11760 (check_sizeof): Check the result by printing variable 'size'.
11761 (check_valueof): Check the result by printing variable 'value'.
11763 2015-12-01 Yao Qi <yao.qi@linaro.org>
11765 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11766 for aarch64*-*-linux* target.
11768 2015-11-30 Pedro Alves <palves@redhat.com>
11770 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11772 2015-11-30 Pedro Alves <palves@redhat.com>
11774 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11775 Handle non-stop mode vCont replies.
11777 2015-11-30 Pedro Alves <palves@redhat.com>
11779 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11780 prepare_for_testing. Start gdb with "set non-stop on" appended to
11781 GDBFLAGS. Lax expected stop output.
11783 2015-11-27 Yao Qi <yao.qi@linaro.org>
11785 * gdb.arch/arm-neon.exp: New.
11786 * gdb.arch/arm-neon.c: New.
11788 2015-11-27 Yao Qi <yao.qi@linaro.org>
11790 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11792 2015-11-27 Yao Qi <yao.qi@linaro.org>
11794 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11795 frames-invalid annotation.
11797 2015-11-27 Yao Qi <yao.qi@linaro.org>
11799 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11801 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11803 * gdb.threads/names.exp: New file.
11804 * gdb.threads/names.c: New file.
11805 * README: Mention gdb,no_thread_names.
11807 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11810 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11813 2015-11-24 Pedro Alves <palves@redhat.com>
11816 * gdb.base/display.exp: Expect displays to be sorted in ascending
11817 order. Use multi_line.
11818 * gdb.base/solib-display.exp: Likewise.
11820 2015-11-24 Pedro Alves <palves@redhat.com>
11823 * gdb.base/display.exp: Expect displays to be sorted in ascending
11824 order. Use multi_line.
11825 * gdb.base/solib-display.exp: Likewise.
11827 2015-11-24 Pedro Alves <palves@redhat.com>
11830 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11831 threads in ascending order.
11832 * gdb.base/foll-fork.exp: Likewise.
11833 * gdb.base/foll-vfork.exp: Likewise.
11834 * gdb.base/multi-forks.exp: Likewise.
11835 * gdb.mi/mi-nonstop.exp: Likewise.
11836 * gdb.mi/mi-nsintrall.exp: Likewise.
11837 * gdb.multi/base.exp: Likewise.
11838 * gdb.multi/multi-arch.exp: Likewise.
11839 * gdb.python/py-inferior.exp: Likewise.
11840 * gdb.threads/break-while-running.exp: Likewise.
11841 * gdb.threads/execl.exp: Likewise.
11842 * gdb.threads/gcore-thread.exp: Likewise.
11843 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11844 * gdb.threads/kill.exp: Likewise.
11845 * gdb.threads/linux-dp.exp: Likewise.
11846 * gdb.threads/multiple-step-overs.exp: Likewise.
11847 * gdb.threads/next-bp-other-thread.exp: Likewise.
11848 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11849 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11850 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11851 * gdb.threads/thread-find.exp: Likewise.
11852 * gdb.threads/tls.exp: Likewise.
11853 * lib/mi-support.exp (mi_reverse_list): Delete.
11854 (mi_check_thread_states): No longer reverse list.
11856 2015-11-24 Pedro Alves <palves@redhat.com>
11858 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11861 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11863 * gdb.trace/actions.c: Include trace-common.h.
11864 (main): Add a location for a fast tracepoint.
11865 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11866 the normal tracepoints.
11867 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11869 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11871 * save-trace.exp: Factor out code to these...
11872 (gdb_save_tracepoints): New.
11873 (gdb_load_tracepoints): New.
11874 (do_save_load_test): New.
11876 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11878 * gdb.base/asmlabel.exp: New test.
11879 * gdb.base/asmlabel.c: New test case.
11881 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11883 * gdb.base/wrong_frame_bt_full-main.c: New file.
11884 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11885 * gdb.base/wrong_frame_bt_full.exp: New file.
11887 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11889 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11891 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11893 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11894 pstate register when comparing registers values in
11895 sparc64-*-linux-gnu targets to avoid spurious differences.
11897 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11899 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11901 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11903 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11904 as type argument to gdb_compile.
11905 * gdb.base/nested-subp2.exp: Likewise.
11906 * gdb.base/nested-subp3.exp: Likewise.
11908 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11910 * lib/dwarf.exp (_note): Fix left shift of negative value.
11911 * gdb.trace/trace-condition.exp: Likewise.
11913 2015-11-13 Yao Qi <yao.qi@linaro.org>
11915 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11916 comments about d10v.
11917 (test_scalar_returns): Likewise.
11918 * gdb.base/d10v.ld: Remove.
11919 * gdb.base/overlays.exp: Remove the target triplet checking for
11921 * gdb.base/structs.exp (test_struct_returns): Remove the
11922 comments about d10v.
11923 (test_struct_calls): Likewise.
11925 2015-11-13 Yao Qi <yao.qi@linaro.org>
11927 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11928 * gdb.base/gnu_vector.c: Don't include stdio.h.
11929 (main): Don't print res and call add_some_intvecs.
11931 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11933 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11936 (func4): Use FAST_TRACEPOINT_LABEL.
11937 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11940 (thread_function): Use FAST_TRACEPOINT_LABEL.
11941 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11943 (marker): Use FAST_TRACEPOINT_LABEL.
11944 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11945 (pendfunc1): Remove.
11946 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11947 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11949 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11950 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11953 (marker): Use FAST_TRACEPOINT_LABEL.
11954 * gdb.trace/trace-common.h: New header.
11955 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11958 (marker): Use FAST_TRACEPOINT_LABEL.
11959 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11961 (thread_function): Use FAST_TRACEPOINT_LABEL.
11963 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11965 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11967 * gdb.trace/change-loc.exp: Use global pcreg definition.
11968 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11969 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11971 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11972 * gdb.trace/pending.exp: Likewise.
11973 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11974 * gdb.trace/trace-break.exp: Likewise.
11975 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11977 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11978 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11980 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11982 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11984 * gdb.ada/fin_fun_out: New testcase.
11986 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11988 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11989 value associated with DW_AT_byte_size.
11990 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11991 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11994 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11996 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11997 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11999 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12000 gdb.dwarf2/dw2-canonicalize-type.exp,
12001 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12002 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12003 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12004 provided by gdb_target_symbol_prefix_flags_asm.
12005 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12006 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12007 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12008 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12009 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12010 macros where needed). Use this macro for symbols which require
12011 the prefix provided by SYMBOL_PREFIX.
12013 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12015 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12017 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12018 representing expressions, of more than one list element.
12019 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12020 to prepend linker symbol prefix to f.
12021 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12022 table_1 and table_2.
12023 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12024 Likewise, for f and g.
12025 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12027 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12029 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12030 table_1_ptr and table_2_ptr.
12032 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12033 Joel Brobecker <brobecker@adacore.com>
12035 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12037 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12039 * gdb.reverse/s390-mvcle.c: New test.
12040 * gdb.reverse/s390-mvcle.exp: New file.
12041 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12043 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12045 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12047 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12049 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12051 * gdb.reverse/getresuid-reverse.exp: Likewise.
12052 * gdb.reverse/pipe-reverse.exp: Likewise.
12053 * gdb.reverse/readv-reverse.exp: Likewise.
12054 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12055 * gdb.reverse/time-reverse.exp: Likewise.
12056 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12058 2015-10-30 Yao Qi <yao.qi@linaro.org>
12060 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12061 (empty_cycle): Remove.
12062 (main): Don't call empty_cycle. Don't use watch_count_done.
12063 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12064 empty_cycle. Rewrite the code counting HW watchpoints.
12066 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12068 * gdb.reverse/fstatat-reverse.c: New test.
12069 * gdb.reverse/fstatat-reverse.exp: New file.
12070 * gdb.reverse/getresuid-reverse.c: New test.
12071 * gdb.reverse/getresuid-reverse.exp: New file.
12072 * gdb.reverse/pipe-reverse.c: New test.
12073 * gdb.reverse/pipe-reverse.exp: New file.
12074 * gdb.reverse/readv-reverse.c: New test.
12075 * gdb.reverse/readv-reverse.exp: New file.
12076 * gdb.reverse/recvmsg-reverse.c: New test.
12077 * gdb.reverse/recvmsg-reverse.exp: New file.
12078 * gdb.reverse/time-reverse.c: New test.
12079 * gdb.reverse/time-reverse.exp: New file.
12080 * gdb.reverse/waitpid-reverse.c: New test.
12081 * gdb.reverse/waitpid-reverse.exp: New file.
12083 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12085 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12087 2015-10-26 Doug Evans <dje@google.com>
12090 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12091 * gdb.dwarf2/bad-regnum.c: New file.
12092 * gdb.dwarf2/bad-regnum.exp: New file.
12094 2015-10-26 Doug Evans <dje@google.com>
12097 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12100 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12102 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12103 for a change by "Mention language in compile error message".
12105 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12108 * gdb.python/py-type.c (C::a_method): New.
12109 (C::a_const_method): New.
12110 (C::a_static_method): New.
12112 * gdb.python/py-type.exp (test_fields): Test getting fields
12113 from function and method.
12115 2015-10-21 Keven Boell <keven.boell@intel.com>
12117 * gdb.fortran/vla-alloc-assoc.exp: New file.
12118 * gdb.fortran/vla-datatypes.exp: New file.
12119 * gdb.fortran/vla-datatypes.f90: New file.
12120 * gdb.fortran/vla-history.exp: New file.
12121 * gdb.fortran/vla-ptype-sub.exp: New file.
12122 * gdb.fortran/vla-ptype.exp: New file.
12123 * gdb.fortran/vla-sizeof.exp: New file.
12124 * gdb.fortran/vla-sub.f90: New file.
12125 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12126 * gdb.fortran/vla-value-sub-finish.exp: New file.
12127 * gdb.fortran/vla-value-sub.exp: New file.
12128 * gdb.fortran/vla-value.exp: New file.
12129 * gdb.fortran/vla-ptr-info.exp: New file.
12130 * gdb.mi/mi-vla-fortran.exp: New file.
12131 * gdb.mi/vla.f90: New file.
12133 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12135 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12136 of hardwired timeout value.
12138 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12139 Pedro Alves <palves@redhat.com>
12141 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12142 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12144 2015-10-19 Josh Stone <jistone@redhat.com>
12146 * gdb.base/catch-syscall.c: Include <sched.h>.
12147 (unknown_syscall): New variable.
12148 (main): Trigger a vfork and an unknown syscall.
12149 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12150 (unknown_syscall_number): Likewise.
12151 (check_call_to_syscall): Accept an optional syscall pattern.
12152 (check_return_from_syscall): Likewise.
12153 (check_continue): Likewise.
12154 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12155 (test_catch_syscall_skipping_return): New test toggling off 'catch
12156 syscall' to step over the syscall return, then toggling back on.
12157 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12158 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12159 (do_syscall_tests): Call test_catch_syscall_without_args and
12160 test_catch_syscall_mid_vfork.
12161 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12162 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12164 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12166 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12167 print g_vE): Add new pass patterns.
12168 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12169 print various symbol names for vptr fields.
12171 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12173 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12176 2015-10-12 Yao Qi <yao.qi@linaro.org>
12178 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12180 2015-10-12 Yao Qi <yao.qi@linaro.org>
12182 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12183 is aarch64*-*-linux*.
12185 2015-10-12 Yao Qi <yao.qi@linaro.org>
12187 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12188 (can_relocate_bcond_true): ... it.
12189 (can_relocate_bcond_false): New function.
12191 (can_relocate_bl): Likewise.
12192 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12195 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12197 * gdb.base/nested-addr.c: New file.
12198 * gdb.base/nested-addr.exp: New testcase.
12200 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12202 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12203 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12204 its output. Ignore the output of "record goto begin" and instead
12205 check that GDB is replaying.
12207 2015-10-09 Pedro Alves <palves@redhat.com>
12209 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12210 (top level): Use it in the run with no args test.
12212 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12214 * gdb.dlang/properties.exp: New file.
12216 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12218 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12219 whether or not address 0x1000 is mapped on the target.
12221 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12223 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12226 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12228 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12229 instruction-history test.
12231 2015-09-28 Doug Evans <dje@google.com>
12233 * gdb.base/gcore.c (array_func): Add reference to static_array.
12235 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12237 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12240 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12242 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12243 short or char as base type.
12245 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12247 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12248 to allow any size enum.
12250 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12252 * gdb.ada/array_ptr_renaming.exp: New testcase.
12253 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12254 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12256 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12258 * gdb.trace/ftrace-lock.c: New file.
12259 * gdb.trace/ftrace-lock.exp: New file.
12261 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12263 * gdb.arch/insn-reloc.c: New file.
12264 * gdb.arch/ftrace-insn-reloc.exp: New file.
12266 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12268 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12270 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12271 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12272 * gdb.trace/range-stepping.c: Likewise.
12273 * gdb.trace/trace-break.c: Likewise.
12274 * gdb.trace/trace-mt.c (thread_function): Likewise.
12275 * gdb.trace/ftrace.c (marker): Likewise.
12276 * gdb.trace/trace-condition.c (marker): Likewise.
12277 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12278 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12281 2015-09-18 Doug Evans <xdje42@gmail.com>
12283 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12284 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12286 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12288 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12291 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12293 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12294 the pending breakpoint. Remove timeout override for "Run till
12295 MI pending breakpoint on pendfunc3 on thread 2" test.
12297 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12299 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12302 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12304 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12305 in breakpoint filename pattern.
12307 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12309 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12311 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12313 * gdb.linespec/explicit.exp: Check for readline support for
12314 tab-completion tests. Fix obvious typo.
12316 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12318 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12321 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12323 * gdb.btrace/non-stop.c: New.
12324 * gdb.btrace/non-stop.exp: New.
12326 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12327 Yao Qi <yao.qi@linaro.org>
12329 * gdb.trace/trace-condition.c: New file.
12330 * gdb.trace/trace-condition.exp: New file.
12332 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12334 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12335 for testing bytecode compilation.
12337 2015-09-16 Pedro Alves <palves@redhat.com>
12338 Sandra Loosemore <sandra@codesourcery.com>
12340 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12341 (SECONDS): Redefine.
12342 (main): Call pthread_kill and alarm early.
12343 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12345 (test): If the target can't hardware step and doesn't support
12346 displaced stepping, increase the timeout.
12348 2015-09-16 Pedro Alves <palves@redhat.com>
12350 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12351 (enable_debug): New procedures.
12352 (test): Use them. Bail out if waiting for threads fails.
12353 (top level): Bail out if a test fails.
12355 2015-09-16 Yao Qi <yao.qi@linaro.org>
12357 * gdb.asm/asm-source.exp: Set asm-arch for
12358 aarch64*-*-* target.
12359 * gdb.asm/aarch64.inc: New file.
12361 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12363 * gdb.ada/array_of_variable_length.exp: New testcase.
12364 * gdb.ada/array_of_variable_length/foo.adb: New file.
12365 * gdb.ada/array_of_variable_length/pck.adb: New file.
12366 * gdb.ada/array_of_variable_length/pck.ads: New file.
12368 2015-09-15 Doug Evans <dje@google.com>
12370 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12371 of function static local variable.
12373 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12375 * gdb.threads/tls-so_extern.exp: New test file.
12376 * gdb.threads/tls-so_extern.c: New test file.
12377 * gdb.threads/tls-so_extern_main.c: New test file.
12379 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12381 * gdb.opt/solib-intra-step-lib.c: New file.
12382 * gdb.opt/solib-intra-step-main.c: New file.
12383 * gdb.opt/solib-intra-step.exp: New file.
12385 2015-09-15 Pedro Alves <palves@redhat.com>
12387 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12388 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12390 2015-09-14 Pedro Alves <palves@redhat.com>
12392 * gdb.base/hook-stop-continue.c: Delete.
12393 * gdb.base/hook-stop-continue.exp: Delete.
12394 * gdb.base/hook-stop-frame.c: Delete.
12395 * gdb.base/hook-stop-frame.exp: Delete.
12396 * gdb.base/hook-stop.c: New file.
12397 * gdb.base/hook-stop.exp: New file.
12399 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12401 * gdb.ada/access_to_packed_array.exp: New testcase.
12402 * gdb.ada/access_to_packed_array/foo.adb: New file.
12403 * gdb.ada/access_to_packed_array/pack.adb: New file.
12404 * gdb.ada/access_to_packed_array/pack.ads: New file.
12406 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12408 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12411 2015-09-11 Don Breazeal <donb@codesourcery.com>
12413 * gdb.base/foll-exec.c: Add copyright header. Fix
12415 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12416 (do_exec_tests): Use clean_restart in place of zap_session,
12417 and for test initialization. Fix formatting issues. Use
12418 fail in place of perror.
12419 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12420 an expect statement to match an expression with output from
12421 the program under debug.
12422 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12423 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12424 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12425 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12426 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12428 2015-09-09 Doug Evans <dje@google.com>
12430 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12432 2015-09-09 Doug Evans <dje@google.com>
12434 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12436 2015-09-09 Doug Evans <dje@google.com>
12438 * gdb.base/savedregs.exp: Fix typo.
12440 2015-09-09 Pedro Alves <palves@redhat.com>
12442 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12444 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12446 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12447 command actually switches threads. Give up on remaining
12448 tests if target fails to stop at breakpoint.
12450 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12452 * gdb.ada/funcall_char.exp: New testcase.
12453 * gdb.ada/funcall_char/foo.adb: New file.
12455 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12457 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12458 expected outputs. Add two testcases for completing ambiguous
12460 * gdb.ada/complete/aux_pck.adb: New file.
12461 * gdb.ada/complete/aux_pck.ads: New file.
12462 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12463 Ambiguous_Func functions.
12464 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12465 * gdb.ada/complete/pck.adb: Likewise.
12467 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12469 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12470 failures to run the test program under GDB.
12472 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12474 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12477 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12479 * gdb.base/run-after-attach.exp: New test file.
12480 * gdb.base/run-after-attach.c: New test file.
12482 2015-08-26 Don Breazeal <donb@codesourcery.com>
12484 * gdb.base/foll-exec-2.c: New test program.
12485 * gdb.base/foll-exec-2.exp: New test.
12487 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12489 * gdb.base/nested-subp1.exp: New file.
12490 * gdb.base/nested-subp1.c: New file.
12491 * gdb.base/nested-subp2.exp: New file.
12492 * gdb.base/nested-subp2.c: New file.
12493 * gdb.base/nested-subp3.exp: New file.
12494 * gdb.base/nested-subp3.c: New file.
12496 2015-08-24 Pedro Alves <palves@redhat.com>
12498 * gdb.server/connect-without-multi-process.c: New file.
12499 * gdb.server/connect-without-multi-process.exp: New file.
12501 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12503 * gdb.opt/inline-markers.c: Make z int.
12505 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12507 * gdb.opt/inline-markers.c: Make z volatile.
12509 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12511 * gdb.opt/inline-bt.c: New volatile global z.
12512 * gdb.opt/inline-cmds.c: Likewise.
12513 * gdb.opt/inline-locals.c: Likewise.
12514 * gdb.opt/inline-markers.c: New extern global z.
12516 (inline_fn): Likewise.
12518 2015-08-24 Pedro Alves <palves@redhat.com>
12520 * config/m32r-stub.exp: Remove file.
12521 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12522 * gdb.base/call-rt-st.exp: Likewise.
12523 * gdb.base/call-strs.exp: Likewise.
12524 * gdb.base/default.exp: Remove references to h8300-*-hms and
12526 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12528 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12530 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12531 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12532 and "return" use KFAIL when GDB can not read/write the vector
12535 2015-08-21 Gary Benson <gbenson@redhat.com>
12537 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12539 2015-08-20 Pedro Alves <palves@redhat.com>
12541 * gdb.server/solib-list.exp: No longer expect an interior stop in
12544 2015-08-20 Pedro Alves <palves@redhat.com>
12546 * gdb.server/connect-stopped-target.c: New file.
12547 * gdb.server/connect-stopped-target.exp: New file.
12549 2015-08-20 Pedro Alves <palves@redhat.com>
12551 * gdb.dwarf2/comp-unit-lang.exp: New file.
12552 * gdb.dwarf2/comp-unit-lang.c: New file.
12554 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12556 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12557 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12559 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12561 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12562 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12564 2015-08-18 Doug Evans <dje@google.com>
12565 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12567 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12568 skip_python_tests. New arg prompt_regexp.
12569 (skip_python_tests): New function.
12570 * lib/mi-support.exp (mi_skip_python_tests): New function.
12571 * gdb.python/py-mi-objfile-gdb.py: New file.
12572 * gdb.python/py-mi-objfile.c: New file.
12573 * gdb.python/py-mi-objfile.exp: New file.
12575 2015-08-17 Keith Seitz <keiths@redhat.com>
12577 * gdb.linespec/explicit.exp: Move strace test from here ...
12578 * gdb.trace/strace.exp: ... to here.
12580 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12582 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12583 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12585 2015-08-14 Doug Evans <xdje42@gmail.com>
12587 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12588 inferior before selecting a new file.
12590 2015-08-14 Doug Evans <xdje42@gmail.com>
12592 * gdb.mi/mi-disassemble.exp: Update.
12593 * gdb.base/disasm-optim.S: New file.
12594 * gdb.base/disasm-optim.c: New file.
12595 * gdb.base/disasm-optim.h: New file.
12596 * gdb.base/disasm-optim.exp: New file.
12598 2015-08-14 Keith Seitz <keiths@redhat.com>
12600 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12603 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12605 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12607 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12609 * gdb.ada/fun_renaming.exp: New testcase.
12610 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12611 * gdb.ada/fun_renaming/pack.adb: New file.
12612 * gdb.ada/fun_renaming/pack.ads: New file.
12614 2015-08-12 Keith Seitz <keiths@redhat.com>
12616 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12617 gdb_get_line_number.
12619 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12621 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12622 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12623 gdb.base/dso2dso.exp: New files.
12625 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12626 Pedro Alves <palves@redhat.com>
12627 Keith Seitz <keiths@redhat.com>
12629 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12632 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12634 * gdb.base/gdbhistsize-history.exp
12635 (test_histsize_history_setting): Use save_vars.
12636 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12638 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12639 * gdb.base/readline.exp: Use save_vars.
12641 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12643 * lib/gdb.exp (save_vars): New proc.
12645 2015-08-11 Keith Seitz <keiths@redhat.com>
12647 * gdb.base/help.exp: Update help_breakpoint_text.
12649 2015-08-11 Keith Seitz <keiths@redhat.com>
12651 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12652 (at toplevel): Call test_explicit_breakpoints.
12653 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12655 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12656 breakpoint conditions, "-cond".
12658 2015-08-11 Keith Seitz <keiths@redhat.com>
12660 * gdb.linespec/3explicit.c: New file.
12661 * gdb.linespec/cpexplicit.cc: New file.
12662 * gdb.linespec/cpexplicit.exp: New file.
12663 * gdb.linespec/explicit.c: New file.
12664 * gdb.linespec/explicit.exp: New file.
12665 * gdb.linespec/explicit2.c: New file.
12666 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12667 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12668 before using in the matching pattern.
12669 Clarify that `prefix' is a regular expression.
12671 2015-08-11 Keith Seitz <keiths@redhat.com>
12673 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12675 Add tests for missing ",FMT" and ",".
12677 2015-08-10 Doug Evans <dje@google.com>
12678 Keith Seitz <keiths@redhat.com>
12681 * gdb.base/completion.exp: Add location completer tests.
12683 2015-08-07 Pedro Alves <palves@redhat.com>
12685 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12687 (top level): Run do_test with and without displaced stepping.
12689 2015-08-07 Pedro Alves <palves@redhat.com>
12691 * gdb.base/valgrind-disp-step.c: New file.
12692 * gdb.base/valgrind-disp-step.exp: New file.
12694 2015-08-07 Pedro Alves <palves@redhat.com>
12696 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12698 (main): Add alarm. Run an infinite loop instead of calling
12700 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12702 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12704 (main): Add alarm. Run an infinite loop instead of calling
12706 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12709 2015-08-07 Pedro Alves <palves@redhat.com>
12711 * gdb.base/checkpoint-ns.exp: New file.
12712 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12715 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12717 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12718 * gdb.btrace/instruction_history.exp: Update.
12719 * gdb.btrace/tsx.exp: New.
12720 * gdb.btrace/tsx.c: New.
12722 2015-08-06 Pedro Alves <palves@redhat.com>
12724 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12726 * gdb.reverse/until-precsave.exp: Bump timeouts.
12728 2015-08-06 Pedro Alves <palves@redhat.com>
12730 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12732 2015-08-06 Pedro Alves <palves@redhat.com>
12735 * gdb.threads/process-dies-while-handling-bp.c: New file.
12736 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12738 2015-08-06 Pedro Alves <palves@redhat.com>
12740 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12741 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12743 2015-08-05 Pedro Alves <palves@redhat.com>
12745 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12746 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12748 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12750 * gdb.base/bp-permanent.exp: Report test as unsupported if
12751 the target cannot stop at the permanent breakpoint.
12753 2015-08-03 Doug Evans <dje@google.com>
12755 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12758 2015-08-03 Doug Evans <dje@google.com>
12760 * Makefile.in (workers/%.worker, build-perf): New rule.
12761 (GDB_PERFTEST_MODE): New variable.
12762 (check-perf): Use it.
12763 (clean): Clean up gdb.perf parallel build subdirs.
12764 * lib/build-piece.exp: New file.
12765 * lib/gdb.exp (make_gdb_parallel_path): New function
12766 (standard_output_file, standard_temp_file): Call it.
12767 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12769 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12771 2015-08-03 Doug Evans <dje@google.com>
12773 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12774 (LOG_FILE_NAME): New global.
12775 (TextReporter.__init__): Initialize self.txt_sum.
12776 (TextReporter.report): Add support for multiple data-points.
12777 Move report to perftest.sum, put raw data in perftest.log.
12778 (TextReporter.start): Open sum and log files.
12779 (TextReporter.end): Close sum and log files.
12780 * gdb.perf/lib/perftest/testresult.py
12781 (SingleStatisticTestResult.record): Handle multiple data-points.
12783 2015-07-31 Pedro Alves <palves@redhat.com>
12785 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12786 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12787 kill_wait_spawned_process instead of explicit "kill -9".
12788 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12789 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12790 kill_wait_spawned_process.
12791 * gdb.base/attach-twice.exp: Likewise.
12792 * gdb.base/attach.exp: Likewise.
12793 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12795 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12796 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12797 kill_wait_spawned_process.
12798 * gdb.base/valgrind-infcall.exp: Likewise.
12799 * gdb.multi/multi-attach.exp: Likewise.
12800 * gdb.python/py-prompt.exp: Likewise.
12801 * gdb.python/py-sync-interp.exp: Likewise.
12802 * gdb.server/ext-attach.exp: Likewise.
12803 * gdb.threads/attach-into-signal.exp (corefunc): Use
12804 spawn_wait_for_attach, spawn_id_get_pid and
12805 kill_wait_spawned_process.
12806 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12807 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12808 spawn_id_get_pid and kill_wait_spawned_process.
12809 * gdb.threads/attach-stopped.exp (corefunc): Use
12810 spawn_wait_for_attach, spawn_id_get_pid and
12811 kill_wait_spawned_process.
12812 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12813 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12814 kill_wait_spawned_process instead of explicit "kill -9".
12815 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12816 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12817 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12818 processes. Don't map cygwin/windows pids here. Now returns a
12821 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12823 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12824 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12827 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12829 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12831 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12834 2014-05-21 Mark Wielaard <mjw@redhat.com>
12836 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12838 2015-07-30 Pedro Alves <palves@redhat.com>
12840 * linux-low.c (handle_extended_wait): Set the child's last
12841 reported status to TARGET_WAITKIND_STOPPED.
12843 2015-07-30 Pedro Alves <palves@redhat.com>
12846 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12847 only shows inferior 1.
12849 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12850 Pedro Alves <palves@redhat.com>
12853 * gdb.threads/fork-plus-threads.c: New file.
12854 * gdb.threads/fork-plus-threads.exp: New file.
12856 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12858 * gdb.base/batch-preserve-term-settings.exp
12859 (test_terminal_settings_preserved_after_cli_exit): Use
12862 2015-07-29 Pedro Alves <palves@redhat.com>
12863 Don Breazeal <donb@codesourcery.com>
12865 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12866 output from both inferior_spawn_id and gdb_spawn_id.
12868 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12870 * gdb.threads/attach-into-signal.exp (corefunc): Use
12871 with_test_prefix on nested loops, uniquefying the test messages.
12873 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12875 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12878 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12880 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12882 (test_terminal_settings_preserved_after_sigterm): New test.
12884 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12886 * gdb.base/batch-preserve-term-settings.exp
12887 (test_terminal_settings_preserved_after_cli_exit): New test.
12889 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12891 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12892 manipulation of saved_gdbflags.
12893 (test_terminal_settings_preserved): Remove global declaration of
12894 the unused variable pagination_prompt. Remove manipulation of
12895 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12898 2015-07-29 Pedro Alves <palves@redhat.com>
12900 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12902 2015-07-29 Pedro Alves <palves@redhat.com>
12904 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12907 2015-07-29 Pedro Alves <palves@redhat.com>
12909 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12910 (main): Call gdb_unbuffer_output.
12911 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12912 (main): Call gdb_unbuffer_output.
12913 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12914 (main): Call gdb_unbuffer_output.
12915 * gdb.base/call-strs.exp: Adjust to step over the
12916 gdb_unbuffer_output call.
12917 * gdb.base/catch-gdb-caused-signals.c: Include
12918 "../lib/unbuffer_output.c".
12919 (main): Call gdb_unbuffer_output.
12920 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12921 (main): Call gdb_unbuffer_output.
12922 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12923 (main): Call gdb_unbuffer_output.
12924 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12925 (main): Call gdb_unbuffer_output.
12926 * gdb.base/shlib-call.exp: Adjust to step over the
12927 gdb_unbuffer_output call.
12928 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12929 (main): Call gdb_unbuffer_output.
12930 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12931 (main): Call gdb_unbuffer_output.
12932 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12933 (main): Rename to ...
12935 (main): Reimplement.
12936 * gdb.base/varargs.exp: Run to test instead of to main.
12937 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12938 (main): Call gdb_unbuffer_output.
12940 2015-07-29 Pedro Alves <palves@redhat.com>
12942 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12943 factore out from mi_continue_dprintf. For call-style dprintfs,
12944 expect dprintf output out of $inferior_spawn_id.
12945 (mi_continue_dprintf): Use mi_expect_dprintf.
12946 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12947 (main): Call gdb_unbuffer_output.
12949 2015-07-29 Pedro Alves <palves@redhat.com>
12951 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12952 (default_mi_gdb_start): Set inferior_spawn_id instead of
12953 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12955 (mi_gdb_test): Always expect inferior output from both
12956 $inferior_spawn_id and $gdb_spawn_id.
12958 2015-07-29 Pedro Alves <palves@redhat.com>
12960 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12961 send_inferior and $inferior_spawn_id.
12963 2015-07-29 Pedro Alves <palves@redhat.com>
12965 * gdb.gdb/complaints.exp (test_initial_complaints)
12966 (test_serial_complaints, test_short_complaints): Use
12968 (test_empty_complaint): Handle $inferior_spawn_id !=
12971 2015-07-29 Pedro Alves <palves@redhat.com>
12973 * gdb.base/varargs.exp: Use gdb_test_stdio.
12975 2015-07-29 Pedro Alves <palves@redhat.com>
12977 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12979 2015-07-29 Pedro Alves <palves@redhat.com>
12981 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12983 2015-07-29 Pedro Alves <palves@redhat.com>
12985 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12986 parameter into two new parameters, "inf_result" and "gdb_result".
12987 Expect inferior output and gdb output from $inferior_spawn_id and
12988 $gdb_spawn_id, respectively. Adjust all callers.
12990 2015-07-29 Pedro Alves <palves@redhat.com>
12992 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12993 of gdb_test_sequence.
12995 2015-07-29 Pedro Alves <palves@redhat.com>
12997 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12998 (saw_spurious_output): Expect inferior output from
12999 $inferior_spawn_id. Use gdb_test_stdio.
13001 2015-07-29 Pedro Alves <palves@redhat.com>
13003 * gdb.base/dprintf.exp: Use standard_testfile. Change
13004 prepare_for_testing call.
13005 (srcfile): Don't set.
13006 (restart): New procedure.
13007 (test_dprintf): New procecure, use to continue over dprintfs.
13008 (test_call, test_agent): New procedures, tests moved here.
13009 Restart gdb and recreate dprintfs. Adjust expected output.
13011 2015-07-29 Pedro Alves <palves@redhat.com>
13013 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13015 2015-07-29 Pedro Alves <palves@redhat.com>
13017 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13019 2015-07-29 Pedro Alves <palves@redhat.com>
13021 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13024 2015-07-29 Pedro Alves <palves@redhat.com>
13026 * lib/gdb.exp (gdb_test_stdio): New procedure.
13028 2015-07-29 Pedro Alves <palves@redhat.com>
13030 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13032 2015-07-29 Pedro Alves <palves@redhat.com>
13034 * gdb.base/call-signal-resume.exp: Remove check for
13035 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13036 * gdb.base/unwindonsignal.exp: Likewise.
13037 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13038 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13040 2015-07-29 Pedro Alves <palves@redhat.com>
13042 * gdb.base/siginfo-addr.c (pass): New function.
13043 (handler): Call it iff si_addr is correct.
13044 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13045 Set a breakpoint at "pass" and continue to it.
13047 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13049 * gdb.python/py-objfile.exp: Make some tests have unique names.
13050 * gdb.python/py-pp-registration.exp: Likewise.
13052 2015-07-28 Pedro Alves <palves@redhat.com>
13054 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13056 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13058 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13060 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13062 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13064 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13066 * gdb.base/gdb-sigterm-2.exp: New test.
13068 2015-07-25 Doug Evans <xdje42@gmail.com>
13071 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13072 (workers/%.worker, build-perf): New rule.
13073 (GDB_PERFTEST_MODE): New variable.
13074 (check-perf): Use it.
13075 (clean): Clean up gdb.perf parallel build subdirs.
13076 * lib/build-piece.exp: New file.
13077 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13078 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13080 (standard_temp_file): Ditto.
13081 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13084 2015-07-24 Doug Evans <dje@google.com>
13086 * gdb.perf/lib/perftest/utils.py: New file.
13087 * gdb.perf/gm-hello.cc: New file.
13088 * gdb.perf/gm-pervasive-typedef.cc: New file.
13089 * gdb.perf/gm-pervasive-typedef.h: New file.
13090 * gdb.perf/gm-std.cc: New file.
13091 * gdb.perf/gm-std.h: New file.
13092 * gdb.perf/gm-use-cerr.cc: New file.
13093 * gdb.perf/gm-utils.h: New file.
13094 * gdb.perf/gmonster-null-lookup.py: New file.
13095 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13096 * gdb.perf/gmonster-print-cerr.py: New file.
13097 * gdb.perf/gmonster-ptype-string.py: New file.
13098 * gdb.perf/gmonster-runto-main.py: New file.
13099 * gdb.perf/gmonster-select-file.py: New file.
13100 * gdb.perf/gmonster1-null-lookup.exp: New file.
13101 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13102 * gdb.perf/gmonster1-print-cerr.exp: New file.
13103 * gdb.perf/gmonster1-ptype-string.exp: New file.
13104 * gdb.perf/gmonster1-runto-main.exp: New file.
13105 * gdb.perf/gmonster1-select-file.exp: New file.
13106 * gdb.perf/gmonster1.cc: New file.
13107 * gdb.perf/gmonster1.exp: New file.
13108 * gdb.perf/gmonster2-null-lookup.exp: New file.
13109 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13110 * gdb.perf/gmonster2-print-cerr.exp: New file.
13111 * gdb.perf/gmonster2-ptype-string.exp: New file.
13112 * gdb.perf/gmonster2-runto-main.exp: New file.
13113 * gdb.perf/gmonster2-select-file.exp: New file.
13114 * gdb.perf/gmonster2.cc: New file.
13115 * gdb.perf/gmonster2.exp: New file.
13117 2015-07-24 Doug Evans <dje@google.com>
13119 * gdb.perf/README: New file.
13120 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13121 * lib/gen-perf-test.exp: New file.
13123 2015-07-24 Doug Evans <dje@google.com>
13125 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13126 (PerfTest::startup): New function.
13127 (PerfTest::run): Return result of calling body.
13128 (PerfTest::assemble): Rewrite.
13129 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13130 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13131 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13132 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13133 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13135 2015-07-24 Doug Evans <dje@google.com>
13137 * lib/gdb.exp (clean_restart): Make executable optional.
13139 2015-07-24 Doug Evans <dje@google.com>
13141 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13142 compiler_info references.
13143 * gdb.cp/temargs.exp: Ditto.
13144 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13145 (get_compiler_info): Early exit if already computed. Set compiler_info
13146 to "unknown" if there was a problem.
13147 (test_compiler_info): Add function comment. Call get_compiler_info.
13149 2015-07-24 Doug Evans <dje@google.com>
13151 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13152 (workers/%.worker, build-perf): New rule.
13153 (GDB_PERFTEST_MODE): New variable.
13154 (check-perf): Use it.
13155 (clean): Clean up gdb.perf parallel build subdirs.
13156 * lib/build-piece.exp: New file.
13157 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13158 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13160 (standard_temp_file): Ditto.
13161 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13164 2015-07-24 Doug Evans <dje@google.com>
13166 * lib/future.exp (gdb_default_target_compile): New option
13168 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13171 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13173 * gdb.base/catch-syscall.exp: Call gdb_exit before
13176 2015-07-24 Pedro Alves <palves@redhat.com>
13178 * gdb.python/py-events.exp: Accept output between the stop event
13180 * gdb.python/py-evsignal.exp: Likewise.
13181 * gdb.python/py-evthreads.exp: Likewise.
13183 2015-07-24 Pedro Alves <palves@redhat.com>
13186 * gdb.threads/non-ldr-exit.c: New file.
13187 * gdb.threads/non-ldr-exit.exp: New file.
13189 2015-07-24 Yao Qi <yao.qi@linaro.org>
13191 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13192 restarting process.
13194 2015-07-24 Yao Qi <yao.qi@linaro.org>
13196 * gdb.server/ext-restart.exp: New file.
13198 2015-07-24 Yao Qi <yao.qi@linaro.org>
13200 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13202 * gdb.server/ext-wrapper.exp: New file.
13204 2015-07-23 Doug Evans <dje@google.com>
13206 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13207 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13209 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13211 * gdb.ada/var_arr_typedef.exp: New testcase.
13212 * gdb.ada/var_arr_typedef/pack.adb: New file.
13213 * gdb.ada/var_arr_typedef/pack.ads: New file.
13214 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13216 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13218 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13220 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13222 * gdb.arch/i386-biarch-core.exp: Replace istarget
13223 by "complete set gnutarget". Remove expectation for the "core-file"
13226 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13228 Revert the previous commit:
13229 Tests for validate symbol file using build-id.
13231 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13233 Tests for validate symbol file using build-id.
13234 * gdb.base/solib-mismatch-lib.c: New file.
13235 * gdb.base/solib-mismatch-libmod.c: New file.
13236 * gdb.base/solib-mismatch.c: New file.
13237 * gdb.base/solib-mismatch.exp: New file.
13239 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13241 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13243 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13244 * gdb.base/siginfo.exp: Likewise.
13245 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13247 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13249 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13251 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13253 * gdb.trace/range-stepping.exp: Check that the target supports
13256 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13258 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13260 2015-07-14 Pedro Alves <palves@redhat.com>
13262 * gdb.base/killed-outside.exp: New file.
13263 * gdb.base/killed-outside.c: New file.
13265 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13267 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13269 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13271 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13273 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13274 infcall tests instead of setting up for KFAIL.
13276 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13278 * gdb.btrace/record_goto-step.exp: New.
13280 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13283 * gdb.compile/compile.c (struct struct_type): Add volatile to
13285 * gdb.compile/compile.exp
13286 (compile code struct_object.selffield = &struct_object): Skip further
13287 struct_object tests if this one xfails.
13289 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13292 * gdb.trace/ax.exp: Add test.
13294 2015-07-07 Yao Qi <yao.qi@linaro.org>
13296 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13297 instead of istarget "aarch64*-*-*".
13298 * gdb.arch/aarch64-fp.exp: Likewise.
13299 * gdb.base/float.exp: Likewise.
13300 * gdb.reverse/aarch64.exp: Likewise.
13301 * lib/gdb.exp (is_aarch64_target): New proc.
13303 2015-07-07 Yao Qi <yao.qi@linaro.org>
13305 * lib/gdb.exp (is_aarch32_target): New proc.
13306 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13307 instead of "istarget "arm*-*-*"".
13308 * gdb.arch/arm-disp-step.exp: Likewise.
13309 * gdb.arch/thumb-bx-pc.exp: Likewise.
13310 * gdb.arch/thumb-prologue.exp: Likewise.
13311 * gdb.arch/thumb-singlestep.exp: Likewise.
13312 * gdb.base/disp-step-syscall.exp: Likewise.
13313 * gdb.base/float.exp: Likewise.
13315 2015-07-07 Yao Qi <yao.qi@linaro.org>
13317 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13318 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13320 2015-07-07 Yao Qi <yao.qi@linaro.org>
13322 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13323 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13325 * gdb.multi/multi-arch.exp: Likewise.
13327 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13329 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13332 2015-07-07 Yao Qi <yao.qi@linaro.org>
13334 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13336 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13338 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13339 '[' and ']' characters.
13341 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13343 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13345 2015-06-29 Pedro Alves <palves@redhat.com>
13348 * gdb.threads/hand-call-new-thread.c: New file.
13349 * gdb.threads/hand-call-new-thread.c: New file.
13351 2015-06-26 Keith Seitz <keiths@redhat.com>
13352 Doug Evans <dje@google.com>
13355 * gdb.cp/var-tag-2.cc: New file.
13356 * gdb.cp/var-tag-3.cc: New file.
13357 * gdb.cp/var-tag-4.cc: New file.
13358 * gdb.cp/var-tag.cc: New file.
13359 * gdb.cp/var-tag.exp: New file.
13361 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13363 * gdb.base/history-duplicates.exp: New test.
13365 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13367 * gdb.base/completion.exp: Test the completion of the "focus"
13370 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13372 * gdb.arch/amd64-prologue-skip.S: New file.
13373 * gdb.arch/amd64-prologue-skip.exp: New file.
13375 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13377 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13378 is_address_zero_readable check.
13380 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13382 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13383 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13385 2015-06-24 Yao Qi <yao.qi@linaro.org>
13387 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13390 2015-06-24 Yao Qi <yao.qi@linaro.org>
13392 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13393 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13394 * gdb.base/siginfo-thread.exp: Likewise.
13396 2015-06-22 Yao Qi <yao.qi@linaro.org>
13398 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13400 2015-06-22 Yao Qi <yao.qi@linaro.org>
13402 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13404 (skip_hw_watchpoint_tests): Likewise.
13406 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13408 * gdb.base/gdbinit-history.exp: Test the interaction between
13409 setting GDBHISTSIZE and setting the history size via .gdbinit.
13411 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13414 * gdb.base/gdbhistsize-history.exp: New test.
13416 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13418 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13420 * gdb.base/readline.exp: Likewise.
13422 2015-06-17 Yao Qi <yao.qi@linaro.org>
13424 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13427 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13429 * gdb.base/gdbinit-history.exp: Add test case to check that
13430 an unlimited history file does not get truncated on exit.
13432 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13434 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13435 (VECTOR): New macro. Use it...
13436 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13437 ...for these typedefs.
13438 (int8, char1, int1, double1): New typedefs.
13439 (struct just_int2, struct two_int2): New structures.
13440 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13441 (add_structvecs, add_singlevecs): New functions.
13442 (main): Call add_some_intvecs twice.
13443 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13444 the compile and exit upon failure. Try compiling for the "native"
13445 architecture. Test inferior function calls with vector arguments
13446 and vector return value handling with "finish" and "return".
13448 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13450 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13451 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13453 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13455 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13457 PR breakpoints/16465
13458 * gdb.mi/mi-dprintf-pending.c: New file.
13459 * gdb.mi/mi-dprintf-pending.exp: New test.
13460 * gdb.mi/mi-dprintf-pendshr.c: New file.
13462 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13463 Mircea Gherzan <mircea.gherzan@intel.com>
13465 * gdb.arch/i386-mpx-map.c: New file.
13466 * gdb.arch/i386-mpx-map.exp: New File.
13468 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13470 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13471 * gdb.arch/i386-mpx.exp: Indentation fixed.
13473 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13475 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13476 function and improved indentation.
13477 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13478 gdb_test_multiple. Added additional tests to skip the test.
13480 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13482 * gdb.arch/i386-avx512.c: Change path in include file.
13483 * gdb.arch/i386-avx512.exp: Change include dir path
13485 * gdb.arch/i386-mpx.c: Change path in include file.
13486 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13489 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13491 * gdb.compile/compile-print.exp (compile print *vararray@3)
13492 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13494 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13496 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13497 (do not keep jit in memory): ... this.
13498 (expect 5): Change it to ...
13499 (expect no 5): ... this.
13501 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13504 * gdb.mi/mi-detach.exp: New file.
13506 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13509 * gdb.arch/amd64-tailcall-self.S: New file.
13510 * gdb.arch/amd64-tailcall-self.c: New file.
13511 * gdb.arch/amd64-tailcall-self.exp: New file.
13513 2015-05-28 Don Breazeal <donb@codesourcery.com>
13515 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13516 tests for remote targets by checking is_target_gdbserver.
13518 2015-05-27 Doug Evans <dje@google.com>
13520 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13521 * gdb.dwarf2/opaque-type-lookup.c: New file.
13522 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13524 2015-05-26 Doug Evans <dje@google.com>
13526 * gdb.cp/iostream.cc: New file.
13527 * gdb.cp/iostream.exp: New file.
13529 2015-05-26 Doug Evans <dje@google.com>
13531 * gdb.dwarf2/dw2-op-call.exp: Update.
13532 * gdb.dwarf2/dw4-sig-types.exp: Update.
13533 * gdb.dwarf2/implptr.exp: Update.
13534 * gdb.mi/mi-cmd-param-changed.exp: Update.
13536 2015-05-26 Doug Evans <dje@google.com>
13538 * gdb.python/py-lazy-string.c: New file.
13539 * gdb.python/py-lazy-string.exp: New file.
13540 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13541 (main): Update. Add estring3.
13542 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13543 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13545 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13546 Yao Qi <yao.qi@linaro.org>
13548 * gdb.reverse/aarch64.c: New.
13549 * gdb.reverse/aarch64.exp: New.
13551 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13553 * lib/gdb.exp (supports_process_record): Return true for
13555 (supports_reverse): Likewise.
13557 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13559 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13560 Use with_test_prefix.
13562 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13564 * gdb.base/completion.exp: Add test for completion of layout
13567 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13569 * lib/gdb.exp (skip_tui_tests): New proc.
13570 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13572 2015-05-19 Pedro Alves <palves@redhat.com>
13574 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13575 Save the whole env array instead of just HOME. Unset HISTSIZE in
13576 the environment while testing. Restore whole environment
13579 2015-05-16 Doug Evans <xdje42@gmail.com>
13581 * gdb.guile/scm-ports.c: New file.
13582 * gdb.guile/scm-ports.exp: Add memory port tests.
13584 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13586 * gdb.compile/compile-print.c: New file.
13587 * gdb.compile/compile-print.exp: New file.
13589 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13591 * gdb.compile/compile-ops.exp: Cast param to void.
13592 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13593 (compile code struct_object.selffield = &struct_object): Add xfail.
13595 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13597 * gdb.ada/arr_enum_with_gap: New testcase.
13599 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13601 * gdb.ada/byte_packed_arr: New testcase.
13603 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13605 * gdb.ada/pckd_neg: New testcase.
13607 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13610 * gdb.base/gdbinit-history.exp: New test.
13611 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13612 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13614 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13616 * gdb.python/py-xmethods.cc: Enhance test case.
13617 * gdb.python/py-xmethods.exp: New tests.
13618 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13620 (B_indexoper): Likewise.
13621 (global_dm_list) : Add new xmethod worker functions.
13623 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13625 * gdb.base/coredump-filter.exp: Correctly unset
13626 "coredump_var_addr" array.
13628 2015-05-08 Pedro Alves <palves@redhat.com>
13630 * gdb.server/non-existing-program.exp: Unset spawn_id.
13632 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13635 * gdb.python/py-xmethods.exp: Add tests.
13637 2015-05-08 Yao Qi <yao.qi@linaro.org>
13640 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13641 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13642 function set_coredump_filter, and remove remote_exec call.
13643 Remove argument ipid. Callers update.
13644 (top level): Don't get inferior's PID.
13646 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13648 * gdb.base/watch_thread_num.exp: Skip test on targets without
13649 access watchpoints.
13651 2015-05-06 Pedro Alves <palves@redhat.com>
13654 * gdb.server/non-existing-program.exp: New file.
13656 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13658 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13660 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13662 * gdb.ada/out_of_line_in_inlined: New testcase.
13664 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13666 * gdb.ada/var_rec_arr: New testcase.
13668 2015-04-30 Yao Qi <yao.qi@linaro.org>
13670 * gdb.base/break-idempotent.exp: If
13671 skip_hw_watchpoint_multi_tests returns true, skip the tests
13672 on "rwatch" and "awatch".
13674 2015-04-30 Yao Qi <yao.qi@linaro.org>
13676 * gdb.base/relativedebug.exp: Invoke gdb command
13677 "info sharedlibrary", and if libc.so doesn't have debug info,
13680 2015-04-29 Doug Evans <dje@google.com>
13682 * gdb.python/py-xmethods.exp: Add ptype tests.
13683 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13684 get_result_type method.
13686 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13688 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13689 the target does not support hardware watchpoints.
13691 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13693 * gdb.base/break-always.exp: Abort testing if writing to memory
13696 2015-04-28 Doug Evans <dje@google.com>
13698 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13699 * gdb.python/py-pp-registration.exp: ... here. New file.
13700 * gdb.python/py-pp-registration.c: New file.
13701 * gdb.python/py-pp-registration.py: New file.
13703 2015-04-28 Doug Evans <dje@google.com>
13705 * gdb.python/py-bad-printers.c: New file.
13706 * gdb.python/py-bad-printers.py: New file.
13707 * gdb.python/py-bad-printers.exp: New file.
13709 2015-04-28 Sasha Smundak <asmundak@google.com>
13711 * gdb.python/py-type.exp: New test.
13713 2015-04-28 Andy Wingo <wingo@igalia.com>
13715 * gdb.python/py-parameter.exp:
13716 * gdb.guile/scm-parameter.exp: Escape the path that we are
13717 matching against, as it might contain characters that are special
13718 to regular expressions.
13720 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13722 * gdb.ada/rec_comp: New testcase.
13724 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13726 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13729 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13731 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13732 new tests for verilog output.
13734 2015-04-24 Yao Qi <yao.qi@linaro.org>
13736 * boards/remote-gdbserver-on-localhost.exp: New file.
13738 2015-04-23 Pedro Alves <palves@redhat.com>
13740 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13741 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13742 "end of file", remove $inferior_spawn_id from the indirect list.
13744 2015-04-23 Pedro Alves <palves@redhat.com>
13746 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13748 2015-04-23 Pedro Alves <palves@redhat.com>
13750 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13751 on $any_spawn_id instead of only on $gdb_spawn_id.
13753 2015-04-21 Pierre Muller <muller@sourceware.org>
13756 * lib/pascal.exp (gpc_compile): Add new option "class".
13757 (fpc_compile): Likewise.
13758 * gdb.pascal/case-insensitive-symbols.pas: New file.
13759 * gdb.pascal/case-insensitive-symbols.exp: New file.
13761 2015-04-20 Gary Benson <gbenson@redhat.com>
13763 * gdb.base/attach.exp: Fix three extended remote failures.
13765 2015-04-17 Gary Benson <gbenson@redhat.com>
13767 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13768 the main executable over the remote protocol.
13770 2015-04-16 Pedro Alves <palves@redhat.com>
13772 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13773 a new gdbserver if gdbserver_reconnect_p is set.
13775 2015-04-16 Pedro Alves <palves@redhat.com>
13777 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13778 is set, don't exit gdbserver.
13780 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13782 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13783 appropriate .insn, such that an older assembler can be used.
13784 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13785 the z/Architecture instruction set on 31-bit targets as well.
13787 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13789 * gdb.go/handcall.exp: Remove all logic related to the first
13790 breakpoint and rely on go_runto_main instead.
13791 * gdb.go/strings.exp: Likewise.
13792 * gdb.go/unsafe.exp: Likewise.
13793 * gdb.go/hello.exp: Likewise. Also rename the remaining
13794 breakpoint marker to "breakpoint 1".
13795 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13796 * gdb.go/strings.go: Likewise.
13797 * gdb.go/unsafe.go: Likewise.
13798 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13799 "set breakpoint 2 here" and rename the remaining breakpoint marker
13802 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13804 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13805 if itertools.imap is not present.
13806 * gdb.python/py-objfile.exp: Add parentheses.
13807 * gdb.python/py-type.exp: Same.
13808 * gdb.python/py-unwind-maint.py: Same.
13810 2015-04-15 Yao Qi <yao.qi@linaro.org>
13812 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13813 of ":$ptr_size" and set its form explicitly.
13815 2015-04-15 Pedro Alves <palves@redhat.com>
13816 Yao Qi <yao.qi@linaro.org>
13818 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13819 timeout by factor of 4.
13820 (test_regular_watch): Likewise.
13821 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13822 * gdb.reverse/sigall-reverse.exp: Likewise.
13823 * gdb.reverse/until-precsave.exp: Likewise.
13824 * lib/gdb.exp (with_timeout_factor): New proc.
13825 (gdb_expect): Move some code to ...
13826 (get_largest_timeout): ... here. New procedure.
13828 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13830 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13832 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13834 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13835 to write to the .text section.
13837 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13839 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13840 Handle the case of targets that do not provide PID information.
13842 2015-04-13 Yao Qi <yao.qi@linaro.org>
13844 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13845 and use expect instead of gdb_expect.
13847 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13849 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13850 "coredump_var_addr" to avoid naming conflict with other testcases.
13852 2015-04-10 Pedro Alves <palves@redhat.com>
13854 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13855 gdb_test_sequence and gdb_assert.
13857 2015-04-10 Pedro Alves <palves@redhat.com>
13859 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13860 test messages that don't include the breakpoint address.
13862 2015-04-10 Yao Qi <yao.qi@linaro.org>
13864 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13865 false for some offset and width combinations which aren't
13866 supported by linux kernel.
13868 2015-04-10 Pedro Alves <palves@redhat.com>
13870 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13871 procedure, factored out from ...
13872 (top level): ... here. Add "set displaced-stepping" testing axis.
13873 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13874 parameter "displaced". Use it.
13875 (top level): Use foreach and add "set displaced-stepping" testing
13878 2015-04-10 Pedro Alves <palves@redhat.com>
13880 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13882 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13883 both the address of the instruction that triggers the watchpoint
13884 and the address of the instruction immediately after, and use
13885 those addresses for the test. Fix comment.
13887 2015-04-10 Pedro Alves <palves@redhat.com>
13889 * gdb.base/sigstep.exp (breakpoint_to_handler)
13890 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13891 Test "backtrace" in handler.
13892 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13893 (top level): Add new "displaced" test axis to
13894 breakpoint_to_handler, breakpoint_to_handler_entry and
13895 breakpoint_over_handler.
13897 2015-04-10 Pedro Alves <palves@redhat.com>
13900 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13902 2015-04-10 Yao Qi <yao.qi@linaro.org>
13904 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13905 (test_add_rn_pc): New function.
13906 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13907 (top level): Invoke test_add_rn_pc.
13909 2015-04-10 Pedro Alves <palves@redhat.com>
13912 * gdb.base/step-over-no-symbols.exp: New file.
13914 2015-04-09 Andy Wingo <wingo@igalia.com>
13916 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13917 after the Python tests.
13919 2015-04-08 Keith Seitz <keiths@redhat.com>
13922 * gdb.python/py-completion.exp: New tests for completion.
13923 * gdb.python/py-completion.py (CompleteLimit1): New class.
13924 (CompleteLimit2): Likewise.
13925 (CompleteLimit3): Likewise.
13926 (CompleteLimit4): Likewise.
13927 (CompleteLimit5): Likewise.
13928 (CompleteLimit6): Likewise.
13929 (CompleteLimit7): Likewise.
13931 2015-04-08 Pedro Alves <palves@redhat.com>
13935 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13937 (main): Install it as SIGUSR1 handler.
13938 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13939 parameter. Always use "setup" as prefix. Toggle "set
13940 displaced-stepping" off/on depending on global. Don't switch to
13942 (top level): Add displaced stepping "off/on" test axis. Update
13943 "setup" calls. Wrap each subtest with with_test_prefix. Test
13944 continuing with a queued signal in each thread.
13946 2015-04-08 Pedro Alves <palves@redhat.com>
13948 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13949 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13950 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13951 Return early if running to main fails.
13952 * gdb.trace/while-stepping.exp: Likewise.
13954 2015-04-07 Pedro Alves <palves@redhat.com>
13956 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13957 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13958 interact with inferior program.
13960 2015-04-07 Pedro Alves <palves@redhat.com>
13962 * lib/gdb.exp (inferior_spawn_id): New global.
13963 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13964 spawn id after processing the user code.
13965 (default_gdb_start): Set inferior_spawn_id.
13966 (send_inferior): New procedure.
13967 * lib/gdbserver-support.exp (gdbserver_start): Set
13969 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13971 2015-04-07 Pedro Alves <palves@redhat.com>
13973 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13974 * lib/gdbserver-support.exp (gdbserver_start): Make
13975 $server_spawn_id global.
13976 (gdbserver_start): Don't wait for gdbserver's spawn id with
13978 (close_gdbserver): New procedure.
13979 (gdb_exit): Rename the default version and reimplement.
13981 2015-04-07 Pedro Alves <palves@redhat.com>
13983 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13984 append the substituted item, not the original item.
13986 2015-04-07 Pedro Alves <palves@redhat.com>
13988 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13991 2015-04-07 Pedro Alves <palves@redhat.com>
13993 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13994 output appearing once only.
13996 2015-04-07 Pedro Alves <palves@redhat.com>
13998 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13999 that doesn't expect anything. Return early if running to main
14002 2015-04-07 Yao Qi <yao.qi@linaro.org>
14004 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14005 (child_function): Call alarm.
14006 (main): Move call to alarm into the loop.
14007 * gdb.threads/non-stop-fair-events.exp: Build program with
14008 -DTIMEOUT=$timeout.
14010 2015-04-06 Doug Evans <xdje42@gmail.com>
14012 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14013 Fix dest parameter to board_info.
14014 (fpc_compile): Ditto.
14015 (gdb_compile_pascal): Rename dest arg to destfile.
14017 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14019 * gdb.ada/funcall_ref.exp: New file.
14020 * gdb.ada/funcall_ref/foo.adb: New file.
14022 2015-04-02 Yao Qi <yao.qi@linaro.org>
14024 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14027 2015-04-02 Gary Benson <gbenson@redhat.com>
14029 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14031 2015-04-01 Sasha Smundak <asmundak@google.com>
14033 * gdb.python/py-unwind-maint.c: New file.
14034 * gdb.python/py-unwind-maint.exp: New test.
14035 * gdb.python/py-unwind-maint.py: New file.
14036 * gdb.python/py-unwind.c: New file.
14037 * gdb.python/py-unwind.exp: New test.
14038 * gdb.python/py-unwind.py: New test.
14040 2015-04-01 Pedro Alves <palves@redhat.com>
14042 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14043 to fail instead of non-existent $test.
14045 2015-04-01 Pedro Alves <palves@redhat.com>
14047 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14048 GDBFLAGS if not empty.
14050 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14052 * gdb.ada/complete.exp: Remove "multi_line".
14053 * gdb.ada/info_exc.exp: Remove "multi_line".
14054 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14055 * gdb.ada/ptype_field.exp: Remove "multi_line".
14056 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14057 * gdb.ada/tagged.exp: Remove "multi_line".
14058 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14060 * gdb.btrace/delta.exp: Likewise.
14061 * gdb.btrace/exception.exp: Likewise.
14062 * gdb.btrace/function_call_history.exp: Likewise.
14063 * gdb.btrace/instruction_history.exp: Likewise.
14064 * gdb.btrace/nohist.exp: Likewise.
14065 * gdb.btrace/record_goto.exp: Likewise.
14066 * gdb.btrace/segv.exp: Likewise.
14067 * gdb.btrace/stepi.exp: Likewise.
14068 * gdb.btrace/tailcall.exp: Likewise.
14069 * gdb.btrace/unknown_functions.exp: Likewise.
14070 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14071 * lib/gdb.exp: Add the "multi_line" helper.
14073 2015-04-01 Pedro Alves <palves@redhat.com>
14075 * gdb.threads/tid-reuse.c: New file.
14076 * gdb.threads/tid-reuse.exp: New file.
14078 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14081 * gdb.base/coredump-filter.c: New file.
14082 * gdb.base/coredump-filter.exp: Likewise.
14084 2015-03-27 Petr Machata <pmachata@redhat.com>
14086 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14087 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14088 (Dwarf::assemble): Initialize them.
14089 (Dwarf::lines): New function.
14091 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14093 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14094 SYMBOL_PREFIX for x86_64-*-cygwin.
14096 2015-03-26 Andy Wingo <wingo@igalia.com>
14099 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14100 const_value but not a location.
14101 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14102 location defined in non-main CUs are visible.
14104 2015-03-26 Yao Qi <yao.qi@linaro.org>
14107 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14108 Add a line number entry for the same line.
14109 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14110 Add a line number entry for the same line.
14112 2015-03-26 Yao Qi <yao.qi@linaro.org>
14114 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14116 (func): Likewise. Add .Lfunc_1 label.
14117 Use .Lfunc_1 label.
14118 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14121 Use .Lfunc_1 label.
14123 2015-03-26 Yao Qi <yao.qi@linaro.org>
14125 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14126 Call gdb_compile instead to compile each .s files without debug
14129 2015-03-26 Yao Qi <yao.qi@linaro.org>
14131 * gdb.base/savedregs.exp (process_saved_regs): Make
14132 "Saved registers:" optional in the pattern.
14134 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14136 * gdb.btrace/next.exp: Merged into step.exp.
14137 * gdb.btrace/finish.exp: Merged into step.exp.
14138 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14139 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14140 "record goto" and checking the exact replay position.
14141 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14142 check for "Recording format" in "info record" output.
14143 * gdb.btrace/record_goto.exp: Choose test file based on target.
14144 * gdb.btrace/x86-record_goto.S: Renamed into ...
14145 * gdb.btrace/x86_64-record_goto.S: ... this.
14146 * gdb.btrace/i686-record_goto.S: New.
14147 * gdb.btrace/x86-tailcall.S: Renamed into ...
14148 * gdb.btrace/x86_64-tailcall.S: ... this.
14149 * gdb.btrace/i686-tailcall.S: New.
14150 * gdb.btrace/x86-tailcall.c: Renamed into ...
14151 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14152 separate statements. Update test.
14153 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14154 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14155 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14156 * gdb.btrace/tailcall.exp: Choose test file based on target.
14157 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14159 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14161 * gdb.btrace/exception.exp: Increase BTS buffer size.
14163 2015-03-24 Pedro Alves <palves@redhat.com>
14165 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14167 2015-03-24 Pedro Alves <palves@redhat.com>
14169 * gdb.threads/schedlock.exp (test_step): No longer expect that
14170 "set scheduler-locking step" with "next" over a function call runs
14173 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14175 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14177 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14179 PR breakpoints/16466
14180 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14181 * gdb.mi/mi-pending.c (thread_func): New function.
14182 (int main): Add threading support required.
14183 * gdb.mi/mi-pending.exp: Add tests for this issue.
14184 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14185 (pendfunc2): Remove stdio dependency.
14186 * gdb.mi/mi-pendshr2.c: New file.
14188 2015-03-23 Keith Seitz <keiths@redhat.com>
14190 * gdb.linespec/keywords.c: New file.
14191 * gdb.linespec/keywords.exp: New file.
14193 2015-03-23 Keith Seitz <keiths@redhat.com>
14196 * gdb.dwarf2/staticvirtual.exp: New test.
14198 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14200 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14201 * README: Remove HP-UX and gdb.hp.
14203 * configure: Regenerate.
14204 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14205 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14206 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14207 gdb.hp/gdb.defects/Makefile.
14208 * gdb.hp/Makefile.in: File deleted.
14209 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14210 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14211 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14212 * gdb.hp/gdb.aCC/run.c: File deleted.
14213 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14214 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14215 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14216 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14217 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14218 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14219 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14220 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14221 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14222 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14223 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14224 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14225 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14226 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14227 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14228 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14229 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14230 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14231 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14232 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14233 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14234 * gdb.hp/gdb.compat/average.c: File deleted.
14235 * gdb.hp/gdb.compat/sum.c: File deleted.
14236 * gdb.hp/gdb.compat/xdb.c: File deleted.
14237 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14238 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14239 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14240 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14241 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14242 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14243 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14244 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14245 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14246 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14247 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14248 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14249 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14250 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14251 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14252 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14253 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14254 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14255 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14256 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14257 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14258 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14259 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14260 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14261 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14262 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14263 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14264 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14265 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14266 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14267 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14268 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14269 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14270 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14271 * gdb.hp/tools/odump: File deleted.
14273 2015-03-19 Pedro Alves <palves@redhat.com>
14275 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14276 (saw_thread_3): New globals.
14277 (top level): Increment them when an event for the corresponding
14279 (no thread starvation): New test.
14281 2015-03-19 Pedro Alves <palves@redhat.com>
14283 * gdb.threads/continue-pending-status.c: New file.
14284 * gdb.threads/continue-pending-status.exp: New file.
14286 2015-03-18 Pedro Alves <palves@redhat.com>
14288 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14289 Use gdb_is_target_remote instead of is_remote. Use
14290 gdb_test_multiple instead of gdb_expect. Exit early if
14291 gdb_test_multiple hits its internal matches. Tighten stepi tests
14292 expected output. Fail on exit with any signal, instead of just
14295 2015-03-18 Yao Qi <yao.qi@linaro.org>
14298 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14300 * gdb.base/catch-syscall.exp: Don't skip it on
14301 aarch64*-*-linux* target. Remove elements in all_syscalls.
14302 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14304 (setup_all_syscalls): New proc.
14306 2015-03-16 Yao Qi <yao.qi@linaro.org>
14308 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14309 (top level): Skip tests if valid_addr_p returns false for
14312 2015-03-11 Andy Wingo <wingo@igalia.com>
14314 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14316 2015-03-11 Yao Qi <yao.qi@linaro.org>
14318 * gdb.base/catch-syscall.exp: Fix typo in comments.
14320 2015-03-11 Yao Qi <yao.qi@linaro.org>
14322 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14324 2015-03-09 Pedro Alves <palves@redhat.com>
14326 * dg-extract-results.py: Delete.
14328 2015-03-09 Pedro Alves <palves@redhat.com>
14330 Merge dg-extract-results.sh from GCC upstream (r218843).
14332 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14333 * dg-extract-results.sh: Use --text with grep to avoid issues with
14334 binary files. Fall back to cat -v, if that doesn't work.
14336 2015-03-05 Pedro Alves <palves@redhat.com>
14338 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14340 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14342 * lib/mi-support.exp (mi_expect_interrupt): Accept
14343 alternative event for when in all-stop mode.
14345 2015-03-04 Pedro Alves <palves@redhat.com>
14347 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14349 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14351 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14353 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14355 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14356 regexps for GDB's current line display, accept a hex address
14357 preceding the line number.
14359 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14361 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14362 the 'arch1' variable for "s390*-linux*" targets.
14364 2015-03-04 Pedro Alves <palves@redhat.com>
14366 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14367 (main): Pass missing retval argument to pthread_join call.
14369 2015-03-02 Pedro Alves <palves@redhat.com>
14371 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14372 (top level): Call do_test with non-stop as well.
14374 2015-03-02 Pedro Alves <palves@redhat.com>
14376 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14379 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14381 * gdb.arch/s390-vregs.exp: New test.
14382 * gdb.arch/s390-vregs.S: New file.
14384 2015-02-27 Pedro Alves <palves@redhat.com>
14386 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14387 call to catch_command_errors.
14388 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14389 catch_command_errors.
14391 2015-02-27 Pedro Alves <palves@redhat.com>
14393 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14394 "true" for boolean result.
14395 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14398 2015-02-27 Pedro Alves <palves@redhat.com>
14400 * lib/unbuffer_output.c: New file.
14401 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14402 (main): Call gdb_unbuffer_output.
14404 2015-02-27 Yao Qi <yao.qi@linaro.org>
14406 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14409 2015-02-26 Doug Evans <dje@google.com>
14411 * gdb.cp/class2.cc (Dbase, D): New classes.
14412 (main): New local delta.
14413 * gdb.cp/class2.exp: Test printing delta.
14414 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14415 (dynbar): New global.
14416 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14418 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14420 * gdb.compile/compile-ifunc.c: New file.
14421 * gdb.compile/compile-ifunc.exp: New file.
14423 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14425 * gdb.base/structs.exp: Check for correct struct on finish.
14427 2015-02-26 Yao Qi <yao.qi@linaro.org>
14429 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14432 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14434 * gdb.arch/cordic.ko.bz2: New file.
14435 * gdb.arch/cordic.ko.debug.bz2: New file.
14436 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14438 2015-02-25 Yao Qi <yao.qi@linaro.org>
14440 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14441 aarch64*-*-* target.
14443 2015-02-23 Pedro Alves <palves@redhat.com>
14445 * lib/gdb.exp (delete_breakpoints): Rewrite using
14448 2015-02-23 Pedro Alves <palves@redhat.com>
14450 * gdb.base/info-os.c: Include stdlib.h.
14452 2015-02-22 Doug Evans <xdje42@gmail.com>
14455 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14456 is read after symbols have been re-read.
14457 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14458 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14460 2015-02-21 Doug Evans <dje@google.com>
14462 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14464 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14467 * gdb.arch/i386-biarch-core.core.bz2: New file.
14468 * gdb.arch/i386-biarch-core.exp: New file.
14470 2015-02-21 Pedro Alves <palves@redhat.com>
14472 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14475 2015-02-20 Pedro Alves <palves@redhat.com>
14477 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14480 2015-02-20 Pedro Alves <palves@redhat.com>
14482 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14484 2015-02-20 Pedro Alves <palves@redhat.com>
14486 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14487 clean_restart before gdb_target_supports_trace.
14489 2015-02-20 Pedro Alves <palves@redhat.com>
14492 * gdb.threads/clone-thread_db.c: New file.
14493 * gdb.threads/clone-thread_db.exp: New file.
14495 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14497 PR breakpoints/16812
14498 * gdb.base/catch-gdb-caused-signals.c: New file.
14499 * gdb.base/catch-gdb-caused-signals.exp: New file.
14501 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14503 * configure: Regenerated.
14504 * configure.ac: Use GDB_AC_TRANSFORM.
14505 * aclocal.m4: sinclude ../transform.m4.
14507 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14509 * lib/dtrace.exp: New file.
14510 * gdb.base/dtrace-probe.exp: Likewise.
14511 * gdb.base/dtrace-probe.d: Likewise.
14512 * gdb.base/dtrace-probe.c: Likewise.
14513 * lib/pdtrace.in: Likewise.
14514 * configure.ac: Output variables with the transformed names of
14515 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14516 * configure: Regenerated.
14518 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14520 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14521 expected message when trying to access $_probe_* convenience
14522 variables while not on a probe.
14524 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14526 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14528 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14530 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14531 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14533 2015-02-10 Doug Evans <xdje42@gmail.com>
14535 * lib/gdb.exp (gdb_load): Always return a result.
14537 2015-02-10 Pedro Alves <palves@redhat.com>
14539 * gdb.threads/signal-sigtrap.c: New file.
14540 * gdb.threads/signal-sigtrap.exp: New file.
14542 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14544 * gdb.trace/no-attach-trace.c: New file.
14545 * gdb.trace/no-attach-trace.exp: New file.
14547 2015-02-09 Mark Wielaard <mjw@redhat.com>
14549 * gdb.dwarf2/atomic.c: New file.
14550 * gdb.dwarf2/atomic-type.exp: Likewise.
14552 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14554 * gdb.btrace/buffer-size.exp: Update "info record" output.
14555 * gdb.btrace/delta.exp: Update "info record" output.
14556 * gdb.btrace/enable.exp: Update "info record" output.
14557 * gdb.btrace/finish.exp: Update "info record" output.
14558 * gdb.btrace/instruction_history.exp: Update "info record" output.
14559 * gdb.btrace/next.exp: Update "info record" output.
14560 * gdb.btrace/nexti.exp: Update "info record" output.
14561 * gdb.btrace/step.exp: Update "info record" output.
14562 * gdb.btrace/stepi.exp: Update "info record" output.
14563 * gdb.btrace/nohist.exp: Update "info record" output.
14565 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14567 * gdb.btrace/buffer-size: New.
14569 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14571 * gdb.btrace/delta.exp: Update "info record" output.
14572 * gdb.btrace/enable.exp: Update "info record" output.
14573 * gdb.btrace/finish.exp: Update "info record" output.
14574 * gdb.btrace/instruction_history.exp: Update "info record" output.
14575 * gdb.btrace/next.exp: Update "info record" output.
14576 * gdb.btrace/nexti.exp: Update "info record" output.
14577 * gdb.btrace/step.exp: Update "info record" output.
14578 * gdb.btrace/stepi.exp: Update "info record" output.
14579 * gdb.btrace/nohist.exp: Update "info record" output.
14581 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14584 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14586 2015-02-06 Pedro Alves <palves@redhat.com>
14588 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14590 (seconds_left, again): New globals.
14591 (main): Wait seconds_left in a 1-second sleep loop instead of
14592 sleeping 180 seconds. If 'again' is set, reset the seconds
14594 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14595 'again' in the inferior before detaching. Print the seconds left.
14596 (options): New global.
14597 (top level): Build program with -DTIMEOUT=$timeout.
14599 2015-02-06 Pedro Alves <palves@redhat.com>
14601 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14602 determine how many seconds to pass to 'alarm'.
14603 * gdb.base/gdb-sigterm.exp (top level): Build program with
14604 -DTIMEOUT=$timeout.
14605 (do_test): Return success/failure indication. Add more verbose
14606 logging. Don't fail if 200 single steps are seen. Instead, fail
14607 when the test times out.
14608 (passes): New global.
14609 (top level): Break the testing loop if testing fails on any
14610 iteration. Use gdb_assert.
14612 2015-02-04 Don Breazeal <donb@codesourcery.com>
14614 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14615 and initialize them.
14616 (ipc_cleanup): New function.
14617 (main): Don't declare shmid, semid, and msqid. Add a call to
14618 atexit so that we call ipc_cleanup on exit.
14620 2015-02-04 Pedro Alves <palves@redhat.com>
14622 * boards/native-extended-gdbserver.exp: Remove any target variant
14623 specifications from the board name before clearing the isremote
14624 flag from board_info.
14626 2015-01-31 Doug Evans <xdje42@gmail.com>
14628 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14630 2015-01-31 Gary Benson <gbenson@redhat.com>
14632 * gdb.base/completion.exp: Disable completion limiting for
14633 existing tests. Add new tests to check completion limiting.
14634 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14636 2015-01-31 Doug Evans <xdje42@gmail.com>
14638 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14640 2015-01-31 Doug Evans <xdje42@gmail.com>
14642 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14643 entries. Duplicate file section script entries.
14644 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14645 inlined entries. Add test for safe-path rejection.
14646 * gdb.python/py-section-script.c: Add duplicate inlined section script
14647 entries. Duplicate file section script entries.
14648 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14649 inlined entries. Add test for safe-path rejection.
14651 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14653 * gdb.ada/disc_arr_bound: New testcase.
14655 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14657 * gdb.ada/mi_var_array: New testcase.
14659 2015-01-27 Doug Evans <dje@google.com>
14661 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14662 Add test for objfile.filename, objfile.username after objfile
14665 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14667 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14668 the second test to print the name attribute of value
14669 returned by the call to gdb.lookup_type, and adjust
14670 the expected output accordingly.
14672 2015-01-25 Mark Wielaard <mjw@redhat.com>
14674 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14675 * gdb.base/disp-step-fork.c: Include unistd.h.
14676 * gdb.base/siginfo-obj.c: Include stdio.h.
14677 * gdb.base/siginfo-thread.c: Likewise.
14678 * gdb.mi/non-stop.c: Include unistd.h.
14679 * gdb.mi/nsthrexec.c: Include stdio.h.
14680 * gdb.mi/pthreads.c: Include unistd.h.
14681 * gdb.modula2/unbounded1.c (main): Declare returns int.
14682 * gdb.reverse/consecutive-reverse.c: Likewise.
14683 * gdb.threads/create-fail.c: Include unistd.h.
14684 * gdb.threads/killed.c: Likewise.
14685 * gdb.threads/linux-dp.c: Likewise.
14686 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14687 * gdb.threads/non-ldr-exc-2.c: Likewise.
14688 * gdb.threads/non-ldr-exc-3.c: Likewise.
14689 * gdb.threads/non-ldr-exc-4.c: Likewise.
14690 * gdb.threads/pthreads.c: Include unistd.h.
14691 (main): Declare returns int.
14692 * gdb.threads/tls-main.c (foo): New declaration.
14693 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14695 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14697 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14698 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14700 2015-01-15 Mark Wielaard <mjw@redhat.com>
14702 * gdb.base/noreturn-return.c: New file.
14703 * gdb.base/noreturn-return.exp: New file.
14704 * gdb.base/noreturn-finish.c: New file.
14705 * gdb.base/noreturn-finish.exp: New file.
14707 2015-01-23 Pedro Alves <palves@redhat.com>
14709 * gdb.threads/continue-pending-after-query.c: New file.
14710 * gdb.threads/continue-pending-after-query.exp: New file.
14712 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14713 Simon Marchi <simon.marchi@ericsson.com>
14715 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14716 * gdb.base/valgrind-db-attach.exp: Same.
14717 * gdb.base/valgrind-infcall.exp: Same.
14718 * lib/mi-support.exp (default_mi_gdb_start): Same.
14719 * lib/prompt.exp (default_prompt_gdb_start): Same.
14720 * lib/gdb.exp (default_gdb_spawn): Same.
14721 (gdb_interact): New.
14724 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14726 * gdb.compile/compile.exp (pointer to jit function): New test.
14728 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14730 * lib/gdb.exp (supports_process_record): Return true for
14732 (supports_reverse): Likewise.
14734 2015-01-15 Don Breazeal <donb@codesourcery.com>
14736 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14737 instead of checking whether the target board is remote and
14738 use spawn_wait_for_attach instead of exec/sleep.
14739 * gdb.base/attach-twice.exp: Likewise.
14741 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14743 * gdb.ada/var_arr_attrs: New testcase.
14745 2015-01-14 Pedro Alves <palves@redhat.com>
14746 Joel Brobecker <brobecker@adacore.com>
14749 * gdb.base/bp-cmds-execution-x-script.c: New file.
14750 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14751 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14753 2015-01-14 Pedro Alves <palves@redhat.com>
14756 * gdb.base/batch-preserve-term-settings.c: New file.
14757 * gdb.base/batch-preserve-term-settings.exp: New file.
14759 2015-01-13 Doug Evans <dje@google.com>
14761 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14764 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14766 * Makefile.in (clean mostlyclean): Do not delete *.py.
14768 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14770 * gdb.python/py-lookup-type.exp: New file.
14772 2015-01-12 Pedro Alves <palves@redhat.com>
14774 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14775 restore GDBFLAGS before returning.
14777 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14779 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14780 is_amd64_regs_target and is_x86_like_target.
14782 2015-01-11 Doug Evans <xdje42@gmail.com>
14784 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14785 is given without an explicit form.
14786 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14788 * gdb.dwarf/corrupt.exp: Ditto.
14789 * gdb.dwarf2/enum-type.exp: Ditto.
14790 * gdb.trace/entry-values.exp: Ditto.
14791 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14793 2015-01-11 Doug Evans <xdje42@gmail.com>
14796 * gdb.base/maint.exp: Remove references to "maint demangle".
14797 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14798 Add tests for explicitly specifying language to demangle.
14799 * gdb.dlang/demangle.exp: Ditto.
14801 2015-01-09 Pedro Alves <palves@redhat.com>
14803 * gdb.threads/non-stop-fair-events.c: New file.
14804 * gdb.threads/non-stop-fair-events.exp: New file.
14806 2015-01-09 Pedro Alves <palves@redhat.com>
14808 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14809 the global scope. Set a breakpoint after all threads are started
14810 rather than stepping over two source lines. Expect the prompt.
14811 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14814 (main): Use threads_started_barrier to wait for all threads to
14815 start. Main thread no longer calls thread_function. Exit after
14817 (loop): New function.
14818 (thread_function): Wait on threads_started_barrier barrier. Call
14819 'loop' at each iteration.
14820 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14821 threads have started, instead of hardcoding number of "next"
14822 steps. Use an access watchpoint instead of a write watchpoint.
14824 2015-01-09 Pedro Alves <palves@redhat.com>
14826 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14827 (thread_func): Wait on barrier.
14828 (main): Wait for all threads to start before stopping GDB.
14829 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14831 (thread1_func, thread2_func): Wait on barrier.
14832 (main): Wait for all threads to start before stopping GDB.
14833 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14835 (thread1_func, thread2_func): Wait on barrier.
14836 (main): Wait for all threads to start before stopping GDB.
14838 2015-01-09 Pedro Alves <palves@redhat.com>
14840 * gdb.threads/attach-many-short-lived-threads.c: New file.
14841 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14843 2014-01-09 Pedro Alves <palves@redhat.com>
14845 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14846 instead of to thread 2.
14847 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14848 Add barrier around each pthread_create call instead of around all
14850 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14851 Set a break on thread_function and have the child threads hit it
14854 2015-01-09 Pedro Alves <palves@redhat.com>
14856 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14857 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14859 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14860 checking whether the target board is remote.
14861 * gdb.multi/multi-attach.exp: Likewise.
14862 * gdb.python/py-sync-interp.exp: Likewise.
14863 * gdb.server/ext-attach.exp: Likewise.
14864 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14865 tests that need to attach, instead of checking whether the target
14866 board is remote at the top of the file.
14868 2015-01-08 Yao Qi <yao@codesourcery.com>
14870 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14872 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14874 Fix testcase compilation.
14875 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14877 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14879 * gdb.python/py-type.exp: Add a couple test about empty
14880 array creation, and negative-length array creation.
14882 2015-01-02 Doug Evans <xdje42@gmail.com>
14884 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14886 2015-01-02 Doug Evans <dje@google.com>
14888 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14890 2014-12-29 Yao Qi <yao@codesourcery.com>
14892 * gdb.trace/entry-values.exp: Update comments. Rename variable
14893 bar_call_foo to returned_from_foo.
14895 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14898 * gdb.linespec/break-asm-file.c: New file.
14899 * gdb.linespec/break-asm-file.exp: New file.
14900 * gdb.linespec/break-asm-file0.s: New file.
14901 * gdb.linespec/break-asm-file1.s: New file.
14903 2014-12-18 Nigel Stephens <nigel@mips.com>
14904 Maciej W. Rozycki <macro@codesourcery.com>
14906 * gdb.base/float.exp: Handle the new output from "info float" on
14909 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14911 Fix MinGW compilation.
14912 * gdb.compile/compile-ops.exp: Update untested message if
14913 !skip_compile_feature_tests.
14914 * gdb.compile/compile-setjmp.exp: Likewise.
14915 * gdb.compile/compile-tls.exp: Likewise.
14916 * gdb.compile/compile.exp: Likewise.
14917 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14918 supported on this host".
14920 2014-12-16 Doug Evans <xdje42@gmail.com>
14922 * boards/stabs.exp: New file.
14924 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14926 * gdb.base/completion.exp: Adjust to format changes of "maint
14927 print user-registers".
14929 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14932 * gdb.arch/aarch64-fp.c: New file.
14933 * gdb.arch/aarch64-fp.exp: New file.
14935 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14937 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14938 r210637, r210913, r211666, r215400, r215817).
14940 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14941 * dg-extract-results.py: New file.
14942 * dg-extract-results.sh: Use it if the environment seems
14945 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14947 * dg-extract-results.py (parse_run): Handle warnings that
14948 are printed before a test harness is run.
14950 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14952 * dg-extract-results.py (Named): Remove __cmp__ method.
14953 (output_variation): Use a key to sort variation.harnesses.
14955 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14957 * dg-extract-results.py: For Python 3, force sys.stdout to
14958 handle surrogate escape sequences.
14959 (safe_open): New function.
14960 (output_segment, main): Use it.
14962 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14964 * dg-extract-results.py (Prog.result_re): Include options
14967 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14969 * dg-extract-results.py (output_variation): Always sort if
14972 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14974 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14975 as long as we get pagination notifications.
14977 2014-12-15 Jason Merrill <jason@redhat.com>
14979 * Makefile.in (check-gdb.%): Restore.
14980 * README: Mention it.
14982 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14984 * gdb.ada/str_uninit: New testcase.
14986 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14989 * gdb.base/vla-stub-define.c: New file.
14990 * gdb.base/vla-stub.c: New file.
14991 * gdb.base/vla-stub.exp: New file.
14993 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14994 Jan Kratochvil <jan.kratochvil@redhat.com>
14995 Tom Tromey <tromey@redhat.com>
14997 * configure.ac: Add gdb.compile/.
14998 * configure: Regenerate.
14999 * gdb.compile/Makefile.in: New file.
15000 * gdb.compile/compile-ops.exp: New file.
15001 * gdb.compile/compile-ops.c: New file.
15002 * gdb.compile/compile-tls.c: New file.
15003 * gdb.compile/compile-tls.exp: New file.
15004 * gdb.compile/compile-constvar.S: New file.
15005 * gdb.compile/compile-constvar.c: New file.
15006 * gdb.compile/compile-mod.c: New file.
15007 * gdb.compile/compile-nodebug.c: New file.
15008 * gdb.compile/compile-setjmp-mod.c: New file.
15009 * gdb.compile/compile-setjmp.c: New file.
15010 * gdb.compile/compile-setjmp.exp: New file.
15011 * gdb.compile/compile-shlib.c: New file.
15012 * gdb.compile/compile.c: New file.
15013 * gdb.compile/compile.exp: New file.
15014 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15016 2014-12-12 Tom Tromey <tromey@redhat.com>
15018 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15019 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15021 2014-12-12 Doug Evans <dje@google.com>
15023 * lib/gdb-python.exp (get_python_valueof): New function.
15024 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15026 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15028 * gdb.base/completion.exp: Add test for completion of "info
15031 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15033 * gdb.base/func-ptrs.c: New file.
15034 * gdb.base/func-ptrs.exp: New file.
15036 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15038 PR breakpoints/17012
15039 * gdb.base/dprintf-detach.c: New file.
15040 * gdb.base/dprintf-detach.exp: New file.
15042 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15044 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15045 * lib/gdb.exp (target_is_gdbserver): New procedure.
15047 2014-12-08 Doug Evans <dje@google.com>
15049 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15051 2014-12-05 Yao Qi <yao@codesourcery.com>
15053 * gdb.guile/scm-error.exp: Remove the third argument to
15054 gdb_remote_download.
15055 * gdb.guile/scm-frame-args.exp: Likewise.
15056 * gdb.guile/scm-section-script.exp: Likewise.
15058 2014-12-05 Yao Qi <yao@codesourcery.com>
15060 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15062 2014-12-04 Doug Evans <dje@google.com>
15064 * gdb.python/py-objfile.exp: Add tests for
15065 objfile.add_separate_debug_file.
15067 2014-12-04 Doug Evans <dje@google.com>
15069 * lib/gdb.exp (get_build_id): New function.
15070 (build_id_debug_filename_get): Rewrite to use it.
15071 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15073 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15075 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15076 `method(long)', not just 0x0.
15077 * gdb.cp/nsalias.exp: Align code labels to 4.
15078 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15079 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15080 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15081 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15082 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15083 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15085 2014-12-02 Doug Evans <dje@google.com>
15088 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15089 * gdb.cp/anon-ns2.cc: ... here. New file.
15090 * gdb.cp/anon-ns.exp: Update.
15092 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15094 * gdb.python/py-events.py (inferior_call_handler): New.
15095 (register_changed_handler, memory_changed_handler): New.
15096 (test_events.invoke): Register new handlers.
15097 * gdb.python/py-events.exp: Add tests for inferior call,
15098 memory_changed and register_changed events.
15100 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15102 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15103 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15104 if the linker doesn't understand this.
15106 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15108 * gdb.python/python.exp: Change expected reply to help().
15110 2014-12-01 Yao Qi <yao@codesourcery.com>
15112 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15113 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15114 * configure: Re-generated.
15116 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15118 * gdb.cp/chained-calls.cc: New file.
15119 * gdb.cp/chained-calls.exp: New file.
15120 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15122 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15124 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15125 * gdb.dwarf2/symtab-producer.exp: Same.
15126 * gdb.gdb/python-interrupts.exp: Same.
15127 * gdb.gdb/python-selftest.exp: Same.
15128 * gdb.python/py-linetable.exp: Same.
15129 * gdb.python/py-type.exp: Same.
15130 * gdb.python/py-value-cc.exp: Same.
15131 * gdb.python/py-value.exp: Same.
15133 2014-11-28 Yao Qi <yao@codesourcery.com>
15135 * gdb.base/break-probes.exp: Match library name prefixed with
15138 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15140 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15141 test expected output. Add parentheses for the call to print.
15142 Remove L suffix from integers.
15144 2014-11-26 Doug Evans <dje@google.com>
15146 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15148 2014-11-22 Yao Qi <yao@codesourcery.com>
15150 * gdb.trace/entry-values.c: Remove asms.
15151 (foo): Add foo_label.
15152 (bar): Add bar_label.
15153 * gdb.trace/entry-values.exp: Remove code computing foo's
15154 length and bar's length.
15155 (Dwarf::assemble): Invoke function_range for bar and use
15156 MACRO_AT_func for foo.
15158 2014-11-22 Yao Qi <yao@codesourcery.com>
15160 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15161 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15162 Use .Lgcc43_procstart instead of gcc43.
15164 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15166 * gdb.ada/n_arr_bound: New testcase.
15168 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15170 PR breakpoints/10737
15171 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15172 test_catch_syscall_multi_arch.
15173 (test_catch_syscall_multi_arch): New function.
15175 2014-11-20 Doug Evans <xdje42@gmail.com>
15177 * gdb.base/maint.exp: Update expected output.
15179 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15181 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15182 4-byte instruction on S390.
15184 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15186 * gdb.ada/arr_arr: New testcase.
15188 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15190 * gdb.ada/pkd_arr_elem: New Testcase.
15192 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15194 * gdb.reverse/break-precsave: Expect completion message for
15196 * gdb.reverse/consecutive-precsave.exp: Likewise.
15197 * gdb.reverse/finish-precsave.exp: Likewise.
15198 * gdb.reverse/i386-precsave.exp: Likewise.
15199 * gdb.reverse/machinestate-precsave.exp: Likewise.
15200 * gdb.reverse/sigall-precsave.exp: Likewise.
15201 * gdb.reverse/solib-precsave.exp: Likewise.
15202 * gdb.reverse/step-precsave.exp: Likewise.
15203 * gdb.reverse/until-precsave.exp: Likewise.
15204 * gdb.reverse/watch-precsave.exp: Likewise.
15206 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15208 * gdb.base/bp-permanent.c: Include unistd.h.
15209 * gdb.python/py-framefilter-mi.c (main): Add return type.
15210 * gdb.python/py-framefilter.c (main): Likewise.
15211 * gdb.trace/actions-changed.c (main): Likewise.
15213 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15215 * gdb.mi/until.c: Add eye-catchers.
15216 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15219 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15221 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15222 function header variants in break1.c.
15223 * gdb.base/ena-dis-br.exp: Likewise.
15224 * gdb.base/hbreak2.exp: Likewise.
15225 * gdb.reverse/until-precsave.exp: Drop references to removed
15226 non-prototype function header variants in ur1.c.
15227 * gdb.reverse/until-reverse.exp: Likewise.
15229 2014-11-17 Petr Machata <pmachata@redhat.com>
15231 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15232 ${_cu_offset_size} bytes abbrev offset.
15234 2014-11-15 Doug Evans <xdje42@gmail.com>
15237 * gdb.base/line-symtabs.exp: New file.
15238 * gdb.base/line-symtabs.c: New file.
15239 * gdb.base/line-symtabs.h: New file.
15241 2014-11-14 Yao Qi <yao@codesourcery.com>
15243 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15244 (func): Add label func_label.
15245 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15246 Replace low_pc and high_pc with MACRO_AT_range.
15247 Replace name, low_pc and high_pc with MACRO_AT_func.
15249 2014-11-14 Yao Qi <yao@codesourcery.com>
15251 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15252 Replace name, low_pc and high_pc with MACRO_AT_func.
15254 2014-11-14 Yao Qi <yao@codesourcery.com>
15256 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15257 produce debug information.
15258 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15260 2014-11-14 Yao Qi <yao@codesourcery.com>
15262 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15263 object and get function length.
15264 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15265 with MACRO_AT_func.
15266 (top-level): Replace gdb_compile and clean_restart with
15267 prepare_for_testing.
15268 * gdb.dwarf2/main.c (main): Add label main_label.
15270 2014-11-14 Yao Qi <yao@codesourcery.com>
15272 * lib/dwarf.exp (function_range): New procedure.
15273 (Dwarf::_handle_macro_at_func): New procedure.
15274 (Dwarf::_handle_macro_at_range): New procedure.
15275 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15277 2014-11-14 Yao Qi <yao@codesourcery.com>
15279 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15280 (_handle_attribute): New procedure.
15282 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15284 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15285 * gdb.base/call-sc.c (zed): Likewise.
15286 * gdb.base/checkpoint.c (main): Likewise.
15287 * gdb.base/dump.c (main): Likewise.
15288 * gdb.base/gcore.c (main): Likewise.
15289 * gdb.base/huge.c (main): Likewise.
15290 * gdb.base/multi-forks.c (main): Likewise.
15291 * gdb.base/pr10179-a.c (main): Likewise.
15292 * gdb.base/savedregs.c (main): Likewise.
15293 * gdb.base/sigaltstack.c (main): Likewise.
15294 * gdb.base/siginfo.c (main): Likewise.
15295 * gdb.base/structs.c (zed): Likewise.
15296 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15297 * gdb.mi/mi-syn-frame.c (main): Likewise.
15298 * gdb.mi/until.c (foo, main): Likewise.
15299 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15300 * gdb.base/solib-weak.c (foo): Declare.
15301 * gdb.base/attach-twice.c: Include stdio.h.
15302 * gdb.base/weaklib1.c: Likewise.
15303 * gdb.base/weaklib2.c: Likewise.
15304 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15305 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15307 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15308 * gdb.mi/mi-exit-code.c: Likewise.
15309 * gdb.base/break-interp-lib.c: Include string.h.
15310 * gdb.base/coremaker.c: Likewise.
15311 * gdb.base/testenv.c: Likewise.
15312 * gdb.python/py-finish-breakpoint.c: Likewise.
15313 * gdb.base/inferior-died.c: Include sys/wait.h.
15314 * gdb.base/fileio.c: Include time.h.
15315 * gdb.base/async-shell.c: Include unistd.h.
15316 * gdb.base/dprintf-non-stop.c: Likewise.
15317 * gdb.base/info-os.c: Likewise.
15318 * gdb.mi/mi-console.c: Likewise.
15319 * gdb.mi/watch-nonstop.c: Likewise.
15320 * gdb.python/py-events.c: Likewise.
15321 * gdb.base/async.c (baz): Move up before its invocation.
15322 * gdb.base/code_elim2.c (my_global_func): Likewise.
15323 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15324 * gdb.base/advance.c (func2): Likewise.
15326 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15328 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15330 * gdb.base/annota3.c: Likewise.
15331 * gdb.base/async.c: Likewise.
15332 * gdb.base/average.c: Likewise.
15333 * gdb.base/call-ar-st.c: Likewise.
15334 * gdb.base/call-rt-st.c: Likewise.
15335 * gdb.base/call-sc.c: Likewise.
15336 * gdb.base/call-strs.c: Likewise.
15337 * gdb.base/ending-run.c: Likewise.
15338 * gdb.base/execd-prog.c: Likewise.
15339 * gdb.base/exprs.c: Likewise.
15340 * gdb.base/foll-exec.c: Likewise.
15341 * gdb.base/foll-fork.c: Likewise.
15342 * gdb.base/foll-vfork.c: Likewise.
15343 * gdb.base/funcargs.c: Likewise.
15344 * gdb.base/gcore.c: Likewise.
15345 * gdb.base/jump.c: Likewise.
15346 * gdb.base/langs0.c: Likewise.
15347 * gdb.base/langs1.c: Likewise.
15348 * gdb.base/langs2.c: Likewise.
15349 * gdb.base/mips_pro.c: Likewise.
15350 * gdb.base/nodebug.c: Likewise.
15351 * gdb.base/opaque0.c: Likewise.
15352 * gdb.base/opaque1.c: Likewise.
15353 * gdb.base/recurse.c: Likewise.
15354 * gdb.base/run.c: Likewise.
15355 * gdb.base/scope0.c: Likewise.
15356 * gdb.base/scope1.c: Likewise.
15357 * gdb.base/setshow.c: Likewise.
15358 * gdb.base/setvar.c: Likewise.
15359 * gdb.base/shmain.c: Likewise.
15360 * gdb.base/shr1.c: Likewise.
15361 * gdb.base/shr2.c: Likewise.
15362 * gdb.base/sigall.c: Likewise.
15363 * gdb.base/signals.c: Likewise.
15364 * gdb.base/so-indr-cl.c: Likewise.
15365 * gdb.base/solib2.c: Likewise.
15366 * gdb.base/structs.c: Likewise.
15367 * gdb.base/sum.c: Likewise.
15368 * gdb.base/vforked-prog.c: Likewise.
15369 * gdb.base/watchpoint.c: Likewise.
15370 * gdb.reverse/shr2.c: Likewise.
15371 * gdb.reverse/until-reverse.c: Likewise.
15372 * gdb.reverse/ur1.c: Likewise.
15373 * gdb.reverse/watch-reverse.c: Likewise.
15375 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15377 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15379 * gdb.base/sepdebug.exp: Drop references to removed code.
15381 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15383 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15384 variant. Preserve original line numbering.
15385 * gdb.base/list1.c: Likewise.
15387 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15389 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15391 * gdb.base/break1.c: Likewise.
15392 * gdb.base/break.exp: Drop references to removed code.
15394 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15396 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15399 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15401 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15403 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15405 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15406 logic into perform_all_tests() and invoke it with and without
15407 function header prototypes.
15408 (do_function_calls): Remove conditional XFAIL for PR 5318.
15409 (rerun_and_prepare): Remove duplicate code.
15410 (perform_all_tests): New. Main logic moved here.
15412 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15414 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15415 code guarded by #ifdef NO_PROTOTYPES.
15416 (t_double_many_args): Likewise.
15417 (DEF_FUNC_MANY_ARGS_1): Likewise.
15418 (DEF_FUNC_VALUES_1): Likewise.
15419 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15420 guarded by #ifdef PROTOTYPES.
15422 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15424 * gdb.mi/mi-console.c: Add eye-catcher.
15425 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15426 instead of literal line number.
15428 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15430 * gdb.base/shr2.c: Add eye-catcher.
15431 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15434 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15436 * gdb.base/jump.c: Add eye-catchers.
15437 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15440 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15442 * gdb.base/execd-prog.c: Add eye-catchers.
15443 * gdb.base/foll-exec.c: Likewise.
15444 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15447 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15449 * gdb.base/ending-run.c: Add eye-catchers.
15450 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15451 literal line numbers.
15453 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15455 * gdb.base/call-rt-st.c: Add eye-catchers.
15456 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15457 literal line numbers.
15459 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15461 * gdb.base/call-ar-st.c: Add eye-catchers.
15462 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15463 literal line numbers.
15465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15467 * gdb.base/average.c: Add eye-catchers.
15468 * gdb.base/sum.c: Likewise.
15469 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15470 regexps dynamically.
15472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15474 * gdb.base/solib1.c: Add eye-catchers.
15475 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15476 literal line numbers.
15478 2014-11-12 Pedro Alves <palves@redhat.com>
15480 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15483 2014-11-12 Pedro Alves <palves@redhat.com>
15485 * gdb.arch/i386-bp_permanent.c: New file.
15486 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15487 (srcfile): Set to i386-bp_permanent.c.
15488 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15489 that stepi does not execute the 'leave' instruction, instead of
15490 testing it does execute.
15491 * gdb.base/bp-permanent.c: New file.
15492 * gdb.base/bp-permanent.exp: New file.
15494 2014-11-10 Doug Evans <xdje42@gmail.com>
15497 * gdb.base/symtab-search-order.exp: New file.
15498 * gdb.base/symtab-search-order.c: New file.
15499 * gdb.base/symtab-search-order-1.c: New file.
15500 * gdb.base/symtab-search-order-shlib-1.c: New file.
15502 2014-11-07 Pedro Alves <palves@redhat.com>
15505 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15508 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15511 * gdb.cp/pr17494.cc: New file.
15512 * gdb.cp/pr17494.exp: New file.
15514 2014-11-02 Yao Qi <yao@codesourcery.com>
15516 * gdb.python/python.exp: Get working directory and match the
15517 output of "set extended-prompt \\w " with it.
15519 2014-10-30 Doug Evans <dje@google.com>
15521 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15523 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15526 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15528 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15529 * gdb.base/realname-expand.exp: Likewise.
15530 * gdb.linespec/macro-relative.exp: Likewise.
15532 2014-10-29 Pedro Alves <palves@redhat.com>
15535 * gdb.threads/schedlock.c (some_function): New function.
15536 (call_function): New global.
15537 (MAYBE_CALL_SOME_FUNCTION): New macro.
15538 (thread_function): Call it.
15539 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15540 and use it instead of a global counter. Adjust all callers.
15541 (get_current_thread): Use "find current thread" for test message
15542 here rather than having all callers pass down the same string.
15543 (goto_loop): New procedure, factored out from ...
15544 (my_continue): ... this.
15545 (step_ten_loops): Change parameter from test message to command to
15547 (list_count): Delete global.
15548 (check_result): New procedure, factored out from duplicate top
15550 (continue tests): Wrap in with_test_prefix.
15551 (test_step): New procedure, factored out from duplicate top level
15553 (top level): Test "step" in combination with all scheduler-locking
15554 modes. Test "next" in combination with all scheduler-locking
15555 modes, and in combination with stepping over a function call or
15557 * gdb.threads/next-bp-other-thread.c: New file.
15558 * gdb.threads/next-bp-other-thread.exp: New file.
15560 2014-10-29 Pedro Alves <palves@redhat.com>
15563 * gdb.python/python.exp: Test a multi-line command that spawns
15564 interactive Python.
15565 * gdb.base/multi-line-starts-subshell.exp: New file.
15567 2014-10-29 Yao Qi <yao@codesourcery.com>
15569 * gdb.base/fileio.exp: Make directories on host.
15571 2014-10-29 Yao Qi <yao@codesourcery.com>
15573 * gdb.base/fileio.c (test_write): Close the file.
15575 2014-10-28 Pedro Alves <palves@redhat.com>
15578 * gdb.base/sigstep.c (no_handler): New global.
15579 (main): If 'no_handler is true, set the signal handlers to
15581 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15582 with_sw_watch and no_handler parameters. Handle them.
15583 (top level) <stepping over handler when stopped at a breakpoint
15584 test>: Add a test axis for testing with a software watchpoint, and
15585 another for testing with the signal handler set to SIG_IGN.
15586 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15587 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15589 2014-10-28 Pedro Alves <palves@redhat.com>
15592 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15593 * gdb.base/sigstep.exp (other_handler_location): New global.
15594 (advance): Support stepping into the signal handler, and running
15595 commands while in the handler.
15596 (in_handler_map): New global.
15597 (top level): In the advance test, add combinations for getting
15598 into the handler with stepping commands, and for running commands
15599 in the handler. Add comment descripting the advancei tests.
15601 2014-10-28 Pedro Alves <palves@redhat.com>
15603 * gdb.base/sigstep.exp: Use build_executable instead of
15604 prepare_for_testing.
15605 (top level): Move code that starts GDB, runs to main and creates a
15607 (restart): ... this new procedure.
15608 (top level): Move backtrace from signal handler test to ...
15609 (validate_backtrace): ... this new procedure.
15610 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15611 with_test_prefix. Always restart GDB.
15612 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15613 with_test_prefix. Always restart GDB. No need to delete
15614 breakpoints after the test.
15615 (test_skip_handler): Remove prefix parameter.
15616 (skip_over_handler, breakpoint_to_handler)
15617 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15618 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15619 restart GDB. No need to delete breakpoints after the test.
15620 (top level): Use foreach to call the test procedures with
15621 different commands.
15623 2014-10-28 Pedro Alves <palves@redhat.com>
15625 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15626 instead of GNATS numbers.
15627 * gdb.base/sigbpt.exp: Likewise.
15628 * gdb.base/siginfo.exp: Likewise.
15629 * gdb.base/sigstep.exp: Likewise.
15631 2014-10-27 Pedro Alves <palves@redhat.com>
15633 * gdb.base/sigstep.c (dummy): New global.
15634 (main): Issue a couple writes to the new global.
15635 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15637 (skip_over_handler): Use test_skip_handler.
15638 (top level): Call skip_over_handler for stepi and nexti too.
15639 (breakpoint_over_handler): Use test_skip_handler.
15640 (top level): Call breakpoint_over_handler for stepi and nexti too.
15642 2014-10-27 Yao Qi <yao@codesourcery.com>
15644 * gdb.trace/tfile.c (adjust_function_address)
15645 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15646 function descriptor.
15648 2014-10-24 Don Breazeal <donb@codesourcery.com>
15650 * gdb.base/foll-fork.exp (test_follow_fork,
15651 catch_fork_child_follow): Check for updated fork messages emitted
15653 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15654 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15655 vfork_and_exec_child_follow_through_step): Check for updated vfork
15656 messages emitted from infrun.c.
15658 2014-10-24 Pedro Alves <palves@redhat.com>
15660 * gdb.base/corefile.exp: Remove references to ultrix.
15661 * gdb.base/interrupt.exp: Likewise.
15662 * gdb.base/whatis.exp: Likewise.
15663 * gdb.gdb/selftest.exp: Likewise.
15664 * gdb.threads/manythreads.exp: Likewise.
15665 * gdb.threads/print-threads.exp: Likewise.
15666 * gdb.threads/pthreads.exp:: Likewise.
15667 * gdb.threads/schedlock.exp: Likewise.
15669 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15671 * gdb.cp/non-trivial-retval.cc: Add a test case.
15672 * gdb.cp/non-trivial-retval.exp: Add a test.
15674 2014-10-20 Yao Qi <yao@codesourcery.com>
15676 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15677 * gdb.python/py-objfile-script-gdb.py: New file.
15678 * gdb.python/py-objfile-script.exp: Update reference to
15679 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15680 of remote_download. Remove the dest file.
15682 2014-10-20 Yao Qi <yao@codesourcery.com>
15684 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15685 * gdb.base/step-line.exp: Likewise.
15686 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15687 * gdb.dwarf2/dw2-basic.exp: Likewise.
15688 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15689 * gdb.dwarf2/dw2-filename.exp: Likewise.
15690 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15691 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15692 * gdb.dwarf2/dw2-producer.exp: Likewise.
15693 * gdb.dwarf2/mac-fileno.exp: Likewise.
15694 * gdb.python/py-frame-args.exp: Likewise.
15695 * gdb.python/py-framefilter.exp: Likewise.
15696 * gdb.python/py-mi.exp: Likewise.
15697 * gdb.python/py-objfile-script.exp: Likewise
15698 * gdb.python/py-pp-integral.exp: Likewise.
15699 * gdb.python/py-pp-re-notag.exp: Likewise.
15700 * gdb.python/py-prettyprint.exp: Likewise.
15701 * gdb.python/py-section-script.exp: Likewise.
15702 * gdb.python/py-typeprint.exp: Likewise.
15703 * gdb.python/py-xmethods.exp: Likewise.
15704 * gdb.stabs/weird.exp: Likewise.
15705 * gdb.xml/tdesc-regs.exp: Likewise.
15707 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15709 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15710 (out_cu): Use addr_len for the size of addresses.
15711 (out_line): Likewise. Size DW_LNE_set_address instruction
15712 according to addr_len.
15713 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15714 (FUNC): Add START_INSNS to definition.
15716 2014-10-18 Yao Qi <yao@codesourcery.com>
15718 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15719 gdb_has_argv0 return true.
15720 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15721 check [target_info exists noargs], check [gdb_has_argv0]
15723 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15724 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15727 2014-10-17 Doug Evans <dje@google.com>
15729 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15731 * gdb.python/py-events.py: Add clear_objfiles event.
15733 2014-10-17 Doug Evans <dje@google.com>
15735 * gdb.python/py-objfile.exp: Test progspace attribute.
15737 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15739 * gdb.guile/scm-breakpoint.exp: Do not assume any
15740 directory separators when matching source file paths.
15741 * gdb.python/py-breakpoint.exp: Likewise.
15742 * gdb.reverse/break-precsave.exp: Likewise.
15743 * gdb.reverse/break-reverse.exp: Likewise.
15744 * gdb.reverse/consecutive-precsave.exp: Likewise.
15745 * gdb.reverse/finish-precsave.exp: Likewise.
15746 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15747 * gdb.reverse/finish-reverse.exp: Likewise.
15748 * gdb.reverse/i386-precsave.exp: Likewise.
15749 * gdb.reverse/i387-env-reverse.exp: Likewise.
15750 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15751 * gdb.reverse/machinestate-precsave.exp: Likewise.
15752 * gdb.reverse/machinestate.exp: Likewise.
15753 * gdb.reverse/sigall-precsave.exp: Likewise.
15754 * gdb.reverse/solib-precsave.exp: Likewise.
15755 * gdb.reverse/step-precsave.exp: Likewise.
15756 * gdb.reverse/until-precsave.exp: Likewise.
15757 * gdb.reverse/watch-precsave.exp: Likewise.
15758 * gdb.reverse/watch-reverse.exp: Likewise.
15760 2014-10-17 Yao Qi <yao@codesourcery.com>
15762 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15763 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15765 2014-10-17 Pedro Alves <palves@redhat.com>
15768 * gdb.base/bg-execution-repeat.c: New file.
15769 * gdb.base/bg-execution-repeat.exp: New file.
15771 2014-10-17 Pedro Alves <palves@redhat.com>
15774 * gdb.base/continue-all-already-running.c: New file.
15775 * gdb.base/continue-all-already-running.exp: New file.
15777 2014-10-17 Pedro Alves <palves@redhat.com>
15780 * gdb.base/annota-input-while-running.c: New file.
15781 * gdb.base/annota-input-while-running.exp: New file.
15783 2014-10-17 Pedro Alves <palves@redhat.com>
15785 * gdb.base/callfuncs.exp: emove references to osf.
15786 * gdb.base/sigall.exp: Likewise.
15787 * gdb.gdb/selftest.exp: Likewise.
15788 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15789 * gdb.mi/non-stop.c: Likewise.
15790 * gdb.mi/pthreads.c: Likewise.
15791 * gdb.reverse/sigall-precsave.exp: Likewise.
15792 * gdb.reverse/sigall-reverse.exp: Likewise.
15793 * gdb.threads/pthreads.c: Likewise.
15794 * gdb.threads/pthreads.exp: Likewise.
15796 2014-10-17 Yao Qi <yao@codesourcery.com>
15798 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15799 check 'target_info exists noargs'.
15800 (test_command_prompt_position): Likewise.
15801 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15803 (progvar_simple_while_test): Likewise.
15804 (progvar_complex_if_while_test): Likewise.
15805 (if_while_breakpoint_command_test): Likewise.
15806 (infrun_breakpoint_command_test): Likewise.
15807 (breakpoint_command_test): Likewise.
15808 (watchpoint_command_test): Likewise.
15809 (bp_deleted_in_command_test): Likewise.
15810 (temporary_breakpoint_commands): Likewise.
15812 2014-10-16 Yao Qi <yao@codesourcery.com>
15814 * gdb.base/remotetimeout.exp: Remove noargs checking.
15816 2014-10-15 Pedro Alves <palves@redhat.com>
15818 PR breakpoints/9649
15819 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15820 * gdb.base/breakpoint-in-ro-region.exp
15821 (probe_target_hardware_step): New procedure.
15822 (top level): Probe hardware stepping and hardware breakpoint
15823 support. Test stepping through a read-only region, with both
15824 "breakpoint auto-hw" on and off and both "always-inserted" on and
15827 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15829 * gdb.dlang/demangle.exp: Update for demangling changes.
15831 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15833 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15834 * gdb.cp/non-trivial-retval.exp: Add new tests.
15836 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15840 * gdb.cp/non-trivial-retval.cc: New file.
15841 * gdb.cp/non-trivial-retval.exp: New file.
15843 2014-10-15 Yao Qi <yao@codesourcery.com>
15845 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15848 2014-10-15 Yao Qi <yao@codesourcery.com>
15850 * gdb.python/py-symbol.exp: Match file base name if host is
15851 remote, otherwise match file name with dir name.
15852 * gdb.python/py-symtab.exp: Likewise.
15853 * gdb.python/python.exp: Likewise.
15855 2014-10-15 Yao Qi <yao@codesourcery.com>
15857 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15859 * gdb.python/py-symtab.exp: Likewise.
15860 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15863 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15865 * gdb.ada/addr_arith: New testcase.
15867 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15869 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15870 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15871 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15872 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15874 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15876 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15877 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15878 * gdb.arch/stap-eval-lang-ada.exp: New file.
15880 2014-10-14 Yao Qi <yao@codesourcery.com>
15882 * gdb.mi/mi-var-child.c (nothing1): New function.
15883 (nothing2): New function.
15884 (do_children_tests): Set function pointers by nothing1 and
15886 * gdb.mi/mi-var-child.exp: Step over new added statements.
15887 Update test to match the new output.
15888 * gdb.mi/var-cmd.c (nothing1): New function.
15889 (nothing2): New function.
15890 (do_children_tests): Set function pointers by nothing1 and
15892 * gdb.mi/mi-var-display.exp: Update test to match output.
15893 Step to the line specified by $line_dct_nothing.
15894 Increase the number of lines to step.
15896 2014-10-14 Yao Qi <yao@codesourcery.com>
15898 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15900 * gdb.mi/mi2-var-child.exp: Likewise.
15902 2014-10-13 Doug Evans <dje@google.com>
15904 * gdb.python/py-objfile.exp: Change name of file name test.
15906 2014-10-13 Doug Evans <dje@google.com>
15908 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15909 from the start of the CU.
15911 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15912 Yao Qi <yao@codesourcery.com>
15914 Fix "save breakpoints" for "catch" command.
15915 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15916 Remove -nonewline. Match also the added "main" line.
15918 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15920 Fix "save breakpoints" for "disable $bpnum" command.
15921 * gdb.base/save-bp.c (main): Add label.
15922 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15924 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15926 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15928 2014-10-11 Yao Qi <yao@codesourcery.com>
15930 * gdb.server/server-kill.exp: Execute command
15931 "set remote trace-status-packet on" before "tstatus".
15933 2014-10-11 Yao Qi <yao@codesourcery.com>
15935 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15936 (main): Call getppid.
15937 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15938 and continue to it. Read variable "server_pid".
15940 2014-10-11 Yao Qi <yao@codesourcery.com>
15942 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15944 2014-10-11 Yao Qi <yao@codesourcery.com>
15946 * gdb.threads/thread-find.exp: Don't execute command
15948 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15949 * gdb.threads/linux-dp.exp: Don't check the condition
15950 $threads_created equals to zero.
15952 2014-10-10 Pedro Alves <palves@redhat.com>
15954 * gdb.base/bigcore.exp: Remove references to IRIX.
15955 * gdb.base/funcargs.exp: Likewise.
15956 * gdb.base/interrupt.exp: Likewise.
15957 * gdb.base/mips_pro.exp: Likewise.
15958 * gdb.base/nodebug.exp: Likewise.
15959 * gdb.base/setvar.exp: Likewise.
15960 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15962 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15963 Pedro Alves <palves@redhat.com>
15966 * gdb.base/vdso-warning.c: New file.
15967 * gdb.base/vdso-warning.exp: New file.
15969 2014-10-02 Doug Evans <dje@google.com>
15971 * gdb.base/structs.c (main): Don't run forever.
15973 2014-10-02 Pedro Alves <palves@redhat.com>
15975 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15976 (top level) <stop threads 1, stop threads 2>: Use it.
15978 2014-10-02 Pedro Alves <palves@redhat.com>
15980 * gdb.threads/break-while-running.exp (test): Add new
15981 'update_thread_list' argument. Skip "info threads" if false.
15982 (top level): Add new 'update_thread_list' axis.
15984 2014-10-02 Pedro Alves <palves@redhat.com>
15986 PR breakpoints/17431
15987 * gdb.base/execl-update-breakpoints.c: New file.
15988 * gdb.base/execl-update-breakpoints.exp: New file.
15990 2014-10-01 Pedro Alves <palves@redhat.com>
15992 * gdb.base/breakpoint-in-ro-region.c: New file.
15993 * gdb.base/breakpoint-in-ro-region.exp: New file.
15995 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15997 * gdb.mi/mi-exit-code.exp: New file.
15998 * gdb.mi/mi-exit-code.c: New file.
16000 2014-09-30 Yao Qi <yao@codesourcery.com>
16002 * lib/prelink-support.exp (build_executable_own_libs): Error if
16003 the target isn't native.
16005 2014-09-30 Yao Qi <yao@codesourcery.com>
16007 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16010 2014-09-22 Pedro Alves <palves@redhat.com>
16012 * gdb.threads/break-while-running.exp: New file.
16013 * gdb.threads/break-while-running.c: New file.
16015 2014-09-19 Yao Qi <yao@codesourcery.com>
16017 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16018 Invoke test. Restart GDB with --readnow and invoke test again.
16020 2014-09-19 Yao Qi <yao@codesourcery.com>
16022 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16023 proc set_breakpoint_on_gcd_function. Invoke
16024 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16025 invoke set_breakpoint_on_gcd_function again.
16027 2014-09-18 Doug Evans <dje@google.com>
16029 * gdb.dwarf2/symtab-producer.exp: New file.
16031 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16033 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16034 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16035 * gdb.base/global-var-nested-by-dso.c: Likewise.
16036 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16038 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16039 Pedro Alves <palves@redhat.com>
16041 * gdb.base/watch-bitfields.exp: Pass string other than test file
16042 name to prepare_for_testing.
16043 (watch): New procedure.
16044 (expect_watchpoint): Use with_test_prefix.
16045 (top level): Factor out tests to ...
16046 (test_watch_location, test_regular_watch): ... these new
16047 procedures, and use with_test_prefix and gdb_continue_to_end.
16049 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16051 PR breakpoints/12526
16052 * gdb.base/watch-bitfields.exp: New file.
16053 * gdb.base/watch-bitfields.c: New file.
16055 2014-09-16 Pedro Alves <palves@redhat.com>
16057 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16058 software and hardware addresses, not software address against
16061 2014-09-16 Pedro Alves <palves@redhat.com>
16063 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16064 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16066 2014-09-16 Pedro Alves <palves@redhat.com>
16068 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16070 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16071 "*-*-vxworks*" throughout.
16072 * gdb.base/break.exp: Likewise.
16073 * gdb.base/default.exp: Likewise.
16074 * gdb.base/scope.exp: Likewise.
16075 * gdb.base/sepdebug.exp: Likewise.
16076 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16078 * gdb.base/run.c: Likewise.
16079 * gdb.base/sepdebug.c: Likewise.
16080 * gdb.hp/gdb.aCC/run.c: Likewise.
16081 * gdb.reverse/until-reverse.c: Likewise.
16082 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16084 2014-09-16 Yao Qi <yao@codesourcery.com>
16086 * boards/local-remote-host-native.exp: New file.
16088 2014-09-14 Doug Evans <xdje42@gmail.com>
16090 * gdb.threads/queue-signal.c (thread_count): New variable.
16091 (thread_count_mutex, thread_count_condvar): New variables.
16092 (incr_thread_count, wait_all_threads_running): New functions.
16093 (main): Wait for all threads to be in their thread functions.
16095 2014-09-13 Doug Evans <xdje42@gmail.com>
16097 * gdb.threads/queue-signal.c: New file.
16098 * gdb.threads/queue-signal.exp: New file.
16100 2014-09-13 Doug Evans <xdje42@gmail.com>
16102 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16103 be consistent with what default_gdb_init uses.
16104 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16105 the plain text of the prompt. Add some logging printfs.
16106 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16108 2014-09-12 Pedro Alves <palves@redhat.com>
16110 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16111 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16112 * gdb.arch/i386-size-overlap.exp: Likewise.
16113 * gdb.arch/i386-size.exp: Likewise.
16114 * gdb.arch/i386-unwind.exp: Likewise.
16115 * gdb.base/a2-run.exp: Likewise.
16116 * gdb.base/break.exp: Likewise.
16117 * gdb.base/charset.exp: Likewise.
16118 * gdb.base/chng-syms.exp: Likewise.
16119 * gdb.base/commands.exp: Likewise.
16120 * gdb.base/dbx.exp: Likewise.
16121 * gdb.base/find.exp: Likewise.
16122 * gdb.base/funcargs.exp: Likewise.
16123 * gdb.base/jit-simple.exp: Likewise.
16124 * gdb.base/reread.exp: Likewise.
16125 * gdb.base/sepdebug.exp: Likewise.
16126 * gdb.base/step-bt.exp: Likewise.
16127 * gdb.cp/mb-inline.exp: Likewise.
16128 * gdb.cp/mb-templates.exp: Likewise.
16129 * gdb.objc/basicclass.exp: Likewise.
16130 * gdb.threads/killed.exp: Likewise.
16132 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16135 * gdb.arch/powerpc-stackless.S: New file.
16136 * gdb.arch/powerpc-stackless.exp: New file.
16138 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16140 * gdb.base/attach.c: Include unistd.h.
16141 (main): Call alarm. Add label postloop.
16142 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16143 gdb_breakpoint, gdb_continue_to_breakpoint.
16144 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16146 2014-09-11 Pedro Alves <palves@redhat.com>
16149 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16150 * gdb.base/attach.exp (test_command_line_attach_run): New
16152 (top level): Call it.
16154 2014-09-11 Pedro Alves <palves@redhat.com>
16156 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16157 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16158 (do_command_attach_tests): Use spawn_wait_for_attach.
16159 * gdb.base/solib-overlap.exp: Likewise.
16160 * gdb.multi/multi-attach.exp: Likewise.
16161 * gdb.python/py-prompt.exp: Likewise.
16162 * gdb.python/py-sync-interp.exp: Likewise.
16163 * gdb.server/ext-attach.exp: Likewise.
16165 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16167 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16168 command in testcase. Simplify testcase.
16170 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16172 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16174 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16176 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16178 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16180 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16182 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16184 * gdb.dwarf2/dynarr-ptr.c: New file.
16185 * gdb.dwarf2/dynarr-ptr.exp: New file.
16187 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16189 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16190 of 30 rather than hardcoding 120 for a slow test case. Take the
16191 `gdb,timeout' target setting into account for this calculation.
16192 Don't extend the timeout for the test cases that don't need it.
16194 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16196 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16197 a factor of 2 for a slow test case. Take the `gdb,timeout'
16198 target setting into account for this calculation.
16199 * gdb.reverse/until-precsave.exp: Increase the timeout by
16200 a factor of 15 and 3 respectively rather than adding 120
16201 for a pair of slow test cases. Take the `gdb,timeout'
16202 target setting into account for this calculation.
16204 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16206 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16207 timeout, don't pass one down to gdb_expect.
16208 (gdb_expect): Rework timeout selection.
16210 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16212 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16213 exception on timeout.
16214 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16215 (gdbserver_start_extended): Catch any `gdbserver_start' error
16217 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16218 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16219 `gdbserver_gdb_load' error exceptions.
16221 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16223 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16224 120 on waiting for the TCP socket to open.
16226 2014-09-09 Doug Evans <xdje42@gmail.com>
16228 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16229 _caller_matches, _any_caller_is, _any_caller_matches.
16231 2014-09-09 Doug Evans <xdje42@gmail.com>
16233 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16235 2014-09-09 Yao Qi <yao@codesourcery.com>
16237 * gdb.mi/mi-var-display.exp: Set print symbol off.
16239 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16242 * gdb.base/commands.exp: Add tests to verify user-defined
16243 commands with empty bodies.
16244 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16245 python commands in `show user command`.
16246 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16247 scheme commands in `show user command`.
16249 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16252 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16253 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16254 * gdb.python/py-framefilter-invalidarg.exp: New file.
16255 * gdb.python/py-framefilter-invalidarg.py: New file.
16257 2014-09-06 Doug Evans <xdje42@gmail.com>
16260 * gdb.python/py-caller-is.c: New file.
16261 * gdb.python/py-caller-is.exp: New file.
16263 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16266 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16267 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16269 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16272 * gdb.fortran/print-formatted.exp: New file.
16273 * gdb.fortran/print-formatted.f90: Likewise.
16275 2014-09-03 Sasha Smundak <asmundak@google.com>
16277 * gdb.python/py-frame.exp: Test Frame.read_register.
16279 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16282 * gdb.python/py-completion.exp: New file.
16283 * gdb.python/py-completion.py: Likewise.
16285 2014-08-28 Doug Evans <dje@google.com>
16287 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16288 eax,etc. are live with values set by gdb and thus the compiler can't
16290 * gdb.arch/i386-pseudo.c (main): Ditto.
16292 2014-08-27 Doug Evans <dje@google.com>
16294 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16296 2014-08-25 Doug Evans <dje@google.com>
16298 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16301 2014-08-25 Doug Evans <dje@google.com>
16303 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16305 2014-08-24 Yao Qi <yao@codesourcery.com>
16307 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16309 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16311 2014-08-22 Doug Evans <dje@google.com>
16314 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16315 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16316 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16318 2014-08-22 Yao Qi <yao@codesourcery.com>
16320 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16321 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16322 * gdb.python/python.exp: Likewise. Use .py file on the host
16323 instead of the build.
16325 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16327 * gdb.threads/gcore-stale-thread.c: New file.
16328 * gdb.threads/gcore-stale-thread.exp: New file.
16330 2014-08-21 Pedro Alves <palves@redhat.com>
16332 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16333 * gdb.base/gcore-relro-pie.exp: Likewise.
16334 * gdb.base/gcore-relro.exp: Likewise.
16335 * gdb.base/gcore.exp: Likewise.
16336 * gdb.base/print-symbol-loading.exp: Likewise.
16337 * gdb.threads/gcore-thread.exp: Likewise.
16338 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16340 2014-08-20 Pedro Alves <palves@redhat.com>
16341 Jan Kratochvil <jan.kratochvil@redhat.com>
16343 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16345 (EXPECT): Handle READ1 being set.
16346 (all): Depend on EXTRA_RULES.
16347 (check-read1, expect-read1, read1.so, read1): New rules.
16348 * README (Testsuite Parameters): Document the READ1 make variable.
16349 (Race detection): New section.
16350 * configure: Regenerate.
16351 * configure.ac: If build==host==target, and running under a
16352 GNU/glibc system, add read1 to the extra Makefile rules.
16353 (EXTRA_RULES): AC_SUBST it.
16354 * lib/read1.c: New file.
16356 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16358 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16359 the handling of variables declared as a typedef to an array
16360 which a DW_AT_data_location attribute.
16362 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16363 Pedro Alves <palves@redhat.com>
16367 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16370 2014-08-19 Pedro Alves <palves@redhat.com>
16372 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16374 2014-08-19 Yao Qi <yao@codesourcery.com>
16376 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16379 2014-08-18 David Blaikie <dblaikie@gmail.com>
16381 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16383 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16385 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16386 attribute in array range.
16388 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16390 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16392 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16395 * gdb.cp/pr17132.cc: New file.
16396 * gdb.cp/pr17132.exp: New file.
16398 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16400 * gdb.python/py-xmethods.py (A_getarrayind)
16401 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16402 Use 'print' with function call syntax.
16403 (E_method_matcher.match): Fix tab vs space indentation mixup.
16405 2014-08-15 Yao Qi <yao@codesourcery.com>
16407 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16410 2014-08-15 Yao Qi <yao@codesourcery.com>
16412 * gdb.cp/casts.exp: Set print symbol off.
16413 * gdb.cp/class2.exp: Likewise.
16414 * gdb.cp/overload.exp: Likewise.
16415 * gdb.cp/templates.exp: Likewise.
16417 2014-08-11 Doug Evans <dje@google.com>
16419 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16420 (test_load_shlib): Update.
16422 2014-08-09 Yao Qi <yao@codesourcery.com>
16424 * gdb.base/display.exp: Invoke is_address_zero_readable.
16425 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16426 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16427 * gdb.base/hbreak-unmapped.exp: Return if
16428 is_address_zero_readable returns true.
16429 * gdb.base/signest.exp: Likewise.
16430 * gdb.base/signull.exp: Likewise.
16431 * gdb.base/sigbpt.exp: Likewise.
16432 * gdb.guile/scm-disasm.exp: Do the test if
16433 is_address_zero_readable returns false.
16434 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16435 * gdb.python/py-arch.exp: Likewise.
16436 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16437 * lib/gdb.exp (is_address_zero_readable): New proc.
16439 2014-08-09 Yao Qi <yao@codesourcery.com>
16442 * gdb.mi/mi-var-display.exp: Make test messages unique.
16444 2014-08-04 Tom Tromey <tromey@redhat.com>
16446 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16449 2014-08-04 Tom Tromey <tromey@redhat.com>
16451 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16454 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16456 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16457 inner_vla_struct_object_size.
16458 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16461 2014-07-30 Pedro Alves <palves@redhat.com>
16463 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16466 2014-07-29 Yao Qi <yao@codesourcery.com>
16469 * gdb.base/until-nodebug.exp: New.
16471 2014-07-28 Doug Evans <xdje42@gmail.com>
16474 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16475 previously existing parameter, and previously ambiguously spelled
16478 2014-07-28 Will Newton <will.newton@linaro.org>
16480 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16482 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16483 Doug Evans <xdje42@gmail.com>
16486 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16488 2014-07-25 Pedro Alves <palves@redhat.com>
16490 * gdb.threads/signal-command-handle-nopass.c: New file.
16491 * gdb.threads/signal-command-handle-nopass.exp: New file.
16492 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16493 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16494 * gdb.threads/signal-delivered-right-thread.c: New file.
16495 * gdb.threads/signal-delivered-right-thread.exp: New file.
16497 2014-07-25 Pedro Alves <palves@redhat.com>
16499 * gdb.base/double-prompt-target-event-error.exp
16500 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16502 (cancel_pagination_in_target_event): Rework double prompt
16504 * gdb.base/paginate-after-ctrl-c-running.exp
16505 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16507 * gdb.base/paginate-bg-execution.exp
16508 (test_bg_execution_pagination_return)
16509 (test_bg_execution_pagination_cancel): Remove '-notransfer
16511 * gdb.base/paginate-execution-startup.exp
16512 (test_fg_execution_pagination_return)
16513 (test_fg_execution_pagination_cancel): Remove '-notransfer
16515 * gdb.base/paginate-inferior-exit.exp
16516 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16518 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16519 * lib/gdb.exp (pagination_prompt): Run text through
16521 (gdb_test_multiple): Match $pagination_prompt instead of
16523 (string_to_regexp): Move to lib/gdb-utils.exp.
16525 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16527 * gdb.arch/amd64-entry-value-paramref.S: New file.
16528 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16529 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16530 * gdb.arch/amd64-optimout-repeat.S: New file.
16531 * gdb.arch/amd64-optimout-repeat.c: New file.
16532 * gdb.arch/amd64-optimout-repeat.exp: New file.
16534 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16537 * gdb.base/statistics.exp: New file.
16539 2014-07-17 Doug Evans <dje@google.com>
16542 * gdb.base/maint.exp: Update testing of per-command stats.
16544 2014-07-16 Pedro Alves <palves@redhat.com>
16546 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16547 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16548 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16549 (tfile_write_buf): New functions.
16550 (add_memory_block): Rewrite using the above.
16551 (adjust_function_address): New function.
16552 (FUNCTION_ADDRESS): New macro.
16553 (write_basic_trace_file): Remove short_x local, and use
16554 tfile_write_16. Change type of func_addr local to unsigned long
16555 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16556 here. Cast argument of add_memory_block to char pointer.
16557 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16558 (main): Remove parameters.
16559 * gdb.trace/tfile.exp: Remove nowarnings.
16561 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16563 * gdb.base/debug-expr.exp: Test string evaluation with
16564 "debug expression" on.
16566 2014-07-15 Pedro Alves <palves@redhat.com>
16568 * gdb.base/reread.exp: Use clean_restart.
16570 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16572 * gdb.arch/avr-flash-qualifer.c: New.
16573 * gdb.arch/avr-flash-qualifer.exp: New.
16575 2014-07-14 Pedro Alves <palves@redhat.com>
16577 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16578 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16580 2014-07-14 Pedro Alves <palves@redhat.com>
16582 * gdb.base/double-prompt-target-event-error.c: New file.
16583 * gdb.base/double-prompt-target-event-error.exp: New file.
16585 2014-07-14 Pedro Alves <palves@redhat.com>
16588 * gdb.base/paginate-inferior-exit.c: New file.
16589 * gdb.base/paginate-inferior-exit.exp: New file.
16591 2014-07-14 Pedro Alves <palves@redhat.com>
16594 * gdb.base/paginate-bg-execution.c: New file.
16595 * gdb.base/paginate-bg-execution.exp: New file.
16597 2014-07-14 Pedro Alves <palves@redhat.com>
16600 * gdb.base/paginate-execution-startup.c: New file.
16601 * gdb.base/paginate-execution-startup.exp: New file.
16602 * lib/gdb.exp (pagination_prompt): New global.
16603 (default_gdb_spawn): New procedure, factored out from
16605 (default_gdb_start): Adjust to call default_gdb_spawn.
16606 (gdb_spawn): New procedure.
16608 2014-07-14 Pedro Alves <palves@redhat.com>
16610 * lib/gdb.exp (gdb_assert): New procedure.
16611 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16613 2014-07-14 Pedro Alves <palves@redhat.com>
16615 * gdb.base/execution-termios.c: New file.
16616 * gdb.base/execution-termios.exp: New file.
16618 2014-07-14 Tom Tromey <tromey@redhat.com>
16620 * gdb.cp/vla-cxx.cc: New file.
16621 * gdb.cp/vla-cxx.exp: New file.
16623 2014-07-14 Tom Tromey <tromey@redhat.com>
16625 * gdb.reverse/rerun-prec.c: New file.
16626 * gdb.reverse/rerun-prec.exp: New file.
16628 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16629 Maciej W. Rozycki <macro@codesourcery.com>
16631 * lib/gdb-utils.exp: New file.
16632 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16633 inline `gdb_init_command' processing.
16634 (gdb_start_cmd): Likewise.
16635 * lib/mi-support.exp (mi_run_cmd): Likewise.
16636 * README: Document `gdb_init_command' and `gdb_init_commands'.
16638 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16640 Fix false FAIL running under a very long directory name.
16641 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16642 and "set print elements 10000". Twice.
16644 2014-07-11 Yao Qi <yao@codesourcery.com>
16646 * gdb.base/exprs.exp: "set print symbol off".
16648 2014-07-11 Pedro Alves <palves@redhat.com>
16650 * gdb.threads/kill.c: New file.
16651 * gdb.threads/kill.exp: New file.
16653 2014-07-10 Yao Qi <yao@codesourcery.com>
16655 * gdb.trace/tfile.c (write_basic_trace_file)
16656 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16657 address written to trace file.
16659 2014-07-09 Pedro Alves <palves@redhat.com>
16661 * gdb.base/attach-wait-input.exp: New file.
16662 * gdb.base/attach-wait-input.c: New file.
16664 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16666 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16667 setting up test structures.
16668 (main): Call new test function.
16669 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16670 test function, continue into test function and walk test
16673 2014-07-02 Yao Qi <yao@codesourcery.com>
16675 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16676 'bar_start' at the beginning of functions 'foo' and 'bar'
16678 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16679 instead of 'foo' and 'bar'.
16681 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16683 * gdb.btrace/segv.exp: New.
16684 * gdb.btrace/segv.c: New.
16686 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16688 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16691 2014-06-30 Mark Wielaard <mjw@redhat.com>
16693 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16694 vulture, vilify, villar): New volatile array constants.
16695 (vindictive, vegetation): New const volatile array constants.
16696 * gdb.base/volatile.exp: Test volatile and const volatile array
16699 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16701 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16702 target lacks support for awatch, rwatch, or hbreak.
16704 2014-06-27 Yao Qi <yao@codesourcery.com>
16706 * gdb.multi/dummy-frame-restore.exp: New.
16707 * gdb.multi/dummy-frame-restore.c: New.
16709 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16711 * gdb.btrace/gcore.exp: New.
16713 2014-06-23 Pedro Alves <palves@redhat.com>
16715 * gdb.base/watchpoint-reuse-slot.c: New file.
16716 * gdb.base/watchpoint-reuse-slot.exp: New file.
16718 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16720 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16721 progspace's filename in 'info', 'enable' and 'disable' command
16724 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16726 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16727 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16728 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16730 2014-06-20 Gary Benson <gbenson@redhat.com>
16732 * gdb.arch/i386-avx.exp: Fix include file location.
16733 * gdb.arch/i386-sse.exp: Likewise.
16735 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16737 * gdb.dlang/expression.exp: New file.
16739 2014-06-19 Pedro Alves <palves@redhat.com>
16741 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16743 (top level): ... here. Iterate running tests under different
16744 scheduler-locking settings.
16746 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16748 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16749 to DW_FORM_addr and use non-zero addresses.
16751 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16754 * gdb.python/py-xmethods.cc: Add global function call counters and
16755 increment them in their respective functions. Remove "cout"
16757 * gdb.python/py-xmethods.exp: Make tests check the global function
16758 call counters instead of depending on inferior IO.
16760 2014-06-18 Don Breazeal <donb@codesourcery.com>
16762 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16764 (explicit_fork_parent_follow): Deleted procedure.
16765 (explicit_fork_child_follow): Deleted procedure.
16766 (test_follow_fork): New procedure.
16767 (do_fork_tests): Replace calls to deleted procedures with
16768 calls to test_follow_fork and reset GDB for subsequent
16771 2014-06-17 Yao Qi <yao@codesourcery.com>
16773 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16776 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16778 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16779 Initialize ptr and S explicitly.
16780 (skip_type_update_when_not_use_rtti_test): Likewise.
16782 2014-06-16 Keith Seitz <keiths@redhat.com>
16785 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16786 the inferior is started.
16788 2014-06-16 Pedro Alves <palves@redhat.com>
16790 * gdb.base/break-main-file-remove-fail.c: New file.
16791 * gdb.base/break-main-file-remove-fail.exp: New file.
16792 * gdb.base/break-unload-file.exp: Use build_executable instead of
16793 prepare_for_testing.
16794 (test_break): New parameter "initial_load". Handle it.
16795 (top level): Add initial_load cmdline/file axis.
16797 2014-06-12 Tom Tromey <tromey@redhat.com>
16799 * gdb.base/completion.exp: Don't use directory name in test.
16801 2014-06-09 Gary Benson <gbenson@redhat.com>
16803 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16804 separate the always-available ANSI-standard signals from the
16805 signals that require checking.
16807 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16811 2014-06-07 Keith Seitz <keiths@redhat.com>
16815 * gdb.cp/var-tag.cc: New file.
16816 * gdb.cp/var-tag.exp: New file.
16817 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16818 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16819 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16820 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16822 2014-06-06 Doug Evans <xdje42@gmail.com>
16824 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16826 2014-06-06 Pedro Alves <palves@redhat.com>
16828 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16829 in target debug output instead of looking at RSP packets,
16830 disabling the test on any target that uses hardware stepping.
16833 2014-06-06 Pedro Alves <palves@redhat.com>
16835 * gdb.base/break-unload-file.exp: Fix typo.
16837 2014-06-06 Yao Qi <yao@codesourcery.com>
16839 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16840 from "jit_function" to "^jit_function".
16842 2014-06-06 Yao Qi <yao@codesourcery.com>
16844 * gdb.base/async.c (foo): Add one statement.
16845 * gdb.base/async.exp: Get the next instruction address and
16846 match the output of "nexti" by instruction address. Match
16847 the hex address in the output of "finish".
16849 2014-06-06 Gary Benson <gbenson@redhat.com>
16851 * gdb.base/call-signals.c: Remove preprocessor conditionals
16852 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16853 SIGSEGV and SIGTERM.
16854 * gdb.base/sigall.c: Likewise.
16855 * gdb.base/unwindonsignal.c: Likewise.
16856 * gdb.reverse/sigall-reverse.c: Likewise.
16858 2014-06-06 Yao Qi <yao@codesourcery.com>
16860 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16861 readable, skip the test.
16863 2014-06-06 Yao Qi <yao@codesourcery.com>
16865 * gdb.threads/staticthreads.c (thread_function): Move the line
16866 setting breakpoint on forward.
16867 * gdb.threads/staticthreads.exp: Update comments.
16869 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16871 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16872 "history-append! type error".
16874 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16876 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16877 erroneous dprintf expected input.
16879 2014-06-04 Doug Evans <xdje42@gmail.com>
16881 * gdb.guile/scm-generics.exp: Delete.
16883 2014-06-04 Doug Evans <xdje42@gmail.com>
16885 * gdb.guile/scm-breakpoint.exp: Update.
16886 Add tests for breakpoint registration.
16888 2014-06-04 Tom Tromey <tromey@redhat.com>
16890 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16892 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16893 inner_vla_struct, vla_union types. Initialize objects of those
16894 types and compute their sizes.
16896 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16897 Hui Zhu <hui@codesourcery.com>
16899 * gdb.base/fileio.exp: Add test for shell not available as well as
16901 * gdb.base/fileio.c (test_system): Check for shell twice.
16903 2014-06-04 Yao Qi <yao@codesourcery.com>
16905 * gdb.base/auto-connect-native-target.exp: Remove redundant
16906 space from the regexp pattern.
16908 2014-06-04 Yao Qi <yao@codesourcery.com>
16910 * gdb.base/default.exp: Replace "child" with "native" in
16913 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16915 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16916 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16917 * gdb.python/py-xmethods.py: Python script supporting the
16918 new testcase and tests.
16920 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16921 Pedro Alves <palves@redhat.com>
16923 PR breakpoints/17000
16924 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16925 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16927 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16929 * gdb.base/subst.exp: Add tests to verify partial path matching
16932 2014-06-03 Pedro Alves <palves@redhat.com>
16934 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16935 target that doesn't use software single-stepping.
16937 2014-06-03 Pedro Alves <palves@redhat.com>
16939 PR breakpoints/17000
16940 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16941 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16943 2014-06-02 Doug Evans <xdje42@gmail.com>
16945 * gdb.guile/scm-parameter.exp: New file.
16947 2014-06-02 Doug Evans <xdje42@gmail.com>
16949 * gdb.guile/scm-cmd.c: New file.
16950 * gdb.guile/scm-cmd.exp: New file.
16952 2014-06-02 Doug Evans <xdje42@gmail.com>
16954 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16955 pretty-printer lookup.
16956 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16957 (make-pp_s-printer): Call it.
16958 (make-pretty-printer-from-dict): New function.
16959 (lookup-pretty-printer-maker-from-dict): New function.
16960 (*pretty-printer*): Simplify.
16961 (make-objfile-pp_s-printer): New function.
16962 (install-objfile-pretty-printers!): New function.
16963 (make-progspace-pp_s-printer): New function.
16964 (install-progspace-pretty-printers!): New function.
16965 * gdb.guile/scm-progspace.c: New file.
16966 * gdb.guile/scm-progspace.exp: New file.
16968 2014-06-02 Pedro Alves <palves@redhat.com>
16970 * gdb.base/dprintf-bp-same-addr.c: New file.
16971 * gdb.base/dprintf-bp-same-addr.exp: New file.
16973 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16975 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16976 * gdb.arch/powerpc-power.s: Likewise.
16978 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16980 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16982 2014-06-01 Yao Qi <yao@codesourcery.com>
16984 * gdb.base/watchpoint.exp (test_watch_location): Check null
16985 pointer can be dereferenced. If not, do the test, otherwise
16988 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16990 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16992 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16994 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16996 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16997 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16998 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16999 * gdb.arch/amd64-invalid-stack-top.c: New file.
17000 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17002 2014-05-30 Pedro Alves <palves@redhat.com>
17004 PR breakpoints/17000
17005 * gdb.base/sss-bp-on-user-bp.c: New file.
17006 * gdb.base/sss-bp-on-user-bp.exp: New file.
17008 2014-05-30 David Blaikie <dblaikie@gmail.com>
17010 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17011 gnu_inline semantics via attribute.
17012 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17013 source explicitly specifies the required semantics.
17015 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17017 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17019 2014-05-29 Pedro Alves <palves@redhat.com>
17020 Tom Tromey <tromey@redhat.com>
17022 * gdb.base/async-shell.exp: Don't enable target-async.
17023 * gdb.base/async.exp
17024 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17026 (top level): Don't test with "target-async".
17027 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17028 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17029 * gdb.base/inferior-died.exp: Don't enable target-async.
17030 * gdb.base/interrupt-noterm.exp: Likewise.
17031 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17032 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17033 * gdb.mi/mi-nonstop.exp: Likewise.
17034 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17035 * gdb.mi/mi-nsintrall.exp: Likewise.
17036 * gdb.mi/mi-nsmoribund.exp: Likewise.
17037 * gdb.mi/mi-nsthrexec.exp: Likewise.
17038 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17039 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17040 * gdb.python/py-evsignal.exp: Don't enable target-async.
17041 * gdb.python/py-evthreads.exp: Likewise.
17042 * gdb.python/py-prompt.exp: Likewise.
17043 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17044 * gdb.server/solib-list.exp: Don't enable target-async.
17045 * gdb.threads/thread-specific-bp.exp: Likewise.
17046 * lib/mi-support.exp: Adjust to use mi-async.
17048 2014-05-29 Pedro Alves <palves@redhat.com>
17051 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17052 reason, even in sync mode.
17054 2014-05-29 Pedro Alves <palves@redhat.com>
17055 Hui Zhu <hui@codesourcery.com>
17058 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17059 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17060 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17061 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17063 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17065 * config/monitor.exp (gdb_target_monitor): Replace use of
17066 "set remotebaud" by "set serial baud".
17068 2014-05-26 Andy Wingo <wingo@igalia.com>
17070 * gdb.guile/scm-breakpoint.exp:
17071 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17072 properties instead of gdb-object-properties.
17074 2014-05-26 Yao Qi <yao@codesourcery.com>
17076 * gdb.server/no-thread-db.exp: Specify source file name
17077 explicitly when setting a breakpoint.
17079 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17081 * gdb.btrace/vdso.c: New.
17082 * gdb.btrace/vdso.exp: New.
17084 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17086 * gdb.base/gcore.exp (capture_command_output): Move ...
17087 * lib/gdb.exp (capture_command_output): ... here.
17089 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17091 * gdb.btrace/data.exp: Test memory access during btrace replay.
17093 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17095 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17097 2014-05-21 Pedro Alves <palves@redhat.com>
17100 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17101 (top level): Test that output related to execution commands is
17102 sent to the console with CLI commands, but not with MI commands.
17103 Test that breakpoint events are always mirrored to the console.
17104 Also expect the new source line to be output after a "next" in
17105 async mode too. Make it a pass/fail test.
17106 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17108 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17110 2014-05-21 Pedro Alves <palves@redhat.com>
17112 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17113 Use them to test variations of "list" after reaching a breakpoint.
17114 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17115 Test "list" with listsize 10 after reaching a breakpoint.
17116 * gdb.python/python.exp (decode_line current location line
17117 number): Adjust expected line number.
17119 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17121 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17122 behavior for $args, pass it directly to "run".
17124 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17126 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17129 2014-05-21 Pedro Alves <palves@redhat.com>
17131 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17132 auto-connect-native-target off".
17133 * gdb.base/auto-connect-native-target.c: New file.
17134 * gdb.base/auto-connect-native-target.exp: New file.
17136 2014-05-21 Pedro Alves <palves@redhat.com>
17138 * gdb.base/default.exp: Test "target native" instead of "target
17141 2014-05-21 Mark Wielaard <mjw@redhat.com>
17143 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17145 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17147 Fix TLS access for -static -pthread.
17148 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17149 <HAVE_TLS> (thread_function, main): Initialize it.
17150 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17152 <$have_tls != "">: Check TLSVAR.
17154 2014-05-21 Pedro Alves <palves@redhat.com>
17156 * gdb.base/dcache-line-read-error.c: New.
17157 * gdb.base/dcache-line-read-error.exp: New.
17159 2014-05-20 Pedro Alves <palves@redhat.com>
17161 * gdb.base/compare-sections.c: New file.
17162 * gdb.base/compare-sections.exp: New file.
17164 2014-05-20 Pedro Alves <palves@redhat.com>
17166 * gdb.base/break-idempotent.c: New file.
17167 * gdb.base/break-idempotent.exp: New file.
17169 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17171 * gdb.btrace/nohist.exp: New.
17173 2014-05-20 Yao Qi <yao@codesourcery.com>
17175 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17176 gdb.reverse directory and gdb_reverse_timeout exists in board
17178 * README: Document gdb_reverse_timeout.
17180 2014-05-20 Yao Qi <yao@codesourcery.com>
17182 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17183 'test_file_name'. Treat args as a string instead of a list.
17184 (gdb_init): Rename argument 'args' by 'test_file_name'.
17186 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17188 * gdb.arch/powerpc-power.exp: New file.
17189 * gdb.arch/powerpc-power.s: New file.
17191 2014-05-16 Doug Evans <dje@google.com>
17193 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17194 * gdb.base/completion.exp: Check that all expected files exist
17195 before doing file completion.
17197 2014-05-16 Doug Evans <dje@google.com>
17199 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17201 (do_syscall_tests_without_xml): Update.
17203 2014-05-16 Pedro Alves <palves@redhat.com>
17205 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17206 instead of "unknown output after running".
17208 2014-05-16 Yao Qi <yao@codesourcery.com>
17210 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17211 file1.txt from host at the end.
17212 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17214 2014-05-15 Doug Evans <dje@google.com>
17216 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17217 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17218 loading file. Add test for TU lookup.
17220 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17222 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17223 calling "-exec-arguments" or "set args" before running the
17226 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17228 * lib/mi-support.exp (mi_expect_stop): Expect message for
17229 inferiors that exit with non-zero exit code.
17231 2014-05-14 Yao Qi <yao@codesourcery.com>
17233 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17234 match absolute path on remote host.
17235 (test_file_list_exec_source_files): Remove "/" from the
17238 2014-05-14 Yao Qi <yao@codesourcery.com>
17240 * boards/local-remote-host-notty.exp (${board}_file): New
17243 2014-05-07 Kyle McMartin <kyle@redhat.com>
17245 Pushed by Joel Brobecker <brobecker@adacore.com>.
17246 * gdb.arch/aarch64-atomic-inst.c: New file.
17247 * gdb.arch/aarch64-atomic-inst.exp: New file.
17249 2014-05-07 Yao Qi <yao@codesourcery.com>
17251 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17252 in current context" too.
17254 2014-05-05 Keith Seitz <keiths@redhat.com>
17256 * gdb.linespec/ls-dollar.exp: Add test for linespec
17257 file:convenience_variable.
17259 2014-05-05 Yao Qi <yao@codesourcery.com>
17261 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17262 traceframes into tfile and ctf trace files. Read data from
17263 trace file and test collected data.
17264 (gdb_collect_locals_test): Likewise.
17265 (gdb_unavailable_registers_test): Likewise.
17266 (gdb_unavailable_floats): Likewise.
17267 (gdb_collect_globals_test): Likewise.
17268 (top-level): Append "ctf" to trace_file_targets if GDB
17271 2014-05-05 Yao Qi <yao@codesourcery.com>
17273 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17275 (gdb_collect_args_test_1): ... it. New proc.
17276 (gdb_collect_locals_test): Move some code to ...
17277 (gdb_collect_locals_test_1): ... it. New proc.
17278 (gdb_unavailable_registers_test): Move some code to ...
17279 (gdb_unavailable_registers_test_1): ... it. New proc.
17280 (gdb_unavailable_floats): Move some code to ...
17281 (gdb_unavailable_floats_1): ... it. New proc.
17283 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17285 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17286 probes to test for bitness recognition.
17287 * gdb.arch/amd64-stap-optional-prefix.exp
17288 (test_probe_value_without_reg): New procedure.
17289 Add code to test for different kinds of bitness.
17291 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17293 PR breakpoints/16889
17294 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17295 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17297 2014-05-01 Pedro Alves <palves@redhat.com>
17299 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17300 gdb_file_cmd if no file is specified.
17301 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17302 last_loaded_file to set the remote exec-file.
17304 2014-05-01 Pedro Alves <palves@redhat.com>
17306 * boards/local-remote-host.exp: New file.
17308 2014-05-01 Pedro Alves <palves@redhat.com>
17310 * boards/local-remote-host.exp: Rename to ...
17311 * boards/local-remote-host-notty.exp: ... this.
17313 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17315 * gdb.ada/dyn_arrayidx: New testcase.
17317 2014-04-26 Yao Qi <yao@codesourcery.com>
17319 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17320 and compute the length of function main. Save it in
17322 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17323 (top-level): Use gdb_compile to compile objects into
17324 executable and restart GDB. Remove invocation to
17325 prepare_for_testing.
17327 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17328 Pedro Alves <palves@redhat.com>
17331 * gdb.multi/multi-attach.c: New file.
17332 * gdb.multi/multi-attach.exp: New file.
17334 2014-04-25 Pedro Alves <palves@redhat.com>
17336 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17338 (top level): Test that "set remote conditional-breakpoints-packet
17339 off" works as intended.
17340 * gdb.base/dprintf.exp: Test that "set remote
17341 breakpoint-commands-packet off" works as intended.
17342 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17344 (top level): Call it.
17345 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17346 remote fast-tracepoints-packet off" works as intended.
17347 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17348 * lib/gdb.exp (gdb_is_target_remote): ... here.
17350 2014-04-24 David Blaikie <dblaikie@gmail.com>
17352 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17353 ensure clang would not discard them.
17354 * gdb.base/gdbvars.c: Ditto.
17355 * gdb.base/memattr.c: Ditto.
17356 * gdb.base/whatis.c: Ditto.
17357 * gdb.python/py-prettyprint.c: Ditto.
17358 * gdb.trace/actions.c: Ditto.
17359 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17360 ensure clang would not discard it.
17362 2014-04-24 David Blaikie <dblaikie@gmail.com>
17364 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17365 clang to emit the full definition of type required by the test
17366 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17368 2014-04-24 David Blaikie <dblaikie@gmail.com>
17370 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17371 coax Clang into emitting the definition of the type.
17372 * gdb.cp/pr10728-x.h (y): Ditto.
17373 * gdb.cp/pr10728-y.cc (y): Ditto.
17375 2014-04-24 David Blaikie <dblaikie@gmail.com>
17377 * gdb.base/label.exp: XFAIL label related tests under Clang.
17378 * gdb.cp/cplabel.exp: Ditto.
17379 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17380 under Clang those using labels.
17382 2014-04-25 Yao Qi <yao@codesourcery.com>
17384 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17386 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17387 partial_label and double_label.
17389 2014-04-24 David Blaikie <dblaikie@gmail.com>
17391 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17393 2014-04-24 David Blaikie <dblaikie@gmail.com>
17395 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17396 of the function to work across GCC and Clang.
17397 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17398 pointer types (const void ** const V void **).
17400 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17401 Walfred Tedeschi <walfred.tedeschi@intel.com>
17403 * Makefile.in (EXECUTABLES): Added i386-avx512.
17404 * gdb.arch/i386-avx512.c: New file.
17405 * gdb.arch/i386-avx512.exp: Likewise.
17407 2014-04-23 Keith Seitz <keiths@redhat.com>
17409 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17410 (mi_make_breakpoint_table): New procedure.
17411 (mi_create_breakpoint): Use mi_make_breakpoint
17412 and return the result.
17413 (mi_make_breakpoint): New procedure.
17414 (mi_build_kv_pairs): New procedure.
17416 * gdb.mi/mi-break.exp: Remove unused globals,
17417 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17418 All callers updated.
17419 * gdb.mi/mi-dprintf.exp: Use variable to track command
17421 Update all callers of mi_create_breakpoint and use
17422 mi_make_breakpoint_table.
17423 Remove any unused global variables.
17424 * gdb.mi/mi-nonstop.exp: Likewise.
17425 * gdb.mi/mi-nsintrall.exp: Likewise.
17426 * gdb.mi/mi-nsmoribund.exp: Likewise.
17427 * gdb.mi/mi-nsthrexec.exp: Likewise.
17428 * gdb.mi/mi-reverse.exp: Likewise.
17429 * gdb.mi/mi-simplerun.exp: Likewise.
17430 * gdb.mi/mi-stepn.exp: Likewise.
17431 * gdb.mi/mi-syn-frame.exp: Likewise.
17432 * gdb.mi/mi-until.exp: Likewise.
17433 * gdb.mi/mi-var-cp.exp: Likewise.
17434 * gdb.mi/mi-var-display.exp: Likewise.
17435 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17436 * gdb.mi/mi2-var-child.exp: Likewise.
17437 * gdb.mi/mi-vla-c99.exp: Likewise.
17438 * lib/mi-support.exp: Likewise.
17440 From Ian Lance Taylor <iant@cygnus.com>:
17441 * lib/gdb.exp (parse_args): New procedure.
17443 2014-04-23 Pedro Alves <palves@redhat.com>
17445 * gdb.base/break-unload-file.c: New file.
17446 * gdb.base/break-unload-file.exp: New file.
17447 * gdb.base/sym-file-lib.c (baz): New function.
17448 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17450 (load): Store the segment's mapped size.
17451 (unload): New function.
17452 (unload_shlib): New function.
17453 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17454 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17455 set a breakpoint at baz, and call it.
17456 * gdb.base/sym-file.exp: New tests for stale breakpoint
17459 2014-04-23 Pedro Alves <palves@redhat.com>
17461 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17462 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17463 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17464 * gdb.base/hbreak-unmapped.c: New file.
17465 * gdb.base/hbreak-unmapped.exp: New file.
17466 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17467 * lib/gdb.exp (gdb_is_target_remote): ... here.
17469 2014-04-22 Pedro Alves <palves@redhat.com>
17471 * gdb.base/consecutive-step-over.c: New file.
17472 * gdb.base/consecutive-step-over.exp: New file.
17474 2014-04-22 Pedro Alves <palves@redhat.com>
17476 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17477 instead of send_gdb/gdb_expect.
17479 2014-04-22 Yao Qi <yao@codesourcery.com>
17481 * lib/trace-support.exp (generate_tracefile): New procedure.
17482 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17484 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17485 if generate_tracefile returns 1.
17487 2014-04-18 Tom Tromey <palves@redhat.com>
17488 Pedro alves <tromey@redhat.com>
17491 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17492 with a backtrace limit.
17493 * gdb.python/py-frame-inline.exp: Test running to an inline
17494 function with a backtrace limit, and printing the newest frame.
17495 * gdb.python/py-frame-inline.c (main): Call f.
17497 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17499 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17501 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17503 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17504 Drop prefix from unsupported source file path.
17506 2014-04-17 Yao Qi <yao@codesourcery.com>
17508 * lib/gdb.exp (with_target_charset): New proc.
17509 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17510 with_target_charset.
17511 (test_print_strings): Likewise.
17512 (test_repeat_bytes): Likewise.
17513 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17516 2014-04-16 Keith Seitz <keiths@redhat.com>
17519 * gdb.dwarf2/corrupt.c: New file.
17520 * gdb.dwarf2/corrupt.exp: New file.
17522 2014-04-16 Keith Seitz <keiths@redhat.com>
17525 * gdb.cp/namelessclass.cc: New file.
17526 * gdb.cp/namelessclass.exp: New file.
17527 * gdb.cp/namelessclass.S: New file.
17529 2014-04-16 Doug Evans <dje@google.com>
17531 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17533 (gdbserver_default_get_comm_port): New function.
17534 (gdbserver_start): Check if board file provided
17535 "gdbserver,get_comm_port" and use it if so.
17536 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17537 (gdb,socketport): Set to "stdio".
17538 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17539 (stdio_gdbserver_template): Delete.
17540 (${board}_get_remote_address): Update.
17541 (${board}_build_remote_cmd): Delete.
17542 (${board}_get_comm_port): New function.
17543 (${board}_spawn): Update.
17544 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17546 (${board}_get_remote_address): Update.
17547 (${board}_get_comm_port): New function.
17549 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17551 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17552 appearing in any order.
17554 2014-04-15 Doug Evans <dje@google.com>
17556 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17557 uninitialized value of "description".
17559 2014-04-15 Keith Seitz <keiths@redhat.com>
17561 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17562 Remove unused globals.
17563 (test_running_the_program): Likewise.
17564 (test_controlled_execution): Likewise.
17565 (test_controlling_breakpoints): Likewise.
17566 (test_program_termination): Likewise.
17568 2014-04-15 Keith Seitz <keiths@redhat.com>
17570 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17572 (test_rbreak_creation_and_listing): Likewise.
17573 (test_ignore_count): Likewise.
17574 (test_error): Likewise.
17576 2014-04-15 Pedro Alves <palves@redhat.com>
17578 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17579 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17581 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17582 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17583 to sym-file-loader.c.
17584 (struct library): Forward declare.
17585 (load_shlib, lookup_function): Change prototypes.
17586 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17587 (translate_offset): Remove declarations.
17588 (get_text_addr): New declaration.
17589 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17590 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17592 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17593 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17594 here from sym-file-loader.h.
17595 (struct library): New structure.
17596 (load_shlib, lookup_function): Change prototypes and adjust to
17597 work with a struct library.
17598 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17599 (translate_offset): Make static.
17600 (get_text_addr): New function.
17601 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17603 2014-04-15 Pedro Alves <palves@redhat.com>
17605 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17607 2014-04-15 Pedro Alves <palves@redhat.com>
17609 * gdb.base/sym-file-loader.c: Include <limits.h>.
17610 (SELF_LINK): New define.
17611 (get_origin): New function.
17612 (load_shlib): Use it.
17613 * gdb.base/sym-file.exp: Don't early return if the target is
17614 remote. Use runto_main, and issue fail is that fails. Use
17616 (shlib_name): Delete.
17617 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17619 2014-04-15 Pedro Alves <palves@redhat.com>
17621 * gdb.base/sym-file.exp: Remove regex characters from test
17622 message. Don't refer to breakpoint numbers in test messages.
17624 2014-04-14 Keith Seitz <keiths@redhat.com>
17627 * gdb.cp/var-tag.cc: New file.
17628 * gdb.cp/var-tag.exp: New file.
17629 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17630 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17631 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17632 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17634 2014-04-14 Tom Tromey <tromey@redhat.com>
17636 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17637 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17639 * gdb.cp/enum-class.exp: New file.
17640 * gdb.cp/enum-class.cc: New file.
17642 2014-04-14 Tom Tromey <tromey@redhat.com>
17644 * gdb.dwarf2/enum-type.exp: New file.
17646 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17648 * gdb.mi/mi-vla-c99.exp: New file.
17649 * gdb.mi/vla.c: New file.
17651 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17653 * gdb.base/vla-datatypes.c: New file.
17654 * gdb.base/vla-datatypes.exp: New file.
17656 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17658 * gdb.base/vla-ptr.c: New file.
17659 * gdb.base/vla-ptr.exp: New file.
17661 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17663 * gdb.dwarf2/count.exp: New file.
17665 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17667 * gdb.base/vla-sideeffect.c: New file.
17668 * gdb.base/vla-sideeffect.exp: New file.
17670 2014-04-14 David Blaikie <dblaikie@gmail.com>
17672 * gdb.mi/non-stop.c: Add return value for non-void function return
17674 * gdb.threads/staticthreads.c: Ditto.
17676 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17677 Doug Evans <xdje42@gmail.com>
17679 * gdb.guile/scm-value.c: Improve test case.
17680 * gdb.guile/scm-value.exp: Add new test.
17682 2014-04-11 David Blaikie <dblaikie@gmail.com>
17684 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17685 override Clang's default.
17687 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17689 Revert the following changes (regressions):
17691 * gdb.base/vla-sideeffect.c: New file.
17692 * gdb.base/vla-sideeffect.exp: New file.
17694 * gdb.dwarf2/count.exp: New file.
17696 * gdb.base/vla-multi.c: New file.
17697 * gdb.base/vla-multi.exp: New file.
17699 * gdb.base/vla-ptr.c: New file.
17700 * gdb.base/vla-ptr.exp: New file.
17702 * gdb.base/vla-datatypes.c: New file.
17703 * gdb.base/vla-datatypes.exp: New file.
17705 * gdb.mi/mi-vla-c99.exp: New file.
17706 * gdb.mi/vla.c: New file.
17708 2014-04-11 Keith Seitz <keiths@redhat.com>
17711 * gdb.cp/cpsizeof.exp: New file.
17712 * gdb.cp/cpsizeof.cc: New file.
17714 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17716 * gdb.mi/mi-vla-c99.exp: New file.
17717 * gdb.mi/vla.c: New file.
17719 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17721 * gdb.base/vla-datatypes.c: New file.
17722 * gdb.base/vla-datatypes.exp: New file.
17724 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17726 * gdb.base/vla-ptr.c: New file.
17727 * gdb.base/vla-ptr.exp: New file.
17729 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17731 * gdb.base/vla-multi.c: New file.
17732 * gdb.base/vla-multi.exp: New file.
17734 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17736 * gdb.dwarf2/count.exp: New file.
17738 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17740 * gdb.base/vla-sideeffect.c: New file.
17741 * gdb.base/vla-sideeffect.exp: New file.
17743 2014-04-11 Yao Qi <yao@codesourcery.com>
17745 * gdb.base/completion.exp: Check file exists before running tests
17746 on file completion.
17748 2014-04-10 Pedro Alves <palves@redhat.com>
17750 * gdb.base/cond-eval-mode.c: New file.
17751 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17752 prepare_for_testing to build the new file. Check result of
17754 (test_break, test_watch): New procedures.
17755 (top level): Use them.
17757 2014-04-08 Pierre Muller <muller@sourceware.org>
17759 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17760 Ctrl-V use for mingw hosts.
17762 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17764 * gdb.python/py-value.c: Improve test case.
17765 * gdb.python/py-value.exp: Add new test.
17767 2014-04-07 David Blaikie <dblaikie@gmail.com>
17769 * lib/compiler.c: Identify the clang compiler.
17770 * lib/compiler.cc: Ditto.
17772 2014-04-03 Yao Qi <yao@codesourcery.com>
17774 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17776 2014-04-01 Anton Blanchard <anton@samba.org>
17778 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17781 2014-04-01 Anton Blanchard <anton@samba.org>
17783 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17784 prepare_for_testing.
17786 2014-04-01 Anton Blanchard <anton@samba.org>
17788 * gdb.arch/ppc64-atomic-inst.c: Remove.
17789 * gdb.arch/ppc64-atomic-inst.S: New file.
17790 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17792 2014-03-31 Doug Evans <dje@google.com>
17794 * gdb.base/print-symbol-loading-lib.c: New file.
17795 * gdb.base/print-symbol-loading-main.c: New file.
17796 * gdb.base/print-symbol-loading.exp: New file.
17798 2014-03-31 Yao Qi <yao@codesourcery.com>
17800 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17802 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17804 * gdb.ada/mi_dyn_arr: New testcase.
17806 2014-03-27 Doug Evans <dje@google.com>
17808 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17810 2014-03-27 Yao Qi <yao@codesourcery.com>
17812 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17813 if target is nios2-*-*.
17815 2014-03-26 Yao Qi <yao@codesourcery.com>
17817 * lib/gdb.exp (readline_is_used): New proc.
17818 * gdb.base/completion.exp: Move tests on command complete up.
17819 Skip the rest of tests if readline is not used.
17820 * gdb.ada/complete.exp: Skp the test if readline is not
17822 * gdb.base/filesym.exp: Likewise.
17823 * gdb.base/macscp.exp: Likewise.
17824 * gdb.base/readline-ask.exp: Likewise.
17825 * gdb.base/readline.exp: Likewise.
17826 * gdb.python/py-cmd.exp: Likewise.
17827 * gdb.trace/tfile.exp: Likewise.
17829 2014-03-26 Yao Qi <yao@codesourcery.com>
17831 * gdb.base/macscp.exp: Fix code format issues.
17833 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17835 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17836 * gdb.asm/powerpc64le.inc: New file.
17838 2014-03-25 Pedro Alves <palves@redhat.com>
17839 Doug Evans <dje@google.com>
17841 * gdb.base/source-execution.c: New file.
17842 * gdb.base/source-execution.exp: New file.
17843 * gdb.base/source-execution.gdb: New file.
17845 2014-03-24 Doug Evans <dje@google.com>
17847 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17850 2014-03-24 Hui Zhu <hui@codesourcery.com>
17851 Pedro Alves <palves@redhat.com>
17853 PR breakpoints/16101
17854 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17855 test pass/fail messages. Detect missing support for dprintf when
17856 breakpoints are actually inserted.
17857 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17858 breakpoints are actually inserted.
17859 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17862 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17864 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17866 2014-03-22 Doug Evans <xdje42@gmail.com>
17868 * gdb.python/python.exp (python not supported): Verify multi-line
17869 python command issues an error.
17870 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17871 guile command issues an error.
17873 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17875 * gdb.threads/thread-specific.exp: Handle the lack of usable
17876 $this_breakpoint and $this_thread.
17878 2014-03-21 Hui Zhu <hui@codesourcery.com>
17880 * gdb.base/attach.exp (do_command_attach_tests): New.
17882 2014-03-20 Tom Tromey <tromey@redhat.com>
17883 Pedro Alves <palves@redhat.com>
17886 * gdb.base/condbreak-call-false.c: New file.
17887 * gdb.base/condbreak-call-false.exp: New file.
17889 2014-03-20 Pedro Alves <palves@redhat.com>
17891 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17893 (block_signals, unblock_signals): Delete.
17894 (child_function_2, main): Remove references to deleted variable
17897 2014-03-20 Pedro Alves <palves@redhat.com>
17899 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17900 Use pthread_kill to signal thread 2.
17901 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17902 Adjust to make the test send itself a signal rather than using the
17903 host's "kill" command.
17905 2014-03-20 Pedro Alves <palves@redhat.com>
17907 * gdb.threads/multiple-step-overs.c: New file.
17908 * gdb.threads/multiple-step-overs.exp: New file.
17909 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17910 Adjust expected infrun debug output.
17912 2014-03-20 Pedro Alves <palves@redhat.com>
17914 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17915 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17917 2014-03-20 Pedro Alves <palves@redhat.com>
17919 PR breakpoints/7143
17920 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17921 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17922 of gdb_test_multiple.
17923 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17924 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17926 2014-03-20 Pedro Alves <palves@redhat.com>
17928 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17929 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17931 2014-03-19 Pedro Alves <palves@redhat.com>
17933 * gdb.base/async.exp: Remove early return.
17935 2014-03-19 Pedro Alves <palves@redhat.com>
17937 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17939 2014-03-19 Pedro Alves <palves@redhat.com>
17941 * gdb.base/async.exp (test_background): Expect \r\n after
17942 "completed." in the fail pattern.
17944 2014-03-19 Pedro Alves <palves@redhat.com>
17946 * gdb.base/async.exp (test_background): New procedure.
17947 Use it for all background execution command tests.
17949 2014-03-19 Pedro Alves <palves@redhat.com>
17951 * gdb.base/async.exp: Use prepare_for_testing.
17953 2014-03-19 Pedro Alves <palves@redhat.com>
17955 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17958 2014-03-19 Pedro Alves <palves@redhat.com>
17960 * gdb.base/async.c (main): Add "jump here" and "until here" line
17962 * gdb.base/async.exp (jump_here): New global.
17963 (jump& test): Use it.
17964 (until_here): New global.
17965 (until& test): Use it.
17967 2014-03-19 Pedro Alves <palves@redhat.com>
17969 * gdb.base/async.exp: Don't frob gdb_protocol.
17971 2014-03-18 Doug Evans <xdje42@gmail.com>
17973 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17974 Fix spelling of exec-done-display.
17976 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17979 * gdb.base/gdb-sigterm.c: New file.
17980 * gdb.base/gdb-sigterm.exp: New file.
17982 2014-03-18 Pedro Alves <palves@redhat.com>
17985 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17986 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17989 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17991 * gdb.ada/pckd_arr_ren: New testcase.
17993 2014-03-13 Doug Evans <xdje42@gmail.com>
17996 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17997 collect after discarding symbols.
17999 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18000 Doug Evans <xdje42@gmail.com>
18002 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18003 to history survives a gc.
18005 2014-03-13 Pedro Alves <palves@redhat.com>
18007 * gdb.base/default.exp: Don't test "target procfs".
18009 2014-03-13 Pedro Alves <palves@redhat.com>
18011 * gdb.base/default.exp: Update "target child" and "target procfs"
18012 tests to not expect "Unix".
18014 2014-03-12 Tom Tromey <tromey@redhat.com>
18016 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18017 New procs. Add target-async tests.
18018 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18019 Add target-async tests.
18021 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18023 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18024 'func_start' and 'func_end' for the beginning and end of the
18025 function code, respectively.
18026 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18027 'func_end' instead of 'func' and 'main'.
18029 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18031 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18032 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18033 generate the debug info assembler source.
18035 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18037 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18038 * gdb.dwarf2/arr-subrange.exp: Likewise.
18039 * gdb.dwarf2/dwz.exp: Likewise.
18040 * gdb.dwarf2/method-ptr.exp: Likewise.
18041 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18042 * gdb.dwarf2/subrange.exp: Likewise.
18043 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18044 * gdb.dwarf2/implptrpiece.exp: Likewise.
18045 * gdb.dwarf2/nostaticblock.exp: Likewise.
18047 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18049 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18050 directory to absolute path name arguments.
18052 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18054 * gdb.ada/tagged_access: New testcase.
18056 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18058 * gdb.btrace/data.exp: Update expected output.
18060 2014-03-06 Yao Qi <yao@codesourcery.com>
18062 * gdb.trace/pr16508.exp: New file.
18064 2014-03-05 Pedro Alves <palves@redhat.com>
18067 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18069 (top level): Adjust to use it. Add tests that exercise breakpoint
18070 interaction with the code-cache.
18072 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18074 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18075 test for 'history-append!'.
18077 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18079 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18080 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18081 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18082 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18083 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18084 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18086 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18088 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18089 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18090 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18092 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18094 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18096 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18098 * gdb.dwarf2/arr-stride.c: New file.
18099 * gdb.dwarf2/arr-stride.exp: New file.
18101 2014-02-26 Pedro Alves <palves@redhat.com>
18103 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18104 that won't ever trigger. Make sure that GDB reports the correct
18105 breakpoint that caused the stop.
18107 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18110 * gdb.base/auto-load-script: New file.
18111 * gdb.base/auto-load.c: New file.
18112 * gdb.base/auto-load.exp: New file.
18115 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18117 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18119 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18120 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18122 2014-02-24 Doug Evans <dje@google.com>
18124 * lib/gdb.exp (run_on_host): Log error output if program fails.
18126 2014-02-21 Pedro Alves <palves@redhat.com>
18128 * gdb.threads/step-after-sr-lock.c: Rename to ...
18129 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18130 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18131 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18134 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18137 * gdb.arch/amd64-stap-special-operands.exp: New file.
18138 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18139 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18140 * gdb.arch/amd64-stap-triplet.S: Likewise.
18141 * gdb.arch/amd64-stap-triplet.c: Likewise.
18143 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18145 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18146 in .section pseudo-op.
18148 2014-02-20 lin zuojian <manjian2006@gmail.com>
18149 Joel Brobecker <brobecker@adacore.com>
18150 Doug Evans <xdje42@gmail.com>
18153 * gdb.dwarf2/dw2-icycle.S: New file.
18154 * gdb.dwarf2/dw2-icycle.c: New file.
18155 * gdb.dwarf2/dw2-icycle.exp: New file.
18157 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18159 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18160 operations on gdb.Value objects.
18161 * gdb.python/py-value-cc.exp: Add new test to test operations on
18164 2014-02-18 Doug Evans <dje@google.com>
18166 * Makefile.in (TESTS): New variable.
18167 (expanded_tests, expanded_tests_or_none): New variables
18168 (check-single): Pass $(expanded_tests_or_none) to runtest.
18169 (check-parallel): Only run tests in $(TESTS) if non-empty.
18170 (check/no-matching-tests-found): New rule.
18171 * README: Document TESTS makefile variable.
18173 2014-02-18 Doug Evans <dje@google.com>
18175 * Makefile.in (check-parallel): rm -rf outputs temp.
18177 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18179 Fix "ERROR: no fileid for" in the testsuite.
18180 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18182 2014-02-12 Doug Evans <dje@google.com>
18184 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18185 (MISCELLANEOUS): New variable.
18186 (clean): rm -rf $(MISCELLANEOUS).
18187 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18188 dwp live in the same directory as symlinks, with each symlink pointed
18189 to a differently named file in a different directory.
18191 2014-02-11 Doug Evans <dje@google.com>
18193 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18194 of Tcl file commands.
18196 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18198 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18199 "kill -SIGUSR1 -1".
18201 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18203 * gdb.ada/tick_length_array_enum_idx: New testcase.
18205 2014-02-10 Doug Evans <xdje42@gmail.com>
18207 * configure.ac (AC_OUTPUT): Add gdb.guile.
18208 * configure: Regenerate.
18209 * lib/gdb-guile.exp: New file.
18210 * lib/gdb.exp (get_target_charset): New function.
18211 * gdb.base/help.exp: Update expected output from "apropos apropos".
18212 * gdb.guile/Makefile.in: New file.
18213 * gdb.guile/guile.exp: New file.
18214 * gdb.guile/scm-arch.c: New file.
18215 * gdb.guile/scm-arch.exp: New file.
18216 * gdb.guile/scm-block.c: New file.
18217 * gdb.guile/scm-block.exp: New file.
18218 * gdb.guile/scm-breakpoint.c: New file.
18219 * gdb.guile/scm-breakpoint.exp: New file.
18220 * gdb.guile/scm-disasm.c: New file.
18221 * gdb.guile/scm-disasm.exp: New file.
18222 * gdb.guile/scm-equal.c: New file.
18223 * gdb.guile/scm-equal.exp: New file.
18224 * gdb.guile/scm-error.exp: New file.
18225 * gdb.guile/scm-error.scm: New file.
18226 * gdb.guile/scm-frame-args.c: New file.
18227 * gdb.guile/scm-frame-args.exp: New file.
18228 * gdb.guile/scm-frame-args.scm: New file.
18229 * gdb.guile/scm-frame-inline.c: New file.
18230 * gdb.guile/scm-frame-inline.exp: New file.
18231 * gdb.guile/scm-frame.c: New file.
18232 * gdb.guile/scm-frame.exp: New file.
18233 * gdb.guile/scm-generics.exp: New file.
18234 * gdb.guile/scm-gsmob.exp: New file.
18235 * gdb.guile/scm-iterator.c: New file.
18236 * gdb.guile/scm-iterator.exp: New file.
18237 * gdb.guile/scm-math.c: New file.
18238 * gdb.guile/scm-math.exp: New file.
18239 * gdb.guile/scm-objfile-script-gdb.in: New file.
18240 * gdb.guile/scm-objfile-script.c: New file.
18241 * gdb.guile/scm-objfile-script.exp: New file.
18242 * gdb.guile/scm-objfile.c: New file.
18243 * gdb.guile/scm-objfile.exp: New file.
18244 * gdb.guile/scm-ports.exp: New file.
18245 * gdb.guile/scm-pretty-print.c: New file.
18246 * gdb.guile/scm-pretty-print.exp: New file.
18247 * gdb.guile/scm-pretty-print.scm: New file.
18248 * gdb.guile/scm-section-script.c: New file.
18249 * gdb.guile/scm-section-script.exp: New file.
18250 * gdb.guile/scm-section-script.scm: New file.
18251 * gdb.guile/scm-symbol.c: New file.
18252 * gdb.guile/scm-symbol.exp: New file.
18253 * gdb.guile/scm-symtab-2.c: New file.
18254 * gdb.guile/scm-symtab.c: New file.
18255 * gdb.guile/scm-symtab.exp: New file.
18256 * gdb.guile/scm-type.c: New file.
18257 * gdb.guile/scm-type.exp: New file.
18258 * gdb.guile/scm-value-cc.cc: New file.
18259 * gdb.guile/scm-value-cc.exp: New file.
18260 * gdb.guile/scm-value.c: New file.
18261 * gdb.guile/scm-value.exp: New file.
18262 * gdb.guile/source2.scm: New file.
18263 * gdb.guile/types-module.cc: New file.
18264 * gdb.guile/types-module.exp: New file.
18266 2014-02-10 Yao Qi <yao@codesourcery.com>
18269 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18270 * configure: Regenerated.
18271 * Makefile.in: New file.
18273 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18275 * gdb.python/py-framefilter.exp: Fix typo.
18277 2014-02-08 Yao Qi <yao@codesourcery.com>
18279 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18280 that no =breakpoint-modified is emitted when breakpoints are
18281 modified through MI commands.
18283 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18284 Pedro Alves <palves@redhat.com>
18286 * gdb.threads/step-after-sr-lock.c: New file.
18287 * gdb.threads/step-after-sr-lock.exp: New file.
18289 2014-02-07 Pedro Alves <palves@redhat.com>
18291 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18293 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18295 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18296 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18298 2014-02-06 Doug Evans <xdje42@gmail.com>
18300 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18303 * gdb.gdb/python-interrupts.exp: New file.
18305 2014-02-05 Yao Qi <yao@codesourcery.com>
18307 * gdb.trace/report.exp (use_collected_data): Test the output
18308 of "info threads" and "info inferiors".
18310 2014-02-05 Yao Qi <yao@codesourcery.com>
18314 2013-05-24 Yao Qi <yao@codesourcery.com>
18316 * gdb.trace/tfile.exp: Test inferior and thread.
18318 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18320 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18322 * gdb.base/step-bt.c: Call hello via function pointer to make
18323 sure its first instruction is executed on powerpc64le-linux.
18325 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18327 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18329 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18331 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18332 of the test patterns for use on little-endian systems.
18334 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18336 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18337 (decimal_vector): Fix for little-endian.
18339 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18341 * gdb.arch/sparc-sysstep.exp: New file.
18342 * gdb.arch/sparc-sysstep.c: Likewise.
18344 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18346 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18348 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18350 2014-01-23 Tom Tromey <tromey@redhat.com>
18352 * gdb.ada/array_char_idx: New testcase.
18354 2014-01-23 Tom Tromey <tromey@redhat.com>
18357 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18358 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18361 2014-01-23 Tom Tromey <tromey@redhat.com>
18364 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18365 string from an inferior frame.
18366 * gdb.python/py-framefilter-mi.exp: Update.
18368 2014-01-22 Doug Evans <dje@google.com>
18370 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18372 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18374 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18376 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18378 * gdb.trace/entry-values.exp: Remove excess space character from
18379 regex patterns. Handle s390 call instruction.
18381 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18383 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18384 define "*_start" label. Make "name" static.
18385 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18386 ${name} by references to ${name}_start.
18388 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18390 * gdb.base/info-macros.exp: Remove "debug" from the compile
18393 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18395 * gdb.dlang/demangle.exp: New file.
18397 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18399 * gdb.dlang/primitive-types.exp: New file.
18401 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18403 * configure.ac: Create gdb.dlang/Makefile.
18404 * configure: Regenerate.
18405 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18406 * gdb.dlang/Makefile.in: New file.
18407 * lib/d-support.exp: New file.
18408 * lib/gdb.exp (skip_d_tests): New proc.
18410 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18412 * gdb.btrace/delta.exp: Check reverse stepi.
18413 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18414 * gdb.btrace/finish.exp: New.
18415 * gdb.btrace/next.exp: New.
18416 * gdb.btrace/nexti.exp: New.
18417 * gdb.btrace/record_goto.c: Add comments.
18418 * gdb.btrace/step.exp: New.
18419 * gdb.btrace/stepi.exp: New.
18420 * gdb.btrace/multi-thread-step.c: New.
18421 * gdb.btrace/multi-thread-step.exp: New.
18422 * gdb.btrace/rn-dl-bind.c: New.
18423 * gdb.btrace/rn-dl-bind.exp: New.
18424 * gdb.btrace/data.c: New.
18425 * gdb.btrace/data.exp: New.
18426 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18428 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18430 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18431 * gdb.btrace/exception.exp: Update.
18432 * gdb.btrace/instruction_history.exp: Update.
18433 * gdb.btrace/record_goto.exp: Update.
18434 * gdb.btrace/tailcall.exp: Update.
18435 * gdb.btrace/unknown_functions.exp: Update.
18436 * gdb.btrace/delta.exp: New.
18438 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18440 * gdb.btrace/record_goto.exp: Add backtrace test.
18441 * gdb.btrace/tailcall.exp: Add backtrace test.
18443 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18445 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18446 * gdb.btrace/record_goto.c: New.
18447 * gdb.btrace/record_goto.exp: New.
18448 * gdb.btrace/x86-record_goto.S: New.
18450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18452 * gdb.btrace/function_call_history.exp: Update tests.
18453 * gdb.btrace/instruction_history.exp: Update tests.
18455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18457 * gdb.btrace/function_call_history.exp: Fix expected field
18458 order for "record function-call-history".
18459 Add new tests for "record function-call-history /c".
18460 * gdb.btrace/exception.cc: New.
18461 * gdb.btrace/exception.exp: New.
18462 * gdb.btrace/tailcall.exp: New.
18463 * gdb.btrace/x86-tailcall.S: New.
18464 * gdb.btrace/x86-tailcall.c: New.
18465 * gdb.btrace/unknown_functions.c: New.
18466 * gdb.btrace/unknown_functions.exp: New.
18467 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18469 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18471 * gdb.btrace/instruction_history.exp: Update.
18472 * gdb.btrace/function_call_history.exp: Update.
18474 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18476 * gdb.btrace/function_call_history.exp: Fix expected function
18478 * gdb.btrace/instruction_history.exp: Initialize traced.
18479 Remove traced_functions.
18481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18483 * gdb.btrace/function_call_history.exp: Update
18484 * gdb.btrace/instruction_history.exp: Update.
18486 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18488 * gdb.btrace/enable.exp: Update expected text.
18490 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18492 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18495 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18497 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18499 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18501 * lib/gdb.exp (supports_process_record): Return true for
18502 arm*-linux*. (supports_reverse): Likewise.
18504 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18508 * gdb.python/py-type.c: Enhance test case.
18509 * gdb.python/py-value-cc.cc: Likewise
18510 * gdb.python/py-type.exp: Add new tests.
18511 * gdb.python/py-value-cc.exp: Likewise
18513 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18514 Pedro Alves <palves@redhat.com>
18516 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18517 Make "name" extern.
18518 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18519 references to ${name}_start by references to ${name}.
18521 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18523 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18525 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18527 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18529 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18530 Pedro Alves <palves@redhat.com>
18532 * gdb.mi/mi-info-os.exp: Connect to the target with
18533 mi_gdb_target_load.
18535 2014-01-08 Pedro Alves <palves@redhat.com>
18537 * gdb.threads/reconnect-signal.c: New file.
18538 * gdb.threads/reconnect-signal.exp: New file.
18540 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18542 * gdb.base/source-dir.exp: New file.
18544 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18546 * gdb.ada/mi_interface: New testcase.
18548 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18550 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18551 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18552 gdb.ada/pp-rec-component/pck.ads: New files.
18554 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18556 * gdb.python/py-pp-integral.c: New file.
18557 * gdb.python/py-pp-integral.py: New file.
18558 * gdb.python/py-pp-integral.exp: New file.
18560 For older changes see ChangeLog-1993-2013.
18562 ;; Local Variables:
18563 ;; mode: change-log
18566 ;; version-control: never
18569 Copyright 2014-2020 Free Software Foundation, Inc.
18570 Copying and distribution of this file, with or without modification,
18571 are permitted provided the copyright notice and this notice are preserved.