1 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
6 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
8 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
11 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
13 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
16 (enum flag_enum_without_zero): New enum.
17 (flag_enum_without_zero): New variable.
18 (enum not_flag_enum): New enum.
19 (three_not_flag): New variable.
20 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
21 (test_print_enums): Add more tests for printing flag enums.
23 2020-02-18 Tom de Vries <tdevries@suse.de>
25 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
26 (gdb_compile_ada): ... here.
27 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
28 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
30 2020-02-14 Tom Tromey <tom@tromey.com>
32 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
34 * boards/gdbserver-base.exp: Update path to gdbserver.
36 2020-02-13 Tom de Vries <tdevries@suse.de>
38 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
40 2020-02-13 Tom de Vries <tdevries@suse.de>
42 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
45 2020-02-13 Tom de Vries <tdevries@suse.de>
47 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
50 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
53 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
54 * gdb.base/cached-source-file.c: New file.
55 * gdb.base/cached-source-file.exp: New file.
57 2020-02-11 Tom de Vries <tdevries@suse.de>
60 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
62 2020-02-10 Tom de Vries <tdevries@suse.de>
64 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
66 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
68 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
69 and $after_addr are both integers before making a comparison.
71 2020-02-09 Tom de Vries <tdevries@suse.de>
73 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
74 command output and paste it into gdb.log. If any, paste catch message
77 2020-02-07 Tom Tromey <tromey@adacore.com>
80 * gdb.base/annotate-symlink.exp: Use setup_xfail.
82 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
84 * gdb.tui/tui-missing-src.exp: Add the "missing source
85 file" test for the TUI.
87 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
89 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
90 including a port number in the output.
92 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
94 * lib/fortran.exp (fortran_int4): Handle clang.
95 (fortran_int8): Likewise.
96 (fortran_real4): Likewise.
97 (fortran_real8): Likewise.
98 (fortran_complex4): Likewise.
99 (fortran_logical4): Likewise.
100 (fortran_character1): Likewise.
102 2020-02-04 Tom de Vries <tdevries@suse.de>
104 * README (Race detection): Add note.
106 2020-02-04 Tom de Vries <tdevries@suse.de>
108 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
110 2020-02-04 Tom de Vries <tdevries@suse.de>
112 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
114 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
116 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
117 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
118 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
120 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
121 binary for blttar, bnetarl.
122 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
123 wait instruction. Delete ldmx test.
124 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
126 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
128 * gdb.fortran/array-bounds-high.exp: New file.
129 * gdb.fortran/array-bounds-high.f90: New file.
131 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
133 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
134 Replace #include of <sys/fcntl.h> by <fcntl.h>.
136 2020-02-01 Tom de Vries <tdevries@suse.de>
138 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
140 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
143 * gdb.tui/tui-layout-asm-short-prog.S: New file.
144 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
146 2020-01-29 Luis Machado <luis.machado@linaro.org>
148 * gdb.arch/aarch64-brk-patterns.c: New source file.
149 * gdb.arch/aarch64-brk-patterns.exp: New test.
151 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
153 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
155 * gdb.cp/pass-by-ref.exp: Ditto.
157 2020-01-29 Tom de Vries <tdevries@suse.de>
159 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
160 * gdb.threads/watchpoint-fork-mt.c: Same.
161 * gdb.threads/watchpoint-fork-parent.c: Same.
162 * gdb.threads/watchpoint-fork-st.c: Same.
163 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
165 2020-01-27 Luis Machado <luis.machado@linaro.org>
167 * gdb.base/step-over-syscall.exp (setup): Check if we're already
168 sitting at a syscall instruction when we hit the syscall function's
170 Check PC against one obtained with the x command.
171 Validate syscall number.
172 (step_over_syscall): Don't continue to the syscall instruction if
175 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
177 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
179 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
181 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
182 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
184 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
186 * gdb.dwarf2/dw2-inline-stepping.c: New file.
187 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
189 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
191 * gdb.base/maint.exp: Update line table parsing test.
192 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
194 2020-01-24 Pedro Alves <palves@redhat.com>
197 * gdb.multi/multi-re-run-1.c: New.
198 * gdb.multi/multi-re-run-2.c: New.
199 * gdb.multi/multi-re-run.exp: New.
201 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
204 * gdb.server/server-kill-python.exp: New file.
206 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
208 * gdb.server/multi-ui-errors.c: New file.
209 * gdb.server/multi-ui-errors.exp: New file.
211 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
214 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
216 2020-01-19 Tom Tromey <tom@tromey.com>
218 * gdb.tui/main.exp: Add check for plain "file".
220 2020-01-16 Christian Biesinger <cbiesinger@google.com>
222 * lib/gdb.exp: Fix spelling error (seperatelly).
224 2020-01-14 Tom Tromey <tom@tromey.com>
227 * gdb.python/python.exp: Test decode_line with empty string
230 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
232 * gdb.base/skip-inline.exp: Extend test.
234 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
236 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
237 * gdb.dwarf2/dw2-bad-elf.c: New file.
238 * gdb.dwarf2/dw2-bad-elf.exp: New file.
240 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
242 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
245 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
247 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
250 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
252 * gdb.multi/multi-target.exp (setup): Factor out "info
253 connections" and "info inferiors" tests to ...
254 (test_info_inferiors): ... this new procedure.
255 (top level): Run new "info-inferiors" tests.
257 2020-01-10 Pedro Alves <palves@redhat.com>
259 * gdb.server/bkpt-other-inferior.exp: New file.
261 2020-01-10 Pedro Alves <palves@redhat.com>
263 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
265 * gdb.base/quit-live.exp: Likewise.
266 * gdb.base/remote-exec-file.exp: Likewise.
267 * gdb.guile/scm-progspace.exp: Likewise.
268 * gdb.linespec/linespec.exp: Likewise.
269 * gdb.mi/new-ui-mi-sync.exp: Likewise.
270 * gdb.mi/user-selected-context-sync.exp: Likewise.
271 * gdb.multi/multi-target.exp (setup): Add "info connection" and
272 "info inferiors" tests.
273 * gdb.multi/remove-inferiors.exp: Adjust expected output of
275 * gdb.multi/watchpoint-multi.exp: Likewise.
276 * gdb.python/py-inferior.exp: Likewise.
277 * gdb.server/extended-remote-restart.exp: Likewise.
278 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
280 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
281 * gdb.trace/report.exp: Likewise.
283 2020-01-10 Pedro Alves <palves@redhat.com>
285 * gdb.multi/multi-target.c: New file.
286 * gdb.multi/multi-target.exp: New file.
287 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
288 mode requested, but remote does not support non-stop".
290 2020-01-10 Pedro Alves <palves@redhat.com>
292 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
293 disconnect before reconnecting.
295 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
296 Pedro Alves <palves@redhat.com>
298 * gdb.server/connect-without-multi-process.exp: Also test
301 2020-01-10 Pedro Alves <palves@redhat.com>
303 * gdb.base/remote-exec-file.exp: New file.
305 2020-01-10 Pedro Alves <palves@redhat.com>
307 * gdb.base/fork-running-state.exp (do_test): Adjust expected
309 * gdb.threads/async.c: New.
310 * gdb.threads/async.exp: New.
311 * gdb.multi/tids-gid-reset.c: New.
312 * gdb.multi/tids-gid-reset.exp: New.
314 2020-01-10 George Barrett <bob@bob131.so>
316 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
317 to help in finding the image relocation offset.
318 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
319 options in arguments.
320 (stap_test_no_debuginfo): Likewise.
321 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
323 (stap_test): Add null semaphore relocation test.
325 2020-01-10 George Barrett <bob@bob131.so>
327 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
328 * gdb.base/stap-probe.exp: Likewise.
329 (stap_test): Pass argument as an additional flag.
330 (stap_test_no_debuginfo): Likewise.
331 (stap_test): Check `info probes stap' output for semaphore
332 addresses if the test binary is supposed to have them.
334 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
336 * gdb.tui/basic.exp: Add more scrolling tests.
338 2020-01-09 Tom Tromey <tom@tromey.com>
341 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
343 (Term::command, Term::resize): Update.
344 * gdb.tui/basic.exp: Add scrolling test.
346 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
348 * gdb.tui/tui-layout-asm.exp: New file.
350 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
352 * lib/tuiterm.exp (Term::check_box_contents): New proc.
354 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
356 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
357 (Term::enter_tui): Use Term::prepare_for_tui.
359 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
361 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
364 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
366 * gdb.base/skip.exp: Fix race condition in test.
368 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
370 * gdb.base/backtrace.c: New file.
371 * gdb.base/backtrace.exp: New file.
373 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
375 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
377 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
379 * gdb.base/style.exp: Test that warnings are styled.
381 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
383 * gdb.base/line65535.exp: New file.
384 * gdb.base/line65535.c: New file.
386 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
388 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
389 * lib/gnat_debug_info_test.adb: New file.
390 * gdb.ada/ptype_tagged_param.exp: Use
391 gnat_runtime_has_debug_info, expect a different output if
392 runtime does not have debug info.
394 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
396 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
397 (another) quote in test name.
399 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
401 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
402 Add quote in test name.
404 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
406 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
408 * gdb.cp/pass-by-ref.exp: Extend with more cases.
409 * gdb.cp/pass-by-ref-2.cc: New file.
410 * gdb.cp/pass-by-ref-2.exp: New file.
412 2019-12-20 Tom Tromey <tom@tromey.com>
414 * gdb.tui/list-before.exp: New file.
416 2019-12-20 Tom Tromey <tom@tromey.com>
418 * gdb.tui/list.exp: Check for source on initial listing.
420 2019-12-11 Tom Tromey <tromey@adacore.com>
422 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
425 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
427 * gdb.base/default.exp: Update value of $_gdb_major.
429 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
431 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
433 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
435 * gdb.base/skip.exp: Whitespace fix.
437 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
439 * gdb.base/skip-inline.c: New file.
440 * gdb.base/skip-inline.exp: New file.
442 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
444 * gdb.base/jit-reader.exp (jit_reader_test): Rename
445 jit_function_00 to jit_function_stack_mangle.
446 * gdb.base/jithost.c (jit_function_t): Rename to...
447 (jit_function_stack_mangle_t): ... this.
448 (jit_function_add_t): New typedef.
449 (jit_function_00_code): Rename to...
450 (jit_function_stack_mangle_code): ... this, make static.
451 (jit_function_add_code): New.
452 (main): Generate "add" function and call it. Adjust to changes
454 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
455 (struct jithost_abi) <begin, end>: Remove fields.
456 <object, function_stack_mangle, function_add>: New fields.
457 * gdb.base/jitreader.c (struct reader_state) <code_begin,
458 code_end>: Remove fields.
459 <func_stack_mangle>: New field.
460 (read_debug_info): Adjust to renaming, create block for "add"
462 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
464 2019-12-11 Tom Tromey <tom@tromey.com>
466 * gdb.tui/resize.exp: Fix regexp.
467 * gdb.tui/regs.exp: Fix regexps.
468 * gdb.tui/main.exp: Fix regexp.
470 2019-12-11 Tom Tromey <tom@tromey.com>
472 * gdb.tui/resize.exp: Update.
473 * gdb.tui/empty.exp (layouts): Update.
475 2019-12-11 Tom Tromey <tom@tromey.com>
477 * gdb.tui/regs.exp: Update.
478 * gdb.tui/empty.exp (layouts): Update.
479 * gdb.tui/basic.exp: Update.
480 * lib/tuiterm.exp (_check_box): Don't check bottom border.
482 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
484 * gdb.base/options.exp: Add -raw-values in the print completion list.
485 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
487 2019-12-10 Kevin Buettner <kevinb@redhat.com>
489 * gdb.threads/omp-par-scope.c: New file.
490 * gdb/threads/omp-par-scope.exp: New file.
492 2019-12-10 Kevin Buettner <kevinb@redhat.com>
494 * lib/gdb.exp (support_nested_function_tests): New proc.
496 2019-12-10 Kevin Buettner <kevinb@redhat.com>
498 * lib/gdb.exp (gdb_compile_openmp): New proc.
499 (build_executable_from_specs): Add an "openmp" option.
500 (gdb_compile_pthreads): Add non-executable case.
502 2019-12-10 Tom Tromey <tromey@adacore.com>
504 * gdb.ada/unchecked_union.exp: New file.
505 * gdb.ada/unchecked_union/pck.adb: New file.
506 * gdb.ada/unchecked_union/pck.ads: New file.
507 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
508 * gdb-utils.exp (string_to_regexp): Also quote "?".
510 2019-12-10 George Barrett <bob@bob131.so>
512 Test scripted probe breakpoints.
513 * gdb.guile/scm-breakpoint.c (main): Add probe point.
514 * gdb.python/py-breakpoint.c (main): Likewise.
515 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
517 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
519 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
521 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
523 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
526 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
528 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
531 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
533 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
534 broken version of GCC.
536 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
538 * gdb.fortran/info-modules.exp: Rewrite to make use of new
539 sym-info-cmds library.
540 * gdb.fortran/info-types.exp: Likewise.
541 * lib/sym-info-cmds.exp: New file.
543 2019-12-08 Tom de Vries <tdevries@suse.de>
545 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
547 2019-12-07 Keith Seitz <keiths@redhat.com>
549 * gdb.base/corefile-buildid-shlib-shr.c: New file.
550 * gdb.base/corefile-buildid-shlib.c: New file.
551 * gdb.base/corefile-buildid.c: New file.
552 * gdb.base/corefile-buildid.exp: New file.
554 2019-12-06 Tom de Vries <tdevries@suse.de>
556 * gdb.dwarf2/varval.exp: Add decl before def test.
558 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
560 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
562 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
564 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
565 CV and reference conversion for overload resolution.
566 * gdb.cp/rvalue-ref-overload.exp: Test it.
568 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
570 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
571 * gdb.base/frameapply.exp: Test faas without command.
573 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
575 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
577 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
580 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
582 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
583 casting to type with no kind specified.
584 (test_basic_parsing_of_type_kinds): Additional tests for types
585 with no kind specified, and add tests for single/double
586 precision/complex types.
588 2019-12-04 Tom Tromey <tromey@adacore.com>
590 * gdb.base/endianity.c (struct other) <x>: New field.
591 (main): Initialize it.
592 * gdb.base/endianity.exp: Update.
594 2019-12-04 Tom Tromey <tromey@adacore.com>
596 * gdb.ada/scalar_storage/storage.adb: New file.
597 * gdb.ada/scalar_storage/pck.adb: New file.
598 * gdb.ada/scalar_storage/pck.ads: New file.
599 * gdb.ada/scalar_storage.exp: New file.
601 2019-12-04 Tom Tromey <tromey@adacore.com>
603 * gdb.base/endianity.c (struct otherendian) <f>: New field.
604 (main): Initialize it.
605 * gdb.base/endianity.exp: Update.
607 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
609 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
611 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
613 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
614 -symbol-info-module-functions and -symbol-info-module-variables.
616 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
618 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
620 2019-12-01 Richard Bunt <richard.bunt@arm.com>
621 Andrew Burgess <andrew.burgess@embecosm.com>
623 * gdb.fortran/derived-type-striding.exp: New file.
624 * gdb.fortran/derived-type-striding.f90: New file.
625 * gdb.fortran/array-slices.exp: New file.
626 * gdb.fortran/array-slices.f90: New file.
628 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
630 * gdb.base/define.exp: Test . in command names.
631 * gdb.base/setshow.exp: Update test, as . is now part of
634 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
636 * gdb.base/define-prefix.exp: New file.
638 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
640 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
642 (skip_btrace_pt_tests): Likewise.
644 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
646 * gdb.fortran/info-modules.exp: Compile source files in correct
649 2019-11-27 Kevin Buettner <kevinb@redhat.com>
651 * gdb.dwarf2/imported-unit.exp: New file.
652 * gdb.dwarf2/imported-unit.c: New file.
654 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
656 * gdb.mi/mi-fortran-modules-2.f90: New file.
657 * gdb.mi/mi-fortran-modules.exp: New file.
658 * gdb.mi/mi-fortran-modules.f90: New file.
660 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
662 * gdb.mi/mi-sym-info-1.c: New file.
663 * gdb.mi/mi-sym-info-2.c: New file.
664 * gdb.mi/mi-sym-info.exp: New file.
666 2019-11-22 Tom Tromey <tromey@adacore.com>
668 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
669 * gdb.ada/tasks/foo.adb: Add another stopping location.
671 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
673 * gdb.base/endianity.c: New test.
674 * gdb.base/endianity.exp: New file.
676 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
678 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
680 2019-11-21 Tom de Vries <tdevries@suse.de>
683 * gdb.base/ui-redirect.exp: Test output of user-defined command.
685 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
687 * gdb.python/py-progspace.exp: Add missing parentheses on some
690 2019-11-19 Tom Tromey <tom@tromey.com>
692 * gdb.tui/winheight.exp: New file.
694 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
696 * gdb.base/ctf-whatis.c: Delete.
697 * gdb.base/ctf-whatis.exp: Delete.
698 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
700 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
702 * gdb.base/ctf-cvexpr.exp: Delete.
703 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
705 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
707 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
708 the compiler. Clean up header comment a little.
709 * gdb.base/ctf-ptype.exp: Likewise.
710 * gdb.base/ctf-whatis.exp: Likewise.
711 * lib/gdb.exp (skip_ctf_tests): New proc.
713 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
715 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
716 * gdb.tui/corefile-run.exp: New file.
718 2019-11-14 Tom Tromey <tromey@adacore.com>
720 * gdb.base/gdbvars.exp (test_convenience_variables): Add
723 2019-11-12 Tom Tromey <tom@tromey.com>
725 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
726 after any command. Expect prompt after WAIT_FOR is seen.
727 (enter_tui): Enable resize messages.
728 (command): Expect command in output.
729 (get_line): Avoid error when cursor appears to be off-screen.
730 (dump_screen): Include screen size in title.
731 (_do_resize): New proc, from "resize".
732 (resize): Rewrite. Do resize in two steps.
733 * gdb.tui/empty.exp (layouts): Fix entries.
734 (check_boxes): Remove xfail.
735 (check_text): Dump screen on failure.
737 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
739 * gdb.python/py-symbol.exp: Add test for
740 gdb.lookup_static_symbols.
742 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
744 * gdb.python/py-symbol.c: Declare and call function from new
746 * gdb.python/py-symbol.exp: Compile both source files, and add new
747 tests for gdb.lookup_static_symbol.
748 * gdb.python/py-symbol-2.c: New file.
750 2019-11-02 Tom de Vries <tdevries@suse.de>
752 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
753 * gdb.base/anon.exp: Same.
754 * gdb.base/auto-connect-native-target.exp: Same.
755 * gdb.base/call-ar-st.exp: Same.
756 * gdb.base/catch-syscall.exp: Same.
757 * gdb.base/commands.exp: Same.
758 * gdb.base/default.exp: Same.
759 * gdb.base/display.exp: Same.
760 * gdb.base/float.exp: Same.
761 * gdb.base/foll-fork.exp: Same.
762 * gdb.base/help.exp: Same.
763 * gdb.base/info-macros.exp: Same.
764 * gdb.base/info-proc.exp: Same.
765 * gdb.base/info-target.exp: Same.
766 * gdb.base/long_long.exp: Same.
767 * gdb.base/macscp.exp: Same.
768 * gdb.base/memattr.exp: Same.
769 * gdb.base/nofield.exp: Same.
770 * gdb.base/pointers.exp: Same.
771 * gdb.base/printcmds.exp: Same.
772 * gdb.base/ptype.exp: Same.
773 * gdb.base/restore.exp: Same.
774 * gdb.base/return.exp: Same.
775 * gdb.base/scope.exp: Same.
776 * gdb.base/set-noassign.exp: Same.
777 * gdb.base/setshow.exp: Same.
778 * gdb.base/shlib-call.exp: Same.
779 * gdb.base/signals.exp: Same.
780 * gdb.base/sigstep.exp: Same.
781 * gdb.base/skip.exp: Same.
782 * gdb.base/solib-symbol.exp: Same.
783 * gdb.base/stap-probe.exp: Same.
784 * gdb.base/step-line.exp: Same.
785 * gdb.base/step-test.exp: Same.
786 * gdb.base/style.exp: Same.
787 * gdb.base/varargs.exp: Same.
788 * gdb.base/vla-datatypes.exp: Same.
789 * gdb.base/vla-ptr.exp: Same.
790 * gdb.base/vla-sideeffect.exp: Same.
791 * gdb.base/volatile.exp: Same.
792 * gdb.base/watch-cond-infcall.exp: Same.
793 * gdb.base/watchpoint.exp: Same.
795 2019-11-02 Tom de Vries <tdevries@suse.de>
797 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
798 * gdb.cp/cpexprs.exp: Same.
799 * gdb.cp/except-multi-location.exp: Same.
800 * gdb.cp/exceptprint.exp: Same.
801 * gdb.cp/gdb2384.exp: Same.
802 * gdb.cp/inherit.exp: Same.
803 * gdb.cp/m-static.exp: Same.
804 * gdb.cp/meth-typedefs.exp: Same.
805 * gdb.cp/misc.exp: Same.
806 * gdb.cp/namespace.exp: Same.
807 * gdb.cp/non-trivial-retval.exp: Same.
808 * gdb.cp/overload.exp: Same.
809 * gdb.cp/pr17132.exp: Same.
810 * gdb.cp/re-set-overloaded.exp: Same.
811 * gdb.cp/rvalue-ref-types.exp: Same.
812 * gdb.cp/templates.exp: Same.
814 2019-11-01 Luis Machado <luis.machado@linaro.org>
818 * gdb.arch/pr25124.S: New file.
819 * gdb.arch/pr25124.exp: New file.
821 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
823 * gdb.fortran/info-modules.exp: Update expected results, and add
824 additional tests for 'info module functinos', and 'info module
826 * gdb.fortran/info-types.exp: Update expected results.
827 * gdb.fortran/info-types.f90: Extend testcase with additional
828 module variables and functions.
830 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
832 * gdb.fortran/info-modules.exp: New file.
833 * gdb.fortran/info-types.exp: Build with new file.
834 * gdb.fortran/info-types.f90: Include and use new module.
835 * gdb.fortran/info-types-2.f90: New file.
837 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
839 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
840 * gdb.base/settings.exp: Test all settings types using
841 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
842 that now verifies that the value of "maint show" is the same as
843 returned by the settings functions. Test the type of the
844 maintenance settings.
845 * gdb.base/default.exp: Update show_conv_list.
847 2019-10-31 Tom de Vries <tdevries@suse.de>
849 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
851 * gdb.arch/amd64-disp-step.exp: Same.
852 * gdb.asm/asm-source.exp: Same.
853 * gdb.btrace/buffer-size.exp: Same.
854 * gdb.btrace/cpu.exp: Same.
855 * gdb.btrace/enable.exp: Same.
856 * gdb.dwarf2/count.exp: Same.
857 * gdb.dwarf2/dw2-ranges-func.exp: Same.
858 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
859 * gdb.fortran/vla-datatypes.exp: Same.
860 * gdb.fortran/vla-history.exp: Same.
861 * gdb.fortran/vla-ptype.exp: Same.
862 * gdb.fortran/vla-value.exp: Same.
863 * gdb.fortran/whatis_type.exp: Same.
864 * gdb.guile/guile.exp: Same.
865 * gdb.multi/tids.exp: Same.
866 * gdb.python/py-finish-breakpoint.exp: Same.
867 * gdb.python/py-framefilter.exp: Same.
868 * gdb.python/py-pp-registration.exp: Same.
869 * gdb.python/py-xmethods.exp: Same.
870 * gdb.python/python.exp: Same.
871 * gdb.server/connect-with-no-symbol-file.exp: Same.
872 * gdb.server/no-thread-db.exp: Same.
873 * gdb.server/run-without-local-binary.exp: Same.
874 * gdb.stabs/weird.exp: Same.
875 * gdb.threads/attach-many-short-lived-threads.exp: Same.
876 * gdb.threads/thread-find.exp: Same.
877 * gdb.threads/tls-shared.exp: Same.
878 * gdb.threads/tls.exp: Same.
879 * gdb.threads/wp-replication.exp: Same.
880 * gdb.trace/ax.exp: Same.
881 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
883 2019-10-31 Tom de Vries <tdevries@suse.de>
885 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
886 * gdb.ada/array_subscript_addr.exp: Same.
887 * gdb.ada/arrayidx.exp: Same.
888 * gdb.ada/arrayparam.exp: Same.
889 * gdb.ada/arrayptr.exp: Same.
890 * gdb.ada/boolean_expr.exp: Same.
891 * gdb.ada/call_pn.exp: Same.
892 * gdb.ada/complete.exp: Same.
893 * gdb.ada/fixed_cmp.exp: Same.
894 * gdb.ada/fun_addr.exp: Same.
895 * gdb.ada/funcall_param.exp: Same.
896 * gdb.ada/interface.exp: Same.
897 * gdb.ada/mod_from_name.exp: Same.
898 * gdb.ada/null_array.exp: Same.
899 * gdb.ada/packed_array.exp: Same.
900 * gdb.ada/packed_tagged.exp: Same.
901 * gdb.ada/print_chars.exp: Same.
902 * gdb.ada/print_pc.exp: Same.
903 * gdb.ada/ptype_arith_binop.exp: Same.
904 * gdb.ada/ptype_field.exp: Same.
905 * gdb.ada/ptype_tagged_param.exp: Same.
906 * gdb.ada/rec_return.exp: Same.
907 * gdb.ada/ref_tick_size.exp: Same.
908 * gdb.ada/str_ref_cmp.exp: Same.
909 * gdb.ada/taft_type.exp: Same.
910 * gdb.ada/tagged.exp: Same.
911 * gdb.ada/type_coercion.exp: Same.
912 * gdb.ada/uninitialized_vars.exp: Same.
914 2019-10-30 Tom de Vries <tdevries@suse.de>
916 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
918 2019-10-26 Tom de Vries <tdevries@suse.de>
920 * gdb.base/bigcore.c: Fix typos in comments.
921 * gdb.base/ctf-ptype.c: Same.
922 * gdb.base/long_long.c: Same.
923 * gdb.dwarf2/dw2-op-out-param.S: Same.
924 * gdb.python/py-evthreads.c: Same.
925 * gdb.reverse/i387-stack-reverse.c: Same.
926 * gdb.trace/tfile.c: Same.
927 * lib/compiler.c: Same.
928 * lib/compiler.cc: Same.
930 2019-10-25 Tom de Vries <tdevries@suse.de>
932 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
933 gdb_test_multiple calls.
934 * gdb.reverse/sigall-reverse.exp: Same.
935 * gdb.reverse/solib-precsave.exp: Same.
936 * gdb.reverse/solib-reverse.exp: Same.
937 * gdb.reverse/until-precsave.exp: Same.
938 * gdb.reverse/until-reverse.exp: Same.
940 2019-10-24 Tom de Vries <tdevries@suse.de>
942 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
943 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
944 kfail using -wrap pattern flag and convenience variable
947 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
949 * gdb.python/py-progspace.exp: Add tests for the
950 Progspace.block_for_pc method.
952 2019-10-23 Tom Tromey <tom@tromey.com>
954 * configure: Rebuild.
955 * aclocal.m4: Use m4_include, not sinclude.
957 2019-10-21 Tom de Vries <tdevries@suse.de>
959 * gdb.base/infcall-nested-structs.c: Add
960 __attribute__((noinline,noclone)) to all functions.
961 (call_all): Add missing variable initialization. Simplify return value.
962 (breakpt): Increment volatile variable, to prevent call from being
964 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
966 2019-10-17 Tom de Vries <tdevries@suse.de>
968 * gdb.fortran/module.exp: Allow info variables to print info for files
969 other than module.f90.
971 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
973 * gdb.fortran/module.exp: Extend with 'info variables' test.
975 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
977 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
980 2019-10-16 Tom de Vries <tdevries@suse.de>
983 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
985 2019-10-16 Tom de Vries <tdevries@suse.de>
988 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
989 Add KFAIL for PR tdep/25096.
991 2019-10-16 Tom de Vries <tdevries@suse.de>
994 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
996 2019-10-16 Tom de Vries <tdevries@suse.de>
998 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1001 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1003 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1004 one instead of increasing timeout.
1006 2019-10-13 Tom de Vries <tdevries@suse.de>
1009 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1010 * gdb.reverse/sigall-reverse.exp: Same.
1011 * gdb.reverse/solib-precsave.exp: Same.
1012 * gdb.reverse/solib-reverse.exp: Same.
1013 * gdb.reverse/step-precsave.exp: Same.
1014 * gdb.reverse/until-precsave.exp: Same.
1015 * gdb.reverse/until-reverse.exp: Same.
1016 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1018 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1020 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1021 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1022 (cmp_struct_05_01, cmp_struct_static_02_01)
1023 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1026 2019-10-10 Tom de Vries <tdevries@suse.de>
1029 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1032 2019-10-09 Tom de Vries <tdevries@suse.de>
1035 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1037 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1039 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1040 exceptions due to missing debug information.
1042 2019-10-07 Tom de Vries <tdevries@suse.de>
1044 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1046 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1048 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1049 * gdb.base/annota1.exp: Update to use gdb_test_name.
1051 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1053 * gdb.base/ctf-whatis.exp: New file.
1054 * gdb.base/ctf-whatis.c: New file.
1055 * gdb.base/ctf-ptype.exp: New file.
1056 * gdb.base/ctf-ptype.c: New file.
1057 * gdb.base/ctf-constvars.exp: New file.
1058 * gdb.base/ctf-constvars.c: New file.
1059 * gdb.base/ctf-cvexpr.exp: New file.
1061 2019-10-04 Tom de Vries <tdevries@suse.de>
1063 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1066 2019-10-03 Tom Tromey <tom@tromey.com>
1069 * gdb.rust/simple.rs (Union2): New type.
1071 * gdb.rust/simple.exp: Add test.
1073 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1075 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1076 nested function prefix.
1078 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1079 Richard Bunt <richard.bunt@arm.com>
1080 Andrew Burgess <andrew.burgess@embecosm.com>
1082 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1084 * gdb.fortran/nested-funcs.f90: Update expected results.
1085 * gdb.fortran/nested-funcs-2.exp: New file.
1086 * gdb.fortran/nested-funcs-2.f90: New file.
1088 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1090 * gdb.python/py-parameter.exp: Make test names unique.
1091 * gdb.python/py-template.exp: Likewise.
1092 * gdb.python/py-value.exp: Likewise.
1094 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1096 * gdb.base/break-interp.exp: Reduce test name duplication.
1097 * gdb.base/call-sc.exp: Likewise.
1098 * gdb.base/callfuncs.exp: Likewise.
1099 * gdb.base/charset.exp: Likewise.
1100 * gdb.base/dump.exp: Likewise.
1101 * gdb.base/ena-dis-br.exp: Likewise.
1102 * gdb.base/relational.exp: Likewise.
1103 * gdb.base/step-over-syscall.exp: Likewise.
1104 * gdb.base/structs.exp: Likewise.
1106 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1108 * gdb.linespec/explicit.exp: Make test names unique.
1109 * gdb.linespec/ls-errs.exp: Likewise.
1111 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1113 * gdb.reverse/break-precsave.exp: Make test names unique.
1114 * gdb.reverse/break-reverse.exp: Likewise.
1115 * gdb.reverse/finish-precsave.exp: Likewise.
1116 * gdb.reverse/finish-reverse.exp: Likewise.
1117 * gdb.reverse/machinestate-precsave.exp: Likewise.
1118 * gdb.reverse/machinestate.exp: Likewise.
1119 * gdb.reverse/readv-reverse.exp: Likewise.
1120 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1121 * gdb.reverse/sigall-precsave.exp: Likewise.
1122 * gdb.reverse/sigall-reverse.exp: Likewise.
1123 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1124 * gdb.reverse/watch-precsave.exp: Likewise.
1125 * gdb.reverse/watch-reverse.exp: Likewise.
1127 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1129 * gdb.threads/stop-with-handle.c: New file.
1130 * gdb.threads/stop-with-handle.exp: New file.
1132 2019-10-03 Tom de Vries <tdevries@suse.de>
1135 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1136 directory" line to be missing.
1138 2019-10-03 Tom de Vries <tdevries@suse.de>
1141 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1144 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1146 * gdb.python/py-format-string.c (string.h): New include.
1147 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1148 the same value, for endianness-independence.
1149 * gdb.python/py-format-string.exp (default_regexp_dict)
1150 (test_pretty_structs, test_format): Adjust expected output to the
1151 changed initialization.
1153 2019-10-02 Tom Tromey <tromey@adacore.com>
1155 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1157 2019-10-02 Pedro Alves <palves@redhat.com>
1158 Andrew Burgess <andrew.burgess@embecosm.com>
1160 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1162 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1163 (get_version_1): Print this_version_id and its address.
1164 Add extern "C" wrappers around interface functions.
1165 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1167 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1168 (get_version_2): Print this_version_id and its address.
1169 Add extern "C" wrappers around interface functions.
1170 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1171 <stddef.h> and "print-file-var.h".
1172 Add extern "C" wrappers around interface functions.
1173 [VERSION_ID_MAIN] (this_version_id): Define.
1174 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1175 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1176 up extern "C" blocks.
1177 * gdb.base/print-file-var.exp (test): New, factored out from top
1179 (top level): Test all combinations of attribute hidden or not,
1180 dlopen or not, and this_version_id symbol in main file or not.
1181 Compile tests as both C++ and C, make test names unique.
1183 2019-10-01 Tom Tromey <tom@tromey.com>
1185 * gdb.base/style.exp: Test "show logging filename".
1187 2019-10-01 Tom Tromey <tom@tromey.com>
1189 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1190 * gdb.base/style.exp: Add metadata style test.
1192 2019-10-01 Tom Tromey <tom@tromey.com>
1194 * gdb.base/style.exp: Test "pwd".
1196 2019-10-01 Tom Tromey <tom@tromey.com>
1198 * gdb.base/style.exp: Update tests.
1200 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1202 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1204 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1205 'five'. Use an all-ones bit pattern for each.
1206 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1207 to its changed values.
1209 2019-09-30 Tom Tromey <tromey@adacore.com>
1211 * gdb.rust/traits.rs: Disable all warnings.
1213 2019-09-29 Tom de Vries <tdevries@suse.de>
1215 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1217 2019-09-29 Tom de Vries <tdevries@suse.de>
1219 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1221 2019-09-27 Tom de Vries <tdevries@suse.de>
1223 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1225 2019-09-27 Tom de Vries <tdevries@suse.de>
1228 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1230 2019-09-26 Tom Tromey <tromey@adacore.com>
1232 * gdb.ada/py_taft.exp: New file.
1233 * gdb.ada/py_taft/main.adb: New file.
1234 * gdb.ada/py_taft/pkg.adb: New file.
1235 * gdb.ada/py_taft/pkg.ads: New file.
1237 2019-09-24 Tom de Vries <tdevries@suse.de>
1240 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1242 2019-09-22 Tom de Vries <tdevries@suse.de>
1244 * gdb.base/restore.exp: Allow register variables to be optimized out at
1247 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1249 * gdb.arch/spu-info.exp: Remove file.
1250 * gdb.arch/spu-info.c: Remove file.
1251 * gdb.arch/spu-ls.exp: Remove file.
1252 * gdb.arch/spu-ls.c: Remove file.
1254 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1255 * gdb.asm/spu.inc: Remove file.
1257 * gdb.base/dump.exp: Remove support for spu*-*-*.
1258 * gdb.base/stack-checking.exp: Likewise.
1259 * gdb.base/overlays.exp: Likewise.
1260 * gdb.base/ovlymgr.c: Likewise.
1261 * gdb.base/spu.ld: Remove file.
1263 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1264 * gdb.cp/cpexprs.exp: Likewise.
1265 * gdb.cp/exception.exp: Likewise.
1266 * gdb.cp/gdb2495.exp: Likewise.
1267 * gdb.cp/mb-templates.exp: Likewise.
1268 * gdb.cp/pr9167.exp: Likewise.
1269 * gdb.cp/userdef.exp: Likewise.
1271 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1273 * gdb.cell: Remove directory.
1274 * lib/cell.exp: Remove file.
1276 2019-09-19 Tom de Vries <tdevries@suse.de>
1278 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1280 2019-09-19 Tom de Vries <tdevries@suse.de>
1282 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1284 2019-09-19 Tom de Vries <tdevries@suse.de>
1286 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1287 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1288 (gdb_target_cmd): ... here.
1289 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1292 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1294 * gdb.base/source-dir.exp: Avoid having directory names in test
1297 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1299 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1302 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1304 * gdb.base/list-missing-source.exp: New file.
1306 2019-09-14 Tom de Vries <tdevries@suse.de>
1309 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1310 * lib/ada.exp (gnatmake_version_at_least): New proc.
1312 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1314 * gdb.base/maint.exp: Use exec_has_index_section.
1316 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1318 * gdb.base/maint.exp: Add test for 'maint info sections'.
1320 2019-09-12 Tom de Vries <tdevries@suse.de>
1322 * gdb.base/store.exp: Allow register variables to be optimized out at
1325 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1327 * gdb.ada/rdv_wait.exp: Update to new task names.
1328 * gdb.base/task_switch_in_core.exp: Likewise.
1329 * gdb.base/info_sources_base.c: Likewise.
1331 2019-09-10 Tom Tromey <tromey@adacore.com>
1333 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1335 2019-09-10 Tom Tromey <tromey@adacore.com>
1337 * gdb.ada/dgopt.exp: New file.
1338 * gdb.ada/dgopt/x.adb: New file.
1340 2019-09-08 Tom Tromey <tom@tromey.com>
1342 * gdb.tui/resize.exp: Remove setup_xfail.
1343 * gdb.tui/regs.exp: Remove setup_xfail.
1344 * gdb.tui/basic.exp: Remove setup_xfail.
1346 2019-09-06 David Blaikie <dblaikie@gmail.com>
1348 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1349 * gdb.cp/cplabel.exp: Ditto.
1350 * gdb.linespec/ls-errs.exp: Ditto.
1352 2019-09-05 Tom de Vries <tdevries@suse.de>
1354 * lib/gdb.exp (cmp_file_string): New proc.
1355 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1356 runto_main. Verify save breakpoints output.
1358 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1360 * gdb.base/info-var.exp: Test info variables without running
1361 to main, to avoid expect's buffer overflow.
1363 2019-09-03 Tom Tromey <tromey@adacore.com>
1365 * gdb.ada/bias.exp: New file.
1366 * gdb.ada/bias/bias.adb: New file.
1367 * gdb.ada/print_chars.exp: Add regression test.
1368 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1371 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1373 * gdb.base/argv0-symlink.exp: Run only on native target
1376 2019-08-29 Tom de Vries <tdevries@suse.de>
1378 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1380 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1382 2019-08-28 Tom de Vries <tdevries@suse.de>
1384 * gdb.base/info-var.exp: Allow info variables to print info for files
1385 other than info-var-f1.c and info-var-f2.c.
1387 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1389 * gdb.fortran/info-types.exp: Add module.
1390 * gdb.fortran/info-types.f90: Update expected results.
1392 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1394 * gdb.fortran/info-types.exp: New file.
1395 * gdb.fortran/info-types.f90: New file.
1396 * lib/fortran.exp (fortran_character1): New proc.
1398 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1400 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1401 functions'. Reindent as needed.
1402 * gdb.base/info-var-f1.c: New file.
1403 * gdb.base/info-var-f2.c: New file.
1404 * gdb.base/info-var.exp: New file.
1405 * gdb.base/info-var.h: New file.
1407 2019-08-26 Tom de Vries <tdevries@suse.de>
1410 * gdb.cp/no-libstdcxx-probe.exp: New test.
1412 2019-08-26 Tom de Vries <tdevries@suse.de>
1414 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1415 * tests need to be skipped.
1416 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1417 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1418 mi_skip_libstdcxx_probe_tests.
1420 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1422 * gdb.python/py-xmethods.exp: Use raw strings when passing
1423 arguments to SimpleXMethodMatcher.
1425 2019-08-22 Tom de Vries <tdevries@suse.de>
1427 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1430 2019-08-21 Pedro Alves <palves@redhat.com>
1432 * gdb.base/with.exp: Test "with" with no arguments.
1434 2019-08-21 Tom de Vries <tdevries@suse.de>
1436 * gdb.base/gdb-caching-proc.exp: Sort files.
1438 2019-08-20 Tom de Vries <tdevries@suse.de>
1440 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1443 2019-08-16 Tom de Vries <tdevries@suse.de>
1445 * gdb.base/compare-sections.exp ("after run to main"): Allow
1446 mismatched read-only sections for PIE executables.
1448 2019-08-16 Tom Tromey <tom@tromey.com>
1450 * lib/tuiterm.exp (_csi_Z): New proc.
1451 * gdb.tui/basic.exp: Update window positions.
1452 * gdb.tui/empty.exp: Update window positions.
1454 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1456 * gdb.base/examine-backward.exp: Correct regexp for
1457 "examine 3 bytes backward from ${address_zero}".
1459 2019-08-15 Tom Tromey <tom@tromey.com>
1461 * gdb.tui/empty.exp: Enable resizing tests.
1463 2019-08-15 Tom Tromey <tromey@adacore.com>
1465 * gdb.ada/char_enum.exp: Add regression tests.
1466 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1468 (Char, Gchar): Update.
1469 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1471 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1473 * gdb.python/python.exp: Expect a leading underscore on
1474 GdbOutput{,Error}File.
1476 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1478 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1481 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1483 * gdb.base/batch-preserve-term-settings.exp
1484 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1486 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1488 * lib/gdb.exp: When running on a mingw target, replace
1491 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1493 * gdb.arch/aarch64-prologue.c: New test.
1494 * gdb.arch/aarch64-prologue.exp: New file.
1496 2019-08-13 Tom de Vries <tdevries@suse.de>
1498 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1501 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1503 * gdb.python/py-completion.exp: Download the .py file to the host
1504 and use its host pathname. Conditionalize tests that use
1505 tab completion and manipulate files on the build machine.
1506 * gdb.python/py-events.exp: Download the .py file to the host
1507 and use its host pathname.
1508 * gdb.python/py-evsignal.exp: Likewise.
1509 * gdb.python/py-evthreads.exp: Likewise.
1510 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1512 * gdb.python/py-framefilter.exp: Download the .py file to the right
1513 place on the host. Match Windows pathname syntax.
1514 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1515 .py file to the host and use its host pathname.
1516 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1517 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1518 build pathname. Skip symlink test on Windows host. Add missing
1519 newline at end of file.
1520 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1521 and use its host pathname.
1522 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1523 * gdb.python/py-section-script.exp: Use host location of binfile
1524 on safe-path. Use correct path separator on Windows host.
1525 Reorder alternatives in gdb_test_multiple to prevent matching
1526 the wrong alternative on success.
1527 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1529 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1531 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1532 expect the GDB inferior to no longer immediately stop after
1533 being resumed with "signal SIGINT".
1535 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1537 * gdb.linespec/break-ask.exp: Generalize regexps to match
1538 Windows pathnames too.
1540 2019-08-08 Tom de Vries <tdevries@suse.de>
1543 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1545 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1547 * gdb.base/style.exp: Update tests for help doc new invariants.
1548 * gdb.base/help.exp: Likewise.
1550 2019-08-06 Tom Tromey <tom@tromey.com>
1552 * gdb.base/style.exp: Add disassemble test.
1553 * gdb.base/style.c (some_called_function): New function.
1556 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1558 * gdb.python/py-block.exp: Test dictionary access on blocks.
1560 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1563 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1564 -list-thread-groups --available test when running under
1567 2019-08-05 Tom de Vries <tdevries@suse.de>
1570 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1571 * gdb.base/help.exp: Use with_read1_timeout_factor.
1572 * gdb.base/info-macros.exp: Same.
1573 * gdb.cp/nested-types.exp: Same.
1575 2019-08-05 Tom de Vries <tdevries@suse.de>
1577 * lib/gdb.exp (version_at_least): Factor out of ...
1578 (tcl_version_at_least): ... here.
1579 (gdb_compile): Fail if pie results in non-PIE executable.
1580 (readelf_version, readelf_prints_pie): New proc.
1581 (exec_is_pie): Return -1 if unknown.
1583 2019-08-05 Tom de Vries <tdevries@suse.de>
1585 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1587 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1589 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1591 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1593 * lib/completion-support.exp (test_gdb_complete_none): Skip
1594 tab completion tests if no readline support.
1595 (test_gdb_complete_unique_re): Likewise.
1596 (test_gdb_complete_multiple): Likewise.
1598 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1600 * gdb.base/info_sources.exp: New file.
1601 * gdb.base/info_sources.c: New file.
1602 * gdb.base/info_sources_base.c: New file.
1604 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1606 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1608 (test_exit_status): Add prefix argument.
1610 2019-08-01 Tom de Vries <tdevries@suse.de>
1613 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1614 calling exp_continue for new thread and thread exited messages.
1616 2019-08-01 Tom de Vries <tdevries@suse.de>
1619 * gdb.base/structs.exp: Fix check-read1 timeout using
1621 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1623 2019-08-01 Tom de Vries <tdevries@suse.de>
1626 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1629 2019-08-01 Tom de Vries <tdevries@suse.de>
1632 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1634 2019-07-30 Tom Tromey <tromey@adacore.com>
1636 * gdb.ada/display_nested.exp: New file.
1637 * gdb.ada/display_nested/foo.adb: New file.
1638 * gdb.ada/display_nested/pack.adb: New file.
1639 * gdb.ada/display_nested/pack.ads: New file.
1641 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1643 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1645 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1647 2019-07-30 Tom de Vries <tdevries@suse.de>
1649 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1652 2019-07-30 Tom de Vries <tdevries@suse.de>
1655 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1656 (exec_is_pie): New proc.
1658 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1660 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1662 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1664 * gdb.python/py-objfile.c: Add global and static vars.
1665 * gdb.python/py-objfile.exp: Test new functions Objfile.
1666 lookup_global_symbol and lookup_static_symbol.
1668 2019-07-29 Tom Tromey <tom@tromey.com>
1670 * lib/tuiterm.exp (Term::_csi_@): New proc.
1671 (Term::_csi_X): Don't move cursor.
1673 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1675 * gdb.base/options.exp: Update backtrace - completion to
1676 new option -frame-info.
1677 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1678 Test new 'set print frame-info'. Test backtrace -frame-info
1679 overriding 'set print frame-info'.
1680 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1681 Test new 'set print frame-info'.
1682 Verify consistency of backtrace with and without filters, with and
1683 without -no-filters.
1684 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1687 2019-07-29 Tom de Vries <tdevries@suse.de>
1689 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1692 2019-07-29 Tom de Vries <tdevries@suse.de>
1694 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1695 is a substring of the first for "complete non-unique file name".
1697 2019-07-29 Tom de Vries <tdevries@suse.de>
1699 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1702 2019-07-29 Tom de Vries <tdevries@suse.de>
1704 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1705 Pass prompt_regexp parameter to gdb_test_multiple calls.
1707 2019-07-29 Tom de Vries <tdevries@suse.de>
1709 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1710 print registers" regexps.
1712 2019-07-29 Tom de Vries <tdevries@suse.de>
1714 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1716 2019-07-29 Tom de Vries <tdevries@suse.de>
1719 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1720 (skip_python_tests_prompt): Add prompt_regexp argument to
1721 gdb_test_multiple calls.
1723 2019-07-27 Tom Tromey <tom@tromey.com>
1725 * gdb.tui/main.exp: New file.
1727 2019-07-27 Tom Tromey <tom@tromey.com>
1729 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1731 * gdb.tui/empty.exp: New file.
1733 2019-07-27 Tom Tromey <tom@tromey.com>
1735 * lib/tuiterm.exp (spawn): New proc.
1736 (Term::resize): New proc.
1737 * gdb.tui/resize.exp: New file.
1739 2019-07-27 Tom Tromey <tom@tromey.com>
1741 * gdb.tui/list.exp: New file.
1743 2019-07-27 Tom Tromey <tom@tromey.com>
1745 * gdb.tui/regs.exp: New file.
1747 2019-07-27 Tom Tromey <tom@tromey.com>
1749 * gdb.tui/basic.exp: Add "layout split" test.
1751 2019-07-27 Tom Tromey <tom@tromey.com>
1753 * gdb.tui/basic.exp: Add "layout asm" test.
1755 2019-07-27 Tom Tromey <tom@tromey.com>
1757 * lib/tuiterm.exp: New file.
1758 * gdb.tui/basic.exp: New file.
1760 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1762 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1763 Enable tests associated with this flag. Adjust regex
1764 referencing "foo_low" to now refer to "foo_cold" instead.
1766 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1768 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1769 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1770 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1771 foo_cold. Revise comments to match.
1772 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1773 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1774 were wrapped into this proc; Call do_test in loop from outermost
1776 (foo_low): Rename all occurrences to "foo_cold".
1777 (backtrace from baz): New test.
1778 (x2/i foo_cold): New test.
1779 (info line *foo_cold): New test.
1781 2019-07-26 Tom de Vries <tdevries@suse.de>
1783 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1785 2019-07-25 Tom de Vries <tdevries@suse.de>
1788 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1789 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1790 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1791 (skip_libstdcxx_probe_tests): ... here.
1792 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1794 2019-07-24 Tom de Vries <tdevries@suse.de>
1797 * gdb.objc/basicclass.m: Include stdio.h.
1798 * gdb.objc/nondebug.m: Same.
1799 * gdb.objc/objcdecode.m: Same.
1801 2019-07-24 Tom de Vries <tdevries@suse.de>
1804 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1807 2019-07-24 Tom de Vries <tdevries@suse.de>
1810 * gdb.multi/tids.exp: Update error messages for info threads.
1812 2019-07-24 Tom de Vries <tdevries@suse.de>
1814 * gdb.base/info-types.exp: Allow info types to print info for more than
1817 2019-07-23 Tom de Vries <tdevries@suse.de>
1820 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1821 gdb_spawn_with_cmdline_opts.
1823 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1825 * gdb.arch/arm-cmse-sgstubs.c: New test.
1826 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1828 2019-07-23 Tom de Vries <tdevries@suse.de>
1831 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1832 issuing next command.
1834 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1836 * gdb.ada/info_auto_lang.exp: Update expected results.
1837 * gdb.base/info-types.c: Add additional types to check.
1838 * gdb.base/info-types.exp: Update expected results.
1840 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1842 * gdb.base/info-types.c: New file.
1843 * gdb.base/info-types.exp: New file.
1845 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1847 * gdb.arch/riscv-bp-infcall.c: New file.
1848 * gdb.arch/riscv-bp-infcall.exp: New file.
1850 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1852 PR breakpoints/24541
1853 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1855 2019-07-14 Tom de Vries <tdevries@suse.de>
1858 * gdb.objc/basicclass.exp: Fix unterminated string.
1860 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1861 Andrew Burgess <andrew.burgess@embecosm.com>
1863 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1864 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1866 * gdb.fortran/vla-value.exp: Print elements of an array with
1868 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1871 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1873 * gdb.base/options.exp (expect_string): Dequote strings in
1875 (test-string): Test strings with different quoting and reindent.
1877 2019-07-10 Tom Tromey <tromey@adacore.com>
1879 * gdb.ada/mi_ex_cond.exp: Update expected results.
1880 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1881 * gdb.ada/mi_catch_ex.exp: Update expected results.
1882 * gdb.ada/mi_catch_assert.exp: Update expected results.
1883 * gdb.ada/catch_ex.exp (catch_exception_info)
1884 (catch_exception_entry, catch_assert_entry)
1885 (catch_unhandled_entry): Update.
1886 * gdb.ada/catch_assert_if.exp: Update expected results.
1888 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1889 Stephen Roberts <stephen.roberts@arm.com>
1891 * gdb.base/define.exp: Restore original prompt.
1893 2019-07-09 Pedro Alves <palves@redhat.com>
1895 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1896 breakpoints" output.
1897 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1898 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1899 throw" creates breakpoint.
1900 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1901 'type="catchpoint"'.
1903 2019-07-09 Pedro Alves <palves@redhat.com>
1906 * gdb.cp/except-multi-location-lib.cc: New.
1907 * gdb.cp/except-multi-location-main.cc: New.
1908 * gdb.cp/except-multi-location.exp: New.
1910 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1912 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1913 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1914 argument and update callers.
1916 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1918 * gdb.arch/amd64-break-on-asm-line.S: New file.
1919 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1921 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1923 * gdb.base/printcmds.exp: Test printing C string and
1924 C wide string convenience vars without transiting via the inferior.
1925 Also make test names unique.
1927 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1929 PR breakpoints/25011
1930 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1932 2019-07-04 Pedro Alves <palves@redhat.com>
1934 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1935 body returned ok(0), break(3) or continue(4).
1936 * gdb.testsuite/foreach_with_prefix.exp: New file.
1938 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1940 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1942 2019-07-03 Pedro Alves <palves@redhat.com>
1944 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1947 2019-07-03 Pedro Alves <palves@redhat.com>
1950 * gdb.base/shell.exp: Load completion-support.exp.
1951 Adjust expected error output. Add completion tests.
1953 2019-07-03 Pedro Alves <palves@redhat.com>
1955 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1958 2019-07-03 Pedro Alves <palves@redhat.com>
1960 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1961 (expect_integer): Adjust to expect "-string".
1962 (expect_string): New.
1963 (all_options): Expect "-string".
1964 (test-flag, test-boolean): Adjust to expect "-string".
1965 (test-string): New proc.
1966 (top level): Call it.
1968 2019-07-03 Pedro Alves <palves@redhat.com>
1970 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1971 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1972 the expected output in the success.
1974 2019-07-03 Pedro Alves <palves@redhat.com>
1976 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1977 Split one gdb_test_multiple call in two to avoid a race.
1979 2019-07-03 Pedro Alves <palves@redhat.com>
1981 * gdb.base/with.c: New file.
1982 * gdb.base/with.exp: New file.
1984 2019-07-03 Pedro Alves <palves@redhat.com>
1986 * gdb.base/settings.exp: Replace all references to "maint
1987 test-settings set" with references to "maint set test-settings",
1988 and all references to "maint test-settings show" with references
1989 to "maint show test-settings".
1991 2019-07-03 Pedro Alves <palves@redhat.com>
1993 * gdb.base/settings.exp (test-string): Adjust expected out when
1994 testing "maint test-settings show filename"
1996 2019-07-02 Pedro Alves <palves@redhat.com>
1998 * gdb.base/options.exp (test-info-threads): New procedure.
1999 (top level): Call it.
2001 2019-06-28 Tom Tromey <tromey@adacore.com>
2003 * gdb.dwarf2/ada-linkage-name.c: New file.
2004 * gdb.dwarf2/ada-linkage-name.exp: New file.
2006 2019-06-27 Tom Tromey <tromey@adacore.com>
2009 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2011 2019-06-26 Tom de Vries <tdevries@suse.de>
2013 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2015 2019-06-26 Tom de Vries <tdevries@suse.de>
2017 * gdb.base/index-cache.exp: Add back missing debug option.
2019 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2021 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2023 2019-06-25 Tom de Vries <tdevries@suse.de>
2026 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2028 2019-06-24 Tom de Vries <tdevries@suse.de>
2030 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2032 2019-06-24 Tom de Vries <tdevries@suse.de>
2034 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2035 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2036 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2038 2019-06-24 Tom de Vries <tdevries@suse.de>
2040 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2042 2019-06-21 Tom de Vries <tdevries@suse.de>
2044 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2046 2019-06-21 Tom de Vries <tdevries@suse.de>
2050 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2053 2019-06-19 Tom Tromey <tromey@adacore.com>
2055 * gdb.ada/length_cond.exp: Add intro comment.
2057 2019-06-19 Tom Tromey <tromey@adacore.com>
2059 * gdb.ada/length_cond.exp: New file.
2060 * gdb.ada/length_cond/length_cond.adb: New file.
2061 * gdb.ada/length_cond/pck.adb: New file.
2062 * gdb.ada/length_cond/pck.ads: New file.
2064 2019-06-18 Tom de Vries <tdevries@suse.de>
2066 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2068 2019-06-18 Tom Tromey <tromey@adacore.com>
2070 * gdb.base/list0.h: Add comment explaining control character.
2072 2019-06-18 Tom de Vries <tdevries@suse.de>
2074 * boards/fission.exp: Break up long debug_flags line.
2076 2019-06-16 Tom de Vries <tdevries@suse.de>
2079 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2082 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2085 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2086 improve detection of bug gdb/24541.
2088 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2091 * gdb.base/index-cache.exp (uses_readnow,
2092 expecting_index_cache_use): Define global variable.
2093 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2094 expecting_index_cache_use.
2096 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2097 Andrew Burgess <andrew.burgess@embecosm.com>
2099 * gdb.fortran/pointers.f90: New file.
2100 * gdb.fortran/print_type.exp: New file.
2101 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2102 * gdb.fortran/vla-type.exp: Likewise.
2103 * gdb.fortran/vla-value.exp: Likewise.
2104 * gdb.mi/mi-vla-fortran.exp: Likewise.
2106 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2108 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2109 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2110 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2113 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2115 * gdb.base/annota1.exp: Update expected results.
2116 * gdb.cp/annota2.exp: Likewise.
2117 * gdb.cp/annota3.exp: Likewise.
2119 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2121 * gdb.base/style-logging.exp: Remove path from test name.
2123 2019-06-14 Tom Tromey <tromey@adacore.com>
2126 * gdb.base/style-logging.exp: New file.
2128 2019-06-14 Tom Tromey <tromey@adacore.com>
2130 * gdb.base/symfile-warn.exp: New file.
2131 * gdb.base/symfile-warn.c: New file.
2133 2019-06-14 Tom Tromey <tromey@adacore.com>
2135 * gdb.base/annotate-symlink.exp: New file.
2137 2019-06-14 Tom Tromey <tromey@adacore.com>
2139 * gdb.ada/set_wstr.exp: Add reassignment test.
2141 2019-06-14 Tom Tromey <tromey@adacore.com>
2143 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2144 'unchecked_access and 'unrestricted_access as well.
2146 2019-06-14 Tom Tromey <tromey@adacore.com>
2149 * gdb.ada/vla.exp: Update tests.
2150 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2153 2019-06-13 Pedro Alves <palves@redhat.com>
2155 * gdb.base/settings.exp (test-integer): Test junk after
2158 2019-06-13 Pedro Alves <palves@redhat.com>
2160 * gdb.base/options.exp (test-thread-apply): New.
2161 (top level): Call it.
2163 2019-06-13 Pedro Alves <palves@redhat.com>
2165 * gdb.base/options.exp (test-frame-apply): New.
2166 (top level): Test print commands with different "frame apply"
2169 2019-06-13 Pedro Alves <palves@redhat.com>
2171 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2172 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2173 'max_completions' parameter and handle it.
2174 (test_gdb_completion_offers_commands): New.
2176 2019-06-13 Pedro Alves <palves@redhat.com>
2178 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2180 2019-06-13 Pedro Alves <palves@redhat.com>
2182 * gdb.base/options.exp (test-backtrace): New.
2183 (top level): Call it.
2185 2019-06-13 Pedro Alves <palves@redhat.com>
2187 * gdb.guile/scm-frame-args.exp: Use "set print
2188 raw-frame-arguments" instead of "set print raw frame-arguments".
2189 * gdb.python/py-frame-args.exp: Likewise.
2191 2019-06-13 Pedro Alves <palves@redhat.com>
2193 * gdb.compile/compile.exp: Adjust expected output to option
2196 2019-06-13 Pedro Alves <palves@redhat.com>
2198 * gdb.base/options.exp: Build executable.
2199 (test-print): New procedure.
2200 (top level): Call it, once for "print" and another for "compile
2203 2019-06-13 Pedro Alves <palves@redhat.com>
2205 * gdb.base/options.c: New file.
2206 * gdb.base/options.exp: New file.
2208 2019-06-13 Pedro Alves <palves@redhat.com>
2210 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2211 that "o" is ambiguous.
2213 2019-06-13 Pedro Alves <palves@redhat.com>
2215 * gdb.base/settings.c: New file.
2216 * gdb.base/settings.exp: New file.
2218 2019-06-13 Pedro Alves <palves@redhat.com>
2220 * gdb.base/completion.exp: Fix comment typo.
2222 2019-06-13 Pedro Alves <palves@redhat.com>
2224 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2227 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2229 * gdb.fortran/block-data.f: New.
2230 * gdb.fortran/block-data.exp: New.
2232 2019-06-11 Tom de Vries <tdevries@suse.de>
2235 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2238 2019-06-11 Tom de Vries <tdevries@suse.de>
2241 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2243 2019-06-11 Tom de Vries <tdevries@suse.de>
2245 * boards/readnow.exp: New file.
2247 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2249 * gdb.fortran/vla-sizeof.exp: Update expected results.
2251 2019-06-06 Amos Bird <amosbird@gmail.com>
2253 * gdb.base/annota1.exp (thread_switch): Add test for
2254 thread-exited annotation.
2256 2019-06-06 Tom Tromey <tromey@adacore.com>
2258 * gdb.base/maint.exp: Expect command started/finished output.
2260 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2262 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2264 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2266 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2268 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2269 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2270 * gdb.arch/riscv-unwind-long-insn.c: New file.
2271 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2273 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2275 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2277 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2279 * lib/gdb.exp (help_list_trailer): New regexp variable
2280 factorizing the help trailer message.
2281 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2282 arg to allow to better factorize various tests.
2283 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2284 (test_prefix_command_help): Use help_list_trailer.
2285 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2286 * gdb.guile/scm-cmd.exp: Likewise.
2287 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2288 * gdb.base/help.exp: Use test_user_defined_class_help.
2289 * gdb.base/style.exp: Add tests for styling of help and apropos.
2290 * lib/gdb-utils.exp (style): Add title and highlight styles.
2292 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2294 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2296 * gdb.base/default.exp: Update for new convenience variables.
2298 2019-05-29 Tom Tromey <tromey@adacore.com>
2300 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2301 to "break complete ada" test case's regexp.
2303 2019-05-29 Tom Tromey <tromey@adacore.com>
2306 * gdb.cp/constexpr-field.exp: New file.
2307 * gdb.cp/constexpr-field.cc: New file.
2309 2019-05-29 Tom Tromey <tromey@adacore.com>
2311 * gdb.base/finish.exp (finish_no_print): New proc.
2312 (finish_tests): Call it.
2314 2019-05-24 Tom de Vries <tdevries@suse.de>
2316 * gdb.dwarf2/gdb-add-index.exp: New file.
2318 2019-05-22 Tom Tromey <tromey@adacore.com>
2320 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2321 * gdb.base/style.exp: Use "style".
2322 * lib/gdb-utils.exp (style): New proc.
2324 2019-05-22 Tom de Vries <tdevries@suse.de>
2326 * gdb.base/align.exp: Require c++11.
2328 2019-05-22 Tom de Vries <tdevries@suse.de>
2331 * gdb.python/py-mi-var-info-path-expression.exp: Call
2332 mi_skip_python_tests to check if python is supported.
2334 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2336 * gdb.arch/aarch64-pauth.c: New test.
2337 * gdb.arch/aarch64-pauth.exp: New file.
2339 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2341 * README (Re-running Tests Outside The Testsuite): New section.
2343 2019-05-21 Tom de Vries <tdevries@suse.de>
2345 * gdb.arch/amd64-eval.exp: Require c++11.
2346 * gdb.base/max-depth.exp: Same.
2347 * gdb.compile/compile-cplus-array-decay.exp: Same.
2348 * gdb.cp/meth-typedefs.exp: Same.
2349 * gdb.cp/subtypes.exp: Same.
2350 * gdb.cp/temargs.exp: Same.
2352 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2354 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2356 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2359 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2360 * gdb.fortran/printing-types.exp: Add new test.
2361 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2363 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2366 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2368 * README (Running the Testsuite): Change example.
2369 (Testsuite Parameters): Remove TRANSCRIPT.
2370 * lib/gdb.exp: Remove TRANSCRIPT check.
2372 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2374 * README (Testsuite Parameters): Add replay logging to
2376 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2377 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2378 as a comma separated list.
2379 (gdb_debug_init): Override procedure.
2381 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2383 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2384 (gdb_write_cmd_file): New procedure.
2385 * lib/gdbserver-support.exp (gdbserver_start): Call
2386 gdbserver_write_cmd_file.
2387 (gdbserver_write_cmd_file): New procedure.
2389 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2391 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2392 (delete_breakpoints): Likewise.
2393 (gdb_run_cmd): Likewise.
2394 (gdb_start_cmd): Likewise.
2395 (gdb_starti_cmd): Likewise.
2396 (gdb_internal_error_resync): Likewise.
2397 (gdb_test_multiple): Likewise.
2398 (gdb_reinitialize_dir): Likewise.
2399 (default_gdb_exit): Likewise.
2400 (gdb_file_cmd): Mark kill as optional.
2401 (default_gdb_start): Call gdb_stdin_log_init.
2402 (send_gdb): Call gdb_stdin_log_write.
2403 (rerun_to_main): Mark Y as an answer.
2404 (gdb_stdin_log_init): New function.
2405 (gdb_stdin_log_write): Likewise.
2407 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2409 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2410 * gdb.base/debug-expr.exp: Likewise.
2411 * gdb.base/foll-fork.exp: Likewise.
2412 * gdb.base/foll-vfork.exp: Likewise.
2413 * gdb.base/fork-print-inferior-events.exp: Likewise.
2414 * gdb.base/gdb-sigterm.exp: Likewise.
2415 * gdb.base/gdbinit-history.exp: Likewise.
2416 * gdb.base/osabi.exp: Likewise.
2417 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2418 * gdb.base/ui-redirect.exp: Likewise.
2419 * gdb.gdb/unittest.exp: Likewise.
2420 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2421 * gdb.mi/mi-watch.exp: Likewise.
2422 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2423 * gdb.mi/user-selected-context-sync.exp: Likewise.
2424 * gdb.python/python.exp: Disable debug test when debugging.
2425 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2426 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2428 * gdb.threads/stepi-random-signal.exp: Likewise.
2430 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2432 * Makefile.in: Pass through GDB_DEBUG.
2433 * README (Testsuite Parameters): Add GDB_DEBUG.
2434 (gdb,debug): Add board setting.
2435 * lib/gdb.exp (default_gdb_start): Start debugging.
2436 (gdb_debug_enabled): New procedure.
2437 (gdb_debug_init): Likewise.
2439 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2441 * Makefile.in: Pass through GDB_DEBUG.
2442 * README (Testsuite Parameters): Add GDB_DEBUG.
2443 (gdb,debug): Add board setting.
2444 * lib/gdb.exp (default_gdb_start): Start debugging.
2445 (gdb_debug_enabled): New procedure.
2446 (gdb_debug_init): Likewise.
2448 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2450 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2452 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2454 * gdb.base/ui-redirect.exp: Test redirection.
2456 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2458 * gdb.mi/mi-complete.exp: New file.
2459 * gdb.mi/mi-complete.cc: Likewise.
2461 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2463 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2464 indexed and sliced arrays, and pointers to arrays.
2466 2019-05-14 Tom Tromey <tromey@adacore.com>
2468 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2471 2019-05-14 Tom de Vries <tdevries@suse.de>
2473 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2474 selection entry encoding.
2476 2019-05-10 Tom Tromey <tromey@adacore.com>
2478 * gdb.ada/info_exc.exp: Add "complete" test.
2480 2019-05-09 Tom de Vries <tdevries@suse.de>
2482 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2485 2019-05-09 Tom de Vries <tdevries@suse.de>
2487 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2490 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2492 * gdb.ada/frame_arg_lang.exp: New testcase.
2493 * gdb.ada/frame_arg_lang/bla.adb: New file.
2494 * gdb.ada/frame_arg_lang/pck.ads: New file.
2495 * gdb.ada/frame_arg_lang/pck.adb: New file.
2496 * gdb.ada/frame_arg_lang/foo.c: New file.
2498 2019-05-08 Tom Tromey <tromey@adacore.com>
2500 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2502 2019-05-08 Tom Tromey <tromey@adacore.com>
2504 * gdb.base/ptype-offsets.exp: Update tests.
2506 2019-05-08 Tom Tromey <tromey@adacore.com>
2508 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2510 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2513 2019-05-08 Tom Tromey <tromey@adacore.com>
2515 * gdb.ada/vla.exp: New file.
2516 * gdb.ada/vla/vla.adb: New file.
2518 2019-05-07 Tom de Vries <tdevries@suse.de>
2520 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2522 2019-05-07 Tom de Vries <tdevries@suse.de>
2525 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2528 2019-05-07 Tom de Vries <tdevries@suse.de>
2531 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2532 .debug_aranges section.
2534 2019-05-07 Tom de Vries <tdevries@suse.de>
2537 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2539 2019-05-06 Tom de Vries <tdevries@suse.de>
2541 * lib/gdb.exp (exec_has_index_section): New proc.
2542 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2545 2019-05-04 Tom de Vries <tdevries@suse.de>
2547 * boards/cc-with-debug-names.exp: New file.
2549 2019-05-03 Tom Tromey <tromey@adacore.com>
2551 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2552 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2553 * gdb.ada/char_enum.exp: Add test.
2555 2019-05-03 Tom de Vries <tdevries@suse.de>
2557 * boards/cc-with-gdb-index.exp: New file.
2559 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2561 * gdb.rust/simple.exp: Add new test case.
2562 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2563 (main): Initialise an instance of the new struct.
2565 2019-05-01 Tom Tromey <tromey@adacore.com>
2567 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2569 (NPR): New variable.
2570 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2573 2019-05-01 Tom Tromey <tromey@adacore.com>
2575 * gdb.ada/packed_array_assign.exp: Add packed assignment
2578 2019-05-01 Tom de Vries <tdevries@suse.de>
2580 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2582 2019-05-01 Tom de Vries <tdevries@suse.de>
2584 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2586 2019-04-30 Ali Tamur <tamur@google.com>
2588 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2590 2019-04-30 Tom Tromey <tromey@adacore.com>
2592 * lib/ada.exp (find_ada_tool): New proc.
2593 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2594 * gdb.ada/catch_ex_std.exp: New file.
2595 * gdb.ada/catch_ex_std/foo.adb: New file.
2596 * gdb.ada/catch_ex_std/some_package.adb: New file.
2597 * gdb.ada/catch_ex_std/some_package.ads: New file.
2599 2019-04-30 Tom Tromey <tromey@adacore.com>
2602 * gdb.cp/temargs.cc: Add test code from PR.
2604 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2606 * gdb.fortran/vla-datatypes.exp: Update expected results.
2607 * gdb.fortran/vla-ptype.exp: Likewise.
2608 * gdb.fortran/vla-type.exp: Likewise.
2609 * gdb.fortran/vla-value.exp: Likewise.
2611 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2613 * gdb.fortran/ptr-indentation.exp: Update expected results.
2614 * gdb.fortran/ptype-on-functions.exp: Likewise.
2615 * gdb.fortran/vla-ptr-info.exp: Likewise.
2616 * gdb.fortran/vla-value.exp: Likewise.
2618 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2620 * gdb.fortran/ptype-on-functions.exp: New file.
2621 * gdb.fortran/ptype-on-functions.f90: New file.
2623 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2625 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2628 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2630 * gdb.fortran/complex.exp: Expand.
2631 * gdb.fortran/complex.f: Renamed to...
2632 * gdb.fortran/complex.f90: ...this, and extended to add more
2635 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2637 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2640 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2641 Richard Bunt <richard.bunt@arm.com>
2643 * gdb.base/max-depth.c: New file.
2644 * gdb.base/max-depth.exp: New file.
2645 * gdb.python/py-nested-maps.c: New file.
2646 * gdb.python/py-nested-maps.exp: New file.
2647 * gdb.python/py-nested-maps.py: New file.
2648 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2649 (test_all_common): Call test_max_depth.
2650 * gdb.fortran/max-depth.exp: New file.
2651 * gdb.fortran/max-depth.f90: New file.
2652 * gdb.go/max-depth.exp: New file.
2653 * gdb.go/max-depth.go: New file.
2654 * gdb.modula2/max-depth.exp: New file.
2655 * gdb.modula2/max-depth.c: New file.
2656 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2658 2019-04-29 Tom de Vries <tdevries@suse.de>
2660 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2662 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2664 * gdb.base/callexit.exp: Test may-call-functions off.
2666 2019-04-25 Keith Seitz <keiths@redhat.com>
2669 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2670 (another_incomplete_struct, test_incomplete): New definitions.
2671 (main): Use new definitions.
2672 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2675 2019-04-25 Ali Tamur <tamur@google.com>
2677 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2679 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2683 * gdb.base/coredump-filter-build-id.exp: New file.
2685 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2687 * Makefile.in: Pass through GDBSERVER_DEBUG.
2688 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2689 (gdbserver,debug): Add board setting.
2690 * gdb.trace/tspeed.exp: Skip when debugging.
2691 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2692 * lib/gdbserver-support.exp: Likewise
2694 2019-04-24 Tom Tromey <tromey@adacore.com>
2696 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2699 2019-04-24 Tom Tromey <tromey@adacore.com>
2701 * gdb.arch/amd64-eval.exp: Test bitfield return.
2702 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2703 (class Foo) <return_bitfields>: New method.
2706 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2708 * gdb.cp/many-args.cc: New file.
2709 * gdb.cp/many-args.exp: New file.
2711 2019-04-23 Tom de Vries <tdevries@suse.de>
2714 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2716 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2718 * gdb.trace/backtrace.exp: Use nopie flag.
2719 * gdb.trace/circ.exp: Likewise.
2720 * gdb.trace/collection.exp: Likewise.
2721 * gdb.trace/ftrace.exp: Likewise.
2722 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2723 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2724 * gdb.trace/qtro.exp: Likewise.
2725 * gdb.trace/read-memory.exp: Likewise.
2726 * gdb.trace/report.exp: Likewise.
2727 * gdb.trace/tfile.exp: Likewise.
2728 * gdb.trace/tfind.exp: Likewise.
2729 * gdb.trace/unavailable.exp: Likewise.
2731 2019-04-22 Pedro Alves <palves@redhat.com>
2733 * gdb.base/solib-probes-nosharedlibrary.c,
2734 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2736 2019-04-19 Tom Tromey <tromey@adacore.com>
2738 * gdb.ada/ptype_union.c: New file.
2739 * gdb.ada/ptype_union.exp: New file.
2741 2019-04-19 Tom Tromey <tromey@adacore.com>
2744 * gdb.base/list0.h (foo): Add a control-l character.
2746 2019-04-18 Tom de Vries <tdevries@suse.de>
2749 * boards/local-board.exp: Set sysroot to "".
2751 2019-04-18 Tom de Vries <tdevries@suse.de>
2752 Pedro Alves <palves@redhat.com>
2755 * gdb.threads/vfork-follow-child-exec.c: New file.
2756 * gdb.threads/vfork-follow-child-exec.exp: New file.
2757 * gdb.threads/vfork-follow-child-exit.c: New file.
2758 * gdb.threads/vfork-follow-child-exit.exp: New file.
2760 2019-04-15 Leszek Swirski <leszeks@google.com>
2762 * gdb.arch/amd64-eval.cc: New file.
2763 * gdb.arch/amd64-eval.exp: New file.
2765 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2767 * gdb.server/sysroot.c: New test.
2768 * gdb.server/sysroot.exp: New file.
2769 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2772 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2774 * gdb.base/align.exp: Extend test to cover structures containing
2777 2019-04-11 Tom de Vries <tdevries@suse.de>
2779 * boards/cc-with-dwz-m.exp: New file.
2780 * boards/cc-with-dwz.exp: New file.
2781 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2783 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2785 * gdb.base/start-cpp.exp: New file.
2786 * gdb.base/start-cpp.cc: New file.
2788 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2790 * gdb.python/py-thrhandle.exp: Adjust tests to call
2791 thread_from_handle instead of thread_from_thread_handle.
2793 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2795 * gdb.python/py-thrhandle.exp: Add tests for
2796 gdb.InferiorThread.handle.
2798 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2800 * gdb.python/py-function.exp: Check calling helper function from
2802 * lib/gdb.exp (gdb_supported_languages): New proc.
2804 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2806 * gdb.base/complex-parts.c: New file.
2807 * gdb.base/complex-parts.exp: New file.
2809 2019-04-01 Tom Tromey <tromey@adacore.com>
2812 * gdb.dwarf2/dw2-ranges-main.c: New file.
2813 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2814 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2816 2019-03-30 Simon Marchi <simark@simark.ca>
2818 * gdb.base/default.exp: Add values for $_gdb_major and
2821 2019-03-29 Tom Tromey <tromey@adacore.com>
2823 * gdb.base/help.exp: Tighten apropos regexp.
2825 2019-03-29 Keith Seitz <keiths@redhat.com>
2827 * gdb.fortran/array-bounds.exp: New file.
2828 * gdb.fortran/array-bounds.f90: New file.
2830 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2832 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2834 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2836 * gdb.multi/hello.c (main): Increase alarm timer.
2838 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2840 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2841 factor when no hardware watchpoint support.
2843 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2844 Pedro Alves <palves@redhat.com>
2846 * boards/local-board.exp: set sysroot to /.
2848 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2850 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2853 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2855 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2857 (make_container): Initialise new field.
2858 * gdb.python/py-prettyprint.exp: Add new tests.
2859 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2860 <display_hint>: New method.
2862 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2864 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2865 gdb_continue_to_breakpoint more throughout this test.
2866 (run_lang_tests) Supply unique test names, and use
2869 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2871 * gdb.base/finish-pretty.exp: Update expected results.
2872 * gdb.base/pretty-print.c: New file.
2873 * gdb.base/pretty-print.exp: New file.
2875 2019-03-25 Pedro Alves <palves@redhat.com>
2877 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2878 move comments outside list. Append '-i "" eof' section.
2880 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2883 * README: Add pie options.
2884 * gdb.base/break-interp.exp: Ensure pie is disabled.
2885 * gdb.base/dump.exp: Likewise.
2886 * lib/gdb.exp (gdb_compile): Add pie option.
2888 2019-03-19 Tom Tromey <tromey@adacore.com>
2890 * gdb.mi/mi2-cli-display.c: New file.
2891 * gdb.mi/mi2-cli-display.exp: New file.
2893 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2894 Tom Tromey <tromey@adacore.com>
2896 * gdb.ada/ptype_array/pck.adb: New file.
2897 * gdb.ada/ptype_array/pck.ads: New file.
2898 * gdb.ada/ptype_array/foo.adb: New file.
2899 * gdb.ada/ptype_array.exp: New file.
2901 2019-03-14 Tom Tromey <tromey@adacore.com>
2903 * gdb.base/style.exp: Add "set style sources" test.
2905 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2907 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2908 * mi-breakpoint-multiple-locations.exp: ... this.
2909 (make_breakpoints_pattern): New proc.
2910 (do_test): Add mi_version parameter, test -break-insert,
2911 -break-info and =breakpoint-created.
2913 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2915 * config/default.exp: Remove 'load_lib gdb.exp'.
2916 * config/monitor.exp: Likewise.
2917 * config/sid.exp: Likewise.
2918 * config/sim.exp: Likewise.
2919 * config/slite.exp: Likewise.
2920 * config/unix.exp: Likewise.
2921 * gdb.base/default.exp: Remove unhelpful comment.
2923 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2925 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2927 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2929 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2931 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2933 * gdb.fortran/type-kinds.exp: Update expected results.
2935 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2937 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2939 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2941 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2943 (test_basic_parsing_of_type_kinds): Expand types tested.
2944 (test_parsing_invalid_type_kinds): New function.
2946 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2948 * gdb.fortran/intrinsics.exp: New file.
2949 * gdb.fortran/intrinsics.f90: New file.
2950 * gdb.fortran/type-kinds.exp: New file.
2952 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2954 * gdb.fortran/dot-ops.exp: New file.
2956 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2958 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2959 Check upper and lower case logical literals.
2961 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2963 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2964 Remove duplicate tests.
2966 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2968 * lib/gdb.exp (builtin_cd): rename of cd.
2969 (cd): Override builtin.
2971 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2973 * gdb.fortran/function-calls.exp: New file.
2974 * gdb.fortran/function-calls.f90: New test.
2976 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2978 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2979 on user program standard output.
2980 * gdb.fortran/short-circuit-argument-list.f90: Record function
2983 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2985 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2988 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2991 * gdb.base/interrupt-daemon-attach.c,
2992 gdb.base/interrupt-daemon-attach.exp: New test.
2994 2019-02-27 Pedro Alves <palves@redhat.com>
2996 * gdb.base/page.exp: Add tests for "set width/height -1".
2998 2019-02-27 Pedro Alves <palves@redhat.com>
3000 * gdb.base/page.exp: Add tests for "set/show width/height" with
3003 2019-02-27 Tom Tromey <tromey@adacore.com>
3005 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3007 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3010 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3012 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3013 tests for structs with static members.
3015 2019-02-26 Tom Tromey <tromey@adacore.com>
3017 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3018 ValueError, not TypeError.
3020 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3022 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3023 call from main program.
3025 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3027 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3028 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3029 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3030 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3031 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3033 2019-02-22 Keith Seitz <keiths@redhat.com>
3036 * gdb.base/symlink-sourcefile.c: New file.
3037 * gdb.base/symlink-sourcefile.exp: New file.
3039 2019-02-20 Tom Tromey <tom@tromey.com>
3041 * gdb.base/info_qt.exp: Update.
3043 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3045 * gdb.base/source.exp: Move "error in sourced script" code to
3047 * gdb.base/source-error.gdb: Move contents to
3048 source-error-1.gdb. Add new code to source source-error-1.gdb.
3049 * gdb.base/source-error-1.gdb: New file, from previous
3052 2019-02-17 Tom Tromey <tom@tromey.com>
3054 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3056 * gdb.base/style.c (SOME_MACRO): New macro.
3058 2019-02-17 Tom Tromey <tom@tromey.com>
3060 * gdb.base/style.exp: Add line-wrapping tests.
3061 * gdb.base/page.exp: Add test for quitting during pagination.
3063 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3065 * gdb.ada/big_packed_array: New testcase.
3066 * gdb.ada/homonym.exp: Fix incorrect expected output for
3067 "break <homonym__get_value>" test.
3069 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3071 PR breakpoints/21870
3072 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3073 and prepare_for_testing. Add comment.
3074 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3075 redundant cleanup call. Clean up comment.
3077 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3079 PR breakpoints/21870
3080 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3081 * gdb.arch/aarch64-dbreg-contents.c: New file.
3083 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3085 * gdb.ada/mi_ref_changeable: New testcase.
3087 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3089 * gdb.base/attach.exp: Add double attach test.
3091 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3093 * lib/gdb.exp (default_gdb_start): Don't match pagination
3095 (gdb_init): Set stty_init.
3097 2019-01-27 Tom Tromey <tom@tromey.com>
3099 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3102 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3104 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3106 (struct struct_static_02_02): Likewise.
3107 (struct struct_static_02_03): Likewise.
3108 (struct struct_static_02_04): Likewise.
3109 (struct struct_static_04_01): Likewise.
3110 (struct struct_static_04_02): Likewise.
3111 (struct struct_static_04_03): Likewise.
3112 (struct struct_static_04_04): Likewise.
3113 (struct struct_static_06_01): Likewise.
3114 (struct struct_static_06_02): Likewise.
3115 (struct struct_static_06_03): Likewise.
3116 (struct struct_static_06_04): Likewise.
3117 (cmp_struct_static_02_01): Likewise.
3118 (cmp_struct_static_02_02): Likewise.
3119 (cmp_struct_static_02_03): Likewise.
3120 (cmp_struct_static_02_04): Likewise.
3121 (cmp_struct_static_04_01): Likewise.
3122 (cmp_struct_static_04_02): Likewise.
3123 (cmp_struct_static_04_03): Likewise.
3124 (cmp_struct_static_04_04): Likewise.
3125 (cmp_struct_static_06_01): Likewise.
3126 (cmp_struct_static_06_02): Likewise.
3127 (cmp_struct_static_06_03): Likewise.
3128 (cmp_struct_static_06_04): Likewise.
3129 (call_all): Test new structs.
3130 * gdb.base/infcall-nested-structs.exp: Likewise.
3132 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3133 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3135 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3136 * gdb.base/stack-protector.c: New test.
3137 * gdb.base/stack-protector.exp: New file.
3138 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3139 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3141 (gdb_compile): Remove stack protector for GCC and prevent
3144 2019-01-16 Keith Seitz <keiths@redhat.com>
3147 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3149 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3151 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3153 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3155 * gdb.arch/powerpc-vector-regs.c: New file.
3156 * gdb.arch/powerpc-vector-regs.exp: New file.
3158 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3160 * gdb.arch/altivec-regs.exp: Fix the list passed to
3161 gdb_expect_list when testing "info vector".
3163 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3165 * gdb.base/style.exp: Don't include path in testname.
3167 2019-01-10 Keith Seitz <keiths@redhat.com>
3171 * gdb.dwarf2/multidictionary.exp: New file.
3173 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3175 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3176 (test_gnuv3_style_demangling): ... this.
3177 (test_lucid_style_demangling): Remove.
3178 (test_arm_style_demangling): Remove.
3179 (test_hp_style_demangling): Remove.
3180 (do_tests): Remove calls to the above.
3182 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3184 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3187 2019-01-06 Tom Tromey <tom@tromey.com>
3190 * gdb.dwarf2/typedef-void-finish.exp: New file.
3192 2018-12-28 Tom Tromey <tom@tromey.com>
3193 Simon Marchi <simark@simark.ca>
3195 * gdb.base/jit-exec.exp: New file.
3196 * gdb.base/jit-exec.c: New file.
3197 * gdb.base/jit-execd.c: New file.
3199 2018-12-28 Tom Tromey <tom@tromey.com>
3201 * gdb.base/style.exp: Update test to check for address styling.
3203 2018-12-28 Tom Tromey <tom@tromey.com>
3205 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3208 2018-12-28 Tom Tromey <tom@tromey.com>
3210 * gdb.base/style.exp: Add test for version number styling.
3212 2018-12-28 Tom Tromey <tom@tromey.com>
3214 * gdb.base/style.exp: Add test for print_address_symbolic.
3216 2018-12-28 Tom Tromey <tom@tromey.com>
3218 * gdb.base/style.exp: Add test for breakpoint setting.
3220 2018-12-28 Tom Tromey <tom@tromey.com>
3222 * gdb.base/style.exp: Add test for variable names.
3224 2018-12-28 Tom Tromey <tom@tromey.com>
3226 * gdb.base/style.exp: New file.
3227 * gdb.base/style.c: New file.
3229 2018-12-28 Tom Tromey <tom@tromey.com>
3231 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3233 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3234 the TERM environment variable.
3236 2018-12-27 Tom Tromey <tom@tromey.com>
3238 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3241 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3243 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3244 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3246 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3248 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3249 Filename a.adb changed to bp_fun_addr.adb.
3250 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3252 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3254 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3255 non-PIE executables.
3256 * README: Mention the gdb,nopie_flag board setting.
3257 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3259 * gdb.arch/amd64-entry-value.exp: Likewise.
3260 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3261 * gdb.arch/i386-float.exp: Likewise.
3262 * gdb.arch/i386-signal.exp: Likewise.
3263 * gdb.mi/mi-reg-undefined.exp: Likewise.
3265 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3268 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3270 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3272 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3273 Update order of results accordingly.
3275 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3277 * gdb.base/annota1.exp: Update a test regexp.
3279 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3281 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3283 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3285 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3286 (reuse_time): Initialize to REUSE_TIME_CAP.
3287 (check_rc): New function.
3288 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3289 Check pthread_create rc.
3290 (spawner_thread_func): Check pthread_create and pthread_join rc.
3292 2018-12-08 Pedro Alves <palves@redhat.com>
3294 * gdb.base/list.exp (test_forward_search): Rename to ...
3295 (test_forward_reverse_search): ... this. Also test reverse-search
3296 and the forward-search alias.
3298 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3300 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3301 local timeout variable before return, and remove all local timeout
3303 (gdb_load): Likewise.
3305 2018-12-01 Tom de Vries <tdevries@suse.de>
3307 * gdb.base/gdb-caching-proc.exp: New file.
3309 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3311 * Makefile.in (TIMESTAMP): New variable.
3312 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3314 (check-single-racy): Likewise.
3315 (check/%.exp): Likewise.
3316 (check-racy/%.exp): Likewise.
3317 (workers/%.worker): Likewise.
3318 (build-perf): Likewise.
3319 (check-perf): Likewise.
3320 * README: Describe new "TS" and "TS_FORMAT" variables.
3321 * print-ts.py: New file.
3323 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3326 * gdb.python/python.exp: Test command repetition after
3329 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3331 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3332 is correctly aligned.
3334 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3336 * gdb.ada/info_auto_lang.exp: New testcase.
3337 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3338 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3339 * gdb.ada/info_auto_lang/some_c.c: New file.
3341 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3343 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3344 FUNC_lang language syntax.
3346 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3348 * gdb.base/info_minsym.c: New file.
3349 * gdb.base/info_minsym.exp: New file.
3351 2018-11-19 Tom Tromey <tom@tromey.com>
3354 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3355 * gdb.rust/expr.exp: Update expected output. Change one test.
3357 2018-11-19 Tom Tromey <tom@tromey.com>
3359 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3361 2018-11-19 Pedro Alves <palves@redhat.com>
3363 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3364 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3365 see the expected warning.
3367 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3370 * gdb.cp/infcall-nodebug-lib.c: New test.
3371 * gdb.cp/infcall-nodebug-main.c: New test.
3372 * gdb.cp/infcall-nodebug.exp: New file.
3374 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3376 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3379 2018-11-09 Tom de Vries <tdevries@suse.de>
3381 * gdb.base/msym-lang.c: New test.
3382 * gdb.base/msym-lang.exp: New file.
3383 * gdb.base/msym-lang-main.c: New test.
3385 2018-11-08 Tom Tromey <tom@tromey.com>
3389 * gdb.base/warning.exp: New file.
3391 2018-11-08 Jan Beulich <jbeulich@suse.com>
3393 * testsuite/gdb.arch/i386-avx512.c,
3394 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3396 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3398 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3401 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3403 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3404 * gdb.dwarf2/missing-type-name.exp: New file.
3406 2018-11-06 Tom de Vries <tdevries@suse.de>
3408 * gdb.base/many-headers.c: New test.
3409 * gdb.base/many-headers.exp: New file.
3411 2018-11-06 Jim Wilson <jimw@sifive.com>
3413 * gdb.base/code_elim.exp: For riscv, set additional_flags
3414 to include -msmall-data-limit=0.
3416 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3418 * gdb.ada/watch_minus_l: New testcase.
3420 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3422 * gdb.arch/aix-sighandle.c: New file.
3423 * gdb.arch/aix-sighandle.exp: New file.
3425 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3427 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3428 registers being unions.
3430 2018-10-31 Tom de Vries <tdevries@suse.de>
3432 * lib/valgrind.exp: New file.
3433 (vgdb_start, vgdb_stop): New procs, factored out of ...
3434 * gdb.base/valgrind-bt.exp: ... here, ...
3435 * gdb.base/valgrind-disp-step.exp: ... here and ...
3436 * gdb.base/valgrind-infcall.exp: ... here.
3438 2018-10-31 Tom de Vries <tdevries@suse.de>
3440 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3442 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3444 * gdb.dwarf2/void-type.c: New file.
3445 * gdb.dwarf2/void-type.exp: New file.
3447 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3449 * gdb.base/info_qt.c: New file.
3450 * gdb.base/info_qt.exp: New file.
3452 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3454 * gdb.arch/powerpc-htm-regs.c: New file.
3455 * gdb.arch/powerpc-htm-regs.exp: New file.
3457 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3459 * gdb.arch/powerpc-tar.c: New file.
3460 * gdb.arch/powerpc-tar.exp: New file.
3462 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3464 * gdb.arch/powerpc-ppr-dscr.c: New file.
3465 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3467 2018-10-25 Tom de Vries <tdevries@suse.de>
3469 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3471 2018-10-24 Tom de Vries <tdevries@suse.de>
3473 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3474 longer exists error.
3476 2018-10-24 Tom de Vries <tdevries@suse.de>
3478 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3480 2018-10-24 Tom de Vries <tdevries@suse.de>
3482 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3483 --db-attach in valgrind.
3485 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3487 * gdb.arch/riscv-reg-aliases.c: New file.
3488 * gdb.arch/riscv-reg-aliases.exp: New file.
3490 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3492 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3494 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3496 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3498 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3500 * gdb.cp/ovldbreak.exp: Fix regexps.
3502 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3504 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3506 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3509 * gdb.base/restore.exp: New test to check if "restore" with an
3510 invalid file doesn't segfault.
3512 2018-10-18 Tom de Vries <tdevries@suse.de>
3514 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3515 * gdb.ada/excep_handle.exp: Same.
3516 * gdb.ada/mi_string_access.exp: Same.
3517 * gdb.ada/mi_var_union.exp: Same.
3518 * gdb.arch/arc-analyze-prologue.exp: Same.
3519 * gdb.arch/arc-decode-insn.exp: Same.
3520 * gdb.base/readnever.exp: Same.
3521 * gdb.fortran/printing-types.exp: Same.
3522 * gdb.guile/scm-lazy-string.exp: Same.
3524 2018-10-16 Tom de Vries <tdevries@suse.de>
3527 * gdb.base/catch-follow-exec.c: Add copyright notice.
3528 * gdb.base/catch-follow-exec.exp: Rewrite to use
3529 gdb_spawn_with_cmdline_opts. Require gdb-native.
3531 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3533 * gdb.trace/actions-changed.exp: Check for arch support.
3534 * gdb.trace/actions.exp: Likewise.
3535 * gdb.trace/ax.exp: Likewise.
3536 * gdb.trace/backtrace.exp: Likewise.
3537 * gdb.trace/change-loc.exp: Likewise.
3538 * gdb.trace/deltrace.exp: Likewise.
3539 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3540 * gdb.trace/ftrace.exp: Likewise.
3541 * gdb.trace/infotrace.exp: Check for arch support.
3542 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3543 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3544 * gdb.trace/mi-tsv-changed.exp: Likewise.
3545 * gdb.trace/packetlen.exp: Likewise.
3546 * gdb.trace/passc-dyn.exp: Likewise.
3547 * gdb.trace/passcount.exp: Likewise.
3548 * gdb.trace/pending.exp: Likewise.
3549 * gdb.trace/range-stepping.exp: Check for shlib support.
3550 * gdb.trace/report.exp: Check for arch support.
3551 * gdb.trace/save-trace.exp: Likewise.
3552 * gdb.trace/signal.exp: Check for signal support.
3553 * gdb.trace/tfind.exp: Check for arch support.
3554 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3555 * gdb.trace/trace-common.h: Add comment.
3556 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3557 * gdb.trace/trace-enable-disable.exp: Likewise.
3558 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3559 * gdb.trace/tracecmd.exp: Check for arch support.
3560 * gdb.trace/tspeed.exp: Check for shlib and target support.
3561 * gdb.trace/tstatus.exp: Check for arch support.
3562 * gdb.trace/tsv.exp: Likewise.
3563 * gdb.trace/while-dyn.exp: Likewise.
3564 * gdb.trace/while-stepping.exp: Likewise.
3565 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3567 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3569 * gdb.trace/tspeed.exp: Remove nowarnings.
3570 (prepare_for_trace_test): Declare "global ipalib".
3571 * gdb.trace/tspeed.c: Include unistd.h.
3572 (main): Remove superfluous printf argument.
3574 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3576 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3577 directory prefix on the filename.
3579 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3581 * gdb.gdb/unittest.exp: Update expected message informing that
3582 selftests have been disabled.
3583 * gdb.server/unittest.exp: Likewise.
3585 2018-10-09 Tom de Vries <tdevries@suse.de>
3587 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3590 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3593 * gdb.cp/virtbase2.cc: New file.
3594 * gdb.cp/virtbase2.exp: New file.
3596 2018-10-06 Tom Tromey <tom@tromey.com>
3599 * gdb.python/py-inferior.exp: Add architecture test.
3601 2018-10-06 Tom Tromey <tom@tromey.com>
3603 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3604 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3606 2018-10-06 Tom Tromey <tom@tromey.com>
3608 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3609 of a "throw" catchpoint.
3611 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3613 * gdb.base/info-proc.exp: Update string expected from "help info
3616 2018-10-04 Tom Tromey <tom@tromey.com>
3618 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3619 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3620 (test_initial_complaints, test_empty_complaints): Update.
3621 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3623 2018-10-04 Tom Tromey <tom@tromey.com>
3626 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3627 * lib/gdb.exp (gdb_file_cmd): Update.
3628 * gdb.stabs/weird.exp (print_weird_var): Update.
3629 * gdb.server/solib-list.exp: Update.
3630 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3631 * gdb.mi/mi-cli.exp: Update.
3632 * gdb.linespec/linespec.exp: Update.
3633 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3634 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3635 * gdb.cp/cp-relocate.exp: Update.
3636 * gdb.base/sym-file.exp: Update.
3637 * gdb.base/relocate.exp: Update.
3638 * gdb.base/readnever.exp: Update.
3639 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3640 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3641 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3642 * gdb.base/code_elim.exp: Update.
3643 * gdb.base/break-unload-file.exp (test_break): Update.
3644 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3645 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3647 * gdb.base/attach.exp (do_attach_tests): Update.
3648 * gdb.base/sepdebug.exp: Update.
3649 * gdb.python/py-section-script.exp: Update.
3651 2018-10-04 Tom Tromey <tom@tromey.com>
3654 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3655 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3658 2018-10-04 Tom Tromey <tom@tromey.com>
3660 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3661 set width and height to 0.
3662 (test_command_line_attach_run): Use -quiet.
3664 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3666 * lib/gdb.exp (skip_ifunc_tests): New.
3667 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3668 other compile failures.
3669 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3671 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3673 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3674 is_amd64_regs_target.
3676 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3678 * gdb.arch/aarch64-sighandler-regs.c: New test.
3679 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3680 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3682 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3684 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3687 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3689 * gdb.base/frame-selection.exp: New file.
3690 * gdb.base/frame-selection.c: New file.
3692 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3694 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3698 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3700 * gdb.base/large-frame-1.c: New file.
3701 * gdb.base/large-frame-2.c: New file.
3702 * gdb.base/large-frame.exp: New file.
3703 * gdb.base/large-frame.h: New file.
3705 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3708 * gdb.base/write_mem.exp: New test.
3709 * gdb.base/write_mem.c: Likewise.
3711 2018-09-23 Tom Tromey <tom@tromey.com>
3714 * gdb.python/py-parameter.exp: Add test for parameter that throws
3717 2018-09-23 Tom Tromey <tom@tromey.com>
3720 * gdb.python/py-template.exp (test_template_arg): Add test for
3721 negative template argument number.
3723 2018-09-23 Tom Tromey <tom@tromey.com>
3726 * gdb.python/python.exp: Add test for post_event error.
3728 2018-09-23 Tom Tromey <tom@tromey.com>
3731 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3732 convert pointers to int and long.
3734 2018-09-23 Tom Tromey <tom@tromey.com>
3737 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3738 signed-ness conversion tests.
3740 2018-09-23 Tom Tromey <tom@tromey.com>
3743 * gdb.python/py-value.exp (test_float_conversion): New proc.
3746 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3748 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3750 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3752 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3754 * gdb.base/utf8-identifiers.exp: Likewise.
3755 * gdb.cp/cpcompletion.exp: Likewise.
3756 * gdb.linespec/cpcompletion.exp: Likewise.
3757 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3758 * gdb.linespec/cpls-ops.exp: Likewise.
3760 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3761 Chris January <chris.january@arm.com>
3763 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3764 * gdb.fortran/short-circuit-argument-list.exp: New file.
3765 * gdb.fortran/short-circuit-argument-list.f90: New test.
3767 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3769 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3770 "arch=" keyword when executing "-stack-list-frames".
3772 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3774 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3775 "arch=" keyword when executing "-stack-list-frames".
3777 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3779 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3782 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3785 * gdb.python/python.exp: Test gdb.execute("show commands").
3787 2018-09-16 Tom Tromey <tom@tromey.com>
3789 * gdb.base/new-ui.exp (do_execution_tests): Update.
3790 * gdb.base/dbx.exp (test_breakpoints): Update.
3792 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3794 * lib/gdb.exp (gdb_simple_compile): Add proc.
3795 (is_elf_target): Use gdb_simple_compile.
3796 (skip_altivec_tests): Likewise.
3797 (skip_vsx_tests): Likewise.
3798 (skip_tsx_tests): Likewise.
3799 (skip_btrace_tests): Likewise.
3800 (skip_btrace_pt_tests): Likewise.
3801 (gdb_can_simple_compile): Likewise.
3802 (gdb_has_argv0): Likewise.
3803 (gdb_target_symbol_prefix): Likewise.
3804 (target_supports_scheduler_locking): Likewise.
3806 2018-09-13 Tom Tromey <tom@tromey.com>
3808 * Makefile.in (TAGS): Recognize proc_with_prefix and
3811 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3813 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3816 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3818 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3819 and a few other Inferior properties when the Inferior is no
3822 2018-09-13 Tom Tromey <tom@tromey.com>
3825 * gdb.rust/simple.exp: Add test for enum field access error.
3827 2018-09-13 Tom Tromey <tom@tromey.com>
3830 * gdb.rust/simple.rs (EmptyEnum): New type.
3832 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3834 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3836 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3837 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3838 * gdb.python/py-symtab.exp: Update test printing an objfile.
3840 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3842 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3845 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3847 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3848 (support_complex_tests): Use gdb_can_simple_compile.
3849 (is_ilp32_target): Likewise.
3850 (is_lp64_target): Likewise.
3851 (is_64_target): Likewise.
3852 (is_amd64_regs_target): Likewise.
3853 (is_aarch32_target): Likewise.
3854 (gdb_int128_helper): Likewise.
3856 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3858 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3860 2018-09-10 Jerome Guitton <guitton@adacore.com>
3862 * gdb.ada/same_component_name: Add test for case of tagged record
3863 with variable-length fields.
3865 2018-09-10 Xavier Roirand <roirand@adacore.com>
3867 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3868 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3869 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3870 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3872 2018-09-10 Xavier Roirand <roirand@adacore.com>
3874 * gdb.ada/mi_string_access.exp: New testcase.
3875 * gdb.ada/mi_string_access/bar.adb: New file.
3876 * gdb.ada/mi_string_access/pck.adb: New file.
3877 * gdb.ada/mi_string_access/pck.asd: New file.
3879 2018-09-10 Xavier Roirand <roirand@adacore.com>
3881 * gdb.ada/mi_var_union.exp: New testcase.
3882 * gdb.ada/mi_var_union/bar.adb: New file.
3883 * gdb.ada/mi_var_union/pck.adb: New file.
3884 * gdb.ada/mi_var_union/pck.asd: New file.
3886 2018-09-08 Tom Tromey <tom@tromey.com>
3888 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3890 2018-09-08 Tom Tromey <tom@tromey.com>
3893 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3894 (register_pretty_printers): Register new printer.
3895 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3897 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3898 (an_int_type3): New global.
3900 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3902 * gdb.ada/expr_with_funcall: New testcase.
3904 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3906 * gdb.ada/packed_array_assign: New testcase.
3908 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3910 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3911 names, and add test prefixes to make test names unique.
3913 2018-09-05 Tom de Vries <tdevries@suse.de>
3915 * gdb.dwarf2/varval.exp: Add test.
3917 2018-09-04 Gary Benson <gbenson@redhat.com>
3919 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3920 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3922 2018-08-31 Tom Tromey <tom@tromey.com>
3924 * gdb.rust/simple.rs: Rename second variable "v".
3926 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3928 * gdb.base/funcargs.c (use_a): New function.
3929 (recurse): Call use_a.
3931 2018-08-29 Keith Seitz <keiths@redhat.com>
3933 * gdb.compile/compile-cplus-anonymous.cc: New file.
3934 * gdb.compile/compile-cplus-anonymous.exp: New file.
3935 * gdb.compile/compile-cplus-array-decay.cc: New file.
3936 * gdb.compile/compile-cplus-array-decay.exp: New file.
3937 * gdb.compile/compile-cplus-inherit.cc: New file.
3938 * gdb.compile/compile-cplus-inherit.exp: New file.
3939 * gdb.compile/compile-cplus-member.cc: New file.
3940 * gdb.compile/compile-cplus-member.exp: New file.
3941 * gdb.compile/compile-cplus-method.cc: New file.
3942 * gdb.compile/compile-cplus-method.exp: New file.
3943 * gdb.compile/compile-cplus-mod.c: "New" file.
3944 * gdb.compile/compile-cplus-namespace.cc: New file.
3945 * gdb.compile/compile-cplus-namespace.exp: New file.
3946 * gdb.compile/compile-cplus-nested.cc: New file.
3947 * gdb.compile/compile-cplus-nested.exp: New file.
3948 * gdb.compile/compile-cplus-print.c: "New" file.
3949 * gdb.compile/compile-cplus-print.exp: "New" file.
3950 * gdb.compile/compile-cplus-virtual.cc: New file.
3951 * gdb.compile/compile-cplus-virtual.exp: New file.
3952 * gdb.compile/compile-cplus.c: "New" file.
3953 * gdb.compile/compile-cplus.exp: "New" file.
3954 * lib/compile-support.exp: New file.
3956 2018-08-16 Gary Benson <gbenson@redhat.com>
3959 * gdb.base/batch-exit-status.exp: New file.
3960 * gdb.base/batch-exit-status.good-commands: Likewise.
3961 * gdb.base/batch-exit-status.bad-commands: Likewise.
3963 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3965 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3966 (struct struct02): Likewise.
3967 (struct struct03): Likewise.
3968 (struct struct04): Likewise.
3969 (struct struct_01_01): New struct.
3970 (struct struct_01_02): Likewise.
3971 (struct struct_01_03): Likewise.
3972 (struct struct_01_04): Likewise.
3973 (struct struct_02_01): Likewise.
3974 (struct struct_02_02): Likewise.
3975 (struct struct_02_03): Likewise.
3976 (struct struct_02_04): Likewise.
3977 (struct struct_04_01): Likewise.
3978 (struct struct_04_02): Likewise.
3979 (struct struct_04_03): Likewise.
3980 (struct struct_04_04): Likewise.
3981 (struct struct_05_01): Likewise.
3982 (struct struct_05_02): Likewise.
3983 (struct struct_05_03): Likewise.
3984 (struct struct_05_04): Likewise.
3985 (cmp_struct01): Remove function.
3986 (cmp_struct02): Likewise.
3987 (cmp_struct03): Likewise.
3988 (cmp_struct04): Likewise.
3989 (cmp_struct_01_01): Add Function.
3990 (cmp_struct_01_02): Likewise.
3991 (cmp_struct_01_03): Likewise.
3992 (cmp_struct_01_04): Likewise.
3993 (cmp_struct_02_01): Likewise.
3994 (cmp_struct_02_02): Likewise.
3995 (cmp_struct_02_03): Likewise.
3996 (cmp_struct_02_04): Likewise.
3997 (cmp_struct_04_01): Likewise.
3998 (cmp_struct_04_02): Likewise.
3999 (cmp_struct_04_03): Likewise.
4000 (cmp_struct_04_04): Likewise.
4001 (cmp_struct_05_01): Likewise.
4002 (cmp_struct_05_02): Likewise.
4003 (cmp_struct_05_03): Likewise.
4004 (cmp_struct_05_04): Likewise.
4005 (call_all): Add new structs.
4006 * gdb.base/infcall-nested-structs.exp: Likewise.
4008 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4010 * gdb.python/py-framefilter-mi.exp: Update regexp to
4011 check for "arch" field in frame output.
4013 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4015 * gdb.dwarf2/dw2-ranges-func.c: New file.
4016 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4018 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4020 * gdb.base/term.exp: Compare terminal settings with values from
4022 * gdb.base/term.c: Get and set terminal settings.
4024 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4026 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4027 accommodate new "arch" field in frame output.
4028 * gdb.mi/mi-return.exp: Likewise.
4029 * gdb.mi/mi-stack.exp: Likewise.
4030 * gdb.mi/mi-syn-frame.exp: Likewise.
4031 * gdb.mi/user-selected-context-sync.exp: Likewise.
4033 2018-08-19 Michael Spang <spang@google.com>
4036 * gdb.base/gcore-tls-pie.c: New file.
4037 * gdb.base/gcore-tls-pie.exp: New file.
4039 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4041 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4042 * gdb.dwarf2/varval.c: New file.
4043 * gdb.dwarf2/varval.exp: New file.
4045 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4048 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4050 2018-08-16 Keith Seitz <keiths@redhat.com>
4052 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4053 tests expected to pass.
4055 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4057 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4058 -data-disassemble -a.
4059 (test_disassembly_bogus_args): Likewise.
4061 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4063 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4065 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4067 * gdb.base/vla-optimized-out.exp: Add new test.
4069 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4071 * gdb.base/vla-optimized-out-o3.exp: Delete.
4072 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4073 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4076 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4079 * gdb.server/extended-remote-restart.c: New file.
4080 * gdb.server/extended-remote-restart.exp: New file.
4082 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4084 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4085 "set variable index = 42".
4087 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4089 * boards/index-cache-gdb.exp: New file.
4090 * gdb.dwarf2/index-cache.exp: New file.
4091 * gdb.dwarf2/index-cache.c: New file.
4092 * gdb.base/maint.exp: Check if we are using the index cache.
4094 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4096 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4099 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4101 * dg-extract-results.sh: Move to toplevel contrib.
4102 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4103 * Makefile.in (check-parallel-racy): Likewise.
4105 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4107 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4108 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4109 tests if the target supports scheduler locking.
4111 2018-08-04 Tom de Vries <tdevries@suse.de>
4113 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4115 2018-08-02 Tom Tromey <tom@tromey.com>
4118 * gdb.cp/temargs.exp: Test "info address" of a template
4121 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4123 * gdb.python/py-mi-var-info-path-expression.c: New file.
4124 * gdb.python/py-mi-var-info-path-expression.py: New file.
4125 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4127 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4129 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4130 error after "cannot resolve name" string.
4132 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4134 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4136 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4138 2018-07-28 Tom de Vries <tdevries@suse.de>
4140 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4142 2018-07-26 Tom de Vries <tdevries@suse.de>
4144 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4146 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4148 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4151 2018-07-26 Tom de Vries <tdevries@suse.de>
4153 PR breakpoints/23366
4154 * gdb.base/catch-follow-exec.c: New test.
4155 * gdb.base/catch-follow-exec.exp: New file.
4157 2018-07-25 Tom de Vries <tdevries@suse.de>
4159 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4160 vla-optimized-out.c.
4162 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4164 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4165 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4167 2018-07-20 Tom de Vries <tdevries@suse.de>
4169 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4171 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4173 2018-07-19 Tom de Vries <tdevries@suse.de>
4175 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4178 2018-07-18 Tom de Vries <tdevries@suse.de>
4180 * gdb.base/vla-optimized-out.c: New test.
4181 * gdb.base/vla-optimized-out.exp: New file.
4183 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4185 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4186 message "No address associated with hostname" when gdbserver
4187 cannot resolve the hostname.
4189 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4191 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4192 Add some test prefixes to make tests unique.
4194 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4196 * gdb.base/frameapply.c: New file.
4197 * gdb.base/frameapply.exp: New file.
4199 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4201 * gdb.base/skip.exp: Update expected error message.
4203 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4204 Jan Kratochvil <jan.kratochvil@redhat.com>
4205 Paul Fertser <fercerpav@gmail.com>
4206 Tsutomu Seki <sekiriki@gmail.com>
4208 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4210 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4212 * boards/native-gdbserver.exp: Likewise.
4213 * gdb.server/run-without-local-binary.exp: Improve regexp used
4214 for detecting when a remote debugging connection succeeds.
4215 * gdb.server/server-connect.exp: New file.
4216 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4217 Do not prefix the port number with ":".
4218 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4219 support for detecting and using it. Add '$debughost_gdbserver'
4220 to the list of arguments used to start gdbserver. Handle case
4221 when gdbserver cannot resolve a network name.
4223 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4226 * gdb.base/ptype-offsets.cc (struct static_member): New
4228 (main) <stmember>: New variable.
4229 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4230 with a static member in it.
4232 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4234 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4235 watchpoints enabled and disabled.
4237 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4239 * gdb.base/examine-backward.exp: Still run tests around address
4240 0x0, even if address 0x0 is not readable. Update the pattern for
4241 matching address 0x0 in expected output.
4243 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4245 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4248 2018-07-04 Tom de Vries <tdevries@suse.de>
4250 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4252 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4255 * gdb.arch/mips-disassembler-options.exp: New test.
4256 * gdb.arch/mips-disassembler-options.s: New test source.
4258 2018-06-29 Pedro Alves <palves@redhat.com>
4260 * gdb.threads/names.exp: Adjust expected "info threads" output.
4262 2018-06-29 Pedro Alves <palves@redhat.com>
4264 * gdb.opt/inline-break.exp (line number, address): Add "info
4267 2018-06-29 Pedro Alves <palves@redhat.com>
4269 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4270 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4271 number and address and running to them.
4273 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4275 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4277 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4279 * lib/compiler.c: Remove executable permission flag.
4281 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4283 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4285 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4287 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4289 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4291 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4293 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4294 address argument is omitted.
4296 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4298 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4300 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4303 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4304 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4306 2018-06-26 Tom Tromey <tom@tromey.com>
4309 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4310 * gdb.rust/simple.rs (struct SimpleLayout): New.
4312 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4314 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4315 "info registers" output.
4317 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4319 * gdb.base/watchpoint-hw-attach.c: New test.
4320 * gdb.base/watchpoint-hw-attach.exp: New file.
4322 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4324 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4326 * boards/dwarf4-gdb-index.exp: Likewise.
4327 * boards/fission-dwp.exp: Likewise.
4329 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4331 * gdb.base/float128.exp: Add comment and improved fail message
4332 to the failure case of "print large128" test.
4334 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4336 * configure.ac: Remove AC_PREREQ.
4337 * configure: Re-generate.
4339 2018-06-19 Pedro Alves <palves@redhat.com>
4341 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4342 (func_extern_caller): New.
4343 (main): Call func_extern_caller.
4344 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4347 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4350 * gdb.cp/typedef-base.cc: New file.
4351 * gdb.cp/typedef-base.exp: New file.
4353 2018-06-18 Tom de Vries <tdevries@suse.de>
4355 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4357 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4358 Richard Bunt <Richard.Bunt@arm.com>
4360 * gdb.threads/attach-slow-waitpid.c: New file.
4361 * gdb.threads/attach-slow-waitpid.exp: New file.
4362 * gdb.threads/slow-waitpid.c: New file.
4364 2018-06-14 Pedro Alves <palves@redhat.com>
4366 * gdb.base/fork-running-state.c: Include <errno.h>.
4367 (exit_if_relative_exits): New.
4368 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4370 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4373 2018-06-14 Tom de Vries <tdevries@suse.de>
4376 * gdb.base/finish-pretty.c: New test.
4377 * gdb.base/finish-pretty.exp: New file.
4379 2018-06-14 Pedro Alves <palves@redhat.com>
4381 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4382 gdb's expected startup output.
4384 2018-06-14 Pedro Alves <palves@redhat.com>
4386 * lib/selftest-support.exp (selftest_setup): Remove inlined
4389 2018-06-14 Tom de Vries <tdevries@suse.de>
4391 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4392 matching of breakpoint printing.
4394 2018-06-13 Tom de Vries <tdevries@suse.de>
4397 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4398 (fork_child): ... here, and ...
4399 (fork_parent): ... here.
4401 2018-06-12 Tom de Vries <tdevries@suse.de>
4403 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4405 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4406 Stephen Roberts <stephen.roberts@arm.com>
4408 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4409 rewrite test to describe action performed, rather than possible
4412 2018-06-08 Gary Benson <gbenson@redhat.com>
4414 * gdb.threads/check-libthread-db.exp: New file.
4415 * gdb.threads/check-libthread-db.c: Likewise.
4417 2018-06-05 Tom Tromey <tom@tromey.com>
4419 * gdb.base/default.exp: Update expected "show version" output.
4421 2018-06-05 Tom Tromey <tom@tromey.com>
4424 * gdb.cp/static-print-quit.exp: Update.
4425 * lib/gdb.exp (pagination_prompt): Update.
4426 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4427 * gdb.python/python.exp: Update.
4429 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4431 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4433 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4435 * gdb.ada/bp_fun_addr: New testcase.
4437 2018-06-01 Tom Tromey <tom@tromey.com>
4439 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4441 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4442 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4443 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4444 * gdb.base/maint.exp (maint_pass_if): Update.
4446 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4448 * gdb.base/endian.exp: New test.
4449 * gdb.base/endian.c: New test source.
4451 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4454 * gdb.base/bt-selected-frame.c: New file.
4455 * gdb.base/bt-selected-frame.exp: New file.
4456 * lib/gdb.exp (get_current_frame_number): New function.
4458 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4459 Pedro Alves <palves@redhat.com>
4461 * gdb.threads/tls-core.c: Include <stdlib.h>
4462 (thread_proc): Call `abort'.
4463 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4464 (tls_core_test): New procedure, bits factored out from ...
4465 (top level): ... here. Test both native cores and gcore cores.
4467 2018-05-23 Tom Tromey <tom@tromey.com>
4469 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4471 2018-05-23 Tom Tromey <tom@tromey.com>
4473 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4475 (test_short_complaints): Likewise.
4476 (test_empty_complaints): Likewise.
4477 (test_initial_complaints): Update.
4479 2018-05-23 Tom Tromey <tom@tromey.com>
4481 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4483 2018-05-23 Tom Tromey <tom@tromey.com>
4485 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4486 (test_short_complaints): Update.
4488 2018-05-22 Pedro Alves <palves@redhat.com>
4490 * gdb.base/remote.exp: Only gdb_start after compiling the
4491 testcase. Issue "disconnect" before testing "set remote" command
4492 defaults. Issue clean_restart before running to main.
4494 2018-05-22 Pedro Alves <palves@redhat.com>
4496 * gdb.base/remote.exp: Adjust expected output of "show remote
4497 memory-write-packet-size". Add tests for "set remote
4498 memory-write-packet-size 0" and "set remote
4499 memory-write-packet-size fixed/limit".
4501 2018-05-22 Pedro Alves <palves@redhat.com>
4504 * gdb.base/utf8-identifiers.c: New file.
4505 * gdb.base/utf8-identifiers.exp: New file.
4507 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4509 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4511 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4513 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4515 2018-05-18 Tom Tromey <tom@tromey.com>
4517 * gdb.base/ptype-offsets.exp: Update.
4519 2018-05-17 Keith Seitz <keiths@redhat.com>
4521 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4522 in expected breakpoint stop locations.
4523 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4524 move to proper scope to test variable values.
4525 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4526 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4528 (main): Call not_inline_func3.
4529 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4530 inline_func1, inline_func2, and inline_func3. Test that when each
4531 breakpoint is hit, GDB properly reports both the stop location
4532 and the backtrace. Repeat tests for temporary breakpoints.
4534 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4536 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4537 rather then trying to access it in determining whether the PID
4538 of `gdbserver' could have been retrieved.
4540 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4542 * gdb.arch/amd64-init-x87-values.S: New file.
4543 * gdb.arch/amd64-init-x87-values.exp: New file.
4545 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4547 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4549 2018-05-04 Tom Tromey <tom@tromey.com>
4552 * gdb.python/python.exp: Test multi-line execute.
4554 2018-05-04 Tom Tromey <tom@tromey.com>
4557 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4559 2018-05-04 Tom Tromey <tom@tromey.com>
4562 * gdb.base/define.exp: Test defining a user command inside a user
4564 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4566 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4567 Pedro Alves <palves@redhat.com>
4569 PR breakpoints/19806 and support for PR external/20207.
4570 * gdb.base/watchpoint-unaligned.c: New file.
4571 * gdb.base/watchpoint-unaligned.exp: New file.
4573 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4575 * gdb.base/maint.exp: Make test names unique, use
4576 test_prefix_command_help to test 'help maint info', and remove
4577 repeated test of 'help maint'.
4579 2018-05-04 Tom Tromey <tom@tromey.com>
4582 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4585 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4587 * gdb.base/maint.exp: Process output from 'maint print registers'
4590 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4592 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4595 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4597 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4600 2018-05-02 Pedro Alves <palves@redhat.com>
4602 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4603 to_log_command renames.
4604 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4606 2018-05-02 Tom Tromey <tom@tromey.com>
4608 * gdb.python/py-parameter.exp: Set test message.
4610 2018-05-02 Tom Tromey <tom@tromey.com>
4613 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4614 PARAM_ZUINTEGER_UNLIMITED tests.
4616 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4619 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4622 2018-04-30 Tom Tromey <tom@tromey.com>
4624 * gdb.python/py-type.exp: Check align attribute.
4625 * gdb.python/py-type.c: New "aligncheck" global.
4627 2018-04-30 Tom Tromey <tom@tromey.com>
4630 * gdb.dwarf2/dw2-align.exp: New file.
4631 * gdb.cp/align.exp: New file.
4632 * gdb.base/align.exp: New file.
4633 * lib/gdb.exp (gdb_int128_helper): New proc.
4634 (has_int128_c, has_int128_cxx): New caching procs.
4636 2018-04-27 Tom Tromey <tom@tromey.com>
4639 * gdb.rust/simple.exp: Add inclusive range tests.
4641 2018-04-26 Pedro Alves <palves@redhat.com>
4643 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4644 ifunc breakpoint locations correctly of ifunc breakpoints set
4645 while the program resolves the ifunc.
4647 2018-04-26 Pedro Alves <palves@redhat.com>
4649 * gdb.base/gnu-ifunc-final.c: New file.
4650 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4651 * gdb.base/gnu-ifunc.exp (executable): Delete.
4652 (staticexecutable): Adjust.
4653 (lib_opts, exec_opts): Delete.
4654 (make_binsuffix, build, set-break): New procedures.
4655 (misc_tests): New, with tests factored out from the top level.
4656 (top level): Test different combinations of ifunc resolver name,
4657 resolver with and with debug info, and ifunc target with and
4658 without debug info. Wrap static tests with with_target_prefix.
4660 2018-04-26 Pedro Alves <palves@redhat.com>
4662 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4663 return type" warnings.
4665 2018-04-25 Pedro Alves <palves@redhat.com>
4667 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4669 * gdb.base/kill-after-signal.exp: Likewise.
4670 * gdb.threads/kill.exp: Likewise.
4672 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4673 Sergio Durigan Junior <sergiodj@redhat.com>
4674 Pedro Alves <palves@redhat.com>
4676 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4677 regexps to expect for '[Inferior ... detached]' as well.
4678 * gdb.base/attach.exp: Likewise.
4679 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4680 "gdb_continue_to_end".
4681 (test_catch_syscall_with_wrong_args): Likewise.
4682 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4683 ']'. Don't set 'verbose' on.
4684 * gdb.base/foll-vfork.exp: Likewise.
4685 * gdb.base/fork-print-inferior-events.c: New file.
4686 * gdb.base/fork-print-inferior-events.exp: New file.
4687 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4688 '[Inferior ... has been killed]' message.
4689 * gdb.base/kill-after-signal.exp: Likewise.
4690 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4692 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4694 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4695 regexps to expect for '[Inferior ... detached]' as well.
4696 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4698 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4701 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4703 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4706 * gdb.base/break-probes.exp: Pass shlib_load to
4707 prepare_for_testing. Set normal_bp to r_debug_state if target is
4710 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4712 * gdb.threads/multiple-successive-infcall.c: New test.
4713 * gdb.threads/multiple-successive-infcall.exp: New file.
4715 2018-04-17 Tom Tromey <tom@tromey.com>
4717 * gdb.rust/simple.rs (Union): New type.
4718 (main): New local "u".
4719 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4721 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4723 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4724 number information in output of "whereis" command.
4725 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4727 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4729 * gdb.ada/info_types.exp: Adjust expected output to the line
4730 numbers now printed by "info var/func/type".
4731 * gdb.base/completion.exp: Likewise.
4732 * gdb.base/included.exp: Likewise.
4733 * gdb.cp/cp-relocate.exp: Likewise.
4734 * gdb.cp/cplusfuncs.exp: Likewise.
4735 * gdb.cp/namespace.exp: Likewise.
4736 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4738 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4740 * gdb.btrace/cpu.exp: New.
4742 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4744 * gdb.base/step-indirect-call-thunk.exp: New.
4745 * gdb.base/step-indirect-call-thunk.c: New.
4746 * gdb.reverse/step-indirect-call-thunk.exp: New.
4747 * gdb.reverse/step-indirect-call-thunk.c: New.
4749 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4751 * gdb.base/pie-fork.c: New file.
4752 * gdb.base/pie-fork.exp: New file.
4754 2018-04-11 Tom Tromey <tom@tromey.com>
4756 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4758 2018-04-10 Pedro Alves <palves@redhat.com>
4760 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4761 exits. Instead loop running forever.
4762 (fork_parent): Run forever too.
4764 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4766 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4767 mi_continue_to_line.
4768 * gdb.mi/mi-stack.c (callee4): Add comment.
4770 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4772 * gdb.mi/mi-stack.exp: Fix indentation.
4774 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4777 * gdb.arch/amd64-osabi.exp: New file.
4779 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4782 * gdb.base/osabi.exp: New file.
4784 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4786 * gdb.cp/static-typedef-print.exp: New file.
4787 * gdb.cp/static-typedef-print.cc: New file.
4789 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4791 * gdb.ada/varsize_limit: New testcase.
4793 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4795 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4797 * gdb.ada/notcplusplus: New testcase.
4799 * gdb.base/c-linkage-name.c: New file.
4800 * gdb.base/c-linkage-name.exp: New testcase.
4802 2018-03-26 Tom Tromey <tom@tromey.com>
4804 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4805 * gdb.python/py-framefilter.py (name_error): New global.
4806 (ErrorInName.function): Use name_error.
4808 2018-03-26 Tom Tromey <tom@tromey.com>
4811 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4813 2018-03-23 Keith Seitz <keiths@redhat.com>
4816 * gdb.cp/subtypes.exp: New file.
4817 * gdb.cp/subtypes.h: New file.
4818 * gdb.cp/subtypes.cc: New file.
4819 * gdb.cp/subtypes-2.cc: New file.
4821 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4823 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4824 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4825 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4826 -nostartfiles when compiling the test. Confirm that all registers
4827 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4829 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4831 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4832 option, syntax was wrong anyway.
4833 * gdb.arch/arm-disp-step.exp: Likewise.
4834 * gdb.arch/sparc64-regs.exp: Likewise.
4835 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4836 option, syntax was wrong anyway, switch to use
4837 prepare_for_testing.
4838 * gdb.arch/i386-disp-step.exp: Likewise.
4840 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4842 * gdb.ada/exec_changed.exp: Replace "target_info exists
4843 use_gdb_stub" by "use_gdb_stub".
4844 * gdb.ada/start.exp: Likewise.
4845 * gdb.base/async-shell.exp: Likewise.
4846 * gdb.base/attach-pie-misread.exp: Likewise.
4847 * gdb.base/attach-wait-input.exp: Likewise.
4848 * gdb.base/break-entry.exp: Likewise.
4849 * gdb.base/break-interp.exp: Likewise.
4850 * gdb.base/dprintf-detach.exp: Likewise.
4851 * gdb.base/nostdlib.exp: Likewise.
4852 * gdb.base/solib-nodir.exp: Likewise.
4853 * gdb.base/statistics.exp: Likewise.
4854 * gdb.base/testenv.exp: Likewise.
4855 * gdb.mi/mi-exec-run.exp: Likewise.
4856 * gdb.mi/mi-start.exp: Likewise.
4857 * gdb.multi/dummy-frame-restore.exp: Likewise.
4858 * gdb.multi/multi-arch-exec.exp: Likewise.
4859 * gdb.multi/multi-arch.exp: Likewise.
4860 * gdb.multi/tids.exp: Likewise.
4861 * gdb.multi/watchpoint-multi.exp: Likewise.
4862 * gdb.python/py-events.exp: Likewise.
4863 * gdb.threads/attach-into-signal.exp: Likewise.
4864 * gdb.threads/attach-stopped.exp: Likewise.
4865 * gdb.threads/threadapply.exp: Likewise.
4866 * lib/selftest-support.exp: Likewise.
4868 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4870 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4872 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4874 * gdb.perf/template-breakpoints.cc: New file.
4875 * gdb.perf/template-breakpoints.exp: New file.
4876 * gdb.perf/template-breakpoints.py: New file.
4878 2018-03-19 Tom Tromey <tom@tromey.com>
4880 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4882 * gdb.rust/simple.exp: Test bare identifier form of struct
4885 2018-03-19 Tom Tromey <tom@tromey.com>
4887 * gdb.gdb/observer.exp: Remove.
4889 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4891 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4892 "qualified" option when setting breakpoints.
4893 * gdb.trace/backtrace.exp: Likewise.
4894 * gdb.trace/circ.exp: Likewise.
4895 * gdb.trace/collection.exp: Likewise.
4896 * gdb.trace/disconnected-tracing.exp: Likewise.
4897 * gdb.trace/ftrace-lock.exp: Likewise.
4898 * gdb.trace/ftrace.exp: Likewise.
4899 * gdb.trace/infotrace.exp: Likewise.
4900 * gdb.trace/packetlen.exp: Likewise.
4901 * gdb.trace/passc-dyn.exp: Likewise.
4902 * gdb.trace/qtro.exp: Likewise.
4903 * gdb.trace/read-memory.exp: Likewise.
4904 * gdb.trace/report.exp: Likewise.
4905 * gdb.trace/signal.exp: Likewise.
4906 * gdb.trace/status-stop.exp: Likewise.
4907 * gdb.trace/strace.exp: Likewise.
4908 * gdb.trace/tfind.exp: Likewise.
4909 * gdb.trace/trace-break.exp: Likewise.
4910 * gdb.trace/trace-condition.exp: Likewise.
4911 * gdb.trace/trace-mt.exp: Likewise.
4912 * gdb.trace/tstatus.exp: Likewise.
4913 * gdb.trace/tsv.exp: Likewise.
4914 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4915 * gdb.trace/unavailable.exp: Likewise.
4916 * gdb.trace/while-dyn.exp: Likewise.
4918 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4920 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4921 that libinproctrace is copied to the target.
4923 2018-03-14 Tom Tromey <tom@tromey.com>
4926 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4928 * gdb.base/wchar.exp: Likewise.
4930 2018-03-14 Tom Tromey <tom@tromey.com>
4933 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4936 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4939 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4940 "target" to remote_exec.
4942 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4945 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4946 ${board}_upload): Remove.
4948 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4950 * gdb.cp/watch-cp.cc: New test.
4951 * gdb.cp/watch-cp.exp: New file.
4953 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4955 * gdb.base/infcall-nested-structs.exp: New file.
4956 * gdb.base/infcall-nested-structs.c: New file.
4957 * gdb.base/float.exp: Add riscv support.
4959 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4961 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4962 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4964 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4966 * gdb.server/abspath.exp: New file.
4967 * lib/gdb.exp (with_cwd): New procedure.
4969 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4971 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4973 (gdb_is_target_remote_prompt): New proc.
4974 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4975 (gdb_is_target_native): Pass prompt parameter to
4978 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4980 * gdb.base/load-command.c: New file.
4981 * gdb.base/load-command.exp: New file.
4982 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4983 (gdb_is_target_1): ...this, and generalize for other targets
4985 (gdb_is_target_remote): Use gdb_is_target_1.
4986 (gdb_is_target_native): use gdb_is_target_1.
4988 2018-02-26 Tom Tromey <tom@tromey.com>
4991 * gdb.python/py-framefilter.exp: Update test.
4993 2018-02-26 Tom Tromey <tom@tromey.com>
4995 * gdb.dwarf2/variant.c: New file.
4996 * gdb.dwarf2/variant.exp: New file.
4998 2018-02-26 Tom Tromey <tom@tromey.com>
5000 * gdb.rust/simple.exp: Accept more possible results in enum test.
5002 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5004 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5007 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5009 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5010 name of a variable: $actual_linejj -> $actual_line.
5012 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5014 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5016 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5018 * gdb.btrace/buffer-size.exp: Do not force BTS.
5020 2018-02-14 Pedro Alves <palves@redhat.com>
5022 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5025 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5027 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5030 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5032 * gdb.cp/m-static.exp: Check type of optimized out static
5035 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5037 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5038 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5040 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5041 Leszek Swirski <leszeks@google.com>
5043 * gdb.python/py-prettyprint.c
5044 (struct to_string_returns_value_inner,
5045 struct to_string_returns_value_wrapper): New.
5046 (main): Add tsrvw variable.
5047 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5048 ToStringReturnsValueWrapper): New classes.
5049 (register_pretty_printers): Register new pretty-printers.
5050 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5051 recursive pretty printer.
5052 * gdb.python/py-mi.exp: Likewise.
5054 2018-02-01 Leszek Swirski <leszeks@google.com>
5056 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5057 functions with the same name as an include file are parsed
5060 2018-02-01 Yao Qi <yao.qi@linaro.org>
5062 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5065 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5067 * gdb.arch/powerpc-prologue-frame.s: New file.
5068 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5069 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5071 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5073 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5075 2018-01-30 Pedro Alves <palves@redhat.com>
5078 * gdb.base/interrupt-daemon.c: New.
5079 * gdb.base/interrupt-daemon.exp: New.
5080 * gdb.multi/multi-term-settings.c: New.
5081 * gdb.multi/multi-term-settings.exp: New.
5083 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5085 * gdb.base/break.exp: Save the location where the breakpoint
5086 on break.c:47 was actually inserted when debugging the version
5087 compiled at -O2 and use it in the expected output of the "info
5088 break" test performed soon after.
5090 2018-01-22 Pedro Alves <palves@redhat.com>
5091 Sergio Durigan Junior <sergiodj@redhat.com>
5093 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5094 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5096 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5098 * gdb.base/break-include.c, gdb.base/break-include.inc,
5099 gdb.base/break-include.exp: New files.
5100 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5101 line number now being the actual line number where the breakpoint
5103 * gdb.mi/mi-break.exp: Likewise.
5104 * gdb.mi/mi-reverse.exp: Likewise.
5105 * gdb.mi/mi-simplerun.exp: Ditto.
5107 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5109 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5111 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5113 2018-01-21 Don Breazeal <donb@codesourcery.com>
5114 Andrew Burgess <andrew.burgess@embecosm.com>
5116 * gdb.mi/basics.c: Add new global.
5117 * gdb.mi/mi-frame-regs.exp: New file.
5118 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5121 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5123 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5124 non-parameter, and on an unknown symbol.
5126 2018-01-19 Tom Tromey <tom@tromey.com>
5128 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5129 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5131 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5133 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5134 setrlimit and chdir to int.
5136 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5138 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5140 (my_tend): Likewise.
5141 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5142 rationale of avoiding FP- and vector instructions.
5144 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5146 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5147 "info reg" with "\[ \t\]*".
5148 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5150 * gdb.arch/s390-multiarch.exp: Ditto.
5151 * gdb.base/pc-fp.exp: Ditto.
5152 * gdb.reverse/i386-precsave.exp: Ditto.
5153 * gdb.reverse/i386-reverse.exp: Ditto.
5154 * gdb.reverse/i387-env-reverse.exp: Ditto.
5155 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5157 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5159 * lib/gdb.exp (gdb_compile): Re-enable use of
5160 universal_compile_options for languages other than Rust.
5162 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5164 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5166 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5169 * gdb.base/solib-vanish.exp: New.
5170 * gdb.base/solib-vanish-main.c: New.
5171 * gdb.base/solib-vanish-lib1.c: New.
5172 * gdb.base/solib-vanish-lib2.c: New.
5174 2018-01-17 Yao Qi <yao.qi@linaro.org>
5176 * gdb.compile/compile.exp: Match the address printed for
5177 frame in the output of command "bt".
5179 2018-01-15 Tom Tromey <tom@tromey.com>
5181 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5184 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5186 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5188 (prepare): Return 0 on error, 1 on success.
5190 2018-01-12 Pedro Alves <palves@redhat.com>
5192 * gdb.base/continue-after-aborted-step-over.c: New.
5193 * gdb.base/continue-after-aborted-step-over.exp: New.
5195 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5197 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5198 options when not creating an executable.
5200 2018-01-11 Pedro Alves <palves@redhat.com>
5203 * gdb.server/stop-reply-no-thread.c: New file.
5204 * gdb.server/stop-reply-no-thread.exp: New file.
5206 2018-01-10 Pedro Alves <palves@redhat.com>
5209 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5210 functions too. Test setting breakpoints and printing C functions
5211 with no debug info too.
5212 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5214 2018-01-10 Pedro Alves <palves@redhat.com>
5217 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5220 2018-01-10 Pedro Alves <palves@redhat.com>
5223 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5225 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5227 * gdb.server/unittest.exp: Match the output in non-development
5230 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5232 * gdb.gdb/unittest.exp: Match output in non-development mode.
5234 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5236 * gdb.ada/access_tagged_param.exp: Relax expected output
5237 for value of "ObjL" in "continue" to pck.inspect breakpoint
5240 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5242 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5243 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5245 2018-01-05 Pedro Alves <palves@redhat.com>
5248 * gdb.base/libsegfault.exp: New.
5250 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5253 * gdb.ada/access_tagged_param.exp: New file.
5254 * gdb.ada/access_tagged_param/foo.adb: New file.
5256 2018-01-05 Pedro Alves <palves@redhat.com>
5259 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5260 exercise lower case too, and to exercise both full matching and
5263 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5265 * gdb.ada/rename_subscript_param: New testcase.
5267 2018-01-05 Jerome Guitton <guitton@adacore.com>
5269 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5271 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5273 * gdb.ada/convvar_comp: New testcase.
5275 2018-01-05 Xavier Roirand <roirand@adacore.com>
5277 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5278 (My_Table): New global variable.
5279 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5281 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5284 * gdb.ada/maint_with_ada: New testcase.
5286 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5289 * gdb.ada/bp_c_mixed_case: New testcase.
5291 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5294 * gdb.ada/complete.exp: Add "complete break ada" test.
5296 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5299 * gdb.ada/info_addr_mixed_case: New testcase.
5301 2018-01-03 Xavier Roirand <roirand@adacore.com>
5303 * gdb.ada/excep_handle.exp: New testcase.
5304 * gdb.ada/excep_handle/foo.adb: New file.
5305 * gdb.ada/excep_handle/pck.ads: New file.
5307 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5309 * gdb.base/step-line.c: Add extra empty line in copyright header.
5310 * gdb.base/step-line.inp: Likewise.
5312 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5314 * gdb.ada/dyn_stride.exp: Add slice test.
5316 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5318 * gdb.ada/dyn_stride: New testcase.
5320 2017-12-27 Stafford Horne <shorne@gmail.com>
5322 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5323 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5325 2017-12-27 Stafford Horne <shorne@gmail.com>
5327 * gdb.base/reggroups.c: New file.
5328 * gdb.base/reggroups.exp: New file.
5330 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5332 * gdb.dwarf2/ada-valprint-error.c: New file.
5333 * gdb.dwarf2/ada-valprint-error.exp: New file.
5335 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5337 * gdb.ada/assign_arr: New testcase.
5339 2017-12-18 Xavier Roirand <roirand@adacore.com>
5341 * gdb.ada/funcall_ptr: New testcase.
5343 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5346 * gdb.base/ptype-offsets.cc: New file.
5347 * gdb.base/ptype-offsets.exp: New file.
5349 2017-12-15 Yao Qi <yao.qi@linaro.org>
5351 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5354 2017-12-15 Xavier Roirand <roirand@adacore.com>
5356 * gdb.ada/same_component_name: New testcase.
5358 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5360 * gdb.ada/str_binop_equal: New testcase.
5362 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5364 * gdb.ada/task_switch_in_core: New testcase.
5366 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5368 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5369 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5370 call test_bkpt_qualified.
5371 (test_bkpt_qualified): New proc.
5373 2017-12-13 Pedro Alves <palves@redhat.com>
5375 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5376 Tighten regexp by matching with an anchor.
5378 2017-12-13 Pedro Alves <palves@redhat.com>
5380 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5381 ("expression with namespace"): New set of tests.
5382 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5383 (Nested::Test_NS::qux): New.
5384 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5385 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5387 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5389 * gdb.base/server-del-break.c: New file.
5390 * gdb.base/server-del-break.exp: New file.
5392 2017-12-12 Stafford Horne <shorne@gmail.com>
5394 * gdb.xml/tdesc-regs.exp: Add or1k support.
5396 2017-12-12 Stafford Horne <shorne@gmail.com>
5398 * gdb.base/bp-permanent.c: Define nop of or1k.
5400 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5402 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5403 output with components being reordered.
5405 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5407 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5408 output with components being reordered.
5410 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5411 Pedro Alves <palves@redhat.com>
5413 * gdb.base/maint.exp (check for .gdb_index): Check also for
5415 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5416 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5417 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5418 (.gdb_index used after symbol reloading): Support also .debug_names.
5419 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5421 2017-12-08 Yao Qi <yao.qi@linaro.org>
5423 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5424 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5426 2017-12-08 Yao Qi <yao.qi@linaro.org>
5428 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5429 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5431 2017-12-08 Yao Qi <yao.qi@linaro.org>
5433 * gdb.arch/aarch64-tagged-pointer.c: New file.
5434 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5436 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5438 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5441 2017-12-07 Keith Seitz <keiths@redhat.com>
5443 PR breakpoints/22569
5444 * gdb.linespec/ls-errs.exp: Change expected result of "break
5445 -source this file has spaces.c -line 3".
5446 Check that an explicit source file followed by whitespace is
5447 identified as an invalid explicit location.
5449 2017-12-07 Keith Seitz <keiths@redhat.com>
5451 * gdb.cp/nested-types.cc: New file.
5452 * gdb.cp/nested-types.exp: New file.
5453 * lib/cp-support.exp: Load data-structures.exp library.
5454 (debug_cp_test_ptype_class): New global.
5455 (cp_ptype_class_verbose, next_line): New procedures.
5456 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5457 Add and document new return value.
5458 Switch the list of lines to a queue.
5459 Add support for new `type' key for nested type definitions.
5460 Add debugging/troubleshooting messages.
5461 * lib/data-structures.exp: New file.
5463 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5465 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5466 with proc_with_prefix, don't use with_test_prefix.
5468 2017-12-07 Tom Tromey <tom@tromey.com>
5470 * gdb.base/break.exp: Add test for empty "commands".
5472 2017-12-07 Yao Qi <yao.qi@linaro.org>
5474 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5475 malloc and catch syscall.
5477 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5479 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5480 tests for explicit locations.
5482 2017-12-06 Pedro Alves <palves@redhat.com>
5484 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5485 force-disabling XML descriptions.
5487 2017-12-04 Pedro Alves <palves@redhat.com>
5490 * gdb.arch/amd64-disp-step-avx.S: New file.
5491 * gdb.arch/amd64-disp-step-avx.exp: New file.
5493 2017-12-03 Pedro Alves <palves@redhat.com>
5495 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5497 (parent_function): Print distinct messages when waitpid fails, or
5498 the child exits with a signal, or the child exits for an unhandled
5500 * gdb.threads/process-dies-while-detaching.exp
5501 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5502 it. Wait for both inferior output and GDB's prompt. Use an
5503 indirect spawn id list.
5504 (do_detach): New parameter 'child_exit'. Use it to compute
5505 expected inferior output.
5506 (test_detach, test_detach_watch, test_detach_killed_outside):
5507 Adjust to pass down the expected child exit kind.
5509 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5510 Sergio Durigan Junior <sergiodj@redhat.com>
5511 Pedro Alves <palves@redhat.com>
5513 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5515 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5517 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5518 to 'symbol-file' and 'add-symbol-file' can be
5519 position-independent.
5521 2017-12-01 Yao Qi <yao.qi@linaro.org>
5523 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5524 the URL in copyright header.
5525 * gdb.arch/aarch64-fp.exp: Likewise.
5526 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5527 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5528 * gdb.base/expand-psymtabs.exp: Likewise.
5529 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5530 * gdb.fortran/common-block.exp: Likewise.
5531 * gdb.fortran/common-block.f90: Likewise.
5532 * gdb.fortran/logical.exp: Likewise.
5533 * gdb.fortran/vla-datatypes.f90: Likewise.
5534 * gdb.fortran/vla-sub.f90: Likewise.
5536 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5538 * gdb.ada/repeat_dyn: New testcase.
5540 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5542 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5543 Update for changed thread numbering.
5544 * gdb.cell/bt.exp: Update for changed GDB output.
5546 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5548 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5549 setting isremote by hand.
5550 * boards/dwarf4-gdb-index.exp: Likewise.
5551 * boards/fission.exp: Likewise.
5552 * boards/stabs.exp: Likewise.
5554 2017-11-30 Pedro Alves <palves@redhat.com>
5556 * gdb.linespec/cpls-ops.exp
5557 (check_explicit_skips_function_argument): Extract the underlying
5558 type of size_t instead of hardcoding it.
5560 2017-11-29 Pedro Alves <palves@redhat.com>
5563 * gdb.linespec/cpls-abi-tag.cc: New file.
5564 * gdb.linespec/cpls-abi-tag.exp: New file.
5566 2017-11-29 Pedro Alves <palves@redhat.com>
5568 * gdb.base/langs.exp: Use -qualified.
5569 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5571 * gdb.cp/namespace.exp: Use -qualified.
5572 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5573 (overload-3, template-overload, template-ret-type, const-overload)
5574 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5576 (test_driver): Call them.
5577 * gdb.cp/save-bp-qualified.cc: New.
5578 * gdb.cp/save-bp-qualified.exp: New.
5579 * gdb.linespec/explicit.exp: Test -qualified.
5580 * lib/completion-support.exp (completion::explicit_opts_list): Add
5582 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5584 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5586 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5588 2017-11-29 Tom Tromey <tom@tromey.com>
5590 * gdb.base/relocate.exp: Update invalid argument test.
5591 Add new tests for invalid arguments.
5593 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5595 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5597 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5599 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5601 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5602 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5603 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5605 * gdb.cp/shadow.cc (B.func): Return 0.
5607 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5609 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5610 expected output in gdb_expect call to allow the exception
5611 message to be present as well. Fix syntax confusion to avoid
5612 TCL thinking that exception_name is an array.
5614 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5616 * gdb.arch/spu-info.c: Include <unistd.h>.
5617 (do_signal_test): Fix broken calls to write.
5618 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5619 Fix checks for empty mailboxes. Update signal tests for corrected
5620 do_signal_test routine. Allow nonzero event status.
5621 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5622 * gdb.cell/arch.exp: Use standard_output_file.
5623 * gdb.cell/break.exp: Likewise.
5624 * gdb.cell/bt.exp: Likewise.
5625 * gdb.cell/core.exp: Likewise.
5626 * gdb.cell/dwarfaddr.exp: Likewise.
5627 * gdb.cell/ea-cache.exp: Likewise.
5628 * gdb.cell/ea-standalone.exp: Likewise.
5629 * gdb.cell/f-regs.exp: Likewise.
5630 * gdb.cell/fork.exp: Likewise.
5631 * gdb.cell/gcore.exp: Likewise.
5632 * gdb.cell/mem-access.exp: Likewise.
5633 * gdb.cell/ptype.exp: Likewise.
5634 * gdb.cell/registers.exp: Likewise.
5635 * gdb.cell/sizeof.exp: Likewise.
5636 * gdb.cell/solib-symbol.exp: Likewise.
5637 * gdb.cell/solib.exp: Likewise.
5639 2017-11-25 Pedro Alves <palves@redhat.com>
5641 * gdb.base/complete-empty.exp: New file.
5642 * gdb.base/completion.exp: Adjust.
5644 2017-11-25 Pedro Alves <palves@redhat.com>
5646 * gdb.linespec/cpls-ops.cc: New file.
5647 * gdb.linespec/cpls-ops.exp: New file.
5648 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5649 factored out from ...
5650 (test_complete_prefix_range): ... this.
5652 2017-11-24 Pedro Alves <palves@redhat.com>
5654 * gdb.linespec/cpcompletion.exp: New file.
5655 * gdb.linespec/cpls-hyphen.cc: New file.
5656 * gdb.linespec/cpls.cc: New file.
5657 * gdb.linespec/cpls2.cc: New file.
5658 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5659 test to use test_gdb_complete_unique. Add label completion,
5660 keyword completion and explicit location completion tests.
5661 * lib/completion-support.exp: New file.
5663 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5665 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5666 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5667 when hitting an exception catchpoint.
5669 2017-11-22 Yao Qi <yao.qi@linaro.org>
5671 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5673 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5675 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5676 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5677 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5679 2017-11-22 Yao Qi <yao.qi@linaro.org>
5681 * gdb.base/info-os.exp: Pass pthreads.
5682 * gdb.multi/multi-attach.exp: Likewise.
5684 2017-11-22 Yao Qi <yao.qi@linaro.org>
5686 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5689 2017-11-22 Yao Qi <yao.qi@linaro.org>
5691 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5692 * gdb.base/break-interp.exp: Likewise.
5693 * gdb.base/jit-attach-pie.exp: Likewise.
5695 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5697 * gdb.base/float128.c (large128): New variable.
5698 * gdb.base/float128.exp: Add test to print largest __float128 value.
5700 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5702 * gdb.arch/vsx-regs.exp: Update register content checks.
5704 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5706 * gdb.arch/ppc-longdouble.exp: New file.
5707 * gdb.arch/ppc-longdouble.c: Likewise.
5709 2017-11-21 Pedro Alves <palves@redhat.com>
5711 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5713 2017-11-20 Pedro Alves <palves@redhat.com>
5715 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5716 (long_double_typedef): New typedefs.
5717 Use DEF on double and long double.
5718 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5720 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5721 and 'long_double_ptr_same_size' locals. Use them to decide
5722 whether cast from array/function to float is valid/invalid.
5724 2017-11-17 Tom Tromey <tom@tromey.com>
5726 * gdb.rust/traits.rs: New file.
5727 * gdb.rust/traits.exp: New file.
5729 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5731 * gdb.ada/minsyms: New testcase.
5733 2017-11-16 Pedro Alves <palves@redhat.com>
5735 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5736 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5738 2017-11-16 Pedro Alves <palves@redhat.com>
5740 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5741 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5743 2017-11-16 Pedro Alves <palves@redhat.com>
5745 * gdb.server/reconnect-ctrl-c.c: New file.
5746 * gdb.server/reconnect-ctrl-c.exp: New file.
5748 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5750 * gdb.python/py-rbreak.exp: New file.
5751 * gdb.python/py-rbreak.c: New file.
5752 * gdb.python/py-rbreak-func2.c: New file.
5754 2017-11-16 Pedro Alves <palves@redhat.com>
5756 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5758 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5761 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5763 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5766 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5768 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5771 2017-11-09 Pedro Alves <palves@redhat.com>
5773 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5774 factored out from ...
5775 (top level): ... here, and adjusted to avoid expecting beyond the
5776 prompt in a single gdb_test_multiple.
5778 2017-11-09 Pedro Alves <palves@redhat.com>
5780 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5782 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5783 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5784 * gdb.server/ext-run.exp ("kill" test): Likewise.
5785 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5787 2017-11-09 Pedro Alves <palves@redhat.com>
5789 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5790 match till end of line.
5792 2017-11-09 Pedro Alves <palves@redhat.com>
5794 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5796 2017-11-09 Pedro Alves <palves@redhat.com>
5798 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5799 New procedures, factored out from ...
5800 (top level): ... here, and adjusted to avoid expecting beyond the
5803 2017-11-09 Pedro Alves <palves@redhat.com>
5805 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5806 output. Fix '?' match.
5808 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5810 * gdb.ada/scoped_watch: New testcase.
5811 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5812 which is actually correct.
5813 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5814 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5816 2017-11-08 Pedro Alves <palves@redhat.com>
5818 * gdb.gdb/complaints.exp (test_initial_complaints)
5819 (test_serial_complaints, test_short_complaints): Call
5820 complaint_internal instead of complaint.
5822 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5824 * gdb.threads/tls-core.c: New file.
5825 * gdb.threads/tls-core.exp: Likewise.
5827 2017-11-08 Pedro Alves <palves@redhat.com>
5829 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5830 (p Exported_Capitalized): New test.
5831 (p exported_capitalized): New test.
5833 2017-11-07 Pedro Alves <palves@redhat.com>
5835 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5837 2017-11-07 Pedro Alves <palves@redhat.com>
5839 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5840 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5841 (disable_invalid, disable_inverted, disable_negative): New
5843 ("bad numbers"): New set of tests.
5845 2017-11-07 Pedro Alves <palves@redhat.com>
5847 * gdb.cp/ena-dis-br-range.exp: Add tests.
5849 2017-11-07 Pedro Alves <palves@redhat.com>
5851 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5853 2017-11-07 Xavier Roirand <roirand@adacore.com>
5854 Pedro Alves <palves@redhat.com>
5856 * gdb.base/ena-dis-br.exp: Add reference to
5857 gdb.cp/ena-dis-br-range.exp.
5858 * gdb.cp/ena-dis-br-range.exp: New file.
5859 * gdb.cp/ena-dis-br-range.cc: New file.
5861 2017-11-06 Pedro Alves <palves@redhat.com>
5863 * gdb.base/attach-non-pgrp-leader.c: New.
5864 * gdb.base/attach-non-pgrp-leader.exp: New.
5866 2017-11-06 Pedro Alves <palves@redhat.com>
5868 * configure.ac: No longer check for termio.h and sgtty.h.
5869 * configure: Regenerate.
5870 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5871 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5872 Remove termio and sgtty code.
5874 2017-11-03 Yao Qi <yao.qi@linaro.org>
5876 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5879 2017-11-03 Yao Qi <yao.qi@linaro.org>
5881 * gdb.python/py-thrhandle.exp: Skip it if python is not
5884 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5886 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5887 as a breakpoint command.
5889 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5892 * gdb.python/py-infthread.exp: Test calling
5893 InferiorThread.inferior () multiple times in a row.
5895 2017-10-27 Keith Seitz <keiths@redhat.com>
5897 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5898 Test "info break" for every inlined function breakpoint.
5900 2017-10-27 Yao Qi <yao.qi@linaro.org>
5902 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5904 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5906 * gdb.cp/classes.exp (test_static_members): Test printing
5908 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5909 (Inner::instance, Outer::instance): New.
5911 2017-10-24 Pedro Alves <palves@redhat.com>
5913 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5914 extra console" test in two stages.
5916 2017-10-24 Pedro Alves <palves@redhat.com>
5918 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5920 2017-10-24 Pedro Alves <palves@redhat.com>
5922 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5925 2017-10-24 Pedro Alves <palves@redhat.com>
5927 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5928 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5930 2017-10-24 Pedro Alves <palves@redhat.com>
5932 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5933 parameter and handle it. Don't output read value in test name.
5935 2017-10-24 Pedro Alves <palves@redhat.com>
5937 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5940 2017-10-24 Pedro Alves <palves@redhat.com>
5942 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5943 include the unstable output directory name in the test's name.
5944 (initial_setup_simple) <'set args'>: Use custom test name.
5946 2017-10-24 Pedro Alves <palves@redhat.com>
5948 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5949 with explicit test name.
5951 2017-10-20 Pedro Alves <palves@redhat.com>
5953 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5954 'wait -i'. Use gdb_assert and remote_close.
5956 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5958 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5959 number from variable rather than hard-coded.
5961 2017-10-19 Pedro Alves <palves@redhat.com>
5963 * gdb.base/long-inferior-output.c: New file.
5964 * gdb.base/long-inferior-output.exp: New file.
5966 2017-11-18 Keith Seitz <keiths@redhat.com>
5968 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5971 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5972 Add additional user-defined conversion operator tests.
5974 2017-10-17 Pedro Alves <palves@redhat.com>
5976 * boards/native-stdio-gdbserver.exp: Load "local-board".
5978 2017-10-17 Pedro Alves <palves@redhat.com>
5980 * gdb.base/quit-live.c: New file.
5981 * gdb.base/quit-live.exp: New file.
5983 2017-10-16 Keith Seitz <keiths@redhat.com>
5985 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5986 (class_with_protected_typedef, class_with_private_typedef)
5987 (struct_with_public_typedef, struct_with_protected_typedef)
5988 (struct_with_private_typedef): New classes/structs.
5989 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5990 typedefs and access specifiers.
5992 2017-10-16 Pedro Alves <palves@redhat.com>
5993 Simon Marchi <simon.marchi@polymtl.ca>
5995 * README (Local vs Remote vs Native): New section.
5996 * boards/local-board.exp: New file, with bits factored out from
5998 * boards/native-extended-gdbserver.exp: ... here. Load
6000 * boards/native-gdbserver.exp: Load "local-board".
6001 (${board}_spawn, ${board}_exec): Delete.
6002 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6004 * boards/stdio-gdbserver-base.exp: ... this new file.
6005 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6006 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6008 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6009 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6010 stdio_gdbserver_command.
6011 (${board}_get_remote_address, ${board}_get_comm_port)
6012 (${board}_download, ${board}_upload): Delete.
6013 (get_target_remote_pipe_cmd): New.
6015 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6017 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6018 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6019 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6020 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6021 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6022 remove with_test_prefix.
6024 2017-10-13 Pedro Alves <palves@redhat.com>
6026 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6027 * gdb.base/annota1.exp: Use it instead of is_remote.
6028 * gdb.base/annota3.exp: Use it instead of is_remote.
6029 * gdb.cp/annota2.exp: Use it instead of is_remote.
6030 * gdb.cp/annota3.exp: Use it instead of is_remote.
6031 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6033 2017-10-13 Pedro Alves <palves@redhat.com>
6035 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6036 (test_num_test_vars, run_and_count_vars, find_env)
6037 (test_set_unset_env, test_inherit_env_var): New procedures.
6038 (top level): Use them.
6040 2017-10-13 Pedro Alves <palves@redhat.com>
6042 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6043 also skip on stub-like targets.
6045 2017-10-13 Pedro Alves <palves@redhat.com>
6048 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6049 (top level): Move some tests to ...
6050 (test_not_found): ... this new procedure.
6051 (top level): Call it.
6053 2017-10-13 Pedro Alves <palves@redhat.com>
6055 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6056 expect different "info terminal" output if testing with a
6059 2017-10-13 Pedro Alves <palves@redhat.com>
6060 Simon Marchi <simon.marchi@polymtl.ca>
6063 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6065 2017-10-13 Pedro Alves <palves@redhat.com>
6067 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6070 2017-10-13 Pedro Alves <palves@redhat.com>
6072 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6075 2017-10-13 Pedro Alves <palves@redhat.com>
6077 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6080 2017-10-13 Pedro Alves <palves@redhat.com>
6082 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6084 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6085 instead of is_remote.
6087 2017-10-13 Pedro Alves <palves@redhat.com>
6089 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6090 (top level): Add comment.
6092 2017-10-13 Pedro Alves <palves@redhat.com>
6094 * gdb.base/remote.exp (top level): Fix comment typo and add
6097 2017-10-13 Pedro Alves <palves@redhat.com>
6098 Simon Marchi <simon.marchi@polymtl.ca>
6100 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6101 calls and add comments. Skip test if use_gdb_stub is set.
6102 (top level): Use "set cwd" command instead of "cd" command.
6104 2017-10-13 Pedro Alves <palves@redhat.com>
6106 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6107 is_remote target check.
6109 2017-10-13 Pedro Alves <palves@redhat.com>
6111 * gdb.base/scope.exp: Use build_executable + clean_restart +
6112 gdb_file_cmd instead of prepare_for_testing and no longer skip
6113 "before run" tests on is_remote target boards. Update comments.
6114 * boards/native-extended-gdbserver.exp
6115 (extended_gdbserver_load_last_file): New, factored out from ...
6116 (gdb_load): ... this. Move further below and add comment.
6117 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6119 2017-10-12 Pedro Alves <palves@redhat.com>
6121 * gdb.base/attach.exp: Remove references to gdb64.
6122 * gdb.base/dbx.exp: Remove references to gdb64.
6124 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6125 Pedro Alves <palves@redhat.com>
6127 * gdb.base/label.exp: Remove is_remote target check.
6129 2017-10-12 Pedro Alves <palves@redhat.com>
6131 * gdb.base/auvx.exp (coredir): Update comment.
6132 (top level) <core_works>: Use "set cwd" command instead of "cd"
6135 2017-10-12 Pedro Alves <palves@redhat.com>
6136 Simon Marchi <simon.marchi@polymtl.ca>
6138 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6141 2017-10-12 Pedro Alves <palves@redhat.com>
6142 Simon Marchi <simon.marchi@polymtl.ca>
6144 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6145 Instead skip if there's any gdb_protocol set.
6147 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6148 Pedro Alves <palves@redhat.com>
6150 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6152 2017-10-12 Pedro Alves <palves@redhat.com>
6153 Simon Marchi <simon.marchi@polymtl.ca>
6155 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6156 instead of on dejagnu remote boards.
6158 2017-10-12 Pedro Alves <palves@redhat.com>
6159 Simon Marchi <simon.marchi@polymtl.ca>
6161 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6162 checks. Use build_executable + clean_restart instead of
6163 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6164 of enabling non-stop after starting gdb.
6166 2017-10-12 Pedro Alves <palves@redhat.com>
6168 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6169 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6170 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6171 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6173 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6175 * gdb.arch/arc-tdesc-cpu.exp: New file.
6176 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6178 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6180 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6182 2017-10-10 Pedro Alves <palves@redhat.com>
6184 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6187 2017-10-10 Pedro Alves <palves@redhat.com>
6189 * lib/selftest-support.exp (selftest_setup): Update for
6190 captured_command_loop's prototype change.
6192 2017-10-09 Pedro Alves <palves@redhat.com>
6194 Test both arch1=>arch2 and arch2=>arch1.
6196 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6197 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6199 (append_arch1_options, append_arch2_options, append_arch_options)
6200 (build_executables): New procedures.
6201 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6203 (top level): Add new 'first_arch' testing axis.
6205 2017-10-09 Pedro Alves <palves@redhat.com>
6207 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6209 (thread_start, all_started): New functions.
6210 (main): Spawn new thread and wait until it is scheduled.
6211 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6213 (do_test): Add 'selected_thread' parameter. Run to all_started
6214 instead of main. Explicitly set the breakpoint at main. Switch
6215 to the SELECTED_THREAD thread.
6216 (top level): Test handling the exec event with either the main
6217 thread or the second thread selected.
6219 2017-10-09 Pedro Alves <palves@redhat.com>
6221 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6222 logic. Move STOP marker after the value checks.
6223 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6226 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6228 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6230 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6232 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6233 integer-to-dfp conversion.
6234 * gdb.base/dfp-test.exp: Likewise.
6236 2017-10-04 Pedro Alves <palves@redhat.com>
6238 * gdb.multi/hangout.c: Include <unistd.h>.
6239 (hangout_loop): New function.
6240 (main): Call alarm. Call hangout_loop in a loop.
6241 * gdb.multi/hello.c: Include <unistd.h>.
6242 (hello_loop): New function.
6243 (main): Call alarm. Call hangout_loop in a loop.
6244 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6245 inferior with the other selected.
6247 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6249 * gdb.mi/list-thread-groups-available.exp: New file.
6250 * gdb.mi/list-thread-groups-available.c: New file.
6252 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6254 * gdb.base/set-cwd.exp: Make it available on
6255 native-extended-gdbserver.
6257 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6259 * gdb.base/set-cwd.c: New file.
6260 * gdb.base/set-cwd.exp: Likewise.
6262 2017-10-02 Tom Tromey <tom@tromey.com>
6265 * gdb.rust/simple.rs (main): New variable "fslice".
6266 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6268 2017-10-02 Tom Tromey <tom@tromey.com>
6270 * gdb.rust/simple.exp: Test ptype of a slice.
6272 2017-10-02 Tom Tromey <tom@tromey.com>
6274 * gdb.rust/simple.exp: Test index of slice.
6276 2017-09-27 Tom Tromey <tom@tromey.com>
6278 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6280 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6281 Pedro Alves <palves@redhat.com>
6283 * gdb.base/compare-sections.exp (get value of read-only section): Read
6285 (corrupt read-only section): Likewise and don't set written if patching
6288 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6290 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6293 2017-09-20 Pedro Alves <palves@redhat.com>
6295 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6296 symbol names in gdb's output.
6297 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6299 2017-09-20 Pedro Alves <palves@redhat.com>
6301 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6303 (test_list_ambiguous_symbol): ... this and add a symbol name
6305 (test_list_ambiguous_function): Reimplement on top of
6306 test_list_ambiguous_symbol and also test listing ambiguous
6308 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6309 (ambiguous_fun): ... this.
6310 (ambiguous_var): New.
6311 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6312 (ambiguous_fun): ... this.
6313 (ambiguous_var): New.
6315 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6317 * gdb.base/starti.c: New file.
6318 * gdb.base/starti.exp: New file.
6319 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6321 2017-09-14 Pedro Alves <palves@redhat.com>
6323 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6324 (top level): Use it instead of runto.
6326 2017-09-11 Tom Tromey <tom@tromey.com>
6328 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6330 2017-09-11 Tom Tromey <tom@tromey.com>
6332 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6333 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6335 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6337 * gdb.fortran/printing-types.exp: New file.
6338 * gdb.fortran/printing-types.exp: New file.
6340 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6342 * gdb.fortran/vla-ptype.exp: Fix typos.
6343 * gdb.fortran/vla-value.exp: Same.
6345 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6347 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6348 * gdb.mi/mi-var-child-f.exp: Likewise.
6349 * gdb.mi/mi-vla-fortran.exp: Likewise.
6351 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6352 Christoph Weinmann <christoph.t.weinmann@intel.com>
6353 Bernhard Heckel <bernhard.heckel@intel.com>
6355 * gdb.fortran/ptr-indentation.f90: New file.
6356 * gdb.fortran/ptr-indentation.exp: New file.
6358 2017-09-05 Tom Tromey <tom@tromey.com>
6361 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6363 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6365 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6367 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6369 * gdb.threads/tls-nodebug-pie.c: New file.
6370 * gdb.threads/tls-nodebug-pie.exp: New file.
6372 2017-09-05 Tom Tromey <tom@tromey.com>
6374 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6377 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6379 * gdb.multi/multi-arch-exec.exp: Test with different
6380 "follow-exec-mode" settings.
6381 (do_test): New procedure.
6383 2017-09-04 Pedro Alves <palves@redhat.com>
6385 * gdb.base/func-static.c (S::method const, S::method volatile)
6386 (S::method volatile const): New methods.
6387 (c_s, v_s, cv_s): New instances.
6388 (main): Call method() on them.
6389 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6390 (cannot_resolve): New procedure.
6391 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6392 print-quote-unquoted columns.
6393 (do_test): Test printing each scope too.
6395 2017-09-04 Pedro Alves <palves@redhat.com>
6397 * gdb.base/local-static.exp: Also test with
6398 class::method::variable wholly quoted.
6399 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6401 2017-09-04 Pedro Alves <palves@redhat.com>
6403 * gdb.base/local-static.c: New.
6404 * gdb.base/local-static.cc: New.
6405 * gdb.base/local-static.exp: New.
6407 2017-09-04 Pedro Alves <palves@redhat.com>
6409 * gdb.asm/asm-source.exp: Add casts to int.
6410 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6411 (dataglobal64_1, dataglobal64_2): New globals.
6412 * gdb.base/nodebug.exp: Test different expressions involving the
6413 new globals, with print, whatis and ptype. Add casts to int.
6414 * gdb.base/solib-display.exp: Add casts to int.
6415 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6416 * gdb.cp/m-static.exp: Add cast to int.
6417 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6418 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6419 tls variable with no debug info without a cast. Test with a cast
6421 * gdb.trace/entry-values.exp: Add casts.
6423 2017-09-04 Pedro Alves <palves@redhat.com>
6425 * gdb.base/nodebug.exp: Test that ptype's error about functions
6426 with unknown return type includes the function name too.
6428 2017-09-04 Pedro Alves <palves@redhat.com>
6430 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6431 return type of munmap in infcall.
6432 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6433 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6434 type of ftell in infcall.
6435 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6436 type of getpid in infcall.
6437 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6439 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6440 Bail on failure to extract the pid.
6441 * gdb.base/nodebug.c: #include <stdint.h>.
6442 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6444 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6445 Change expected output of print/whatis/ptype with functions with
6446 no debug info. Test all supported languages. Call
6447 test_call_promotion.
6448 * gdb.compile/compile.exp: Adjust expected output to expect
6450 * gdb.threads/siginfo-threads.exp: Likewise.
6452 2017-09-04 Pedro Alves <palves@redhat.com>
6454 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6455 "prototypes". Test calling float functions via prototyped and
6456 unprototyped function pointers.
6457 (perform_all_tests): New parameter "prototypes". Pass it down.
6458 (top level): Pass down "prototypes" parameter to
6461 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6463 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6464 Test with nested loops.
6466 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6468 * gdb.base/commands.exp: Call the new procedures.
6469 (loop_break_test, loop_continue_test): New procedures.
6471 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6473 * gdb.base/commands.exp: Call new procedure.
6474 (define_if_without_arg_test): New procedure.
6476 2017-09-04 Pedro Alves <palves@redhat.com>
6478 * gdb.base/list-ambiguous.exp: New file.
6479 * gdb.base/list-ambiguous0.c: New file.
6480 * gdb.base/list-ambiguous1.c: New file.
6481 * gdb.base/list.exp (test_list_range): Adjust expected output.
6483 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6485 * gdb.base/share-env-with-gdbserver.c: New file.
6486 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6488 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6490 * gdb.base/commands.exp (gdbvar_simple_if_test,
6491 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6492 progvar_simple_if_test, progvar_simple_while_test,
6493 progvar_complex_if_while_test, user_defined_command_test,
6494 user_defined_command_args_eval,
6495 user_defined_command_args_stack_test,
6496 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6497 temporary_breakpoint_commands,
6498 gdb_test_no_prompt, redefine_hook_test,
6499 redefine_backtrace_test): Remove "global gdb_prompt".
6501 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6503 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6504 New proc, call it from toplevel.
6506 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6509 * gdb.server/normal.c: New file, copied from gdb.base.
6510 * gdb.server/run-without-local-binary.exp: New file.
6512 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6514 * gdb.arch/sparc64-adi.exp: New file.
6515 * gdb.arch/sparc64-adi.c: New file.
6517 2017-08-22 Pedro Alves <palves@redhat.com>
6519 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6520 (top level): Add "list all overloads" tests.
6522 2017-08-22 Tom Tromey <tom@tromey.com>
6524 * gdb.gdb/xfullpath.exp: Remove.
6526 2017-08-21 Pedro Alves <palves@redhat.com>
6529 * gdb.base/symbol-alias.c: New.
6530 * gdb.base/symbol-alias2.c: New.
6531 * gdb.base/symbol-alias.exp: New.
6533 2017-08-21 Pedro Alves <palves@redhat.com>
6535 * gdb.base/dfp-test.c
6536 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6537 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6538 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6539 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6540 * gdb.base/whatis-ptype-typedefs.c: New.
6541 * gdb.base/whatis-ptype-typedefs.exp: New.
6542 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6543 (an_int, an_int_type, an_int_type2): New globals.
6544 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6545 involving typedefs and cast expressions.
6546 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6547 (lookup_typedefs_function): New.
6548 (typedefs_pretty_printers_dict): New.
6549 (top level): Register lookup_typedefs_function in
6550 gdb.pretty_printers.
6552 2017-08-18 Yao Qi <yao.qi@linaro.org>
6554 * gdb.server/unittest.exp: New.
6556 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6559 * gdb.base/environ.exp: Add test to check if 'unset environment'
6562 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6564 * lib/gdb.exp (universal_compile_options): New caching proc.
6565 (gdb_compile): Suppress GCC's coloring of messages.
6567 2017-08-14 Tom Tromey <tom@tromey.com>
6570 * gdb.base/printcmds.exp (test_radices): New function.
6571 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6572 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6573 * lib/gdb.exp (get_integer_valueof): Use p/d.
6575 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6577 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6580 2017-08-05 Tom Tromey <tom@tromey.com>
6582 * gdb.rust/simple.exp: Allow String to appear in a different
6585 2017-07-26 Yao Qi <yao.qi@linaro.org>
6587 * gdb.gdb/unittest.exp: Invoke command
6588 "maintenance check xml-descriptions".
6590 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6592 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6594 (hex128): Drop erroneous calculation of parameters.
6596 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6598 * gdb.python/py-unwind.exp: Disable stack protection when
6601 2017-07-20 Pedro Alves <palves@redhat.com>
6603 * gdb.base/default.exp (set language): Adjust expected output.
6605 2017-07-20 Pedro Alves <palves@redhat.com>
6607 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6608 (test_minsym): ... this, and make static.
6609 (get_pck__foo__bar__minsym): Rename to ...
6610 (get_test_minsym): ... this.
6611 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6612 symbol names and comments.
6613 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6614 (get_test_minsym): ... this.
6615 (pck__foo__bar__minsym__2): Rename to ...
6616 (test_minsym): ... this.
6619 2017-07-17 Pedro Alves <palves@redhat.com>
6621 * gdb.base/completion.exp: Adjust expected output.
6622 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6623 the completer works.
6625 2017-07-17 Pedro Alves <palves@redhat.com>
6627 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6629 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6631 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6633 2017-07-14 Tom Tromey <tom@tromey.com>
6636 * gdb.rust/simple.exp: Add tests.
6638 2017-07-14 Tom Tromey <tom@tromey.com>
6640 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6642 2017-07-14 Pedro Alves <palves@redhat.com>
6644 * gdb.linespec/base/one/thefile.cc (z1): New function.
6645 * gdb.linespec/base/two/thefile.cc (z2): New function.
6646 * gdb.linespec/linespec.exp: Add tests.
6648 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6650 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6651 to mi_create_breakpoint.
6653 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6655 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6656 mi_create_breakpoint.
6658 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6660 * gdb.dlang/demangle.exp: Update for demangling changes.
6662 2017-07-09 Tom Tromey <tom@tromey.com>
6664 * gdb.dwarf2/shortpiece.exp: New file.
6666 2017-07-06 David Blaikie <dblaikie@gmail.com>
6668 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6669 built from fissiont-multi-cu{1,2}.c.
6670 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6671 except putting 'main' and 'func' in separate CUs in the same DWO file.
6672 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6674 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6677 2017-07-06 Pedro Alves <palves@redhat.com>
6679 * gdb.python/py-unwind.exp: Test flushregs.
6681 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6684 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6685 tests for alias commands and trailing whitespace.
6687 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6690 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6693 2017-06-29 Pedro Alves <palves@redhat.com>
6695 * gdb.base/printcmds.exp: Add tests.
6697 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6700 * gdb.base/reread-readsym.exp: New file.
6701 * gdb.base/reread-readsym.c: New file.
6703 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6705 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6708 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6710 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6712 * gdb.arch/powerpc-power9.s: Likewise.
6714 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6716 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6717 on 32-bit x86 targets. Exploit is_*_target macros where
6720 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6722 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6725 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6727 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6728 located in one or more DWARF pieces.
6730 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6732 * lib/gdb.exp (get_endianness): New proc.
6733 * gdb.arch/aarch64-fp.exp: Use it.
6734 * gdb.arch/altivec-regs.exp: Likewise.
6735 * gdb.arch/e500-regs.exp: Likewise.
6736 * gdb.arch/vsx-regs.exp: Likewise.
6737 * gdb.base/dump.exp: Likewise.
6738 * gdb.base/funcargs.exp: Likewise.
6739 * gdb.base/gnu_vector.exp: Likewise.
6740 * gdb.dwarf2/formdata16.exp: Likewise.
6741 * gdb.dwarf2/implptrpiece.exp: Likewise.
6742 * gdb.dwarf2/nonvar-access.exp: Likewise.
6743 * gdb.python/py-inferior.exp: Likewise.
6744 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6746 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6749 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6750 stack value pieces are taken from the LSB end.
6752 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6754 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6755 variable at nonzero offset.
6757 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6759 * gdb.dwarf2/var-access.c: New file.
6760 * gdb.dwarf2/var-access.exp: New test.
6761 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6763 2017-06-12 Tom Tromey <tom@tromey.com>
6765 * gdb.dwarf2/formdata16.exp: Add tests.
6767 2017-06-12 Tom Tromey <tom@tromey.com>
6769 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6771 2017-06-12 Tom Tromey <tom@tromey.com>
6774 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6775 * gdb.arch/vsx-regs.exp: Update tests.
6776 * gdb.arch/s390-vregs.exp (hex128): New proc.
6778 * gdb.arch/altivec-regs.exp: Update tests.
6780 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6782 * gdb.base/startup-with-shell.c: New file.
6783 * gdb.base/startup-with-shell.exp: Likewise.
6785 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6787 * gdb.server/non-existing-program.exp: Update regex in order to
6788 reflect the fact that gdbserver is now using fork_inferior (with a
6789 shell) to startup the inferior.
6791 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6793 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6794 support function calls from GDB.
6796 2017-05-21 Tom Tromey <tom@tromey.com>
6799 * gdb.rust/unsized.exp: New file.
6800 * gdb.rust/unsized.rs: New file.
6802 2017-05-19 Tom Tromey <tom@tromey.com>
6805 * gdb.rust/watch.exp: New file.
6806 * gdb.rust/watch.rs: New file.
6808 2017-05-18 Tom Tromey <tom@tromey.com>
6810 * gdb.rust/simple.exp: Allow Box to be qualified.
6812 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6814 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6816 2017-05-18 Pedro Alves <palves@redhat.com>
6818 * gdb.base/fileio.c (test_write, test_read, test_close)
6819 (test_fstat): Don't print 'ret' in the fail path.
6821 2017-05-18 Pedro Alves <palves@redhat.com>
6823 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6824 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6825 (test_system, test_rename, test_unlink, test_time): Change
6827 * gdb.base/fileio.exp (stop_msg): Adjust.
6829 2017-05-18 Pedro Alves <palves@redhat.com>
6831 * gdb.base/fileio.c (null_str): New global.
6832 (test_stat): Use it.
6833 * gdb.base/fileio.exp: Remove nowarnings.
6835 2017-05-17 Yao Qi <yao.qi@linaro.org>
6837 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6839 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6841 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6843 (top-level): Invoke test_set_inferior_tty.
6845 2017-05-04 Pedro Alves <palves@redhat.com>
6847 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6848 Add parens to print call for Python 3.
6850 2017-05-03 Keith Seitz <keiths@redhat.com>
6852 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6855 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6857 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6860 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6862 * gdb.python/py-record-btrace.exp: Remove test for
6863 gdb.BtraceInstruction.error.
6865 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6867 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6869 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6871 * gdb.python/py-record-btrace-threads.c: New file.
6872 * gdb.python/py-record-btrace-threads.exp: New file.
6874 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6877 * gdb.base/environ.exp: Make test available in all architectures.
6878 Move bits related to "info program" testing to
6879 gdb.base/info-program.exp. Rewrite tests to use the two new
6880 procedures mentione below.
6881 (test_set_show_env_var) New procedure.
6882 (test_set_show_env_var_equal): Likewise.
6883 * gdb.base/info-program.exp: New file.
6885 2017-04-27 Keith Seitz <keiths@redhat.com>
6887 * gdb.cp/oranking.cc (test15): New function.
6888 (main): Call test15 and declare additional variables for testing.
6889 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6890 "p foo101('abc')" tests.
6891 Add tests for cv qualifier overloads.
6892 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6893 "lvalue reference overload" test.
6894 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6895 "print value of f1 on Child&& in f2" test.
6897 2017-04-19 Pedro Alves <palves@redhat.com>
6899 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6901 (top level): Call it.
6902 * lib/gdb.exp (gdb_define_cmd): New procedure.
6904 2017-04-12 Pedro Alves <palves@redhat.com>
6907 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6908 (wchar): New global.
6909 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6910 (do_test_wide_char, wide_char_types_no_program, top level): Add
6913 2017-04-12 Pedro Alves <palves@redhat.com>
6916 * gdb.cp/wide_char_types.c: New file.
6917 * gdb.cp/wide_char_types.exp: New file.
6919 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6922 * gdb.trace/tsv.exp: Add test for "tsave -r".
6924 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6926 * gdb.dlang/watch-loc.c: New file.
6927 * gdb.dlang/watch-loc.exp: New file.
6929 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6931 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6933 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6935 * gdb.arch/arc-analyze-prologue.S: New file.
6936 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6938 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6940 * gdb.arch/arc-decode-insn.S: New file.
6941 * gdb.arch/arc-decode-insn.exp: Likewise.
6943 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6946 * gdb.arch/sparc64-regs.exp: New file.
6947 * gdb.arch/sparc64-regs.S: Likewise.
6949 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6951 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6952 and memory view on Python 3.
6954 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6955 Keith Seitz <keiths@redhat.com>
6958 * gdb.cp/demangle.exp: Add rvalue reference tests.
6959 * gdb.cp/rvalue-ref-casts.cc: New file.
6960 * gdb.cp/rvalue-ref-casts.exp: New file.
6961 * gdb.cp/rvalue-ref-overload.cc: New file.
6962 * gdb.cp/rvalue-ref-overload.exp: New file.
6963 * gdb.cp/rvalue-ref-params.cc: New file.
6964 * gdb.cp/rvalue-ref-params.exp: New file.
6965 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6966 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6967 * gdb.cp/rvalue-ref-types.cc: New file.
6968 * gdb.cp/rvalue-ref-types.exp: New file.
6969 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6970 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6972 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6974 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6977 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6979 * lib/mi-support.exp (mi_gdb_test): Add additional message
6980 for unexpected output.
6982 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6984 * gdb.base/examine-backward.c (Barrier): New character array
6985 constant, to ensure that TestStrings is preceded by a string
6988 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6990 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6991 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6992 and implicit pointer into such a location.
6994 2017-03-16 Doug Evans <dje@google.com>
6996 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6998 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7000 * gdb.cp/m-static.exp: Fix expectation for prototype of
7001 test5.single_constructor and single_constructor::single_constructor.
7003 2017-03-16 Doug Evans <dje@google.com>
7005 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7006 * gdb.guile/scm-lazy-string.c: New file.
7007 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7008 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7009 for pointer, array, typedef lazy strings.
7011 2017-03-16 Doug Evans <dje@google.com>
7013 PR python/17728, python/18439, python/18779
7014 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7015 * gdb.python/py-lazy-string.c (pointer): New typedef.
7016 (main): New locals ptr, array, typedef_ptr.
7017 * gdb.python/py-value.exp: Move lazy string tests to ...
7018 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7019 array, typedef lazy strings.
7021 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7023 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7024 Add optional 'test' parameter.
7026 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7028 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7029 Skip for versions of DejaGnu < 1.5.
7031 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7033 * lib/gdb.exp (dejagnu_version): New proc.
7034 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7035 Use dejagnu_version.
7037 2017-03-10 Keith Seitz <keiths@redhat.com>
7040 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7041 type from destructor regexps.
7042 Add a branch which actually passes the test.
7043 Adjust "ptype t5i" test names.
7045 2017-03-08 Pedro Alves <palves@redhat.com>
7047 * gdb.base/step-over-exit.exp: Add explicit test message.
7049 2017-03-08 Pedro Alves <palves@redhat.com>
7052 * gdb.threads/interrupt-while-step-over.c: New file.
7053 * gdb.threads/interrupt-while-step-over.exp: New file.
7055 2017-03-08 Pedro Alves <palves@redhat.com>
7057 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7058 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7060 2017-03-08 Pedro Alves <palves@redhat.com>
7062 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7063 PKRU as not supported as a PASS.
7065 2017-03-08 Pedro Alves <palves@redhat.com>
7067 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7068 prefix instead of $binfile1/$binfile2.
7069 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7071 * gdb.python/py-completion.exp: Use "load python file" as test
7072 messages instead of unstable path names.
7074 2017-03-08 Pedro Alves <palves@redhat.com>
7075 Jan Kratochvil <jan.kratochvil@redhat.com>
7078 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7080 (top level): Call it.
7082 2017-03-08 Pedro Alves <palves@redhat.com>
7085 * gdb.tui/tui-nl-filtered-output.exp: New file.
7087 2017-03-08 Pedro Alves <palves@redhat.com>
7089 * gdb.base/completion.exp: Move TUI completion tests to ...
7090 * gdb.tui/completion.exp: ... this new file.
7092 2017-03-08 Pedro Alves <palves@redhat.com>
7094 * gdb.base/tui-disasm-long-lines.c,
7095 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7096 gdb.base/tui-layout.exp: Move to ...
7097 * gdb.tui/: ... this new directory.
7099 2017-03-07 Pedro Alves <palves@redhat.com>
7101 * gdb.base/tui-layout.c: New file.
7102 * gdb.base/tui-layout.exp: New file.
7104 2017-03-07 Pedro Alves <palves@redhat.com>
7106 * gdb.base/tui-layout.c: Rename to ...
7107 * gdb.base/tui-disasm-long-lines.c: ... this.
7108 * gdb.base/tui-layout.exp: Rename to ...
7109 * gdb.base/tui-disasm-long-lines.exp: ... this.
7111 2017-03-07 Pedro Alves <palves@redhat.com>
7113 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7115 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7117 * i386-mpx-call.c: New file.
7118 * i386-mpx-call.exp: New file.
7120 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7122 * gdb.arch/powerpc-power.exp: Delete test.
7123 * gdb.arch/powerpc-power.s: Likewise.
7124 * gdb.disasm/disassembler-options.exp: New test.
7125 * gdb.arch/powerpc-altivec.exp: Likewise.
7126 * gdb.arch/powerpc-altivec.s: Likewise.
7127 * gdb.arch/powerpc-altivec2.exp: Likewise.
7128 * gdb.arch/powerpc-altivec2.s: Likewise.
7129 * gdb.arch/powerpc-altivec3.exp: Likewise.
7130 * gdb.arch/powerpc-altivec3.s: Likewise.
7131 * gdb.arch/powerpc-power7.exp: Likewise.
7132 * gdb.arch/powerpc-power7.s: Likewise.
7133 * gdb.arch/powerpc-power8.exp: Likewise.
7134 * gdb.arch/powerpc-power8.s: Likewise.
7135 * gdb.arch/powerpc-power9.exp: Likewise.
7136 * gdb.arch/powerpc-power9.s: Likewise.
7137 * gdb.arch/powerpc-vsx.exp: Likewise.
7138 * gdb.arch/powerpc-vsx.s: Likewise.
7139 * gdb.arch/powerpc-vsx2.exp: Likewise.
7140 * gdb.arch/powerpc-vsx2.s: Likewise.
7141 * gdb.arch/powerpc-vsx3.exp: Likewise.
7142 * gdb.arch/powerpc-vsx3.s: Likewise.
7143 * gdb.arch/arm-disassembler-options.exp: Likewise.
7144 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7145 * gdb.arch/s390-disassembler-options.exp: Likewise.
7147 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7149 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7150 (check_supported_features): ... this. Changed return type to void.
7151 (supports_rdseed): New static global.
7152 (rdseed): Check supports_rdseed.
7153 (initialize): Call check_supported_features.
7155 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7157 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7158 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7160 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7161 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7163 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7165 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7168 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7170 * gdb.dwarf2/formdata16.c: New file.
7171 * gdb.dwarf2/formdata16.exp: New file.
7172 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7174 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7176 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7177 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7178 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7179 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7182 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7184 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7186 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7189 * gdb.base/maint.exp: Add testcases for when the commands do
7192 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7194 * gdb.cp/chained-calls.exp: Use p instead of P.
7196 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7198 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7199 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7201 2017-02-14 Tom Tromey <tom@tromey.com>
7204 * gdb.python/py-events.exp: Add before_prompt event tests.
7206 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7208 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7210 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7212 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7213 (main): Call my_unique_function_name.
7214 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7215 completion of patterns with a single match.
7216 Add missing -re switches to gdb_test_multiple calls.
7218 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7220 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7221 return if core file is not recognized.
7223 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7225 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7228 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7230 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7233 2017-02-10 Tom Tromey <tom@tromey.com>
7235 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7237 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7240 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7242 2017-02-08 Jerome Guitton <guitton@adacore.com>
7244 * gdb.base/define.exp: Add test for command abbreviations
7247 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7249 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7250 * gdb.reverse/insn-reverse-x86.c: New file.
7252 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7255 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7257 2017-02-03 Tom Tromey <tom@tromey.com>
7260 * gdb.rust/simple.exp: Add new tests.
7262 2017-02-02 Pedro Alves <palves@redhat.com>
7264 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7267 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7269 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7270 taking a 2-byte value out of a 4-byte DWARF implicit value on
7272 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7273 logic. Add test cases for DW_OP_implicit.
7275 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7277 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7279 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7281 * gdb.btrace/enable.exp: Call gdb_exit before
7282 skip_gdbserver_tests.
7284 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7286 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7289 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7291 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7292 the test is skipped.
7293 * gdb.btrace/data.exp: Likewise.
7294 * gdb.btrace/delta.exp: Likewise.
7295 * gdb.btrace/dlopen.exp: Likewise.
7296 * gdb.btrace/enable-running.exp: Likewise.
7297 * gdb.btrace/enable.exp: Likewise.
7298 * gdb.btrace/exception.exp: Likewise.
7299 * gdb.btrace/function_call_history.exp: Likewise.
7300 * gdb.btrace/gcore.exp: Likewise.
7301 * gdb.btrace/instruction_history.exp: Likewise.
7302 * gdb.btrace/multi-thread-step.exp: Likewise.
7303 * gdb.btrace/nohist.exp: Likewise.
7304 * gdb.btrace/non-stop.exp: Likewise.
7305 * gdb.btrace/reconnect.exp: Likewise.
7306 * gdb.btrace/record_goto-step.exp: Likewise.
7307 * gdb.btrace/record_goto.exp: Likewise.
7308 * gdb.btrace/rn-dl-bind.exp: Likewise.
7309 * gdb.btrace/segv.exp: Likewise.
7310 * gdb.btrace/step.exp: Likewise.
7311 * gdb.btrace/stepi.exp: Likewise.
7312 * gdb.btrace/tailcall-only.exp: Likewise.
7313 * gdb.btrace/tailcall.exp: Likewise.
7314 * gdb.btrace/tsx.exp: Likewise.
7315 * gdb.btrace/unknown_functions.exp: Likewise.
7316 * gdb.btrace/vdso.exp: Likewise.
7318 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7320 * gdb.btrace/enable-running.c: New.
7321 * gdb.btrace/enable-running.exp: New.
7323 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7325 * gdb.arch/amd64-gs_base.c: New file.
7326 * gdb.arch/amd64-gs_base.exp: New file.
7328 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7330 * lib/memory.exp: Remove spurious empty newlines.
7332 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7334 * gdb.python/py-bad-printers.exp: Load python file using "source".
7335 * gdb.python/py-events.exp: Likewise.
7336 * gdb.python/py-evsignal.exp: Likewise.
7337 * gdb.python/py-evthreads.exp: Likewise.
7338 * gdb.python/py-frame-args.exp: Likewise.
7339 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7340 * gdb.python/py-framefilter-mi.exp: Likewise.
7341 * gdb.python/py-framefilter.exp: Likewise.
7342 * gdb.python/py-mi.exp: Likewise.
7343 * gdb.python/py-pp-maint.exp: Likewise.
7344 * gdb.python/py-pp-registration.exp: Likewise.
7345 * gdb.python/py-prettyprint.exp: Likewise.
7346 (run_lang_tests): Likewise.
7347 * gdb.python/py-typeprint.exp: Likewise.
7349 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7351 * lib/memory.exp: New file.
7352 * lib/gdb.exp: Load memory.exp.
7353 * gdb.base/memattr.exp (delete_memory): Move proc to
7354 lib/memory.exp and rename to delete_memory_regions.
7355 Replace delete_memory with delete_memory_regions.
7356 Cleanup memory regions before tests.
7357 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7360 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7362 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7364 (initialize): New function conditionally defined.
7365 (testcases): Move within conditional block.
7366 (main): Call initialize.
7367 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7368 of gdb.reverse/insn-reverse.c.
7369 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7370 gdb.reverse/insn-reverse.c.
7372 2017-01-26 Yao Qi <yao.qi@linaro.org>
7374 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7375 disassemble on address 0.
7377 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7378 Yao Qi <yao.qi@linaro.org>
7380 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7381 * gdb.dwarf2/implptr-64bit.S: Remove.
7382 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7383 variables in caller's context. Add DW_OP_implicit_value.
7385 2017-01-25 Yao Qi <yao.qi@linaro.org>
7387 * lib/dwarf.exp (Dwarf::_location): Handle
7388 DW_OP_GNU_implicit_pointer with proper size.
7390 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7392 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7393 and add untested calls.
7395 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7397 * gdb.python/python.exp: Check line number against what GDB thinks
7398 the line number is for func1.
7400 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7402 * gdb.dlang/debug-expr.exp: New file.
7404 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7406 Fix test names for the following files:
7408 * gdb.ada/exec_changed.exp
7409 * gdb.ada/info_types.exp
7410 * gdb.arch/aarch64-atomic-inst.exp
7411 * gdb.arch/aarch64-fp.exp
7412 * gdb.arch/altivec-abi.exp
7413 * gdb.arch/altivec-regs.exp
7414 * gdb.arch/amd64-byte.exp
7415 * gdb.arch/amd64-disp-step.exp
7416 * gdb.arch/amd64-dword.exp
7417 * gdb.arch/amd64-entry-value-inline.exp
7418 * gdb.arch/amd64-entry-value-param.exp
7419 * gdb.arch/amd64-entry-value-paramref.exp
7420 * gdb.arch/amd64-entry-value.exp
7421 * gdb.arch/amd64-i386-address.exp
7422 * gdb.arch/amd64-invalid-stack-middle.exp
7423 * gdb.arch/amd64-invalid-stack-top.exp
7424 * gdb.arch/amd64-optimout-repeat.exp
7425 * gdb.arch/amd64-prologue-skip.exp
7426 * gdb.arch/amd64-prologue-xmm.exp
7427 * gdb.arch/amd64-stap-special-operands.exp
7428 * gdb.arch/amd64-stap-wrong-subexp.exp
7429 * gdb.arch/amd64-tailcall-cxx.exp
7430 * gdb.arch/amd64-tailcall-noret.exp
7431 * gdb.arch/amd64-tailcall-ret.exp
7432 * gdb.arch/amd64-tailcall-self.exp
7433 * gdb.arch/amd64-word.exp
7434 * gdb.arch/arm-bl-branch-dest.exp
7435 * gdb.arch/arm-disp-step.exp
7436 * gdb.arch/arm-neon.exp
7437 * gdb.arch/arm-single-step-kernel-helper.exp
7438 * gdb.arch/avr-flash-qualifier.exp
7439 * gdb.arch/disp-step-insn-reloc.exp
7440 * gdb.arch/e500-abi.exp
7441 * gdb.arch/e500-regs.exp
7442 * gdb.arch/ftrace-insn-reloc.exp
7443 * gdb.arch/i386-avx512.exp
7444 * gdb.arch/i386-bp_permanent.exp
7445 * gdb.arch/i386-byte.exp
7446 * gdb.arch/i386-cfi-notcurrent.exp
7447 * gdb.arch/i386-disp-step.exp
7448 * gdb.arch/i386-dr3-watch.exp
7449 * gdb.arch/i386-float.exp
7450 * gdb.arch/i386-gnu-cfi.exp
7451 * gdb.arch/i386-mpx-map.exp
7452 * gdb.arch/i386-mpx-sigsegv.exp
7453 * gdb.arch/i386-mpx-simple_segv.exp
7454 * gdb.arch/i386-mpx.exp
7455 * gdb.arch/i386-permbkpt.exp
7456 * gdb.arch/i386-prologue.exp
7457 * gdb.arch/i386-signal.exp
7458 * gdb.arch/i386-size-overlap.exp
7459 * gdb.arch/i386-unwind.exp
7460 * gdb.arch/i386-word.exp
7461 * gdb.arch/mips-fcr.exp
7462 * gdb.arch/powerpc-d128-regs.exp
7463 * gdb.arch/powerpc-stackless.exp
7464 * gdb.arch/ppc64-atomic-inst.exp
7465 * gdb.arch/s390-stackless.exp
7466 * gdb.arch/s390-tdbregs.exp
7467 * gdb.arch/s390-vregs.exp
7468 * gdb.arch/sparc-sysstep.exp
7469 * gdb.arch/thumb-bx-pc.exp
7470 * gdb.arch/thumb-singlestep.exp
7471 * gdb.arch/thumb2-it.exp
7472 * gdb.arch/vsx-regs.exp
7473 * gdb.asm/asm-source.exp
7474 * gdb.base/a2-run.exp
7475 * gdb.base/advance.exp
7476 * gdb.base/all-bin.exp
7479 * gdb.base/arithmet.exp
7480 * gdb.base/async-shell.exp
7481 * gdb.base/async.exp
7482 * gdb.base/attach-pie-noexec.exp
7483 * gdb.base/attach-twice.exp
7484 * gdb.base/auto-load.exp
7486 * gdb.base/bitfields.exp
7487 * gdb.base/break-always.exp
7488 * gdb.base/break-caller-line.exp
7489 * gdb.base/break-entry.exp
7490 * gdb.base/break-inline.exp
7491 * gdb.base/break-on-linker-gcd-function.exp
7492 * gdb.base/break-probes.exp
7493 * gdb.base/break.exp
7494 * gdb.base/breakpoint-shadow.exp
7495 * gdb.base/call-ar-st.exp
7496 * gdb.base/call-sc.exp
7497 * gdb.base/call-signal-resume.exp
7498 * gdb.base/call-strs.exp
7499 * gdb.base/callfuncs.exp
7500 * gdb.base/catch-fork-static.exp
7501 * gdb.base/catch-gdb-caused-signals.exp
7502 * gdb.base/catch-load.exp
7503 * gdb.base/catch-signal-fork.exp
7504 * gdb.base/catch-signal.exp
7505 * gdb.base/catch-syscall.exp
7506 * gdb.base/charset.exp
7507 * gdb.base/checkpoint.exp
7508 * gdb.base/chng-syms.exp
7509 * gdb.base/code-expr.exp
7510 * gdb.base/code_elim.exp
7511 * gdb.base/commands.exp
7512 * gdb.base/completion.exp
7513 * gdb.base/complex.exp
7514 * gdb.base/cond-expr.exp
7515 * gdb.base/condbreak.exp
7516 * gdb.base/consecutive.exp
7517 * gdb.base/continue-all-already-running.exp
7518 * gdb.base/coredump-filter.exp
7519 * gdb.base/corefile.exp
7521 * gdb.base/debug-expr.exp
7522 * gdb.base/define.exp
7524 * gdb.base/disabled-location.exp
7525 * gdb.base/disasm-end-cu.exp
7526 * gdb.base/disasm-optim.exp
7527 * gdb.base/display.exp
7528 * gdb.base/duplicate-bp.exp
7529 * gdb.base/ena-dis-br.exp
7530 * gdb.base/ending-run.exp
7531 * gdb.base/enumval.exp
7532 * gdb.base/environ.exp
7533 * gdb.base/eu-strip-infcall.exp
7534 * gdb.base/eval-avoid-side-effects.exp
7535 * gdb.base/eval-skip.exp
7536 * gdb.base/exitsignal.exp
7537 * gdb.base/expand-psymtabs.exp
7538 * gdb.base/filesym.exp
7539 * gdb.base/find-unmapped.exp
7540 * gdb.base/finish.exp
7541 * gdb.base/float.exp
7542 * gdb.base/foll-exec-mode.exp
7543 * gdb.base/foll-exec.exp
7544 * gdb.base/foll-fork.exp
7545 * gdb.base/fortran-sym-case.exp
7546 * gdb.base/freebpcmd.exp
7547 * gdb.base/func-ptr.exp
7548 * gdb.base/func-ptrs.exp
7549 * gdb.base/funcargs.exp
7550 * gdb.base/gcore-buffer-overflow.exp
7551 * gdb.base/gcore-relro-pie.exp
7552 * gdb.base/gcore-relro.exp
7553 * gdb.base/gcore.exp
7554 * gdb.base/gdb1090.exp
7555 * gdb.base/gdb11530.exp
7556 * gdb.base/gdb11531.exp
7557 * gdb.base/gdb1821.exp
7558 * gdb.base/gdbindex-stabs.exp
7559 * gdb.base/gdbvars.exp
7560 * gdb.base/hbreak.exp
7561 * gdb.base/hbreak2.exp
7562 * gdb.base/included.exp
7563 * gdb.base/infcall-input.exp
7564 * gdb.base/inferior-died.exp
7565 * gdb.base/infnan.exp
7566 * gdb.base/info-macros.exp
7567 * gdb.base/info-os.exp
7568 * gdb.base/info-proc.exp
7569 * gdb.base/info-shared.exp
7570 * gdb.base/info-target.exp
7571 * gdb.base/infoline.exp
7572 * gdb.base/interp.exp
7573 * gdb.base/interrupt.exp
7574 * gdb.base/jit-reader.exp
7575 * gdb.base/jit-simple.exp
7576 * gdb.base/kill-after-signal.exp
7577 * gdb.base/kill-detach-inferiors-cmd.exp
7578 * gdb.base/label.exp
7579 * gdb.base/langs.exp
7580 * gdb.base/ldbl_e308.exp
7581 * gdb.base/line-symtabs.exp
7582 * gdb.base/linespecs.exp
7584 * gdb.base/long_long.exp
7585 * gdb.base/longest-types.exp
7586 * gdb.base/maint.exp
7587 * gdb.base/max-value-size.exp
7588 * gdb.base/memattr.exp
7589 * gdb.base/mips_pro.exp
7590 * gdb.base/morestack.exp
7591 * gdb.base/moribund-step.exp
7592 * gdb.base/multi-forks.exp
7593 * gdb.base/nested-addr.exp
7594 * gdb.base/nextoverexit.exp
7595 * gdb.base/noreturn-finish.exp
7596 * gdb.base/noreturn-return.exp
7597 * gdb.base/nostdlib.exp
7598 * gdb.base/offsets.exp
7599 * gdb.base/opaque.exp
7600 * gdb.base/pc-fp.exp
7601 * gdb.base/permissions.exp
7602 * gdb.base/print-symbol-loading.exp
7603 * gdb.base/prologue-include.exp
7604 * gdb.base/psymtab.exp
7605 * gdb.base/ptype.exp
7606 * gdb.base/random-signal.exp
7607 * gdb.base/randomize.exp
7608 * gdb.base/range-stepping.exp
7609 * gdb.base/readline-ask.exp
7610 * gdb.base/recpar.exp
7611 * gdb.base/recurse.exp
7612 * gdb.base/relational.exp
7613 * gdb.base/restore.exp
7614 * gdb.base/return-nodebug.exp
7615 * gdb.base/return.exp
7616 * gdb.base/run-after-attach.exp
7617 * gdb.base/save-bp.exp
7618 * gdb.base/scope.exp
7619 * gdb.base/sect-cmd.exp
7620 * gdb.base/set-lang-auto.exp
7621 * gdb.base/set-noassign.exp
7622 * gdb.base/setvar.exp
7623 * gdb.base/sigall.exp
7624 * gdb.base/sigbpt.exp
7625 * gdb.base/siginfo-addr.exp
7626 * gdb.base/siginfo-infcall.exp
7627 * gdb.base/siginfo-obj.exp
7628 * gdb.base/siginfo.exp
7629 * gdb.base/signals-state-child.exp
7630 * gdb.base/signest.exp
7631 * gdb.base/sigstep.exp
7632 * gdb.base/sizeof.exp
7634 * gdb.base/solib-corrupted.exp
7635 * gdb.base/solib-nodir.exp
7636 * gdb.base/solib-search.exp
7637 * gdb.base/stack-checking.exp
7638 * gdb.base/stale-infcall.exp
7639 * gdb.base/stap-probe.exp
7640 * gdb.base/start.exp
7641 * gdb.base/step-break.exp
7642 * gdb.base/step-bt.exp
7643 * gdb.base/step-line.exp
7644 * gdb.base/step-over-exit.exp
7645 * gdb.base/step-over-syscall.exp
7646 * gdb.base/step-resume-infcall.exp
7647 * gdb.base/step-test.exp
7648 * gdb.base/store.exp
7649 * gdb.base/structs3.exp
7650 * gdb.base/sym-file.exp
7651 * gdb.base/symbol-without-target_section.exp
7653 * gdb.base/testenv.exp
7654 * gdb.base/ui-redirect.exp
7655 * gdb.base/until.exp
7656 * gdb.base/unwindonsignal.exp
7657 * gdb.base/value-double-free.exp
7658 * gdb.base/vla-datatypes.exp
7659 * gdb.base/vla-ptr.exp
7660 * gdb.base/vla-sideeffect.exp
7661 * gdb.base/volatile.exp
7662 * gdb.base/watch-cond-infcall.exp
7663 * gdb.base/watch-cond.exp
7664 * gdb.base/watch-non-mem.exp
7665 * gdb.base/watch-read.exp
7666 * gdb.base/watch-vfork.exp
7667 * gdb.base/watchpoint-cond-gone.exp
7668 * gdb.base/watchpoint-delete.exp
7669 * gdb.base/watchpoint-hw-hit-once.exp
7670 * gdb.base/watchpoint-hw.exp
7671 * gdb.base/watchpoint-stops-at-right-insn.exp
7672 * gdb.base/watchpoints.exp
7673 * gdb.base/wchar.exp
7674 * gdb.base/whatis-exp.exp
7675 * gdb.btrace/buffer-size.exp
7676 * gdb.btrace/data.exp
7677 * gdb.btrace/delta.exp
7678 * gdb.btrace/dlopen.exp
7679 * gdb.btrace/enable.exp
7680 * gdb.btrace/exception.exp
7681 * gdb.btrace/function_call_history.exp
7682 * gdb.btrace/gcore.exp
7683 * gdb.btrace/instruction_history.exp
7684 * gdb.btrace/nohist.exp
7685 * gdb.btrace/reconnect.exp
7686 * gdb.btrace/record_goto-step.exp
7687 * gdb.btrace/record_goto.exp
7688 * gdb.btrace/rn-dl-bind.exp
7689 * gdb.btrace/segv.exp
7690 * gdb.btrace/step.exp
7691 * gdb.btrace/stepi.exp
7692 * gdb.btrace/tailcall-only.exp
7693 * gdb.btrace/tailcall.exp
7694 * gdb.btrace/tsx.exp
7695 * gdb.btrace/unknown_functions.exp
7696 * gdb.btrace/vdso.exp
7697 * gdb.compile/compile-ifunc.exp
7698 * gdb.compile/compile-ops.exp
7699 * gdb.compile/compile-print.exp
7700 * gdb.compile/compile-setjmp.exp
7701 * gdb.cp/abstract-origin.exp
7702 * gdb.cp/ambiguous.exp
7703 * gdb.cp/annota2.exp
7704 * gdb.cp/annota3.exp
7705 * gdb.cp/anon-ns.exp
7706 * gdb.cp/anon-struct.exp
7707 * gdb.cp/anon-union.exp
7708 * gdb.cp/arg-reference.exp
7709 * gdb.cp/baseenum.exp
7711 * gdb.cp/breakpoint.exp
7712 * gdb.cp/bs15503.exp
7715 * gdb.cp/chained-calls.exp
7717 * gdb.cp/classes.exp
7718 * gdb.cp/cmpd-minsyms.exp
7719 * gdb.cp/converts.exp
7720 * gdb.cp/cp-relocate.exp
7721 * gdb.cp/cpcompletion.exp
7722 * gdb.cp/cpexprs.exp
7723 * gdb.cp/cplabel.exp
7724 * gdb.cp/cplusfuncs.exp
7725 * gdb.cp/cpsizeof.exp
7727 * gdb.cp/derivation.exp
7728 * gdb.cp/destrprint.exp
7729 * gdb.cp/dispcxx.exp
7730 * gdb.cp/enum-class.exp
7731 * gdb.cp/exception.exp
7732 * gdb.cp/exceptprint.exp
7733 * gdb.cp/expand-psymtabs-cxx.exp
7734 * gdb.cp/expand-sals.exp
7735 * gdb.cp/extern-c.exp
7736 * gdb.cp/filename.exp
7737 * gdb.cp/formatted-ref.exp
7738 * gdb.cp/fpointer.exp
7739 * gdb.cp/gdb1355.exp
7740 * gdb.cp/gdb2495.exp
7742 * gdb.cp/impl-this.exp
7743 * gdb.cp/infcall-dlopen.exp
7744 * gdb.cp/inherit.exp
7745 * gdb.cp/iostream.exp
7749 * gdb.cp/m-static.exp
7750 * gdb.cp/mb-ctor.exp
7751 * gdb.cp/mb-inline.exp
7752 * gdb.cp/mb-templates.exp
7753 * gdb.cp/member-name.exp
7754 * gdb.cp/member-ptr.exp
7755 * gdb.cp/meth-typedefs.exp
7757 * gdb.cp/method2.exp
7758 * gdb.cp/minsym-fallback.exp
7760 * gdb.cp/namelessclass.exp
7761 * gdb.cp/namespace-enum.exp
7762 * gdb.cp/namespace-nested-import.exp
7763 * gdb.cp/namespace.exp
7764 * gdb.cp/nextoverthrow.exp
7765 * gdb.cp/no-dmgl-verbose.exp
7766 * gdb.cp/non-trivial-retval.exp
7767 * gdb.cp/noparam.exp
7769 * gdb.cp/nsimport.exp
7770 * gdb.cp/nsnested.exp
7771 * gdb.cp/nsnoimports.exp
7772 * gdb.cp/nsrecurs.exp
7773 * gdb.cp/nsstress.exp
7774 * gdb.cp/nsusing.exp
7775 * gdb.cp/operator.exp
7776 * gdb.cp/oranking.exp
7777 * gdb.cp/overload-const.exp
7778 * gdb.cp/overload.exp
7779 * gdb.cp/ovldbreak.exp
7781 * gdb.cp/paren-type.exp
7782 * gdb.cp/parse-lang.exp
7783 * gdb.cp/pass-by-ref.exp
7784 * gdb.cp/pr-1023.exp
7785 * gdb.cp/pr-1210.exp
7787 * gdb.cp/pr10687.exp
7788 * gdb.cp/pr12028.exp
7789 * gdb.cp/pr17132.exp
7790 * gdb.cp/pr17494.exp
7794 * gdb.cp/printmethod.exp
7796 * gdb.cp/psymtab-parameter.exp
7797 * gdb.cp/ptype-cv-cp.exp
7798 * gdb.cp/ptype-flags.exp
7799 * gdb.cp/re-set-overloaded.exp
7800 * gdb.cp/ref-types.exp
7802 * gdb.cp/scope-err.exp
7805 * gdb.cp/static-method.exp
7806 * gdb.cp/static-print-quit.exp
7807 * gdb.cp/temargs.exp
7808 * gdb.cp/templates.exp
7809 * gdb.cp/try_catch.exp
7810 * gdb.cp/typedef-operator.exp
7812 * gdb.cp/userdef.exp
7813 * gdb.cp/using-crash.exp
7814 * gdb.cp/var-tag.exp
7815 * gdb.cp/virtbase.exp
7816 * gdb.cp/virtfunc.exp
7817 * gdb.cp/virtfunc2.exp
7818 * gdb.cp/vla-cxx.exp
7819 * gdb.disasm/t01_mov.exp
7820 * gdb.disasm/t02_mova.exp
7821 * gdb.disasm/t03_add.exp
7822 * gdb.disasm/t04_sub.exp
7823 * gdb.disasm/t05_cmp.exp
7824 * gdb.disasm/t06_ari2.exp
7825 * gdb.disasm/t07_ari3.exp
7826 * gdb.disasm/t08_or.exp
7827 * gdb.disasm/t09_xor.exp
7828 * gdb.disasm/t10_and.exp
7829 * gdb.disasm/t11_logs.exp
7830 * gdb.disasm/t12_bit.exp
7831 * gdb.disasm/t13_otr.exp
7832 * gdb.dlang/circular.exp
7833 * gdb.dwarf2/arr-stride.exp
7834 * gdb.dwarf2/arr-subrange.exp
7835 * gdb.dwarf2/atomic-type.exp
7836 * gdb.dwarf2/bad-regnum.exp
7837 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7838 * gdb.dwarf2/callframecfa.exp
7839 * gdb.dwarf2/clztest.exp
7840 * gdb.dwarf2/corrupt.exp
7841 * gdb.dwarf2/data-loc.exp
7842 * gdb.dwarf2/dup-psym.exp
7843 * gdb.dwarf2/dw2-anon-mptr.exp
7844 * gdb.dwarf2/dw2-anonymous-func.exp
7845 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7846 * gdb.dwarf2/dw2-bad-unresolved.exp
7847 * gdb.dwarf2/dw2-basic.exp
7848 * gdb.dwarf2/dw2-canonicalize-type.exp
7849 * gdb.dwarf2/dw2-case-insensitive.exp
7850 * gdb.dwarf2/dw2-common-block.exp
7851 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7852 * gdb.dwarf2/dw2-compressed.exp
7853 * gdb.dwarf2/dw2-const.exp
7854 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7855 * gdb.dwarf2/dw2-cu-size.exp
7856 * gdb.dwarf2/dw2-dup-frame.exp
7857 * gdb.dwarf2/dw2-entry-value.exp
7858 * gdb.dwarf2/dw2-icycle.exp
7859 * gdb.dwarf2/dw2-ifort-parameter.exp
7860 * gdb.dwarf2/dw2-inline-break.exp
7861 * gdb.dwarf2/dw2-inline-param.exp
7862 * gdb.dwarf2/dw2-intercu.exp
7863 * gdb.dwarf2/dw2-intermix.exp
7864 * gdb.dwarf2/dw2-lexical-block-bare.exp
7865 * gdb.dwarf2/dw2-linkage-name-trust.exp
7866 * gdb.dwarf2/dw2-minsym-in-cu.exp
7867 * gdb.dwarf2/dw2-noloc.exp
7868 * gdb.dwarf2/dw2-op-call.exp
7869 * gdb.dwarf2/dw2-op-out-param.exp
7870 * gdb.dwarf2/dw2-opt-structptr.exp
7871 * gdb.dwarf2/dw2-param-error.exp
7872 * gdb.dwarf2/dw2-producer.exp
7873 * gdb.dwarf2/dw2-ranges-base.exp
7874 * gdb.dwarf2/dw2-ref-missing-frame.exp
7875 * gdb.dwarf2/dw2-reg-undefined.exp
7876 * gdb.dwarf2/dw2-regno-invalid.exp
7877 * gdb.dwarf2/dw2-restore.exp
7878 * gdb.dwarf2/dw2-restrict.exp
7879 * gdb.dwarf2/dw2-single-line-discriminators.exp
7880 * gdb.dwarf2/dw2-strp.exp
7881 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7882 * gdb.dwarf2/dw2-unresolved.exp
7883 * gdb.dwarf2/dw2-var-zero-addr.exp
7884 * gdb.dwarf2/dw4-sig-types.exp
7885 * gdb.dwarf2/dwz.exp
7886 * gdb.dwarf2/dynarr-ptr.exp
7887 * gdb.dwarf2/enum-type.exp
7888 * gdb.dwarf2/gdb-index.exp
7889 * gdb.dwarf2/implptr-64bit.exp
7890 * gdb.dwarf2/implptr-optimized-out.exp
7891 * gdb.dwarf2/implptr.exp
7892 * gdb.dwarf2/implref-array.exp
7893 * gdb.dwarf2/implref-const.exp
7894 * gdb.dwarf2/implref-global.exp
7895 * gdb.dwarf2/implref-struct.exp
7896 * gdb.dwarf2/mac-fileno.exp
7897 * gdb.dwarf2/main-subprogram.exp
7898 * gdb.dwarf2/member-ptr-forwardref.exp
7899 * gdb.dwarf2/method-ptr.exp
7900 * gdb.dwarf2/missing-sig-type.exp
7901 * gdb.dwarf2/nonvar-access.exp
7902 * gdb.dwarf2/opaque-type-lookup.exp
7903 * gdb.dwarf2/pieces-optimized-out.exp
7904 * gdb.dwarf2/pieces.exp
7905 * gdb.dwarf2/pr10770.exp
7906 * gdb.dwarf2/pr13961.exp
7907 * gdb.dwarf2/staticvirtual.exp
7908 * gdb.dwarf2/subrange.exp
7909 * gdb.dwarf2/symtab-producer.exp
7910 * gdb.dwarf2/trace-crash.exp
7911 * gdb.dwarf2/typeddwarf.exp
7912 * gdb.dwarf2/valop.exp
7913 * gdb.dwarf2/watch-notconst.exp
7914 * gdb.fortran/array-element.exp
7915 * gdb.fortran/charset.exp
7916 * gdb.fortran/common-block.exp
7917 * gdb.fortran/complex.exp
7918 * gdb.fortran/derived-type-function.exp
7919 * gdb.fortran/derived-type.exp
7920 * gdb.fortran/logical.exp
7921 * gdb.fortran/module.exp
7922 * gdb.fortran/multi-dim.exp
7923 * gdb.fortran/nested-funcs.exp
7924 * gdb.fortran/print-formatted.exp
7925 * gdb.fortran/subarray.exp
7926 * gdb.fortran/vla-alloc-assoc.exp
7927 * gdb.fortran/vla-datatypes.exp
7928 * gdb.fortran/vla-history.exp
7929 * gdb.fortran/vla-ptr-info.exp
7930 * gdb.fortran/vla-ptype-sub.exp
7931 * gdb.fortran/vla-ptype.exp
7932 * gdb.fortran/vla-sizeof.exp
7933 * gdb.fortran/vla-type.exp
7934 * gdb.fortran/vla-value-sub-arbitrary.exp
7935 * gdb.fortran/vla-value-sub-finish.exp
7936 * gdb.fortran/vla-value-sub.exp
7937 * gdb.fortran/vla-value.exp
7938 * gdb.fortran/whatis_type.exp
7940 * gdb.go/handcall.exp
7942 * gdb.go/integers.exp
7943 * gdb.go/methods.exp
7944 * gdb.go/package.exp
7945 * gdb.go/strings.exp
7948 * gdb.guile/scm-arch.exp
7949 * gdb.guile/scm-block.exp
7950 * gdb.guile/scm-breakpoint.exp
7951 * gdb.guile/scm-cmd.exp
7952 * gdb.guile/scm-disasm.exp
7953 * gdb.guile/scm-equal.exp
7954 * gdb.guile/scm-frame-args.exp
7955 * gdb.guile/scm-frame-inline.exp
7956 * gdb.guile/scm-frame.exp
7957 * gdb.guile/scm-iterator.exp
7958 * gdb.guile/scm-math.exp
7959 * gdb.guile/scm-objfile.exp
7960 * gdb.guile/scm-ports.exp
7961 * gdb.guile/scm-symbol.exp
7962 * gdb.guile/scm-symtab.exp
7963 * gdb.guile/scm-value-cc.exp
7964 * gdb.guile/types-module.exp
7965 * gdb.linespec/break-ask.exp
7966 * gdb.linespec/cpexplicit.exp
7967 * gdb.linespec/explicit.exp
7968 * gdb.linespec/keywords.exp
7969 * gdb.linespec/linespec.exp
7970 * gdb.linespec/ls-dollar.exp
7971 * gdb.linespec/ls-errs.exp
7972 * gdb.linespec/skip-two.exp
7973 * gdb.linespec/thread.exp
7974 * gdb.mi/mi-async.exp
7975 * gdb.mi/mi-basics.exp
7976 * gdb.mi/mi-break.exp
7977 * gdb.mi/mi-catch-load.exp
7979 * gdb.mi/mi-cmd-param-changed.exp
7980 * gdb.mi/mi-console.exp
7981 * gdb.mi/mi-detach.exp
7982 * gdb.mi/mi-disassemble.exp
7983 * gdb.mi/mi-eval.exp
7984 * gdb.mi/mi-file-transfer.exp
7985 * gdb.mi/mi-file.exp
7986 * gdb.mi/mi-fill-memory.exp
7987 * gdb.mi/mi-inheritance-syntax-error.exp
7988 * gdb.mi/mi-linespec-err-cp.exp
7989 * gdb.mi/mi-logging.exp
7990 * gdb.mi/mi-memory-changed.exp
7991 * gdb.mi/mi-read-memory.exp
7992 * gdb.mi/mi-record-changed.exp
7993 * gdb.mi/mi-reg-undefined.exp
7994 * gdb.mi/mi-regs.exp
7995 * gdb.mi/mi-return.exp
7996 * gdb.mi/mi-reverse.exp
7997 * gdb.mi/mi-simplerun.exp
7998 * gdb.mi/mi-solib.exp
7999 * gdb.mi/mi-stack.exp
8000 * gdb.mi/mi-stepi.exp
8001 * gdb.mi/mi-syn-frame.exp
8002 * gdb.mi/mi-until.exp
8003 * gdb.mi/mi-var-block.exp
8004 * gdb.mi/mi-var-child.exp
8005 * gdb.mi/mi-var-cmd.exp
8006 * gdb.mi/mi-var-cp.exp
8007 * gdb.mi/mi-var-display.exp
8008 * gdb.mi/mi-var-invalidate.exp
8009 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8010 * gdb.mi/mi-vla-fortran.exp
8011 * gdb.mi/mi-watch.exp
8012 * gdb.mi/mi2-var-child.exp
8013 * gdb.mi/user-selected-context-sync.exp
8014 * gdb.modula2/unbounded-array.exp
8015 * gdb.multi/dummy-frame-restore.exp
8016 * gdb.multi/multi-arch-exec.exp
8017 * gdb.multi/multi-arch.exp
8018 * gdb.multi/tids.exp
8019 * gdb.multi/watchpoint-multi.exp
8020 * gdb.opencl/callfuncs.exp
8021 * gdb.opencl/convs_casts.exp
8022 * gdb.opencl/datatypes.exp
8023 * gdb.opencl/operators.exp
8024 * gdb.opencl/vec_comps.exp
8025 * gdb.opt/clobbered-registers-O2.exp
8026 * gdb.opt/inline-break.exp
8027 * gdb.opt/inline-bt.exp
8028 * gdb.opt/inline-cmds.exp
8029 * gdb.opt/inline-locals.exp
8030 * gdb.pascal/case-insensitive-symbols.exp
8031 * gdb.pascal/floats.exp
8032 * gdb.pascal/gdb11492.exp
8033 * gdb.python/lib-types.exp
8034 * gdb.python/py-arch.exp
8035 * gdb.python/py-as-string.exp
8036 * gdb.python/py-bad-printers.exp
8037 * gdb.python/py-block.exp
8038 * gdb.python/py-breakpoint-create-fail.exp
8039 * gdb.python/py-breakpoint.exp
8040 * gdb.python/py-caller-is.exp
8041 * gdb.python/py-cmd.exp
8042 * gdb.python/py-explore-cc.exp
8043 * gdb.python/py-explore.exp
8044 * gdb.python/py-finish-breakpoint.exp
8045 * gdb.python/py-finish-breakpoint2.exp
8046 * gdb.python/py-frame-args.exp
8047 * gdb.python/py-frame-inline.exp
8048 * gdb.python/py-frame.exp
8049 * gdb.python/py-framefilter-mi.exp
8050 * gdb.python/py-infthread.exp
8051 * gdb.python/py-lazy-string.exp
8052 * gdb.python/py-linetable.exp
8053 * gdb.python/py-mi-events.exp
8054 * gdb.python/py-mi-objfile.exp
8055 * gdb.python/py-mi.exp
8056 * gdb.python/py-objfile.exp
8057 * gdb.python/py-pp-integral.exp
8058 * gdb.python/py-pp-maint.exp
8059 * gdb.python/py-pp-re-notag.exp
8060 * gdb.python/py-pp-registration.exp
8061 * gdb.python/py-recurse-unwind.exp
8062 * gdb.python/py-strfns.exp
8063 * gdb.python/py-symbol.exp
8064 * gdb.python/py-symtab.exp
8065 * gdb.python/py-sync-interp.exp
8066 * gdb.python/py-typeprint.exp
8067 * gdb.python/py-unwind-maint.exp
8068 * gdb.python/py-unwind.exp
8069 * gdb.python/py-value-cc.exp
8070 * gdb.python/py-xmethods.exp
8071 * gdb.reverse/amd64-tailcall-reverse.exp
8072 * gdb.reverse/break-precsave.exp
8073 * gdb.reverse/break-reverse.exp
8074 * gdb.reverse/consecutive-precsave.exp
8075 * gdb.reverse/consecutive-reverse.exp
8076 * gdb.reverse/finish-precsave.exp
8077 * gdb.reverse/finish-reverse-bkpt.exp
8078 * gdb.reverse/finish-reverse.exp
8079 * gdb.reverse/fstatat-reverse.exp
8080 * gdb.reverse/getresuid-reverse.exp
8081 * gdb.reverse/i386-precsave.exp
8082 * gdb.reverse/i386-reverse.exp
8083 * gdb.reverse/i386-sse-reverse.exp
8084 * gdb.reverse/i387-env-reverse.exp
8085 * gdb.reverse/i387-stack-reverse.exp
8086 * gdb.reverse/insn-reverse.exp
8087 * gdb.reverse/machinestate-precsave.exp
8088 * gdb.reverse/machinestate.exp
8089 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8090 * gdb.reverse/pipe-reverse.exp
8091 * gdb.reverse/readv-reverse.exp
8092 * gdb.reverse/recvmsg-reverse.exp
8093 * gdb.reverse/rerun-prec.exp
8094 * gdb.reverse/s390-mvcle.exp
8095 * gdb.reverse/step-precsave.exp
8096 * gdb.reverse/step-reverse.exp
8097 * gdb.reverse/time-reverse.exp
8098 * gdb.reverse/until-precsave.exp
8099 * gdb.reverse/until-reverse.exp
8100 * gdb.reverse/waitpid-reverse.exp
8101 * gdb.reverse/watch-precsave.exp
8102 * gdb.reverse/watch-reverse.exp
8103 * gdb.rust/generics.exp
8104 * gdb.rust/methods.exp
8105 * gdb.rust/modules.exp
8106 * gdb.rust/simple.exp
8107 * gdb.server/connect-with-no-symbol-file.exp
8108 * gdb.server/ext-attach.exp
8109 * gdb.server/ext-restart.exp
8110 * gdb.server/ext-wrapper.exp
8111 * gdb.server/file-transfer.exp
8112 * gdb.server/server-exec-info.exp
8113 * gdb.server/server-kill.exp
8114 * gdb.server/server-mon.exp
8115 * gdb.server/wrapper.exp
8116 * gdb.stabs/exclfwd.exp
8117 * gdb.stabs/gdb11479.exp
8118 * gdb.threads/clone-new-thread-event.exp
8119 * gdb.threads/corethreads.exp
8120 * gdb.threads/current-lwp-dead.exp
8121 * gdb.threads/dlopen-libpthread.exp
8122 * gdb.threads/gcore-thread.exp
8123 * gdb.threads/sigstep-threads.exp
8124 * gdb.threads/watchpoint-fork.exp
8125 * gdb.trace/actions-changed.exp
8126 * gdb.trace/backtrace.exp
8127 * gdb.trace/change-loc.exp
8128 * gdb.trace/circ.exp
8129 * gdb.trace/collection.exp
8130 * gdb.trace/disconnected-tracing.exp
8131 * gdb.trace/ftrace.exp
8132 * gdb.trace/mi-trace-frame-collected.exp
8133 * gdb.trace/mi-trace-unavailable.exp
8134 * gdb.trace/mi-traceframe-changed.exp
8135 * gdb.trace/mi-tsv-changed.exp
8136 * gdb.trace/no-attach-trace.exp
8137 * gdb.trace/passc-dyn.exp
8138 * gdb.trace/qtro.exp
8139 * gdb.trace/range-stepping.exp
8140 * gdb.trace/read-memory.exp
8141 * gdb.trace/save-trace.exp
8142 * gdb.trace/signal.exp
8143 * gdb.trace/status-stop.exp
8144 * gdb.trace/tfile.exp
8145 * gdb.trace/trace-break.exp
8146 * gdb.trace/trace-buffer-size.exp
8147 * gdb.trace/trace-condition.exp
8148 * gdb.trace/tracefile-pseudo-reg.exp
8149 * gdb.trace/tstatus.exp
8150 * gdb.trace/unavailable.exp
8151 * gdb.trace/while-dyn.exp
8152 * gdb.trace/while-stepping.exp
8154 2016-12-22 Doug Evans <xdje42@gmail.com>
8156 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8159 2016-12-19 Yao Qi <yao.qi@linaro.org>
8161 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8162 (test_with_self): Don't call do_steps_and_nexts, and remove
8163 code about stepping into xmalloc.
8165 2016-12-09 Yao Qi <yao.qi@linaro.org>
8167 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8169 2016-12-09 Yao Qi <yao.qi@linaro.org>
8171 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8173 2016-12-09 Pedro Alves <palves@redhat.com>
8175 * gdb.base/all-architectures-0.exp: New file.
8176 * gdb.base/all-architectures-1.exp: New file.
8177 * gdb.base/all-architectures-2.exp: New file.
8178 * gdb.base/all-architectures-3.exp: New file.
8179 * gdb.base/all-architectures-4.exp: New file.
8180 * gdb.base/all-architectures-5.exp: New file.
8181 * gdb.base/all-architectures-6.exp: New file.
8182 * gdb.base/all-architectures-7.exp: New file.
8183 * gdb.base/all-architectures.exp.in: New file.
8185 2016-12-09 Yao Qi <yao.qi@linaro.org>
8187 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8189 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8191 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8193 Remove useless pattern-matching code.
8195 2016-12-02 Pedro Alves <palves@redhat.com>
8197 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8199 (top level): Call it.
8201 2016-12-02 Pedro Alves <palves@redhat.com>
8203 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8205 (top level): Call it.
8207 2016-12-02 Pedro Alves <palves@redhat.com>
8210 * gdb.base/commands.exp (user_defined_command_args_eval): New
8212 (top level): Call it.
8214 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8216 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8219 2016-12-02 Tom Tromey <tom@tromey.com>
8221 * gdb.dwarf2/main-subprogram.c: New file.
8222 * gdb.dwarf2/main-subprogram.exp: New file.
8224 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8226 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8227 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8228 gdb_test_no_output for a couple of cases.
8229 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8231 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8233 Fix test names and standardize compilation error messages throughout
8234 the following files:
8237 * gdb.arch/alpha-step.exp
8238 * gdb.arch/e500-prologue.exp
8239 * gdb.arch/ftrace-insn-reloc.exp
8240 * gdb.arch/gdb1291.exp
8241 * gdb.arch/gdb1431.exp
8242 * gdb.arch/gdb1558.exp
8243 * gdb.arch/i386-dr3-watch.exp
8244 * gdb.arch/i386-sse-stack-align.exp
8245 * gdb.arch/ia64-breakpoint-shadow.exp
8246 * gdb.arch/pa-nullify.exp
8247 * gdb.arch/powerpc-aix-prologue.exp
8248 * gdb.arch/thumb-bx-pc.exp
8249 * gdb.base/annota1.exp
8250 * gdb.base/annota3.exp
8251 * gdb.base/arrayidx.exp
8252 * gdb.base/assign.exp
8253 * gdb.base/attach.exp
8256 * gdb.base/bfp-test.exp
8257 * gdb.base/bigcore.exp
8258 * gdb.base/bitfields2.exp
8259 * gdb.base/break-fun-addr.exp
8260 * gdb.base/break-probes.exp
8261 * gdb.base/call-rt-st.exp
8262 * gdb.base/callexit.exp
8263 * gdb.base/catch-fork-kill.exp
8264 * gdb.base/charset.exp
8265 * gdb.base/checkpoint.exp
8266 * gdb.base/comprdebug.exp
8267 * gdb.base/constvars.exp
8268 * gdb.base/coredump-filter.exp
8269 * gdb.base/cursal.exp
8270 * gdb.base/cvexpr.exp
8271 * gdb.base/detach.exp
8272 * gdb.base/display.exp
8273 * gdb.base/dmsym.exp
8274 * gdb.base/dprintf-pending.exp
8275 * gdb.base/dso2dso.exp
8276 * gdb.base/dtrace-probe.exp
8278 * gdb.base/enum_cond.exp
8279 * gdb.base/exe-lock.exp
8280 * gdb.base/exec-invalid-sysroot.exp
8281 * gdb.base/execl-update-breakpoints.exp
8282 * gdb.base/exprs.exp
8283 * gdb.base/fileio.exp
8285 * gdb.base/finish.exp
8286 * gdb.base/fixsection.exp
8287 * gdb.base/foll-vfork.exp
8288 * gdb.base/frame-args.exp
8289 * gdb.base/gcore.exp
8290 * gdb.base/gdb1250.exp
8291 * gdb.base/global-var-nested-by-dso.exp
8292 * gdb.base/gnu-ifunc.exp
8293 * gdb.base/hashline1.exp
8294 * gdb.base/hashline2.exp
8295 * gdb.base/hashline3.exp
8296 * gdb.base/hbreak-in-shr-unsupported.exp
8298 * gdb.base/infcall-input.exp
8299 * gdb.base/info-fun.exp
8300 * gdb.base/info-shared.exp
8301 * gdb.base/jit-simple.exp
8302 * gdb.base/jit-so.exp
8305 * gdb.base/label.exp
8306 * gdb.base/lineinc.exp
8307 * gdb.base/logical.exp
8308 * gdb.base/longjmp.exp
8309 * gdb.base/macscp.exp
8310 * gdb.base/miscexprs.exp
8311 * gdb.base/new-ui-echo.exp
8312 * gdb.base/new-ui-pending-input.exp
8313 * gdb.base/new-ui.exp
8314 * gdb.base/nodebug.exp
8315 * gdb.base/nofield.exp
8316 * gdb.base/offsets.exp
8317 * gdb.base/overlays.exp
8318 * gdb.base/pending.exp
8319 * gdb.base/pointers.exp
8320 * gdb.base/pr11022.exp
8321 * gdb.base/printcmds.exp
8322 * gdb.base/prologue.exp
8323 * gdb.base/ptr-typedef.exp
8324 * gdb.base/realname-expand.exp
8325 * gdb.base/relativedebug.exp
8326 * gdb.base/relocate.exp
8327 * gdb.base/remote.exp
8328 * gdb.base/reread.exp
8329 * gdb.base/return2.exp
8330 * gdb.base/savedregs.exp
8332 * gdb.base/sepdebug.exp
8333 * gdb.base/sepsymtab.exp
8334 * gdb.base/set-inferior-tty.exp
8335 * gdb.base/setshow.exp
8336 * gdb.base/shlib-call.exp
8337 * gdb.base/sigaltstack.exp
8338 * gdb.base/siginfo-addr.exp
8339 * gdb.base/signals.exp
8340 * gdb.base/signull.exp
8341 * gdb.base/sigrepeat.exp
8342 * gdb.base/so-impl-ld.exp
8343 * gdb.base/solib-display.exp
8344 * gdb.base/solib-overlap.exp
8345 * gdb.base/solib-search.exp
8346 * gdb.base/solib-symbol.exp
8347 * gdb.base/structs.exp
8348 * gdb.base/structs2.exp
8349 * gdb.base/symtab-search-order.exp
8350 * gdb.base/twice.exp
8351 * gdb.base/unload.exp
8352 * gdb.base/varargs.exp
8353 * gdb.base/watchpoint-solib.exp
8354 * gdb.base/watchpoint.exp
8355 * gdb.base/whatis.exp
8356 * gdb.base/wrong_frame_bt_full.exp
8357 * gdb.btrace/dlopen.exp
8358 * gdb.cell/ea-standalone.exp
8359 * gdb.cell/ea-test.exp
8360 * gdb.cp/dispcxx.exp
8361 * gdb.cp/gdb2384.exp
8362 * gdb.cp/method2.exp
8363 * gdb.cp/nextoverthrow.exp
8364 * gdb.cp/pr10728.exp
8365 * gdb.disasm/am33.exp
8366 * gdb.disasm/h8300s.exp
8367 * gdb.disasm/mn10300.exp
8368 * gdb.disasm/sh3.exp
8369 * gdb.dwarf2/dw2-dir-file-name.exp
8370 * gdb.fortran/complex.exp
8371 * gdb.fortran/library-module.exp
8372 * gdb.guile/scm-pretty-print.exp
8373 * gdb.guile/scm-symbol.exp
8374 * gdb.guile/scm-type.exp
8375 * gdb.guile/scm-value.exp
8376 * gdb.linespec/linespec.exp
8379 * gdb.mi/mi-breakpoint-changed.exp
8380 * gdb.mi/mi-dprintf-pending.exp
8381 * gdb.mi/mi-dprintf.exp
8382 * gdb.mi/mi-exit-code.exp
8383 * gdb.mi/mi-pending.exp
8384 * gdb.mi/mi-solib.exp
8385 * gdb.mi/new-ui-mi-sync.exp
8386 * gdb.mi/pr11022.exp
8387 * gdb.mi/user-selected-context-sync.exp
8388 * gdb.opt/solib-intra-step.exp
8389 * gdb.python/py-events.exp
8390 * gdb.python/py-finish-breakpoint.exp
8391 * gdb.python/py-mi.exp
8392 * gdb.python/py-prettyprint.exp
8393 * gdb.python/py-shared.exp
8394 * gdb.python/py-symbol.exp
8395 * gdb.python/py-template.exp
8396 * gdb.python/py-type.exp
8397 * gdb.python/py-value.exp
8398 * gdb.reverse/solib-precsave.exp
8399 * gdb.reverse/solib-reverse.exp
8400 * gdb.server/solib-list.exp
8401 * gdb.stabs/weird.exp
8402 * gdb.threads/reconnect-signal.exp
8403 * gdb.threads/stepi-random-signal.exp
8404 * gdb.trace/actions.exp
8406 * gdb.trace/backtrace.exp
8407 * gdb.trace/change-loc.exp
8408 * gdb.trace/deltrace.exp
8409 * gdb.trace/ftrace-lock.exp
8410 * gdb.trace/ftrace.exp
8411 * gdb.trace/infotrace.exp
8412 * gdb.trace/mi-tracepoint-changed.exp
8413 * gdb.trace/packetlen.exp
8414 * gdb.trace/passcount.exp
8415 * gdb.trace/pending.exp
8416 * gdb.trace/range-stepping.exp
8417 * gdb.trace/report.exp
8418 * gdb.trace/stap-trace.exp
8419 * gdb.trace/tfind.exp
8420 * gdb.trace/trace-break.exp
8421 * gdb.trace/trace-condition.exp
8422 * gdb.trace/trace-enable-disable.exp
8423 * gdb.trace/trace-mt.exp
8424 * gdb.trace/tracecmd.exp
8425 * gdb.trace/tspeed.exp
8429 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8431 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8432 with gdb_test_no_output.
8433 Use command as test name.
8435 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8437 Fix test names starting with uppercase throughout the files.
8439 * gdb.ada/assign_1.exp
8440 * gdb.ada/boolean_expr.exp
8441 * gdb.base/arrayidx.exp
8443 * gdb.base/gcore-buffer-overflow.exp
8444 * gdb.base/testenv.exp
8445 * gdb.compile/compile.exp
8446 * gdb.python/py-framefilter-invalidarg.exp
8447 * gdb.python/py-framefilter.exp
8449 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8451 Fix test names starting with uppercase throughout the files.
8453 * gdb.ada/array_return.exp
8454 * gdb.ada/expr_delims.exp
8455 * gdb.ada/mi_dyn_arr.exp
8456 * gdb.ada/mi_interface.exp
8457 * gdb.ada/mi_var_array.exp
8458 * gdb.ada/watch_arg.exp
8459 * gdb.arch/alpha-step.exp
8460 * gdb.arch/altivec-regs.exp
8461 * gdb.arch/e500-regs.exp
8462 * gdb.arch/powerpc-d128-regs.exp
8463 * gdb.base/arrayidx.exp
8464 * gdb.base/break.exp
8465 * gdb.base/checkpoint.exp
8466 * gdb.base/debug-expr.exp
8467 * gdb.base/dmsym.exp
8468 * gdb.base/radix.exp
8469 * gdb.base/sepdebug.exp
8470 * gdb.base/testenv.exp
8471 * gdb.base/watch_thread_num.exp
8472 * gdb.base/watchpoint-cond-gone.exp
8473 * gdb.cell/break.exp
8474 * gdb.cell/ea-cache.exp
8475 * gdb.compile/compile.exp
8476 * gdb.cp/gdb2495.exp
8477 * gdb.gdb/selftest.exp
8478 * gdb.gdb/xfullpath.exp
8480 * gdb.go/integers.exp
8481 * gdb.objc/basicclass.exp
8482 * gdb.pascal/hello.exp
8483 * gdb.pascal/integers.exp
8484 * gdb.python/py-breakpoint.exp
8485 * gdb.python/py-cmd.exp
8486 * gdb.python/py-linetable.exp
8487 * gdb.python/py-xmethods.exp
8488 * gdb.python/python.exp
8489 * gdb.reverse/consecutive-precsave.exp
8490 * gdb.reverse/finish-precsave.exp
8491 * gdb.reverse/i386-precsave.exp
8492 * gdb.reverse/machinestate-precsave.exp
8493 * gdb.reverse/sigall-precsave.exp
8494 * gdb.reverse/solib-precsave.exp
8495 * gdb.reverse/step-precsave.exp
8496 * gdb.reverse/until-precsave.exp
8497 * gdb.reverse/watch-precsave.exp
8498 * gdb.threads/leader-exit.exp
8499 * gdb.threads/pthreads.exp
8500 * gdb.threads/wp-replication.exp
8501 * gdb.trace/actions.exp
8502 * gdb.trace/mi-tsv-changed.exp
8505 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8507 Fix test names starting with uppercase throughout the files.
8509 * gdb.arch/i386-bp_permanent.exp
8510 * gdb.arch/i386-gnu-cfi.exp
8511 * gdb.base/disasm-end-cu.exp
8512 * gdb.base/macscp.exp
8513 * gdb.base/pending.exp
8514 * gdb.base/watch_thread_num.exp
8515 * gdb.cp/exception.exp
8516 * gdb.cp/gdb2495.exp
8518 * gdb.python/py-evsignal.exp
8519 * gdb.python/python.exp
8520 * gdb.trace/tracecmd.exp
8522 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8524 Fix test names starting with uppercase throughout the files.
8526 * gdb.base/charset.exp
8528 * gdb.base/multi-forks.exp
8529 * gdb.guile/scm-progspace.exp
8530 * gdb.opencl/datatypes.exp
8531 * gdb.python/py-block.exp
8532 * gdb.python/py-function.exp
8533 * gdb.python/py-symbol.exp
8534 * gdb.python/py-symtab.exp
8535 * gdb.python/py-xmethods.exp
8536 * gdb.reverse/break-precsave.exp
8537 * gdb.reverse/break-reverse.exp
8538 * gdb.reverse/consecutive-precsave.exp
8539 * gdb.reverse/consecutive-reverse.exp
8540 * gdb.reverse/finish-precsave.exp
8541 * gdb.reverse/finish-reverse-bkpt.exp
8542 * gdb.reverse/finish-reverse.exp
8543 * gdb.reverse/fstatat-reverse.exp
8544 * gdb.reverse/getresuid-reverse.exp
8545 * gdb.reverse/i386-precsave.exp
8546 * gdb.reverse/i386-reverse.exp
8547 * gdb.reverse/i386-sse-reverse.exp
8548 * gdb.reverse/i387-stack-reverse.exp
8549 * gdb.reverse/insn-reverse.exp
8550 * gdb.reverse/machinestate-precsave.exp
8551 * gdb.reverse/machinestate.exp
8552 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8553 * gdb.reverse/pipe-reverse.exp
8554 * gdb.reverse/readv-reverse.exp
8555 * gdb.reverse/recvmsg-reverse.exp
8556 * gdb.reverse/rerun-prec.exp
8557 * gdb.reverse/s390-mvcle.exp
8558 * gdb.reverse/sigall-precsave.exp
8559 * gdb.reverse/sigall-reverse.exp
8560 * gdb.reverse/solib-precsave.exp
8561 * gdb.reverse/solib-reverse.exp
8562 * gdb.reverse/step-precsave.exp
8563 * gdb.reverse/step-reverse.exp
8564 * gdb.reverse/time-reverse.exp
8565 * gdb.reverse/until-precsave.exp
8566 * gdb.reverse/until-reverse.exp
8567 * gdb.reverse/waitpid-reverse.exp
8568 * gdb.reverse/watch-precsave.exp
8569 * gdb.reverse/watch-reverse.exp
8571 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8573 Fix test names starting with uppercase throughout the files.
8575 * gdb.arch/i386-mpx-simple_segv.exp
8576 * gdb.arch/i386-mpx.exp
8577 * gdb.arch/i386-permbkpt.exp
8578 * gdb.arch/pa-nullify.exp
8579 * gdb.arch/powerpc-d128-regs.exp
8580 * gdb.arch/vsx-regs.exp
8581 * gdb.base/bfp-test.exp
8582 * gdb.base/break.exp
8583 * gdb.base/breakpoint-shadow.exp
8584 * gdb.base/callfuncs.exp
8585 * gdb.base/charset.exp
8586 * gdb.base/commands.exp
8587 * gdb.base/completion.exp
8588 * gdb.base/dfp-test.exp
8590 * gdb.base/ending-run.exp
8592 * gdb.base/expand-psymtabs.exp
8593 * gdb.base/float128.exp
8594 * gdb.base/floatn.exp
8595 * gdb.base/foll-exec-mode.exp
8596 * gdb.base/gdb1056.exp
8597 * gdb.base/gdb11531.exp
8598 * gdb.base/kill-after-signal.exp
8599 * gdb.base/multi-forks.exp
8600 * gdb.base/overlays.exp
8601 * gdb.base/pending.exp
8602 * gdb.base/sepdebug.exp
8603 * gdb.base/testenv.exp
8604 * gdb.base/valgrind-db-attach.exp
8605 * gdb.base/watch_thread_num.exp
8606 * gdb.base/watchpoint-cond-gone.exp
8607 * gdb.base/watchpoint.exp
8608 * gdb.base/watchpoints.exp
8609 * gdb.cp/arg-reference.exp
8610 * gdb.cp/baseenum.exp
8611 * gdb.cp/operator.exp
8613 * gdb.dwarf2/dw2-op-out-param.exp
8614 * gdb.dwarf2/dw2-reg-undefined.exp
8617 * gdb.go/integers.exp
8618 * gdb.go/methods.exp
8619 * gdb.go/package.exp
8620 * gdb.guile/scm-parameter.exp
8621 * gdb.guile/scm-progspace.exp
8622 * gdb.guile/scm-value.exp
8623 * gdb.mi/mi-pending.exp
8624 * gdb.mi/user-selected-context-sync.exp
8625 * gdb.multi/multi-attach.exp
8626 * gdb.multi/tids.exp
8627 * gdb.opt/clobbered-registers-O2.exp
8628 * gdb.pascal/floats.exp
8629 * gdb.pascal/integers.exp
8630 * gdb.python/py-block.exp
8631 * gdb.python/py-events.exp
8632 * gdb.python/py-parameter.exp
8633 * gdb.python/py-symbol.exp
8634 * gdb.python/py-symtab.exp
8635 * gdb.python/py-type.exp
8636 * gdb.python/py-value.exp
8637 * gdb.python/py-xmethods.exp
8638 * gdb.python/python.exp
8639 * gdb.reverse/break-precsave.exp
8640 * gdb.reverse/consecutive-precsave.exp
8641 * gdb.reverse/finish-precsave.exp
8642 * gdb.reverse/i386-precsave.exp
8643 * gdb.reverse/machinestate-precsave.exp
8644 * gdb.reverse/sigall-precsave.exp
8645 * gdb.reverse/solib-precsave.exp
8646 * gdb.reverse/step-precsave.exp
8647 * gdb.reverse/until-precsave.exp
8648 * gdb.reverse/watch-precsave.exp
8649 * gdb.server/ext-attach.exp
8650 * gdb.server/ext-restart.exp
8651 * gdb.server/ext-run.exp
8652 * gdb.server/ext-wrapper.exp
8653 * gdb.stabs/gdb11479.exp
8654 * gdb.stabs/weird.exp
8655 * gdb.threads/attach-many-short-lived-threads.exp
8656 * gdb.threads/kill.exp
8657 * gdb.threads/watchpoint-fork.exp
8659 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8661 Fix test names starting with uppercase throughout all the files below.
8663 * gdb.ada/array_return.exp
8664 * gdb.ada/catch_ex.exp
8665 * gdb.ada/info_exc.exp
8666 * gdb.ada/mi_catch_ex.exp
8667 * gdb.ada/mi_dyn_arr.exp
8668 * gdb.ada/mi_ex_cond.exp
8669 * gdb.ada/mi_exc_info.exp
8670 * gdb.ada/mi_interface.exp
8671 * gdb.ada/mi_task_arg.exp
8672 * gdb.ada/mi_task_info.exp
8673 * gdb.ada/mi_var_array.exp
8674 * gdb.arch/alpha-step.exp
8675 * gdb.arch/amd64-disp-step.exp
8676 * gdb.arch/arm-disp-step.exp
8677 * gdb.arch/disp-step-insn-reloc.exp
8678 * gdb.arch/e500-prologue.exp
8679 * gdb.arch/ftrace-insn-reloc.exp
8680 * gdb.arch/gdb1558.exp
8681 * gdb.arch/i386-bp_permanent.exp
8682 * gdb.arch/i386-disp-step.exp
8683 * gdb.arch/i386-float.exp
8684 * gdb.arch/i386-gnu-cfi.exp
8685 * gdb.arch/ia64-breakpoint-shadow.exp
8686 * gdb.arch/mips16-thunks.exp
8687 * gdb.arch/pa-nullify.exp
8688 * gdb.arch/powerpc-aix-prologue.exp
8689 * gdb.arch/powerpc-power.exp
8690 * gdb.arch/ppc-dfp.exp
8691 * gdb.arch/s390-tdbregs.exp
8692 * gdb.arch/spu-info.exp
8693 * gdb.arch/spu-ls.exp
8694 * gdb.arch/thumb-bx-pc.exp
8695 * gdb.base/advance.exp
8696 * gdb.base/annota-input-while-running.exp
8697 * gdb.base/arrayidx.exp
8698 * gdb.base/asmlabel.exp
8699 * gdb.base/async.exp
8700 * gdb.base/attach-wait-input.exp
8701 * gdb.base/auto-connect-native-target.exp
8702 * gdb.base/batch-preserve-term-settings.exp
8703 * gdb.base/bfp-test.exp
8704 * gdb.base/bigcore.exp
8705 * gdb.base/bp-permanent.exp
8706 * gdb.base/break-always.exp
8707 * gdb.base/break-fun-addr.exp
8708 * gdb.base/break-idempotent.exp
8709 * gdb.base/break-main-file-remove-fail.exp
8710 * gdb.base/break-probes.exp
8711 * gdb.base/break-unload-file.exp
8712 * gdb.base/break.exp
8713 * gdb.base/call-ar-st.exp
8714 * gdb.base/call-rt-st.exp
8715 * gdb.base/call-sc.exp
8716 * gdb.base/call-signal-resume.exp
8717 * gdb.base/call-strs.exp
8718 * gdb.base/callexit.exp
8719 * gdb.base/callfuncs.exp
8720 * gdb.base/catch-gdb-caused-signals.exp
8721 * gdb.base/catch-signal-siginfo-cond.exp
8722 * gdb.base/catch-syscall.exp
8723 * gdb.base/compare-sections.exp
8724 * gdb.base/cond-eval-mode.exp
8725 * gdb.base/condbreak-call-false.exp
8726 * gdb.base/consecutive-step-over.exp
8727 * gdb.base/cursal.exp
8728 * gdb.base/disabled-location.exp
8729 * gdb.base/disasm-end-cu.exp
8730 * gdb.base/display.exp
8731 * gdb.base/double-prompt-target-event-error.exp
8732 * gdb.base/dprintf-bp-same-addr.exp
8733 * gdb.base/dprintf-detach.exp
8734 * gdb.base/dprintf-next.exp
8735 * gdb.base/dprintf-non-stop.exp
8736 * gdb.base/dprintf-pending.exp
8737 * gdb.base/dso2dso.exp
8738 * gdb.base/ending-run.exp
8739 * gdb.base/enum_cond.exp
8740 * gdb.base/examine-backward.exp
8741 * gdb.base/exe-lock.exp
8742 * gdb.base/exec-invalid-sysroot.exp
8743 * gdb.base/execl-update-breakpoints.exp
8744 * gdb.base/execution-termios.exp
8745 * gdb.base/fileio.exp
8746 * gdb.base/fixsection.exp
8747 * gdb.base/foll-exec-mode.exp
8748 * gdb.base/foll-exec.exp
8749 * gdb.base/fork-running-state.exp
8750 * gdb.base/frame-args.exp
8751 * gdb.base/fullpath-expand.exp
8752 * gdb.base/func-ptr.exp
8753 * gdb.base/gcore-relro-pie.exp
8754 * gdb.base/gdb1090.exp
8755 * gdb.base/gdb1555.exp
8756 * gdb.base/global-var-nested-by-dso.exp
8757 * gdb.base/gnu-ifunc.exp
8758 * gdb.base/hbreak-in-shr-unsupported.exp
8759 * gdb.base/hbreak-unmapped.exp
8760 * gdb.base/hook-stop.exp
8761 * gdb.base/infcall-input.exp
8762 * gdb.base/info-fun.exp
8763 * gdb.base/info-shared.exp
8764 * gdb.base/interrupt-noterm.exp
8765 * gdb.base/jit-so.exp
8767 * gdb.base/line-symtabs.exp
8769 * gdb.base/longjmp.exp
8770 * gdb.base/macscp.exp
8771 * gdb.base/max-value-size.exp
8772 * gdb.base/nodebug.exp
8773 * gdb.base/nofield.exp
8774 * gdb.base/overlays.exp
8775 * gdb.base/paginate-after-ctrl-c-running.exp
8776 * gdb.base/paginate-bg-execution.exp
8777 * gdb.base/paginate-inferior-exit.exp
8778 * gdb.base/pending.exp
8779 * gdb.base/pr11022.exp
8780 * gdb.base/printcmds.exp
8781 * gdb.base/ptr-typedef.exp
8782 * gdb.base/ptype.exp
8783 * gdb.base/randomize.exp
8784 * gdb.base/range-stepping.exp
8785 * gdb.base/realname-expand.exp
8786 * gdb.base/relativedebug.exp
8787 * gdb.base/remote.exp
8788 * gdb.base/savedregs.exp
8789 * gdb.base/sepdebug.exp
8790 * gdb.base/set-noassign.exp
8791 * gdb.base/shlib-call.exp
8792 * gdb.base/shreloc.exp
8793 * gdb.base/sigaltstack.exp
8794 * gdb.base/sigbpt.exp
8795 * gdb.base/siginfo-addr.exp
8796 * gdb.base/siginfo-obj.exp
8797 * gdb.base/siginfo-thread.exp
8798 * gdb.base/signest.exp
8799 * gdb.base/signull.exp
8800 * gdb.base/sigrepeat.exp
8802 * gdb.base/so-impl-ld.exp
8803 * gdb.base/solib-corrupted.exp
8804 * gdb.base/solib-disc.exp
8805 * gdb.base/solib-display.exp
8806 * gdb.base/solib-overlap.exp
8807 * gdb.base/solib-search.exp
8808 * gdb.base/solib-symbol.exp
8809 * gdb.base/source-execution.exp
8810 * gdb.base/sss-bp-on-user-bp-2.exp
8811 * gdb.base/sss-bp-on-user-bp.exp
8812 * gdb.base/stack-checking.exp
8813 * gdb.base/stale-infcall.exp
8814 * gdb.base/step-break.exp
8815 * gdb.base/step-line.exp
8816 * gdb.base/step-over-exit.exp
8817 * gdb.base/step-test.exp
8818 * gdb.base/structs.exp
8819 * gdb.base/sym-file.exp
8820 * gdb.base/symtab-search-order.exp
8822 * gdb.base/type-opaque.exp
8823 * gdb.base/unload.exp
8824 * gdb.base/until-nodebug.exp
8825 * gdb.base/until.exp
8826 * gdb.base/unwindonsignal.exp
8827 * gdb.base/watch-cond.exp
8828 * gdb.base/watch-non-mem.exp
8829 * gdb.base/watch_thread_num.exp
8830 * gdb.base/watchpoint-reuse-slot.exp
8831 * gdb.base/watchpoint-solib.exp
8832 * gdb.base/watchpoint.exp
8833 * gdb.btrace/dlopen.exp
8835 * gdb.cell/break.exp
8839 * gdb.cell/dwarfaddr.exp
8840 * gdb.cell/ea-cache.exp
8841 * gdb.cell/ea-standalone.exp
8842 * gdb.cell/ea-test.exp
8843 * gdb.cell/f-regs.exp
8845 * gdb.cell/gcore.exp
8846 * gdb.cell/mem-access.exp
8847 * gdb.cell/ptype.exp
8848 * gdb.cell/registers.exp
8849 * gdb.cell/sizeof.exp
8850 * gdb.cell/solib-symbol.exp
8851 * gdb.cell/solib.exp
8852 * gdb.compile/compile-tls.exp
8853 * gdb.cp/exception.exp
8854 * gdb.cp/gdb2495.exp
8856 * gdb.cp/mb-inline.exp
8857 * gdb.cp/mb-templates.exp
8858 * gdb.cp/pr10687.exp
8860 * gdb.cp/scope-err.exp
8861 * gdb.cp/templates.exp
8862 * gdb.cp/virtfunc.exp
8863 * gdb.dwarf2/dw2-dir-file-name.exp
8864 * gdb.dwarf2/dw2-single-line-discriminators.exp
8865 * gdb.fortran/complex.exp
8866 * gdb.fortran/library-module.exp
8867 * gdb.guile/guile.exp
8868 * gdb.guile/scm-cmd.exp
8869 * gdb.guile/scm-frame-inline.exp
8870 * gdb.guile/scm-objfile.exp
8871 * gdb.guile/scm-pretty-print.exp
8872 * gdb.guile/scm-symbol.exp
8873 * gdb.guile/scm-type.exp
8874 * gdb.guile/scm-value.exp
8875 * gdb.linespec/keywords.exp
8876 * gdb.linespec/ls-errs.exp
8877 * gdb.linespec/macro-relative.exp
8878 * gdb.linespec/thread.exp
8879 * gdb.mi/mi-breakpoint-changed.exp
8880 * gdb.mi/mi-dprintf-pending.exp
8881 * gdb.mi/mi-fullname-deleted.exp
8882 * gdb.mi/mi-logging.exp
8883 * gdb.mi/mi-pending.exp
8884 * gdb.mi/mi-solib.exp
8885 * gdb.mi/new-ui-mi-sync.exp
8886 * gdb.mi/user-selected-context-sync.exp
8887 * gdb.multi/dummy-frame-restore.exp
8888 * gdb.multi/multi-arch-exec.exp
8889 * gdb.multi/remove-inferiors.exp
8890 * gdb.multi/watchpoint-multi-exit.exp
8891 * gdb.opt/solib-intra-step.exp
8892 * gdb.perf/backtrace.exp
8893 * gdb.perf/single-step.exp
8894 * gdb.perf/skip-command.exp
8895 * gdb.perf/skip-prologue.exp
8896 * gdb.perf/solib.exp
8897 * gdb.python/lib-types.exp
8898 * gdb.python/py-as-string.exp
8899 * gdb.python/py-bad-printers.exp
8900 * gdb.python/py-block.exp
8901 * gdb.python/py-breakpoint.exp
8902 * gdb.python/py-cmd.exp
8903 * gdb.python/py-events.exp
8904 * gdb.python/py-evthreads.exp
8905 * gdb.python/py-finish-breakpoint.exp
8906 * gdb.python/py-finish-breakpoint2.exp
8907 * gdb.python/py-frame-inline.exp
8908 * gdb.python/py-frame.exp
8909 * gdb.python/py-inferior.exp
8910 * gdb.python/py-infthread.exp
8911 * gdb.python/py-mi.exp
8912 * gdb.python/py-objfile.exp
8913 * gdb.python/py-pp-maint.exp
8914 * gdb.python/py-pp-registration.exp
8915 * gdb.python/py-prettyprint.exp
8916 * gdb.python/py-recurse-unwind.exp
8917 * gdb.python/py-shared.exp
8918 * gdb.python/py-symbol.exp
8919 * gdb.python/py-symtab.exp
8920 * gdb.python/py-template.exp
8921 * gdb.python/py-type.exp
8922 * gdb.python/py-unwind-maint.exp
8923 * gdb.python/py-unwind.exp
8924 * gdb.python/py-value.exp
8925 * gdb.python/python.exp
8926 * gdb.reverse/finish-reverse-bkpt.exp
8927 * gdb.reverse/insn-reverse.exp
8928 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8929 * gdb.reverse/solib-precsave.exp
8930 * gdb.reverse/solib-reverse.exp
8931 * gdb.stabs/gdb11479.exp
8932 * gdb.stabs/weird.exp
8933 * gdb.threads/fork-child-threads.exp
8934 * gdb.threads/fork-plus-threads.exp
8935 * gdb.threads/fork-thread-pending.exp
8936 * gdb.threads/forking-threads-plus-breakpoint.exp
8937 * gdb.threads/hand-call-in-threads.exp
8938 * gdb.threads/interrupted-hand-call.exp
8939 * gdb.threads/linux-dp.exp
8940 * gdb.threads/local-watch-wrong-thread.exp
8941 * gdb.threads/next-while-other-thread-longjmps.exp
8942 * gdb.threads/non-ldr-exit.exp
8943 * gdb.threads/pending-step.exp
8944 * gdb.threads/print-threads.exp
8945 * gdb.threads/process-dies-while-detaching.exp
8946 * gdb.threads/process-dies-while-handling-bp.exp
8947 * gdb.threads/pthreads.exp
8948 * gdb.threads/queue-signal.exp
8949 * gdb.threads/reconnect-signal.exp
8950 * gdb.threads/signal-command-handle-nopass.exp
8951 * gdb.threads/signal-command-multiple-signals-pending.exp
8952 * gdb.threads/signal-delivered-right-thread.exp
8953 * gdb.threads/signal-sigtrap.exp
8954 * gdb.threads/sigthread.exp
8955 * gdb.threads/staticthreads.exp
8956 * gdb.threads/stepi-random-signal.exp
8957 * gdb.threads/thread-unwindonsignal.exp
8958 * gdb.threads/thread_check.exp
8959 * gdb.threads/thread_events.exp
8960 * gdb.threads/tid-reuse.exp
8961 * gdb.threads/tls-nodebug.exp
8962 * gdb.threads/tls-shared.exp
8963 * gdb.threads/tls-so_extern.exp
8964 * gdb.threads/tls.exp
8965 * gdb.threads/wp-replication.exp
8966 * gdb.trace/actions-changed.exp
8967 * gdb.trace/actions.exp
8968 * gdb.trace/backtrace.exp
8969 * gdb.trace/change-loc.exp
8970 * gdb.trace/collection.exp
8971 * gdb.trace/deltrace.exp
8972 * gdb.trace/disconnected-tracing.exp
8973 * gdb.trace/entry-values.exp
8974 * gdb.trace/ftrace-lock.exp
8975 * gdb.trace/ftrace.exp
8976 * gdb.trace/infotrace.exp
8977 * gdb.trace/mi-trace-frame-collected.exp
8978 * gdb.trace/mi-trace-unavailable.exp
8979 * gdb.trace/mi-traceframe-changed.exp
8980 * gdb.trace/mi-tracepoint-changed.exp
8981 * gdb.trace/mi-tsv-changed.exp
8982 * gdb.trace/no-attach-trace.exp
8983 * gdb.trace/packetlen.exp
8984 * gdb.trace/passc-dyn.exp
8985 * gdb.trace/passcount.exp
8986 * gdb.trace/pending.exp
8987 * gdb.trace/pr16508.exp
8988 * gdb.trace/qtro.exp
8989 * gdb.trace/range-stepping.exp
8990 * gdb.trace/read-memory.exp
8991 * gdb.trace/report.exp
8992 * gdb.trace/save-trace.exp
8993 * gdb.trace/signal.exp
8994 * gdb.trace/stap-trace.exp
8995 * gdb.trace/status-stop.exp
8996 * gdb.trace/strace.exp
8997 * gdb.trace/tfile.exp
8998 * gdb.trace/tfind.exp
8999 * gdb.trace/trace-break.exp
9000 * gdb.trace/trace-condition.exp
9001 * gdb.trace/trace-enable-disable.exp
9002 * gdb.trace/trace-mt.exp
9003 * gdb.trace/tracecmd.exp
9004 * gdb.trace/tracefile-pseudo-reg.exp
9005 * gdb.trace/tspeed.exp
9006 * gdb.trace/tstatus.exp
9008 * gdb.trace/unavailable.exp
9009 * gdb.trace/while-dyn.exp
9010 * gdb.trace/while-stepping.exp
9013 * lib/mi-support.exp
9016 * lib/prelink-support.exp
9017 * lib/selftest-support.exp
9019 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9021 * Makefile.in: Include disable-implicit-rules.mk.
9023 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9025 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9026 non-byte-aligned bit fields.
9028 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9031 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9032 respects the DW_AT_data_bit_offset attribute.
9034 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9036 * gdb.base/default.exp: Fix output of "set language".
9038 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9040 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9041 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9043 * configure.ac: Remove checks for the make program.
9044 * configure: Re-generate.
9046 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9048 * gdb.python/py-recurse-unwind.c (main): Add loop.
9049 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9050 to read_register() and gdb.parse_and_eval(). Make each code
9051 call a separate case that can be individually tested.
9052 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9053 proc. Call cont_and_backtrace for each of the code paths that
9054 we want to test in the unwinder.
9056 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9058 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9059 the definition of struct S.
9061 2016-11-11 Catherine Moore <clm@codesourcery.com>
9063 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9065 2016-11-09 Pedro Alves <palves@redhat.com>
9067 * gdb.base/commands.exp (runto_or_return): New procedure.
9068 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9069 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9070 (progvar_simple_while_test, progvar_complex_if_while_test)
9071 (if_while_breakpoint_command_test)
9072 (infrun_breakpoint_command_test, breakpoint_command_test)
9073 (user_defined_command_test, watchpoint_command_test)
9074 (test_command_prompt_position, redefine_hook_test)
9075 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9076 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9077 multi_line_input and multi_line. Remove gdb_expect and
9078 gdb_stop_suppressing_tests uses.
9079 * lib/gdb.exp (valnum_re): New global.
9080 (multi_line_input): New procedure.
9082 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9084 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9086 (test_setup): Define with proc_with_prefix.
9087 (test_cli_inferior): Likewise.
9088 (test_cli_thread): Likewise.
9089 (test_cli_frame): Likewise.
9090 (test_cli_select_frame): Likewise.
9091 (test_cli_up_down): Likewise.
9092 (test_mi_thread_select): Likewise.
9093 (test_mi_stack_select_frame): Likewise.
9094 (test_cli_in_mi_inferior): Likewise.
9095 (test_cli_in_mi_thread): Likewise.
9096 (test_cli_in_mi_frame): Likewise.
9097 (top level): Do not use with_test_prefix_procname.
9099 2016-11-09 Pedro Alves <palves@redhat.com>
9101 * gdb.base/commands.exp (gdbvar_simple_if_test)
9102 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9103 (progvar_simple_if_test, progvar_simple_while_test)
9104 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9105 (infrun_breakpoint_command_test, breakpoint_command_test)
9106 (user_defined_command_test, watchpoint_command_test)
9107 (test_command_prompt_position, deprecated_command_test)
9108 (bp_deleted_in_command, temporary_breakpoint_commands)
9109 (stray_arg0_test, source_file_with_indented_comment)
9110 (recursive_source_test, if_commands_test)
9111 (error_clears_commands_left, redefine_hook_test)
9112 (redefine_backtrace_test): Use proc_with_prefix.
9113 * lib/gdb.exp (proc_with_prefix): New proc.
9115 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9117 * gdb.base/tui-layout.c: New file.
9118 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9119 disassembly window contains very long lines.
9121 2016-11-08 Tom Tromey <tom@tromey.com>
9123 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9126 2016-11-08 Tom Tromey <tom@tromey.com>
9128 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9131 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9133 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9135 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9137 * gdb.rust/simple.rs: Add test for univariant enums without
9138 discriminants and for encoded struct-like enums.
9140 2016-10-28 Pedro Alves <palves@redhat.com>
9142 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9143 gdb_test_multiple, tighten regexps and match symtabs and line
9144 tables incrementally.
9146 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9148 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9151 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9153 * gdb.base/exec-invalid-sysroot.exp: New file.
9155 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9157 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9159 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9161 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9163 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9165 * gdb.base/killed-outside.exp: Remove $options from a call to
9166 `prepare_for_testing'.
9168 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9170 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9171 Change test message.
9173 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9175 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9178 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9180 * gdb.trace/mi-trace-save.exp: New file.
9182 2016-10-13 Yao Qi <yao.qi@linaro.org>
9184 * gdb.base/code_elim.exp (get_var_address): Remove.
9185 * gdb.base/relocate.exp: Likewise.
9186 * gdb.base/shreloc.exp: Likewise.
9187 * lib/gdb.exp (get_var_address): New.
9189 2016-10-13 Yao Qi <yao.qi@linaro.org>
9191 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9192 floating point tests if $skip_float_test is false.
9194 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9196 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9197 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9199 Add 1 to argc so we guarantee distinct initial/modified argc values.
9201 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9203 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9205 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9207 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9208 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9209 * gdb.arch/vsx-regs.exp: Likewise.
9211 2016-10-07 Yao Qi <yao.qi@linaro.org>
9213 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9215 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9217 * gdb.python/python.exp: Test decode_line("*0").
9219 2016-10-06 Doug Evans <dje@google.com>
9221 * gdb.python/py-value.exp (test_value_creation): Add test for large
9222 unsigned 64-bit value.
9224 2016-10-06 Tom Tromey <tom@tromey.com>
9226 * gdb.compile/compile.exp: Change java tests to rust.
9227 * gdb.base/setshow.exp: Change java tests to rust.
9228 * gdb.base/default.exp: Remove java from language list.
9229 * README (Examples): Update language example.
9230 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9232 * lib/gdb.exp (skip_java_tests): Remove.
9233 * lib/java.exp: Remove.
9236 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9238 * gdb.arch/mips-fcr.exp: New test.
9239 * gdb.arch/mips-fcr.c: Source for the new test.
9241 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9243 * gdb.base/solib-disc.exp: Use `standard_output_file'
9246 2016-10-06 Pedro Alves <palves@redhat.com>
9248 * gdb.base/jit-simple-dl.c: New file.
9249 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9250 * gdb.base/jit-simple.c: ... this.
9251 * gdb.base/jit-simple.exp (jit_run): Delete.
9252 (build_jit): New proc.
9253 (jit_test_reread): Recompile either the main program or the shared
9254 library, depending on what is being tested. Skip changing address
9255 if caller wants to. Compare before/after addresses. If testing
9256 standalone, explicitly load the binary. Test "maint info
9258 (top level): Add "standalone vs shared lib" and "change address"
9259 vs "same address" axes.
9261 2016-10-06 Pedro Alves <palves@redhat.com>
9263 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9266 (jit_test_reread): Use with_test_prefix. Reload the main binary
9267 explicitly. Compare the before/after addresses of the JIT
9270 2016-08-15 Doug Evans <dje@google.com>
9272 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9273 for single bitfields is bool.
9274 * gdb.xml/tdesc-regs.exp: Ditto.
9276 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9278 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9280 2016-10-05 Yao Qi <yao.qi@linaro.org>
9282 * lib/gdb.exp (support_complex_tests): Return zero if
9283 gdb_skip_float_test return true.
9285 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9286 Simon Marchi <simon.marchi@ericsson.com>
9289 * gdb.mi/user-selected-context-sync.exp: New file.
9290 * gdb.mi/user-selected-context-sync.c: New file.
9292 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9293 Simon Marchi <simon.marchi@ericsson.com>
9296 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9297 =thread-select-event check.
9299 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9301 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9302 the compulsory L operand changes.
9303 * gdb.arch/powerpc-power.s: Likewise.
9305 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9307 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9308 * gdb.base/jit-attach-pie.c: New file.
9309 * gdb.base/jit-attach-pie.exp: New file.
9311 2016-09-28 Pedro Alves <palves@redhat.com>
9313 * gdb.base/infcall-input.c: New file.
9314 * gdb.base/infcall-input.exp: New file.
9316 2016-09-22 Yao Qi <yao.qi@linaro.org>
9318 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9319 (gdb_exit): Rename it to ...
9320 (gdbserver_gdb_exit): ... Close GDBserver.
9321 (gdb_exit): New proc, call gdbserver_gdb_exit.
9322 (mi_gdb_exit): Likewise.
9324 2016-09-22 Yao Qi <yao.qi@linaro.org>
9326 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9328 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9331 2016-09-22 Yao Qi <yao.qi@linaro.org>
9333 * lib/gdbserver-support.exp: Check the existence of
9334 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9336 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9338 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9340 2016-09-21 Tom Tromey <tom@tromey.com>
9343 * gdb.base/quit.exp: New file.
9345 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9347 * .gitignore: New file.
9349 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9351 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9354 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9356 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9358 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9360 * gdb.cp/casts.cc (decltype): Move it ...
9361 (main): ... with its call to ...
9362 * gdb.cp/casts03.cc: ... a new file.
9363 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9365 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9367 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9369 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9371 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9372 and sync up the test with tests in gas/testsuite/gas/ppc.
9373 * gdb.arch/powerpc-power.exp: Likewise.
9375 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9377 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9379 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9380 Jan Kratochvil <jan.kratochvil@redhat.com>
9382 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9383 make m1's definition to be different from m2's. Use 'dummy' as an
9384 argument for probe 'two'.
9386 2016-09-10 Jon Beniston <jon@beniston.com>
9388 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9391 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9393 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9394 variable declaration.
9395 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9396 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9397 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9398 received HWCAP as its argument.
9400 2016-09-06 Pedro Alves <palves@redhat.com>
9402 * gdb.base/new-ui-pending-input.c: New file.
9403 * gdb.base/new-ui-pending-input.exp: New file.
9404 * gdb.exp (clear_gdb_spawn_id): New procedure.
9405 (with_spawn_id): Check whether gdb_spawn_id exists before
9406 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9409 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9411 * gdb.base/float128.c: New file.
9412 * gdb.base/float128.exp: Likewise.
9413 * gdb.base/floatn.c: Likewise.
9414 * gdb.base/floatn.exp: Likewise.
9416 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9418 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9420 2016-09-05 Pedro Alves <palves@redhat.com>
9423 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9424 unwinders are immediately called as side effect of "source" or
9425 "disable unwinder" commands.
9426 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9428 2016-09-02 Yao Qi <yao.qi@linaro.org>
9430 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9431 is true and $type is "float" or "double".
9433 2016-09-02 Yao Qi <yao.qi@linaro.org>
9435 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9437 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9438 * gdb.base/call-rt-st.exp: Likewise.
9439 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9440 return value instead of gdb,skip_float_test.
9441 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9442 (do_function_calls): Use its return value instead of
9443 gdb,skip_float_test.
9444 * gdb.base/finish.exp: Likewise.
9445 * gdb.base/funcargs.exp: Likewise.
9446 * gdb.base/return.exp: Likewise.
9447 * gdb.base/return2.exp: Likewise.
9448 * gdb.base/varargs.exp: Likewise.
9449 * lib/gdb.exp (gdb_skip_float_test): Change it to
9450 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9452 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9454 * gdb.multi/tids.exp: Test "thread apply all".
9456 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9458 * gdb.base/default.exp (tty): Remove.
9460 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9462 * gdb.python/py-recurse-unwind.c: New file.
9463 * gdb.python/py-recurse-unwind.py: New file.
9464 * gdb.python/py-recurse-unwind.exp: New file.
9466 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9468 * gdb.base/set-inferior-tty.exp: New file.
9469 * gdb.base/set-inferior-tty.c: New file.
9471 2016-08-23 Pedro Alves <palves@redhat.com>
9474 * gdb.base/new-ui-echo.c: New file.
9475 * gdb.base/new-ui-echo.exp: New file.
9477 2016-08-23 Yao Qi <yao.qi@linaro.org>
9479 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9481 * gdb.server/connect-without-multi-process.exp (do_test):
9484 2016-08-23 Yao Qi <yao.qi@linaro.org>
9486 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9487 standalone_txt. Delete gdb_txt and standalone_txt on host
9488 and target. Spawn the binary on target. Copy files from
9491 2016-08-22 Pedro Alves <palves@redhat.com>
9494 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9495 with_test_prefix. Factor out bits to ...
9496 (test_no_vdso): ... this new procedure.
9498 2016-08-19 Carl Love <cel@us.ibm.com>
9500 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9501 maintaining separate logic for constructing the output path.
9502 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9503 * gdb.arch/ppc-dfp.exp: Likewise.
9504 * gdb.arch/ppc-fp.exp: Likewise.
9505 * gdb.arch/vsx-regs.exp: Likewise.
9506 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9507 binprefix for generating the additional binary files.
9509 2016-08-19 Pedro Alves <palves@redhat.com>
9511 * gdb.trace/mi-trace-frame-collected.exp
9512 (test_trace_frame_collected): On x32, expect two registers.
9514 2016-08-18 Carl Love <cel@us.ibm.com>
9516 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9517 and sync up the test with tests in gas/testsuite/gas/ppc.
9518 * gdb.arch/powerpc-power.exp: Likewise.
9520 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9522 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9523 expected error message.
9525 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9527 * gdb.multi/remove-inferiors.exp: New file.
9528 * gdb.multi/remove-inferiors.c: New file.
9530 2016-08-12 Yao Qi <yao.qi@linaro.org>
9532 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9535 2016-08-10 Pedro Alves <palves@redhat.com>
9538 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9541 2016-08-09 Pedro Alves <palves@redhat.com>
9542 Simon Marchi <simon.marchi@ericsson.com>
9545 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9546 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9548 2016-08-09 Pedro Alves <palves@redhat.com>
9551 * gdb.mi/mi-cmd-error.exp: New file.
9553 2016-08-09 Pedro Alves <palves@redhat.com>
9556 * gdb.base/signals-state-child.c: New file.
9557 * gdb.base/signals-state-child.exp: New file.
9558 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9560 2016-08-09 Pedro Alves <palves@redhat.com>
9562 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9564 2016-08-03 Tom Tromey <tom@tromey.com>
9567 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9569 2016-08-01 Yao Qi <yao.qi@linaro.org>
9571 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9572 variable mode to "multi-process" if $multi_process is 1, otherwise
9573 set it to "single-process".
9575 2016-08-01 Yao Qi <yao.qi@linaro.org>
9577 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9578 * gdb.cp/cpexprs.exp: Likewise.
9579 * gdb.cp/m-static.exp: Likewise.
9581 2016-07-26 Tom Tromey <tom@tromey.com>
9584 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9587 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9589 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9590 selecting assembly source files.
9591 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9592 assembly source files.
9593 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9594 assembly source files.
9595 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9596 selecting assembly source files.
9598 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9600 * gdb.base/new-ui.exp (do_test_invalid_args): New
9603 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9605 * gdb.btrace/reconnect.c: New file.
9606 * gdb.btrace/reconnect.exp: New file.
9608 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9610 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9611 to test_catch_syscall_group.
9612 (test_catch_syscall_group): New.
9614 2016-07-21 Tom Tromey <tom@tromey.com>
9616 * gdb.rust/simple.rs (main): Use empty struct expression.
9617 * gdb.rust/simple.exp: Add tests for empty struct expression.
9619 2016-07-21 Yao Qi <yao.qi@linaro.org>
9621 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9622 if gdb_skip_xml_test is true on some targets.
9624 2016-07-21 Yao Qi <yao.qi@linaro.org>
9626 * gdb.server/solib-list.exp: Unset last_loaded_file.
9628 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9630 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9631 "step into captured_main (args)".
9633 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9635 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9637 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9639 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9641 2016-07-19 Pedro Alves <palves@redhat.com>
9643 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9644 * gdb.opt/inline-bt.exp: Likewise.
9645 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9646 additional_flags=-Winline.
9647 * gdb.opt/inline-locals.exp: Likewise.
9648 * gdb.opt/inline-markers.c (ATTR): Define.
9649 (inlined_fn): Use it.
9651 2016-07-19 Yao Qi <yao.qi@linaro.org>
9653 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9654 (test_with_self): Remove some code. Remove argument executable.
9655 (top-level): Use do_self_tests.
9657 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9658 Don Breazeal <donb@codesourcery.com>
9660 * gdb.base/maint.exp: Escape paths used in regular expressions.
9661 * gdb.stabs/weird.exp: Likewise.
9663 2016-07-13 Tom Tromey <tom@tromey.com>
9665 PR python/15620, PR python/18620:
9666 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9667 (test_bkpt_events): New procs.
9669 2016-07-13 Tom Tromey <tom@tromey.com>
9672 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9674 (test_watchpoints): Likewise.
9675 (test_bkpt_pending): New proc.
9677 2016-07-13 Tom Tromey <tom@tromey.com>
9680 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9683 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9685 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9686 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9687 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9689 (g): Rename g_end_lbl to g_label.
9690 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9692 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9694 2016-07-12 Tom Tromey <tom@tromey.com>
9697 * gdb.python/py-unwind-maint.exp: Update tests.
9699 2016-07-12 Yao Qi <yao.qi@linaro.org>
9701 * lib/selftest-support.exp (selftest_setup): Match the output
9702 when captured_main is inlined.
9704 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9706 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9708 (print this%a, print this%b, print this): New tests.
9709 * gdb.fortran/derived-types.f90 (this): New object and
9712 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9714 * gdb.ada/arraydim.exp: Remove extra directory level in build
9717 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9719 * lib/ada.exp: Remove extra directory level in build directory.
9720 * gdb.ada/cond_lang.exp: Likewise.
9721 * gdb.ada/exec_changed.exp: Likewise.
9722 * gdb.ada/lang_switch.exp: Likewise.
9724 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9726 * simple.rs: Add test for raw pointer subscripting.
9727 * simple.exp: Add test expectations.
9729 2016-07-05 Yao Qi <yao.qi@linaro.org>
9731 * gdb.mi/mi-reverse.exp: Match =record-started output.
9733 2016-07-01 Pedro Alves <palves@redhat.com>
9735 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9737 (jit_reader_test): Test the jit reader's unwinder.
9738 * gdb.base/jithost.c (jit_function_00_code): New global.
9739 (main): Use memcpy to fill in the mmapped code, instead of poking
9740 bytes manually here.
9741 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9743 (read_debug_info): Save the function's range.
9744 (read_sp): New function.
9745 (unwind_frame): Use it. Also unwind RBP.
9746 (get_frame_id): Use read_sp.
9747 (gdb_init_reader): Use calloc instead of malloc.
9748 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9749 parameter. Use gdb_test_multiple.
9751 2016-07-01 Pedro Alves <palves@redhat.com>
9752 Antoine Tremblay <antoine.tremblay@ericsson.com>
9754 * gdb.threads/process-dies-while-detaching.c: New file.
9755 * gdb.threads/process-dies-while-detaching.exp: New file.
9757 2016-07-01 Pedro Alves <palves@redhat.com>
9759 * gdb.multi/watchpoint-multi-exit.c: New file.
9760 * gdb.multi/watchpoint-multi-exit.exp: New file.
9762 2016-06-30 Pedro Alves <palves@redhat.com>
9764 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9765 unset inferior_spawn_id.
9767 2016-06-30 Pedro Alves <palves@redhat.com>
9769 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9770 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9772 2016-06-29 Yao Qi <yao.qi@linaro.org>
9774 * gdb.base/return.c: Add copyright header.
9776 2016-06-29 Tom Tromey <tom@tromey.com>
9779 * gdb.python/py-framefilter.exp: Add tests for setting priority
9780 and disabling of non-existent frame filter.
9782 2016-06-29 Yao Qi <yao.qi@linaro.org>
9784 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9787 2016-06-28 Yao Qi <yao.qi@linaro.org>
9789 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9790 triplets. Start gdb, execute catch syscall, and continue. Check
9791 gdb's output to determine catch syscall is supported.
9793 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9795 * gdb.rust/simple.rs: Add test for returning unit in a function.
9796 * gdb.rust/simple.exp: Add expectation for functions returning
9799 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9801 * gdb.python/py-breakpoint-create-fail.c,
9802 gdb.python/py-breakpoint-create-fail.exp,
9803 gdb.python/py-breakpoint-create-fail.py: New testcase.
9805 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9808 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9809 * gdb.rust/simple.exp: Add test expectations for new NonZero
9812 2016-06-24 David Taylor <dtaylor@emc.com>
9814 * gdb.base/offsets.exp: New file.
9815 * gdb.base/offsets.c: New file.
9817 2016-06-23 Tom Tromey <tom@tromey.com>
9820 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9821 before any filters are loaded.
9823 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9825 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9826 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9828 * gdb.fortran/derived-type-function.exp: New file.
9829 * gdb.fortran/derived-type-function.f90: New file.
9832 2016-06-21 Pedro Alves <palves@redhat.com>
9834 * gdb.base/new-ui.exp: New file.
9835 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9836 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9837 (with_spawn_id): New procedure.
9839 2016-06-21 Pedro Alves <palves@redhat.com>
9841 * gdb.mi/mi-exec-run.exp: New file.
9843 2016-06-21 Pedro Alves <palves@redhat.com>
9845 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9846 breakpoint command's output on the main UI.
9847 (test_break): New procedure, factored out from calls in the top
9849 (top level): Use foreach_with_prefix to test MI as main UI and as
9852 2016-06-21 Pedro Alves <palves@redhat.com>
9854 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9855 (test_awatch_creation_and_listing)
9856 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9857 Remove 'type' parameter.
9858 (test_watchpoint_all): New parameter mi_mode. Remove
9860 (top level): Use foreach_with_prefix, and add main/separate UI MI
9863 2016-06-21 Pedro Alves <palves@redhat.com>
9865 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9866 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9867 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9868 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9869 (gdb_main_spawn_id, mi_spawn_id): Declare and
9871 (mi_create_inferior_pty): New procedure,
9872 factored out from default_mi_gdb_start.
9873 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9875 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9876 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9877 Use mi_create_inferior_pty.
9878 (mi_gdb_start): Use eval to pass down args list.
9880 2016-06-21 Pedro Alves <palves@redhat.com>
9882 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9883 * gdb.opt/inline-cmds.exp: Add MI tests.
9885 2016-06-21 Pedro Alves <palves@redhat.com>
9887 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9889 2016-06-21 Pedro Alves <palves@redhat.com>
9891 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9892 (top level): Use it instead of mi_execute_to.
9894 2016-06-21 Pedro Alves <palves@redhat.com>
9896 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9897 (cont_handler_str): New.
9898 (signal_stop_handler): Set stop_handler_str instead of printing to
9900 (continue_handler): Set cont_handler_str instead of printing to
9902 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9903 mi_send_resuming_command. Print stop_handler_str and
9904 cont_handler_str instead of expecting the python events print
9907 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9909 * gdb.base/jit-reader.exp: New file.
9910 * gdb.base/jithost.c: New file.
9911 * gdb.base/jithost.h: New file.
9912 * gdb.base/jitreader.c : New file.
9913 * gdb.base/jit-protocol.h: New file.
9915 2016-06-17 Yao Qi <yao.qi@linaro.org>
9917 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9918 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9919 and detach-on-fork. Adjust tests.
9920 (top level): Invoke break_cond_on_syscall with combinations of
9921 syscall, follow-fork-mode and detach-on-fork.
9923 2016-06-17 Yao Qi <yao.qi@linaro.org>
9925 * gdb.base/step-over-exit.c: New.
9926 * gdb.base/step-over-exit.exp: New.
9928 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9930 * gdb.base/float.exp: Add target check for nds32*-*-*.
9931 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9933 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9935 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9936 for unsupported target features.
9937 * gdb.base/call-rt-st.exp: Likewise.
9938 * gdb.base/call-sc.exp: Likewise.
9939 * gdb.base/call-signal-resume.exp: Likewise.
9940 * gdb.base/call-strs.exp: Likewise.
9941 * gdb.base/callexit.exp: Likewise.
9942 * gdb.base/callfuncs.exp: Likewise.
9943 * gdb.base/nodebug.exp: Likewise.
9944 * gdb.base/printcmds.exp: Likewise.
9945 * gdb.base/ptype.exp: Likewise.
9946 * gdb.base/structs.exp: Likewise.
9947 * gdb.base/unwindonsignal.exp: Likewise.
9948 * gdb.cp/gdb2495.exp: Likewise.
9949 * gdb.cp/templates.exp: Likewise.
9950 * gdb.cp/virtfunc.exp: Likewise.
9951 * gdb.threads/hand-call-in-threads.exp: Likewise.
9952 * gdb.threads/interrupted-hand-call.exp: Likewise.
9953 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9955 2016-06-10 Tom Tromey <tom@tromey.com>
9958 * gdb.rust/expr.exp: Add test for integer constant larger than
9961 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9963 * gdb.fortran/nested-funcs.exp: New.
9964 * gdb.fortran/nested-funcs.f90: New.
9966 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9968 * gdb.base/examine-backward.c: New file.
9969 * gdb.base/examine-backward.exp: New file.
9971 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9973 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9976 2016-06-02 Tom Tromey <tom@tromey.com>
9979 * gdb.python/py-shared.exp: Add solib_name test.
9981 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9983 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9985 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9988 * gdb.dwarf2/implref.exp: Rename to...
9989 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9990 * gdb.dwarf2/implref-array.c: New file.
9991 * gdb.dwarf2/implref-array.exp: Likewise.
9992 * gdb.dwarf2/implref-global.c: Likewise.
9993 * gdb.dwarf2/implref-global.exp: Likewise.
9994 * gdb.dwarf2/implref-struct.c: Likewise.
9995 * gdb.dwarf2/implref-struct.exp: Likewise.
9997 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9999 * gdb.trace/trace-condition.exp: Add 64bit tests.
10001 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10003 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10005 (main): Adapt to 8 to 64 bits types.
10006 * gdb.trace/trace-condition.exp: Add new tests.
10008 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10010 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10012 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10014 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10015 Move condition tests...
10016 * gdb.trace/trace-condition.exp: Here.
10018 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10020 * gdb.trace/trace-condition.exp: Add counter-case tests.
10022 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10025 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10026 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10028 2016-05-27 Pedro Alves <palves@redhat.com>
10030 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10032 (top level): Call it, and bail out of DejaGnu is known to be bad.
10034 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10036 * gdb.base/whatis.c: Extend the test case.
10037 * gdb.base/whatis.exp: Add additional tests.
10039 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10041 * gdb.fortran/type.f90: Add pointer variable.
10042 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10044 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10046 * gdb.fortran/vla-type.exp: Fix testcase name.
10048 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10050 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10052 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10054 * gdb.fortran/type.f90: Add nested structures.
10055 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10056 * gdb.fortran/derived-type.exp: Adapt expected output.
10057 * gdb.fortran/vla-type.exp: Adapt expected output.
10059 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10061 * gdb.fortran/whatis_type.exp: Adapt expected output.
10063 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10065 * gdb.fortran/print_type.exp: Fix expected output.
10066 * gdb.fortran/whatis_type.exp: Fix expected output.
10068 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10070 * gdb.fortran/whatis_type.exp: Use multi_line.
10072 2016-05-24 Tom Tromey <tom@tromey.com>
10075 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10076 use value as an index.
10078 2016-05-23 Tom Tromey <tom@tromey.com>
10081 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10082 no-breakpoint case.
10084 2016-05-24 Pedro Alves <palves@redhat.com>
10087 * gdb.threads/clone-attach-detach.c: New file.
10088 * gdb.threads/clone-attach-detach.exp: New file.
10090 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10092 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10094 2016-05-23 Tom Tromey <tom@tromey.com>
10096 PR python/19438, PR python/18393:
10097 * gdb.python/py-progspace.exp: Add "dir" test.
10098 * gdb.python/py-objfile.exp: Add "dir" test.
10100 2016-05-23 Yao Qi <yao.qi@linaro.org>
10102 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10103 * gdb.arch/thumb2-it.exp: Likewise.
10105 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10107 * gdb.mi/mi-threads-interrupt.c: New file.
10108 * gdb.mi/mi-threads-interrupt.exp: New file.
10110 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10113 * gdb.mi/mi-async-run.exp: New file.
10114 * gdb.mi/mi-async-run.c: New file.
10116 2016-05-17 Tom Tromey <tom@tromey.com>
10117 Manish Goregaokar <manishsmail@gmail.com>
10119 * lib/rust-support.exp: New file.
10120 * lib/gdb.exp (skip_rust_tests): New proc.
10121 (build_executable_from_specs): Handle rust.
10122 * lib/future.exp (gdb_find_rustc): New proc.
10123 (gdb_default_target_compile): Handle rust.
10124 * gdb.rust/expr.exp: New file.
10125 * gdb.rust/generics.exp: New file.
10126 * gdb.rust/generics.rs: New file.
10127 * gdb.rust/methods.exp: New file.
10128 * gdb.rust/methods.rs: New file.
10129 * gdb.rust/modules.exp: New file.
10130 * gdb.rust/modules.rs: New file.
10131 * gdb.rust/simple.exp: New file.
10132 * gdb.rust/simple.rs: New file.
10134 2016-05-17 Tom Tromey <tom@tromey.com>
10136 * gdb.base/default.exp (set language): Add rust.
10138 2016-05-17 Tom Tromey <tom@tromey.com>
10140 * gdb.gdb/unittest.exp: New file.
10142 2016-05-16 Yao Qi <yao.qi@linaro.org>
10144 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10145 shell_prompt. Update shell_prompt_re.
10147 2016-05-12 Doug Evans <dje@google.com>
10150 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10151 $options when building executable.
10152 * gdb.dwarf2/fission-loclists-pie.S: New file.
10153 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10155 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10157 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
10158 of [is_remote target],
10160 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10162 * lib/gdb.exp (use_gdb_stub): New procedure.
10164 2016-05-03 Yunlian Jiang <yunlian@google.com>
10165 Doug Evans <dje@google.com>
10168 * gdb.dwarf2/dwp-sepdebug.c: New file.
10169 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10171 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10173 * gdb.base/detach.exp: Remove is_remote check.
10175 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10177 * gdb.base/annota-input-while-running.exp: Don't check for
10178 [is_remote target]. Enable annotations after running to main.
10179 Remove unused "set test..." line.
10181 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10183 * gdb.trace/trace-enable-disable.exp: New file.
10184 * gdb.trace/trace-enable-disable.c: New file.
10186 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10188 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10189 use it in info sharedlibrary test.
10190 * gdb.trace/ftrace-lock.exp: Likewise.
10191 * gdb.trace/ftrace.exp: Likewise.
10192 * gdb.trace/range-stepping.exp: Likewise.
10193 * gdb.trace/trace-break.exp: Likewise.
10194 * gdb.trace/trace-condition.exp: Likewise.
10195 * gdb.trace/trace-mt.exp: Likewise.
10197 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10199 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10200 (gdb_load_shlib): ... this.
10201 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10203 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10204 * gdb.base/ctxobj.exp: Likewise.
10205 * gdb.base/dprintf-pending.exp: Likewise.
10206 * gdb.base/dso2dso.exp: Likewise.
10207 * gdb.base/fixsection.exp: Likewise.
10208 * gdb.base/gcore-relro.exp: Likewise.
10209 * gdb.base/gdb1555.exp: Likewise.
10210 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10211 * gdb.base/gnu-ifunc.exp: Likewise.
10212 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10213 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10214 * gdb.base/pending.exp: Likewise.
10215 * gdb.base/print-file-var.exp: Likewise.
10216 * gdb.base/print-symbol-loading.exp: Likewise.
10217 * gdb.base/shlib-call.exp: Likewise.
10218 * gdb.base/shreloc.exp: Likewise.
10219 * gdb.base/so-impl-ld.exp: Likewise.
10220 * gdb.base/solib-disc.exp: Likewise.
10221 * gdb.base/solib-nodir.exp: Likewise.
10222 * gdb.base/solib-overlap.exp: Likewise.
10223 * gdb.base/solib-symbol.exp: Likewise.
10224 * gdb.base/solib-weak.exp (do_test): Likewise.
10225 * gdb.base/sym-file.exp: Likewise.
10226 * gdb.base/symtab-search-order.exp: Likewise.
10227 * gdb.base/type-opaque.exp: Likewise.
10228 * gdb.base/unload.exp: Likewise.
10229 * gdb.base/watchpoint-solib.exp: Likewise.
10230 * gdb.compile/compile.exp: Likewise.
10231 * gdb.cp/gdb2384.exp: Likewise.
10232 * gdb.cp/infcall-dlopen.exp: Likewise.
10233 * gdb.cp/re-set-overloaded.exp: Likewise.
10234 * gdb.fortran/library-module.exp: Likewise.
10235 * gdb.opt/solib-intra-step.exp: Likewise.
10236 * gdb.python/py-finish-breakpoint.exp: Likewise.
10237 * gdb.python/py-shared.exp: Likewise.
10238 * gdb.reverse/solib-precsave.exp: Likewise.
10239 * gdb.reverse/solib-reverse.exp: Likewise.
10240 * gdb.server/solib-list.exp: Likewise.
10241 * gdb.threads/dlopen-libpthread.exp: Likewise.
10242 * gdb.threads/tls-shared.exp: Likewise.
10243 * gdb.threads/tls-so_extern.exp: Likewise.
10244 * gdb.trace/change-loc.exp: Likewise.
10245 * gdb.trace/ftrace-lock.exp: Likewise.
10246 * gdb.trace/ftrace.exp: Likewise.
10247 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10248 * gdb.trace/pending.exp: Likewise.
10249 * gdb.trace/range-stepping.exp: Likewise.
10250 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10251 (strace_info_marker): Likewise.
10252 (strace_probe_marker): Likewise.
10253 (strace_trace_on_same_addr): Likewise.
10254 (strace_trace_on_diff_addr): Likewise.
10255 * gdb.trace/trace-break.exp: Likewise.
10256 * gdb.trace/trace-condition.exp: Likewise.
10257 * gdb.trace/trace-mt.exp: Likewise.
10259 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10261 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10262 result of gdb_remote_download.
10263 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10264 * gdb.base/dso2dso.exp: Likewise.
10265 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10266 * gdb.base/print-file-var.exp: Likewise.
10267 * gdb.base/shlib-call.exp: Likewise.
10268 * gdb.base/shreloc.exp: Likewise.
10269 * gdb.base/solib-overlap.exp: Likewise.
10270 * gdb.base/solib-weak.exp (do_test): Likewise.
10271 * gdb.base/unload.exp: Likewise.
10273 2016-04-27 Yao Qi <yao.qi@linaro.org>
10275 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10278 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10280 * vla-type.exp: Print structure from toplevel.
10282 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10284 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10286 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10289 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10291 * gdb.fortran/vla-type.f90: New file.
10292 * gdb.fortran/vla-type.exp: New file.
10294 2016-04-25 Yao Qi <yao.qi@linaro.org>
10296 * gdb.base/branch-to-self.c: New file.
10297 * gdb.base/branch-to-self.exp: New file.
10299 2016-04-22 Yao Qi <yao.qi@linaro.org>
10301 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10304 2016-04-22 Yao Qi <yao.qi@linaro.org>
10306 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10307 * gdb.base/annota3.exp: Likewise.
10309 2016-04-22 Yao Qi <yao.qi@linaro.org>
10311 * gdb.reverse/step-precsave.exp: Do one step and test program
10312 stops in "callee" and do multiple steps until program goes out
10314 * gdb.reverse/step-reverse.exp: Likewise.
10316 2016-04-22 Yao Qi <yao.qi@linaro.org>
10318 * gdb.trace/signal.exp: Also pass if
10319 $tracepoint_hits($i) > $iterations.
10321 2016-04-22 Yao Qi <yao.qi@linaro.org>
10323 * gdb.trace/signal.c: New file.
10324 * gdb.trace/signal.exp: New file.
10326 2016-04-19 Doug Evans <xdje42@gmail.com>
10328 * gdb.base/bad-file.exp: New file.
10330 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10332 * gdb.dwarf2/implref.exp: New file.
10334 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10336 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10337 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10338 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10339 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10340 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10341 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10342 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10343 * lib/fortran.exp (fortran_int4): New procedure.
10344 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10345 (fortran_logical4): Likewise.
10347 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10349 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10351 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10353 * lib/compiler.c: Add Intel specific preprocessor macros.
10354 * lib/compiler.cc: Likewise.
10356 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10358 * gdb.server/connect-with-no-symbol-file.c: New file.
10359 * gdb.server/connect-with-no-symbol-file.exp: New file.
10361 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10363 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10365 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10367 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10368 standard output directory.
10370 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10372 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10374 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10376 * gdb.btrace/instruction_history.c (loop): Add declaration.
10378 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10380 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10382 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10384 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10385 parentheses to print.
10386 (continue_handler): Likewise.
10388 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10390 * gdb.server/solib-list.exp: Remove is_remote check.
10391 Pass shlib= to gdb_compile. Don't link shared library with
10392 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10393 Run binary filename through "readlink -f" on the target.
10395 2016-04-08 Pedro Alves <palves@redhat.com>
10397 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10398 interpreter filename as argument to gdbserver_spawn.
10399 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10400 Return empty if $last_loaded_file does not exist.
10402 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10404 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10405 * gdb.base/jit-main.c: Use exit after usage.
10407 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10409 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10410 GDBHISTSIZE prior to the tests.
10411 * gdb.base/gdbinit-history.exp: Likewise.
10413 2016-04-07 Pedro Alves <palves@redhat.com>
10415 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10416 instead of build_executable. Use gdb_load_shlibs.
10418 2016-04-07 Yao Qi <yao.qi@linaro.org>
10420 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10421 Execute "si" command.
10423 2016-04-07 Yao Qi <yao.qi@linaro.org>
10425 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10426 number instead of the comments on some line.
10428 2016-04-06 Don Breazeal <donb@codesourcery.com>
10430 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10431 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10433 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10435 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10436 standard_output_file. Remove unused binfile variable.
10438 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10440 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10441 * gdb.python/py-mi-objfile.exp: Match "list main" output
10444 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10446 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10449 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10451 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10453 * gdb.trace/ftrace.exp: Likewise.
10454 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10456 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10457 (gdb_load_shlibs): Copy libraries to test directory when testing
10458 natively. Only set solib-search-path if testing remotely.
10459 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10461 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10463 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10464 gdb_download. Use it even if the target is not remote.
10465 * gdb.base/jit.exp (compile_jit_test): Likewise.
10466 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10467 output directory if the destination board is local, otherwise use
10468 the standard remote_download from DejaGnu.
10469 (gdb_download): Remove.
10470 (gdb_load_shlibs): Use gdb_remote_download instead of
10472 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10473 Use gdb_remote_download instead of gdb_download. Use it even if
10474 the target is not remote.
10475 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10476 instead of gdb_download.
10478 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10480 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10481 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10484 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10487 * gdb.base/printcmds.exp: Add artificial arrays tests.
10489 2016-03-31 Pedro Alves <palves@redhat.com>
10492 * gdb.base/jit-main.c: Include unistd.h.
10493 (ATTACH): Define to 0 if not already defined.
10494 (wait_for_gdb, mypid): New globals.
10495 (WAIT_FOR_GDB): New macro.
10496 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10497 some breakpoint locations.
10498 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10500 (one_jit_test): Add REATTACH parameter, and handle it. Use
10501 continue_to_test_location.
10502 (top level): Test attach, and adjusts calls to one_jit_test.
10504 2016-03-31 Pedro Alves <palves@redhat.com>
10507 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10508 BINSUFFIX parameter, and handle it.
10509 (top level): Adjust calls compile_jit_test.
10511 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10514 * gdb.python/py-mi-events-gdb.py: New file.
10515 * gdb.python/py-mi-events.c: New file.
10516 * gdb.python/py-mi-events.exp: New file.
10518 2016-03-30 Yao Qi <yao.qi@linaro.org>
10520 * gdb.reverse/until-precsave.exp: Match function name only.
10521 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10522 Move malloc to a condition block.
10523 * gdb.reverse/until-reverse.exp: Match function name only.
10525 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10527 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10528 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10529 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10530 variable for GPR 0 instead of assuming it is register 0.
10531 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10532 * lib/trace-support.exp: Add s390 registers.
10534 2016-03-29 Yao Qi <yao.qi@linaro.org>
10536 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10538 2016-03-24 Yao Qi <yao.qi@linaro.org>
10540 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10543 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10545 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10546 maintaining separate logic for constructing the output path.
10548 2016-03-16 Don Breazeal <donb@codesourcery.com>
10550 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10551 Retry fork and waitpid on interrupted system call errors.
10552 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10553 Use with_timeout_factor to increase timeout by factor of 10.
10555 2016-03-15 Don Breazeal <donb@codesourcery.com>
10557 * gdb.cp/scope-err.cc: New test program.
10558 * gdb.cp/scope-err.exp: New test script.
10559 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10560 lines and "set breakpoint here" comment.
10561 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10562 Fixed some whitespace and format issues.
10563 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10564 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10566 2016-03-15 Doug Evans <dje@google.com>
10568 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10569 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10570 All callers updated. Add tests for enums, mixed flags register.
10572 2016-03-15 Doug Evans <dje@google.com>
10574 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10575 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10577 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10579 * gdb.base/default.exp: Add $_as_string to the list of expected
10580 convenience functions.
10582 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10584 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10586 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10588 * gdb.python/py-as-string.exp: New file.
10589 * gdb.python/py-as-string.c: New file.
10591 2016-03-09 Pedro Alves <palves@redhat.com>
10593 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10594 signal" -> "Thread NN received signal" output change.
10595 * gdb.threads/ia64-sigill.exp: Likewise.
10596 * gdb.threads/linux-dp.exp: Likewise.
10597 * gdb.threads/manythreads.exp: Likewise.
10598 * gdb.threads/pending-step.exp: Likewise.
10599 * gdb.threads/print-threads.exp: Likewise.
10600 * gdb.threads/sigstep-threads.exp: Likewise.
10601 * gdb.threads/staticthreads.exp: Likewise.
10602 * gdb.threads/tls.exp: Likewise.
10604 2016-03-09 Pedro Alves <palves@redhat.com>
10606 * gdb.base/command-line-input.exp: New file.
10608 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10610 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10611 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10612 * gdb.trace/pending.exp: Accept leading dot before function name.
10613 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10614 * lib/trace-support.exp: Set registers for ppc.
10616 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10618 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10619 use it for disassembly; accept .main in addition to main in backtrace.
10621 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10622 Marcin Kościelnicki <koriakin@0x04.net>
10624 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10625 (gdb_recursion_test_ptr): New global variable.
10626 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10627 gdb_recursion_test.
10628 (gdb_c_test): Ditto.
10630 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10632 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10635 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10637 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10638 (bar): Add bar_start_lbl label.
10639 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10640 of foo/bar for emitting DWARF and tracing.
10642 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10644 * analyze-racy-logs.py: Set executable bit.
10646 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10648 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10649 (CHECK_TARGET_TMP): Likewise.
10650 (check-single-racy): New rule.
10651 (check-parallel-racy): Likewise.
10652 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10653 (do-check-parallel-racy): New rule.
10654 (check-racy/%.exp): Likewise.
10655 * README (Racy testcases): New section.
10656 * analyze-racy-logs.py: New file.
10658 2016-03-03 Doug Evans <dje@google.com>
10660 * gdb.base/skip.exp: Use with_test_prefix.
10662 2016-03-03 Yao Qi <yao.qi@linaro.org>
10664 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10665 Invoke step_over_syscall "clone" and break_cond_on_syscall
10667 * gdb.base/step-over-clone.c: New file.
10669 2016-03-03 Yao Qi <yao.qi@linaro.org>
10671 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10674 2016-03-03 Yao Qi <yao.qi@linaro.org>
10676 * gdb.base/disp-step-fork.c: Rename to ...
10677 * gdb.base/step-over-fork.c: ... it. New file.
10678 * gdb.base/disp-step-vfork.c: Rename to ...
10679 * gdb.base/step-over-vfork.c: ... it. New file.
10680 * gdb.base/disp-step-syscall.exp: Rename to ...
10681 * gdb.base/step-over-syscall.exp: ... it. New file.
10682 (disp_step_cross_syscall): Rename to ...
10683 (step_over_syscall): ... it.
10685 2016-03-03 Yao Qi <yao.qi@linaro.org>
10687 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10688 If target supports condition evaluation on target, invoke
10689 break_cond_on_syscall for fork and vfork.
10691 2016-03-03 Yao Qi <yao.qi@linaro.org>
10693 * gdb.base/disp-step-syscall.exp: Don't invoke
10694 support_displaced_stepping.
10695 (disp_step_cross_syscall): Test with displaced stepping off and
10698 2016-03-03 Yao Qi <yao.qi@linaro.org>
10700 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10703 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10706 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10708 * gdb.fortran/vla-history.exp: Remove breakpoint.
10710 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10712 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10715 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10717 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10720 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10722 * gdb.mi/vla.f90: Nullify pointer after declaration.
10724 2016-03-01 Pedro Alves <palves@redhat.com>
10726 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10728 2016-03-01 Pedro Alves <palves@redhat.com>
10730 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10731 before anything else.
10732 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10734 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10735 before anything else.
10736 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10738 2016-03-01 Pedro Alves <palves@redhat.com>
10740 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10742 2016-03-01 Yao Qi <yao.qi@linaro.org>
10744 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10745 prepare_for_testing.
10747 2016-03-01 Yao Qi <yao.qi@linaro.org>
10749 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10751 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10753 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10754 manually constructing the output path.
10756 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10758 * gdb.arch/s390-stackless.S: New.
10759 * gdb.arch/s390-stackless.exp: New.
10761 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10763 * gdb.dlang/circular.c: New file.
10764 * gdb.dlang/circular.exp: New file.
10766 2016-02-26 Yao Qi <yao.qi@linaro.org>
10768 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10769 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10770 (testcases): Update.
10772 2016-02-26 Yao Qi <yao.qi@linaro.org>
10774 * gdb.reverse/aarch64.c: Rename to ...
10775 * gdb.reverse/insn-reverse.c: ... it.
10776 * gdb.reverse/aarch64.exp: Rename to ...
10777 * gdb.reverse/insn-reverse.exp: ... it.
10779 2016-02-26 Yao Qi <yao.qi@linaro.org>
10781 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10782 (testcase_ftype): New.
10783 (testcases): New array.
10784 (n_testcases): New.
10785 (main): Call each element in testcases.
10786 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10787 (read_testcase): New.
10788 Do the tests in a loop.
10790 2016-02-25 Yao Qi <yao.qi@linaro.org>
10792 * gdb.base/branches.c: Remove.
10794 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10797 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10799 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10801 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10803 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10805 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10806 change x86_64 call_insn to 'callq'.
10808 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10810 * gdb.trace/tfile-avx.c: Move to...
10811 * gdb.trace/tracefile-pseudo-reg.c: Here.
10812 * gdb.trace/tfile-avx.exp: Move to...
10813 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10815 2016-02-24 Gary Benson <gbenson@redhat.com>
10817 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10820 2016-02-23 Doug Evans <dje@google.com>
10822 * gdb.base/skip.c (test_skip): New function.
10823 (end_test_skip_file_and_function): New function.
10824 (test_skip_file_and_function): New function.
10825 * gdb.base/skip1.c (test_skip): New function.
10826 (skip1_test_skip_file_and_function): New function.
10827 * gdb.base/skip.exp: Add tests for new skip options.
10828 * gdb.base/skip-solib.exp: Update expected output.
10829 * gdb.perf/skip-command.cc: New file.
10830 * gdb.perf/skip-command.exp: New file.
10831 * gdb.perf/skip-command.py: New file.
10833 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10835 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10836 info registers pattern.
10838 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10840 * lib/future.exp: Add D support.
10841 (gdb_find_gdc): New proc.
10842 (gdb_default_target_compile): Add D support.
10844 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10846 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10848 (trace_speed_test): Determine the iteration count for a time
10849 between 15..30 seconds.
10851 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10853 * gdb.arch/i386-mpx-sigsegv.c: New file.
10854 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10855 * gdb.arch/i386-mpx-simple_segv.c: New file.
10856 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10858 2016-02-18 Yao Qi <yao.qi@linaro.org>
10860 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10861 Don't call setup_kfail.
10863 2016-02-18 Yao Qi <yao.qi@linaro.org>
10865 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10866 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10868 2016-02-16 Doug Evans <dje@google.com>
10870 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10871 * gdb.base/skip1.c: Ditto.
10872 * gdb.base/skip.exp: Whitespace cleanup.
10874 2016-02-16 Don Breazeal <donb@codesourcery.com>
10877 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10878 Remove kfail for PR remote/19496.
10880 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10882 * lib/gdb.exp (standard_temp_file): Return a path specific to
10883 the runtest invocation.
10885 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10887 * gdb.trace/save-trace.exp: Change relative path to be in the
10888 standard output directory.
10890 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10892 * gdb.arch/i386-prologue.c: Add missing prototypes.
10894 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10896 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10897 * gdb.arch/i386-prologue.exp: Likewise.
10898 * gdb.arch/i386-size.exp: Likewise.
10900 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10902 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10903 define object file path.
10904 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10906 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10907 standard_output_file to define binfile.
10909 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10911 Fix compatibility with recent gfortran-5.3.1.
10912 * gdb.fortran/vla-history.exp (print vla1 allocated)
10913 (print vla2 allocated, print $2, print $3): Remove
10914 (print $4): Rename to ...
10915 (print $2): ... here.
10916 (print $9): Rename to ...
10917 (print $5): ... here.
10918 (print $10): Rename to ...
10919 (print $6): ... here.
10920 * gdb.fortran/vla.f90: Add pvla initialization.
10922 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10924 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10926 * gdb.fortran/vla-value-sub.exp: Likewise.
10928 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10930 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10932 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10934 * i386-biarch-core.exp: Define corefile using
10935 standard_output_file.
10937 2016-02-12 Yao Qi <yao.qi@linaro.org>
10939 * gdb.arch/arm-single-step-kernel-helper.c: New.
10940 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10942 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10944 * gdb.btrace/tailcall-only.exp: New.
10945 * gdb.btrace/tailcall-only.c: New.
10946 * gdb.btrace/x86_64-tailcall-only.S: New.
10947 * gdb.btrace/i686-tailcall-only.S: New.
10949 2016-02-11 Pedro Alves <palves@redhat.com>
10951 * README (Parallel testing): Add missing double quotes.
10953 2016-02-11 Pedro Alves <palves@redhat.com>
10955 * README (Parallel testing): New section.
10956 (GDB_PARALLEL): Rewrite.
10957 (FORCE_PARALLEL): Document.
10959 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10961 * gdb.trace/tfile-avx.c: New test.
10962 * gdb.trace/tfile-avx.exp: New test.
10964 2016-02-09 Keith Seitz <keiths@redhat.com>
10966 PR breakpoints/19546
10967 * gdb.base/infcall-exec.c: New file.
10968 * gdb.base/infcall-exec2.c: New file.
10969 * gdb.base/infcall-exec.exp: New file.
10971 2016-02-09 Keith Seitz <keiths@redhat.com>
10973 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10974 (toplevel): Call test_bkpt_address.
10976 2016-02-09 Keith Seitz <keiths@redhat.com>
10979 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10980 (toplevel): Call test_bkpt_address.
10982 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10984 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10986 * configure: Regenerate.
10988 2016-02-09 Pedro Alves <palves@redhat.com>
10990 PR breakpoints/19548
10991 * gdb.base/execl-update-breakpoints.c (some_function): New
10994 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10995 Tighten expected GDB output.
10997 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10999 * Makefile.in (ALL_SUBDIRS): Remove.
11000 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11001 (distclean maintainer-clean realclean): Likewise.
11002 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11003 * configure: Regenerate.
11004 * gdb.ada/Makefile.in: Delete.
11005 * gdb.arch/Makefile.in: Likewise.
11006 * gdb.asm/Makefile.in: Likewise.
11007 * gdb.base/Makefile.in: Likewise.
11008 * gdb.btrace/Makefile.in: Likewise.
11009 * gdb.cell/Makefile.in: Likewise.
11010 * gdb.compile/Makefile.in: Likewise.
11011 * gdb.cp/Makefile.in: Likewise.
11012 * gdb.disasm/Makefile.in: Likewise.
11013 * gdb.dlang/Makefile.in: Likewise.
11014 * gdb.dwarf2/Makefile.in: Likewise.
11015 * gdb.fortran/Makefile.in: Likewise.
11016 * gdb.gdb/Makefile.in: Likewise.
11017 * gdb.go/Makefile.in: Likewise.
11018 * gdb.guile/Makefile.in: Likewise.
11019 * gdb.java/Makefile.in: Likewise.
11020 * gdb.linespec/Makefile.in: Likewise.
11021 * gdb.mi/Makefile.in: Likewise.
11022 * gdb.modula2/Makefile.in: Likewise.
11023 * gdb.multi/Makefile.in: Likewise.
11024 * gdb.objc/Makefile.in: Likewise.
11025 * gdb.opencl/Makefile.in: Likewise.
11026 * gdb.opt/Makefile.in: Likewise.
11027 * gdb.pascal/Makefile.in: Likewise.
11028 * gdb.perf/Makefile.in: Likewise.
11029 * gdb.python/Makefile.in: Likewise.
11030 * gdb.reverse/Makefile.in: Likewise.
11031 * gdb.server/Makefile.in: Likewise.
11032 * gdb.stabs/Makefile.in: Likewise.
11033 * gdb.threads/Makefile.in: Likewise.
11034 * gdb.trace/Makefile.in: Likewise.
11035 * gdb.xml/Makefile.in: Likewise.
11036 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11038 (standard_output_file): Remove check for GDB_PARALLEL, always
11039 return path in outputs/$subdir/$testname.
11041 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11043 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11044 (site.exp): Assign abs_srcdir to tcl's srcdir.
11046 2016-02-04 Yao Qi <yao.qi@linaro.org>
11048 * gdb.base/foll-exec-mode.c: Include limits.h.
11049 (main): Add parameters argc and argv. Get directory from
11051 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11053 * gdb.base/foll-exec.c: Include limits.h.
11054 (main): Add parameters argc and argv.
11055 Get directory from argv[0].
11056 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11057 Adjust tests on the number of lines as source code changed.
11058 * gdb.base/foll-vfork-exit.c: Include limits.h.
11059 (main): Add one line of statement before vfork.
11060 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11061 (main): Add parameters argc and argv. Get directory from
11063 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11064 (setup_gdb): Set tbreak to skip some source lines.
11065 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11066 (main): Add parameters argc and argv. Get directory from
11068 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11070 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11071 (main): Add parameters argc and argv. Get directory from
11073 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11076 2016-02-01 Doug Evans <dje@google.com>
11078 * gdb.base/skip.exp: Clean up multiple references to same test name.
11080 2016-02-01 Pedro Alves <palves@redhat.com>
11083 * gdb.threads/forking-threads-plus-breakpoint.exp
11084 (displaced_stepping_supported): New global.
11085 (probe_displaced_stepping_support): New procedure.
11086 (do_test): Add 'displaced' parameter, and use it.
11087 (top level): Check for displaced stepping support. Add displaced
11088 stepping on/off testing axis.
11090 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11092 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11093 pointer. Don't perform further tests on the unassociated pointer
11094 if the first test fails.
11096 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11098 * gdb.base/max-value-size.c: New file.
11099 * gdb.base/max-value-size.exp: New file.
11100 * gdb.base/huge.exp: Disable max-value-size for this test.
11102 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11104 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11106 2016-01-28 Yao Qi <yao.qi@linaro.org>
11108 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11110 2016-01-25 Pedro Alves <palves@redhat.com>
11113 * gdb.base/fork-running-state.c: New file.
11114 * gdb.base/fork-running-state.exp: New file.
11116 2016-01-25 Pedro Alves <palves@redhat.com>
11119 * gdb.base/catch-fork-kill.c: New file.
11120 * gdb.base/catch-fork-kill.exp: New file.
11122 2016-01-25 Pedro Alves <palves@redhat.com>
11124 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11125 Delete, moved to lib/gdb.exp.
11126 * gdb.threads/forking-threads-plus-breakpoint.exp
11127 (foreach_with_prefix): Likewise.
11128 * gdb.threads/process-dies-while-handling-bp.exp
11129 (foreach_with_prefix): Likewise.
11130 * lib/gdb.exp (foreach_with_prefix): New procedure.
11132 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11134 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11135 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11137 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11139 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11142 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11143 Pedro Alves <palves@redhat.com>
11145 Fix testsuite compatibility with Guile.
11146 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11149 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11151 Fix testsuite compatibility with Guile.
11152 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11153 (thread 1): New test for backtrace through signal handler.
11155 2016-01-22 Yao Qi <yao.qi@linaro.org>
11158 * gdb.base/multi-forks.c: Include
11159 ../lib/unbuffer_output.c
11160 (main): Call gdb_unbuffer_output.
11162 2016-01-21 Doug Evans <dje@google.com>
11164 * lib/ada.exp (gdb_compile_ada): Fix typo.
11166 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11168 * gdb.base/break-fun-addr.exp: New file.
11169 * gdb.base/break-fun-addr1.c: New file.
11170 * gdb.base/break-fun-addr2.c: New file.
11172 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11174 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11175 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11178 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11180 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11181 when GDB can not set the vector return value. Add more comments
11184 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11186 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11189 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11191 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11193 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11195 * Makefile.in (check-single): Pass --status to runtest.
11196 (check/%.exp): Likewise.
11198 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11200 * Makefile.in (check-parallel): Propagate return code from make
11203 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11205 * gdb.trace/ftrace.exp: Fix expected message on continue.
11206 * gdb.trace/pending.exp: Fix expected message on continue.
11207 * gdb.trace/trace-break.exp: Fix expected message on continue.
11209 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11211 * lib/gdb.exp (gdb_test): Remove unused global references.
11213 2016-01-18 Pedro Alves <palves@redhat.com>
11215 * gdb.base/async-shell.exp: Adjust expected output.
11216 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11217 * gdb.base/siginfo-thread.exp: Adjust expected output.
11218 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11219 * gdb.java/jnpe.exp: Adjust expected output.
11220 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11221 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11222 * gdb.threads/leader-exit.exp: Adjust expected output.
11223 * gdb.threads/manythreads.exp: Adjust expected output.
11224 * gdb.threads/pthreads.exp: Adjust expected output.
11225 * gdb.threads/schedlock.exp: Adjust expected output.
11226 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11227 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11229 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11231 * gdb.threads/sigthread.exp: Adjust expected output.
11232 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11234 2016-01-18 Yao Qi <yao.qi@linaro.org>
11236 * gdb.guile/scm-section-script.c: Replace @progbits with
11238 * gdb.python/py-section-script.c: Likewise.
11240 2016-01-15 Pedro Alves <palves@redhat.com>
11242 * gdb.multi/tids.exp: Test star wildcard ranges.
11244 2016-01-15 Pedro Alves <palves@redhat.com>
11246 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11247 command from "thread apply" invocation.
11248 (thr_apply_info_thr_invalid): Default the expected output to the
11250 (top level): Add tests that use convenience variables. Add tests
11251 for "thread apply" with a valid TID list, but missing the command.
11253 2016-01-13 Pedro Alves <palves@redhat.com>
11255 * gdb.base/default.exp: Expect $_gthread as well.
11256 * gdb.multi/tids.exp: Test $_gthread.
11257 * gdb.threads/thread-specific.exp: Test $_gthread.
11259 2016-01-13 Pedro Alves <palves@redhat.com>
11261 * gdb.multi/tids.exp: Test "info threads -gid".
11263 2016-01-13 Pedro Alves <palves@redhat.com>
11265 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11267 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11269 2016-01-07 Pedro Alves <palves@redhat.com>
11271 * gdb.base/break.exp: Adjust to output changes.
11272 * gdb.base/hbreak2.exp: Likewise.
11273 * gdb.base/sepdebug.exp: Likewise.
11274 * gdb.base/watch_thread_num.exp: Likewise.
11275 * gdb.linespec/keywords.exp: Likewise.
11276 * gdb.multi/info-threads.exp: Likewise.
11277 * gdb.threads/thread-find.exp: Likewise.
11278 * gdb.multi/tids.c: New file.
11279 * gdb.multi/tids.exp: New file.
11281 2016-01-13 Pedro Alves <palves@redhat.com>
11283 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11285 2016-01-13 Pedro Alves <palves@redhat.com>
11287 * gdb.base/default.exp: Expect $_inferior as well.
11288 * gdb.multi/base.exp: Test $_inferior.
11290 2016-01-13 Pedro Alves <palves@redhat.com>
11292 PR breakpoints/19388
11293 * gdb.base/catch-signal-siginfo-cond.c: New file.
11294 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11296 2016-01-12 Josh Stone <jistone@redhat.com>
11297 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11299 * gdb.base/catch-syscall.c (do_execve): New variable.
11300 (main): Conditionally trigger an execve.
11301 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11302 (test_catch_syscall_execve): New, check entry/return across execve.
11303 (do_syscall_tests): Call test_catch_syscall_execve.
11305 2016-01-12 Pedro Alves <palves@redhat.com>
11307 * gdb.base/random-signal.exp (do_test): New procedure, with body
11308 of testcase moved in.
11310 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11311 Pedro Alves <palves@redhat.com>
11313 * gdb.base/funcargs.exp (finish from indirectly called function):
11314 Reintroduce the case for 'First'.
11316 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11317 Pedro Alves <palves@redhat.com>
11319 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11320 (tcatch_vfork_then_child_follow_exec)
11321 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11324 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11326 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11327 and repeats to unlimited.
11328 * gdb.python/py-value.exp: Likewise.
11329 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11330 and repeats to unlimited.
11332 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11334 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11335 and reordering the functions.
11336 * gdb.multi/hangout.c: Likewise.
11337 * gdb.multi/hello.c: Likewise.
11339 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11341 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11343 (SingleStatisticTestResult.report): Use dict.keys instead of
11346 2016-01-06 Pedro Alves <palves@redhat.com>
11348 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11350 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11352 * gdb.btrace/dlopen.exp: New.
11353 * gdb.btrace/dlopen.c: New.
11354 * gdb.btrace/dlopen-dso.c: New.
11356 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11358 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11359 PATTERN argument is optional.
11361 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11363 * lib/ada.exp (target_compile_ada_from_dir): New function.
11364 (gdb_compile_ada): Reimplement avoiding the use of project files.
11365 * gdb.ada/gnat_ada.gpr: Delete.
11366 * gdb.ada/cond_lang.exp: Adjust test to make path before
11368 * gdb.ada/small_reg_param.exp: Likewise.
11370 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11372 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11374 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11376 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11379 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11381 * gdb.base/break.exp: Remove dead code.
11382 * gdb.base/sepdebug.exp: Likewise.
11384 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11386 * gdb.asm/asm-source.exp: Remove HP-UX references.
11387 * gdb.base/annota1.exp: Likewise.
11388 * gdb.base/annota3.exp: Likewise.
11389 * gdb.base/attach.exp: Likewise.
11390 * gdb.base/bigcore.exp: Likewise.
11391 * gdb.base/break.exp: Likewise.
11392 * gdb.base/call-ar-st.exp: Likewise.
11393 * gdb.base/callfuncs.exp: Likewise.
11394 * gdb.base/catch-fork-static.exp: Likewise.
11395 * gdb.base/display.exp: Likewise.
11396 * gdb.base/foll-exec-mode.exp: Likewise.
11397 * gdb.base/foll-exec.exp: Likewise.
11398 * gdb.base/foll-fork.exp: Likewise.
11399 * gdb.base/foll-vfork.exp: Likewise.
11400 * gdb.base/funcargs.exp: Likewise.
11401 * gdb.base/hbreak2.exp: Likewise.
11402 * gdb.base/inferior-died.exp: Likewise.
11403 * gdb.base/interrupt.exp: Likewise.
11404 * gdb.base/multi-forks.exp: Likewise.
11405 * gdb.base/nodebug.exp: Likewise.
11406 * gdb.base/sepdebug.exp: Likewise.
11407 * gdb.base/solib1.c: Likewise.
11408 * gdb.base/step-test.exp: Likewise.
11409 * gdb.mi/non-stop.c: Likewise.
11410 * gdb.mi/pthreads.c: Likewise.
11411 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11412 * gdb.threads/pthreads.c: Likewise.
11413 * gdb.threads/staticthreads.exp: Likewise.
11414 * lib/future.exp: Likewise.
11415 * lib/gdb.exp: Likewise.
11416 * gdb.base/so-indr-cl.c: Remove.
11417 * gdb.base/so-indr-cl.exp: Likewise.
11418 * gdb.base/solib.c: Likewise.
11419 * gdb.base/solib.exp: Likewise.
11420 * gdb.base/solib2.c: Likewise.
11422 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11424 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11425 * gdb.base/call-ar-st.exp: Likewise.
11426 * gdb.base/callfuncs.exp: Likewise.
11427 * gdb.base/condbreak.exp: Likewise.
11428 * gdb.base/constvars.exp: Likewise.
11429 * gdb.base/hbreak2.exp: Likewise.
11430 * gdb.base/langs.exp: Likewise.
11431 * gdb.base/list.exp: Likewise.
11432 * gdb.base/long_long.exp: Likewise.
11433 * gdb.base/ptype.exp: Likewise.
11434 * gdb.base/scope.exp: Likewise.
11435 * gdb.base/signals.exp: Likewise.
11436 * gdb.base/so-impl-ld.exp: Likewise.
11437 * gdb.base/varargs.exp: Likewise.
11438 * gdb.base/volatile.exp: Likewise.
11439 * gdb.base/whatis.exp: Likewise.
11440 * gdb.cp/cplusfuncs.exp: Likewise.
11441 * gdb.cp/inherit.exp: Likewise.
11442 * gdb.cp/local.exp: Likewise.
11443 * gdb.cp/member-ptr.exp: Likewise.
11444 * gdb.cp/method.exp: Likewise.
11445 * gdb.cp/overload.exp: Likewise.
11446 * gdb.cp/templates.exp: Likewise.
11447 * gdb.stabs/weird.exp: Likewise.
11448 * lib/compiler.c: Likewise.
11449 * lib/compiler.cc: Likewise.
11450 * lib/cp-support.exp: Likewise.
11451 * lib/gdb.exp: Likewise.
11453 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11455 * configure.ac: Remove HP-UX case.
11456 * configure: Regenerate.
11458 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11460 * lib/gdb.exp (gdb_compile): Add function doc.
11462 2015-12-17 Pedro Alves <palves@redhat.com>
11465 * gdb.multi/info-threads.exp: New file.
11467 2015-12-15 Yao Qi <yao.qi@linaro.org>
11469 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11472 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11474 * gdb.base/history-duplicates.exp: Skip if no readline support.
11476 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11478 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11480 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11482 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11484 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11486 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11487 ctrl-C if nointerrupts target property is set.
11488 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11489 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11490 * gdb.base/paginate-bg-execution.exp: Likewise.
11491 * gdb.base/paginate-execution-startup.exp: Likewise.
11492 * gdb.base/random-signal.exp: Likewise.
11493 * gdb.base/range-stepping.exp: Likewise.
11494 * gdb.cp/annota2.exp: Likewise.
11495 * gdb.cp/annota3.exp: Likewise.
11496 * gdb.gdb/selftest.exp: Likewise.
11497 * gdb.threads/continue-pending-status.exp: Likewise.
11498 * gdb.threads/leader-exit.exp: Likewise.
11499 * gdb.threads/manythreads.exp: Likewise.
11500 * gdb.threads/pthreads.exp: Likewise.
11501 * gdb.threads/schedlock.exp: Likewise.
11502 * gdb.threads/sigthread.exp: Likewise.
11504 2015-12-11 Don Breazeal <donb@codesourcery.com>
11506 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11508 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11509 * gdb.base/foll-exec.exp (main): Enable for target remote.
11510 * gdb.base/foll-fork.exp (main): Likewise.
11511 * gdb.base/foll-vfork.exp (main): Likewise.
11512 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11513 (proc continue_to_exit_bp_loc): Use clean_restart.
11514 * gdb.base/pie-execl.exp (main): Disable for target remote.
11515 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11516 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11517 * gdb.threads/execl.exp (main): Likewise.
11518 * gdb.threads/fork-child-threads.exp (main): Likewise.
11519 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11521 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11523 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11524 pid.tid style ptids, instead of just tid.
11525 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11526 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11527 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11528 ptids, instead of just tid.
11530 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11532 * gdb.base/list.exp (test_list_forward): Add end of file error
11534 (test_repeat_list_command): Add end of file error test.
11535 (test_list_backwards): Add beginning of file error test.
11537 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11539 * gdb.base/list.exp (test_list_invalid_args): New function,
11540 defined, and called.
11542 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11544 * gdb.base/list.exp (test_list): Make test names unique.
11546 2015-12-11 Yao Qi <yao.qi@linaro.org>
11548 * gdb.base/coremaker2.c: Remove.
11550 2015-12-10 Pedro Alves <palves@redhat.com>
11552 * gdb.multi/base.exp: Remove stale "spaces" references.
11554 2015-12-10 Pedro Alves <palves@redhat.com>
11556 * gdb.multi/base.exp: Don't use nowarnings.
11557 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11558 * gdb.multi/hangout.c: Include stdio.h.
11559 * gdb.multi/hello.c: Include stdlib.h.
11560 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11561 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11562 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11564 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11566 * gdb.dwarf2/dw2-ranges-base.c: New file.
11567 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11568 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11569 support additional line table, and debug ranges generation.
11570 (Dwarf::ranges): New function, generate .debug_ranges.
11571 (Dwarf::lines): Support generating simple line table programs.
11572 (Dwarf::assemble): Initialise new namespace variables.
11574 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11576 * gdb.base/async.exp (proc test_background): Add case for
11577 asynchronous execution not supported.
11579 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11581 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11582 format and change test names to make them unique.
11584 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11585 Pedro Alves <pedro@redhat.com>
11588 Add checking of floatformats setup on x86_64 hosts.
11589 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11590 (smallval, bigval): New labels/constants.
11591 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11592 float" after loading bigval and smallval.
11594 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11596 * gdb.ada/fun_overload_menu.exp: New testcase.
11597 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11599 2015-12-04 Josh Stone <jistone@redhat.com>
11601 * gdb.base/catch-fork-static.exp: New.
11603 2015-12-03 Yao Qi <yao.qi@linaro.org>
11605 * gdb.base/sizeof.c: Don't include stdio.h and
11606 ../lib/unbuffer_output.c.
11607 (main): New variable 'size' and 'value'. Remove printf and
11608 gdb_unbuffer_output. Assign return value to size and value.
11609 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11611 (check_sizeof): Check the result by printing variable 'size'.
11612 (check_valueof): Check the result by printing variable 'value'.
11614 2015-12-01 Yao Qi <yao.qi@linaro.org>
11616 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11617 for aarch64*-*-linux* target.
11619 2015-11-30 Pedro Alves <palves@redhat.com>
11621 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11623 2015-11-30 Pedro Alves <palves@redhat.com>
11625 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11626 Handle non-stop mode vCont replies.
11628 2015-11-30 Pedro Alves <palves@redhat.com>
11630 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11631 prepare_for_testing. Start gdb with "set non-stop on" appended to
11632 GDBFLAGS. Lax expected stop output.
11634 2015-11-27 Yao Qi <yao.qi@linaro.org>
11636 * gdb.arch/arm-neon.exp: New.
11637 * gdb.arch/arm-neon.c: New.
11639 2015-11-27 Yao Qi <yao.qi@linaro.org>
11641 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11643 2015-11-27 Yao Qi <yao.qi@linaro.org>
11645 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11646 frames-invalid annotation.
11648 2015-11-27 Yao Qi <yao.qi@linaro.org>
11650 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11652 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11654 * gdb.threads/names.exp: New file.
11655 * gdb.threads/names.c: New file.
11656 * README: Mention gdb,no_thread_names.
11658 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11661 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11664 2015-11-24 Pedro Alves <palves@redhat.com>
11667 * gdb.base/display.exp: Expect displays to be sorted in ascending
11668 order. Use multi_line.
11669 * gdb.base/solib-display.exp: Likewise.
11671 2015-11-24 Pedro Alves <palves@redhat.com>
11674 * gdb.base/display.exp: Expect displays to be sorted in ascending
11675 order. Use multi_line.
11676 * gdb.base/solib-display.exp: Likewise.
11678 2015-11-24 Pedro Alves <palves@redhat.com>
11681 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11682 threads in ascending order.
11683 * gdb.base/foll-fork.exp: Likewise.
11684 * gdb.base/foll-vfork.exp: Likewise.
11685 * gdb.base/multi-forks.exp: Likewise.
11686 * gdb.mi/mi-nonstop.exp: Likewise.
11687 * gdb.mi/mi-nsintrall.exp: Likewise.
11688 * gdb.multi/base.exp: Likewise.
11689 * gdb.multi/multi-arch.exp: Likewise.
11690 * gdb.python/py-inferior.exp: Likewise.
11691 * gdb.threads/break-while-running.exp: Likewise.
11692 * gdb.threads/execl.exp: Likewise.
11693 * gdb.threads/gcore-thread.exp: Likewise.
11694 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11695 * gdb.threads/kill.exp: Likewise.
11696 * gdb.threads/linux-dp.exp: Likewise.
11697 * gdb.threads/multiple-step-overs.exp: Likewise.
11698 * gdb.threads/next-bp-other-thread.exp: Likewise.
11699 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11700 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11701 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11702 * gdb.threads/thread-find.exp: Likewise.
11703 * gdb.threads/tls.exp: Likewise.
11704 * lib/mi-support.exp (mi_reverse_list): Delete.
11705 (mi_check_thread_states): No longer reverse list.
11707 2015-11-24 Pedro Alves <palves@redhat.com>
11709 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11712 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11714 * gdb.trace/actions.c: Include trace-common.h.
11715 (main): Add a location for a fast tracepoint.
11716 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11717 the normal tracepoints.
11718 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11720 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11722 * save-trace.exp: Factor out code to these...
11723 (gdb_save_tracepoints): New.
11724 (gdb_load_tracepoints): New.
11725 (do_save_load_test): New.
11727 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11729 * gdb.base/asmlabel.exp: New test.
11730 * gdb.base/asmlabel.c: New test case.
11732 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11734 * gdb.base/wrong_frame_bt_full-main.c: New file.
11735 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11736 * gdb.base/wrong_frame_bt_full.exp: New file.
11738 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11740 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11742 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11744 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11745 pstate register when comparing registers values in
11746 sparc64-*-linux-gnu targets to avoid spurious differences.
11748 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11750 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11752 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11754 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11755 as type argument to gdb_compile.
11756 * gdb.base/nested-subp2.exp: Likewise.
11757 * gdb.base/nested-subp3.exp: Likewise.
11759 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11761 * lib/dwarf.exp (_note): Fix left shift of negative value.
11762 * gdb.trace/trace-condition.exp: Likewise.
11764 2015-11-13 Yao Qi <yao.qi@linaro.org>
11766 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11767 comments about d10v.
11768 (test_scalar_returns): Likewise.
11769 * gdb.base/d10v.ld: Remove.
11770 * gdb.base/overlays.exp: Remove the target triplet checking for
11772 * gdb.base/structs.exp (test_struct_returns): Remove the
11773 comments about d10v.
11774 (test_struct_calls): Likewise.
11776 2015-11-13 Yao Qi <yao.qi@linaro.org>
11778 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11779 * gdb.base/gnu_vector.c: Don't include stdio.h.
11780 (main): Don't print res and call add_some_intvecs.
11782 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11784 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11787 (func4): Use FAST_TRACEPOINT_LABEL.
11788 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11791 (thread_function): Use FAST_TRACEPOINT_LABEL.
11792 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11794 (marker): Use FAST_TRACEPOINT_LABEL.
11795 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11796 (pendfunc1): Remove.
11797 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11798 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11800 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11801 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11804 (marker): Use FAST_TRACEPOINT_LABEL.
11805 * gdb.trace/trace-common.h: New header.
11806 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11809 (marker): Use FAST_TRACEPOINT_LABEL.
11810 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11812 (thread_function): Use FAST_TRACEPOINT_LABEL.
11814 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11816 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11818 * gdb.trace/change-loc.exp: Use global pcreg definition.
11819 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11820 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11822 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11823 * gdb.trace/pending.exp: Likewise.
11824 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11825 * gdb.trace/trace-break.exp: Likewise.
11826 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11828 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11829 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11831 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11833 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11835 * gdb.ada/fin_fun_out: New testcase.
11837 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11839 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11840 value associated with DW_AT_byte_size.
11841 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11842 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11845 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11847 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11848 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11850 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11851 gdb.dwarf2/dw2-canonicalize-type.exp,
11852 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11853 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11854 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11855 provided by gdb_target_symbol_prefix_flags_asm.
11856 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11857 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11858 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11859 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11860 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11861 macros where needed). Use this macro for symbols which require
11862 the prefix provided by SYMBOL_PREFIX.
11864 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11866 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11868 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11869 representing expressions, of more than one list element.
11870 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11871 to prepend linker symbol prefix to f.
11872 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11873 table_1 and table_2.
11874 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11875 Likewise, for f and g.
11876 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11878 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11880 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11881 table_1_ptr and table_2_ptr.
11883 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11884 Joel Brobecker <brobecker@adacore.com>
11886 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11888 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11890 * gdb.reverse/s390-mvcle.c: New test.
11891 * gdb.reverse/s390-mvcle.exp: New file.
11892 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11894 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11896 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11898 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11900 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11902 * gdb.reverse/getresuid-reverse.exp: Likewise.
11903 * gdb.reverse/pipe-reverse.exp: Likewise.
11904 * gdb.reverse/readv-reverse.exp: Likewise.
11905 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11906 * gdb.reverse/time-reverse.exp: Likewise.
11907 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11909 2015-10-30 Yao Qi <yao.qi@linaro.org>
11911 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11912 (empty_cycle): Remove.
11913 (main): Don't call empty_cycle. Don't use watch_count_done.
11914 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11915 empty_cycle. Rewrite the code counting HW watchpoints.
11917 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11919 * gdb.reverse/fstatat-reverse.c: New test.
11920 * gdb.reverse/fstatat-reverse.exp: New file.
11921 * gdb.reverse/getresuid-reverse.c: New test.
11922 * gdb.reverse/getresuid-reverse.exp: New file.
11923 * gdb.reverse/pipe-reverse.c: New test.
11924 * gdb.reverse/pipe-reverse.exp: New file.
11925 * gdb.reverse/readv-reverse.c: New test.
11926 * gdb.reverse/readv-reverse.exp: New file.
11927 * gdb.reverse/recvmsg-reverse.c: New test.
11928 * gdb.reverse/recvmsg-reverse.exp: New file.
11929 * gdb.reverse/time-reverse.c: New test.
11930 * gdb.reverse/time-reverse.exp: New file.
11931 * gdb.reverse/waitpid-reverse.c: New test.
11932 * gdb.reverse/waitpid-reverse.exp: New file.
11934 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11936 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11938 2015-10-26 Doug Evans <dje@google.com>
11941 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11942 * gdb.dwarf2/bad-regnum.c: New file.
11943 * gdb.dwarf2/bad-regnum.exp: New file.
11945 2015-10-26 Doug Evans <dje@google.com>
11948 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11951 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11953 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11954 for a change by "Mention language in compile error message".
11956 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11959 * gdb.python/py-type.c (C::a_method): New.
11960 (C::a_const_method): New.
11961 (C::a_static_method): New.
11963 * gdb.python/py-type.exp (test_fields): Test getting fields
11964 from function and method.
11966 2015-10-21 Keven Boell <keven.boell@intel.com>
11968 * gdb.fortran/vla-alloc-assoc.exp: New file.
11969 * gdb.fortran/vla-datatypes.exp: New file.
11970 * gdb.fortran/vla-datatypes.f90: New file.
11971 * gdb.fortran/vla-history.exp: New file.
11972 * gdb.fortran/vla-ptype-sub.exp: New file.
11973 * gdb.fortran/vla-ptype.exp: New file.
11974 * gdb.fortran/vla-sizeof.exp: New file.
11975 * gdb.fortran/vla-sub.f90: New file.
11976 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11977 * gdb.fortran/vla-value-sub-finish.exp: New file.
11978 * gdb.fortran/vla-value-sub.exp: New file.
11979 * gdb.fortran/vla-value.exp: New file.
11980 * gdb.fortran/vla-ptr-info.exp: New file.
11981 * gdb.mi/mi-vla-fortran.exp: New file.
11982 * gdb.mi/vla.f90: New file.
11984 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11986 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11987 of hardwired timeout value.
11989 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11990 Pedro Alves <palves@redhat.com>
11992 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11993 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11995 2015-10-19 Josh Stone <jistone@redhat.com>
11997 * gdb.base/catch-syscall.c: Include <sched.h>.
11998 (unknown_syscall): New variable.
11999 (main): Trigger a vfork and an unknown syscall.
12000 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12001 (unknown_syscall_number): Likewise.
12002 (check_call_to_syscall): Accept an optional syscall pattern.
12003 (check_return_from_syscall): Likewise.
12004 (check_continue): Likewise.
12005 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12006 (test_catch_syscall_skipping_return): New test toggling off 'catch
12007 syscall' to step over the syscall return, then toggling back on.
12008 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12009 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12010 (do_syscall_tests): Call test_catch_syscall_without_args and
12011 test_catch_syscall_mid_vfork.
12012 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12013 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12015 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12017 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12018 print g_vE): Add new pass patterns.
12019 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12020 print various symbol names for vptr fields.
12022 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12024 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12027 2015-10-12 Yao Qi <yao.qi@linaro.org>
12029 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12031 2015-10-12 Yao Qi <yao.qi@linaro.org>
12033 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12034 is aarch64*-*-linux*.
12036 2015-10-12 Yao Qi <yao.qi@linaro.org>
12038 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12039 (can_relocate_bcond_true): ... it.
12040 (can_relocate_bcond_false): New function.
12042 (can_relocate_bl): Likewise.
12043 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12046 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12048 * gdb.base/nested-addr.c: New file.
12049 * gdb.base/nested-addr.exp: New testcase.
12051 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12053 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12054 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12055 its output. Ignore the output of "record goto begin" and instead
12056 check that GDB is replaying.
12058 2015-10-09 Pedro Alves <palves@redhat.com>
12060 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12061 (top level): Use it in the run with no args test.
12063 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12065 * gdb.dlang/properties.exp: New file.
12067 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12069 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12070 whether or not address 0x1000 is mapped on the target.
12072 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12074 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12077 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12079 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12080 instruction-history test.
12082 2015-09-28 Doug Evans <dje@google.com>
12084 * gdb.base/gcore.c (array_func): Add reference to static_array.
12086 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12088 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12091 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12093 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12094 short or char as base type.
12096 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12098 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12099 to allow any size enum.
12101 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12103 * gdb.ada/array_ptr_renaming.exp: New testcase.
12104 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12105 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12107 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12109 * gdb.trace/ftrace-lock.c: New file.
12110 * gdb.trace/ftrace-lock.exp: New file.
12112 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12114 * gdb.arch/insn-reloc.c: New file.
12115 * gdb.arch/ftrace-insn-reloc.exp: New file.
12117 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12119 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12121 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12122 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12123 * gdb.trace/range-stepping.c: Likewise.
12124 * gdb.trace/trace-break.c: Likewise.
12125 * gdb.trace/trace-mt.c (thread_function): Likewise.
12126 * gdb.trace/ftrace.c (marker): Likewise.
12127 * gdb.trace/trace-condition.c (marker): Likewise.
12128 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12129 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12132 2015-09-18 Doug Evans <xdje42@gmail.com>
12134 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12135 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12137 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12139 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12142 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12144 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12145 the pending breakpoint. Remove timeout override for "Run till
12146 MI pending breakpoint on pendfunc3 on thread 2" test.
12148 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12150 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12153 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12155 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12156 in breakpoint filename pattern.
12158 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12160 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12162 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12164 * gdb.linespec/explicit.exp: Check for readline support for
12165 tab-completion tests. Fix obvious typo.
12167 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12169 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12172 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12174 * gdb.btrace/non-stop.c: New.
12175 * gdb.btrace/non-stop.exp: New.
12177 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12178 Yao Qi <yao.qi@linaro.org>
12180 * gdb.trace/trace-condition.c: New file.
12181 * gdb.trace/trace-condition.exp: New file.
12183 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12185 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12186 for testing bytecode compilation.
12188 2015-09-16 Pedro Alves <palves@redhat.com>
12189 Sandra Loosemore <sandra@codesourcery.com>
12191 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12192 (SECONDS): Redefine.
12193 (main): Call pthread_kill and alarm early.
12194 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12196 (test): If the target can't hardware step and doesn't support
12197 displaced stepping, increase the timeout.
12199 2015-09-16 Pedro Alves <palves@redhat.com>
12201 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12202 (enable_debug): New procedures.
12203 (test): Use them. Bail out if waiting for threads fails.
12204 (top level): Bail out if a test fails.
12206 2015-09-16 Yao Qi <yao.qi@linaro.org>
12208 * gdb.asm/asm-source.exp: Set asm-arch for
12209 aarch64*-*-* target.
12210 * gdb.asm/aarch64.inc: New file.
12212 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12214 * gdb.ada/array_of_variable_length.exp: New testcase.
12215 * gdb.ada/array_of_variable_length/foo.adb: New file.
12216 * gdb.ada/array_of_variable_length/pck.adb: New file.
12217 * gdb.ada/array_of_variable_length/pck.ads: New file.
12219 2015-09-15 Doug Evans <dje@google.com>
12221 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12222 of function static local variable.
12224 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12226 * gdb.threads/tls-so_extern.exp: New test file.
12227 * gdb.threads/tls-so_extern.c: New test file.
12228 * gdb.threads/tls-so_extern_main.c: New test file.
12230 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12232 * gdb.opt/solib-intra-step-lib.c: New file.
12233 * gdb.opt/solib-intra-step-main.c: New file.
12234 * gdb.opt/solib-intra-step.exp: New file.
12236 2015-09-15 Pedro Alves <palves@redhat.com>
12238 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12239 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12241 2015-09-14 Pedro Alves <palves@redhat.com>
12243 * gdb.base/hook-stop-continue.c: Delete.
12244 * gdb.base/hook-stop-continue.exp: Delete.
12245 * gdb.base/hook-stop-frame.c: Delete.
12246 * gdb.base/hook-stop-frame.exp: Delete.
12247 * gdb.base/hook-stop.c: New file.
12248 * gdb.base/hook-stop.exp: New file.
12250 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12252 * gdb.ada/access_to_packed_array.exp: New testcase.
12253 * gdb.ada/access_to_packed_array/foo.adb: New file.
12254 * gdb.ada/access_to_packed_array/pack.adb: New file.
12255 * gdb.ada/access_to_packed_array/pack.ads: New file.
12257 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12259 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12262 2015-09-11 Don Breazeal <donb@codesourcery.com>
12264 * gdb.base/foll-exec.c: Add copyright header. Fix
12266 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12267 (do_exec_tests): Use clean_restart in place of zap_session,
12268 and for test initialization. Fix formatting issues. Use
12269 fail in place of perror.
12270 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12271 an expect statement to match an expression with output from
12272 the program under debug.
12273 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12274 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12275 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12276 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12277 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12279 2015-09-09 Doug Evans <dje@google.com>
12281 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12283 2015-09-09 Doug Evans <dje@google.com>
12285 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12287 2015-09-09 Doug Evans <dje@google.com>
12289 * gdb.base/savedregs.exp: Fix typo.
12291 2015-09-09 Pedro Alves <palves@redhat.com>
12293 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12295 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12297 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12298 command actually switches threads. Give up on remaining
12299 tests if target fails to stop at breakpoint.
12301 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12303 * gdb.ada/funcall_char.exp: New testcase.
12304 * gdb.ada/funcall_char/foo.adb: New file.
12306 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12308 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12309 expected outputs. Add two testcases for completing ambiguous
12311 * gdb.ada/complete/aux_pck.adb: New file.
12312 * gdb.ada/complete/aux_pck.ads: New file.
12313 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12314 Ambiguous_Func functions.
12315 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12316 * gdb.ada/complete/pck.adb: Likewise.
12318 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12320 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12321 failures to run the test program under GDB.
12323 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12325 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12328 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12330 * gdb.base/run-after-attach.exp: New test file.
12331 * gdb.base/run-after-attach.c: New test file.
12333 2015-08-26 Don Breazeal <donb@codesourcery.com>
12335 * gdb.base/foll-exec-2.c: New test program.
12336 * gdb.base/foll-exec-2.exp: New test.
12338 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12340 * gdb.base/nested-subp1.exp: New file.
12341 * gdb.base/nested-subp1.c: New file.
12342 * gdb.base/nested-subp2.exp: New file.
12343 * gdb.base/nested-subp2.c: New file.
12344 * gdb.base/nested-subp3.exp: New file.
12345 * gdb.base/nested-subp3.c: New file.
12347 2015-08-24 Pedro Alves <palves@redhat.com>
12349 * gdb.server/connect-without-multi-process.c: New file.
12350 * gdb.server/connect-without-multi-process.exp: New file.
12352 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12354 * gdb.opt/inline-markers.c: Make z int.
12356 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12358 * gdb.opt/inline-markers.c: Make z volatile.
12360 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12362 * gdb.opt/inline-bt.c: New volatile global z.
12363 * gdb.opt/inline-cmds.c: Likewise.
12364 * gdb.opt/inline-locals.c: Likewise.
12365 * gdb.opt/inline-markers.c: New extern global z.
12367 (inline_fn): Likewise.
12369 2015-08-24 Pedro Alves <palves@redhat.com>
12371 * config/m32r-stub.exp: Remove file.
12372 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12373 * gdb.base/call-rt-st.exp: Likewise.
12374 * gdb.base/call-strs.exp: Likewise.
12375 * gdb.base/default.exp: Remove references to h8300-*-hms and
12377 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12379 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12381 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12382 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12383 and "return" use KFAIL when GDB can not read/write the vector
12386 2015-08-21 Gary Benson <gbenson@redhat.com>
12388 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12390 2015-08-20 Pedro Alves <palves@redhat.com>
12392 * gdb.server/solib-list.exp: No longer expect an interior stop in
12395 2015-08-20 Pedro Alves <palves@redhat.com>
12397 * gdb.server/connect-stopped-target.c: New file.
12398 * gdb.server/connect-stopped-target.exp: New file.
12400 2015-08-20 Pedro Alves <palves@redhat.com>
12402 * gdb.dwarf2/comp-unit-lang.exp: New file.
12403 * gdb.dwarf2/comp-unit-lang.c: New file.
12405 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12407 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12408 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12410 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12412 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12413 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12415 2015-08-18 Doug Evans <dje@google.com>
12416 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12418 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12419 skip_python_tests. New arg prompt_regexp.
12420 (skip_python_tests): New function.
12421 * lib/mi-support.exp (mi_skip_python_tests): New function.
12422 * gdb.python/py-mi-objfile-gdb.py: New file.
12423 * gdb.python/py-mi-objfile.c: New file.
12424 * gdb.python/py-mi-objfile.exp: New file.
12426 2015-08-17 Keith Seitz <keiths@redhat.com>
12428 * gdb.linespec/explicit.exp: Move strace test from here ...
12429 * gdb.trace/strace.exp: ... to here.
12431 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12433 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12434 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12436 2015-08-14 Doug Evans <xdje42@gmail.com>
12438 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12439 inferior before selecting a new file.
12441 2015-08-14 Doug Evans <xdje42@gmail.com>
12443 * gdb.mi/mi-disassemble.exp: Update.
12444 * gdb.base/disasm-optim.S: New file.
12445 * gdb.base/disasm-optim.c: New file.
12446 * gdb.base/disasm-optim.h: New file.
12447 * gdb.base/disasm-optim.exp: New file.
12449 2015-08-14 Keith Seitz <keiths@redhat.com>
12451 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12454 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12456 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12458 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12460 * gdb.ada/fun_renaming.exp: New testcase.
12461 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12462 * gdb.ada/fun_renaming/pack.adb: New file.
12463 * gdb.ada/fun_renaming/pack.ads: New file.
12465 2015-08-12 Keith Seitz <keiths@redhat.com>
12467 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12468 gdb_get_line_number.
12470 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12472 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12473 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12474 gdb.base/dso2dso.exp: New files.
12476 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12477 Pedro Alves <palves@redhat.com>
12478 Keith Seitz <keiths@redhat.com>
12480 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12483 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12485 * gdb.base/gdbhistsize-history.exp
12486 (test_histsize_history_setting): Use save_vars.
12487 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12489 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12490 * gdb.base/readline.exp: Use save_vars.
12492 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12494 * lib/gdb.exp (save_vars): New proc.
12496 2015-08-11 Keith Seitz <keiths@redhat.com>
12498 * gdb.base/help.exp: Update help_breakpoint_text.
12500 2015-08-11 Keith Seitz <keiths@redhat.com>
12502 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12503 (at toplevel): Call test_explicit_breakpoints.
12504 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12506 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12507 breakpoint conditions, "-cond".
12509 2015-08-11 Keith Seitz <keiths@redhat.com>
12511 * gdb.linespec/3explicit.c: New file.
12512 * gdb.linespec/cpexplicit.cc: New file.
12513 * gdb.linespec/cpexplicit.exp: New file.
12514 * gdb.linespec/explicit.c: New file.
12515 * gdb.linespec/explicit.exp: New file.
12516 * gdb.linespec/explicit2.c: New file.
12517 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12518 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12519 before using in the matching pattern.
12520 Clarify that `prefix' is a regular expression.
12522 2015-08-11 Keith Seitz <keiths@redhat.com>
12524 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12526 Add tests for missing ",FMT" and ",".
12528 2015-08-10 Doug Evans <dje@google.com>
12529 Keith Seitz <keiths@redhat.com>
12532 * gdb.base/completion.exp: Add location completer tests.
12534 2015-08-07 Pedro Alves <palves@redhat.com>
12536 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12538 (top level): Run do_test with and without displaced stepping.
12540 2015-08-07 Pedro Alves <palves@redhat.com>
12542 * gdb.base/valgrind-disp-step.c: New file.
12543 * gdb.base/valgrind-disp-step.exp: New file.
12545 2015-08-07 Pedro Alves <palves@redhat.com>
12547 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12549 (main): Add alarm. Run an infinite loop instead of calling
12551 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12553 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12555 (main): Add alarm. Run an infinite loop instead of calling
12557 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12560 2015-08-07 Pedro Alves <palves@redhat.com>
12562 * gdb.base/checkpoint-ns.exp: New file.
12563 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12566 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12568 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12569 * gdb.btrace/instruction_history.exp: Update.
12570 * gdb.btrace/tsx.exp: New.
12571 * gdb.btrace/tsx.c: New.
12573 2015-08-06 Pedro Alves <palves@redhat.com>
12575 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12577 * gdb.reverse/until-precsave.exp: Bump timeouts.
12579 2015-08-06 Pedro Alves <palves@redhat.com>
12581 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12583 2015-08-06 Pedro Alves <palves@redhat.com>
12586 * gdb.threads/process-dies-while-handling-bp.c: New file.
12587 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12589 2015-08-06 Pedro Alves <palves@redhat.com>
12591 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12592 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12594 2015-08-05 Pedro Alves <palves@redhat.com>
12596 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12597 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12599 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12601 * gdb.base/bp-permanent.exp: Report test as unsupported if
12602 the target cannot stop at the permanent breakpoint.
12604 2015-08-03 Doug Evans <dje@google.com>
12606 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12609 2015-08-03 Doug Evans <dje@google.com>
12611 * Makefile.in (workers/%.worker, build-perf): New rule.
12612 (GDB_PERFTEST_MODE): New variable.
12613 (check-perf): Use it.
12614 (clean): Clean up gdb.perf parallel build subdirs.
12615 * lib/build-piece.exp: New file.
12616 * lib/gdb.exp (make_gdb_parallel_path): New function
12617 (standard_output_file, standard_temp_file): Call it.
12618 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12620 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12622 2015-08-03 Doug Evans <dje@google.com>
12624 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12625 (LOG_FILE_NAME): New global.
12626 (TextReporter.__init__): Initialize self.txt_sum.
12627 (TextReporter.report): Add support for multiple data-points.
12628 Move report to perftest.sum, put raw data in perftest.log.
12629 (TextReporter.start): Open sum and log files.
12630 (TextReporter.end): Close sum and log files.
12631 * gdb.perf/lib/perftest/testresult.py
12632 (SingleStatisticTestResult.record): Handle multiple data-points.
12634 2015-07-31 Pedro Alves <palves@redhat.com>
12636 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12637 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12638 kill_wait_spawned_process instead of explicit "kill -9".
12639 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12640 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12641 kill_wait_spawned_process.
12642 * gdb.base/attach-twice.exp: Likewise.
12643 * gdb.base/attach.exp: Likewise.
12644 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12646 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12647 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12648 kill_wait_spawned_process.
12649 * gdb.base/valgrind-infcall.exp: Likewise.
12650 * gdb.multi/multi-attach.exp: Likewise.
12651 * gdb.python/py-prompt.exp: Likewise.
12652 * gdb.python/py-sync-interp.exp: Likewise.
12653 * gdb.server/ext-attach.exp: Likewise.
12654 * gdb.threads/attach-into-signal.exp (corefunc): Use
12655 spawn_wait_for_attach, spawn_id_get_pid and
12656 kill_wait_spawned_process.
12657 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12658 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12659 spawn_id_get_pid and kill_wait_spawned_process.
12660 * gdb.threads/attach-stopped.exp (corefunc): Use
12661 spawn_wait_for_attach, spawn_id_get_pid and
12662 kill_wait_spawned_process.
12663 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12664 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12665 kill_wait_spawned_process instead of explicit "kill -9".
12666 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12667 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12668 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12669 processes. Don't map cygwin/windows pids here. Now returns a
12672 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12674 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12675 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12678 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12680 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12682 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12685 2014-05-21 Mark Wielaard <mjw@redhat.com>
12687 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12689 2015-07-30 Pedro Alves <palves@redhat.com>
12691 * linux-low.c (handle_extended_wait): Set the child's last
12692 reported status to TARGET_WAITKIND_STOPPED.
12694 2015-07-30 Pedro Alves <palves@redhat.com>
12697 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12698 only shows inferior 1.
12700 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12701 Pedro Alves <palves@redhat.com>
12704 * gdb.threads/fork-plus-threads.c: New file.
12705 * gdb.threads/fork-plus-threads.exp: New file.
12707 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12709 * gdb.base/batch-preserve-term-settings.exp
12710 (test_terminal_settings_preserved_after_cli_exit): Use
12713 2015-07-29 Pedro Alves <palves@redhat.com>
12714 Don Breazeal <donb@codesourcery.com>
12716 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12717 output from both inferior_spawn_id and gdb_spawn_id.
12719 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12721 * gdb.threads/attach-into-signal.exp (corefunc): Use
12722 with_test_prefix on nested loops, uniquefying the test messages.
12724 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12726 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12729 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12731 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12733 (test_terminal_settings_preserved_after_sigterm): New test.
12735 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12737 * gdb.base/batch-preserve-term-settings.exp
12738 (test_terminal_settings_preserved_after_cli_exit): New test.
12740 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12742 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12743 manipulation of saved_gdbflags.
12744 (test_terminal_settings_preserved): Remove global declaration of
12745 the unused variable pagination_prompt. Remove manipulation of
12746 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12749 2015-07-29 Pedro Alves <palves@redhat.com>
12751 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12753 2015-07-29 Pedro Alves <palves@redhat.com>
12755 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12758 2015-07-29 Pedro Alves <palves@redhat.com>
12760 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12761 (main): Call gdb_unbuffer_output.
12762 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12763 (main): Call gdb_unbuffer_output.
12764 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12765 (main): Call gdb_unbuffer_output.
12766 * gdb.base/call-strs.exp: Adjust to step over the
12767 gdb_unbuffer_output call.
12768 * gdb.base/catch-gdb-caused-signals.c: Include
12769 "../lib/unbuffer_output.c".
12770 (main): Call gdb_unbuffer_output.
12771 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12772 (main): Call gdb_unbuffer_output.
12773 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12774 (main): Call gdb_unbuffer_output.
12775 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12776 (main): Call gdb_unbuffer_output.
12777 * gdb.base/shlib-call.exp: Adjust to step over the
12778 gdb_unbuffer_output call.
12779 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12780 (main): Call gdb_unbuffer_output.
12781 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12782 (main): Call gdb_unbuffer_output.
12783 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12784 (main): Rename to ...
12786 (main): Reimplement.
12787 * gdb.base/varargs.exp: Run to test instead of to main.
12788 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12789 (main): Call gdb_unbuffer_output.
12791 2015-07-29 Pedro Alves <palves@redhat.com>
12793 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12794 factore out from mi_continue_dprintf. For call-style dprintfs,
12795 expect dprintf output out of $inferior_spawn_id.
12796 (mi_continue_dprintf): Use mi_expect_dprintf.
12797 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12798 (main): Call gdb_unbuffer_output.
12800 2015-07-29 Pedro Alves <palves@redhat.com>
12802 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12803 (default_mi_gdb_start): Set inferior_spawn_id instead of
12804 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12806 (mi_gdb_test): Always expect inferior output from both
12807 $inferior_spawn_id and $gdb_spawn_id.
12809 2015-07-29 Pedro Alves <palves@redhat.com>
12811 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12812 send_inferior and $inferior_spawn_id.
12814 2015-07-29 Pedro Alves <palves@redhat.com>
12816 * gdb.gdb/complaints.exp (test_initial_complaints)
12817 (test_serial_complaints, test_short_complaints): Use
12819 (test_empty_complaint): Handle $inferior_spawn_id !=
12822 2015-07-29 Pedro Alves <palves@redhat.com>
12824 * gdb.base/varargs.exp: Use gdb_test_stdio.
12826 2015-07-29 Pedro Alves <palves@redhat.com>
12828 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12830 2015-07-29 Pedro Alves <palves@redhat.com>
12832 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12834 2015-07-29 Pedro Alves <palves@redhat.com>
12836 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12837 parameter into two new parameters, "inf_result" and "gdb_result".
12838 Expect inferior output and gdb output from $inferior_spawn_id and
12839 $gdb_spawn_id, respectively. Adjust all callers.
12841 2015-07-29 Pedro Alves <palves@redhat.com>
12843 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12844 of gdb_test_sequence.
12846 2015-07-29 Pedro Alves <palves@redhat.com>
12848 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12849 (saw_spurious_output): Expect inferior output from
12850 $inferior_spawn_id. Use gdb_test_stdio.
12852 2015-07-29 Pedro Alves <palves@redhat.com>
12854 * gdb.base/dprintf.exp: Use standard_testfile. Change
12855 prepare_for_testing call.
12856 (srcfile): Don't set.
12857 (restart): New procedure.
12858 (test_dprintf): New procecure, use to continue over dprintfs.
12859 (test_call, test_agent): New procedures, tests moved here.
12860 Restart gdb and recreate dprintfs. Adjust expected output.
12862 2015-07-29 Pedro Alves <palves@redhat.com>
12864 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12866 2015-07-29 Pedro Alves <palves@redhat.com>
12868 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12870 2015-07-29 Pedro Alves <palves@redhat.com>
12872 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12875 2015-07-29 Pedro Alves <palves@redhat.com>
12877 * lib/gdb.exp (gdb_test_stdio): New procedure.
12879 2015-07-29 Pedro Alves <palves@redhat.com>
12881 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12883 2015-07-29 Pedro Alves <palves@redhat.com>
12885 * gdb.base/call-signal-resume.exp: Remove check for
12886 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12887 * gdb.base/unwindonsignal.exp: Likewise.
12888 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12889 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12891 2015-07-29 Pedro Alves <palves@redhat.com>
12893 * gdb.base/siginfo-addr.c (pass): New function.
12894 (handler): Call it iff si_addr is correct.
12895 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12896 Set a breakpoint at "pass" and continue to it.
12898 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12900 * gdb.python/py-objfile.exp: Make some tests have unique names.
12901 * gdb.python/py-pp-registration.exp: Likewise.
12903 2015-07-28 Pedro Alves <palves@redhat.com>
12905 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12907 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12909 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12911 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12913 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12915 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12917 * gdb.base/gdb-sigterm-2.exp: New test.
12919 2015-07-25 Doug Evans <xdje42@gmail.com>
12922 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12923 (workers/%.worker, build-perf): New rule.
12924 (GDB_PERFTEST_MODE): New variable.
12925 (check-perf): Use it.
12926 (clean): Clean up gdb.perf parallel build subdirs.
12927 * lib/build-piece.exp: New file.
12928 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12929 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12931 (standard_temp_file): Ditto.
12932 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12935 2015-07-24 Doug Evans <dje@google.com>
12937 * gdb.perf/lib/perftest/utils.py: New file.
12938 * gdb.perf/gm-hello.cc: New file.
12939 * gdb.perf/gm-pervasive-typedef.cc: New file.
12940 * gdb.perf/gm-pervasive-typedef.h: New file.
12941 * gdb.perf/gm-std.cc: New file.
12942 * gdb.perf/gm-std.h: New file.
12943 * gdb.perf/gm-use-cerr.cc: New file.
12944 * gdb.perf/gm-utils.h: New file.
12945 * gdb.perf/gmonster-null-lookup.py: New file.
12946 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12947 * gdb.perf/gmonster-print-cerr.py: New file.
12948 * gdb.perf/gmonster-ptype-string.py: New file.
12949 * gdb.perf/gmonster-runto-main.py: New file.
12950 * gdb.perf/gmonster-select-file.py: New file.
12951 * gdb.perf/gmonster1-null-lookup.exp: New file.
12952 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12953 * gdb.perf/gmonster1-print-cerr.exp: New file.
12954 * gdb.perf/gmonster1-ptype-string.exp: New file.
12955 * gdb.perf/gmonster1-runto-main.exp: New file.
12956 * gdb.perf/gmonster1-select-file.exp: New file.
12957 * gdb.perf/gmonster1.cc: New file.
12958 * gdb.perf/gmonster1.exp: New file.
12959 * gdb.perf/gmonster2-null-lookup.exp: New file.
12960 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12961 * gdb.perf/gmonster2-print-cerr.exp: New file.
12962 * gdb.perf/gmonster2-ptype-string.exp: New file.
12963 * gdb.perf/gmonster2-runto-main.exp: New file.
12964 * gdb.perf/gmonster2-select-file.exp: New file.
12965 * gdb.perf/gmonster2.cc: New file.
12966 * gdb.perf/gmonster2.exp: New file.
12968 2015-07-24 Doug Evans <dje@google.com>
12970 * gdb.perf/README: New file.
12971 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12972 * lib/gen-perf-test.exp: New file.
12974 2015-07-24 Doug Evans <dje@google.com>
12976 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12977 (PerfTest::startup): New function.
12978 (PerfTest::run): Return result of calling body.
12979 (PerfTest::assemble): Rewrite.
12980 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12981 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12982 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12983 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12984 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12986 2015-07-24 Doug Evans <dje@google.com>
12988 * lib/gdb.exp (clean_restart): Make executable optional.
12990 2015-07-24 Doug Evans <dje@google.com>
12992 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12993 compiler_info references.
12994 * gdb.cp/temargs.exp: Ditto.
12995 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12996 (get_compiler_info): Early exit if already computed. Set compiler_info
12997 to "unknown" if there was a problem.
12998 (test_compiler_info): Add function comment. Call get_compiler_info.
13000 2015-07-24 Doug Evans <dje@google.com>
13002 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13003 (workers/%.worker, build-perf): New rule.
13004 (GDB_PERFTEST_MODE): New variable.
13005 (check-perf): Use it.
13006 (clean): Clean up gdb.perf parallel build subdirs.
13007 * lib/build-piece.exp: New file.
13008 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13009 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13011 (standard_temp_file): Ditto.
13012 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13015 2015-07-24 Doug Evans <dje@google.com>
13017 * lib/future.exp (gdb_default_target_compile): New option
13019 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13022 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13024 * gdb.base/catch-syscall.exp: Call gdb_exit before
13027 2015-07-24 Pedro Alves <palves@redhat.com>
13029 * gdb.python/py-events.exp: Accept output between the stop event
13031 * gdb.python/py-evsignal.exp: Likewise.
13032 * gdb.python/py-evthreads.exp: Likewise.
13034 2015-07-24 Pedro Alves <palves@redhat.com>
13037 * gdb.threads/non-ldr-exit.c: New file.
13038 * gdb.threads/non-ldr-exit.exp: New file.
13040 2015-07-24 Yao Qi <yao.qi@linaro.org>
13042 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13043 restarting process.
13045 2015-07-24 Yao Qi <yao.qi@linaro.org>
13047 * gdb.server/ext-restart.exp: New file.
13049 2015-07-24 Yao Qi <yao.qi@linaro.org>
13051 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13053 * gdb.server/ext-wrapper.exp: New file.
13055 2015-07-23 Doug Evans <dje@google.com>
13057 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13058 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13060 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13062 * gdb.ada/var_arr_typedef.exp: New testcase.
13063 * gdb.ada/var_arr_typedef/pack.adb: New file.
13064 * gdb.ada/var_arr_typedef/pack.ads: New file.
13065 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13067 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13069 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13071 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13073 * gdb.arch/i386-biarch-core.exp: Replace istarget
13074 by "complete set gnutarget". Remove expectation for the "core-file"
13077 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13079 Revert the previous commit:
13080 Tests for validate symbol file using build-id.
13082 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13084 Tests for validate symbol file using build-id.
13085 * gdb.base/solib-mismatch-lib.c: New file.
13086 * gdb.base/solib-mismatch-libmod.c: New file.
13087 * gdb.base/solib-mismatch.c: New file.
13088 * gdb.base/solib-mismatch.exp: New file.
13090 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13092 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13094 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13095 * gdb.base/siginfo.exp: Likewise.
13096 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13098 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13100 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13102 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13104 * gdb.trace/range-stepping.exp: Check that the target supports
13107 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13109 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13111 2015-07-14 Pedro Alves <palves@redhat.com>
13113 * gdb.base/killed-outside.exp: New file.
13114 * gdb.base/killed-outside.c: New file.
13116 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13118 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13120 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13122 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13124 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13125 infcall tests instead of setting up for KFAIL.
13127 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13129 * gdb.btrace/record_goto-step.exp: New.
13131 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13134 * gdb.compile/compile.c (struct struct_type): Add volatile to
13136 * gdb.compile/compile.exp
13137 (compile code struct_object.selffield = &struct_object): Skip further
13138 struct_object tests if this one xfails.
13140 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13143 * gdb.trace/ax.exp: Add test.
13145 2015-07-07 Yao Qi <yao.qi@linaro.org>
13147 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13148 instead of istarget "aarch64*-*-*".
13149 * gdb.arch/aarch64-fp.exp: Likewise.
13150 * gdb.base/float.exp: Likewise.
13151 * gdb.reverse/aarch64.exp: Likewise.
13152 * lib/gdb.exp (is_aarch64_target): New proc.
13154 2015-07-07 Yao Qi <yao.qi@linaro.org>
13156 * lib/gdb.exp (is_aarch32_target): New proc.
13157 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13158 instead of "istarget "arm*-*-*"".
13159 * gdb.arch/arm-disp-step.exp: Likewise.
13160 * gdb.arch/thumb-bx-pc.exp: Likewise.
13161 * gdb.arch/thumb-prologue.exp: Likewise.
13162 * gdb.arch/thumb-singlestep.exp: Likewise.
13163 * gdb.base/disp-step-syscall.exp: Likewise.
13164 * gdb.base/float.exp: Likewise.
13166 2015-07-07 Yao Qi <yao.qi@linaro.org>
13168 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13169 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13171 2015-07-07 Yao Qi <yao.qi@linaro.org>
13173 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13174 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13176 * gdb.multi/multi-arch.exp: Likewise.
13178 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13180 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13183 2015-07-07 Yao Qi <yao.qi@linaro.org>
13185 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13187 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13189 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13190 '[' and ']' characters.
13192 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13194 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13196 2015-06-29 Pedro Alves <palves@redhat.com>
13199 * gdb.threads/hand-call-new-thread.c: New file.
13200 * gdb.threads/hand-call-new-thread.c: New file.
13202 2015-06-26 Keith Seitz <keiths@redhat.com>
13203 Doug Evans <dje@google.com>
13206 * gdb.cp/var-tag-2.cc: New file.
13207 * gdb.cp/var-tag-3.cc: New file.
13208 * gdb.cp/var-tag-4.cc: New file.
13209 * gdb.cp/var-tag.cc: New file.
13210 * gdb.cp/var-tag.exp: New file.
13212 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13214 * gdb.base/history-duplicates.exp: New test.
13216 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13218 * gdb.base/completion.exp: Test the completion of the "focus"
13221 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13223 * gdb.arch/amd64-prologue-skip.S: New file.
13224 * gdb.arch/amd64-prologue-skip.exp: New file.
13226 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13228 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13229 is_address_zero_readable check.
13231 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13233 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13234 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13236 2015-06-24 Yao Qi <yao.qi@linaro.org>
13238 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13241 2015-06-24 Yao Qi <yao.qi@linaro.org>
13243 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13244 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13245 * gdb.base/siginfo-thread.exp: Likewise.
13247 2015-06-22 Yao Qi <yao.qi@linaro.org>
13249 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13251 2015-06-22 Yao Qi <yao.qi@linaro.org>
13253 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13255 (skip_hw_watchpoint_tests): Likewise.
13257 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13259 * gdb.base/gdbinit-history.exp: Test the interaction between
13260 setting GDBHISTSIZE and setting the history size via .gdbinit.
13262 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13265 * gdb.base/gdbhistsize-history.exp: New test.
13267 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13269 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13271 * gdb.base/readline.exp: Likewise.
13273 2015-06-17 Yao Qi <yao.qi@linaro.org>
13275 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13278 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13280 * gdb.base/gdbinit-history.exp: Add test case to check that
13281 an unlimited history file does not get truncated on exit.
13283 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13285 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13286 (VECTOR): New macro. Use it...
13287 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13288 ...for these typedefs.
13289 (int8, char1, int1, double1): New typedefs.
13290 (struct just_int2, struct two_int2): New structures.
13291 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13292 (add_structvecs, add_singlevecs): New functions.
13293 (main): Call add_some_intvecs twice.
13294 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13295 the compile and exit upon failure. Try compiling for the "native"
13296 architecture. Test inferior function calls with vector arguments
13297 and vector return value handling with "finish" and "return".
13299 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13301 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13302 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13304 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13306 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13308 PR breakpoints/16465
13309 * gdb.mi/mi-dprintf-pending.c: New file.
13310 * gdb.mi/mi-dprintf-pending.exp: New test.
13311 * gdb.mi/mi-dprintf-pendshr.c: New file.
13313 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13314 Mircea Gherzan <mircea.gherzan@intel.com>
13316 * gdb.arch/i386-mpx-map.c: New file.
13317 * gdb.arch/i386-mpx-map.exp: New File.
13319 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13321 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13322 * gdb.arch/i386-mpx.exp: Indentation fixed.
13324 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13326 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13327 function and improved indentation.
13328 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13329 gdb_test_multiple. Added additional tests to skip the test.
13331 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13333 * gdb.arch/i386-avx512.c: Change path in include file.
13334 * gdb.arch/i386-avx512.exp: Change include dir path
13336 * gdb.arch/i386-mpx.c: Change path in include file.
13337 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13340 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13342 * gdb.compile/compile-print.exp (compile print *vararray@3)
13343 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13345 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13347 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13348 (do not keep jit in memory): ... this.
13349 (expect 5): Change it to ...
13350 (expect no 5): ... this.
13352 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13355 * gdb.mi/mi-detach.exp: New file.
13357 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13360 * gdb.arch/amd64-tailcall-self.S: New file.
13361 * gdb.arch/amd64-tailcall-self.c: New file.
13362 * gdb.arch/amd64-tailcall-self.exp: New file.
13364 2015-05-28 Don Breazeal <donb@codesourcery.com>
13366 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13367 tests for remote targets by checking is_target_gdbserver.
13369 2015-05-27 Doug Evans <dje@google.com>
13371 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13372 * gdb.dwarf2/opaque-type-lookup.c: New file.
13373 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13375 2015-05-26 Doug Evans <dje@google.com>
13377 * gdb.cp/iostream.cc: New file.
13378 * gdb.cp/iostream.exp: New file.
13380 2015-05-26 Doug Evans <dje@google.com>
13382 * gdb.dwarf2/dw2-op-call.exp: Update.
13383 * gdb.dwarf2/dw4-sig-types.exp: Update.
13384 * gdb.dwarf2/implptr.exp: Update.
13385 * gdb.mi/mi-cmd-param-changed.exp: Update.
13387 2015-05-26 Doug Evans <dje@google.com>
13389 * gdb.python/py-lazy-string.c: New file.
13390 * gdb.python/py-lazy-string.exp: New file.
13391 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13392 (main): Update. Add estring3.
13393 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13394 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13396 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13397 Yao Qi <yao.qi@linaro.org>
13399 * gdb.reverse/aarch64.c: New.
13400 * gdb.reverse/aarch64.exp: New.
13402 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13404 * lib/gdb.exp (supports_process_record): Return true for
13406 (supports_reverse): Likewise.
13408 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13410 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13411 Use with_test_prefix.
13413 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13415 * gdb.base/completion.exp: Add test for completion of layout
13418 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13420 * lib/gdb.exp (skip_tui_tests): New proc.
13421 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13423 2015-05-19 Pedro Alves <palves@redhat.com>
13425 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13426 Save the whole env array instead of just HOME. Unset HISTSIZE in
13427 the environment while testing. Restore whole environment
13430 2015-05-16 Doug Evans <xdje42@gmail.com>
13432 * gdb.guile/scm-ports.c: New file.
13433 * gdb.guile/scm-ports.exp: Add memory port tests.
13435 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13437 * gdb.compile/compile-print.c: New file.
13438 * gdb.compile/compile-print.exp: New file.
13440 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13442 * gdb.compile/compile-ops.exp: Cast param to void.
13443 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13444 (compile code struct_object.selffield = &struct_object): Add xfail.
13446 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13448 * gdb.ada/arr_enum_with_gap: New testcase.
13450 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13452 * gdb.ada/byte_packed_arr: New testcase.
13454 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13456 * gdb.ada/pckd_neg: New testcase.
13458 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13461 * gdb.base/gdbinit-history.exp: New test.
13462 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13463 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13465 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13467 * gdb.python/py-xmethods.cc: Enhance test case.
13468 * gdb.python/py-xmethods.exp: New tests.
13469 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13471 (B_indexoper): Likewise.
13472 (global_dm_list) : Add new xmethod worker functions.
13474 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13476 * gdb.base/coredump-filter.exp: Correctly unset
13477 "coredump_var_addr" array.
13479 2015-05-08 Pedro Alves <palves@redhat.com>
13481 * gdb.server/non-existing-program.exp: Unset spawn_id.
13483 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13486 * gdb.python/py-xmethods.exp: Add tests.
13488 2015-05-08 Yao Qi <yao.qi@linaro.org>
13491 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13492 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13493 function set_coredump_filter, and remove remote_exec call.
13494 Remove argument ipid. Callers update.
13495 (top level): Don't get inferior's PID.
13497 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13499 * gdb.base/watch_thread_num.exp: Skip test on targets without
13500 access watchpoints.
13502 2015-05-06 Pedro Alves <palves@redhat.com>
13505 * gdb.server/non-existing-program.exp: New file.
13507 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13509 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13511 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13513 * gdb.ada/out_of_line_in_inlined: New testcase.
13515 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13517 * gdb.ada/var_rec_arr: New testcase.
13519 2015-04-30 Yao Qi <yao.qi@linaro.org>
13521 * gdb.base/break-idempotent.exp: If
13522 skip_hw_watchpoint_multi_tests returns true, skip the tests
13523 on "rwatch" and "awatch".
13525 2015-04-30 Yao Qi <yao.qi@linaro.org>
13527 * gdb.base/relativedebug.exp: Invoke gdb command
13528 "info sharedlibrary", and if libc.so doesn't have debug info,
13531 2015-04-29 Doug Evans <dje@google.com>
13533 * gdb.python/py-xmethods.exp: Add ptype tests.
13534 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13535 get_result_type method.
13537 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13539 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13540 the target does not support hardware watchpoints.
13542 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13544 * gdb.base/break-always.exp: Abort testing if writing to memory
13547 2015-04-28 Doug Evans <dje@google.com>
13549 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13550 * gdb.python/py-pp-registration.exp: ... here. New file.
13551 * gdb.python/py-pp-registration.c: New file.
13552 * gdb.python/py-pp-registration.py: New file.
13554 2015-04-28 Doug Evans <dje@google.com>
13556 * gdb.python/py-bad-printers.c: New file.
13557 * gdb.python/py-bad-printers.py: New file.
13558 * gdb.python/py-bad-printers.exp: New file.
13560 2015-04-28 Sasha Smundak <asmundak@google.com>
13562 * gdb.python/py-type.exp: New test.
13564 2015-04-28 Andy Wingo <wingo@igalia.com>
13566 * gdb.python/py-parameter.exp:
13567 * gdb.guile/scm-parameter.exp: Escape the path that we are
13568 matching against, as it might contain characters that are special
13569 to regular expressions.
13571 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13573 * gdb.ada/rec_comp: New testcase.
13575 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13577 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13580 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13582 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13583 new tests for verilog output.
13585 2015-04-24 Yao Qi <yao.qi@linaro.org>
13587 * boards/remote-gdbserver-on-localhost.exp: New file.
13589 2015-04-23 Pedro Alves <palves@redhat.com>
13591 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13592 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13593 "end of file", remove $inferior_spawn_id from the indirect list.
13595 2015-04-23 Pedro Alves <palves@redhat.com>
13597 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13599 2015-04-23 Pedro Alves <palves@redhat.com>
13601 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13602 on $any_spawn_id instead of only on $gdb_spawn_id.
13604 2015-04-21 Pierre Muller <muller@sourceware.org>
13607 * lib/pascal.exp (gpc_compile): Add new option "class".
13608 (fpc_compile): Likewise.
13609 * gdb.pascal/case-insensitive-symbols.pas: New file.
13610 * gdb.pascal/case-insensitive-symbols.exp: New file.
13612 2015-04-20 Gary Benson <gbenson@redhat.com>
13614 * gdb.base/attach.exp: Fix three extended remote failures.
13616 2015-04-17 Gary Benson <gbenson@redhat.com>
13618 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13619 the main executable over the remote protocol.
13621 2015-04-16 Pedro Alves <palves@redhat.com>
13623 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13624 a new gdbserver if gdbserver_reconnect_p is set.
13626 2015-04-16 Pedro Alves <palves@redhat.com>
13628 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13629 is set, don't exit gdbserver.
13631 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13633 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13634 appropriate .insn, such that an older assembler can be used.
13635 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13636 the z/Architecture instruction set on 31-bit targets as well.
13638 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13640 * gdb.go/handcall.exp: Remove all logic related to the first
13641 breakpoint and rely on go_runto_main instead.
13642 * gdb.go/strings.exp: Likewise.
13643 * gdb.go/unsafe.exp: Likewise.
13644 * gdb.go/hello.exp: Likewise. Also rename the remaining
13645 breakpoint marker to "breakpoint 1".
13646 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13647 * gdb.go/strings.go: Likewise.
13648 * gdb.go/unsafe.go: Likewise.
13649 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13650 "set breakpoint 2 here" and rename the remaining breakpoint marker
13653 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13655 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13656 if itertools.imap is not present.
13657 * gdb.python/py-objfile.exp: Add parentheses.
13658 * gdb.python/py-type.exp: Same.
13659 * gdb.python/py-unwind-maint.py: Same.
13661 2015-04-15 Yao Qi <yao.qi@linaro.org>
13663 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13664 of ":$ptr_size" and set its form explicitly.
13666 2015-04-15 Pedro Alves <palves@redhat.com>
13667 Yao Qi <yao.qi@linaro.org>
13669 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13670 timeout by factor of 4.
13671 (test_regular_watch): Likewise.
13672 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13673 * gdb.reverse/sigall-reverse.exp: Likewise.
13674 * gdb.reverse/until-precsave.exp: Likewise.
13675 * lib/gdb.exp (with_timeout_factor): New proc.
13676 (gdb_expect): Move some code to ...
13677 (get_largest_timeout): ... here. New procedure.
13679 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13681 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13683 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13685 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13686 to write to the .text section.
13688 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13690 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13691 Handle the case of targets that do not provide PID information.
13693 2015-04-13 Yao Qi <yao.qi@linaro.org>
13695 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13696 and use expect instead of gdb_expect.
13698 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13700 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13701 "coredump_var_addr" to avoid naming conflict with other testcases.
13703 2015-04-10 Pedro Alves <palves@redhat.com>
13705 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13706 gdb_test_sequence and gdb_assert.
13708 2015-04-10 Pedro Alves <palves@redhat.com>
13710 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13711 test messages that don't include the breakpoint address.
13713 2015-04-10 Yao Qi <yao.qi@linaro.org>
13715 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13716 false for some offset and width combinations which aren't
13717 supported by linux kernel.
13719 2015-04-10 Pedro Alves <palves@redhat.com>
13721 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13722 procedure, factored out from ...
13723 (top level): ... here. Add "set displaced-stepping" testing axis.
13724 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13725 parameter "displaced". Use it.
13726 (top level): Use foreach and add "set displaced-stepping" testing
13729 2015-04-10 Pedro Alves <palves@redhat.com>
13731 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13733 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13734 both the address of the instruction that triggers the watchpoint
13735 and the address of the instruction immediately after, and use
13736 those addresses for the test. Fix comment.
13738 2015-04-10 Pedro Alves <palves@redhat.com>
13740 * gdb.base/sigstep.exp (breakpoint_to_handler)
13741 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13742 Test "backtrace" in handler.
13743 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13744 (top level): Add new "displaced" test axis to
13745 breakpoint_to_handler, breakpoint_to_handler_entry and
13746 breakpoint_over_handler.
13748 2015-04-10 Pedro Alves <palves@redhat.com>
13751 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13753 2015-04-10 Yao Qi <yao.qi@linaro.org>
13755 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13756 (test_add_rn_pc): New function.
13757 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13758 (top level): Invoke test_add_rn_pc.
13760 2015-04-10 Pedro Alves <palves@redhat.com>
13763 * gdb.base/step-over-no-symbols.exp: New file.
13765 2015-04-09 Andy Wingo <wingo@igalia.com>
13767 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13768 after the Python tests.
13770 2015-04-08 Keith Seitz <keiths@redhat.com>
13773 * gdb.python/py-completion.exp: New tests for completion.
13774 * gdb.python/py-completion.py (CompleteLimit1): New class.
13775 (CompleteLimit2): Likewise.
13776 (CompleteLimit3): Likewise.
13777 (CompleteLimit4): Likewise.
13778 (CompleteLimit5): Likewise.
13779 (CompleteLimit6): Likewise.
13780 (CompleteLimit7): Likewise.
13782 2015-04-08 Pedro Alves <palves@redhat.com>
13786 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13788 (main): Install it as SIGUSR1 handler.
13789 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13790 parameter. Always use "setup" as prefix. Toggle "set
13791 displaced-stepping" off/on depending on global. Don't switch to
13793 (top level): Add displaced stepping "off/on" test axis. Update
13794 "setup" calls. Wrap each subtest with with_test_prefix. Test
13795 continuing with a queued signal in each thread.
13797 2015-04-08 Pedro Alves <palves@redhat.com>
13799 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13800 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13801 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13802 Return early if running to main fails.
13803 * gdb.trace/while-stepping.exp: Likewise.
13805 2015-04-07 Pedro Alves <palves@redhat.com>
13807 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13808 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13809 interact with inferior program.
13811 2015-04-07 Pedro Alves <palves@redhat.com>
13813 * lib/gdb.exp (inferior_spawn_id): New global.
13814 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13815 spawn id after processing the user code.
13816 (default_gdb_start): Set inferior_spawn_id.
13817 (send_inferior): New procedure.
13818 * lib/gdbserver-support.exp (gdbserver_start): Set
13820 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13822 2015-04-07 Pedro Alves <palves@redhat.com>
13824 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13825 * lib/gdbserver-support.exp (gdbserver_start): Make
13826 $server_spawn_id global.
13827 (gdbserver_start): Don't wait for gdbserver's spawn id with
13829 (close_gdbserver): New procedure.
13830 (gdb_exit): Rename the default version and reimplement.
13832 2015-04-07 Pedro Alves <palves@redhat.com>
13834 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13835 append the substituted item, not the original item.
13837 2015-04-07 Pedro Alves <palves@redhat.com>
13839 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13842 2015-04-07 Pedro Alves <palves@redhat.com>
13844 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13845 output appearing once only.
13847 2015-04-07 Pedro Alves <palves@redhat.com>
13849 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13850 that doesn't expect anything. Return early if running to main
13853 2015-04-07 Yao Qi <yao.qi@linaro.org>
13855 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13856 (child_function): Call alarm.
13857 (main): Move call to alarm into the loop.
13858 * gdb.threads/non-stop-fair-events.exp: Build program with
13859 -DTIMEOUT=$timeout.
13861 2015-04-06 Doug Evans <xdje42@gmail.com>
13863 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13864 Fix dest parameter to board_info.
13865 (fpc_compile): Ditto.
13866 (gdb_compile_pascal): Rename dest arg to destfile.
13868 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13870 * gdb.ada/funcall_ref.exp: New file.
13871 * gdb.ada/funcall_ref/foo.adb: New file.
13873 2015-04-02 Yao Qi <yao.qi@linaro.org>
13875 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13878 2015-04-02 Gary Benson <gbenson@redhat.com>
13880 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13882 2015-04-01 Sasha Smundak <asmundak@google.com>
13884 * gdb.python/py-unwind-maint.c: New file.
13885 * gdb.python/py-unwind-maint.exp: New test.
13886 * gdb.python/py-unwind-maint.py: New file.
13887 * gdb.python/py-unwind.c: New file.
13888 * gdb.python/py-unwind.exp: New test.
13889 * gdb.python/py-unwind.py: New test.
13891 2015-04-01 Pedro Alves <palves@redhat.com>
13893 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13894 to fail instead of non-existent $test.
13896 2015-04-01 Pedro Alves <palves@redhat.com>
13898 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13899 GDBFLAGS if not empty.
13901 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13903 * gdb.ada/complete.exp: Remove "multi_line".
13904 * gdb.ada/info_exc.exp: Remove "multi_line".
13905 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13906 * gdb.ada/ptype_field.exp: Remove "multi_line".
13907 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13908 * gdb.ada/tagged.exp: Remove "multi_line".
13909 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13911 * gdb.btrace/delta.exp: Likewise.
13912 * gdb.btrace/exception.exp: Likewise.
13913 * gdb.btrace/function_call_history.exp: Likewise.
13914 * gdb.btrace/instruction_history.exp: Likewise.
13915 * gdb.btrace/nohist.exp: Likewise.
13916 * gdb.btrace/record_goto.exp: Likewise.
13917 * gdb.btrace/segv.exp: Likewise.
13918 * gdb.btrace/stepi.exp: Likewise.
13919 * gdb.btrace/tailcall.exp: Likewise.
13920 * gdb.btrace/unknown_functions.exp: Likewise.
13921 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13922 * lib/gdb.exp: Add the "multi_line" helper.
13924 2015-04-01 Pedro Alves <palves@redhat.com>
13926 * gdb.threads/tid-reuse.c: New file.
13927 * gdb.threads/tid-reuse.exp: New file.
13929 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13932 * gdb.base/coredump-filter.c: New file.
13933 * gdb.base/coredump-filter.exp: Likewise.
13935 2015-03-27 Petr Machata <pmachata@redhat.com>
13937 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13938 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13939 (Dwarf::assemble): Initialize them.
13940 (Dwarf::lines): New function.
13942 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13944 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13945 SYMBOL_PREFIX for x86_64-*-cygwin.
13947 2015-03-26 Andy Wingo <wingo@igalia.com>
13950 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13951 const_value but not a location.
13952 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13953 location defined in non-main CUs are visible.
13955 2015-03-26 Yao Qi <yao.qi@linaro.org>
13958 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13959 Add a line number entry for the same line.
13960 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13961 Add a line number entry for the same line.
13963 2015-03-26 Yao Qi <yao.qi@linaro.org>
13965 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13967 (func): Likewise. Add .Lfunc_1 label.
13968 Use .Lfunc_1 label.
13969 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13972 Use .Lfunc_1 label.
13974 2015-03-26 Yao Qi <yao.qi@linaro.org>
13976 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13977 Call gdb_compile instead to compile each .s files without debug
13980 2015-03-26 Yao Qi <yao.qi@linaro.org>
13982 * gdb.base/savedregs.exp (process_saved_regs): Make
13983 "Saved registers:" optional in the pattern.
13985 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13987 * gdb.btrace/next.exp: Merged into step.exp.
13988 * gdb.btrace/finish.exp: Merged into step.exp.
13989 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13990 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13991 "record goto" and checking the exact replay position.
13992 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13993 check for "Recording format" in "info record" output.
13994 * gdb.btrace/record_goto.exp: Choose test file based on target.
13995 * gdb.btrace/x86-record_goto.S: Renamed into ...
13996 * gdb.btrace/x86_64-record_goto.S: ... this.
13997 * gdb.btrace/i686-record_goto.S: New.
13998 * gdb.btrace/x86-tailcall.S: Renamed into ...
13999 * gdb.btrace/x86_64-tailcall.S: ... this.
14000 * gdb.btrace/i686-tailcall.S: New.
14001 * gdb.btrace/x86-tailcall.c: Renamed into ...
14002 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14003 separate statements. Update test.
14004 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14005 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14006 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14007 * gdb.btrace/tailcall.exp: Choose test file based on target.
14008 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14010 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14012 * gdb.btrace/exception.exp: Increase BTS buffer size.
14014 2015-03-24 Pedro Alves <palves@redhat.com>
14016 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14018 2015-03-24 Pedro Alves <palves@redhat.com>
14020 * gdb.threads/schedlock.exp (test_step): No longer expect that
14021 "set scheduler-locking step" with "next" over a function call runs
14024 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14026 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14028 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14030 PR breakpoints/16466
14031 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14032 * gdb.mi/mi-pending.c (thread_func): New function.
14033 (int main): Add threading support required.
14034 * gdb.mi/mi-pending.exp: Add tests for this issue.
14035 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14036 (pendfunc2): Remove stdio dependency.
14037 * gdb.mi/mi-pendshr2.c: New file.
14039 2015-03-23 Keith Seitz <keiths@redhat.com>
14041 * gdb.linespec/keywords.c: New file.
14042 * gdb.linespec/keywords.exp: New file.
14044 2015-03-23 Keith Seitz <keiths@redhat.com>
14047 * gdb.dwarf2/staticvirtual.exp: New test.
14049 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14051 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14052 * README: Remove HP-UX and gdb.hp.
14054 * configure: Regenerate.
14055 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14056 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14057 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14058 gdb.hp/gdb.defects/Makefile.
14059 * gdb.hp/Makefile.in: File deleted.
14060 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14061 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14062 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14063 * gdb.hp/gdb.aCC/run.c: File deleted.
14064 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14065 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14066 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14067 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14068 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14069 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14070 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14071 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14072 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14073 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14074 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14075 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14076 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14077 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14078 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14079 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14080 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14081 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14082 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14083 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14084 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14085 * gdb.hp/gdb.compat/average.c: File deleted.
14086 * gdb.hp/gdb.compat/sum.c: File deleted.
14087 * gdb.hp/gdb.compat/xdb.c: File deleted.
14088 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14089 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14090 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14091 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14092 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14093 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14094 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14095 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14096 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14097 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14098 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14099 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14100 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14101 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14102 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14103 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14104 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14105 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14106 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14107 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14108 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14109 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14110 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14111 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14112 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14113 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14114 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14115 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14116 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14117 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14118 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14119 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14120 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14121 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14122 * gdb.hp/tools/odump: File deleted.
14124 2015-03-19 Pedro Alves <palves@redhat.com>
14126 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14127 (saw_thread_3): New globals.
14128 (top level): Increment them when an event for the corresponding
14130 (no thread starvation): New test.
14132 2015-03-19 Pedro Alves <palves@redhat.com>
14134 * gdb.threads/continue-pending-status.c: New file.
14135 * gdb.threads/continue-pending-status.exp: New file.
14137 2015-03-18 Pedro Alves <palves@redhat.com>
14139 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14140 Use gdb_is_target_remote instead of is_remote. Use
14141 gdb_test_multiple instead of gdb_expect. Exit early if
14142 gdb_test_multiple hits its internal matches. Tighten stepi tests
14143 expected output. Fail on exit with any signal, instead of just
14146 2015-03-18 Yao Qi <yao.qi@linaro.org>
14149 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14151 * gdb.base/catch-syscall.exp: Don't skip it on
14152 aarch64*-*-linux* target. Remove elements in all_syscalls.
14153 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14155 (setup_all_syscalls): New proc.
14157 2015-03-16 Yao Qi <yao.qi@linaro.org>
14159 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14160 (top level): Skip tests if valid_addr_p returns false for
14163 2015-03-11 Andy Wingo <wingo@igalia.com>
14165 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14167 2015-03-11 Yao Qi <yao.qi@linaro.org>
14169 * gdb.base/catch-syscall.exp: Fix typo in comments.
14171 2015-03-11 Yao Qi <yao.qi@linaro.org>
14173 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14175 2015-03-09 Pedro Alves <palves@redhat.com>
14177 * dg-extract-results.py: Delete.
14179 2015-03-09 Pedro Alves <palves@redhat.com>
14181 Merge dg-extract-results.sh from GCC upstream (r218843).
14183 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14184 * dg-extract-results.sh: Use --text with grep to avoid issues with
14185 binary files. Fall back to cat -v, if that doesn't work.
14187 2015-03-05 Pedro Alves <palves@redhat.com>
14189 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14191 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14193 * lib/mi-support.exp (mi_expect_interrupt): Accept
14194 alternative event for when in all-stop mode.
14196 2015-03-04 Pedro Alves <palves@redhat.com>
14198 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14200 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14202 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14204 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14206 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14207 regexps for GDB's current line display, accept a hex address
14208 preceding the line number.
14210 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14212 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14213 the 'arch1' variable for "s390*-linux*" targets.
14215 2015-03-04 Pedro Alves <palves@redhat.com>
14217 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14218 (main): Pass missing retval argument to pthread_join call.
14220 2015-03-02 Pedro Alves <palves@redhat.com>
14222 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14223 (top level): Call do_test with non-stop as well.
14225 2015-03-02 Pedro Alves <palves@redhat.com>
14227 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14230 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14232 * gdb.arch/s390-vregs.exp: New test.
14233 * gdb.arch/s390-vregs.S: New file.
14235 2015-02-27 Pedro Alves <palves@redhat.com>
14237 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14238 call to catch_command_errors.
14239 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14240 catch_command_errors.
14242 2015-02-27 Pedro Alves <palves@redhat.com>
14244 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14245 "true" for boolean result.
14246 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14249 2015-02-27 Pedro Alves <palves@redhat.com>
14251 * lib/unbuffer_output.c: New file.
14252 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14253 (main): Call gdb_unbuffer_output.
14255 2015-02-27 Yao Qi <yao.qi@linaro.org>
14257 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14260 2015-02-26 Doug Evans <dje@google.com>
14262 * gdb.cp/class2.cc (Dbase, D): New classes.
14263 (main): New local delta.
14264 * gdb.cp/class2.exp: Test printing delta.
14265 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14266 (dynbar): New global.
14267 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14269 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14271 * gdb.compile/compile-ifunc.c: New file.
14272 * gdb.compile/compile-ifunc.exp: New file.
14274 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14276 * gdb.base/structs.exp: Check for correct struct on finish.
14278 2015-02-26 Yao Qi <yao.qi@linaro.org>
14280 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14283 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14285 * gdb.arch/cordic.ko.bz2: New file.
14286 * gdb.arch/cordic.ko.debug.bz2: New file.
14287 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14289 2015-02-25 Yao Qi <yao.qi@linaro.org>
14291 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14292 aarch64*-*-* target.
14294 2015-02-23 Pedro Alves <palves@redhat.com>
14296 * lib/gdb.exp (delete_breakpoints): Rewrite using
14299 2015-02-23 Pedro Alves <palves@redhat.com>
14301 * gdb.base/info-os.c: Include stdlib.h.
14303 2015-02-22 Doug Evans <xdje42@gmail.com>
14306 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14307 is read after symbols have been re-read.
14308 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14309 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14311 2015-02-21 Doug Evans <dje@google.com>
14313 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14315 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14318 * gdb.arch/i386-biarch-core.core.bz2: New file.
14319 * gdb.arch/i386-biarch-core.exp: New file.
14321 2015-02-21 Pedro Alves <palves@redhat.com>
14323 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14326 2015-02-20 Pedro Alves <palves@redhat.com>
14328 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14331 2015-02-20 Pedro Alves <palves@redhat.com>
14333 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14335 2015-02-20 Pedro Alves <palves@redhat.com>
14337 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14338 clean_restart before gdb_target_supports_trace.
14340 2015-02-20 Pedro Alves <palves@redhat.com>
14343 * gdb.threads/clone-thread_db.c: New file.
14344 * gdb.threads/clone-thread_db.exp: New file.
14346 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14348 PR breakpoints/16812
14349 * gdb.base/catch-gdb-caused-signals.c: New file.
14350 * gdb.base/catch-gdb-caused-signals.exp: New file.
14352 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14354 * configure: Regenerated.
14355 * configure.ac: Use GDB_AC_TRANSFORM.
14356 * aclocal.m4: sinclude ../transform.m4.
14358 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14360 * lib/dtrace.exp: New file.
14361 * gdb.base/dtrace-probe.exp: Likewise.
14362 * gdb.base/dtrace-probe.d: Likewise.
14363 * gdb.base/dtrace-probe.c: Likewise.
14364 * lib/pdtrace.in: Likewise.
14365 * configure.ac: Output variables with the transformed names of
14366 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14367 * configure: Regenerated.
14369 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14371 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14372 expected message when trying to access $_probe_* convenience
14373 variables while not on a probe.
14375 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14377 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14379 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14381 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14382 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14384 2015-02-10 Doug Evans <xdje42@gmail.com>
14386 * lib/gdb.exp (gdb_load): Always return a result.
14388 2015-02-10 Pedro Alves <palves@redhat.com>
14390 * gdb.threads/signal-sigtrap.c: New file.
14391 * gdb.threads/signal-sigtrap.exp: New file.
14393 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14395 * gdb.trace/no-attach-trace.c: New file.
14396 * gdb.trace/no-attach-trace.exp: New file.
14398 2015-02-09 Mark Wielaard <mjw@redhat.com>
14400 * gdb.dwarf2/atomic.c: New file.
14401 * gdb.dwarf2/atomic-type.exp: Likewise.
14403 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14405 * gdb.btrace/buffer-size.exp: Update "info record" output.
14406 * gdb.btrace/delta.exp: Update "info record" output.
14407 * gdb.btrace/enable.exp: Update "info record" output.
14408 * gdb.btrace/finish.exp: Update "info record" output.
14409 * gdb.btrace/instruction_history.exp: Update "info record" output.
14410 * gdb.btrace/next.exp: Update "info record" output.
14411 * gdb.btrace/nexti.exp: Update "info record" output.
14412 * gdb.btrace/step.exp: Update "info record" output.
14413 * gdb.btrace/stepi.exp: Update "info record" output.
14414 * gdb.btrace/nohist.exp: Update "info record" output.
14416 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14418 * gdb.btrace/buffer-size: New.
14420 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14422 * gdb.btrace/delta.exp: Update "info record" output.
14423 * gdb.btrace/enable.exp: Update "info record" output.
14424 * gdb.btrace/finish.exp: Update "info record" output.
14425 * gdb.btrace/instruction_history.exp: Update "info record" output.
14426 * gdb.btrace/next.exp: Update "info record" output.
14427 * gdb.btrace/nexti.exp: Update "info record" output.
14428 * gdb.btrace/step.exp: Update "info record" output.
14429 * gdb.btrace/stepi.exp: Update "info record" output.
14430 * gdb.btrace/nohist.exp: Update "info record" output.
14432 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14435 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14437 2015-02-06 Pedro Alves <palves@redhat.com>
14439 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14441 (seconds_left, again): New globals.
14442 (main): Wait seconds_left in a 1-second sleep loop instead of
14443 sleeping 180 seconds. If 'again' is set, reset the seconds
14445 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14446 'again' in the inferior before detaching. Print the seconds left.
14447 (options): New global.
14448 (top level): Build program with -DTIMEOUT=$timeout.
14450 2015-02-06 Pedro Alves <palves@redhat.com>
14452 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14453 determine how many seconds to pass to 'alarm'.
14454 * gdb.base/gdb-sigterm.exp (top level): Build program with
14455 -DTIMEOUT=$timeout.
14456 (do_test): Return success/failure indication. Add more verbose
14457 logging. Don't fail if 200 single steps are seen. Instead, fail
14458 when the test times out.
14459 (passes): New global.
14460 (top level): Break the testing loop if testing fails on any
14461 iteration. Use gdb_assert.
14463 2015-02-04 Don Breazeal <donb@codesourcery.com>
14465 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14466 and initialize them.
14467 (ipc_cleanup): New function.
14468 (main): Don't declare shmid, semid, and msqid. Add a call to
14469 atexit so that we call ipc_cleanup on exit.
14471 2015-02-04 Pedro Alves <palves@redhat.com>
14473 * boards/native-extended-gdbserver.exp: Remove any target variant
14474 specifications from the board name before clearing the isremote
14475 flag from board_info.
14477 2015-01-31 Doug Evans <xdje42@gmail.com>
14479 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14481 2015-01-31 Gary Benson <gbenson@redhat.com>
14483 * gdb.base/completion.exp: Disable completion limiting for
14484 existing tests. Add new tests to check completion limiting.
14485 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14487 2015-01-31 Doug Evans <xdje42@gmail.com>
14489 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14491 2015-01-31 Doug Evans <xdje42@gmail.com>
14493 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14494 entries. Duplicate file section script entries.
14495 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14496 inlined entries. Add test for safe-path rejection.
14497 * gdb.python/py-section-script.c: Add duplicate inlined section script
14498 entries. Duplicate file section script entries.
14499 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14500 inlined entries. Add test for safe-path rejection.
14502 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14504 * gdb.ada/disc_arr_bound: New testcase.
14506 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14508 * gdb.ada/mi_var_array: New testcase.
14510 2015-01-27 Doug Evans <dje@google.com>
14512 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14513 Add test for objfile.filename, objfile.username after objfile
14516 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14518 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14519 the second test to print the name attribute of value
14520 returned by the call to gdb.lookup_type, and adjust
14521 the expected output accordingly.
14523 2015-01-25 Mark Wielaard <mjw@redhat.com>
14525 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14526 * gdb.base/disp-step-fork.c: Include unistd.h.
14527 * gdb.base/siginfo-obj.c: Include stdio.h.
14528 * gdb.base/siginfo-thread.c: Likewise.
14529 * gdb.mi/non-stop.c: Include unistd.h.
14530 * gdb.mi/nsthrexec.c: Include stdio.h.
14531 * gdb.mi/pthreads.c: Include unistd.h.
14532 * gdb.modula2/unbounded1.c (main): Declare returns int.
14533 * gdb.reverse/consecutive-reverse.c: Likewise.
14534 * gdb.threads/create-fail.c: Include unistd.h.
14535 * gdb.threads/killed.c: Likewise.
14536 * gdb.threads/linux-dp.c: Likewise.
14537 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14538 * gdb.threads/non-ldr-exc-2.c: Likewise.
14539 * gdb.threads/non-ldr-exc-3.c: Likewise.
14540 * gdb.threads/non-ldr-exc-4.c: Likewise.
14541 * gdb.threads/pthreads.c: Include unistd.h.
14542 (main): Declare returns int.
14543 * gdb.threads/tls-main.c (foo): New declaration.
14544 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14546 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14548 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14549 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14551 2015-01-15 Mark Wielaard <mjw@redhat.com>
14553 * gdb.base/noreturn-return.c: New file.
14554 * gdb.base/noreturn-return.exp: New file.
14555 * gdb.base/noreturn-finish.c: New file.
14556 * gdb.base/noreturn-finish.exp: New file.
14558 2015-01-23 Pedro Alves <palves@redhat.com>
14560 * gdb.threads/continue-pending-after-query.c: New file.
14561 * gdb.threads/continue-pending-after-query.exp: New file.
14563 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14564 Simon Marchi <simon.marchi@ericsson.com>
14566 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14567 * gdb.base/valgrind-db-attach.exp: Same.
14568 * gdb.base/valgrind-infcall.exp: Same.
14569 * lib/mi-support.exp (default_mi_gdb_start): Same.
14570 * lib/prompt.exp (default_prompt_gdb_start): Same.
14571 * lib/gdb.exp (default_gdb_spawn): Same.
14572 (gdb_interact): New.
14575 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14577 * gdb.compile/compile.exp (pointer to jit function): New test.
14579 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14581 * lib/gdb.exp (supports_process_record): Return true for
14583 (supports_reverse): Likewise.
14585 2015-01-15 Don Breazeal <donb@codesourcery.com>
14587 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14588 instead of checking whether the target board is remote and
14589 use spawn_wait_for_attach instead of exec/sleep.
14590 * gdb.base/attach-twice.exp: Likewise.
14592 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14594 * gdb.ada/var_arr_attrs: New testcase.
14596 2015-01-14 Pedro Alves <palves@redhat.com>
14597 Joel Brobecker <brobecker@adacore.com>
14600 * gdb.base/bp-cmds-execution-x-script.c: New file.
14601 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14602 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14604 2015-01-14 Pedro Alves <palves@redhat.com>
14607 * gdb.base/batch-preserve-term-settings.c: New file.
14608 * gdb.base/batch-preserve-term-settings.exp: New file.
14610 2015-01-13 Doug Evans <dje@google.com>
14612 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14615 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14617 * Makefile.in (clean mostlyclean): Do not delete *.py.
14619 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14621 * gdb.python/py-lookup-type.exp: New file.
14623 2015-01-12 Pedro Alves <palves@redhat.com>
14625 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14626 restore GDBFLAGS before returning.
14628 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14630 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14631 is_amd64_regs_target and is_x86_like_target.
14633 2015-01-11 Doug Evans <xdje42@gmail.com>
14635 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14636 is given without an explicit form.
14637 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14639 * gdb.dwarf/corrupt.exp: Ditto.
14640 * gdb.dwarf2/enum-type.exp: Ditto.
14641 * gdb.trace/entry-values.exp: Ditto.
14642 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14644 2015-01-11 Doug Evans <xdje42@gmail.com>
14647 * gdb.base/maint.exp: Remove references to "maint demangle".
14648 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14649 Add tests for explicitly specifying language to demangle.
14650 * gdb.dlang/demangle.exp: Ditto.
14652 2015-01-09 Pedro Alves <palves@redhat.com>
14654 * gdb.threads/non-stop-fair-events.c: New file.
14655 * gdb.threads/non-stop-fair-events.exp: New file.
14657 2015-01-09 Pedro Alves <palves@redhat.com>
14659 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14660 the global scope. Set a breakpoint after all threads are started
14661 rather than stepping over two source lines. Expect the prompt.
14662 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14665 (main): Use threads_started_barrier to wait for all threads to
14666 start. Main thread no longer calls thread_function. Exit after
14668 (loop): New function.
14669 (thread_function): Wait on threads_started_barrier barrier. Call
14670 'loop' at each iteration.
14671 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14672 threads have started, instead of hardcoding number of "next"
14673 steps. Use an access watchpoint instead of a write watchpoint.
14675 2015-01-09 Pedro Alves <palves@redhat.com>
14677 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14678 (thread_func): Wait on barrier.
14679 (main): Wait for all threads to start before stopping GDB.
14680 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14682 (thread1_func, thread2_func): Wait on barrier.
14683 (main): Wait for all threads to start before stopping GDB.
14684 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14686 (thread1_func, thread2_func): Wait on barrier.
14687 (main): Wait for all threads to start before stopping GDB.
14689 2015-01-09 Pedro Alves <palves@redhat.com>
14691 * gdb.threads/attach-many-short-lived-threads.c: New file.
14692 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14694 2014-01-09 Pedro Alves <palves@redhat.com>
14696 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14697 instead of to thread 2.
14698 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14699 Add barrier around each pthread_create call instead of around all
14701 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14702 Set a break on thread_function and have the child threads hit it
14705 2015-01-09 Pedro Alves <palves@redhat.com>
14707 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14708 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14710 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14711 checking whether the target board is remote.
14712 * gdb.multi/multi-attach.exp: Likewise.
14713 * gdb.python/py-sync-interp.exp: Likewise.
14714 * gdb.server/ext-attach.exp: Likewise.
14715 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14716 tests that need to attach, instead of checking whether the target
14717 board is remote at the top of the file.
14719 2015-01-08 Yao Qi <yao@codesourcery.com>
14721 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14723 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14725 Fix testcase compilation.
14726 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14728 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14730 * gdb.python/py-type.exp: Add a couple test about empty
14731 array creation, and negative-length array creation.
14733 2015-01-02 Doug Evans <xdje42@gmail.com>
14735 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14737 2015-01-02 Doug Evans <dje@google.com>
14739 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14741 2014-12-29 Yao Qi <yao@codesourcery.com>
14743 * gdb.trace/entry-values.exp: Update comments. Rename variable
14744 bar_call_foo to returned_from_foo.
14746 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14749 * gdb.linespec/break-asm-file.c: New file.
14750 * gdb.linespec/break-asm-file.exp: New file.
14751 * gdb.linespec/break-asm-file0.s: New file.
14752 * gdb.linespec/break-asm-file1.s: New file.
14754 2014-12-18 Nigel Stephens <nigel@mips.com>
14755 Maciej W. Rozycki <macro@codesourcery.com>
14757 * gdb.base/float.exp: Handle the new output from "info float" on
14760 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14762 Fix MinGW compilation.
14763 * gdb.compile/compile-ops.exp: Update untested message if
14764 !skip_compile_feature_tests.
14765 * gdb.compile/compile-setjmp.exp: Likewise.
14766 * gdb.compile/compile-tls.exp: Likewise.
14767 * gdb.compile/compile.exp: Likewise.
14768 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14769 supported on this host".
14771 2014-12-16 Doug Evans <xdje42@gmail.com>
14773 * boards/stabs.exp: New file.
14775 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14777 * gdb.base/completion.exp: Adjust to format changes of "maint
14778 print user-registers".
14780 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14783 * gdb.arch/aarch64-fp.c: New file.
14784 * gdb.arch/aarch64-fp.exp: New file.
14786 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14788 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14789 r210637, r210913, r211666, r215400, r215817).
14791 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14792 * dg-extract-results.py: New file.
14793 * dg-extract-results.sh: Use it if the environment seems
14796 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14798 * dg-extract-results.py (parse_run): Handle warnings that
14799 are printed before a test harness is run.
14801 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14803 * dg-extract-results.py (Named): Remove __cmp__ method.
14804 (output_variation): Use a key to sort variation.harnesses.
14806 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14808 * dg-extract-results.py: For Python 3, force sys.stdout to
14809 handle surrogate escape sequences.
14810 (safe_open): New function.
14811 (output_segment, main): Use it.
14813 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14815 * dg-extract-results.py (Prog.result_re): Include options
14818 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14820 * dg-extract-results.py (output_variation): Always sort if
14823 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14825 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14826 as long as we get pagination notifications.
14828 2014-12-15 Jason Merrill <jason@redhat.com>
14830 * Makefile.in (check-gdb.%): Restore.
14831 * README: Mention it.
14833 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14835 * gdb.ada/str_uninit: New testcase.
14837 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14840 * gdb.base/vla-stub-define.c: New file.
14841 * gdb.base/vla-stub.c: New file.
14842 * gdb.base/vla-stub.exp: New file.
14844 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14845 Jan Kratochvil <jan.kratochvil@redhat.com>
14846 Tom Tromey <tromey@redhat.com>
14848 * configure.ac: Add gdb.compile/.
14849 * configure: Regenerate.
14850 * gdb.compile/Makefile.in: New file.
14851 * gdb.compile/compile-ops.exp: New file.
14852 * gdb.compile/compile-ops.c: New file.
14853 * gdb.compile/compile-tls.c: New file.
14854 * gdb.compile/compile-tls.exp: New file.
14855 * gdb.compile/compile-constvar.S: New file.
14856 * gdb.compile/compile-constvar.c: New file.
14857 * gdb.compile/compile-mod.c: New file.
14858 * gdb.compile/compile-nodebug.c: New file.
14859 * gdb.compile/compile-setjmp-mod.c: New file.
14860 * gdb.compile/compile-setjmp.c: New file.
14861 * gdb.compile/compile-setjmp.exp: New file.
14862 * gdb.compile/compile-shlib.c: New file.
14863 * gdb.compile/compile.c: New file.
14864 * gdb.compile/compile.exp: New file.
14865 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14867 2014-12-12 Tom Tromey <tromey@redhat.com>
14869 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14870 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14872 2014-12-12 Doug Evans <dje@google.com>
14874 * lib/gdb-python.exp (get_python_valueof): New function.
14875 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14877 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14879 * gdb.base/completion.exp: Add test for completion of "info
14882 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14884 * gdb.base/func-ptrs.c: New file.
14885 * gdb.base/func-ptrs.exp: New file.
14887 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14889 PR breakpoints/17012
14890 * gdb.base/dprintf-detach.c: New file.
14891 * gdb.base/dprintf-detach.exp: New file.
14893 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14895 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14896 * lib/gdb.exp (target_is_gdbserver): New procedure.
14898 2014-12-08 Doug Evans <dje@google.com>
14900 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14902 2014-12-05 Yao Qi <yao@codesourcery.com>
14904 * gdb.guile/scm-error.exp: Remove the third argument to
14905 gdb_remote_download.
14906 * gdb.guile/scm-frame-args.exp: Likewise.
14907 * gdb.guile/scm-section-script.exp: Likewise.
14909 2014-12-05 Yao Qi <yao@codesourcery.com>
14911 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14913 2014-12-04 Doug Evans <dje@google.com>
14915 * gdb.python/py-objfile.exp: Add tests for
14916 objfile.add_separate_debug_file.
14918 2014-12-04 Doug Evans <dje@google.com>
14920 * lib/gdb.exp (get_build_id): New function.
14921 (build_id_debug_filename_get): Rewrite to use it.
14922 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14924 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14926 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14927 `method(long)', not just 0x0.
14928 * gdb.cp/nsalias.exp: Align code labels to 4.
14929 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14930 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14931 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14932 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14933 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14934 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14936 2014-12-02 Doug Evans <dje@google.com>
14939 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14940 * gdb.cp/anon-ns2.cc: ... here. New file.
14941 * gdb.cp/anon-ns.exp: Update.
14943 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14945 * gdb.python/py-events.py (inferior_call_handler): New.
14946 (register_changed_handler, memory_changed_handler): New.
14947 (test_events.invoke): Register new handlers.
14948 * gdb.python/py-events.exp: Add tests for inferior call,
14949 memory_changed and register_changed events.
14951 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14953 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14954 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14955 if the linker doesn't understand this.
14957 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14959 * gdb.python/python.exp: Change expected reply to help().
14961 2014-12-01 Yao Qi <yao@codesourcery.com>
14963 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14964 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14965 * configure: Re-generated.
14967 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14969 * gdb.cp/chained-calls.cc: New file.
14970 * gdb.cp/chained-calls.exp: New file.
14971 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14973 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14975 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14976 * gdb.dwarf2/symtab-producer.exp: Same.
14977 * gdb.gdb/python-interrupts.exp: Same.
14978 * gdb.gdb/python-selftest.exp: Same.
14979 * gdb.python/py-linetable.exp: Same.
14980 * gdb.python/py-type.exp: Same.
14981 * gdb.python/py-value-cc.exp: Same.
14982 * gdb.python/py-value.exp: Same.
14984 2014-11-28 Yao Qi <yao@codesourcery.com>
14986 * gdb.base/break-probes.exp: Match library name prefixed with
14989 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14991 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14992 test expected output. Add parentheses for the call to print.
14993 Remove L suffix from integers.
14995 2014-11-26 Doug Evans <dje@google.com>
14997 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14999 2014-11-22 Yao Qi <yao@codesourcery.com>
15001 * gdb.trace/entry-values.c: Remove asms.
15002 (foo): Add foo_label.
15003 (bar): Add bar_label.
15004 * gdb.trace/entry-values.exp: Remove code computing foo's
15005 length and bar's length.
15006 (Dwarf::assemble): Invoke function_range for bar and use
15007 MACRO_AT_func for foo.
15009 2014-11-22 Yao Qi <yao@codesourcery.com>
15011 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15012 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15013 Use .Lgcc43_procstart instead of gcc43.
15015 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15017 * gdb.ada/n_arr_bound: New testcase.
15019 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15021 PR breakpoints/10737
15022 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15023 test_catch_syscall_multi_arch.
15024 (test_catch_syscall_multi_arch): New function.
15026 2014-11-20 Doug Evans <xdje42@gmail.com>
15028 * gdb.base/maint.exp: Update expected output.
15030 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15032 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15033 4-byte instruction on S390.
15035 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15037 * gdb.ada/arr_arr: New testcase.
15039 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15041 * gdb.ada/pkd_arr_elem: New Testcase.
15043 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15045 * gdb.reverse/break-precsave: Expect completion message for
15047 * gdb.reverse/consecutive-precsave.exp: Likewise.
15048 * gdb.reverse/finish-precsave.exp: Likewise.
15049 * gdb.reverse/i386-precsave.exp: Likewise.
15050 * gdb.reverse/machinestate-precsave.exp: Likewise.
15051 * gdb.reverse/sigall-precsave.exp: Likewise.
15052 * gdb.reverse/solib-precsave.exp: Likewise.
15053 * gdb.reverse/step-precsave.exp: Likewise.
15054 * gdb.reverse/until-precsave.exp: Likewise.
15055 * gdb.reverse/watch-precsave.exp: Likewise.
15057 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15059 * gdb.base/bp-permanent.c: Include unistd.h.
15060 * gdb.python/py-framefilter-mi.c (main): Add return type.
15061 * gdb.python/py-framefilter.c (main): Likewise.
15062 * gdb.trace/actions-changed.c (main): Likewise.
15064 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15066 * gdb.mi/until.c: Add eye-catchers.
15067 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15070 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15072 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15073 function header variants in break1.c.
15074 * gdb.base/ena-dis-br.exp: Likewise.
15075 * gdb.base/hbreak2.exp: Likewise.
15076 * gdb.reverse/until-precsave.exp: Drop references to removed
15077 non-prototype function header variants in ur1.c.
15078 * gdb.reverse/until-reverse.exp: Likewise.
15080 2014-11-17 Petr Machata <pmachata@redhat.com>
15082 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15083 ${_cu_offset_size} bytes abbrev offset.
15085 2014-11-15 Doug Evans <xdje42@gmail.com>
15088 * gdb.base/line-symtabs.exp: New file.
15089 * gdb.base/line-symtabs.c: New file.
15090 * gdb.base/line-symtabs.h: New file.
15092 2014-11-14 Yao Qi <yao@codesourcery.com>
15094 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15095 (func): Add label func_label.
15096 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15097 Replace low_pc and high_pc with MACRO_AT_range.
15098 Replace name, low_pc and high_pc with MACRO_AT_func.
15100 2014-11-14 Yao Qi <yao@codesourcery.com>
15102 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15103 Replace name, low_pc and high_pc with MACRO_AT_func.
15105 2014-11-14 Yao Qi <yao@codesourcery.com>
15107 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15108 produce debug information.
15109 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15111 2014-11-14 Yao Qi <yao@codesourcery.com>
15113 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15114 object and get function length.
15115 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15116 with MACRO_AT_func.
15117 (top-level): Replace gdb_compile and clean_restart with
15118 prepare_for_testing.
15119 * gdb.dwarf2/main.c (main): Add label main_label.
15121 2014-11-14 Yao Qi <yao@codesourcery.com>
15123 * lib/dwarf.exp (function_range): New procedure.
15124 (Dwarf::_handle_macro_at_func): New procedure.
15125 (Dwarf::_handle_macro_at_range): New procedure.
15126 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15128 2014-11-14 Yao Qi <yao@codesourcery.com>
15130 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15131 (_handle_attribute): New procedure.
15133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15135 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15136 * gdb.base/call-sc.c (zed): Likewise.
15137 * gdb.base/checkpoint.c (main): Likewise.
15138 * gdb.base/dump.c (main): Likewise.
15139 * gdb.base/gcore.c (main): Likewise.
15140 * gdb.base/huge.c (main): Likewise.
15141 * gdb.base/multi-forks.c (main): Likewise.
15142 * gdb.base/pr10179-a.c (main): Likewise.
15143 * gdb.base/savedregs.c (main): Likewise.
15144 * gdb.base/sigaltstack.c (main): Likewise.
15145 * gdb.base/siginfo.c (main): Likewise.
15146 * gdb.base/structs.c (zed): Likewise.
15147 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15148 * gdb.mi/mi-syn-frame.c (main): Likewise.
15149 * gdb.mi/until.c (foo, main): Likewise.
15150 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15151 * gdb.base/solib-weak.c (foo): Declare.
15152 * gdb.base/attach-twice.c: Include stdio.h.
15153 * gdb.base/weaklib1.c: Likewise.
15154 * gdb.base/weaklib2.c: Likewise.
15155 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15156 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15158 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15159 * gdb.mi/mi-exit-code.c: Likewise.
15160 * gdb.base/break-interp-lib.c: Include string.h.
15161 * gdb.base/coremaker.c: Likewise.
15162 * gdb.base/testenv.c: Likewise.
15163 * gdb.python/py-finish-breakpoint.c: Likewise.
15164 * gdb.base/inferior-died.c: Include sys/wait.h.
15165 * gdb.base/fileio.c: Include time.h.
15166 * gdb.base/async-shell.c: Include unistd.h.
15167 * gdb.base/dprintf-non-stop.c: Likewise.
15168 * gdb.base/info-os.c: Likewise.
15169 * gdb.mi/mi-console.c: Likewise.
15170 * gdb.mi/watch-nonstop.c: Likewise.
15171 * gdb.python/py-events.c: Likewise.
15172 * gdb.base/async.c (baz): Move up before its invocation.
15173 * gdb.base/code_elim2.c (my_global_func): Likewise.
15174 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15175 * gdb.base/advance.c (func2): Likewise.
15177 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15179 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15181 * gdb.base/annota3.c: Likewise.
15182 * gdb.base/async.c: Likewise.
15183 * gdb.base/average.c: Likewise.
15184 * gdb.base/call-ar-st.c: Likewise.
15185 * gdb.base/call-rt-st.c: Likewise.
15186 * gdb.base/call-sc.c: Likewise.
15187 * gdb.base/call-strs.c: Likewise.
15188 * gdb.base/ending-run.c: Likewise.
15189 * gdb.base/execd-prog.c: Likewise.
15190 * gdb.base/exprs.c: Likewise.
15191 * gdb.base/foll-exec.c: Likewise.
15192 * gdb.base/foll-fork.c: Likewise.
15193 * gdb.base/foll-vfork.c: Likewise.
15194 * gdb.base/funcargs.c: Likewise.
15195 * gdb.base/gcore.c: Likewise.
15196 * gdb.base/jump.c: Likewise.
15197 * gdb.base/langs0.c: Likewise.
15198 * gdb.base/langs1.c: Likewise.
15199 * gdb.base/langs2.c: Likewise.
15200 * gdb.base/mips_pro.c: Likewise.
15201 * gdb.base/nodebug.c: Likewise.
15202 * gdb.base/opaque0.c: Likewise.
15203 * gdb.base/opaque1.c: Likewise.
15204 * gdb.base/recurse.c: Likewise.
15205 * gdb.base/run.c: Likewise.
15206 * gdb.base/scope0.c: Likewise.
15207 * gdb.base/scope1.c: Likewise.
15208 * gdb.base/setshow.c: Likewise.
15209 * gdb.base/setvar.c: Likewise.
15210 * gdb.base/shmain.c: Likewise.
15211 * gdb.base/shr1.c: Likewise.
15212 * gdb.base/shr2.c: Likewise.
15213 * gdb.base/sigall.c: Likewise.
15214 * gdb.base/signals.c: Likewise.
15215 * gdb.base/so-indr-cl.c: Likewise.
15216 * gdb.base/solib2.c: Likewise.
15217 * gdb.base/structs.c: Likewise.
15218 * gdb.base/sum.c: Likewise.
15219 * gdb.base/vforked-prog.c: Likewise.
15220 * gdb.base/watchpoint.c: Likewise.
15221 * gdb.reverse/shr2.c: Likewise.
15222 * gdb.reverse/until-reverse.c: Likewise.
15223 * gdb.reverse/ur1.c: Likewise.
15224 * gdb.reverse/watch-reverse.c: Likewise.
15226 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15228 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15230 * gdb.base/sepdebug.exp: Drop references to removed code.
15232 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15234 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15235 variant. Preserve original line numbering.
15236 * gdb.base/list1.c: Likewise.
15238 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15240 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15242 * gdb.base/break1.c: Likewise.
15243 * gdb.base/break.exp: Drop references to removed code.
15245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15247 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15250 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15252 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15256 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15257 logic into perform_all_tests() and invoke it with and without
15258 function header prototypes.
15259 (do_function_calls): Remove conditional XFAIL for PR 5318.
15260 (rerun_and_prepare): Remove duplicate code.
15261 (perform_all_tests): New. Main logic moved here.
15263 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15265 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15266 code guarded by #ifdef NO_PROTOTYPES.
15267 (t_double_many_args): Likewise.
15268 (DEF_FUNC_MANY_ARGS_1): Likewise.
15269 (DEF_FUNC_VALUES_1): Likewise.
15270 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15271 guarded by #ifdef PROTOTYPES.
15273 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15275 * gdb.mi/mi-console.c: Add eye-catcher.
15276 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15277 instead of literal line number.
15279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15281 * gdb.base/shr2.c: Add eye-catcher.
15282 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15285 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15287 * gdb.base/jump.c: Add eye-catchers.
15288 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15291 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15293 * gdb.base/execd-prog.c: Add eye-catchers.
15294 * gdb.base/foll-exec.c: Likewise.
15295 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15300 * gdb.base/ending-run.c: Add eye-catchers.
15301 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15302 literal line numbers.
15304 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15306 * gdb.base/call-rt-st.c: Add eye-catchers.
15307 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15308 literal line numbers.
15310 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15312 * gdb.base/call-ar-st.c: Add eye-catchers.
15313 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15314 literal line numbers.
15316 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15318 * gdb.base/average.c: Add eye-catchers.
15319 * gdb.base/sum.c: Likewise.
15320 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15321 regexps dynamically.
15323 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15325 * gdb.base/solib1.c: Add eye-catchers.
15326 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15327 literal line numbers.
15329 2014-11-12 Pedro Alves <palves@redhat.com>
15331 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15334 2014-11-12 Pedro Alves <palves@redhat.com>
15336 * gdb.arch/i386-bp_permanent.c: New file.
15337 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15338 (srcfile): Set to i386-bp_permanent.c.
15339 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15340 that stepi does not execute the 'leave' instruction, instead of
15341 testing it does execute.
15342 * gdb.base/bp-permanent.c: New file.
15343 * gdb.base/bp-permanent.exp: New file.
15345 2014-11-10 Doug Evans <xdje42@gmail.com>
15348 * gdb.base/symtab-search-order.exp: New file.
15349 * gdb.base/symtab-search-order.c: New file.
15350 * gdb.base/symtab-search-order-1.c: New file.
15351 * gdb.base/symtab-search-order-shlib-1.c: New file.
15353 2014-11-07 Pedro Alves <palves@redhat.com>
15356 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15359 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15362 * gdb.cp/pr17494.cc: New file.
15363 * gdb.cp/pr17494.exp: New file.
15365 2014-11-02 Yao Qi <yao@codesourcery.com>
15367 * gdb.python/python.exp: Get working directory and match the
15368 output of "set extended-prompt \\w " with it.
15370 2014-10-30 Doug Evans <dje@google.com>
15372 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15374 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15377 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15379 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15380 * gdb.base/realname-expand.exp: Likewise.
15381 * gdb.linespec/macro-relative.exp: Likewise.
15383 2014-10-29 Pedro Alves <palves@redhat.com>
15386 * gdb.threads/schedlock.c (some_function): New function.
15387 (call_function): New global.
15388 (MAYBE_CALL_SOME_FUNCTION): New macro.
15389 (thread_function): Call it.
15390 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15391 and use it instead of a global counter. Adjust all callers.
15392 (get_current_thread): Use "find current thread" for test message
15393 here rather than having all callers pass down the same string.
15394 (goto_loop): New procedure, factored out from ...
15395 (my_continue): ... this.
15396 (step_ten_loops): Change parameter from test message to command to
15398 (list_count): Delete global.
15399 (check_result): New procedure, factored out from duplicate top
15401 (continue tests): Wrap in with_test_prefix.
15402 (test_step): New procedure, factored out from duplicate top level
15404 (top level): Test "step" in combination with all scheduler-locking
15405 modes. Test "next" in combination with all scheduler-locking
15406 modes, and in combination with stepping over a function call or
15408 * gdb.threads/next-bp-other-thread.c: New file.
15409 * gdb.threads/next-bp-other-thread.exp: New file.
15411 2014-10-29 Pedro Alves <palves@redhat.com>
15414 * gdb.python/python.exp: Test a multi-line command that spawns
15415 interactive Python.
15416 * gdb.base/multi-line-starts-subshell.exp: New file.
15418 2014-10-29 Yao Qi <yao@codesourcery.com>
15420 * gdb.base/fileio.exp: Make directories on host.
15422 2014-10-29 Yao Qi <yao@codesourcery.com>
15424 * gdb.base/fileio.c (test_write): Close the file.
15426 2014-10-28 Pedro Alves <palves@redhat.com>
15429 * gdb.base/sigstep.c (no_handler): New global.
15430 (main): If 'no_handler is true, set the signal handlers to
15432 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15433 with_sw_watch and no_handler parameters. Handle them.
15434 (top level) <stepping over handler when stopped at a breakpoint
15435 test>: Add a test axis for testing with a software watchpoint, and
15436 another for testing with the signal handler set to SIG_IGN.
15437 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15438 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15440 2014-10-28 Pedro Alves <palves@redhat.com>
15443 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15444 * gdb.base/sigstep.exp (other_handler_location): New global.
15445 (advance): Support stepping into the signal handler, and running
15446 commands while in the handler.
15447 (in_handler_map): New global.
15448 (top level): In the advance test, add combinations for getting
15449 into the handler with stepping commands, and for running commands
15450 in the handler. Add comment descripting the advancei tests.
15452 2014-10-28 Pedro Alves <palves@redhat.com>
15454 * gdb.base/sigstep.exp: Use build_executable instead of
15455 prepare_for_testing.
15456 (top level): Move code that starts GDB, runs to main and creates a
15458 (restart): ... this new procedure.
15459 (top level): Move backtrace from signal handler test to ...
15460 (validate_backtrace): ... this new procedure.
15461 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15462 with_test_prefix. Always restart GDB.
15463 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15464 with_test_prefix. Always restart GDB. No need to delete
15465 breakpoints after the test.
15466 (test_skip_handler): Remove prefix parameter.
15467 (skip_over_handler, breakpoint_to_handler)
15468 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15469 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15470 restart GDB. No need to delete breakpoints after the test.
15471 (top level): Use foreach to call the test procedures with
15472 different commands.
15474 2014-10-28 Pedro Alves <palves@redhat.com>
15476 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15477 instead of GNATS numbers.
15478 * gdb.base/sigbpt.exp: Likewise.
15479 * gdb.base/siginfo.exp: Likewise.
15480 * gdb.base/sigstep.exp: Likewise.
15482 2014-10-27 Pedro Alves <palves@redhat.com>
15484 * gdb.base/sigstep.c (dummy): New global.
15485 (main): Issue a couple writes to the new global.
15486 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15488 (skip_over_handler): Use test_skip_handler.
15489 (top level): Call skip_over_handler for stepi and nexti too.
15490 (breakpoint_over_handler): Use test_skip_handler.
15491 (top level): Call breakpoint_over_handler for stepi and nexti too.
15493 2014-10-27 Yao Qi <yao@codesourcery.com>
15495 * gdb.trace/tfile.c (adjust_function_address)
15496 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15497 function descriptor.
15499 2014-10-24 Don Breazeal <donb@codesourcery.com>
15501 * gdb.base/foll-fork.exp (test_follow_fork,
15502 catch_fork_child_follow): Check for updated fork messages emitted
15504 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15505 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15506 vfork_and_exec_child_follow_through_step): Check for updated vfork
15507 messages emitted from infrun.c.
15509 2014-10-24 Pedro Alves <palves@redhat.com>
15511 * gdb.base/corefile.exp: Remove references to ultrix.
15512 * gdb.base/interrupt.exp: Likewise.
15513 * gdb.base/whatis.exp: Likewise.
15514 * gdb.gdb/selftest.exp: Likewise.
15515 * gdb.threads/manythreads.exp: Likewise.
15516 * gdb.threads/print-threads.exp: Likewise.
15517 * gdb.threads/pthreads.exp:: Likewise.
15518 * gdb.threads/schedlock.exp: Likewise.
15520 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15522 * gdb.cp/non-trivial-retval.cc: Add a test case.
15523 * gdb.cp/non-trivial-retval.exp: Add a test.
15525 2014-10-20 Yao Qi <yao@codesourcery.com>
15527 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15528 * gdb.python/py-objfile-script-gdb.py: New file.
15529 * gdb.python/py-objfile-script.exp: Update reference to
15530 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15531 of remote_download. Remove the dest file.
15533 2014-10-20 Yao Qi <yao@codesourcery.com>
15535 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15536 * gdb.base/step-line.exp: Likewise.
15537 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15538 * gdb.dwarf2/dw2-basic.exp: Likewise.
15539 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15540 * gdb.dwarf2/dw2-filename.exp: Likewise.
15541 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15542 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15543 * gdb.dwarf2/dw2-producer.exp: Likewise.
15544 * gdb.dwarf2/mac-fileno.exp: Likewise.
15545 * gdb.python/py-frame-args.exp: Likewise.
15546 * gdb.python/py-framefilter.exp: Likewise.
15547 * gdb.python/py-mi.exp: Likewise.
15548 * gdb.python/py-objfile-script.exp: Likewise
15549 * gdb.python/py-pp-integral.exp: Likewise.
15550 * gdb.python/py-pp-re-notag.exp: Likewise.
15551 * gdb.python/py-prettyprint.exp: Likewise.
15552 * gdb.python/py-section-script.exp: Likewise.
15553 * gdb.python/py-typeprint.exp: Likewise.
15554 * gdb.python/py-xmethods.exp: Likewise.
15555 * gdb.stabs/weird.exp: Likewise.
15556 * gdb.xml/tdesc-regs.exp: Likewise.
15558 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15560 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15561 (out_cu): Use addr_len for the size of addresses.
15562 (out_line): Likewise. Size DW_LNE_set_address instruction
15563 according to addr_len.
15564 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15565 (FUNC): Add START_INSNS to definition.
15567 2014-10-18 Yao Qi <yao@codesourcery.com>
15569 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15570 gdb_has_argv0 return true.
15571 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15572 check [target_info exists noargs], check [gdb_has_argv0]
15574 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15575 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15578 2014-10-17 Doug Evans <dje@google.com>
15580 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15582 * gdb.python/py-events.py: Add clear_objfiles event.
15584 2014-10-17 Doug Evans <dje@google.com>
15586 * gdb.python/py-objfile.exp: Test progspace attribute.
15588 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15590 * gdb.guile/scm-breakpoint.exp: Do not assume any
15591 directory separators when matching source file paths.
15592 * gdb.python/py-breakpoint.exp: Likewise.
15593 * gdb.reverse/break-precsave.exp: Likewise.
15594 * gdb.reverse/break-reverse.exp: Likewise.
15595 * gdb.reverse/consecutive-precsave.exp: Likewise.
15596 * gdb.reverse/finish-precsave.exp: Likewise.
15597 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15598 * gdb.reverse/finish-reverse.exp: Likewise.
15599 * gdb.reverse/i386-precsave.exp: Likewise.
15600 * gdb.reverse/i387-env-reverse.exp: Likewise.
15601 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15602 * gdb.reverse/machinestate-precsave.exp: Likewise.
15603 * gdb.reverse/machinestate.exp: Likewise.
15604 * gdb.reverse/sigall-precsave.exp: Likewise.
15605 * gdb.reverse/solib-precsave.exp: Likewise.
15606 * gdb.reverse/step-precsave.exp: Likewise.
15607 * gdb.reverse/until-precsave.exp: Likewise.
15608 * gdb.reverse/watch-precsave.exp: Likewise.
15609 * gdb.reverse/watch-reverse.exp: Likewise.
15611 2014-10-17 Yao Qi <yao@codesourcery.com>
15613 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15614 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15616 2014-10-17 Pedro Alves <palves@redhat.com>
15619 * gdb.base/bg-execution-repeat.c: New file.
15620 * gdb.base/bg-execution-repeat.exp: New file.
15622 2014-10-17 Pedro Alves <palves@redhat.com>
15625 * gdb.base/continue-all-already-running.c: New file.
15626 * gdb.base/continue-all-already-running.exp: New file.
15628 2014-10-17 Pedro Alves <palves@redhat.com>
15631 * gdb.base/annota-input-while-running.c: New file.
15632 * gdb.base/annota-input-while-running.exp: New file.
15634 2014-10-17 Pedro Alves <palves@redhat.com>
15636 * gdb.base/callfuncs.exp: emove references to osf.
15637 * gdb.base/sigall.exp: Likewise.
15638 * gdb.gdb/selftest.exp: Likewise.
15639 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15640 * gdb.mi/non-stop.c: Likewise.
15641 * gdb.mi/pthreads.c: Likewise.
15642 * gdb.reverse/sigall-precsave.exp: Likewise.
15643 * gdb.reverse/sigall-reverse.exp: Likewise.
15644 * gdb.threads/pthreads.c: Likewise.
15645 * gdb.threads/pthreads.exp: Likewise.
15647 2014-10-17 Yao Qi <yao@codesourcery.com>
15649 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15650 check 'target_info exists noargs'.
15651 (test_command_prompt_position): Likewise.
15652 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15654 (progvar_simple_while_test): Likewise.
15655 (progvar_complex_if_while_test): Likewise.
15656 (if_while_breakpoint_command_test): Likewise.
15657 (infrun_breakpoint_command_test): Likewise.
15658 (breakpoint_command_test): Likewise.
15659 (watchpoint_command_test): Likewise.
15660 (bp_deleted_in_command_test): Likewise.
15661 (temporary_breakpoint_commands): Likewise.
15663 2014-10-16 Yao Qi <yao@codesourcery.com>
15665 * gdb.base/remotetimeout.exp: Remove noargs checking.
15667 2014-10-15 Pedro Alves <palves@redhat.com>
15669 PR breakpoints/9649
15670 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15671 * gdb.base/breakpoint-in-ro-region.exp
15672 (probe_target_hardware_step): New procedure.
15673 (top level): Probe hardware stepping and hardware breakpoint
15674 support. Test stepping through a read-only region, with both
15675 "breakpoint auto-hw" on and off and both "always-inserted" on and
15678 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15680 * gdb.dlang/demangle.exp: Update for demangling changes.
15682 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15684 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15685 * gdb.cp/non-trivial-retval.exp: Add new tests.
15687 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15691 * gdb.cp/non-trivial-retval.cc: New file.
15692 * gdb.cp/non-trivial-retval.exp: New file.
15694 2014-10-15 Yao Qi <yao@codesourcery.com>
15696 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15699 2014-10-15 Yao Qi <yao@codesourcery.com>
15701 * gdb.python/py-symbol.exp: Match file base name if host is
15702 remote, otherwise match file name with dir name.
15703 * gdb.python/py-symtab.exp: Likewise.
15704 * gdb.python/python.exp: Likewise.
15706 2014-10-15 Yao Qi <yao@codesourcery.com>
15708 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15710 * gdb.python/py-symtab.exp: Likewise.
15711 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15714 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15716 * gdb.ada/addr_arith: New testcase.
15718 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15720 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15721 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15722 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15723 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15725 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15727 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15728 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15729 * gdb.arch/stap-eval-lang-ada.exp: New file.
15731 2014-10-14 Yao Qi <yao@codesourcery.com>
15733 * gdb.mi/mi-var-child.c (nothing1): New function.
15734 (nothing2): New function.
15735 (do_children_tests): Set function pointers by nothing1 and
15737 * gdb.mi/mi-var-child.exp: Step over new added statements.
15738 Update test to match the new output.
15739 * gdb.mi/var-cmd.c (nothing1): New function.
15740 (nothing2): New function.
15741 (do_children_tests): Set function pointers by nothing1 and
15743 * gdb.mi/mi-var-display.exp: Update test to match output.
15744 Step to the line specified by $line_dct_nothing.
15745 Increase the number of lines to step.
15747 2014-10-14 Yao Qi <yao@codesourcery.com>
15749 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15751 * gdb.mi/mi2-var-child.exp: Likewise.
15753 2014-10-13 Doug Evans <dje@google.com>
15755 * gdb.python/py-objfile.exp: Change name of file name test.
15757 2014-10-13 Doug Evans <dje@google.com>
15759 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15760 from the start of the CU.
15762 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15763 Yao Qi <yao@codesourcery.com>
15765 Fix "save breakpoints" for "catch" command.
15766 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15767 Remove -nonewline. Match also the added "main" line.
15769 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15771 Fix "save breakpoints" for "disable $bpnum" command.
15772 * gdb.base/save-bp.c (main): Add label.
15773 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15775 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15777 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15779 2014-10-11 Yao Qi <yao@codesourcery.com>
15781 * gdb.server/server-kill.exp: Execute command
15782 "set remote trace-status-packet on" before "tstatus".
15784 2014-10-11 Yao Qi <yao@codesourcery.com>
15786 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15787 (main): Call getppid.
15788 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15789 and continue to it. Read variable "server_pid".
15791 2014-10-11 Yao Qi <yao@codesourcery.com>
15793 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15795 2014-10-11 Yao Qi <yao@codesourcery.com>
15797 * gdb.threads/thread-find.exp: Don't execute command
15799 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15800 * gdb.threads/linux-dp.exp: Don't check the condition
15801 $threads_created equals to zero.
15803 2014-10-10 Pedro Alves <palves@redhat.com>
15805 * gdb.base/bigcore.exp: Remove references to IRIX.
15806 * gdb.base/funcargs.exp: Likewise.
15807 * gdb.base/interrupt.exp: Likewise.
15808 * gdb.base/mips_pro.exp: Likewise.
15809 * gdb.base/nodebug.exp: Likewise.
15810 * gdb.base/setvar.exp: Likewise.
15811 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15813 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15814 Pedro Alves <palves@redhat.com>
15817 * gdb.base/vdso-warning.c: New file.
15818 * gdb.base/vdso-warning.exp: New file.
15820 2014-10-02 Doug Evans <dje@google.com>
15822 * gdb.base/structs.c (main): Don't run forever.
15824 2014-10-02 Pedro Alves <palves@redhat.com>
15826 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15827 (top level) <stop threads 1, stop threads 2>: Use it.
15829 2014-10-02 Pedro Alves <palves@redhat.com>
15831 * gdb.threads/break-while-running.exp (test): Add new
15832 'update_thread_list' argument. Skip "info threads" if false.
15833 (top level): Add new 'update_thread_list' axis.
15835 2014-10-02 Pedro Alves <palves@redhat.com>
15837 PR breakpoints/17431
15838 * gdb.base/execl-update-breakpoints.c: New file.
15839 * gdb.base/execl-update-breakpoints.exp: New file.
15841 2014-10-01 Pedro Alves <palves@redhat.com>
15843 * gdb.base/breakpoint-in-ro-region.c: New file.
15844 * gdb.base/breakpoint-in-ro-region.exp: New file.
15846 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15848 * gdb.mi/mi-exit-code.exp: New file.
15849 * gdb.mi/mi-exit-code.c: New file.
15851 2014-09-30 Yao Qi <yao@codesourcery.com>
15853 * lib/prelink-support.exp (build_executable_own_libs): Error if
15854 the target isn't native.
15856 2014-09-30 Yao Qi <yao@codesourcery.com>
15858 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15861 2014-09-22 Pedro Alves <palves@redhat.com>
15863 * gdb.threads/break-while-running.exp: New file.
15864 * gdb.threads/break-while-running.c: New file.
15866 2014-09-19 Yao Qi <yao@codesourcery.com>
15868 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15869 Invoke test. Restart GDB with --readnow and invoke test again.
15871 2014-09-19 Yao Qi <yao@codesourcery.com>
15873 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15874 proc set_breakpoint_on_gcd_function. Invoke
15875 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15876 invoke set_breakpoint_on_gcd_function again.
15878 2014-09-18 Doug Evans <dje@google.com>
15880 * gdb.dwarf2/symtab-producer.exp: New file.
15882 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15884 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15885 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15886 * gdb.base/global-var-nested-by-dso.c: Likewise.
15887 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15889 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15890 Pedro Alves <palves@redhat.com>
15892 * gdb.base/watch-bitfields.exp: Pass string other than test file
15893 name to prepare_for_testing.
15894 (watch): New procedure.
15895 (expect_watchpoint): Use with_test_prefix.
15896 (top level): Factor out tests to ...
15897 (test_watch_location, test_regular_watch): ... these new
15898 procedures, and use with_test_prefix and gdb_continue_to_end.
15900 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15902 PR breakpoints/12526
15903 * gdb.base/watch-bitfields.exp: New file.
15904 * gdb.base/watch-bitfields.c: New file.
15906 2014-09-16 Pedro Alves <palves@redhat.com>
15908 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15909 software and hardware addresses, not software address against
15912 2014-09-16 Pedro Alves <palves@redhat.com>
15914 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15915 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15917 2014-09-16 Pedro Alves <palves@redhat.com>
15919 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15921 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15922 "*-*-vxworks*" throughout.
15923 * gdb.base/break.exp: Likewise.
15924 * gdb.base/default.exp: Likewise.
15925 * gdb.base/scope.exp: Likewise.
15926 * gdb.base/sepdebug.exp: Likewise.
15927 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15929 * gdb.base/run.c: Likewise.
15930 * gdb.base/sepdebug.c: Likewise.
15931 * gdb.hp/gdb.aCC/run.c: Likewise.
15932 * gdb.reverse/until-reverse.c: Likewise.
15933 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15935 2014-09-16 Yao Qi <yao@codesourcery.com>
15937 * boards/local-remote-host-native.exp: New file.
15939 2014-09-14 Doug Evans <xdje42@gmail.com>
15941 * gdb.threads/queue-signal.c (thread_count): New variable.
15942 (thread_count_mutex, thread_count_condvar): New variables.
15943 (incr_thread_count, wait_all_threads_running): New functions.
15944 (main): Wait for all threads to be in their thread functions.
15946 2014-09-13 Doug Evans <xdje42@gmail.com>
15948 * gdb.threads/queue-signal.c: New file.
15949 * gdb.threads/queue-signal.exp: New file.
15951 2014-09-13 Doug Evans <xdje42@gmail.com>
15953 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15954 be consistent with what default_gdb_init uses.
15955 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15956 the plain text of the prompt. Add some logging printfs.
15957 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15959 2014-09-12 Pedro Alves <palves@redhat.com>
15961 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15962 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15963 * gdb.arch/i386-size-overlap.exp: Likewise.
15964 * gdb.arch/i386-size.exp: Likewise.
15965 * gdb.arch/i386-unwind.exp: Likewise.
15966 * gdb.base/a2-run.exp: Likewise.
15967 * gdb.base/break.exp: Likewise.
15968 * gdb.base/charset.exp: Likewise.
15969 * gdb.base/chng-syms.exp: Likewise.
15970 * gdb.base/commands.exp: Likewise.
15971 * gdb.base/dbx.exp: Likewise.
15972 * gdb.base/find.exp: Likewise.
15973 * gdb.base/funcargs.exp: Likewise.
15974 * gdb.base/jit-simple.exp: Likewise.
15975 * gdb.base/reread.exp: Likewise.
15976 * gdb.base/sepdebug.exp: Likewise.
15977 * gdb.base/step-bt.exp: Likewise.
15978 * gdb.cp/mb-inline.exp: Likewise.
15979 * gdb.cp/mb-templates.exp: Likewise.
15980 * gdb.objc/basicclass.exp: Likewise.
15981 * gdb.threads/killed.exp: Likewise.
15983 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15986 * gdb.arch/powerpc-stackless.S: New file.
15987 * gdb.arch/powerpc-stackless.exp: New file.
15989 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15991 * gdb.base/attach.c: Include unistd.h.
15992 (main): Call alarm. Add label postloop.
15993 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15994 gdb_breakpoint, gdb_continue_to_breakpoint.
15995 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15997 2014-09-11 Pedro Alves <palves@redhat.com>
16000 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16001 * gdb.base/attach.exp (test_command_line_attach_run): New
16003 (top level): Call it.
16005 2014-09-11 Pedro Alves <palves@redhat.com>
16007 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16008 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16009 (do_command_attach_tests): Use spawn_wait_for_attach.
16010 * gdb.base/solib-overlap.exp: Likewise.
16011 * gdb.multi/multi-attach.exp: Likewise.
16012 * gdb.python/py-prompt.exp: Likewise.
16013 * gdb.python/py-sync-interp.exp: Likewise.
16014 * gdb.server/ext-attach.exp: Likewise.
16016 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16018 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16019 command in testcase. Simplify testcase.
16021 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16023 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16025 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16027 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16029 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16031 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16033 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16035 * gdb.dwarf2/dynarr-ptr.c: New file.
16036 * gdb.dwarf2/dynarr-ptr.exp: New file.
16038 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16040 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16041 of 30 rather than hardcoding 120 for a slow test case. Take the
16042 `gdb,timeout' target setting into account for this calculation.
16043 Don't extend the timeout for the test cases that don't need it.
16045 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16047 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16048 a factor of 2 for a slow test case. Take the `gdb,timeout'
16049 target setting into account for this calculation.
16050 * gdb.reverse/until-precsave.exp: Increase the timeout by
16051 a factor of 15 and 3 respectively rather than adding 120
16052 for a pair of slow test cases. Take the `gdb,timeout'
16053 target setting into account for this calculation.
16055 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16057 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16058 timeout, don't pass one down to gdb_expect.
16059 (gdb_expect): Rework timeout selection.
16061 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16063 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16064 exception on timeout.
16065 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16066 (gdbserver_start_extended): Catch any `gdbserver_start' error
16068 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16069 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16070 `gdbserver_gdb_load' error exceptions.
16072 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16074 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16075 120 on waiting for the TCP socket to open.
16077 2014-09-09 Doug Evans <xdje42@gmail.com>
16079 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16080 _caller_matches, _any_caller_is, _any_caller_matches.
16082 2014-09-09 Doug Evans <xdje42@gmail.com>
16084 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16086 2014-09-09 Yao Qi <yao@codesourcery.com>
16088 * gdb.mi/mi-var-display.exp: Set print symbol off.
16090 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16093 * gdb.base/commands.exp: Add tests to verify user-defined
16094 commands with empty bodies.
16095 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16096 python commands in `show user command`.
16097 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16098 scheme commands in `show user command`.
16100 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16103 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16104 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16105 * gdb.python/py-framefilter-invalidarg.exp: New file.
16106 * gdb.python/py-framefilter-invalidarg.py: New file.
16108 2014-09-06 Doug Evans <xdje42@gmail.com>
16111 * gdb.python/py-caller-is.c: New file.
16112 * gdb.python/py-caller-is.exp: New file.
16114 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16117 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16118 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16120 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16123 * gdb.fortran/print-formatted.exp: New file.
16124 * gdb.fortran/print-formatted.f90: Likewise.
16126 2014-09-03 Sasha Smundak <asmundak@google.com>
16128 * gdb.python/py-frame.exp: Test Frame.read_register.
16130 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16133 * gdb.python/py-completion.exp: New file.
16134 * gdb.python/py-completion.py: Likewise.
16136 2014-08-28 Doug Evans <dje@google.com>
16138 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16139 eax,etc. are live with values set by gdb and thus the compiler can't
16141 * gdb.arch/i386-pseudo.c (main): Ditto.
16143 2014-08-27 Doug Evans <dje@google.com>
16145 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16147 2014-08-25 Doug Evans <dje@google.com>
16149 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16152 2014-08-25 Doug Evans <dje@google.com>
16154 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16156 2014-08-24 Yao Qi <yao@codesourcery.com>
16158 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16160 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16162 2014-08-22 Doug Evans <dje@google.com>
16165 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16166 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16167 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16169 2014-08-22 Yao Qi <yao@codesourcery.com>
16171 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16172 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16173 * gdb.python/python.exp: Likewise. Use .py file on the host
16174 instead of the build.
16176 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16178 * gdb.threads/gcore-stale-thread.c: New file.
16179 * gdb.threads/gcore-stale-thread.exp: New file.
16181 2014-08-21 Pedro Alves <palves@redhat.com>
16183 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16184 * gdb.base/gcore-relro-pie.exp: Likewise.
16185 * gdb.base/gcore-relro.exp: Likewise.
16186 * gdb.base/gcore.exp: Likewise.
16187 * gdb.base/print-symbol-loading.exp: Likewise.
16188 * gdb.threads/gcore-thread.exp: Likewise.
16189 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16191 2014-08-20 Pedro Alves <palves@redhat.com>
16192 Jan Kratochvil <jan.kratochvil@redhat.com>
16194 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16196 (EXPECT): Handle READ1 being set.
16197 (all): Depend on EXTRA_RULES.
16198 (check-read1, expect-read1, read1.so, read1): New rules.
16199 * README (Testsuite Parameters): Document the READ1 make variable.
16200 (Race detection): New section.
16201 * configure: Regenerate.
16202 * configure.ac: If build==host==target, and running under a
16203 GNU/glibc system, add read1 to the extra Makefile rules.
16204 (EXTRA_RULES): AC_SUBST it.
16205 * lib/read1.c: New file.
16207 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16209 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16210 the handling of variables declared as a typedef to an array
16211 which a DW_AT_data_location attribute.
16213 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16214 Pedro Alves <palves@redhat.com>
16218 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16221 2014-08-19 Pedro Alves <palves@redhat.com>
16223 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16225 2014-08-19 Yao Qi <yao@codesourcery.com>
16227 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16230 2014-08-18 David Blaikie <dblaikie@gmail.com>
16232 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16234 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16236 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16237 attribute in array range.
16239 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16241 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16243 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16246 * gdb.cp/pr17132.cc: New file.
16247 * gdb.cp/pr17132.exp: New file.
16249 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16251 * gdb.python/py-xmethods.py (A_getarrayind)
16252 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16253 Use 'print' with function call syntax.
16254 (E_method_matcher.match): Fix tab vs space indentation mixup.
16256 2014-08-15 Yao Qi <yao@codesourcery.com>
16258 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16261 2014-08-15 Yao Qi <yao@codesourcery.com>
16263 * gdb.cp/casts.exp: Set print symbol off.
16264 * gdb.cp/class2.exp: Likewise.
16265 * gdb.cp/overload.exp: Likewise.
16266 * gdb.cp/templates.exp: Likewise.
16268 2014-08-11 Doug Evans <dje@google.com>
16270 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16271 (test_load_shlib): Update.
16273 2014-08-09 Yao Qi <yao@codesourcery.com>
16275 * gdb.base/display.exp: Invoke is_address_zero_readable.
16276 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16277 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16278 * gdb.base/hbreak-unmapped.exp: Return if
16279 is_address_zero_readable returns true.
16280 * gdb.base/signest.exp: Likewise.
16281 * gdb.base/signull.exp: Likewise.
16282 * gdb.base/sigbpt.exp: Likewise.
16283 * gdb.guile/scm-disasm.exp: Do the test if
16284 is_address_zero_readable returns false.
16285 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16286 * gdb.python/py-arch.exp: Likewise.
16287 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16288 * lib/gdb.exp (is_address_zero_readable): New proc.
16290 2014-08-09 Yao Qi <yao@codesourcery.com>
16293 * gdb.mi/mi-var-display.exp: Make test messages unique.
16295 2014-08-04 Tom Tromey <tromey@redhat.com>
16297 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16300 2014-08-04 Tom Tromey <tromey@redhat.com>
16302 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16305 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16307 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16308 inner_vla_struct_object_size.
16309 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16312 2014-07-30 Pedro Alves <palves@redhat.com>
16314 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16317 2014-07-29 Yao Qi <yao@codesourcery.com>
16320 * gdb.base/until-nodebug.exp: New.
16322 2014-07-28 Doug Evans <xdje42@gmail.com>
16325 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16326 previously existing parameter, and previously ambiguously spelled
16329 2014-07-28 Will Newton <will.newton@linaro.org>
16331 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16333 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16334 Doug Evans <xdje42@gmail.com>
16337 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16339 2014-07-25 Pedro Alves <palves@redhat.com>
16341 * gdb.threads/signal-command-handle-nopass.c: New file.
16342 * gdb.threads/signal-command-handle-nopass.exp: New file.
16343 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16344 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16345 * gdb.threads/signal-delivered-right-thread.c: New file.
16346 * gdb.threads/signal-delivered-right-thread.exp: New file.
16348 2014-07-25 Pedro Alves <palves@redhat.com>
16350 * gdb.base/double-prompt-target-event-error.exp
16351 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16353 (cancel_pagination_in_target_event): Rework double prompt
16355 * gdb.base/paginate-after-ctrl-c-running.exp
16356 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16358 * gdb.base/paginate-bg-execution.exp
16359 (test_bg_execution_pagination_return)
16360 (test_bg_execution_pagination_cancel): Remove '-notransfer
16362 * gdb.base/paginate-execution-startup.exp
16363 (test_fg_execution_pagination_return)
16364 (test_fg_execution_pagination_cancel): Remove '-notransfer
16366 * gdb.base/paginate-inferior-exit.exp
16367 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16369 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16370 * lib/gdb.exp (pagination_prompt): Run text through
16372 (gdb_test_multiple): Match $pagination_prompt instead of
16374 (string_to_regexp): Move to lib/gdb-utils.exp.
16376 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16378 * gdb.arch/amd64-entry-value-paramref.S: New file.
16379 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16380 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16381 * gdb.arch/amd64-optimout-repeat.S: New file.
16382 * gdb.arch/amd64-optimout-repeat.c: New file.
16383 * gdb.arch/amd64-optimout-repeat.exp: New file.
16385 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16388 * gdb.base/statistics.exp: New file.
16390 2014-07-17 Doug Evans <dje@google.com>
16393 * gdb.base/maint.exp: Update testing of per-command stats.
16395 2014-07-16 Pedro Alves <palves@redhat.com>
16397 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16398 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16399 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16400 (tfile_write_buf): New functions.
16401 (add_memory_block): Rewrite using the above.
16402 (adjust_function_address): New function.
16403 (FUNCTION_ADDRESS): New macro.
16404 (write_basic_trace_file): Remove short_x local, and use
16405 tfile_write_16. Change type of func_addr local to unsigned long
16406 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16407 here. Cast argument of add_memory_block to char pointer.
16408 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16409 (main): Remove parameters.
16410 * gdb.trace/tfile.exp: Remove nowarnings.
16412 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16414 * gdb.base/debug-expr.exp: Test string evaluation with
16415 "debug expression" on.
16417 2014-07-15 Pedro Alves <palves@redhat.com>
16419 * gdb.base/reread.exp: Use clean_restart.
16421 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16423 * gdb.arch/avr-flash-qualifer.c: New.
16424 * gdb.arch/avr-flash-qualifer.exp: New.
16426 2014-07-14 Pedro Alves <palves@redhat.com>
16428 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16429 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16431 2014-07-14 Pedro Alves <palves@redhat.com>
16433 * gdb.base/double-prompt-target-event-error.c: New file.
16434 * gdb.base/double-prompt-target-event-error.exp: New file.
16436 2014-07-14 Pedro Alves <palves@redhat.com>
16439 * gdb.base/paginate-inferior-exit.c: New file.
16440 * gdb.base/paginate-inferior-exit.exp: New file.
16442 2014-07-14 Pedro Alves <palves@redhat.com>
16445 * gdb.base/paginate-bg-execution.c: New file.
16446 * gdb.base/paginate-bg-execution.exp: New file.
16448 2014-07-14 Pedro Alves <palves@redhat.com>
16451 * gdb.base/paginate-execution-startup.c: New file.
16452 * gdb.base/paginate-execution-startup.exp: New file.
16453 * lib/gdb.exp (pagination_prompt): New global.
16454 (default_gdb_spawn): New procedure, factored out from
16456 (default_gdb_start): Adjust to call default_gdb_spawn.
16457 (gdb_spawn): New procedure.
16459 2014-07-14 Pedro Alves <palves@redhat.com>
16461 * lib/gdb.exp (gdb_assert): New procedure.
16462 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16464 2014-07-14 Pedro Alves <palves@redhat.com>
16466 * gdb.base/execution-termios.c: New file.
16467 * gdb.base/execution-termios.exp: New file.
16469 2014-07-14 Tom Tromey <tromey@redhat.com>
16471 * gdb.cp/vla-cxx.cc: New file.
16472 * gdb.cp/vla-cxx.exp: New file.
16474 2014-07-14 Tom Tromey <tromey@redhat.com>
16476 * gdb.reverse/rerun-prec.c: New file.
16477 * gdb.reverse/rerun-prec.exp: New file.
16479 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16480 Maciej W. Rozycki <macro@codesourcery.com>
16482 * lib/gdb-utils.exp: New file.
16483 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16484 inline `gdb_init_command' processing.
16485 (gdb_start_cmd): Likewise.
16486 * lib/mi-support.exp (mi_run_cmd): Likewise.
16487 * README: Document `gdb_init_command' and `gdb_init_commands'.
16489 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16491 Fix false FAIL running under a very long directory name.
16492 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16493 and "set print elements 10000". Twice.
16495 2014-07-11 Yao Qi <yao@codesourcery.com>
16497 * gdb.base/exprs.exp: "set print symbol off".
16499 2014-07-11 Pedro Alves <palves@redhat.com>
16501 * gdb.threads/kill.c: New file.
16502 * gdb.threads/kill.exp: New file.
16504 2014-07-10 Yao Qi <yao@codesourcery.com>
16506 * gdb.trace/tfile.c (write_basic_trace_file)
16507 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16508 address written to trace file.
16510 2014-07-09 Pedro Alves <palves@redhat.com>
16512 * gdb.base/attach-wait-input.exp: New file.
16513 * gdb.base/attach-wait-input.c: New file.
16515 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16517 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16518 setting up test structures.
16519 (main): Call new test function.
16520 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16521 test function, continue into test function and walk test
16524 2014-07-02 Yao Qi <yao@codesourcery.com>
16526 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16527 'bar_start' at the beginning of functions 'foo' and 'bar'
16529 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16530 instead of 'foo' and 'bar'.
16532 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16534 * gdb.btrace/segv.exp: New.
16535 * gdb.btrace/segv.c: New.
16537 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16539 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16542 2014-06-30 Mark Wielaard <mjw@redhat.com>
16544 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16545 vulture, vilify, villar): New volatile array constants.
16546 (vindictive, vegetation): New const volatile array constants.
16547 * gdb.base/volatile.exp: Test volatile and const volatile array
16550 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16552 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16553 target lacks support for awatch, rwatch, or hbreak.
16555 2014-06-27 Yao Qi <yao@codesourcery.com>
16557 * gdb.multi/dummy-frame-restore.exp: New.
16558 * gdb.multi/dummy-frame-restore.c: New.
16560 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16562 * gdb.btrace/gcore.exp: New.
16564 2014-06-23 Pedro Alves <palves@redhat.com>
16566 * gdb.base/watchpoint-reuse-slot.c: New file.
16567 * gdb.base/watchpoint-reuse-slot.exp: New file.
16569 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16571 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16572 progspace's filename in 'info', 'enable' and 'disable' command
16575 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16577 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16578 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16579 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16581 2014-06-20 Gary Benson <gbenson@redhat.com>
16583 * gdb.arch/i386-avx.exp: Fix include file location.
16584 * gdb.arch/i386-sse.exp: Likewise.
16586 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16588 * gdb.dlang/expression.exp: New file.
16590 2014-06-19 Pedro Alves <palves@redhat.com>
16592 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16594 (top level): ... here. Iterate running tests under different
16595 scheduler-locking settings.
16597 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16599 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16600 to DW_FORM_addr and use non-zero addresses.
16602 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16605 * gdb.python/py-xmethods.cc: Add global function call counters and
16606 increment them in their respective functions. Remove "cout"
16608 * gdb.python/py-xmethods.exp: Make tests check the global function
16609 call counters instead of depending on inferior IO.
16611 2014-06-18 Don Breazeal <donb@codesourcery.com>
16613 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16615 (explicit_fork_parent_follow): Deleted procedure.
16616 (explicit_fork_child_follow): Deleted procedure.
16617 (test_follow_fork): New procedure.
16618 (do_fork_tests): Replace calls to deleted procedures with
16619 calls to test_follow_fork and reset GDB for subsequent
16622 2014-06-17 Yao Qi <yao@codesourcery.com>
16624 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16627 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16629 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16630 Initialize ptr and S explicitly.
16631 (skip_type_update_when_not_use_rtti_test): Likewise.
16633 2014-06-16 Keith Seitz <keiths@redhat.com>
16636 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16637 the inferior is started.
16639 2014-06-16 Pedro Alves <palves@redhat.com>
16641 * gdb.base/break-main-file-remove-fail.c: New file.
16642 * gdb.base/break-main-file-remove-fail.exp: New file.
16643 * gdb.base/break-unload-file.exp: Use build_executable instead of
16644 prepare_for_testing.
16645 (test_break): New parameter "initial_load". Handle it.
16646 (top level): Add initial_load cmdline/file axis.
16648 2014-06-12 Tom Tromey <tromey@redhat.com>
16650 * gdb.base/completion.exp: Don't use directory name in test.
16652 2014-06-09 Gary Benson <gbenson@redhat.com>
16654 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16655 separate the always-available ANSI-standard signals from the
16656 signals that require checking.
16658 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16662 2014-06-07 Keith Seitz <keiths@redhat.com>
16666 * gdb.cp/var-tag.cc: New file.
16667 * gdb.cp/var-tag.exp: New file.
16668 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16669 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16670 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16671 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16673 2014-06-06 Doug Evans <xdje42@gmail.com>
16675 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16677 2014-06-06 Pedro Alves <palves@redhat.com>
16679 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16680 in target debug output instead of looking at RSP packets,
16681 disabling the test on any target that uses hardware stepping.
16684 2014-06-06 Pedro Alves <palves@redhat.com>
16686 * gdb.base/break-unload-file.exp: Fix typo.
16688 2014-06-06 Yao Qi <yao@codesourcery.com>
16690 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16691 from "jit_function" to "^jit_function".
16693 2014-06-06 Yao Qi <yao@codesourcery.com>
16695 * gdb.base/async.c (foo): Add one statement.
16696 * gdb.base/async.exp: Get the next instruction address and
16697 match the output of "nexti" by instruction address. Match
16698 the hex address in the output of "finish".
16700 2014-06-06 Gary Benson <gbenson@redhat.com>
16702 * gdb.base/call-signals.c: Remove preprocessor conditionals
16703 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16704 SIGSEGV and SIGTERM.
16705 * gdb.base/sigall.c: Likewise.
16706 * gdb.base/unwindonsignal.c: Likewise.
16707 * gdb.reverse/sigall-reverse.c: Likewise.
16709 2014-06-06 Yao Qi <yao@codesourcery.com>
16711 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16712 readable, skip the test.
16714 2014-06-06 Yao Qi <yao@codesourcery.com>
16716 * gdb.threads/staticthreads.c (thread_function): Move the line
16717 setting breakpoint on forward.
16718 * gdb.threads/staticthreads.exp: Update comments.
16720 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16722 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16723 "history-append! type error".
16725 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16727 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16728 erroneous dprintf expected input.
16730 2014-06-04 Doug Evans <xdje42@gmail.com>
16732 * gdb.guile/scm-generics.exp: Delete.
16734 2014-06-04 Doug Evans <xdje42@gmail.com>
16736 * gdb.guile/scm-breakpoint.exp: Update.
16737 Add tests for breakpoint registration.
16739 2014-06-04 Tom Tromey <tromey@redhat.com>
16741 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16743 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16744 inner_vla_struct, vla_union types. Initialize objects of those
16745 types and compute their sizes.
16747 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16748 Hui Zhu <hui@codesourcery.com>
16750 * gdb.base/fileio.exp: Add test for shell not available as well as
16752 * gdb.base/fileio.c (test_system): Check for shell twice.
16754 2014-06-04 Yao Qi <yao@codesourcery.com>
16756 * gdb.base/auto-connect-native-target.exp: Remove redundant
16757 space from the regexp pattern.
16759 2014-06-04 Yao Qi <yao@codesourcery.com>
16761 * gdb.base/default.exp: Replace "child" with "native" in
16764 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16766 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16767 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16768 * gdb.python/py-xmethods.py: Python script supporting the
16769 new testcase and tests.
16771 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16772 Pedro Alves <palves@redhat.com>
16774 PR breakpoints/17000
16775 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16776 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16778 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16780 * gdb.base/subst.exp: Add tests to verify partial path matching
16783 2014-06-03 Pedro Alves <palves@redhat.com>
16785 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16786 target that doesn't use software single-stepping.
16788 2014-06-03 Pedro Alves <palves@redhat.com>
16790 PR breakpoints/17000
16791 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16792 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16794 2014-06-02 Doug Evans <xdje42@gmail.com>
16796 * gdb.guile/scm-parameter.exp: New file.
16798 2014-06-02 Doug Evans <xdje42@gmail.com>
16800 * gdb.guile/scm-cmd.c: New file.
16801 * gdb.guile/scm-cmd.exp: New file.
16803 2014-06-02 Doug Evans <xdje42@gmail.com>
16805 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16806 pretty-printer lookup.
16807 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16808 (make-pp_s-printer): Call it.
16809 (make-pretty-printer-from-dict): New function.
16810 (lookup-pretty-printer-maker-from-dict): New function.
16811 (*pretty-printer*): Simplify.
16812 (make-objfile-pp_s-printer): New function.
16813 (install-objfile-pretty-printers!): New function.
16814 (make-progspace-pp_s-printer): New function.
16815 (install-progspace-pretty-printers!): New function.
16816 * gdb.guile/scm-progspace.c: New file.
16817 * gdb.guile/scm-progspace.exp: New file.
16819 2014-06-02 Pedro Alves <palves@redhat.com>
16821 * gdb.base/dprintf-bp-same-addr.c: New file.
16822 * gdb.base/dprintf-bp-same-addr.exp: New file.
16824 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16826 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16827 * gdb.arch/powerpc-power.s: Likewise.
16829 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16831 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16833 2014-06-01 Yao Qi <yao@codesourcery.com>
16835 * gdb.base/watchpoint.exp (test_watch_location): Check null
16836 pointer can be dereferenced. If not, do the test, otherwise
16839 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16841 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16843 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16845 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16847 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16848 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16849 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16850 * gdb.arch/amd64-invalid-stack-top.c: New file.
16851 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16853 2014-05-30 Pedro Alves <palves@redhat.com>
16855 PR breakpoints/17000
16856 * gdb.base/sss-bp-on-user-bp.c: New file.
16857 * gdb.base/sss-bp-on-user-bp.exp: New file.
16859 2014-05-30 David Blaikie <dblaikie@gmail.com>
16861 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16862 gnu_inline semantics via attribute.
16863 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16864 source explicitly specifies the required semantics.
16866 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16868 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16870 2014-05-29 Pedro Alves <palves@redhat.com>
16871 Tom Tromey <tromey@redhat.com>
16873 * gdb.base/async-shell.exp: Don't enable target-async.
16874 * gdb.base/async.exp
16875 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16877 (top level): Don't test with "target-async".
16878 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16879 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16880 * gdb.base/inferior-died.exp: Don't enable target-async.
16881 * gdb.base/interrupt-noterm.exp: Likewise.
16882 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16883 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16884 * gdb.mi/mi-nonstop.exp: Likewise.
16885 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16886 * gdb.mi/mi-nsintrall.exp: Likewise.
16887 * gdb.mi/mi-nsmoribund.exp: Likewise.
16888 * gdb.mi/mi-nsthrexec.exp: Likewise.
16889 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16890 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16891 * gdb.python/py-evsignal.exp: Don't enable target-async.
16892 * gdb.python/py-evthreads.exp: Likewise.
16893 * gdb.python/py-prompt.exp: Likewise.
16894 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16895 * gdb.server/solib-list.exp: Don't enable target-async.
16896 * gdb.threads/thread-specific-bp.exp: Likewise.
16897 * lib/mi-support.exp: Adjust to use mi-async.
16899 2014-05-29 Pedro Alves <palves@redhat.com>
16902 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16903 reason, even in sync mode.
16905 2014-05-29 Pedro Alves <palves@redhat.com>
16906 Hui Zhu <hui@codesourcery.com>
16909 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16910 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16911 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16912 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16914 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16916 * config/monitor.exp (gdb_target_monitor): Replace use of
16917 "set remotebaud" by "set serial baud".
16919 2014-05-26 Andy Wingo <wingo@igalia.com>
16921 * gdb.guile/scm-breakpoint.exp:
16922 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16923 properties instead of gdb-object-properties.
16925 2014-05-26 Yao Qi <yao@codesourcery.com>
16927 * gdb.server/no-thread-db.exp: Specify source file name
16928 explicitly when setting a breakpoint.
16930 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16932 * gdb.btrace/vdso.c: New.
16933 * gdb.btrace/vdso.exp: New.
16935 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16937 * gdb.base/gcore.exp (capture_command_output): Move ...
16938 * lib/gdb.exp (capture_command_output): ... here.
16940 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16942 * gdb.btrace/data.exp: Test memory access during btrace replay.
16944 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16946 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16948 2014-05-21 Pedro Alves <palves@redhat.com>
16951 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16952 (top level): Test that output related to execution commands is
16953 sent to the console with CLI commands, but not with MI commands.
16954 Test that breakpoint events are always mirrored to the console.
16955 Also expect the new source line to be output after a "next" in
16956 async mode too. Make it a pass/fail test.
16957 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16959 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16961 2014-05-21 Pedro Alves <palves@redhat.com>
16963 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16964 Use them to test variations of "list" after reaching a breakpoint.
16965 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16966 Test "list" with listsize 10 after reaching a breakpoint.
16967 * gdb.python/python.exp (decode_line current location line
16968 number): Adjust expected line number.
16970 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16972 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16973 behavior for $args, pass it directly to "run".
16975 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16977 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16980 2014-05-21 Pedro Alves <palves@redhat.com>
16982 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16983 auto-connect-native-target off".
16984 * gdb.base/auto-connect-native-target.c: New file.
16985 * gdb.base/auto-connect-native-target.exp: New file.
16987 2014-05-21 Pedro Alves <palves@redhat.com>
16989 * gdb.base/default.exp: Test "target native" instead of "target
16992 2014-05-21 Mark Wielaard <mjw@redhat.com>
16994 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16996 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16998 Fix TLS access for -static -pthread.
16999 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17000 <HAVE_TLS> (thread_function, main): Initialize it.
17001 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17003 <$have_tls != "">: Check TLSVAR.
17005 2014-05-21 Pedro Alves <palves@redhat.com>
17007 * gdb.base/dcache-line-read-error.c: New.
17008 * gdb.base/dcache-line-read-error.exp: New.
17010 2014-05-20 Pedro Alves <palves@redhat.com>
17012 * gdb.base/compare-sections.c: New file.
17013 * gdb.base/compare-sections.exp: New file.
17015 2014-05-20 Pedro Alves <palves@redhat.com>
17017 * gdb.base/break-idempotent.c: New file.
17018 * gdb.base/break-idempotent.exp: New file.
17020 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17022 * gdb.btrace/nohist.exp: New.
17024 2014-05-20 Yao Qi <yao@codesourcery.com>
17026 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17027 gdb.reverse directory and gdb_reverse_timeout exists in board
17029 * README: Document gdb_reverse_timeout.
17031 2014-05-20 Yao Qi <yao@codesourcery.com>
17033 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17034 'test_file_name'. Treat args as a string instead of a list.
17035 (gdb_init): Rename argument 'args' by 'test_file_name'.
17037 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17039 * gdb.arch/powerpc-power.exp: New file.
17040 * gdb.arch/powerpc-power.s: New file.
17042 2014-05-16 Doug Evans <dje@google.com>
17044 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17045 * gdb.base/completion.exp: Check that all expected files exist
17046 before doing file completion.
17048 2014-05-16 Doug Evans <dje@google.com>
17050 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17052 (do_syscall_tests_without_xml): Update.
17054 2014-05-16 Pedro Alves <palves@redhat.com>
17056 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17057 instead of "unknown output after running".
17059 2014-05-16 Yao Qi <yao@codesourcery.com>
17061 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17062 file1.txt from host at the end.
17063 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17065 2014-05-15 Doug Evans <dje@google.com>
17067 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17068 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17069 loading file. Add test for TU lookup.
17071 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17073 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17074 calling "-exec-arguments" or "set args" before running the
17077 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17079 * lib/mi-support.exp (mi_expect_stop): Expect message for
17080 inferiors that exit with non-zero exit code.
17082 2014-05-14 Yao Qi <yao@codesourcery.com>
17084 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17085 match absolute path on remote host.
17086 (test_file_list_exec_source_files): Remove "/" from the
17089 2014-05-14 Yao Qi <yao@codesourcery.com>
17091 * boards/local-remote-host-notty.exp (${board}_file): New
17094 2014-05-07 Kyle McMartin <kyle@redhat.com>
17096 Pushed by Joel Brobecker <brobecker@adacore.com>.
17097 * gdb.arch/aarch64-atomic-inst.c: New file.
17098 * gdb.arch/aarch64-atomic-inst.exp: New file.
17100 2014-05-07 Yao Qi <yao@codesourcery.com>
17102 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17103 in current context" too.
17105 2014-05-05 Keith Seitz <keiths@redhat.com>
17107 * gdb.linespec/ls-dollar.exp: Add test for linespec
17108 file:convenience_variable.
17110 2014-05-05 Yao Qi <yao@codesourcery.com>
17112 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17113 traceframes into tfile and ctf trace files. Read data from
17114 trace file and test collected data.
17115 (gdb_collect_locals_test): Likewise.
17116 (gdb_unavailable_registers_test): Likewise.
17117 (gdb_unavailable_floats): Likewise.
17118 (gdb_collect_globals_test): Likewise.
17119 (top-level): Append "ctf" to trace_file_targets if GDB
17122 2014-05-05 Yao Qi <yao@codesourcery.com>
17124 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17126 (gdb_collect_args_test_1): ... it. New proc.
17127 (gdb_collect_locals_test): Move some code to ...
17128 (gdb_collect_locals_test_1): ... it. New proc.
17129 (gdb_unavailable_registers_test): Move some code to ...
17130 (gdb_unavailable_registers_test_1): ... it. New proc.
17131 (gdb_unavailable_floats): Move some code to ...
17132 (gdb_unavailable_floats_1): ... it. New proc.
17134 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17136 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17137 probes to test for bitness recognition.
17138 * gdb.arch/amd64-stap-optional-prefix.exp
17139 (test_probe_value_without_reg): New procedure.
17140 Add code to test for different kinds of bitness.
17142 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17144 PR breakpoints/16889
17145 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17146 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17148 2014-05-01 Pedro Alves <palves@redhat.com>
17150 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17151 gdb_file_cmd if no file is specified.
17152 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17153 last_loaded_file to set the remote exec-file.
17155 2014-05-01 Pedro Alves <palves@redhat.com>
17157 * boards/local-remote-host.exp: New file.
17159 2014-05-01 Pedro Alves <palves@redhat.com>
17161 * boards/local-remote-host.exp: Rename to ...
17162 * boards/local-remote-host-notty.exp: ... this.
17164 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17166 * gdb.ada/dyn_arrayidx: New testcase.
17168 2014-04-26 Yao Qi <yao@codesourcery.com>
17170 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17171 and compute the length of function main. Save it in
17173 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17174 (top-level): Use gdb_compile to compile objects into
17175 executable and restart GDB. Remove invocation to
17176 prepare_for_testing.
17178 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17179 Pedro Alves <palves@redhat.com>
17182 * gdb.multi/multi-attach.c: New file.
17183 * gdb.multi/multi-attach.exp: New file.
17185 2014-04-25 Pedro Alves <palves@redhat.com>
17187 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17189 (top level): Test that "set remote conditional-breakpoints-packet
17190 off" works as intended.
17191 * gdb.base/dprintf.exp: Test that "set remote
17192 breakpoint-commands-packet off" works as intended.
17193 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17195 (top level): Call it.
17196 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17197 remote fast-tracepoints-packet off" works as intended.
17198 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17199 * lib/gdb.exp (gdb_is_target_remote): ... here.
17201 2014-04-24 David Blaikie <dblaikie@gmail.com>
17203 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17204 ensure clang would not discard them.
17205 * gdb.base/gdbvars.c: Ditto.
17206 * gdb.base/memattr.c: Ditto.
17207 * gdb.base/whatis.c: Ditto.
17208 * gdb.python/py-prettyprint.c: Ditto.
17209 * gdb.trace/actions.c: Ditto.
17210 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17211 ensure clang would not discard it.
17213 2014-04-24 David Blaikie <dblaikie@gmail.com>
17215 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17216 clang to emit the full definition of type required by the test
17217 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17219 2014-04-24 David Blaikie <dblaikie@gmail.com>
17221 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17222 coax Clang into emitting the definition of the type.
17223 * gdb.cp/pr10728-x.h (y): Ditto.
17224 * gdb.cp/pr10728-y.cc (y): Ditto.
17226 2014-04-24 David Blaikie <dblaikie@gmail.com>
17228 * gdb.base/label.exp: XFAIL label related tests under Clang.
17229 * gdb.cp/cplabel.exp: Ditto.
17230 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17231 under Clang those using labels.
17233 2014-04-25 Yao Qi <yao@codesourcery.com>
17235 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17237 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17238 partial_label and double_label.
17240 2014-04-24 David Blaikie <dblaikie@gmail.com>
17242 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17244 2014-04-24 David Blaikie <dblaikie@gmail.com>
17246 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17247 of the function to work across GCC and Clang.
17248 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17249 pointer types (const void ** const V void **).
17251 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17252 Walfred Tedeschi <walfred.tedeschi@intel.com>
17254 * Makefile.in (EXECUTABLES): Added i386-avx512.
17255 * gdb.arch/i386-avx512.c: New file.
17256 * gdb.arch/i386-avx512.exp: Likewise.
17258 2014-04-23 Keith Seitz <keiths@redhat.com>
17260 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17261 (mi_make_breakpoint_table): New procedure.
17262 (mi_create_breakpoint): Use mi_make_breakpoint
17263 and return the result.
17264 (mi_make_breakpoint): New procedure.
17265 (mi_build_kv_pairs): New procedure.
17267 * gdb.mi/mi-break.exp: Remove unused globals,
17268 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17269 All callers updated.
17270 * gdb.mi/mi-dprintf.exp: Use variable to track command
17272 Update all callers of mi_create_breakpoint and use
17273 mi_make_breakpoint_table.
17274 Remove any unused global variables.
17275 * gdb.mi/mi-nonstop.exp: Likewise.
17276 * gdb.mi/mi-nsintrall.exp: Likewise.
17277 * gdb.mi/mi-nsmoribund.exp: Likewise.
17278 * gdb.mi/mi-nsthrexec.exp: Likewise.
17279 * gdb.mi/mi-reverse.exp: Likewise.
17280 * gdb.mi/mi-simplerun.exp: Likewise.
17281 * gdb.mi/mi-stepn.exp: Likewise.
17282 * gdb.mi/mi-syn-frame.exp: Likewise.
17283 * gdb.mi/mi-until.exp: Likewise.
17284 * gdb.mi/mi-var-cp.exp: Likewise.
17285 * gdb.mi/mi-var-display.exp: Likewise.
17286 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17287 * gdb.mi/mi2-var-child.exp: Likewise.
17288 * gdb.mi/mi-vla-c99.exp: Likewise.
17289 * lib/mi-support.exp: Likewise.
17291 From Ian Lance Taylor <iant@cygnus.com>:
17292 * lib/gdb.exp (parse_args): New procedure.
17294 2014-04-23 Pedro Alves <palves@redhat.com>
17296 * gdb.base/break-unload-file.c: New file.
17297 * gdb.base/break-unload-file.exp: New file.
17298 * gdb.base/sym-file-lib.c (baz): New function.
17299 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17301 (load): Store the segment's mapped size.
17302 (unload): New function.
17303 (unload_shlib): New function.
17304 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17305 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17306 set a breakpoint at baz, and call it.
17307 * gdb.base/sym-file.exp: New tests for stale breakpoint
17310 2014-04-23 Pedro Alves <palves@redhat.com>
17312 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17313 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17314 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17315 * gdb.base/hbreak-unmapped.c: New file.
17316 * gdb.base/hbreak-unmapped.exp: New file.
17317 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17318 * lib/gdb.exp (gdb_is_target_remote): ... here.
17320 2014-04-22 Pedro Alves <palves@redhat.com>
17322 * gdb.base/consecutive-step-over.c: New file.
17323 * gdb.base/consecutive-step-over.exp: New file.
17325 2014-04-22 Pedro Alves <palves@redhat.com>
17327 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17328 instead of send_gdb/gdb_expect.
17330 2014-04-22 Yao Qi <yao@codesourcery.com>
17332 * lib/trace-support.exp (generate_tracefile): New procedure.
17333 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17335 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17336 if generate_tracefile returns 1.
17338 2014-04-18 Tom Tromey <palves@redhat.com>
17339 Pedro alves <tromey@redhat.com>
17342 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17343 with a backtrace limit.
17344 * gdb.python/py-frame-inline.exp: Test running to an inline
17345 function with a backtrace limit, and printing the newest frame.
17346 * gdb.python/py-frame-inline.c (main): Call f.
17348 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17350 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17352 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17354 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17355 Drop prefix from unsupported source file path.
17357 2014-04-17 Yao Qi <yao@codesourcery.com>
17359 * lib/gdb.exp (with_target_charset): New proc.
17360 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17361 with_target_charset.
17362 (test_print_strings): Likewise.
17363 (test_repeat_bytes): Likewise.
17364 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17367 2014-04-16 Keith Seitz <keiths@redhat.com>
17370 * gdb.dwarf2/corrupt.c: New file.
17371 * gdb.dwarf2/corrupt.exp: New file.
17373 2014-04-16 Keith Seitz <keiths@redhat.com>
17376 * gdb.cp/namelessclass.cc: New file.
17377 * gdb.cp/namelessclass.exp: New file.
17378 * gdb.cp/namelessclass.S: New file.
17380 2014-04-16 Doug Evans <dje@google.com>
17382 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17384 (gdbserver_default_get_comm_port): New function.
17385 (gdbserver_start): Check if board file provided
17386 "gdbserver,get_comm_port" and use it if so.
17387 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17388 (gdb,socketport): Set to "stdio".
17389 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17390 (stdio_gdbserver_template): Delete.
17391 (${board}_get_remote_address): Update.
17392 (${board}_build_remote_cmd): Delete.
17393 (${board}_get_comm_port): New function.
17394 (${board}_spawn): Update.
17395 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17397 (${board}_get_remote_address): Update.
17398 (${board}_get_comm_port): New function.
17400 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17402 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17403 appearing in any order.
17405 2014-04-15 Doug Evans <dje@google.com>
17407 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17408 uninitialized value of "description".
17410 2014-04-15 Keith Seitz <keiths@redhat.com>
17412 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17413 Remove unused globals.
17414 (test_running_the_program): Likewise.
17415 (test_controlled_execution): Likewise.
17416 (test_controlling_breakpoints): Likewise.
17417 (test_program_termination): Likewise.
17419 2014-04-15 Keith Seitz <keiths@redhat.com>
17421 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17423 (test_rbreak_creation_and_listing): Likewise.
17424 (test_ignore_count): Likewise.
17425 (test_error): Likewise.
17427 2014-04-15 Pedro Alves <palves@redhat.com>
17429 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17430 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17432 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17433 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17434 to sym-file-loader.c.
17435 (struct library): Forward declare.
17436 (load_shlib, lookup_function): Change prototypes.
17437 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17438 (translate_offset): Remove declarations.
17439 (get_text_addr): New declaration.
17440 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17441 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17443 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17444 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17445 here from sym-file-loader.h.
17446 (struct library): New structure.
17447 (load_shlib, lookup_function): Change prototypes and adjust to
17448 work with a struct library.
17449 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17450 (translate_offset): Make static.
17451 (get_text_addr): New function.
17452 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17454 2014-04-15 Pedro Alves <palves@redhat.com>
17456 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17458 2014-04-15 Pedro Alves <palves@redhat.com>
17460 * gdb.base/sym-file-loader.c: Include <limits.h>.
17461 (SELF_LINK): New define.
17462 (get_origin): New function.
17463 (load_shlib): Use it.
17464 * gdb.base/sym-file.exp: Don't early return if the target is
17465 remote. Use runto_main, and issue fail is that fails. Use
17467 (shlib_name): Delete.
17468 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17470 2014-04-15 Pedro Alves <palves@redhat.com>
17472 * gdb.base/sym-file.exp: Remove regex characters from test
17473 message. Don't refer to breakpoint numbers in test messages.
17475 2014-04-14 Keith Seitz <keiths@redhat.com>
17478 * gdb.cp/var-tag.cc: New file.
17479 * gdb.cp/var-tag.exp: New file.
17480 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17481 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17482 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17483 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17485 2014-04-14 Tom Tromey <tromey@redhat.com>
17487 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17488 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17490 * gdb.cp/enum-class.exp: New file.
17491 * gdb.cp/enum-class.cc: New file.
17493 2014-04-14 Tom Tromey <tromey@redhat.com>
17495 * gdb.dwarf2/enum-type.exp: New file.
17497 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17499 * gdb.mi/mi-vla-c99.exp: New file.
17500 * gdb.mi/vla.c: New file.
17502 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17504 * gdb.base/vla-datatypes.c: New file.
17505 * gdb.base/vla-datatypes.exp: New file.
17507 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17509 * gdb.base/vla-ptr.c: New file.
17510 * gdb.base/vla-ptr.exp: New file.
17512 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17514 * gdb.dwarf2/count.exp: New file.
17516 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17518 * gdb.base/vla-sideeffect.c: New file.
17519 * gdb.base/vla-sideeffect.exp: New file.
17521 2014-04-14 David Blaikie <dblaikie@gmail.com>
17523 * gdb.mi/non-stop.c: Add return value for non-void function return
17525 * gdb.threads/staticthreads.c: Ditto.
17527 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17528 Doug Evans <xdje42@gmail.com>
17530 * gdb.guile/scm-value.c: Improve test case.
17531 * gdb.guile/scm-value.exp: Add new test.
17533 2014-04-11 David Blaikie <dblaikie@gmail.com>
17535 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17536 override Clang's default.
17538 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17540 Revert the following changes (regressions):
17542 * gdb.base/vla-sideeffect.c: New file.
17543 * gdb.base/vla-sideeffect.exp: New file.
17545 * gdb.dwarf2/count.exp: New file.
17547 * gdb.base/vla-multi.c: New file.
17548 * gdb.base/vla-multi.exp: New file.
17550 * gdb.base/vla-ptr.c: New file.
17551 * gdb.base/vla-ptr.exp: New file.
17553 * gdb.base/vla-datatypes.c: New file.
17554 * gdb.base/vla-datatypes.exp: New file.
17556 * gdb.mi/mi-vla-c99.exp: New file.
17557 * gdb.mi/vla.c: New file.
17559 2014-04-11 Keith Seitz <keiths@redhat.com>
17562 * gdb.cp/cpsizeof.exp: New file.
17563 * gdb.cp/cpsizeof.cc: New file.
17565 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17567 * gdb.mi/mi-vla-c99.exp: New file.
17568 * gdb.mi/vla.c: New file.
17570 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17572 * gdb.base/vla-datatypes.c: New file.
17573 * gdb.base/vla-datatypes.exp: New file.
17575 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17577 * gdb.base/vla-ptr.c: New file.
17578 * gdb.base/vla-ptr.exp: New file.
17580 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17582 * gdb.base/vla-multi.c: New file.
17583 * gdb.base/vla-multi.exp: New file.
17585 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17587 * gdb.dwarf2/count.exp: New file.
17589 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17591 * gdb.base/vla-sideeffect.c: New file.
17592 * gdb.base/vla-sideeffect.exp: New file.
17594 2014-04-11 Yao Qi <yao@codesourcery.com>
17596 * gdb.base/completion.exp: Check file exists before running tests
17597 on file completion.
17599 2014-04-10 Pedro Alves <palves@redhat.com>
17601 * gdb.base/cond-eval-mode.c: New file.
17602 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17603 prepare_for_testing to build the new file. Check result of
17605 (test_break, test_watch): New procedures.
17606 (top level): Use them.
17608 2014-04-08 Pierre Muller <muller@sourceware.org>
17610 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17611 Ctrl-V use for mingw hosts.
17613 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17615 * gdb.python/py-value.c: Improve test case.
17616 * gdb.python/py-value.exp: Add new test.
17618 2014-04-07 David Blaikie <dblaikie@gmail.com>
17620 * lib/compiler.c: Identify the clang compiler.
17621 * lib/compiler.cc: Ditto.
17623 2014-04-03 Yao Qi <yao@codesourcery.com>
17625 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17627 2014-04-01 Anton Blanchard <anton@samba.org>
17629 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17632 2014-04-01 Anton Blanchard <anton@samba.org>
17634 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17635 prepare_for_testing.
17637 2014-04-01 Anton Blanchard <anton@samba.org>
17639 * gdb.arch/ppc64-atomic-inst.c: Remove.
17640 * gdb.arch/ppc64-atomic-inst.S: New file.
17641 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17643 2014-03-31 Doug Evans <dje@google.com>
17645 * gdb.base/print-symbol-loading-lib.c: New file.
17646 * gdb.base/print-symbol-loading-main.c: New file.
17647 * gdb.base/print-symbol-loading.exp: New file.
17649 2014-03-31 Yao Qi <yao@codesourcery.com>
17651 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17653 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17655 * gdb.ada/mi_dyn_arr: New testcase.
17657 2014-03-27 Doug Evans <dje@google.com>
17659 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17661 2014-03-27 Yao Qi <yao@codesourcery.com>
17663 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17664 if target is nios2-*-*.
17666 2014-03-26 Yao Qi <yao@codesourcery.com>
17668 * lib/gdb.exp (readline_is_used): New proc.
17669 * gdb.base/completion.exp: Move tests on command complete up.
17670 Skip the rest of tests if readline is not used.
17671 * gdb.ada/complete.exp: Skp the test if readline is not
17673 * gdb.base/filesym.exp: Likewise.
17674 * gdb.base/macscp.exp: Likewise.
17675 * gdb.base/readline-ask.exp: Likewise.
17676 * gdb.base/readline.exp: Likewise.
17677 * gdb.python/py-cmd.exp: Likewise.
17678 * gdb.trace/tfile.exp: Likewise.
17680 2014-03-26 Yao Qi <yao@codesourcery.com>
17682 * gdb.base/macscp.exp: Fix code format issues.
17684 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17686 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17687 * gdb.asm/powerpc64le.inc: New file.
17689 2014-03-25 Pedro Alves <palves@redhat.com>
17690 Doug Evans <dje@google.com>
17692 * gdb.base/source-execution.c: New file.
17693 * gdb.base/source-execution.exp: New file.
17694 * gdb.base/source-execution.gdb: New file.
17696 2014-03-24 Doug Evans <dje@google.com>
17698 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17701 2014-03-24 Hui Zhu <hui@codesourcery.com>
17702 Pedro Alves <palves@redhat.com>
17704 PR breakpoints/16101
17705 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17706 test pass/fail messages. Detect missing support for dprintf when
17707 breakpoints are actually inserted.
17708 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17709 breakpoints are actually inserted.
17710 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17713 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17715 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17717 2014-03-22 Doug Evans <xdje42@gmail.com>
17719 * gdb.python/python.exp (python not supported): Verify multi-line
17720 python command issues an error.
17721 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17722 guile command issues an error.
17724 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17726 * gdb.threads/thread-specific.exp: Handle the lack of usable
17727 $this_breakpoint and $this_thread.
17729 2014-03-21 Hui Zhu <hui@codesourcery.com>
17731 * gdb.base/attach.exp (do_command_attach_tests): New.
17733 2014-03-20 Tom Tromey <tromey@redhat.com>
17734 Pedro Alves <palves@redhat.com>
17737 * gdb.base/condbreak-call-false.c: New file.
17738 * gdb.base/condbreak-call-false.exp: New file.
17740 2014-03-20 Pedro Alves <palves@redhat.com>
17742 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17744 (block_signals, unblock_signals): Delete.
17745 (child_function_2, main): Remove references to deleted variable
17748 2014-03-20 Pedro Alves <palves@redhat.com>
17750 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17751 Use pthread_kill to signal thread 2.
17752 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17753 Adjust to make the test send itself a signal rather than using the
17754 host's "kill" command.
17756 2014-03-20 Pedro Alves <palves@redhat.com>
17758 * gdb.threads/multiple-step-overs.c: New file.
17759 * gdb.threads/multiple-step-overs.exp: New file.
17760 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17761 Adjust expected infrun debug output.
17763 2014-03-20 Pedro Alves <palves@redhat.com>
17765 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17766 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17768 2014-03-20 Pedro Alves <palves@redhat.com>
17770 PR breakpoints/7143
17771 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17772 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17773 of gdb_test_multiple.
17774 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17775 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17777 2014-03-20 Pedro Alves <palves@redhat.com>
17779 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17780 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17782 2014-03-19 Pedro Alves <palves@redhat.com>
17784 * gdb.base/async.exp: Remove early return.
17786 2014-03-19 Pedro Alves <palves@redhat.com>
17788 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17790 2014-03-19 Pedro Alves <palves@redhat.com>
17792 * gdb.base/async.exp (test_background): Expect \r\n after
17793 "completed." in the fail pattern.
17795 2014-03-19 Pedro Alves <palves@redhat.com>
17797 * gdb.base/async.exp (test_background): New procedure.
17798 Use it for all background execution command tests.
17800 2014-03-19 Pedro Alves <palves@redhat.com>
17802 * gdb.base/async.exp: Use prepare_for_testing.
17804 2014-03-19 Pedro Alves <palves@redhat.com>
17806 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17809 2014-03-19 Pedro Alves <palves@redhat.com>
17811 * gdb.base/async.c (main): Add "jump here" and "until here" line
17813 * gdb.base/async.exp (jump_here): New global.
17814 (jump& test): Use it.
17815 (until_here): New global.
17816 (until& test): Use it.
17818 2014-03-19 Pedro Alves <palves@redhat.com>
17820 * gdb.base/async.exp: Don't frob gdb_protocol.
17822 2014-03-18 Doug Evans <xdje42@gmail.com>
17824 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17825 Fix spelling of exec-done-display.
17827 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17830 * gdb.base/gdb-sigterm.c: New file.
17831 * gdb.base/gdb-sigterm.exp: New file.
17833 2014-03-18 Pedro Alves <palves@redhat.com>
17836 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17837 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17840 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17842 * gdb.ada/pckd_arr_ren: New testcase.
17844 2014-03-13 Doug Evans <xdje42@gmail.com>
17847 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17848 collect after discarding symbols.
17850 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17851 Doug Evans <xdje42@gmail.com>
17853 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17854 to history survives a gc.
17856 2014-03-13 Pedro Alves <palves@redhat.com>
17858 * gdb.base/default.exp: Don't test "target procfs".
17860 2014-03-13 Pedro Alves <palves@redhat.com>
17862 * gdb.base/default.exp: Update "target child" and "target procfs"
17863 tests to not expect "Unix".
17865 2014-03-12 Tom Tromey <tromey@redhat.com>
17867 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17868 New procs. Add target-async tests.
17869 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17870 Add target-async tests.
17872 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17874 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17875 'func_start' and 'func_end' for the beginning and end of the
17876 function code, respectively.
17877 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17878 'func_end' instead of 'func' and 'main'.
17880 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17882 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17883 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17884 generate the debug info assembler source.
17886 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17888 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17889 * gdb.dwarf2/arr-subrange.exp: Likewise.
17890 * gdb.dwarf2/dwz.exp: Likewise.
17891 * gdb.dwarf2/method-ptr.exp: Likewise.
17892 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17893 * gdb.dwarf2/subrange.exp: Likewise.
17894 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17895 * gdb.dwarf2/implptrpiece.exp: Likewise.
17896 * gdb.dwarf2/nostaticblock.exp: Likewise.
17898 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17900 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17901 directory to absolute path name arguments.
17903 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17905 * gdb.ada/tagged_access: New testcase.
17907 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17909 * gdb.btrace/data.exp: Update expected output.
17911 2014-03-06 Yao Qi <yao@codesourcery.com>
17913 * gdb.trace/pr16508.exp: New file.
17915 2014-03-05 Pedro Alves <palves@redhat.com>
17918 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17920 (top level): Adjust to use it. Add tests that exercise breakpoint
17921 interaction with the code-cache.
17923 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17925 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17926 test for 'history-append!'.
17928 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17930 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17931 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17932 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17933 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17934 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17935 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17937 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17939 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17940 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17941 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17943 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17945 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17947 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17949 * gdb.dwarf2/arr-stride.c: New file.
17950 * gdb.dwarf2/arr-stride.exp: New file.
17952 2014-02-26 Pedro Alves <palves@redhat.com>
17954 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17955 that won't ever trigger. Make sure that GDB reports the correct
17956 breakpoint that caused the stop.
17958 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17961 * gdb.base/auto-load-script: New file.
17962 * gdb.base/auto-load.c: New file.
17963 * gdb.base/auto-load.exp: New file.
17966 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17968 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17970 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17971 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17973 2014-02-24 Doug Evans <dje@google.com>
17975 * lib/gdb.exp (run_on_host): Log error output if program fails.
17977 2014-02-21 Pedro Alves <palves@redhat.com>
17979 * gdb.threads/step-after-sr-lock.c: Rename to ...
17980 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17981 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17982 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17985 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17988 * gdb.arch/amd64-stap-special-operands.exp: New file.
17989 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17990 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17991 * gdb.arch/amd64-stap-triplet.S: Likewise.
17992 * gdb.arch/amd64-stap-triplet.c: Likewise.
17994 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17996 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17997 in .section pseudo-op.
17999 2014-02-20 lin zuojian <manjian2006@gmail.com>
18000 Joel Brobecker <brobecker@adacore.com>
18001 Doug Evans <xdje42@gmail.com>
18004 * gdb.dwarf2/dw2-icycle.S: New file.
18005 * gdb.dwarf2/dw2-icycle.c: New file.
18006 * gdb.dwarf2/dw2-icycle.exp: New file.
18008 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18010 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18011 operations on gdb.Value objects.
18012 * gdb.python/py-value-cc.exp: Add new test to test operations on
18015 2014-02-18 Doug Evans <dje@google.com>
18017 * Makefile.in (TESTS): New variable.
18018 (expanded_tests, expanded_tests_or_none): New variables
18019 (check-single): Pass $(expanded_tests_or_none) to runtest.
18020 (check-parallel): Only run tests in $(TESTS) if non-empty.
18021 (check/no-matching-tests-found): New rule.
18022 * README: Document TESTS makefile variable.
18024 2014-02-18 Doug Evans <dje@google.com>
18026 * Makefile.in (check-parallel): rm -rf outputs temp.
18028 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18030 Fix "ERROR: no fileid for" in the testsuite.
18031 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18033 2014-02-12 Doug Evans <dje@google.com>
18035 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18036 (MISCELLANEOUS): New variable.
18037 (clean): rm -rf $(MISCELLANEOUS).
18038 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18039 dwp live in the same directory as symlinks, with each symlink pointed
18040 to a differently named file in a different directory.
18042 2014-02-11 Doug Evans <dje@google.com>
18044 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18045 of Tcl file commands.
18047 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18049 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18050 "kill -SIGUSR1 -1".
18052 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18054 * gdb.ada/tick_length_array_enum_idx: New testcase.
18056 2014-02-10 Doug Evans <xdje42@gmail.com>
18058 * configure.ac (AC_OUTPUT): Add gdb.guile.
18059 * configure: Regenerate.
18060 * lib/gdb-guile.exp: New file.
18061 * lib/gdb.exp (get_target_charset): New function.
18062 * gdb.base/help.exp: Update expected output from "apropos apropos".
18063 * gdb.guile/Makefile.in: New file.
18064 * gdb.guile/guile.exp: New file.
18065 * gdb.guile/scm-arch.c: New file.
18066 * gdb.guile/scm-arch.exp: New file.
18067 * gdb.guile/scm-block.c: New file.
18068 * gdb.guile/scm-block.exp: New file.
18069 * gdb.guile/scm-breakpoint.c: New file.
18070 * gdb.guile/scm-breakpoint.exp: New file.
18071 * gdb.guile/scm-disasm.c: New file.
18072 * gdb.guile/scm-disasm.exp: New file.
18073 * gdb.guile/scm-equal.c: New file.
18074 * gdb.guile/scm-equal.exp: New file.
18075 * gdb.guile/scm-error.exp: New file.
18076 * gdb.guile/scm-error.scm: New file.
18077 * gdb.guile/scm-frame-args.c: New file.
18078 * gdb.guile/scm-frame-args.exp: New file.
18079 * gdb.guile/scm-frame-args.scm: New file.
18080 * gdb.guile/scm-frame-inline.c: New file.
18081 * gdb.guile/scm-frame-inline.exp: New file.
18082 * gdb.guile/scm-frame.c: New file.
18083 * gdb.guile/scm-frame.exp: New file.
18084 * gdb.guile/scm-generics.exp: New file.
18085 * gdb.guile/scm-gsmob.exp: New file.
18086 * gdb.guile/scm-iterator.c: New file.
18087 * gdb.guile/scm-iterator.exp: New file.
18088 * gdb.guile/scm-math.c: New file.
18089 * gdb.guile/scm-math.exp: New file.
18090 * gdb.guile/scm-objfile-script-gdb.in: New file.
18091 * gdb.guile/scm-objfile-script.c: New file.
18092 * gdb.guile/scm-objfile-script.exp: New file.
18093 * gdb.guile/scm-objfile.c: New file.
18094 * gdb.guile/scm-objfile.exp: New file.
18095 * gdb.guile/scm-ports.exp: New file.
18096 * gdb.guile/scm-pretty-print.c: New file.
18097 * gdb.guile/scm-pretty-print.exp: New file.
18098 * gdb.guile/scm-pretty-print.scm: New file.
18099 * gdb.guile/scm-section-script.c: New file.
18100 * gdb.guile/scm-section-script.exp: New file.
18101 * gdb.guile/scm-section-script.scm: New file.
18102 * gdb.guile/scm-symbol.c: New file.
18103 * gdb.guile/scm-symbol.exp: New file.
18104 * gdb.guile/scm-symtab-2.c: New file.
18105 * gdb.guile/scm-symtab.c: New file.
18106 * gdb.guile/scm-symtab.exp: New file.
18107 * gdb.guile/scm-type.c: New file.
18108 * gdb.guile/scm-type.exp: New file.
18109 * gdb.guile/scm-value-cc.cc: New file.
18110 * gdb.guile/scm-value-cc.exp: New file.
18111 * gdb.guile/scm-value.c: New file.
18112 * gdb.guile/scm-value.exp: New file.
18113 * gdb.guile/source2.scm: New file.
18114 * gdb.guile/types-module.cc: New file.
18115 * gdb.guile/types-module.exp: New file.
18117 2014-02-10 Yao Qi <yao@codesourcery.com>
18120 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18121 * configure: Regenerated.
18122 * Makefile.in: New file.
18124 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18126 * gdb.python/py-framefilter.exp: Fix typo.
18128 2014-02-08 Yao Qi <yao@codesourcery.com>
18130 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18131 that no =breakpoint-modified is emitted when breakpoints are
18132 modified through MI commands.
18134 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18135 Pedro Alves <palves@redhat.com>
18137 * gdb.threads/step-after-sr-lock.c: New file.
18138 * gdb.threads/step-after-sr-lock.exp: New file.
18140 2014-02-07 Pedro Alves <palves@redhat.com>
18142 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18144 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18146 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18147 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18149 2014-02-06 Doug Evans <xdje42@gmail.com>
18151 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18154 * gdb.gdb/python-interrupts.exp: New file.
18156 2014-02-05 Yao Qi <yao@codesourcery.com>
18158 * gdb.trace/report.exp (use_collected_data): Test the output
18159 of "info threads" and "info inferiors".
18161 2014-02-05 Yao Qi <yao@codesourcery.com>
18165 2013-05-24 Yao Qi <yao@codesourcery.com>
18167 * gdb.trace/tfile.exp: Test inferior and thread.
18169 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18171 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18173 * gdb.base/step-bt.c: Call hello via function pointer to make
18174 sure its first instruction is executed on powerpc64le-linux.
18176 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18178 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18180 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18182 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18183 of the test patterns for use on little-endian systems.
18185 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18187 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18188 (decimal_vector): Fix for little-endian.
18190 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18192 * gdb.arch/sparc-sysstep.exp: New file.
18193 * gdb.arch/sparc-sysstep.c: Likewise.
18195 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18197 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18199 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18201 2014-01-23 Tom Tromey <tromey@redhat.com>
18203 * gdb.ada/array_char_idx: New testcase.
18205 2014-01-23 Tom Tromey <tromey@redhat.com>
18208 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18209 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18212 2014-01-23 Tom Tromey <tromey@redhat.com>
18215 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18216 string from an inferior frame.
18217 * gdb.python/py-framefilter-mi.exp: Update.
18219 2014-01-22 Doug Evans <dje@google.com>
18221 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18223 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18225 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18227 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18229 * gdb.trace/entry-values.exp: Remove excess space character from
18230 regex patterns. Handle s390 call instruction.
18232 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18234 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18235 define "*_start" label. Make "name" static.
18236 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18237 ${name} by references to ${name}_start.
18239 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18241 * gdb.base/info-macros.exp: Remove "debug" from the compile
18244 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18246 * gdb.dlang/demangle.exp: New file.
18248 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18250 * gdb.dlang/primitive-types.exp: New file.
18252 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18254 * configure.ac: Create gdb.dlang/Makefile.
18255 * configure: Regenerate.
18256 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18257 * gdb.dlang/Makefile.in: New file.
18258 * lib/d-support.exp: New file.
18259 * lib/gdb.exp (skip_d_tests): New proc.
18261 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18263 * gdb.btrace/delta.exp: Check reverse stepi.
18264 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18265 * gdb.btrace/finish.exp: New.
18266 * gdb.btrace/next.exp: New.
18267 * gdb.btrace/nexti.exp: New.
18268 * gdb.btrace/record_goto.c: Add comments.
18269 * gdb.btrace/step.exp: New.
18270 * gdb.btrace/stepi.exp: New.
18271 * gdb.btrace/multi-thread-step.c: New.
18272 * gdb.btrace/multi-thread-step.exp: New.
18273 * gdb.btrace/rn-dl-bind.c: New.
18274 * gdb.btrace/rn-dl-bind.exp: New.
18275 * gdb.btrace/data.c: New.
18276 * gdb.btrace/data.exp: New.
18277 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18279 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18281 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18282 * gdb.btrace/exception.exp: Update.
18283 * gdb.btrace/instruction_history.exp: Update.
18284 * gdb.btrace/record_goto.exp: Update.
18285 * gdb.btrace/tailcall.exp: Update.
18286 * gdb.btrace/unknown_functions.exp: Update.
18287 * gdb.btrace/delta.exp: New.
18289 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18291 * gdb.btrace/record_goto.exp: Add backtrace test.
18292 * gdb.btrace/tailcall.exp: Add backtrace test.
18294 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18296 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18297 * gdb.btrace/record_goto.c: New.
18298 * gdb.btrace/record_goto.exp: New.
18299 * gdb.btrace/x86-record_goto.S: New.
18301 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18303 * gdb.btrace/function_call_history.exp: Update tests.
18304 * gdb.btrace/instruction_history.exp: Update tests.
18306 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18308 * gdb.btrace/function_call_history.exp: Fix expected field
18309 order for "record function-call-history".
18310 Add new tests for "record function-call-history /c".
18311 * gdb.btrace/exception.cc: New.
18312 * gdb.btrace/exception.exp: New.
18313 * gdb.btrace/tailcall.exp: New.
18314 * gdb.btrace/x86-tailcall.S: New.
18315 * gdb.btrace/x86-tailcall.c: New.
18316 * gdb.btrace/unknown_functions.c: New.
18317 * gdb.btrace/unknown_functions.exp: New.
18318 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18322 * gdb.btrace/instruction_history.exp: Update.
18323 * gdb.btrace/function_call_history.exp: Update.
18325 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18327 * gdb.btrace/function_call_history.exp: Fix expected function
18329 * gdb.btrace/instruction_history.exp: Initialize traced.
18330 Remove traced_functions.
18332 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18334 * gdb.btrace/function_call_history.exp: Update
18335 * gdb.btrace/instruction_history.exp: Update.
18337 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18339 * gdb.btrace/enable.exp: Update expected text.
18341 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18343 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18346 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18348 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18350 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18352 * lib/gdb.exp (supports_process_record): Return true for
18353 arm*-linux*. (supports_reverse): Likewise.
18355 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18359 * gdb.python/py-type.c: Enhance test case.
18360 * gdb.python/py-value-cc.cc: Likewise
18361 * gdb.python/py-type.exp: Add new tests.
18362 * gdb.python/py-value-cc.exp: Likewise
18364 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18365 Pedro Alves <palves@redhat.com>
18367 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18368 Make "name" extern.
18369 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18370 references to ${name}_start by references to ${name}.
18372 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18374 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18376 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18378 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18380 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18381 Pedro Alves <palves@redhat.com>
18383 * gdb.mi/mi-info-os.exp: Connect to the target with
18384 mi_gdb_target_load.
18386 2014-01-08 Pedro Alves <palves@redhat.com>
18388 * gdb.threads/reconnect-signal.c: New file.
18389 * gdb.threads/reconnect-signal.exp: New file.
18391 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18393 * gdb.base/source-dir.exp: New file.
18395 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18397 * gdb.ada/mi_interface: New testcase.
18399 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18401 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18402 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18403 gdb.ada/pp-rec-component/pck.ads: New files.
18405 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18407 * gdb.python/py-pp-integral.c: New file.
18408 * gdb.python/py-pp-integral.py: New file.
18409 * gdb.python/py-pp-integral.exp: New file.
18411 For older changes see ChangeLog-1993-2013.
18413 ;; Local Variables:
18414 ;; mode: change-log
18417 ;; version-control: never
18420 Copyright 2014-2020 Free Software Foundation, Inc.
18421 Copying and distribution of this file, with or without modification,
18422 are permitted provided the copyright notice and this notice are preserved.